.wish-hero {
  --hero-pink: #ec8291;
  --hero-ink: #242424;
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 759;
  min-height: 620px;
  overflow: hidden;
  color: var(--hero-ink);
  background: #f7f3ed;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.wish-hero *,
.wish-hero *::before,
.wish-hero *::after {
  box-sizing: border-box;
}

.wish-hero__background,
.wish-hero__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wish-hero__background img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.wish-hero__copy {
  position: absolute;
  z-index: 1;
  top: 11.5%;
  left: 3.8%;
  width: 53.5%;
}

.wish-hero__tagline {
  display: block;
  width: 94%;
  height: auto;
  margin: 0 0 20px;
}

.wish-hero__title {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(54px, 4.86vw, 69.6px);
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: .075em;
}

.wish-hero__title span {
  color: var(--hero-pink);
}

.wish-hero__title .wish-hero__title-small {
  color: inherit;
}

@media (min-width: 768px) {
  .wish-hero__title {
    white-space: nowrap;
  }
}

.wish-hero__lead {
  margin: 27px 0 0;
  font-size: clamp(24px, 2.16vw, 31.2px);
  font-weight: 600;
  line-height: 2.08;
  letter-spacing: .06em;
}

.wish-hero__title,
.wish-hero__title span,
.wish-hero__lead,
.wish-hero__lead span,
.wish-hero__lead em {
  font-family: "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

.wish-hero__lead span {
  padding: .1em .3em .16em;
  background: rgba(255, 255, 255, .92);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.wish-hero__lead em {
  color: var(--hero-pink);
  font-size: 1.2em;
  font-style: normal;
}

.wish-hero__points {
  position: absolute;
  z-index: 1;
  right: 4.1%;
  bottom: 6.6%;
  display: block;
  width: 42.96%;
  max-width: 618px;
  height: auto;
}

.wish-hero__actions {
  position: absolute;
  z-index: 2;
  bottom: 16.4%;
  left: 3.8%;
  display: flex;
  gap: 20px;
  align-items: center;
}

.wish-hero__button {
  display: grid;
  height: 68px;
  align-items: center;
  border: 2px solid var(--hero-pink);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 7px 10px rgba(87, 64, 54, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wish-hero__button:hover,
.wish-hero__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(87, 64, 54, .22);
}

.wish-hero__button:focus-visible {
  outline: 3px solid #242424;
  outline-offset: 3px;
}

.wish-hero__button img {
  display: block;
  width: auto;
  height: 27px;
}

.wish-hero__button b {
  justify-self: end;
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.wish-hero__button--request {
  grid-template-columns: 24px 1fr 12px;
  gap: 12px;
  width: 299px;
  padding: 0 20px 0 53px;
  color: #fff;
  background: var(--hero-pink);
}

.wish-hero__button--open-campus {
  grid-template-columns: 27px 1fr 12px;
  gap: 12px;
  width: 378px;
  padding: 0 20px 0 36px;
  color: var(--hero-pink);
  background: rgba(255, 255, 255, .94);
}

.wish-hero__button--open-campus span {
  white-space: nowrap;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .wish-hero__copy {
    width: 57%;
  }

  .wish-hero__title {
    font-size: 51.6px;
  }

  .wish-hero__lead {
    font-size: 22.8px;
  }

  .wish-hero__actions {
    gap: 12px;
  }

  .wish-hero__button {
    font-size: 16px;
  }

  .wish-hero__button--request {
    width: 260px;
    padding-left: 32px;
  }

  .wish-hero__button--open-campus {
    width: 335px;
    padding-left: 24px;
  }
}

/* Tablet-only hero positioning. */
@media (min-width: 768px) and (max-width: 1024px) {
  .wish-hero__copy {
    top: 4.8%;
    left: 6%;
  }

  .wish-hero__lead {
    margin-top: 6px;
  }

  .wish-hero__points {
    right: auto;
    bottom: 26%;
    left: 6%;
    width: 44%;
  }

  .wish-hero__actions {
    bottom: 5.5%;
    left: 6%;
    gap: 20px;
  }

  .wish-hero__button--request {
    width: 299px;
  }

  .wish-hero__button--open-campus {
    width: 378px;
  }
}

@media (max-width: 767px) {
  .wish-hero {
    aspect-ratio: 390 / 580;
    min-height: 0;
  }

  .wish-hero__copy {
    top: 4%;
    left: 2%;
    width: 96%;
  }

  .wish-hero__copy > picture {
    display: block;
  }

  .wish-hero__tagline {
    width: 58%;
    margin-bottom: 13px;
  }

  .wish-hero__title {
    font-size: clamp(24px, 10vw, 36px);
    font-weight: 500;
    line-height: 1.62;
    letter-spacing: 0em;
    font-feature-settings: "palt" 1;
    font-kerning: normal;
  }

  .wish-hero__title-small {
    font-size: .68em;
  }

  .wish-hero__lead {
    margin-top: 8px;
    font-size: 16px;
    line-height: 2.1;
    letter-spacing: .015em;
  }

  .wish-hero__lead span {
    padding: .28em .34em .38em;
  }

  .wish-hero__points {
    top: 52%;
    right: 3%;
    bottom: auto;
    left: auto;
    width: 70%;
    max-width: none;
  }

  .wish-hero__actions {
    right: 20px;
    bottom: 3.5%;
    left: 20px;
    display: grid;
    gap: 11px;
  }

  .wish-hero__button {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 61px;
    font-size: 16px;
    border-radius: 6px;
  }

  .wish-hero__button--request,
  .wish-hero__button--open-campus {
    padding: 0 42px;
  }

  .wish-hero__button img {
    position: absolute;
    left: 18px;
  }

  .wish-hero__button b {
    position: absolute;
    right: 15px;
  }

  .wish-hero__button span {
    text-align: center;
  }
}

@media (max-width: 370px) {
  .wish-hero__tagline {
    margin-bottom: 9px;
  }

  .wish-hero__title {
    font-size: 24px;
  }

  .wish-hero__lead {
    margin-top: 4px;
    font-size: 15px;
  }

  .wish-hero__button--request,
  .wish-hero__button--open-campus {
    padding: 0 40px;
  }
}


.s1 {
  --s1-pink: #eb778c;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  min-width: 320px;
  height: 720px;
  overflow: hidden;
  -webkit-mask-image: url("../img/S1-bg.png");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: calc(100% + 48px) 100%;
  mask-image: url("../img/S1-bg.png");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: calc(100% + 48px) 100%;
  color: #fff;
  background-image: url("../img/S1-bg.png");
  background-position: center;
  background-size: calc(100% + 48px) 100%;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.075em;
}

.s1::after {
  position: absolute;
  right: -10%;
  bottom: -75px;
  left: -10%;
  z-index: 5;
  height: 106px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #fff;
  content: none;
}

.s1 *,
.s1 *::before,
.s1 *::after {
  box-sizing: border-box;
}

.s1__inner {
  position: relative;
  width: min(1230px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
}

.s1__title {
  position: relative;
  z-index: 2;
  width: min(872px, 72%);
  margin: 0;
  padding-top: 62px;
  line-height: 1;
}

.s1__title img {
  display: block;
  width: 100%;
  height: auto;
}

.s1__copy {
  position: relative;
  z-index: 2;
  width: 870px;
  max-width: 74%;
  margin-top: 32px;
  font-size: 21.6px;
  line-height: 1.9;
}

.s1__copy p {
  margin: 0;
}

.s1__copy p + p {
  margin-top: 23px;
}

.s1__copy span {
  color: var(--s1-pink);
}

.s1__woman {
  position: absolute;
  right: -72px;
  bottom: -55px;
  z-index: 3;
  display: block;
  width: 440px;
  height: auto;
}

.s1__answer {
  position: absolute;
  right: auto;
  bottom: 138px;
  left: 0;
  z-index: 4;
  margin: 0;
  padding: 15px 30px 16px;
  color: var(--s1-pink);
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  font-size: clamp(23px, 3.05vw, 36px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.3em;
  width: max-content;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
}

.s1__answer,
.s1__answer span {
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

.s1__sp {
  display: none;
}

.s1__wish-break {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s1__woman {
    right: -40px;
    bottom: -95px;
    width: 340px;
  }
}

@media (max-width: 767px) {
  .s1 {
    height: 695px;
    font-size: 17.6px;
    line-height: 1.9;
    letter-spacing: 0.055em;
  }

  .s1::after {
    right: -24%;
    bottom: -52px;
    left: -24%;
    height: 77px;
  }

  .s1__inner {
    width: 100%;
    padding: 0 20px;
  }

  .s1__title {
    width: 254.4px;
    height: 88px;
    margin: 0 auto;
    padding-top: 57px;
  }

  .s1__copy {
    width: 100%;
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.055em;
  }

  .s1__copy p + p {
    margin-top: 31px;
  }

  .s1__pc {
    display: none;
  }

  .s1__woman {
    right: 0;
    bottom: 0;
    width: 165px;
  }

  .s1__answer {
    right: auto;
    bottom: 38px;
    left: 50%;
    width: 280px;
    max-width: calc(100% - 40px);
    padding: 8px 10px 9px;
    transform: translateX(-50%);
    font-size: 14.5px;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: normal;
  }

  .s1__sp {
    display: inline;
  }
}

@media (max-width: 540px) {
  .s1 {
    height: 620px;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 0 0 50% 50% / 0 0 7% 7%;
    background-color: #3c3d3d;
    background-size: cover;
  }

  .s1__title {
    width: min(327px, 100%);
    max-width: 100%;
    height: auto;
    padding-top: 55px;
  }

  .s1__title img {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .s1__title::before,
  .s1__title::after {
    content: none;
  }

  .s1__copy {
    margin-top: 18px;
  }

  .s1__wish-break {
    display: initial;
  }

  .s1__woman {
    right: 0;
    bottom: -28px;
    width: 200px;
  }

  .s1__answer {
    right: auto;
    bottom: 38px;
    width: 280px;
    max-width: calc(100% - 40px);
    padding: 8px 10px 9px;
    font-size: 14.5px;
  }
}

@media (max-width: 380px) {
  .s1 {
    height: 640px;
  }

  .s1__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .s1__copy {
    font-size: 14px;
    line-height: 1.9;
  }

  .s1__woman {
    bottom: -35px;
    width: 180px;
  }

  .s1__answer {
    right: auto;
    bottom: 25px;
    max-width: calc(100% - 36px);
    font-size: 14px;
  }
}


.s2 {
  --s2-pink: #eb7c91;
  --s2-gold: #b28b38;
  --s2-ink: #252525;
  overflow: hidden;
  padding: 82px 0 136px;
  background: #fff;
  color: var(--s2-ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.s2 *,
.s2 *::before,
.s2 *::after {
  box-sizing: border-box;
}

.s2__inner {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.s2__lead {
  margin: 0 0 78px;
  font-size: clamp(29.7px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.55;
  text-align: center;
}

.s2__lead span {
  color: var(--s2-pink);
}

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

.s2-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 72px;
}

.s2-feature + .s2-feature {
  margin-top: 68px;
}

.s2-feature--02 .s2-feature__content {
  grid-column: 2;
  grid-row: 1;
}

.s2-feature--02 .s2-feature__visual {
  grid-column: 1;
  grid-row: 1;
}

.s2-feature__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin: 0 0 35px;
}

.s2-feature__number {
  color: var(--s2-pink);
  font-family: "Times New Roman", Times, serif !important;
  font-stretch: condensed;
  font-size: 85.8px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .9;
}

.s2-feature__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.75;
}

.s2-feature__title > span {
  color: var(--s2-gold);
}

.s2-feature__body {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 2;
}

.s2-feature__body p {
  margin: 0;
}

.s2-feature__body p + p {
  margin-top: 24px;
}

.s2-feature__body .s2-feature__note {
  margin-top: 13px;
  color: #646464;
  font-size: 12px;
  letter-spacing: .07em;
  line-height: 1.8;
}

.s2-feature__visual {
  margin: 0;
}

.s2-feature__visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1025px) {
  .s2-feature__visual {
    width: calc(100% + max(32px, 50vw - 560px));
  }

  .s2-feature--01 .s2-feature__visual {
    justify-self: start;
  }

  .s2-feature--02 .s2-feature__visual {
    justify-self: end;
  }
}

@media (max-width: 1024px) {
  .s2 {
    padding: 48px 0 72px;
  }

  .s2__inner {
    width: min(100% - 48px, 540px);
  }

  .s2__lead {
    max-width: 100%;
    margin: 0 auto 45px;
    font-size: clamp(19px, 5.6vw, 21.5px);
    letter-spacing: .02em;
    line-height: 1.75;
    text-align: center;
    white-space: nowrap;
  }

  .s2-sp-only {
    display: initial;
  }

  .s2-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .s2-feature + .s2-feature {
    margin-top: 50px;
  }

  .s2-feature__content {
    display: contents;
  }

  .s2-feature__heading {
    order: 1;
    width: max-content;
    max-width: 100%;
    gap: 14px;
    margin: 0;
  }

  .s2-feature__body {
    order: 2;
  }

  .s2-feature__visual {
    order: 3;
    width: 100%;
  }

  .s2-feature__number {
    font-size: 44px;
  }

  .s2-feature__title {
    font-size: 17.5px;
    letter-spacing: .075em;
    line-height: 1.65;
  }

  .s2-feature__body {
    font-size: 14px;
    letter-spacing: .04em;
    line-height: 1.85;
  }

  .s2-feature__body p + p {
    margin-top: 21px;
  }

  .s2-feature__body .s2-feature__note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.75;
  }

  .s2-pc-only {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s2__lead {
    font-size: 28px;
  }

  .s2-feature__heading {
    width: 100%;
    max-width: none;
  }

  .s2-feature__title {
    white-space: nowrap;
  }

  .s2-feature__title br {
    display: initial;
  }

}

@media (max-width: 390px) {
  .s2__inner {
    width: calc(100% - 48px);
  }

  .s2__lead {
    font-size: clamp(19px, 5.6vw, 21.5px);
  }

  .s2-feature__heading {
    gap: 14px;
  }

  .s2-feature__number {
    font-size: 44px;
  }

  .s2-feature__title {
    font-size: 17.5px;
  }
}


.s3 {
  --s3-pink: #eb788e;
  --s3-pink-bg: #fff0f2;
  --s3-gold: #d8b75f;
  --s3-blue: #4d91cc;
  --s3-ink: #242020;
  overflow: visible;
  color: var(--s3-ink);
  background: #fff;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.s3 *,
.s3 *::before,
.s3 *::after { box-sizing: border-box; }

.s3__wave {
  position: relative;
  width: 110%;
  margin-left: -5%;
  padding: 0 5% 118px;
  background: var(--s3-pink-bg);
  border-bottom: 18px solid #ffc5cf;
  border-radius: 0 0 50% 50% / 0 0 75px 75px;
}

.s3__wave::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 2px;
  background: rgba(255,255,255,.82);
  content: none;
}

.s3__inner {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.s3__title {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0 auto 60px;
  padding: 17px 45px 16px;
  transform: translateY(-50%);
  color: #fff;
  background: var(--s3-pink);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.35;
}

.s3__title::after {
  position: absolute;
  top: 100%;
  left: 50%;
  border: 15px solid transparent;
  border-top: 20px solid var(--s3-pink);
  content: "";
  transform: translateX(-50%);
}

.s3__cards { display: grid; gap: 22px; }

.s3-card {
  --card-color: var(--s3-pink);
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--card-color);
  border-radius: 8px;
  background: var(--card-color);
}

.s3-card--restaurant { --card-color: var(--s3-gold); }
.s3-card--funeral { --card-color: var(--s3-blue); }

.s3-card__name {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 28px 34px 28px 50px;
  background: #fff;
}

.s3-card__name::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(100% - 2px);
  width: 52px;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.s3-card__name h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.75;
}

.s3-card__name p {
  margin: 5px 0 0;
  font-family: serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
}

.s3-card__name h3,
.s3-card__name p {
  color: #4f4a4a;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

.s3-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  color: #fff;
  border-radius: 50%;
  background: var(--card-color);
}

.s3-card__icon img {
  display: block;
  width: auto;
  max-width: 76%;
  max-height: 66%;
}

.s3-card__icon--rings i {
  position: absolute;
  top: 29px;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.s3-card__icon--rings i:first-child { left: 23px; }
.s3-card__icon--rings i:last-child { left: 39px; }
.s3-card__icon--rings::before,
.s3-card__icon--rings::after {
  position: absolute;
  top: 20px;
  width: 15px;
  height: 11px;
  border: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}
.s3-card__icon--rings::before { left: 33px; }
.s3-card__icon--rings::after { left: 49px; }

.s3-card__icon--dish::before {
  position: absolute;
  top: 31px;
  left: 44px;
  width: 45px;
  height: 45px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--card-color), inset 0 0 0 7px #fff;
  content: "";
}
.s3-card__icon--dish::after {
  position: absolute;
  top: 29px;
  left: 24px;
  width: 11px;
  height: 51px;
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
}
.s3-card__icon--dish i::before,
.s3-card__icon--dish i::after {
  position: absolute;
  top: 29px;
  width: 2px;
  height: 21px;
  background: #fff;
  content: "";
}
.s3-card__icon--dish i::before { left: 28px; }
.s3-card__icon--dish i::after { left: 32px; }

.s3-card__icon--flower::before,
.s3-card__icon--flower::after,
.s3-card__icon--flower i::before,
.s3-card__icon--flower i::after {
  position: absolute;
  top: 30px;
  left: 43px;
  width: 19px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
}
.s3-card__icon--flower::after { transform: rotate(45deg); }
.s3-card__icon--flower i::before { transform: rotate(90deg); }
.s3-card__icon--flower i::after { transform: rotate(135deg); }

.s3-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 24px 28px 22px 65px;
  color: #fff;
}

.s3-stat { text-align: center; }
.s3-stat + .s3-stat { border-left: 1px solid rgba(255,255,255,.82); }

.s3-stat__label {
  display: block;
  width: 88px;
  margin: 0 auto 4px;
  padding: 2px 6px;
  color: var(--card-color);
  border-radius: 3px;
  background: #fff;
  font-family: serif;
  font-size: 12px;
  letter-spacing: .11em;
  line-height: 1.35;
}

.s3-stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.s3-stat strong small {
  display: inline-block;
  margin-left: .1em;
  font-size: .46em;
  letter-spacing: 0;
}
.s3-stat p {
  width: 148px;
  margin: 4px auto 0;
  padding-top: 6px;
  border-top: 1px dotted rgba(255,255,255,.6);
  font-family: serif;
  font-size: 14px;
  line-height: 1.4;
}
.s3-stat p b { margin-left: 5px; font-size: 26px; font-weight: 400; }
.s3-stat p small { font-size: 12px; }

.s3-stat strong,
.s3-stat strong small,
.s3-stat p b,
.s3-stat p b small,
.s3-employment__number strong,
.s3-employment__number strong small {
  font-family: "Times New Roman", Times, serif !important;
}

.s3-card--funeral .s3-card__results { grid-template-columns: 1fr 1.2fr; }
.s3-card__qualification {
  margin: 0;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.9;
}

.s3-employment {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  margin-top: 49px;
  color: #b18e38;
  text-align: center;
}

.s3-employment__number { position: relative; z-index: 1; grid-column: 1; grid-row: 1; margin: 0; }
.s3-employment__number > span {
  display: block;
  margin-bottom: -8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .08em;
}
.s3-employment__number b { font-size: 46px; font-weight: 400; }
.s3-employment__number strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 120px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.s3-employment__number strong small {
  display: inline-block;
  margin-left: .1em;
  font-size: .35em;
  letter-spacing: 0;
}

.s3-employment__number > span,
.s3-employment__number b,
.s3-employment__years-number,
.s3-employment__years-text {
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

.s3-employment__laurel {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 598px;
  max-width: 100%;
  height: auto;
  margin: auto;
}

.s3-employment__copy {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  color: #424242;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.85;
}

.s3-employment__copy {
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s3__title {
    font-size: 30px;
  }

  .s3-card {
    grid-template-columns: 52% 48%;
  }

  .s3-card__name {
    gap: 18px;
    padding: 22px 18px 22px 28px;
  }

  .s3-card__name::after {
    width: 34px;
  }

  .s3-card__icon {
    flex-basis: 84px;
    width: 84px;
    height: 84px;
  }

  .s3-card__name h3 {
    font-size: 18px;
    line-height: 1.55;
    white-space: nowrap;
  }

  .s3-card__name p {
    font-size: 12px;
  }

  .s3-card__results {
    padding: 20px 16px 18px 40px;
  }

  .s3-stat strong {
    font-size: 60px;
    white-space: nowrap;
  }

  .s3-stat p {
    width: 130px;
    font-size: 12px;
    white-space: nowrap;
  }

  .s3-stat p b {
    margin-left: 3px;
    font-size: 20px;
  }

  .s3-card__qualification {
    padding-left: 14px;
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.75;
  }
}

@media (max-width: 767px) {
  .s3 {
    overflow: visible;
  }

  .s3__wave {
    width: 116%;
    margin-left: -8%;
    padding: 0 8% 70px;
    border-bottom-width: 10px;
    border-radius: 0 0 50% 50% / 0 0 46px 46px;
  }

  .s3__inner { width: min(100% - 44px, 420px); }

  .s3__title {
    width: 320px;
    max-width: calc(100vw - 32px);
    margin-bottom: 12px;
    padding: 8px 15px 7px;
    transform: translateY(-50%);
    font-size: 20px;
    letter-spacing: .06em;
    text-align: center;
    white-space: nowrap;
  }

  .s3__title::after {
    border-width: 8px;
    border-top-width: 11px;
  }

  .s3__cards {
    width: 306px;
    max-width: 100%;
    margin: 0 auto;
    gap: 18px;
  }

  .s3-card {
    display: block;
    min-height: 0;
    border-radius: 7px;
  }

  .s3-card__name {
    display: block;
    min-height: 205px;
    padding: 22px 12px 35px;
    text-align: center;
  }

  .s3-card__name::after {
    top: calc(100% - 1px);
    bottom: auto;
    left: 0;
    width: 100%;
    height: 22px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }

  .s3-card__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 15px;
  }

  .s3-card__icon--rings i { top: 23px; }
  .s3-card__icon--rings i:first-child { left: 15px; }
  .s3-card__icon--rings i:last-child { left: 31px; }
  .s3-card__icon--rings::before,
  .s3-card__icon--rings::after { top: 14px; }
  .s3-card__icon--rings::before { left: 25px; }
  .s3-card__icon--rings::after { left: 41px; }
  .s3-card__icon--dish::before { top: 24px; left: 36px; }
  .s3-card__icon--dish::after { top: 22px; left: 17px; }
  .s3-card__icon--dish i::before,
  .s3-card__icon--dish i::after { top: 22px; }
  .s3-card__icon--dish i::before { left: 21px; }
  .s3-card__icon--dish i::after { left: 25px; }
  .s3-card__icon--flower::before,
  .s3-card__icon--flower::after,
  .s3-card__icon--flower i::before,
  .s3-card__icon--flower i::after { top: 22px; left: 35px; }

  .s3-card__name h3 { font-size: 18px; line-height: 1.55; }
  .s3-card__name p { margin-top: 3px; font-size: 12px; }

  .s3-card__results {
    display: block;
    padding: 37px 28px 20px;
  }

  .s3-stat { padding: 0 0 19px; }
  .s3-stat + .s3-stat {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.8);
    border-left: 0;
  }

  .s3-stat__label { width: 116px; }
  .s3-stat strong { font-size: 78px; }
  .s3-stat p { width: auto; padding-top: 0; border: 0; }

  .s3-card--funeral .s3-card__results { display: block; }
  .s3-card__qualification {
    margin-top: 0;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255,255,255,.8);
    font-size: 12px;
    line-height: 1.8;
  }

  .s3-employment {
    grid-template-columns: 1fr;
    margin-top: 31px;
  }
  .s3-employment__laurel { width: 340px; }
  .s3-employment__number > span { margin-bottom: -2px; font-size: 24px; }
  .s3-employment__number b { font-size: 26px; }
  .s3-employment__number strong { font-size: 72px; }
  .s3-employment__copy {
    margin-top: 20px;
    color: #3d3d3d;
    font-size: 15px;
    letter-spacing: .035em;
    line-height: 1.8;
  }
  .s3-pc-only { display: none; }
}

@media (max-width: 370px) {
  .s3__inner { width: calc(100% - 32px); }
  .s3__title { font-size: 21px; }
}


.s4-careers {
  --s4-pink: #ec8291;
  --s4-gold: #b89448;
  --s4-blue: #58a5cc;
  --s4-ink: #292929;
  position: relative;
  min-height: 1158px;
  overflow: hidden;
  color: var(--s4-ink);
  background: #fff;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.s4-careers *,
.s4-careers *::before,
.s4-careers *::after {
  box-sizing: border-box;
}

.s4-careers::before {
  content: none;
  position: absolute;
  z-index: 0;
  top: -103px;
  left: -5%;
  width: 110%;
  height: 135px;
  border-bottom: 13px solid #f6afbe;
  border-radius: 0 0 50% 50%;
  background: #fff0f3;
}

.s4-careers::after {
  content: none;
  position: absolute;
  z-index: 0;
  right: -5%;
  bottom: -90px;
  width: 110%;
  height: 132px;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: #f4f4f4;
}

.s4-careers__map {
  position: absolute;
  z-index: 0;
  top: -20px;
  right: 40px;
  width: min(51.7vw, 744px);
  height: auto;
  opacity: .3;
}

.s4-careers__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 160px), 1280px);
  margin: 0 auto;
  padding: 145px 0 112px;
}

.s4-careers__header {
  position: relative;
}

.s4-careers__title {
  margin: 0;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(39.6px, 3.465vw, 49.5px);
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .055em;
}

.s4-careers__title span {
  color: var(--s4-pink);
}

.s4-careers__title .s4-careers__title-line {
  color: inherit;
}

.s4-careers__description {
  margin: 36px 0 0;
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: .085em;
}

.s4-careers__description strong {
  color: var(--s4-pink);
  font-size: 20px;
  font-weight: 600;
}

.s4-careers__destinations {
  margin-top: 105px;
}

.s4-careers__subheading {
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 3px solid #303030;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .08em;
}

.s4-careers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
}

.s4-careers__card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(74, 63, 56, .12);
}

.s4-careers__card > img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.s4-careers__card-body {
  display: flex;
  min-height: 64px;
  padding: 10px 8px 7px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.s4-careers__card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .04em;
}

.s4-careers__card p {
  margin: 4px 0 0;
  color: var(--s4-gold);
  font-size: 14px;
  line-height: 1.2;
}

.s4-careers__closing {
  margin-top: 64px;
  text-align: center;
}

.s4-careers__closing p {
  margin: 0;
  font-size: 26px;
  line-height: 2.05;
  letter-spacing: .065em;
}

.s4-careers__closing p,
.s4-careers__closing p em {
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

.s4-careers__closing em {
  color: var(--s4-blue);
  background: linear-gradient(transparent 75%, #f5e8bd 75%);
  font-style: normal;
}

.s4-careers__closing small {
  display: block;
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .045em;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .s4-careers__inner {
    width: calc(100% - 80px);
  }

  .s4-careers__title {
    font-size: 37.4px;
  }

  .s4-careers__grid {
    gap: 16px;
  }

  .s4-careers__card h4 {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s4-careers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .s4-careers__closing p {
    font-size: 22px;
    letter-spacing: .035em;
  }

  .s4-careers__closing br {
    display: none;
  }

  .s4-careers__closing em {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .s4-careers {
    min-height: 0;
  }

  .s4-careers::before {
    top: -51px;
    left: -10%;
    width: 120%;
    height: 67px;
    border-bottom-width: 7px;
  }

  .s4-careers::after {
    right: -10%;
    bottom: -43px;
    width: 120%;
    height: 75px;
  }

  .s4-careers__map {
    top: 12px;
    right: auto;
    left: 50%;
    width: 480px;
    opacity: .3;
    transform: translateX(-50%);
  }

  .s4-careers__inner {
    width: calc(100% - 40px);
    padding: 105px 0 86px;
  }

  .s4-careers__title {
    font-size: clamp(22px, 6.215vw, 24.2px);
    line-height: 1.72;
    letter-spacing: .035em;
  }

  .s4-careers__title-line {
    display: block;
    font-size: .95em;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .s4-careers__description {
    margin-top: 34px;
    font-size: 14px;
    line-height: 2.05;
    letter-spacing: .035em;
  }

  .s4-careers__description br {
    display: none;
  }

  .s4-careers__description strong {
    font-size: 16px;
  }

  .s4-careers__destinations {
    margin-top: 27px;
  }

  .s4-careers__subheading {
    width: 292px;
    margin: 0 auto 24px;
    padding-left: 12px;
    font-size: 18px;
  }

  .s4-careers__grid {
    grid-template-columns: 292px;
    gap: 25px;
    justify-content: center;
  }

  .s4-careers__card {
    border-radius: 6px;
  }

  .s4-careers__card-body {
    min-height: 61px;
    padding-top: 9px;
  }

  .s4-careers__card h4 {
    font-size: 14px;
  }

  .s4-careers__closing {
    margin-top: 50px;
  }

  .s4-careers__closing p {
    font-size: 19px;
    line-height: 2;
    letter-spacing: .03em;
  }

  .s4-careers__closing em {
    display: block;
    font-size: clamp(17px, calc(6.5vw - 3.8px), 21.66px);
    line-height: 1.8;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .s4-careers__closing small {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.8;
    text-align: left;
  }
}

@media (max-width: 350px) {
  .s4-careers__inner {
    width: calc(100% - 28px);
  }

  .s4-careers__grid,
  .s4-careers__subheading {
    width: 100%;
    grid-template-columns: minmax(0, 292px);
  }
}


.s5 {
  --s5-gray: #ededed;
  --s5-ink: #373737;
  --s5-pink: #eb788e;
  --s5-pale-pink: #fff4f6;
  --s5-blue: #468fca;
  --s5-charcoal: #4b4b4b;
  --s5-gold: #b79642;
  position: relative;
  z-index: 1;
  min-width: 320px;
  overflow: hidden;
  padding: 139px 40px 130px;
  color: var(--s5-ink);
  background: var(--s5-gray);
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.065em;
}

.s5::before,
.s5::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}

.s5::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0H1440V45C1160 0 910 0 625 46C390 84 182 83 0 55Z'/%3E%3C/svg%3E");
}

.s5::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 62C250 98 470 95 700 53C965 5 1190 14 1440 55V100H0Z'/%3E%3C/svg%3E");
}

.s5 *,
.s5 *::before,
.s5 *::after {
  box-sizing: border-box;
}

.s5__inner {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.s5__header {
  text-align: center;
}

.s5__eyebrow {
  margin: 0 0 9px;
  color: var(--s5-gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.s5__header h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.13em;
}

.s5__header h2::before,
.s5__header h2::after {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 49px;
  background: url("../img/ashirai2.svg") center / contain no-repeat;
  content: "";
  filter: grayscale(1) brightness(.45);
}

.s5__header h2::before {
  right: calc(100% + 20px);
  transform: translateY(-50%);
}

.s5__header h2::after {
  left: calc(100% + 20px);
  transform: translateY(-50%) scaleX(-1);
}

.s5-title-sp,
.s6-title-sp {
  display: none;
}

.s5__lead {
  margin: 37px 0 0;
  font-size: 16px;
  line-height: 1.95;
}

.s5__difference-title {
  width: max-content;
  max-width: 100%;
  margin: 35px auto 25px;
  padding: 0 8px 13px;
  color: var(--s5-pink);
  background: url("../img/S5-underline.svg") center bottom / 100% 13px no-repeat;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-align: center;
}

.s5__sp {
  display: none;
}

.s5__difference-underline {
  display: none;
}

.s5__difference-title span {
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif !important;
}

.s5__comparisons {
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
}

.s5__comparison {
  display: grid;
  grid-template-columns: 240px 450px 290px;
  min-height: 76px;
}

.s5__comparison p {
  margin: 0;
}

.s5__label,
.s5__result,
.s5__values {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.s5__label {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: rgb(255 255 255 / 67%);
  font-size: 16px;
}

.s5__market {
  min-width: 0;
  background: #fff;
}

.s5__market-head {
  display: none;
  grid-template-columns: 1fr 1fr;
  height: 34px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
}

.s5__market-head span:first-child {
  background: var(--s5-blue);
}

.s5__market-head span:last-child {
  background: var(--s5-charcoal);
}

.s5__values {
  height: 76px;
  border-bottom: 1px solid #ddd;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 27px;
  letter-spacing: 0;
  white-space: nowrap;
}

.s5__values span {
  width: 45%;
}

.s5__values b {
  width: 10%;
  font-size: 25px;
  font-weight: 400;
}

.s5__result {
  border-bottom: 1px solid #f1dfe3;
  background: var(--s5-pale-pink);
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.s5__comparison--primary .s5__market-head {
  display: grid;
}

.s5__comparison--primary .s5__label,
.s5__comparison--primary .s5__result {
  margin-top: 34px;
}

.s5__comparison--primary .s5__label,
.s5__comparison--primary .s5__result {
  color: #fff;
  background: var(--s5-pink);
}

.s5__comparison--primary .s5__result {
  position: relative;
}

.s5__comparison--primary .s5__result::before,
.s5__comparison--primary .s5__result::after {
  position: absolute;
  content: "";
}

.s5__comparison--primary .s5__result::before {
  content: none;
}

.s5__comparison--primary .s5__result::after {
  top: -49px;
  right: -53px;
  width: 58px;
  height: 49px;
  background: url("../img/ashirai1.svg") center / contain no-repeat;
}

.s5__comparison--primary .s5__result strong {
  margin: 0 2px;
  font-family: "Times New Roman", Times, serif;
  font-size: 43px;
  font-weight: 500;
  line-height: 1;
}

.s5__summary {
  margin-top: 35px;
  text-align: center;
}

.s5__summary p {
  margin: 0;
}

.s5__summary > p:first-child {
  font-size: 18px;
  line-height: 1.95;
}

.s5__summary span {
  color: var(--s5-pink);
}

.s5__source {
  margin-top: 13px !important;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.015em;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s5__comparisons {
    width: min(620px, 100%);
  }

  .s5__comparison {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 0;
    margin-bottom: 18px;
  }

  .s5__market-head,
  .s5__comparison--primary .s5__market-head {
    display: grid;
    height: 32px;
    column-gap: 3px;
    overflow: visible;
    font-size: 14px;
    line-height: 32px;
  }

  .s5__market-head span:first-child,
  .s5__market-head span:last-child {
    border-radius: 5px 5px 0 0;
  }

  .s5__label,
  .s5__comparison--primary .s5__label {
    align-self: end;
    height: 64px;
    margin-top: 32px;
    padding: 5px 8px;
    color: var(--s5-ink);
    background: rgb(255 255 255 / 68%);
    font-size: 13px;
    line-height: 1.45;
  }

  .s5__comparison--primary .s5__label {
    color: #fff;
    background: var(--s5-pink);
  }

  .s5__values {
    height: 64px;
    font-size: 20px;
  }

  .s5__result,
  .s5__comparison--primary .s5__result {
    grid-column: 1 / -1;
    height: 54px;
    margin-top: 0;
    color: var(--s5-ink);
    background: var(--s5-pale-pink);
    font-size: 18px;
  }

  .s5__comparison--primary .s5__result {
    height: 58px;
    color: #fff;
    background: var(--s5-pink);
  }

  .s5__comparison--primary .s5__result strong {
    font-size: 30px;
  }

  .s5__comparison--primary .s5__result::after {
    top: 8px;
    right: auto;
    left: 72%;
    width: 32px;
    height: 24px;
  }
}

@media (max-width: 700px) {
  .s5 {
    min-height: 0;
    padding: 74px 10px 70px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.045em;
  }

  .s5::before,
  .s5::after {
    height: 44px;
    background-size: 170% 100%;
  }

  .s5::before {
    background-position: 37% center;
  }

  .s5::after {
    background-position: 68% center;
  }

  .s5__eyebrow {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .s5__header {
    width: calc(100% - 36px);
    margin-right: auto;
    margin-left: auto;
  }

  .s5__header h2 {
    width: 260px;
    max-width: calc(100% - 45px);
    font-size: 24px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .s5__header h2::before,
  .s5__header h2::after {
    top: 52%;
    width: 37px;
    height: 32px;
  }

  .s5__header h2::before {
    right: calc(100% + 7px);
  }

  .s5__header h2::after {
    left: calc(100% + 7px);
  }

  .s5-title-sp {
    display: inline;
  }

  .s5__lead {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.75;
  }

  .s5__pc {
    display: none;
  }

  .s5__sp {
    display: inline;
  }

  .s5__difference-title {
    margin: 32px auto 27px;
    padding-bottom: 3px;
    background: none;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
  }

  .s5__difference-title span {
    position: relative;
    display: inline-block;
    padding: 0 8px 14px;
    font-size: 27px;
  }

  .s5__difference-underline {
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
  }

  .s5__comparisons {
    width: 100%;
  }

  .s5__comparison {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 0;
    margin-bottom: 18px;
  }

  .s5__market-head,
  .s5__comparison--primary .s5__market-head {
    display: grid;
    height: 29px;
    column-gap: 3px;
    overflow: visible;
    font-size: 12px;
    line-height: 29px;
  }

  .s5__market-head span:first-child {
    border-radius: 5px 5px 0 0;
  }

  .s5__market-head span:last-child {
    border-radius: 5px 5px 0 0;
  }

  .s5__label,
  .s5__comparison--primary .s5__label {
    align-self: end;
    height: 58px;
    margin-top: 29px;
    padding: 3px 6px;
    color: var(--s5-ink);
    background: rgb(255 255 255 / 68%);
    font-size: 12px;
    line-height: 1.4;
  }

  .s5__comparison--primary .s5__label {
    color: #fff;
    background: var(--s5-pink);
  }

  .s5__values {
    height: 58px;
    font-size: 18px;
  }

  .s5__values span {
    width: 45%;
  }

  .s5__values b {
    width: 10%;
    font-size: 18px;
  }

  .s5__result,
  .s5__comparison--primary .s5__result {
    grid-column: 1 / -1;
    height: 52px;
    margin-top: 0;
    color: var(--s5-ink);
    background: var(--s5-pale-pink);
    font-size: 18px;
  }

  .s5__comparison--primary .s5__result {
    height: 57px;
    color: #fff;
    background: var(--s5-pink);
    font-size: 16px;
  }

  .s5__comparison--primary .s5__result strong {
    font-size: 27px;
  }

  .s5__comparison--primary .s5__result::before {
    content: none;
  }

  .s5__comparison--primary .s5__result::after {
    top: -37px;
    right: -42px;
    width: 46px;
    height: 39px;
  }

  .s5__summary {
    margin-top: 33px;
    text-align: left;
  }

  .s5__summary > p:first-child {
    font-size: 16px;
    line-height: 1.8;
  }

  .s5__source {
    margin-top: 9px !important;
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 360px) {
  .s5 {
    padding-right: 16px;
    padding-left: 16px;
  }

  .s5__comparison {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .s5__values,
  .s5__values b {
    font-size: 16px;
  }
}


.s6 {
  --s6-pink: #eb778d;
  --s6-gold: #b18d37;
  --s6-blue: #4e8db4;
  --s6-ink: #292525;
  padding: 108px 0 98px;
  color: var(--s6-ink);
  background: #fff;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.s6 *,
.s6 *::before,
.s6 *::after { box-sizing: border-box; }

.s6__inner {
  width: min(1280px, calc(100% - 160px));
  margin-inline: auto;
}

.s6__title {
  width: fit-content;
  margin: 0 auto 64px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c8a351;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.45;
}

.s7-sp-break,
.s8-title-sp,
.s8-message-sp,
.s8-message-break,
.s9-message-sp {
  display: none;
}

.s6-overview {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 75px;
  width: 940px;
  max-width: 100%;
  margin: 0 auto 62px;
}

.s6-overview__text > p:first-child {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 2;
}

.s6-overview__ratio {
  width: 470px;
  max-width: 100%;
  margin: 29px 0 0;
  padding: 12px 24px;
  color: var(--s6-gold);
  border: 1px solid #bda665;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
  letter-spacing: .08em;
  line-height: 1.45;
  white-space: nowrap;
  text-align: center;
}

.s6-overview__ratio strong { font-family: "Times New Roman", Times, serif !important; font-size: 38px; font-weight: 400; }
.s6-chart { margin: 0; }

.s6-chart__pie {
  position: relative;
  width: 260px;
  height: 260px;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(#eee 0 25%, var(--s6-pink) 25% 100%);
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

.s6-chart__pie::before,
.s6-chart__pie::after {
  position: absolute;
  background: #fff;
  content: "";
}

.s6-chart__pie::before {
  top: 50%;
  right: 0;
  width: 50%;
  height: 5px;
}

.s6-chart__pie::after {
  top: 0;
  left: 50%;
  width: 5px;
  height: 50%;
}

.s6-chart__inside,
.s6-chart__outside {
  position: absolute;
  z-index: 1;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
}
.s6-chart__inside { top: 50px; right: 31px; color: var(--s6-blue); }
.s6-chart__outside { bottom: 45px; left: 39px; color: #fff; }
.s6-chart b,
.s6-chart b small { font-family: "Times New Roman", Times, serif !important; }
.s6-chart b { display: block; font-size: 42px; font-weight: 400; line-height: 1; }
.s6-chart small { font-size: .55em; }

.s6-graduates__title {
  margin: 0;
  color: var(--s6-gold);
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .11em;
  line-height: 1.5;
  text-align: center;
}

.s6-graduates__lead {
  margin: 15px 0 31px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.8;
  text-align: center;
}

.s6-graduates__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.s6-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 15px 15px 21px;
  border: 1px solid #bca766;
  background: #fff;
}

.s6-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4565;
  object-fit: cover;
}

.s6-card h4 {
  position: relative;
  width: calc(100% + 120px);
  min-height: 29px;
  margin: 9px -60px 0;
  padding: 5px 10px;
  color: #fff;
  background: url("../img/S6-ribbon.svg") center / 100% 100% no-repeat;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
  text-align: center;
}

.s6-card h4::before,
.s6-card h4::after {
  content: none;
}

.s6-card__from {
  margin: 8px 0 9px;
  color: #6d6253;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
}

.s6-card__message {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.7;
}

.s6-cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  width: 790px;
  max-width: 100%;
  margin: 50px auto 0;
}

.s6-cta__link {
  position: relative;
  display: grid;
  grid-template-columns: 24px auto;
  column-gap: 8px;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  padding: 11px 18px;
  color: var(--s6-pink);
  border: 2px solid var(--s6-pink);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(43, 37, 37, .16);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.s6-cta__link--request { color: #fff; background: var(--s6-pink); }
.s6-cta__link img { display: block; width: 20px; height: 23px; object-fit: contain; }
.s6-cta__link--request img { filter: brightness(0) invert(1); }
.s6-cta__link i { position: absolute; top: 50%; right: 18px; font-family: sans-serif; font-size: 23px; font-style: normal; font-weight: 300; line-height: 1; transform: translateY(-50%); }
.s6-cta__link:hover { opacity: .85; transform: translateY(-2px); }
.s6-cta__link:focus-visible { outline: 3px solid #333; outline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1024px) {
  .s6__title {
    width: min(620px, 100%);
    margin-bottom: 44px;
    font-size: 34px;
    line-height: 1.55;
    text-align: left;
  }

  .s6-overview {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: min(620px, 100%);
    margin-bottom: 58px;
  }

  .s6-overview__text {
    width: 100%;
  }

  .s6-overview__ratio {
    width: 100%;
  }

  .s6-graduates__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .s6-card + .s6-card {
    margin-top: 0;
  }

  .s6-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: min(620px, 100%);
  }

  .s6-cta__link {
    width: 100%;
    min-height: 64px;
  }
}

@media (max-width: 767px) {
  .s6 { padding: 63px 0 68px; }
  .s6__inner { width: min(100% - 30px, 430px); }

  .s6__title {
    width: 100%;
    margin-bottom: 39px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 27px;
    letter-spacing: .065em;
    line-height: 1.65;
    text-align: left;
  }

  .s6__title span {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid #c8a351;
  }

  .s6-title-sp {
    display: inline;
  }

  .s6-overview {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin-bottom: 48px;
  }

  .s6-overview__text > p:first-child {
    font-size: 14px;
    letter-spacing: .035em;
    line-height: 1.9;
  }

  .s6-overview__text {
    width: 100%;
    min-width: 0;
  }

  .s6-overview__ratio {
    width: 100%;
    margin: 23px auto 0;
    padding: 9px 13px;
    font-size: 18px;
    letter-spacing: .035em;
  }
  .s6-overview__ratio strong { font-size: 28px; }
  .s6-chart__pie { width: 210px; height: 210px; }
  .s6-chart__inside { top: 40px; right: 25px; }
  .s6-chart__outside { bottom: 36px; left: 31px; }
  .s6-chart b { font-size: 34px; }

  .s6-graduates__title {
    font-size: clamp(17px, 5vw, 20px);
    letter-spacing: .035em;
    white-space: nowrap;
  }
  .s6-graduates__lead {
    margin: 13px 0 27px;
    font-size: 14px;
    letter-spacing: .025em;
    line-height: 1.85;
  }

  .s6-graduates__cards { display: block; }
  .s6-card { padding: 15px 15px 20px; }
  .s6-card h4 {
    width: calc(100% + 30px);
    margin-right: -15px;
    margin-left: -15px;
  }
  .s6-card + .s6-card { margin-top: 19px; }
  .s6-card h4 { min-height: 30px; font-size: 12px; }
  .s6-card__message { font-size: 14px; line-height: 1.75; }

  .s6-cta {
    display: block;
    width: 100%;
    margin-top: 38px;
  }
  .s6-cta__link {
    min-height: 57px;
    padding: 10px 13px;
    font-size: 14px;
  }
  .s6-cta__link + .s6-cta__link { margin-top: 13px; }
  .s6-pc-only { display: none; }
}

@media (max-width: 370px) {
  .s6__inner { width: calc(100% - 24px); }
  .s6__title { font-size: 24px; }
}


.s7-voices {
  --s7-pink: #ec8291;
  --s7-pale: #fff2f4;
  --s7-gold: #b49142;
  --s7-ink: #303030;
  color: var(--s7-ink);
  background: var(--s7-pale);
  font-family: "Yu Gothic", "YuGothic", sans-serif;
}

.s7-voices *,
.s7-voices *::before,
.s7-voices *::after {
  box-sizing: border-box;
}

.s7-voices__inner {
  width: min(calc(100% - 180px), 1240px);
  margin: 0 auto;
  padding: 115px 0 98px;
}

.s7-voices__header {
  text-align: center;
}

.s7-voices__kicker {
  margin: 0 0 12px;
  color: var(--s7-gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
}

.s7-voices__header h2 {
  display: inline;
  margin: 0;
  background: linear-gradient(transparent 78%, #f5e7b7 78%);
  font-size: clamp(39.6px, 3.465vw, 49.5px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .085em;
}

.s7-voices__lead {
  margin: 31px 0 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .075em;
}

.s7-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 118px 20px;
  margin-top: 135px;
}

.s7-voices__card {
  position: relative;
  min-width: 0;
  padding-top: 71px;
}

.s7-voices__card > img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  display: block;
  width: 142px;
  height: 142px;
  transform: translateX(-50%);
  border-radius: 50%;
  object-fit: cover;
}

.s7-voices__card-body {
  min-height: 302px;
  padding: 69px 24px 25px;
  border: 1px solid var(--s7-pink);
  border-radius: 8px;
  background: #fff;
}

.s7-voices__card-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .025em;
}

.s7-voices__card-body .s7-voices__profile {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: .04em;
}

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

.s7-voices__actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
  margin-top: 66px;
}

.s7-voices__button {
  display: grid;
  flex: 1 1 0;
  width: auto;
  height: 68px;
  padding: 0 20px 0 32px;
  grid-template-columns: 28px 1fr 12px;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--s7-pink);
  border-radius: 5px;
  color: var(--s7-pink);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 7px 12px rgba(83, 59, 52, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.s7-voices__button--request {
  color: #fff;
  background: var(--s7-pink);
}

.s7-voices__button img {
  display: block;
  width: auto;
  height: 27px;
}

.s7-voices__button span {
  text-align: center;
}

.s7-voices__button b {
  justify-self: end;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
}

.s7-voices__button:hover,
.s7-voices__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 17px rgba(83, 59, 52, .22);
}

.s7-voices__button:focus-visible {
  outline: 3px solid #303030;
  outline-offset: 3px;
}

/* PC artwork is built around 125px portraits and 250px voice cards. */
@media (min-width: 768px) {
  .s7-voices__inner {
    width: min(calc(100% - 180px), 1120px);
    padding-top: 100px;
  }

  .s7-voices__header h2 {
    font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    font-size: 48px;
  }

  .s7-voices__grid {
    margin-top: 120px;
  }

  .s7-voices__card {
    padding-top: 63px;
  }

  .s7-voices__card > img {
    width: 125px;
    height: 125px;
  }

  .s7-voices__card-body {
    min-height: 250px;
    padding: 60px 20px 20px;
  }

  .s7-voices__card-body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .s7-voices__card-body .s7-voices__profile {
    margin-bottom: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .s7-voices__inner {
    width: calc(100% - 80px);
  }

  .s7-voices__grid {
    gap: 105px 16px;
  }

  .s7-voices__card-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .s7-voices__card-body p {
    font-size: 14px;
  }

  .s7-voices__button {
    font-size: clamp(12.5px, 3.7vw, 14.5px);
  }

  .s7-voices__button span {
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s7-voices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 24px;
  }
}

@media (max-width: 767px) {
  .s7-voices__inner {
    width: calc(100% - 20px);
    padding: 75px 0 68px;
  }

  .s7-voices__kicker {
    margin-bottom: 9px;
    font-size: 14px;
    letter-spacing: .075em;
  }

  .s7-voices__header h2 {
    font-size: clamp(21px, 6.15vw, 24px);
    line-height: 1.55;
    letter-spacing: .025em;
    white-space: nowrap;
  }

  .s7-pc-break { display: none; }
  .s7-sp-break { display: initial; }

  .s7-voices__lead {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: .025em;
  }

  .s7-voices__lead br {
    display: none;
  }

  .s7-voices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    justify-content: center;
    margin-top: 42px;
  }

  .s7-voices__card {
    padding-top: 71px;
  }

  .s7-voices__card-body {
    min-height: 0;
    padding: 92px 25px 25px;
  }

  .s7-voices__card-body p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: .015em;
  }

  .s7-voices__card-body .s7-voices__profile {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .s7-only-pc {
    display: none;
  }

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

  .s7-voices__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    justify-content: stretch;
    justify-items: stretch;
    width: 100%;
    margin-top: 28px;
    margin-left: 0;
    transform: none;
  }

  .s7-voices__button {
    flex: none;
    width: 100%;
    max-width: none;
    height: 61px;
    padding: 0 10px;
    grid-template-columns: 24px minmax(0, 1fr) 10px;
    gap: 6px;
    border-radius: 5px;
    font-size: clamp(12.5px, 3.7vw, 14.5px);
  }

  .s7-voices__button span {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .s7-voices__inner {
    width: calc(100% - 20px);
  }

  .s7-voices__card-body {
    padding-right: 19px;
    padding-left: 19px;
  }

  .s7-voices__button {
    padding-left: 14px;
    font-size: 14px;
  }
}


.s8 {
  --s8-pink: #e97991;
  --s8-pale-pink: #fff0f3;
  --s8-gold: #ae8c3d;
  --s8-blue: #4b91b9;
  padding: 103px 0 110px;
  color: #2c2929;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(219, 226, 226, .23) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 226, 226, .23) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.s8 *,
.s8 *::before,
.s8 *::after { box-sizing: border-box; }

.s8__inner {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.s8__title {
  width: fit-content;
  margin: 0 auto 25px;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--s8-pink);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 39.6px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.45;
}

.s8__intro {
  position: relative;
  margin: 0 auto 40px;
  text-align: center;
}

.s8__intro::before,
.s8__intro::after {
  position: absolute;
  color: var(--s8-pink);
  font-family: serif;
  font-size: 52px;
  content: "✧";
}
.s8__intro::before { top: 89px; left: 20px; }
.s8__intro::after { top: 2px; right: 23px; }

.s8__intro p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .075em;
  line-height: 1.9;
}
.s8__intro p + p { margin-top: 19px; }
.s8__intro strong { color: var(--s8-pink); font-family: "Times New Roman", Times, serif !important; font-size: 22px; font-weight: 500; }

.s8-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 900px;
  max-width: 100%;
  margin: 0 auto 47px;
  padding: 15px 28px;
  background: rgba(231, 215, 184, .55);
}

.s8-area__label { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.s8-area__label img { width: 20px; height: 25px; margin-right: 4px; vertical-align: -6px; }
.s8-area ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.s8-area li {
  min-width: 70px;
  padding: 8px 14px;
  color: var(--s8-gold);
  border-radius: 99px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.s8-supports {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.s8-support {
  position: relative;
  min-height: 277px;
  padding: 24px 21px 20px;
  background: #d98da0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  text-align: center;
}

.s8-support::before {
  position: absolute;
  z-index: 0;
  inset: 1px;
  background: #fff;
  content: "";
  clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 27px, 100% 100%, 0 100%);
}

.s8-support::after {
  content: none;
}

.s8-support > * {
  position: relative;
  z-index: 1;
}

.s8-support__icon {
  display: grid;
  place-items: center;
  width: 93px;
  height: 93px;
  margin: 0 auto 10px;
  color: var(--s8-pink);
  border-radius: 50%;
  background: var(--s8-pale-pink);
}
.s8-support__icon img { display: block; width: auto; max-width: 64px; max-height: 58px; }
.s8-support__eyebrow { margin: -5px 0 0 !important; font-size: 14px !important; font-weight: 700; }

.s8-support h3 {
  margin: 0 0 7px;
  color: var(--s8-gold);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
}
.s8-support > p:last-child {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.75;
}
.s8-support > p:last-child span { font-size: 12px; }

.s8-message {
  position: relative;
  width: fit-content;
  margin: 52px auto 36px;
  padding: 0 65px;
  font-style: normal;
  text-align: center;
}
.s8-message::before,
.s8-message::after {
  position: absolute;
  top: -3px;
  bottom: -6px;
  width: 23px;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  content: "";
}
.s8-message::before { left: 0; border-left: 1px solid #555; }
.s8-message::after { right: 0; border-right: 1px solid #555; }
.s8-message p { margin: 0; font-size: 22px; letter-spacing: .13em; line-height: 1.75; }
.s8-message p:first-child { text-decoration-color: #f2dc72; text-decoration-line: underline; text-decoration-thickness: 5px; text-underline-offset: -2px; }

.s8-benefits {
  width: fit-content;
  margin: 0 auto 39px;
  padding: 8px 22px;
  color: var(--s8-blue);
  border: 1px solid var(--s8-blue);
  background: rgba(255,255,255,.75);
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1.35;
}

.s8-cta {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  align-items: center;
  width: 680px;
  max-width: 100%;
  min-height: 76px;
  margin: auto;
  padding: 14px 28px;
  color: var(--s8-pink);
  border: 3px solid var(--s8-pink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(55,44,44,.18);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}
.s8-cta img { width: 30px; height: 33px; object-fit: contain; }
.s8-cta i { font-family: sans-serif; font-size: 34px; font-style: normal; font-weight: 300; text-align: right; }
.s8-cta:hover { opacity: .82; transform: translateY(-2px); }
.s8-cta:focus-visible { outline: 3px solid #333; outline-offset: 3px; }

@media (min-width: 768px) {
  .s8__title {
    padding-bottom: 12px;
    border-bottom: 0;
    background: url("../img/S8-underline.svg") center bottom / 100% 6px no-repeat;
    font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  }

  .s8__intro::before,
  .s8__intro::after {
    width: 77px;
    height: 73px;
    background: url("../img/S8-shine.svg") center / contain no-repeat;
    content: "";
  }

  .s8__intro::before {
    top: 82px;
    left: 0;
  }

  .s8__intro::after {
    top: -2px;
    right: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s8-title-sp {
    display: initial;
  }

  .s8__title {
    text-align: center;
  }

  .s8__intro::before,
  .s8__intro::after {
    display: none;
  }

  .s8-supports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .s8 { padding: 58px 0 62px; background-size: 17px 17px; }
  .s8__inner { width: min(100% - 36px, 420px); }

  .s8__title {
    margin-bottom: 26px;
    padding-bottom: 8px;
    border-bottom: 0;
    background: none;
    font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    font-size: 20px;
    letter-spacing: .035em;
    line-height: 1.55;
    text-align: center;
  }

  .s8__title span {
    display: inline-block;
    padding-bottom: 7px;
    background: url("../img/S8-underline.svg") center bottom / 100% 4px no-repeat;
  }

  .s8__title span:last-child {
    background-image: url("../img/S8-underline-SP.svg");
  }

  .s8-title-sp { display: initial; }

  .s8__intro { margin-bottom: 28px; }
  .s8__intro::before,
  .s8__intro::after {
    width: 39px;
    height: 37px;
    background: url("../img/S8-shine.svg") center / contain no-repeat;
    content: "";
  }
  .s8__intro::before { top: auto; bottom: -24px; left: 0; }
  .s8__intro::after { top: -48px; right: 0; }
  .s8__intro p { font-size: 14px; letter-spacing: .025em; line-height: 1.85; }
  .s8__intro br { display: none; }
  .s8__intro p + p { margin-top: 20px; }
  .s8__intro strong { font-size: 18px; font-weight: 600; }

  .s8-area {
    display: block;
    width: 100%;
    margin-bottom: 35px;
    padding: 13px 10px 14px;
  }
  .s8-area__label { margin-bottom: 11px; font-size: 14px; text-align: center; }
  .s8-area__label img { width: 17px; height: auto; vertical-align: -5px; }
  .s8-area ul { justify-content: center; gap: 6px; }
  .s8-area li { min-width: 0; padding: 7px 10px; font-size: 14px; }

  .s8-supports { display: block; }
  .s8-support {
    width: calc(100% - 44px);
    min-height: 0;
    margin-inline: auto;
    padding: 25px 21px 26px;
  }
  .s8-support + .s8-support { margin-top: 18px; }
  .s8-support__icon { width: 88px; height: 88px; }
  .s8-support h3 { font-size: 18px; }
  .s8-support > p:last-child { font-size: 14px; }

  .s8-message {
    width: 100%;
    margin: 35px auto 25px;
    padding: 1px 17px;
  }
  .s8-message::before,
  .s8-message::after { width: 12px; }
  .s8-message p { font-size: 16px; letter-spacing: .03em; line-height: 1.75; }
  .s8-message-pc { display: none; }
  .s8-message-sp { display: inline; }
  .s8-message-break { display: initial; }

  .s8-benefits {
    margin-bottom: 24px;
    padding: 6px 8px;
    font-size: 15px;
    letter-spacing: .025em;
  }

  .s8-cta {
    grid-template-columns: 29px 1fr 20px;
    min-height: 55px;
    padding: 9px 13px;
    border-width: 2px;
    font-size: 14px;
  }
  .s8-cta img { width: 22px; height: 25px; }
  .s8-cta i { font-size: 25px; }
}

@media (max-width: 430px) {
  .s8__intro::before {
    left: -24px;
  }
}

@media (max-width: 370px) {
  .s8__inner { width: calc(100% - 26px); }
  .s8__title { font-size: 22px; }
  .s8-area li { padding-inline: 7px; }
}


.s9 {
  --s9-cream: #fff8e9;
  --s9-ink: #3e3a38;
  --s9-pink: #eb788d;
  box-sizing: border-box;
  min-width: 320px;
  overflow: hidden;
  padding: 105px 20px 108px;
  color: var(--s9-ink);
  background: var(--s9-cream);
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.055em;
}

.s9 *,
.s9 *::before,
.s9 *::after {
  box-sizing: border-box;
}

.s9__header {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.s9__header h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  font-size: 46px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.s9__header h2::before,
.s9__header h2::after {
  position: absolute;
  top: 7px;
  width: 58px;
  height: 49px;
  background: url("../img/ashirai2.svg") center / contain no-repeat;
  content: "";
}

.s9__header h2::before {
  right: calc(100% + 18px);
}

.s9__header h2::after {
  left: calc(100% + 18px);
  transform: scaleX(-1);
}

.s9__header h2 span,
.s9__header h2 em {
  font-style: normal;
  font-weight: inherit;
}

.s9__header h2 em {
  color: var(--s9-pink);
}

.s9__header p {
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.85;
}

.s9__sp {
  display: none;
}

.s9__collage {
  display: block;
  width: min(1344px, calc(100% + 20px));
  margin: 47px auto 0;
}

.s9__collage img {
  display: block;
  width: 100%;
  height: auto;
}

.s9__message {
  margin: 30px 0 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.85;
  letter-spacing: 0.09em;
  text-align: center;
}

.s9__message span {
  display: inline;
  padding: 5px 13px 6px;
  background: var(--s9-pink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.s9__voices {
  display: grid;
  gap: 20px;
  width: min(940px, 100%);
  margin: 70px auto 0;
}

.s9__voice {
  display: grid;
  grid-template-columns: 146px 1fr;
  gap: 32px;
  align-items: center;
  min-height: 170px;
  padding: 24px 32px;
  background: #fff;
}

.s9__voice > img {
  display: block;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  object-fit: cover;
}

.s9__voice-body {
  min-width: 0;
}

.s9__voice-label {
  width: max-content;
  margin: 0 0 13px;
  padding: 5px 30px 6px 18px;
  color: #fff;
  background: var(--s9-pink);
  clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.09em;
}

.s9__voice h3 {
  margin: 0 0 8px;
  color: var(--s9-pink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.s9__voice h3 span {
  margin-left: 12px;
}

.s9__voice-body > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

@media (min-width: 701px) {
  .s9__header h2 {
    font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  }

  .s9__header h2::before,
  .s9__header h2::after {
    top: 7px;
    width: 58px;
    height: 49px;
    background: url("../img/ashirai2.svg") center / contain no-repeat;
  }

  .s9__header h2::before {
    right: calc(100% + 20px);
  }

  .s9__header h2::after {
    left: calc(100% + 20px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s9__sp {
    display: inline;
  }

  .s9__header h2 {
    font-size: 38px;
    line-height: 1.55;
  }

  .s9__header h2 > span {
    display: inline-block;
    font-size: .82em;
    white-space: nowrap;
  }

  .s9__header h2::before,
  .s9__header h2::after {
    content: none;
  }

  .s9__header h2 em {
    position: relative;
    display: inline-block;
  }

  .s9__header h2 em::before,
  .s9__header h2 em::after {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 38px;
    background: url("../img/ashirai2.svg") center / contain no-repeat;
    content: "";
  }

  .s9__header h2 em::before {
    right: calc(100% + 18px);
    transform: translateY(-50%);
  }

  .s9__header h2 em::after {
    left: calc(100% + 18px);
    transform: translateY(-50%) scaleX(-1);
  }

  .s9__message {
    font-size: 28px;
    letter-spacing: .06em;
  }

  .s9__message span {
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .s9 {
    padding: 69px 0 74px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.045em;
  }

  .s9__header {
    width: 100%;
    padding: 0 20px;
  }

  .s9__header h2 {
    width: 300px;
    max-width: calc(100% - 42px);
    font-size: 28px;
    line-height: 1.55;
    letter-spacing: 0.075em;
  }

  .s9__header h2 > span {
    display: inline-block;
    font-size: .82em;
    white-space: nowrap;
  }

  .s9__header h2::before,
  .s9__header h2::after {
    content: none;
  }

  .s9__header h2 em {
    position: relative;
    display: inline-block;
  }

  .s9__header h2 em::before,
  .s9__header h2 em::after {
    position: absolute;
    top: 50%;
    width: 25px;
    height: 28px;
    background: url("../img/ashirai2.svg") center / contain no-repeat;
    content: "";
  }

  .s9__header h2 em::before {
    right: calc(100% + 14px);
    transform: translateY(-50%);
  }

  .s9__header h2 em::after {
    left: calc(100% + 14px);
    transform: translateY(-50%) scaleX(-1);
  }

  .s9__header p {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .s9__pc {
    display: none;
  }

  .s9__sp {
    display: inline;
  }

  .s9__collage {
    width: 100%;
    margin-top: 27px;
  }

  .s9__message {
    margin-top: 24px;
    padding: 0 12px;
    font-size: clamp(17px, 5vw, 24px);
    line-height: 2.35;
    letter-spacing: 0.055em;
  }

  .s9-message-sp { display: initial; }

  .s9__message span {
    padding: 3px 8px 4px;
  }

  .s9__voices {
    gap: 14px;
    width: min(326px, calc(100% - 64px));
    margin-top: 42px;
  }

  .s9__voice {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    min-height: 0;
    padding: 18px 17px 22px;
  }

  .s9__voice > img {
    width: 112px;
    height: 112px;
  }

  .s9__voice-body {
    width: 100%;
  }

  .s9__voice-label {
    margin-bottom: 11px;
    padding: 3px 13px 4px;
    font-size: 12px;
  }

  .s9__voice h3 {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.65;
  }

  .s9__voice h3 span {
    display: inline;
    margin-left: 0;
  }

  .s9__voice-body > p:last-child {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (max-width: 360px) {
  .s9__header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .s9__voices {
    width: calc(100% - 32px);
  }
}


.s10 {
  --s10-bg: #8d7242;
  --s10-pink: #e97c91;
  --s10-gold: #ad8c3c;
  padding: 78px 0 94px;
  color: #fff;
  background: var(--s10-bg);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.s10 *,
.s10 *::before,
.s10 *::after { box-sizing: border-box; }

.s10__inner { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.s10__title {
  width: fit-content;
  margin: 0 auto 45px;
  padding: 0 28px 9px;
  border-bottom: 2px solid rgba(255,255,255,.9);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .s10__title {
    padding-top: 9px;
    border-top: 2px solid rgba(255,255,255,.9);
  }
}

.s10__lead {
  margin: 0 0 48px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.9;
  text-align: center;
}

.s10-block + .s10-block { margin-top: 59px; }
.s10-block__title {
  margin: 0 0 26px;
  padding: 3px 0 3px 14px;
  border-left: 4px solid var(--s10-pink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.45;
}
.s10-block__intro { margin: 0 0 21px; font-size: 16px; letter-spacing: .07em; line-height: 1.7; }

.s10-fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.s10-fee { --course-color: #e77e94; position: relative; color: #242020; background: #fff; text-align: center; }
.s10-fee--yellow { --course-color: #efc45c; }
.s10-fee--purple { --course-color: #a37abd; }
.s10-fee--blue { --course-color: #4eb2b5; }
.s10-fee h4 {
  display: grid;
  place-content: center;
  min-height: 87px;
  margin: 0;
  padding: 11px 9px;
  color: #fff;
  background: var(--course-color);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.35;
}
.s10-fee__price { padding: 13px 8px 11px; }
.s10-fee__price > span { display: block; margin-bottom: 2px; font-size: 14px; }
.s10-fee__price strong { display: block; font-family: "Times New Roman", Times, serif !important; font-size: 39px; font-weight: 400; line-height: 1.1; white-space: nowrap; }
.s10-fee__price small { margin-left: 3px; font-family: "Yu Gothic", "YuGothic", sans-serif; font-size: 12px; }
.s10-sp-price { display: none !important; }
.s10-fee__note { position: absolute; top: 100%; right: 0; margin: 4px 0 0; color: #fff; font-size: 12px; white-space: nowrap; }
.s10-fees__note { margin: 29px 0 0; font-size: 14px; letter-spacing: .08em; }

.s10-supports { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.s10-support { min-width: 0; min-height: 270px; padding: 20px 18px 18px; color: #292525; background: #fff; }
.s10-support__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 11px;
  color: var(--s10-pink);
  border-radius: 50%;
  background: #fcecef;
}
.s10-support__icon img { display: block; width: auto; max-width: 69px; max-height: 59px; }
.s10-support h4 { margin: 0 0 10px; color: var(--s10-gold); font-size: 16px; font-weight: 700; letter-spacing: .035em; line-height: 1.45; text-align: center; }
.s10-support p { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .025em; line-height: 1.75; }

.s10__closing { margin: 48px 0 34px; font-size: 16px; letter-spacing: .08em; line-height: 1.8; text-align: center; }

.s10-cta {
  display: grid;
  grid-template-columns: 42px 1fr 25px;
  align-items: center;
  width: 620px;
  max-width: 100%;
  min-height: 74px;
  margin: auto;
  padding: 13px 28px;
  color: #fff;
  border-radius: 5px;
  background: var(--s10-pink);
  box-shadow: 0 4px 9px rgba(44,31,21,.28);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}
.s10-cta img { width: 31px; height: 35px; object-fit: contain; filter: brightness(0) invert(1); }
.s10-cta i { font-family: sans-serif; font-size: 31px; font-style: normal; font-weight: 300; text-align: right; }
.s10-cta:hover { opacity: .83; transform: translateY(-2px); }
.s10-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (min-width: 768px) and (max-width: 1024px) {
  .s10-fees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .s10-fee__note {
    position: static;
    margin: 0;
    padding: 0 8px 10px;
    color: #242020;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .s10 { padding: 57px 0 55px; }
  .s10__inner { width: min(326px, calc(100% - 64px)); }
  .s10__title {
    margin-bottom: 26px;
    padding: 7px 12px;
    border-top: 1px solid rgba(255,255,255,.9);
    border-bottom-width: 1px;
    font-size: 28px;
    letter-spacing: .08em;
  }
  .s10__lead { margin-bottom: 35px; font-size: 14px; letter-spacing: .025em; line-height: 1.85; }
  .s10-block + .s10-block { margin-top: 41px; }
  .s10-block__title { margin-bottom: 18px; padding-left: 10px; border-left-width: 3px; font-size: 16px; }
  .s10-block__intro { margin-bottom: 14px; font-size: 14px; line-height: 1.75; }

  .s10-fees { display: block; }
  .s10-fee + .s10-fee { margin-top: 12px; }
  .s10-fee h4 { min-height: 64px; padding: 8px; font-size: 14px; }
  .s10-fee__price { padding: 8px 8px 9px; }
  .s10-fee__price > span { font-size: 12px; }
  .s10-fee__price strong { font-size: 36px; }
  .s10-pc-price { display: none !important; }
  .s10-sp-price { display: block !important; }
  .s10-fee__note { position: static; margin: 5px 0 0; padding-bottom: 2px; color: #fff; text-align: left; }
  .s10-fees__note { margin-top: 20px; font-size: 12px; line-height: 1.7; }

  .s10-supports { display: block; }
  .s10-support {
    display: block;
    min-height: 0;
    padding: 25px 22px 26px;
    text-align: center;
  }
  .s10-support + .s10-support { margin-top: 8px; }
  .s10-support__icon { width: 100px; height: 100px; margin: 0 auto 12px; }
  .s10-support__icon img { max-width: 69px; max-height: 59px; }
  .s10-support h4 { margin: 0 0 8px; font-size: 18px; text-align: center; }
  .s10-support p { font-size: 13px; line-height: 1.75; text-align: left; }

  .s10__closing { margin: 31px 0 24px; font-size: 14px; letter-spacing: .025em; line-height: 1.75; }
  .s10-cta {
    grid-template-columns: 27px 1fr 18px;
    min-height: 54px;
    padding: 9px 13px;
    font-size: 14px;
  }
  .s10-cta img { width: 22px; height: 25px; }
  .s10-cta i { font-size: 24px; }
}

@media (max-width: 370px) {
  .s10__inner { width: calc(100% - 24px); }
  .s10__title { font-size: 24.2px; }
}


.s11 {
  --s11-pink-bg: #fff0f2;
  --s11-pink: #eb788e;
  --s11-ink: #484444;
  box-sizing: border-box;
  min-width: 320px;
  padding: 96px 20px;
  color: var(--s11-ink);
  background: var(--s11-pink-bg);
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.055em;
}

.s11 *,
.s11 *::before,
.s11 *::after {
  box-sizing: border-box;
}

.s11__panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 86px 90px 78px;
  background: #fff;
}

.s11__panel h2 {
  margin: 0;
  color: #343131;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-align: center;
}

.s11__list {
  margin: 47px 0 0;
}

.s11__item {
  padding: 23px 0 25px;
  border-bottom: 1px solid #ece8e8;
}

.s11__item:first-child {
  padding-top: 0;
}

.s11__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.s11__item dt {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.055em;
}

.s11__item dt > span {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--s11-pink);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  font-family: "Cormorant Garamond", Garamond, serif !important;
  font-weight: 600;
}

.s11__item dd {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.045em;
}

.s11__sp {
  display: none;
}

@media (max-width: 1024px) {
  .s11 {
    padding: 55px 20px 83px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.045em;
  }

  .s11__panel {
    padding: 42px 20px 44px;
  }

  .s11__panel h2 {
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .s11__list {
    margin-top: 34px;
  }

  .s11__item {
    padding: 24px 0 26px;
  }

  .s11__item dt {
    gap: 12px;
    align-items: flex-start;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0.035em;
  }

  .s11__item dt > span {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    margin-top: 1px;
    font-size: 16px;
  }

  .s11__item dd {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.035em;
  }

  .s11__pc {
    display: none;
  }

  .s11__sp {
    display: inline;
  }
}

@media (max-width: 360px) {
  .s11 {
    padding-right: 16px;
    padding-left: 16px;
  }

  .s11__panel {
    padding-right: 22px;
    padding-left: 22px;
  }
}


.site-footer {
  position: relative;
  min-height: 591px;
  overflow: hidden;
  color: #fff;
  background-color: #28312e;
  background-image: url("../img/Footer.jpg");
  background-position: center;
  background-size: cover;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  background: transparent;
  content: "";
  pointer-events: none;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 510px;
  align-items: center;
  gap: 90px;
  width: min(1120px, calc(100% - 64px));
  min-height: 591px;
  margin-inline: auto;
  padding: 75px 0 53px;
}

.site-footer__title {
  margin: 0 0 29px;
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.35;
}

.site-footer__title span {
  color: #ec7891;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.1em;
  letter-spacing: .01em;
}

.site-footer__lead,
.site-footer__guide {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.9;
}
.site-footer__guide { margin-top: 22px; }

@media (min-width: 1025px) {
  .site-footer__guide {
    white-space: nowrap;
  }
}

.site-footer__benefits {
  display: flex;
  gap: 12px;
  margin: 37px 0 0;
  padding: 0;
  list-style: none;
}
.site-footer__benefits li {
  display: grid;
  place-content: center;
  width: 130px;
  height: 130px;
  color: #a88738;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.45;
  text-align: center;
}

.site-footer__actions { display: grid; gap: 27px; }

.site-footer__cta {
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  min-height: 78px;
  padding: 14px 27px;
  color: #e87890;
  border: 3px solid #e87890;
  border-radius: 5px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 10px rgba(0,0,0,.26);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}
.site-footer__cta--request { color: #fff; background: #e87890; }
.site-footer__cta img { display: block; width: 30px; height: 34px; object-fit: contain; }
.site-footer__cta--request img { filter: brightness(0) invert(1); }
.site-footer__cta i { font-family: sans-serif; font-size: 32px; font-style: normal; font-weight: 300; text-align: right; }
.site-footer__cta:hover { opacity: .85; transform: translateY(-2px); }
.site-footer__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1024px) {
  .site-footer {
    min-height: 610px;
    background-image: url("../img/Footer-SP.jpg");
    background-position: center;
  }

  .site-footer::before { background: transparent; }

  .site-footer__inner {
    display: block;
    width: min(314px, calc(100% - 76px));
    min-height: 610px;
    padding: 64px 0 22px;
  }

  .site-footer__title {
    margin-bottom: 31px;
    font-size: 35px;
    letter-spacing: .03em;
    white-space: nowrap;
  }

  .site-footer__lead,
  .site-footer__guide {
    font-size: 16px;
    letter-spacing: .06em;
    line-height: 1.9;
  }
  .site-footer__guide { margin-top: 24px; }

  .site-footer__benefits {
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
  }
  .site-footer__benefits li {
    width: 90px;
    height: 90px;
    font-size: 14px;
  }

  .site-footer__actions { gap: 13px; margin-top: 31px; }
  .site-footer__cta {
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    min-height: 59px;
    padding: 10px 12px;
    border-width: 2px;
    font-size: 14.5px;
    white-space: nowrap;
  }
  .site-footer__cta img { width: 23px; height: 27px; }
  .site-footer__cta i { font-size: 25px; }
}

@media (max-width: 370px) {
  .site-footer__inner { width: calc(100% - 30px); }
  .site-footer__title { font-size: 31px; }
  .site-footer__benefits li { width: 88px; height: 88px; font-size: 14px; }
  .site-footer__cta { font-size: 14px; }
}

/* Final tablet layout adjustments. Keep desktop and phone layouts isolated. */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Hero */
  .wish-hero__background img {
    object-position: 56% center;
  }

  .wish-hero__copy {
    top: 7%;
  }

  .wish-hero__points {
    bottom: 18.5%;
    width: 36%;
  }

  /* Intro: keep the copy above the student and remove forced desktop breaks. */
  .s1 {
    height: 540px;
  }

  .s1::after {
    content: none;
  }

  .s1__copy {
    width: 70%;
    max-width: 70%;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.95;
  }

  .s1__copy .s1__pc {
    display: none;
  }

  .s1__copy p + p {
    margin-top: 18px;
  }

  .s1__woman {
    right: -40px;
    bottom: -20px;
    width: 280px;
  }

  .s1__answer {
    right: auto;
    bottom: 84px;
    left: 0;
    width: 88%;
    max-width: none;
    padding: 14px 18px 15px;
    font-size: 21px;
    letter-spacing: .14em;
    text-align: center;
  }

  /* Practical learning: use the tablet width instead of the narrow SP column. */
  .s2__inner {
    width: calc(100% - 96px);
    max-width: 920px;
  }

  .s2-feature__title {
    font-size: 21px;
  }

  .s2-feature__body {
    font-size: 16px;
  }

  /* Cost heading and its accent. */
  .s5-title-sp {
    display: block;
  }

  .s5__comparison--primary .s5__result::after {
    top: 5px;
    right: 34%;
    left: auto;
    width: 32px;
    height: 24px;
    background-image: url("../img/ashirai3.svg");
  }

  /* Employment section title uses the same two-line treatment as SP. */
  .s6__title {
    width: min(720px, 100%);
    padding-bottom: 0;
    border-bottom: 0;
    line-height: 1.6;
  }

  .s6__title span {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid #c8a351;
  }

  .s6-title-sp {
    display: initial;
  }

  /* Voice cards: remove the desktop-sized empty band above the first row. */
  .s7-voices__grid {
    gap: 36px 24px;
    margin-top: 68px;
  }

  .s7-voices__card-body {
    padding-top: 78px;
  }

  .s7-voices__card-body .s7-voices__profile {
    font-size: 14px;
  }

  .s7-voices__card-body p {
    font-size: 16px;
  }

  .s7-voices__lead br {
    display: none;
  }

  .s8__title {
    padding-bottom: 0;
    background: none;
  }

  .s8__title span {
    display: inline-block;
    padding-bottom: 10px;
    background: url("../img/S8-underline.svg") center bottom / 100% 6px no-repeat;
  }

  .s8__title span:last-child {
    background-image: url("../img/S8-underline-SP.svg");
  }

  .s8__intro p {
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .s8__intro {
    width: calc(100% - 100px);
    margin-right: auto;
    margin-left: auto;
  }

  .s8-benefits {
    font-size: 20px;
  }

  .s9__header .s9__pc {
    display: none;
  }

  .s9__header {
    width: min(1000px, calc(100% - 140px));
  }

  /* Tablet typography scale: body 16px, secondary 14px, notes 12px. */
  .s3-card__name p,
  .s3-card__qualification,
  .s5__label,
  .s6-card__from {
    font-size: 14px;
  }

  .s6-graduates__lead,
  .s6-card__message,
  .s8-support > p:last-child,
  .s9__voice-body > p:last-child,
  .s10-support p,
  .s11__item dd {
    font-size: 16px;
  }

  .s6-card h4 {
    font-size: 14px;
  }

  .s6-card:nth-child(2) h4 {
    font-size: 12px;
  }

  /* Tuition support cards: two, two, then one centered. */
  .s10-supports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .s10-support {
    min-height: 0;
    padding: 24px 28px 28px;
  }

  .s10-support:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }

  /* Footer: retain the SP stack but make proper use of tablet width. */
  .site-footer {
    min-height: 760px;
  }

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(620px, calc(100% - 80px));
    min-height: 760px;
    padding: 40px 0;
    gap: 0;
    text-align: center;
  }

  .site-footer__title {
    margin-bottom: 20px;
    font-size: 46px;
  }

  .site-footer__lead,
  .site-footer__guide {
    font-size: 17px;
  }

  .site-footer__guide {
    margin-top: 16px;
    white-space: nowrap;
  }

  .site-footer__benefits {
    gap: 16px;
    margin-top: 26px;
  }

  .site-footer__benefits li {
    width: 108px;
    height: 108px;
    font-size: 16px;
  }

  .site-footer__actions {
    width: 520px;
    max-width: 100%;
    gap: 14px;
    margin: 30px auto 0;
  }

  .site-footer__cta {
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    min-height: 68px;
    padding: 12px 18px;
    font-size: 16.5px;
  }

  .site-footer__cta img {
    width: 27px;
    height: 31px;
  }
}


:root {
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  color: #333;
  background: #fff;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body *,
button,
input,
select,
textarea {
  font-family: "Yu Gothic", "YuGothic", sans-serif !important;
}

main section h2,
main section h2 * {
  font-family: "Shippori Mincho Pro", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif !important;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared SP content gutter and SP-only finishing adjustments. */
@media (max-width: 767px) {
  :root {
    --sp-content-gutter: 24px;
  }

  .s1__inner {
    padding-right: var(--sp-content-gutter);
    padding-left: var(--sp-content-gutter);
  }

  .s2__inner,
  .s3__inner,
  .s4-careers__inner,
  .s6__inner,
  .s8__inner {
    width: min(calc(100% - (var(--sp-content-gutter) * 2)), 430px);
  }

  .s7-voices__inner {
    width: calc(100% - 40px);
    max-width: none;
  }

  .s5 {
    padding-right: var(--sp-content-gutter);
    padding-left: var(--sp-content-gutter);
  }

  .s5__header {
    width: 100%;
  }

  .s5__comparison {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .s5__values,
  .s5__values span,
  .s5__values b,
  .s5__comparison--primary .s5__result strong {
    font-family: "Times New Roman", Times, serif !important;
  }

  .s5__comparison--primary .s5__result::after {
    top: 7px;
    right: auto;
    left: 68%;
    width: 28px;
    height: 20px;
    background: url("../img/ashirai3.svg") center / contain no-repeat;
  }

  .s9__header {
    padding-right: var(--sp-content-gutter);
    padding-left: var(--sp-content-gutter);
  }

  .s10__lead br {
    display: none;
  }
}

/* Shared SVG arrows for every CTA. */
.wish-hero__button b,
.s6-cta__link i,
.s7-voices__button b,
.s8-cta i,
.s10-cta i,
.site-footer__cta i {
  display: block;
  width: 9px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0;
}

.wish-hero__button--request b,
.s6-cta__link--request i,
.s7-voices__button--request b,
.s10-cta i,
.site-footer__cta--request i {
  background-image: url("../img/arrow-white.svg");
}

.wish-hero__button--open-campus b,
.s6-cta__link--open i,
.s7-voices__button--open-campus b,
.s8-cta i,
.site-footer__cta--open i {
  background-image: url("../img/arrow-pink.svg");
}

/* Narrow-phone overflow fixes. Tablet and desktop layouts stay unchanged. */
@media (max-width: 767px) {
  .wish-hero__actions {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .wish-hero__button {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .wish-hero__title {
    font-size: 30px;
  }
}

@media (max-width: 370px) {
  .wish-hero__title {
    font-size: 24px;
  }

  .wish-hero__button span {
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
  }

  .wish-hero__button {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 9px;
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .wish-hero__button img,
  .wish-hero__button b {
    position: static;
  }

  .wish-hero__button span {
    width: 100%;
    max-width: 100%;
    padding-right: 4px;
    overflow-wrap: anywhere;
    line-break: strict;
    white-space: normal;
  }

  .s2-feature__heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .s2-feature__number {
    font-size: 40px;
  }

  .s2-feature__title {
    font-size: 15px;
    letter-spacing: .02em;
    white-space: normal;
  }

  .s2-feature__title br {
    display: none;
  }

  .s2-feature__title > span {
    display: block;
  }

  .s3__title {
    font-size: 18px;
    letter-spacing: .035em;
  }

  .s3-employment__number b {
    display: inline-flex;
    margin-right: 8px;
    font-size: 20px;
  }

  .s3-employment__number strong {
    display: inline-block;
    font-size: 60px;
  }

  .s4-careers__title {
    font-size: 20px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .s4-careers__title-line {
    font-size: .82em;
  }

  .s5__difference-title {
    font-size: 20px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .s6-overview__ratio {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .s6-overview__ratio strong {
    font-size: 24px;
  }

  .s6-card:nth-child(2) h4 {
    font-size: 10.5px;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .wish-hero__button {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-right: 36px;
    padding-left: 36px;
  }

  .wish-hero__button img {
    position: static;
    flex: 0 0 auto;
  }

  .wish-hero__button span {
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 42px);
  }

  .wish-hero__button b {
    position: absolute;
    right: 12px;
  }
}

@media (max-width: 370px) {
  .wish-hero__button {
    height: 52px;
    font-size: 13.5px;
    line-height: 1.35;
  }

  .wish-hero__button img {
    height: 24px;
  }

  .wish-hero__points {
    right: 2%;
    width: 76%;
  }

  .s6-cta__link {
    grid-template-columns: 24px minmax(0, 1fr) 9px;
    column-gap: 10px;
    justify-content: stretch;
    min-height: 52px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
  }

  .s6-cta__link span {
    min-width: 0;
    overflow-wrap: anywhere;
    line-break: strict;
    text-align: center;
  }

  .s6-cta__link i {
    position: static;
    justify-self: end;
    transform: none;
  }
}

@media (max-width: 340px) {
  .wish-hero__button span {
    flex: 0 1 160px;
    width: 160px;
    max-width: 160px;
    overflow-wrap: anywhere;
    line-break: strict;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s2-feature__heading {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .s2-feature__title {
    font-size: 21px;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .s2-feature__title br {
    display: none !important;
  }
}

/* Fluid hero controls between tablet and full desktop. */
@media (min-width: 1025px) and (max-width: 1400px) {
  .wish-hero__points {
    right: clamp(20px, calc(9.87vw - 81px), 57px);
    width: calc(45.33vw - 75px);
    max-width: none;
  }

  .wish-hero__actions {
    bottom: clamp(60px, calc(16.27vw - 107px), 121px);
    gap: clamp(12px, calc(2.13vw - 10px), 20px);
  }

  .wish-hero__button {
    height: clamp(58px, calc(2.67vw + 31px), 68px);
    font-size: clamp(15px, calc(.8vw + 7px), 18px);
  }

  .wish-hero__button img {
    height: clamp(23px, calc(1.07vw + 12px), 27px);
  }

  .wish-hero__button--request {
    width: clamp(230px, calc(18.4vw + 41px), 299px);
    padding-right: clamp(14px, 1.43vw, 20px);
    padding-left: clamp(30px, calc(6.13vw - 33px), 53px);
  }

  .wish-hero__button--open-campus {
    width: clamp(300px, calc(20.8vw + 87px), 378px);
    padding-right: clamp(14px, 1.43vw, 20px);
    padding-left: clamp(24px, calc(3.2vw - 9px), 36px);
  }

  .wish-hero__button--open-campus span {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }
}

@media (min-width: 1401px) and (max-width: 1440px) {
  .wish-hero__points {
    width: calc(145vw - 1470px);
    max-width: none;
  }
}

@media (min-width: 410px) and (max-width: 767px) {
  .wish-hero__points {
    top: auto;
    bottom: calc(3.5% + 155px);
  }
}

@media (min-width: 320px) and (max-width: 370px) {
  .wish-hero__points {
    top: auto !important;
    bottom: calc(3.5% + 131px) !important;
  }
}

@media (min-width: 371px) and (max-width: 767px) {
  .wish-hero__points {
    top: auto !important;
    bottom: calc(3.5% + 149px) !important;
  }
}

@media (min-width: 541px) and (max-width: 767px) {
  .s1 {
    height: 480px;
  }

  .s1__inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .s1__title {
    width: min(620px, 100%);
    height: auto;
    margin: 0;
    padding-top: 48px;
  }

  .s1__copy {
    width: clamp(268px, calc(99.1vw - 268px), 491px);
    max-width: calc(100% - 210px);
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.85;
  }

  .s1__copy p + p {
    margin-top: 18px;
  }

  .s1__woman {
    right: 0;
    bottom: 20px;
    width: 210px;
  }

  .s1__answer {
    right: auto;
    bottom: 75px;
    left: 32px;
    width: calc(88% - 32px);
    max-width: none;
    padding: 11px 14px 12px;
    transform: none;
    font-size: 16px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .s1__sp {
    display: none;
  }
}

@media (min-width: 381px) and (max-width: 540px) {
  .s1 {
    height: 540px;
  }

  .s1__title {
    width: min(300px, 100%);
    padding-top: 35px;
  }

  .s1__copy {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.75;
  }

  .s1__copy p + p {
    margin-top: 20px;
  }

  .s1__woman {
    bottom: -20px;
    width: 190px;
  }

  .s1__answer {
    bottom: 30px;
  }
}

@media (min-width: 440px) and (max-width: 540px) {
  .s1 {
    height: clamp(480px, calc(696px - 40vw), 520px);
  }

  .s1__title {
    width: min(280px, 100%);
    padding-top: 30px;
  }

  .s1__copy {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .s1__copy p + p {
    margin-top: 15px;
  }

  .s1__woman {
    bottom: -24px;
    width: 185px;
  }

  .s1__answer {
    bottom: 24px;
  }
}

@media (min-width: 541px) and (max-width: 767px) {
  .s1 {
    height: clamp(480px, calc(955px - 61.9vw), 620px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s1 {
    height: clamp(540px, calc(980px - 42.97vw), 650px);
  }
}
