@charset "UTF-8";
@import 'variables.css';

html, body {
  overflow-x: hidden;
}
.p-mv {
  position: relative;
  width: 100%;
}
.p-mv__image {
  width: 100%;
}
.p-mv__badge {
  position: absolute;
  right: 7.5%;
  bottom: 18.5%;
  width: 28.89%;
  max-width: 416px;
}
.p-mv__badge img {
  filter: drop-shadow(0px 0px 13px rgba(0, 0, 0, 0.35));
}
.p-campaign {
  margin-left: 4rem;
  margin-right: 12rem;
  position: relative;
  z-index: var(--layer-over-content);
}
.p-hopes {
  padding-top: 8rem;
}
.p-hopes__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-feature {
  margin-top: 18.5rem;
  position: relative;
  background: var(--light-yellow);
}
.p-feature::before {
  content: "";
  position: absolute;
  right: 0;
  top: -150px;
  background-image: url(../img/adult-visit/bg-icon--feature.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 260px;
  height: 351px;
}
.p-feature__title {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
}
.p-feature__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-feature__wrapper {
  padding-top: 14rem;
}
.p-feature__list {
  display: flex;
  flex-direction: column;
}
.p-feature-item {
  display: flex;
  align-items: center;
  gap: 6rem;
  padding-bottom: 8rem;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 8rem;
}
.p-feature-item:last-child {
  margin-bottom: 0;
}
.p-feature-item--reverse {
  flex-direction: row-reverse;
}
.p-feature-item__label {
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.4rem;
  font-size: 1.3rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  display: inline-block;
}
.p-feature-item__number {
  font-size: 2.7rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-left: 0.4rem;
}
.p-feature-item__title {
  font-size: 2.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06rem;
  margin-top: 2rem;
}
.p-feature-item__title-emphasis {
  color: var(--red);
}
.p-feature-item__description {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  margin-top: 3rem;
}
.p-lessons {
  background: var(--light-yellow);
  padding: 13rem 0;
}
.p-lessons__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-lessons__inner {
  background: var(--white);
  padding: 4rem 0 6.5rem 0;
}
.p-lessons__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  padding-bottom: 2.3rem;
}
.p-lessons__title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 6px;
  background: var(--red);
  transform: translateX(calc(-50% - 30px));
}
.p-lessons__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 6px;
  background: var(--border-gray);
  transform: translateX(calc(-50% + 30px));
}
.p-lessons__title-emphasis {
  color: var(--red);
}
.p-lessons__text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-gray);
  margin-top: 3rem;
}
.p-lessons__list {
  max-width: 970px;
  width: 100%;
  margin: 3rem auto 0;
  padding: 0 2rem;
}
.p-plan {
  padding-top: 9.5rem;
  padding-bottom: 9.5rem;
  background: var(--red);
  position: relative;
}
.p-plan::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 426px;
  height: 537px;
  background-image: url(../img/common/bg-icon-plan--top.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.p-plan::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 426px;
  height: 537px;
  background-image: url(../img/common/bg-icon-plan--bottom.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.p-why-otoliv {
  padding-top: 13rem;
  position: relative;
}
.p-why-otoliv::before {
  position: absolute;
  content: "";
  top: 20px;
  left: 0;
  width: 242px;
  height: 351px;
  background-image: url(../img/adult-visit/bg-icon-why-otoliv.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.p-why-otoliv__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-cases {
  margin-top: 6rem;
}
.p-cases__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-cases__link {
  width: 300px;
  margin: 5rem auto 0;
  padding-left: 3rem;
}
.p-instructors {
  margin-top: 17.5rem;
  padding-top: 14.5rem;
  background: var(--light-yellow);
  position: relative;
}
.p-instructors::before {
  position: absolute;
  content: "";
  top: -250px;
  right: 0;
  width: 226px;
  height: 351px;
  background-image: url(../img/adult-visit/bg-icon--instructors.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.p-instructors__title {
  position: absolute;
  left: 50%;
  top: -45px;
  transform: translateX(-50%);
}
.p-instructors__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.p-instructors__carousel {
  margin-top: 8rem;
}
.p-instagram {
  padding-top: 13rem;
  position: relative;
}
.p-instagram::before {
  position: absolute;
  content: "";
  top: 20px;
  left: 0;
  width: 252px;
  height: 351px;
  background-image: url(../img/adult-visit/bg-icon--instagram.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.p-instagram__container {
  margin-top: 1rem;
}
.p-links {
  padding-top: 13rem;
  padding-bottom: 13rem;
}
@media screen and (max-width: 1279px) {
  .p-feature::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 20 / 27;
    top: -80px;
  }
  .p-why-otoliv::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 235 / 351;
  }
  .p-instructors::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 25 / 39;
  }
  .p-instagram::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 251 / 351;
  }
}
@media screen and (max-width: 1023px) {
  .p-feature-item {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 6rem;
  }
  .p-feature-item__title {
    margin-top: 1.5rem;
  }
  .p-feature-item__description {
    margin-top: 1.5rem;
  }
  .p-plan::before,
  .p-plan::after {
    width: 30%;
    height: auto;
    aspect-ratio: 142 / 179;
  }
}
@media screen and (max-width: 767px) {
  .p-mv__badge {
    right: 5.15%;
    bottom: 5.75%;
    width: 69.2%;
  }
  .p-mv__badge img {
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.35));
  }
  .p-campaign {
    margin-left: 1.5rem;
    margin-right: 2.5rem;
  }
  .p-hopes {
    padding-top: 6rem;
  }
  .p-feature {
    margin-top: 13.5rem;
  }
  .p-feature::before {
    background-image: url(../img/adult-visit/bg-icon-sp--feature.svg);
    width: 70px;
    height: 161px;
    aspect-ratio: 70 / 160;
    top: -135px;
  }
  .p-feature__title {
    top: -24px;
  }
  .p-feature__wrapper {
    padding-top: 7.5rem;
  }
  .p-feature-item__label {
    font-size: 1.2rem;
  }
  .p-feature-item__number {
    font-size: 2.2rem;
    letter-spacing: 0;
  }
  .p-feature-item__title {
    font-size: 2.2rem;
    letter-spacing: 0.02em;
  }
  .p-feature-item__description {
    font-size: 1.4rem;
    letter-spacing: 0;
  }
  .p-lessons {
    padding: 6rem 0 10.5rem 0;
  }
  .p-lessons__container {
    padding: 0 1.5rem;
  }
  .p-lessons__inner {
    padding: 3rem 2rem 4rem;
  }
  .p-lessons__title {
    font-size: 1.9rem;
    letter-spacing: 0.02em;
    padding-bottom: 2rem;
  }
  .p-lessons__title::before {
    width: 50px;
    height: 5px;
    transform: translateX(-50%);
  }
  .p-lessons__title::after {
    display: none;
  }
  .p-lessons__text {
    font-size: 1.4rem;
    letter-spacing: 0;
    margin-top: 2rem;
  }
  .p-lessons__list {
    padding: 0;
    max-width: 400px;
  }
  .p-plan {
    padding-top: 6rem;
    padding-bottom: 6.5rem;
  }
  .p-plan::before {
    width: 280px;
    top: -20px;
  }
  .p-plan::after {
    display: none;
  }
  .p-why-otoliv {
    padding-top: 10rem;
  }
  .p-why-otoliv::before {
    background-image: url(../img/adult-visit/bg-icon-sp--why-otoliv.svg);
    width: 59px;
    height: 141px;
    top: -20px;
  }
  .p-cases {
    margin-top: 4.5rem;
  }
  .p-cases__link {
    margin-top: 4rem;
  }
  .p-instructors {
    margin-top: 13rem;
    padding-top: 9rem;
  }
  .p-instructors::before {
    background-image: url(../img/adult-visit/bg-icon-sp--instructors.svg);
    width: 55px;
    height: 141px;
    top: -130px;
  }
  .p-instructors__title {
    top: -25px;
  }
  .p-instructors__container {
    padding: 0 2.5rem;
  }
  .p-instructors__carousel {
    margin-top: 6rem;
  }
  .p-instagram {
    padding-top: 12rem;
  }
  .p-instagram::before {
    background-image: url(../img/adult-visit/bg-icon-sp--instagram.svg);
    width: 93px;
    height: 141px;
    top: 5px;
  }
  .p-links {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}
