.hero {
  position: relative;
  height: 952px;
  overflow: hidden;
  background: #e9f5f7;
}

.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero__stage {
  position: relative;
  width: min(calc(100% - 48px), 1128px);
  height: 100%;
  margin-inline: auto;
}

.hero__ribbon--pc {
  position: absolute;
  top: 8.5%;
  left: 0.5%;
  display: block;
  width: 72.6%;
  height: auto;
}

.hero__ribbon-sp {
  display: none;
}

.hero__title,
.hero__lead,
.hero__proof {
  position: absolute;
  display: block;
}

.hero__title {
  top: 17.2%;
  left: 0.6%;
  width: 72.1%;
}

.hero__lead {
  top: 43.2%;
  left: 0.8%;
  width: 63.5%;
}

.hero__proof {
  top: 54.4%;
  left: 0;
  width: 64.9%;
}

.hero__title img,
.hero__lead img,
.hero__proof img {
  width: 100%;
}

.hero__cta {
  position: absolute;
  bottom: 1.5%;
  left: -8px;
  width: 685px;
  max-width: 61%;
}

.intro {
  padding-top: 92px;
  padding-bottom: 112px;
}

.intro .section-label {
  margin-inline: auto;
}

.intro__title {
  margin-top: 53px;
  margin-bottom: 51px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.62;
  text-align: center;
}

.intro__title strong {
  color: var(--color-main);
}

.intro__specialized {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--color-text);
  text-underline-offset: 11px;
}

.point-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 88px;
  padding: 50px 48px 55px;
  border: 4px solid var(--color-main);
  border-radius: 28px;
}

.cases {
  height: 700px;
  padding-top: 94px;
  padding-bottom: 0;
  background: var(--color-main-pale);
}

.section-title {
  margin-bottom: 47px;
  color: var(--color-main);
  font-size: 50px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.cases .section-title {
  margin-bottom: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2.5px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 361px);
  justify-content: center;
  gap: 21.5px;
}

.cases__note {
  margin-top: 27px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.96px;
}

.next-placeholder {
  padding: 22px var(--gutter);
  color: #fff;
  background: var(--color-main);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 899px) {
  .hero {
    height: 507px;
    background: #fff;
  }

  .hero::before {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 190px;
    pointer-events: none;
    content: "";
    background: linear-gradient(
      to bottom,
      #fff 0%,
      #fff 35%,
      rgb(255 255 255 / 82%) 55%,
      rgb(255 255 255 / 0%) 100%
    );
  }

  .hero::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 140px;
    pointer-events: none;
    content: "";
    background: linear-gradient(
      to bottom,
      rgb(255 255 255 / 0%) 0%,
      rgb(255 255 255 / 72%) 58%,
      #fff 100%
    );
  }

  .hero__background {
    object-position: 51% center;
  }

  .hero__stage {
    z-index: 2;
    width: 375px;
    max-width: 100%;
  }

  .hero__ribbon--pc {
    display: none;
  }

  .hero__ribbon-sp {
    position: absolute;
    top: 25px;
    left: 6.1%;
    display: block;
    width: 87.7%;
  }

  .hero__title {
    top: 75px;
    left: 8.3%;
    width: 83.1%;
  }

  .hero__lead {
    top: 171px;
    left: 8.3%;
    width: 83.3%;
  }

  .hero__proof {
    top: 225px;
    left: 8%;
    width: 60.8%;
  }

  .hero__cta {
    bottom: 0;
    left: 4.33%;
    width: 91.34%;
    max-width: none;
  }

  .intro {
    padding-top: 53px;
    padding-bottom: 66px;
  }

  .intro__title {
    margin-top: 31px;
    margin-bottom: 31px;
    font-size: 22px;
    line-height: 1.72;
  }

  .intro__specialized {
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  .point-panel {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 34px 29px 39px;
    border-width: 2px;
    border-radius: 15px;
  }

  .cases {
    height: auto;
    padding-top: 50px;
    padding-bottom: 25px;
  }

  .section-title {
    max-width: 313px;
    margin: 0 auto 13.5px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.25px;
  }

  .cases .section-title {
    margin: 0 auto 13.5px;
    line-height: 1.2;
    letter-spacing: 1.25px;
  }

  .cases__title-line {
    white-space: nowrap;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-inline: 5px;
  }

  .cases__note {
    margin-top: 9px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.1px;
  }
}
