.reason {
  max-width: 1080px;
  margin: 0 auto;
  padding: 129px 24px 90px;
  color: #333;
}

.reason__lead .reason__lead-line .sp-only {
  display: none;
}

.section__header {
  width: calc(100% - 120px);
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .section__header {
    width: calc(100% - 40px);
    max-width: 100%;
  }
}

.section__label {
  font-family: "koburina-gothic-stdn", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0178E5;
  text-align: center;
}

.section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.section__title-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.section__title-text {
  font-family: "koburina-gothic-stdn", sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #383B42;
}

.section__title-text--black {
  color: #383B42;
}

.section__title-text--blue {
  color: #0178E5;
}

.section__title-text--sm {
  font-size: 32px;
}

@media (max-width: 768px) {
  .section__title-text {
    font-size: 28px;
  }

  .section__title-text--sm {
    font-size: 21px;
  }
}

.problem .section__title {
  max-width: 600px;
}

.reason .section__title {
  max-width: 720px;
}

.section__title-em {
  color: #0B45B4;
}

.reason__list {
  counter-reset: reason;
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  column-gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.reason__item {
  counter-increment: reason;
}

.reason__step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  min-height: 52px;
  padding: 0 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.reason__step::before {
  content: counter(reason, decimal-leading-zero);
  display: grid;
  place-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  font-size: 13px;
  line-height: 1;
}

.reason__item:nth-child(1) .reason__step {
  position: relative;
  z-index: 1;
  margin: 0 -40px 0 0;
  background: #0B45B4;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%,
      calc(100% - 22px) 100%, 0 100%);
}

.reason__item:nth-child(1) .reason__step::before {
  font-family: "urw-din", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0B45B4;
}

.reason__item:nth-child(2) .reason__step {
  background: #0076E5;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%,
      calc(100% - 22px) 100%, 0 100%, 22px 50%);
}

.reason__item:nth-child(2) .reason__step::before {
  font-family: "urw-din", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0076E5;
}

.reason__lead {
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #383B42;
  text-align: center;
  margin: 34px 0 0;
}

.reason__lead-line {
  display: block;
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #383B42;
}

.reason__lead-em {
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #E56F00;
}

.reason__figure {
  position: relative;
  height: 225px;
  border: 1px solid #E4E4E5;
  border-radius: 10px;
  background: #fff;
  margin: 38px 0 0;
  padding: 27px 0 25px;
}

.reason__figure-caption-pc {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 6px;
}

.reason__figure-caption-sp {
  display: none;
}

.reason__figure-caption-line {
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: #363843;
}

.reason__figure-em {
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: #E56F00;
}

.reason__figure-img {
  display: block;
  width: 100%;
  max-width: 492px;
  height: auto;
  margin: 0 auto;
}

.reason__metrics-wrap {
  position: relative;
  width: 100%;
  max-width: 266px;
  margin: 38px auto 0;
}

.reason__metrics {
  position: relative;
  width: 100%;
  height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid #E4E4E5;
  border-radius: 10px;
  margin: 0;
  list-style: none;
}

.reason__metrics-wrap::before {
  content: "";
  position: absolute;
  right: 130px;
  bottom: -30px;
  width: 450px;
  height: 49px;
  background: url("../img/front-page/arrow-blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
}

.reason__proposal {
  position: absolute;
  left: -125px;
  bottom: -40px;
  z-index: 2;
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0076E5;
  background-color: #fff;
  text-align: center;
  border: 1px solid #0076E5;
  border-radius: 30px;
  padding: 4px 40px;
  white-space: nowrap;
}

.reason__metric {
  width: 100%;
  max-width: 164px;
  border: 1px solid #0076E5;
  border-radius: 30px;
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -2%;
  color: #0076E5;
  text-align: center;
  background-color: #E1EBFE;
  padding: 7.5px 15px;
  margin: 0 auto;
}

.reason__desc {
  font-family: Koburina Gothic StdN;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 58px 0 0;
}

.reason__banner {
  font-family: 'Koburina Gothic StdN';
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  margin: 40px 0 0;
  padding: 26px 24px;
  border-radius: 12px;
  background: linear-gradient(270.02deg, #0076E5 0.07%, #0096E7 89.05%);
}

.reason__banner .sp-only {
  display: none;
}

.reason__banner-em {
  font-family: 'Koburina Gothic StdN';
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  color: #FEE968;
  text-align: center;
}

@media (min-width: 391px) {
  .reason__list {
    grid-template-columns: 630px 360px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    overscroll-behavior-inline: contain;
  }

  .reason__item:nth-child(2) {
    height: fit-content;
    align-self: start;
  }
}

@media (min-width: 391px) and (max-width: 1080px) {
  .reason {
    padding-left: 20px;
    padding-right: 20px;
  }

  .reason__list {
    margin-right: -20px;
    padding-right: 20px;
  }
}

@media (max-width: 390px) {
  .reason {
    padding: 129px 20px 0;
  }

  .reason__lead .reason__lead-line .sp-only {
    display: block;
  }

  .section__header {
    margin-inline: -24px;
    padding: 40px 24px 44px;
    gap: 12px;
    background: #F4F5F7;
  }

  .section__label {
    font-family: Koburina Gothic StdN;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    color: #0076E5;
  }

  .problem .section__title,
  .reason .section__title {
    max-width: 100%;
  }

  .section__title-text {
    letter-spacing: 0;
  }

  .reason__list {
    position: relative;
    display: block;
    margin-top: 40px;
  }

  .reason__list::before {
    content: "";
    position: absolute;
    bottom: 183px;
    right: -5px;
    width: 96px;
    height: 620px;
    background: url("../img/front-page/arrow-right.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
  }

  .reason__item+.reason__item {
    margin-top: 40px;
  }

  .reason__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: repeat(3, min-content);
    column-gap: 18px;
    row-gap: 20px;
    align-content: start;
  }

  .reason__item:nth-child(2) {
    height: fit-content;
    align-self: start;
  }

  .reason__step {
    width: 40px;
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    writing-mode: vertical-rl;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 14px 0 30px;
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .reason__step::before {
    writing-mode: horizontal-tb;
  }

  .reason__item:nth-child(1) .reason__step {
    position: relative;
    z-index: 2;
    height: calc(100% + 56px);
    margin: -7px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px),
        50% 100%, 0 calc(100% - 16px));
  }

  .reason__item:nth-child(2) .reason__step {
    margin: 0;
    clip-path: polygon(0 0, 50% 16px, 100% 0, 100% calc(100% - 16px),
        50% 100%, 0 calc(100% - 16px));
  }

  .reason__lead {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 0;
    font-size: 20px;
  }

  .reason__figure,
  .reason__metrics-wrap {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .reason__figure-caption-pc {
    display: none;
  }

  .reason__figure-caption-sp {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: 0 6px;
  }

  .reason__figure-caption-line-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .reason__figure-caption-line-inner .reason__figure-em,
  .reason__figure-caption-line-inner .reason__figure-caption-line {
    display: inline;
  }

  .reason__desc {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin: 0;
  }

  .reason__figure {
    position: relative;
    width: 100%;
    max-width: 251px;
    height: auto;
    padding: 32px 14px 20px;
    margin: 0 auto;
  }

  .reason__figure::before {
    content: "";
    position: absolute;
    top: 113px;
    left: -17px;
    width: 67px;
    height: 202px;
    background: url("../img/front-page/reason-deco.webp") no-repeat center center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
  }

  .reason__figure-img {
    max-width: 193.46px;
    height: auto;
  }

  .reason__metrics-wrap {
    max-width: none;
    margin: 0;
  }

  .reason__metrics {
    height: auto;
    padding: 24px 18px;
  }

  .reason__metrics-wrap::before {
    display: none;
  }

  .reason__proposal {
    display: none;
  }

  .reason__banner {
    font-family: Koburina Gothic StdN;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    padding: 29.5px 0;
  }

  .reason__banner-em {
    font-family: Koburina Gothic StdN;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
  }

  .reason__banner .sp-only {
    display: block;
  }
}