﻿.magsbiz-page {
  --mags-red: #9f1f24;
  --mags-red-dark: #86191e;
  --mags-text: #272727;
  --mags-muted: #333333;
  --mags-line: #e6d8d8;
  --mags-pale: #f1f6f7;
  --mags-soft-red: #fbf3f4;
  color: var(--mags-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  font-weight: 500;
  letter-spacing: 0;
  overflow-x: hidden;
}

.magsbiz-page *,
.magsbiz-page *::before,
.magsbiz-page *::after {
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
}

.magsbiz-page h1,
.magsbiz-page h2,
.magsbiz-page h3,
.magsbiz-page p,
.magsbiz-page li,
.magsbiz-page a {
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.magsbiz-hero {
  min-height: 500px;
  align-items: center;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.magsbiz-hero__inner {
  min-height: inherit;
  position: relative;
  z-index: 1;
  padding: 60px 0 50px;
}

.magsbiz-heading p,
.magsbiz-flow__content > span,
.magsbiz-closing__lead {
  color: var(--mags-red);
  font-weight: 800;
}

.magsbiz-eyebrow {
  margin: 0 0 18px;
  color: var(--mags-text);
  font-size: 14px;
  font-weight: 600;
}

.magsbiz-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.45;
  font-weight: 600;
}

.magsbiz-hero h1 span {
  color: var(--mags-red);
  font-weight: 600;
}

.magsbiz-hero__lead {
  max-width: 650px;
  margin: 15px 0 34px;
  color: var(--mags-text);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.magsbiz-hero__lead-break--narrow {
  display: none;
}

.magsbiz-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 54px;
  padding: 13px 28px;
  border: 1px solid var(--mags-red);
  background: var(--mags-red);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.magsbiz-button::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  right: 24px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.magsbiz-button:hover,
.magsbiz-button:focus {
  background: var(--mags-red-dark);
  opacity: 1 !important;
  transform: translateY(-1px);
}

.magsbiz-button--small {
  min-width: 180px;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 13px;
}

.magsbiz-button--icon {
  display: inline-grid;
  grid-template-columns: 1fr 20px 10px auto 1fr 10px;
  align-items: center;
  min-width: 0;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
}

.magsbiz-button--hero {
  width: min(260px, 100%);
  min-height: 60px;
}

.magsbiz-button--closing {
  width: min(260px, 100%);
  min-height: 65px;
}

.magsbiz-button--icon i,
.magsbiz-button--icon .magsbiz-button__mail {
  grid-column: 2;
  line-height: 1;
}

.magsbiz-button--hero > .magsbiz-button__mail {
  width: 20px;
  height: 20px;
}

.magsbiz-button--closing > .magsbiz-button__mail {
  width: 20px;
  height: 20px;
}

.magsbiz-button--icon span {
  grid-column: 4;
  font-weight: 500;
  line-height: 1;
}

.magsbiz-button--hero > span {
  font-size: 16px;
}

.magsbiz-button--closing > span {
  font-size: 16px;
}

.magsbiz-button--icon::after {
  grid-column: 6;
  position: static;
  transform: rotate(45deg);
}

.magsbiz-section {
  padding: 45px 0 0;
}

.magsbiz-section--pale {
  background: var(--mags-pale);
}

.magsbiz-heading {
  margin-bottom: 45px;
}

.magsbiz-heading p {
  margin: 0 0 12px;
  font-size: 15px;
}

.magsbiz-heading .magsbiz-brand-heading {
  color: var(--mags-text);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.magsbiz-heading .magsbiz-brand-heading > span {
  color: var(--mags-red);
  font-weight: 600;
}

.magsbiz-services-heading-break {
  display: none;
}

.magsbiz-heading::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--mags-red);
}

.magsbiz-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.magsbiz-about .magsbiz-heading h2 {
  max-width: 450px;
}

.magsbiz-about__official {
  display: block;
  margin-top: 12px;
}

.magsbiz-heading .magsbiz-about__official,
.magsbiz-heading .magsbiz-about__official a {
  font: inherit !important;
}

.magsbiz-about__official a {
  color: var(--mags-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.magsbiz-about__official a:hover,
.magsbiz-about__official a:focus {
  color: var(--mags-red-dark);
}

.magsbiz-about__layout {
  display: grid;
  grid-template-columns: clamp(0px, calc((100vw - 960px) * 1), 280px) minmax(0, 1fr);
  align-items: start;
  min-height: clamp(440px, 45vw, 560px);
}

.magsbiz-about__layout p,
.magsbiz-richtext,
.magsbiz-service p,
.magsbiz-support-grid p,
.magsbiz-case li,
.magsbiz-flow li,
.magsbiz-flow > p,
.magsbiz-closing p {
  color: var(--mags-text);
  font-size: 16px;
  line-height: 2;
}

.magsbiz-stair {
  grid-column: 2;
  min-height: 300px;
  position: relative;
}

.magsbiz-stair > div {
  position: absolute;
  background: #ddd;
  overflow: hidden;
}

.magsbiz-feature-grid,
.magsbiz-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.magsbiz-feature-card {
  min-height: clamp(294px, 38vw, 470px);
  padding: clamp(18px, 2.27vw, 28px) clamp(20px, 2.59vw, 32px) clamp(118px, 15.2vw, 188px);
  background: #fff;
  border-radius: 8px;
  position: relative;
  text-align: center;
  overflow: visible;
}

.magsbiz-feature-card > span {
  display: block;
  margin-bottom: 18px;
  color: #c9c9c9;
  font-size: 30px;
  font-weight: 300;
  text-align: left;
}

.magsbiz-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 1px solid var(--mags-line);
  border-radius: 50%;
  color: var(--mags-red);
  line-height: 52px;
}

.magsbiz-feature-card h3,
.magsbiz-service h3,
.magsbiz-support-grid h3,
.magsbiz-case h3,
.magsbiz-flow h3 {
  margin: 0 0 14px;
  color: var(--mags-red);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.magsbiz-feature-card p {
  margin: 0;
  color: var(--mags-muted);
  font-size: 13px;
  line-height: 1.9;
}

.magsbiz-feature-card__emphasis {
  color: #111;
  font-weight: 600;
}

.magsbiz-card-placeholder {
  height: 112px;
  margin: 28px -28px 0;
  background: #ddd;
}

.magsbiz-features-section {
  padding: clamp(34px, 3.65vw, 45px) 0 clamp(53px, 5.66vw, 70px);
}

.magsbiz-features-section .magsbiz-heading {
  margin-bottom: clamp(53px, 6.8vw, 84px);
}

.magsbiz-features-section .magsbiz-heading p {
  margin-bottom: 14px;
}

.magsbiz-features-section .magsbiz-feature-grid {
  grid-template-columns: repeat(3, clamp(212px, 27.5vw, 340px));
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  justify-content: center;
  gap: clamp(21px, 2.75vw, 34px);
}

.magsbiz-features-section .magsbiz-feature-card > span {
  position: absolute;
  left: clamp(20px, 2.59vw, 32px);
  top: clamp(-22px, -1.95vw, -14px);
  margin: 0;
  color: #c8c8c8;
  font-size: clamp(24px, 4.05vw, 46px);
  line-height: 1;
  font-weight: 500;
  font-family: Roboto, sans-serif;
}

.magsbiz-features-section .magsbiz-icon {
  width: clamp(65px, 8.41vw, 104px);
  height: clamp(65px, 8.41vw, 104px);
  margin: 0 auto clamp(15px, 1.94vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #faf4f4;
}

.magsbiz-features-section .magsbiz-icon img {
  width: clamp(55px, 6.99vw, 110px);
  height: clamp(55px, 6.99vw, 110px);
  object-fit: contain;
}

.magsbiz-features-section .magsbiz-feature-card h3 {
  margin-bottom: clamp(11px, 1.46vw, 18px);
  font-size: clamp(14px, 1.38vw, 17px);
  line-height: 1.55;
}

.magsbiz-features-section .magsbiz-feature-card__content {
  padding-bottom: 10px;
}

.magsbiz-features-section .magsbiz-feature-card p {
  font-size: clamp(11px, 1.13vw, 14px);
  line-height: 1.5;
  text-align: left;
  font-weight: 600;
}

.magsbiz-features-section .magsbiz-card-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 456 / 265;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  border-radius: 0 0 8px 8px;
}

.magsbiz-features-section .magsbiz-card-placeholder img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.magsbiz-features-section .magsbiz-center {
  margin-top: clamp(26px, 3.4vw, 42px);
}

.magsbiz-features-section .magsbiz-button--small {
  width: clamp(188px, 24.27vw, 300px);
  min-height: clamp(39px, 5.02vw, 62px);
  border-radius: 4px;
  font-size: clamp(12px, 1.21vw, 15px);
}

.magsbiz-center {
  margin-top: 34px;
  text-align: center;
}

.magsbiz-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.magsbiz-service {
  padding: 0 20px;
  border-left: 1px solid var(--mags-line);
}

.magsbiz-service:first-child {
  border-left: 0;
}

.magsbiz-service__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--mags-red);
  color: #fff;
  line-height: 48px;
  text-align: center;
}

.magsbiz-service p,
.magsbiz-support-grid p {
  margin: 0;
  font-size: 13px;
}

.magsbiz-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.magsbiz-support-grid article {
  min-height: 132px;
  padding: 28px 32px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.magsbiz-case {
  min-height: 430px;
}

.magsbiz-case__image {
  height: 160px;
  margin-bottom: 28px;
  background: #ddd;
}

.magsbiz-case__head > .magsbiz-case__number {
  display: inline-block;
  margin-right: 10px;
  color: var(--mags-red);
  font-size: 25px;
  font-weight: 900;
}

.magsbiz-case h3 {
  display: inline;
  font-size: 15px;
}

.magsbiz-case ul,
.magsbiz-flow ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.magsbiz-case li,
.magsbiz-flow li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
}

.magsbiz-case li::before,
.magsbiz-flow li::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 0;
  top: 13px;
  background: var(--mags-red);
}

.magsbiz-flow-section .magsbiz-heading {
  margin-bottom: 28px;
}

.magsbiz-flow-section .magsbiz-heading p {
  color: var(--mags-text);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
}

#magsbiz-cases {
  padding-bottom: 60px;
}

.magsbiz-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  margin-top: 34px;
  background: #fff;
  border-bottom: 2px solid var(--mags-line);
}

.magsbiz-flow__content {
  padding: 36px 42px;
}

.magsbiz-flow__content > span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  background: var(--mags-red);
  color: #fff;
  font-size: 11px;
}

.magsbiz-flow__content h3 {
  font-size: 18px;
}

.magsbiz-flow__image {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  color: #9b9b9b;
  font-size: 12px;
}

.magsbiz-flow > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 42px;
  border-top: 1px solid var(--mags-line);
  color: var(--mags-red);
  font-size: 13px;
  font-weight: 700;
}

.magsbiz-faq {
  padding: 40px 0 70px;
}

.magsbiz-faq__heading {
  margin-bottom: 52px;
}

.magsbiz-faq__heading::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--mags-red);
}

.magsbiz-faq__heading h2 {
  margin: 0 0 12px;
  color: var(--mags-text);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

.magsbiz-faq__heading p {
  margin: 0;
  color: var(--mags-text);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.magsbiz-faq__list {
  max-width: 750px;
  margin: 0 auto;
}

.magsbiz-faq__item {
  border-top: 1px dotted #d8d8d8;
}

.magsbiz-faq__item:last-child {
  border-bottom: 1px dotted #d8d8d8;
}

.magsbiz-faq__item summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  column-gap: 0;
  align-items: center;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
}

.magsbiz-faq__item summary::-webkit-details-marker {
  display: none;
}

.magsbiz-faq__item summary span,
.magsbiz-faq__item div span {
  color: var(--mags-red);
  font-size: 26px;
  font-family: Roboto, sans-serif;
}

.magsbiz-faq__item div span {
  margin-left: 0;
  line-height: 1;
}

.magsbiz-faq__item summary i {
  width: 14px;
  height: 2px;
  background: var(--mags-red);
  position: relative;
}

.magsbiz-faq__item summary i::after {
  content: "";
  width: 2px;
  height: 14px;
  position: absolute;
  left: 6px;
  top: -6px;
  background: var(--mags-red);
}

.magsbiz-faq__item[open] summary i::after {
  display: none;
}

.magsbiz-faq__item div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
  padding: 20px 30px 20px 20px;
  background: var(--mags-soft-red);
}

.magsbiz-faq__item div p {
  align-self: center;
  margin: 0;
  color: var(--mags-text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.magsbiz-closing {
  position: relative;
  padding: 90px 0;
  background: none;
  overflow: hidden;
}

.magsbiz-closing > .container {
  position: relative;
  z-index: 1;
}

.magsbiz-closing h2 {
  margin: 10px 0 22px;
  font-size: 32px;
  line-height: 1.65;
  font-weight: 700;
}

.magsbiz-closing h2::first-line {
  color: var(--mags-text);
}

.magsbiz-closing p {
  max-width: 560px;
  margin: 0 0 28px;
  font-weight: 600;
}

.magsbiz-closing__media {
  width: 100vw;
  height: calc(100% + 180px);
  display: block;
  position: absolute;
  top: -90px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
}

.magsbiz-closing__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.magsbiz-eyebrow span {
  display: inline-block;
  color: var(--mags-red);
  font-size: 22px;
  font-weight: 800;
}

.magsbiz-stair {
  width: min(843px, 100%);
  aspect-ratio: 843 / 520;
  min-height: 0;
  margin-top: -8px;
}

.magsbiz-stair > div {
  border-radius: 10px;
  color: #1d232a;
}

.magsbiz-stair__label {
  width: clamp(160px, 12.5vw, 185px);
  max-width: calc(100% - 16px);
  min-height: clamp(40px, 3.5vw, 45px);
  position: absolute;
  left: 0;
  bottom: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 clamp(10px, 1vw, 15px);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 5px 5px 0;
}

.magsbiz-stair__label span {
  display: block;
  color: var(--mags-red);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.magsbiz-stair__label strong {
  display: block;
  margin-top: 4px;
  color: #1d232a;
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
}

.magsbiz-stair > div:nth-child(1) {
  width: 37.49%;
  height: 40.96%;
  left: 0;
  top: 14.42%;
}

.magsbiz-stair > div:nth-child(2) {
  width: 37.49%;
  height: 40.96%;
  left: 39.38%;
  top: 0;
}

.magsbiz-stair > div:nth-child(3) {
  width: 29.54%;
  height: 32.12%;
  left: 7.95%;
  top: 58.65%;
}

.magsbiz-stair > div:nth-child(4) {
  width: 29.54%;
  height: 32.12%;
  left: 39.38%;
  top: 44.23%;
}

.magsbiz-stair > div:nth-child(5) {
  width: 29.54%;
  height: 32.12%;
  left: 70.46%;
  top: 44.23%;
}

.magsbiz-icon img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.magsbiz-service__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: none;
  line-height: 1;
}

.magsbiz-service__icon img,
.magsbiz-support__icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.magsbiz-service {
  text-align: center;
}

.magsbiz-services-section {
  padding: 45px 0 70px;
}

.magsbiz-services-section .magsbiz-heading {
  margin-bottom: 60px;
}

.magsbiz-services-section .magsbiz-heading h2 {
  color: var(--mags-muted);
}

.magsbiz-services-section .magsbiz-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-right: -35px;
  margin-left: -35px;
}

.magsbiz-services-section .magsbiz-service {
  min-height: 264px;
  padding: 0 35px;
  border-left: 1px solid var(--mags-red);
  text-align: left;
}

.magsbiz-services-section .magsbiz-service:first-child {
  border-left: 0;
}

.magsbiz-services-section .magsbiz-service__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
}

.magsbiz-services-section .magsbiz-service__icon img {
  width: 88px;
  height: 88px;
}

.magsbiz-services-section .magsbiz-service h3 {
  min-height: 58px;
  margin: 0 0 15px;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.magsbiz-services-section .magsbiz-service p {
  color: var(--mags-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-align: left;
}

/* Images are stored in the dynamic article HTML. */
.magsbiz-hero__background {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
}

.magsbiz-hero__background img,
.magsbiz-stair > div > picture img,
.magsbiz-card-placeholder img,
.magsbiz-service__image img,
.magsbiz-reasons__media img,
.magsbiz-case__image img,
.magsbiz-flow__image > picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.magsbiz-hero__background img {
  object-fit: cover;
}

.magsbiz-reasons__media img {
  object-fit: cover;
}

.magsbiz-hero__device {
  width: clamp(150px, 12.29vw, 236px);
  aspect-ratio: 236 / 417;
  position: absolute;
  top: 40%;
  right: 33.5%;
  transform: translateY(-42%);
}

.magsbiz-hero__device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.magsbiz-stair > div > picture {
  position: absolute;
  inset: 0;
}

.magsbiz-card-placeholder,
.magsbiz-case__image {
  display: block;
  overflow: hidden;
}

.magsbiz-stair > div,
.magsbiz-card-placeholder,
.magsbiz-service__image,
.magsbiz-case__image {
  box-shadow: none;
}

.magsbiz-services-section .magsbiz-service {
  display: flex;
  flex-direction: column;
}

.magsbiz-services-section .magsbiz-service p {
  flex: 1;
}

.magsbiz-service__image {
  width: 100%;
  aspect-ratio: 292 / 194;
  display: block;
  flex: 0 0 auto;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.magsbiz-case__image {
  border-radius: 10px;
}

.magsbiz-flow__image {
  position: relative;
  overflow: hidden;
}

.magsbiz-flow__image > picture {
  position: absolute;
  inset: 0;
}

.magsbiz-flow__buttons {
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .magsbiz-hero__device {
    right: 14.5% !important;
  }

  .magsbiz-services-section {
    padding: clamp(58px, 7.9vw, 78px) 0 clamp(64px, 8.7vw, 86px);
  }

  .magsbiz-services-section .magsbiz-heading {
    margin-bottom: clamp(42px, 6.05vw, 60px);
  }

  .magsbiz-services-section .magsbiz-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-right: 0;
    margin-left: 0;
    --mags-service-line-gap: clamp(18px, 4vw, 40px);
    --mags-service-line-inset: clamp(18px, 4vw, 40px);
  }

  .magsbiz-services-section .magsbiz-service {
    position: relative;
    min-height: auto;
    padding: 0 clamp(18px, 4vw, 40px) clamp(28px, 5vw, 50px);
    border: 0;
    text-align: center;
  }

  .magsbiz-services-section .magsbiz-service::before,
  .magsbiz-services-section .magsbiz-service::after {
    content: "";
    position: absolute;
    background: var(--mags-red);
  }

  .magsbiz-services-section .magsbiz-service:nth-child(even)::before {
    width: 1px;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .magsbiz-services-section .magsbiz-service:nth-child(2)::before {
    bottom: var(--mags-service-line-gap);
  }

  .magsbiz-services-section .magsbiz-service:nth-child(4)::before {
    top: var(--mags-service-line-gap);
  }

  .magsbiz-services-section .magsbiz-service:nth-child(-n+2)::after {
    height: 1px;
    right: var(--mags-service-line-inset);
    bottom: 0;
    left: var(--mags-service-line-inset);
  }

  .magsbiz-services-section .magsbiz-service:nth-child(n+3) {
    padding-top: clamp(28px, 5vw, 50px);
  }

  .magsbiz-services-section .magsbiz-service__icon,
  .magsbiz-services-section .magsbiz-service__icon img {
    width: clamp(68px, 10vw, 88px);
    height: clamp(68px, 10vw, 88px);
  }

  .magsbiz-services-section .magsbiz-service p {
    font-size: 14px;
    text-align: left;
  }
}

.magsbiz-support-grid article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.magsbiz-reasons-section {
  position: relative;
  overflow: hidden;
  padding: 45px 0 70px;
  height: 675px;
  background: #f0f3f5;
}

.magsbiz-reasons__media {
  width: auto;
  height: 100%;
  aspect-ratio: 685 / 903;
  position: absolute;
  top: 0;
  right: 0;
  background: #e6e6e6;
}

.magsbiz-reasons-section > .container {
  position: relative;
  z-index: 1;
}

.magsbiz-reasons-section .magsbiz-support-grid {
  width: min(910px, 100%);
  margin: 0 auto 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 50px;
}

.magsbiz-reasons-section .magsbiz-support-grid article {
  min-height: 210px;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 5px 15px;
  align-items: center;
  padding: 25px 42px;
  border-left: 3px solid #cfcfcf;
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: none;
}

.magsbiz-reasons-section .magsbiz-support-grid article > div:last-child {
  display: contents;
}

.magsbiz-reasons-section .magsbiz-support__icon img {
  width: 80px;
  height: 80px;
}

.magsbiz-reasons-section .magsbiz-support-grid h3 {
  grid-column: 2;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.magsbiz-reasons-section .magsbiz-support-grid p {
  grid-column: 1 / -1;
  color: var(--mags-text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.magsbiz-case-grid {
  gap: 48px 34px;
}

.magsbiz-case {
  min-height: auto;
}

.magsbiz-case__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--mags-red);
}

.magsbiz-case__head > .magsbiz-case__number {
  margin: 0;
  font-size: 46px;
  line-height: 1;
}

.magsbiz-case__head h3 {
  display: block;
  margin: 0;
  color: var(--mags-red);
  font-size: 18px;
}

.magsbiz-case > p {
  margin: 18px 0 22px;
  color: var(--mags-text);
  font-weight: 700;
}

.magsbiz-case__lists {
  display: grid;
  gap: 22px;
}

.magsbiz-case__lists > div {
  padding-left: 18px;
  border-left: 2px solid var(--mags-red);
}

.magsbiz-case h4 {
  margin: 0 0 8px;
  color: var(--mags-red);
  font-size: 15px;
  font-weight: 900;
}

.magsbiz-use-section {
  --mags-use-line-width: 2px;
  padding: 72px 0 82px;
}

.magsbiz-use-section .magsbiz-heading {
  margin-bottom: 55px;
}

.magsbiz-use-section .magsbiz-heading p {
  color: var(--mags-text);
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.5;
}

.magsbiz-use-section .magsbiz-heading h2 {
  color: var(--mags-muted);
}

.magsbiz-use-section .magsbiz-case-grid {
  width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 60px;
}

.magsbiz-use-section .magsbiz-case {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
}

.magsbiz-use-section .magsbiz-case__head {
  min-height: 74px;
  gap: 18px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom-width: var(--mags-use-line-width);
}

.magsbiz-use-section .magsbiz-case__head > .magsbiz-case__number {
  position: relative;
  padding: 0 18px 0 10px;
  font-size: 46px;
  font-weight: 500;
  font-family: Roboto, sans-serif;
}

.magsbiz-use-section .magsbiz-case__head > .magsbiz-case__number::after {
  content: "";
  width: 1px;
  height: 52px;
  position: absolute;
  right: 0;
  top: 50%;
  background: var(--mags-red);
  transform: translateY(-50%) rotate(-18deg);
}

.magsbiz-use-section .magsbiz-case__head h3 {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.magsbiz-use-section .magsbiz-case__head h3 > .desktop,
.magsbiz-use-section .magsbiz-case__head h3 > .mobile {
  font-weight: inherit;
}

.magsbiz-use-section .magsbiz-case > p {
  min-height: 92px;
  margin: 16px 0 14px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.magsbiz-use-section .magsbiz-case__image {
  height: 190px;
  margin-bottom: 18px;
}

.magsbiz-use-section .magsbiz-case__lists {
  display: block;
  align-self: start;
  gap: 0;
}

.magsbiz-use-section .magsbiz-case__lists > div {
  padding-left: 14px;
  border-left-width: var(--mags-use-line-width);
}

.magsbiz-use-section .magsbiz-case__lists > div + div {
  margin-top: 30px;
}

.magsbiz-use-section .magsbiz-case h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.magsbiz-use-section .magsbiz-case ul {
  margin-top: 0;
}

.magsbiz-use-section .magsbiz-case li {
  padding-left: 0;
  color: var(--mags-muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

.magsbiz-use-section .magsbiz-case li::before {
  display: none;
}

.magsbiz-flow {
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 0;
}

.magsbiz-flow__content > span {
  background: var(--mags-red);
  color: #fff;
  font-size: 14px;
}

.magsbiz-flow__content > p {
  color: var(--mags-text);
  font-weight: 700;
}

.magsbiz-flow > p {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-top: 0;
  background: #fff;
  color: var(--mags-red);
  font-weight: 900;
}

.magsbiz-flow > p img {
  width: 32px;
  height: auto;
}

.magsbiz-flow-section .magsbiz-flow {
  margin: 40px auto 0;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  border-radius: 6px;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 55px 0 35px;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content > span {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 2px 12px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content h3 {
  margin: 0 0 15px;
  color: var(--mags-red);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  padding-right: 60px;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content > p {
  margin: 0 0 25px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content ul {
  width: 87%;
  margin-top: auto;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content li {
  display: grid;
  min-height: 60px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #faf4f4;
  color: var(--mags-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content li::before {
  display: none;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content li span {
  font-weight: 700;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content li img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.magsbiz-flow-section .magsbiz-flow .magsbiz-flow__image {
  position: relative;
  min-height: 500px;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 25px;
}

.magsbiz-flow__image-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
}

.magsbiz-button--case {
  width: min(340px, 100%);
  min-width: 0;
  min-height: 60px;
  padding: 10px 35px 10px 20px;
  border-radius: 3px;
  font-size: 16px;
  justify-content: flex-start;
  text-align: left;
}

.magsbiz-flow__buttons {
  width: min(430px, 100%);
  display: grid;
  gap: 12px;
}

.magsbiz-flow__buttons--count-1 {
  width: min(360px, 100%);
}

.magsbiz-flow__buttons--count-1 .magsbiz-button--case {
  justify-content: center;
  text-align: center;
}

.magsbiz-flow__buttons--count-2 {
  width: clamp(300px, 26.68vw, 400px);
  gap: clamp(9px, 0.8vw, 12px);
}

.magsbiz-flow__buttons .magsbiz-button--case {
  width: 100%;
}

.magsbiz-flow__buttons--count-2 .magsbiz-button--case {
  min-height: clamp(46px, 4vw, 60px);
  padding: clamp(7px, 0.67vw, 10px) clamp(26px, 2.34vw, 35px) clamp(7px, 0.67vw, 10px) clamp(15px, 1.34vw, 20px);
  font-size: clamp(12px, 1.07vw, 16px);
  white-space: nowrap;
}

.magsbiz-flow__buttons--count-2 .magsbiz-button--case::after {
  width: clamp(8px, 0.67vw, 10px);
  height: clamp(8px, 0.67vw, 10px);
  right: clamp(18px, 1.6vw, 24px);
}

.magsbiz-button__break--mobile {
  display: none;
}

.magsbiz-button__subline {
  font-weight: 600;
}

.magsbiz-flow-section .magsbiz-flow > p {
  position: relative;
  grid-template-columns: 44px auto;
  gap: 0;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 20px 70px;
  border-top: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.magsbiz-flow-section .magsbiz-flow > p > span {
  align-self: center;
  font-weight: 700;
}

.magsbiz-flow-section .magsbiz-flow > p::before {
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  left: 35px;
  right: 35px;
  background: linear-gradient(
    to right,
    var(--mags-red) 0,
    var(--mags-red) calc(50% - 11px),
    transparent calc(50% - 11px),
    transparent calc(50% + 11px),
    var(--mags-red) calc(50% + 11px),
    var(--mags-red) 100%
  );
}

.magsbiz-flow-section .magsbiz-flow > p::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: -8px;
  left: 50%;
  border-right: 2px solid var(--mags-red);
  border-bottom: 2px solid var(--mags-red);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.magsbiz-flow-section .magsbiz-flow > p img {
  width: 26px;
}

.magsbiz-closing h2 span {
  color: var(--mags-red);
  font-weight: 800;
}

.magsbiz-closing__note {
  margin-top: 36px !important;
  font-weight: 600;
}

@media (max-width: 1199.98px) {
  .magsbiz-use-section .magsbiz-case__head > .magsbiz-case__number {
    font-size: 40px;
  }

  .magsbiz-use-section .magsbiz-case__head h3 {
    font-size: 15px;
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content ul {
    width: 100%;
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content h3 {
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .magsbiz-use-section .magsbiz-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .magsbiz-flow__buttons--count-1 {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .magsbiz-page .container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .magsbiz-hero__device {
    width: 28%;
    top: 48%;
    right: auto;
    bottom: clamp(105px, 18vw, 138px);
    left: 15%;
    transform: none;
  }

  .magsbiz-hero {
    min-height: 0;
    aspect-ratio: 1125 / 1652;
  }

  .magsbiz-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 120px 0 35px 0;
    min-height: 0;
  }

  .magsbiz-hero h1 {
    font-size: clamp(24px, 6.75vw, 40px);
  }

  .magsbiz-hero .magsbiz-eyebrow {
    font-size: clamp(16px, 3.8vw, 20px);
    line-height: 1.55;
  }

  .magsbiz-hero .magsbiz-eyebrow span {
    margin-top: 6px;
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 1.25;
  }

  .magsbiz-hero__lead {
    font-size: clamp(16px, calc(12.1px + 1.53vw), 22px);
    margin-bottom: 0;
  }

  .magsbiz-hero .magsbiz-button--hero {
    display: grid;
    width: min(330px, 100%);
    min-height: 85px;
    margin: auto auto 0;
  }

  .magsbiz-button--hero > .magsbiz-button__mail {
    width: 28px;
    height: 28px;
    transform: translate(-5px, 2px);
  }

  .magsbiz-button--hero > span {
    font-size: 22px;
  }

  .magsbiz-button--icon .magsbiz-button__mail {
    justify-self: center;
  }

  .magsbiz-section {
    padding: 40px 0 40px 0;
  }

  .magsbiz-heading .magsbiz-brand-heading {
    font-size: 26px;
    font-weight: 600;
    width: 90%;
  }

  .magsbiz-page h1,
  .magsbiz-page h2,
  .magsbiz-page h3,
  .magsbiz-page p,
  .magsbiz-page li {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-break: strict;
  }

  .magsbiz-about .magsbiz-heading h2 {
    max-width: 540px !important;
  }

  .magsbiz-heading h2 {
    font-size: 18px;
  }

  .magsbiz-features-section .magsbiz-heading {
    margin-bottom: clamp(54px, 9.4vw, 72px);
  }

  .magsbiz-features-section .magsbiz-feature-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: center;
  }

  .magsbiz-features-section .magsbiz-feature-card {
    width: 325px;
    max-width: 100%;
    min-height: 525px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: visible;
  }

  .magsbiz-features-section .magsbiz-feature-card__content {
    padding: 30px 35px 10px;
  }

  .magsbiz-features-section .magsbiz-feature-card > span {
    top: -22px;
    left: 35px;
    font-size: 42px;
    z-index: 1;
  }

  .magsbiz-features-section .magsbiz-icon {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
  }

  .magsbiz-features-section .magsbiz-icon img {
    width: 80px;
    height: 80px;
  }

  .magsbiz-features-section .magsbiz-feature-card h3 {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.5;
  }

  .magsbiz-features-section .magsbiz-feature-card p {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 600;
    text-align: left;
  }

  .magsbiz-features-section .magsbiz-card-placeholder {
    position: static;
    height: auto;
    aspect-ratio: 925 / 537;
    margin-top: auto;
    margin-bottom: 0;
    border-radius: 0 0 8px 8px;
  }

  .magsbiz-features-section .magsbiz-button--small {
    width: 240px;
    min-height: 60px;
    font-size: 18px;
  }

  .magsbiz-about__layout {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    min-height: auto;
  }

  .magsbiz-stair {
    grid-column: auto;
    width: min(100%, 500px);
    max-width: 500px;
    aspect-ratio: 370 / 640;
    margin-right: 0;
    margin-left: auto;
  }

  .magsbiz-stair > div,
  .magsbiz-stair > div:nth-child(1),
  .magsbiz-stair > div:nth-child(2),
  .magsbiz-stair > div:nth-child(3),
  .magsbiz-stair > div:nth-child(4),
  .magsbiz-stair > div:nth-child(5) {
    position: absolute;
    border-radius: 4px;
  }

  .magsbiz-stair > div:nth-child(1) {
    width: 75%;
    aspect-ratio: 284 / 190;
    height: auto;
    left: 0;
    top: 0;
  }

  .magsbiz-stair > div:nth-child(2) {
    width: 75%;
    aspect-ratio: 284 / 190;
    height: auto;
    left: 25%;
    top: 30%;
  }

  .magsbiz-stair > div:nth-child(3) {
    width: 49%;
    aspect-ratio: 188 / 128;
    height: auto;
    left: 0;
    top: 60%;
  }

  .magsbiz-stair > div:nth-child(4) {
    width: 49%;
    aspect-ratio: 188 / 128;
    height: auto;
    left: 51%;
    top: 60%;
  }

  .magsbiz-stair > div:nth-child(5) {
    width: 49%;
    aspect-ratio: 188 / 128;
    height: auto;
    left: 50%;
    top: 81%;
    transform: translateX(-50%);
  }

  .magsbiz-stair__label {
    width: min(95%, clamp(170px, 25vw, 180px));
  }

  .magsbiz-stair__label span {
    font-size: clamp(10px, 1.43vw, 12px);
  }

  .magsbiz-stair__label strong {
    font-size: clamp(14px, 2.35vw, 17px);
  }

  .magsbiz-services-section {
    padding: clamp(58px, 10.2vw, 78px) 0 clamp(64px, 11.2vw, 86px);
  }

  .magsbiz-services-section .magsbiz-heading {
    margin-bottom: clamp(42px, 7.82vw, 60px);
  }

  .magsbiz-services-section .magsbiz-service-grid {
    --mags-service-line-gap: 16px;
    --mags-service-line-inset: clamp(16px, 3.65vw, 28px);
  }

  .magsbiz-services-section .magsbiz-service {
    padding: 0 0 60px;
  }

  .magsbiz-services-section .magsbiz-service:nth-child(n+3) {
    padding-top: 0;
  }

  .magsbiz-services-section .magsbiz-service::before,
  .magsbiz-services-section .magsbiz-service::after {
    display: none;
  }

  .magsbiz-service__icon img,
  .magsbiz-support__icon img {
    width: clamp(82px, 13.82vw, 106px);
    height: clamp(82px, 13.82vw, 106px);
  }

  .magsbiz-reasons-section {
    display: flex;
    flex-direction: column;
    padding: clamp(58px, 10.2vw, 78px) 0 0;
    background: #f0f3f5;
    height: auto;
  }

  .magsbiz-reasons__media {
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 1125 / 872;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    margin-top: -110px;
  }

  .magsbiz-reasons-section > .container {
    order: 1;
  }

  .magsbiz-reasons-section .magsbiz-support-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .magsbiz-reasons-section .magsbiz-support-grid article {
    min-height: auto;
    grid-template-columns: clamp(72px, 12.52vw, 96px) minmax(0, 1fr);
    gap: 5px 18px;
    padding: clamp(24px, 4.43vw, 34px) clamp(20px, 3.91vw, 30px);
  }

  .magsbiz-reasons-section .magsbiz-support__icon img {
    width: clamp(72px, 12.52vw, 96px);
    height: clamp(72px, 12.52vw, 96px);
  }

  .magsbiz-reasons-section .magsbiz-support-grid h3 {
    width: 78%;
  }

  .magsbiz-reasons-section .magsbiz-support-grid p {
    font-size: 18px;
  }

  .magsbiz-use-section {
    padding: clamp(40px, 10.67vw, 78px) 0 clamp(64px, 11.2vw, 86px);
  }

  .magsbiz-use-section > .container {
    padding-right: clamp(33px, 8.89vw, 68px);
    padding-left: clamp(33px, 8.89vw, 68px);
  }

  .magsbiz-use-section .magsbiz-heading {
    margin-bottom: clamp(28px, 7.47vw, 52px);
  }

  .magsbiz-use-section .magsbiz-heading p {
    font-size: clamp(22px, 5.6vw, 26px);
  }

  .magsbiz-use-section .magsbiz-case-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .magsbiz-use-section .magsbiz-case {
    display: block;
  }

  .magsbiz-use-section .magsbiz-case__head {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    padding-bottom: 15px;
  }

  .magsbiz-use-section .magsbiz-case > p {
    min-height: 0;
    margin: 25px 0;
    font-size: 18px;
    line-height: 1.5;
  }

  .magsbiz-use-section .magsbiz-case__lists {
    margin-left: 10px;
  }

  .magsbiz-use-section .magsbiz-case__lists > div {
    padding-left: 25px;
  }

  .magsbiz-use-section .magsbiz-case__head > .magsbiz-case__number {
    padding-right: 14px;
    padding-left: 12px;
    font-size: clamp(42px, 10.6vw, 48px);
  }

  .magsbiz-use-section .magsbiz-case__head h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .magsbiz-use-section .magsbiz-case__image {
    height: auto;
    aspect-ratio: 925 / 520;
    margin-bottom: 24px;
  }

  .magsbiz-use-section .magsbiz-case h4 {
    font-size: 18px;
  }

  .magsbiz-use-section .magsbiz-case li {
    font-size: 16px;
  }

  .magsbiz-flow-section .magsbiz-flow {
    grid-template-columns: 1fr;
    margin-top: clamp(30px, 6.26vw, 48px);
    border-radius: 6px;
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content {
    padding: clamp(30px, 5.74vw, 44px) clamp(26px, 5.48vw, 42px) clamp(28px, 5.22vw, 40px);
  }

  .magsbiz-flow--case-1 .magsbiz-flow__content > p br:nth-of-type(2),
  .magsbiz-flow--case-2 .magsbiz-flow__content > p br:nth-of-type(1),
  .magsbiz-flow--case-2 .magsbiz-flow__content > p br:nth-of-type(2),
  .magsbiz-flow--case-3 .magsbiz-flow__content > p br:nth-of-type(2),
  .magsbiz-flow--case-4 .magsbiz-flow__content > p br:nth-of-type(1),
  .magsbiz-flow--case-4 .magsbiz-flow__content > p br:nth-of-type(2),
  .magsbiz-flow--case-4 .magsbiz-flow__content > p br:nth-of-type(3),
  .magsbiz-flow--case-5 .magsbiz-flow__content > p br:nth-of-type(1),
  .magsbiz-flow--case-5 .magsbiz-flow__content > p br:nth-of-type(3),
  .magsbiz-flow--case-6 .magsbiz-flow__content > p br:nth-of-type(1),
  .magsbiz-flow--case-6 .magsbiz-flow__content > p br:nth-of-type(2) {
    display: none;
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__image {
    min-height: 0;
    aspect-ratio: 925 / 930;
    border-radius: 0;
  }

  .magsbiz-flow-section .magsbiz-flow > p {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 20px 35px;
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.65;
    font-weight: 800;
  }

  .magsbiz-flow-section .magsbiz-flow > p > span {
    text-align: justify;
    text-justify: inter-character;
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__content li {
    grid-template-columns: clamp(46px, 7.56vw, 58px) minmax(0, 1fr);
    padding: clamp(12px, 2.09vw, 16px);
  }

  .magsbiz-flow-section .magsbiz-flow .magsbiz-flow__buttons {
    width: min(360px, 84%);
    gap: 8px;
  }

  .magsbiz-flow-section .magsbiz-button--case {
    min-height: 46px;
    padding: 6px 40px 6px 16px;
    font-size: 13px;
    line-height: 1.25;
    justify-content: center;
    text-align: center;
  }

  .magsbiz-flow-section .magsbiz-flow__buttons--count-2 .magsbiz-button--case {
    white-space: normal;
  }

  .magsbiz-flow-section .magsbiz-button--case::after {
    right: 16px;
  }

  .magsbiz-flow-section .magsbiz-flow__buttons--count-2 .magsbiz-button--case::after {
    width: 10px;
    height: 10px;
  }

  .magsbiz-flow-section .magsbiz-flow > p img {
    width: 32px;
  }

  .magsbiz-button__subline {
    font-size: 11px;
    line-height: 1.15;
  }

  .magsbiz-faq__item summary {
    min-height: 0;
    grid-template-columns: clamp(37px, 5.5vw, 42px) minmax(0, 1fr) clamp(36px, 6vw, 42px);
    column-gap: 0;
    align-items: start;
    padding: clamp(20px, 4.7vw, 28px) 0 clamp(20px, 4.7vw, 28px) 5px;
    font-size: clamp(17px, 4.2vw, 18px);
  }

  .magsbiz-faq__item summary i {
    justify-self: center;
    height: 2px;
    margin-top: 0.65em;
  }

  .magsbiz-faq__item summary i::after {
    width: 2px;
  }

  .magsbiz-faq__item summary span,
  .magsbiz-faq__item div span {
    font-size: clamp(26px, 7.5vw, 32px);
    line-height: 1.2;
  }

  .magsbiz-faq__item div > span {
    transform: translateX(1px);
  }

  .magsbiz-faq__item div {
    grid-template-columns: clamp(37px, 5.5vw, 42px) minmax(0, 1fr);
    column-gap: 0;
    align-items: start;
    padding: clamp(20px, 4.7vw, 28px) clamp(18px, 3.13vw, 24px) clamp(20px, 4.7vw, 28px) 5px;
  }

  .magsbiz-faq__item div p {
    align-self: start;
    display: block;
    min-height: 0;
    font-size: clamp(16px, 4.1vw, 18px);
    font-weight: 500;
  }

  .magsbiz-faq__item:nth-child(2) div p br {
    display: none;
  }

  .magsbiz-closing {
    min-height: 933px;
    padding: 40px 0 42px;
    background: none;
  }

  .magsbiz-closing > .container {
    min-height: 851px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .magsbiz-closing p {
    font-size: 18px;
    line-height: 2;
    font-weight: 700;
  }

  .magsbiz-closing h2 {
    font-size: clamp(24px, 6.8vw, 32px);
  }

  .magsbiz-closing h2 span {
    white-space: nowrap;
  }

  .magsbiz-closing__media {
    width: 100%;
    min-height: 0;
    height: calc(100% + 82px);
    position: absolute;
    top: -40px;
    left: 50%;
    flex: none;
    margin: 0;
    transform: translateX(-50%);
  }

  .magsbiz-closing__media img {
    object-fit: cover;
    object-position: center;
  }

  .magsbiz-closing .magsbiz-button--closing {
    width: 250px;
    max-width: 100%;
    min-height: 60px;
    margin-top: 0;
    position: absolute;
    top: 650px;
    left: 50%;
    transform: translateX(-50%);
  }

  .magsbiz-closing__note {
    width: calc(100% - 80px);
    margin: 0 !important;
    position: absolute;
    top: 88%;
    left: 40px;
  }
}

@media (min-width: 586px) and (max-width: 767px) {
  .magsbiz-services-section .magsbiz-service-grid {
    --mags-service-line-gap: clamp(18px, 4vw, 40px);
    --mags-service-line-inset: clamp(18px, 4vw, 40px);
  }

  .magsbiz-services-section .magsbiz-service {
    padding: 0 clamp(18px, 4vw, 40px) clamp(28px, 5vw, 50px);
  }

  .magsbiz-services-section .magsbiz-service:nth-child(n+3) {
    padding-top: clamp(28px, 5vw, 50px);
  }

  .magsbiz-services-section .magsbiz-service::before,
  .magsbiz-services-section .magsbiz-service::after {
    display: block;
  }
}

@media (max-width: 585px) {
  .magsbiz-hero {
    display: block;
    min-height: 0;
    aspect-ratio: auto;
  }

  .magsbiz-hero__inner {
    width: 585px;
    max-width: none;
    height: 859px;
    min-height: 0;
    margin: 0;
    transform-origin: top left;
    padding: 80px 0 35px 0;
  }

  .magsbiz-hero__background {
    width: 585px;
  }

  .magsbiz-hero h1 {
    font-size: 39.5px;
  }

  .magsbiz-hero .magsbiz-eyebrow {
    font-size: 20px;
  }

  .magsbiz-hero .magsbiz-eyebrow span {
    font-size: 28px;
  }

  .magsbiz-hero__lead {
    font-size: 25px;
  }

  .magsbiz-services-section .magsbiz-service-grid {
    grid-template-columns: 1fr;
  }

  .magsbiz-services-section .magsbiz-service h3 {
    min-height: auto;
    font-size: 20px;
  }

  .magsbiz-services-section .magsbiz-service p {
    font-size: 18px;
  }

  .magsbiz-services-section .magsbiz-service:not(:last-child)::after {
    display: block;
    width: auto;
    height: 1px;
    right: 0;
    bottom: 26px;
    left: 0;
  }
}

@media (max-width: 614px) {
  .magsbiz-about .magsbiz-heading h2 > br {
    display: none;
  }
}

@media (max-width: 575px) {
  .magsbiz-services-section .magsbiz-service p {
    flex: none;
  }

  .magsbiz-service__image {
    aspect-ratio: 925 / 615;
  }
}

@media (max-width: 495px) {
  .magsbiz-services-heading-break {
    display: block;
  }

  .magsbiz-hero__lead-break--wide {
    display: none;
  }

  .magsbiz-hero__lead-break--narrow {
    display: block;
  }

  .magsbiz-closing__lead br {
    display: none;
  }
}

@media (max-width: 470px) {
  .magsbiz-flow-section .magsbiz-flow__buttons--count-2 .magsbiz-button--case,
  .magsbiz-flow-section .magsbiz-flow__buttons--count-2 .magsbiz-button__break--mobile {
    display: block;
  }

  .magsbiz-heading .magsbiz-brand-heading {
    font-size: 25px;
    width: 100%;
  }
}

@media (max-width: 436px) {
  .magsbiz-heading .magsbiz-brand-heading {
    font-size: 24px;
    width: 100%;
  }

  .magsbiz-services-section .magsbiz-service__icon,
  .magsbiz-services-section .magsbiz-service__icon img {
    width: clamp(60px, 15.6vw, 68px);
    height: clamp(60px, 15.6vw, 68px);
  }

  .magsbiz-services-section .magsbiz-service h3 {
    font-size: clamp(16px, 4.58vw, 20px);
  }

  .magsbiz-services-section .magsbiz-service p {
    font-size: clamp(14px, 3.81vw, 18px);
  }

}

.magsbiz-template-page {
  min-height: 100vh;
  padding: 75px 0 35px;
  background: #999;
  color: #fff;
  font-family: "Helvetica Neue", Arial, "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.magsbiz-template-page *,
.magsbiz-template-page *::before,
.magsbiz-template-page *::after {
  box-sizing: border-box;
}

.magsbiz-template-page__title {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.magsbiz-template-book {
  width: min(620px, 100%);
  margin: 35px auto;
}

.magsbiz-template-book figure {
  margin: 0;
}

.magsbiz-template-book img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #fff;
}

.magsbiz-template-book__cover {
  width: 50%;
  margin: 0 auto 18px !important;
}

.magsbiz-template-book__spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.magsbiz-template-book__spread:not(.magsbiz-template-book__spread--single)::after {
  content: "";
  width: 1px;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  background: rgba(0, 0, 0, .18);
  transform: translateX(-.5px);
  pointer-events: none;
}

.magsbiz-template-book__spread--single {
  width: 50%;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: 1fr;
}

.magsbiz-template-page__empty {
  margin: 80px auto;
  text-align: center;
}

@media (max-width: 767px) {
  .magsbiz-template-page {
    padding-top: 85px
  }

  .magsbiz-template-book {
    width: 88%;
  }

  .magsbiz-template-book__cover,
  .magsbiz-template-book__spread {
    margin-bottom: 20px !important;
  }
}
