@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;
  padding-bottom: 18.5rem;
  position: relative;
  z-index: var(--layer-over-content);
}
.p-feature {
  padding-bottom: 10.5rem;
  position: relative;
  background-image: url(../img/child-others/bg-feature.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  aspect-ratio: 360 / 293;
}
.p-feature::before {
  content: "";
  position: absolute;
  right: 0;
  top: -150px;
  background-image: url(../img/child-others/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 {
  padding: 0 4rem;
  max-width: 1440px;
  margin: 0 auto;
}
.p-feature__wrapper {
  padding-top: 14rem;
}
.p-feature__list {
  display: flex;
  flex-direction: column;
}
.p-feature-item {
  display: flex;
  align-items: center;
  gap: 7rem;
}
.p-feature-item--reverse {
  flex-direction: row-reverse;
}
.p-feature-item--1 {
  gap: 7.7rem;
  align-self: flex-start;
}
.p-feature-item--2 {
  max-width: 1250px;
  margin-top: -8rem;
  align-self: flex-end;
}
.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: 3.4rem;
  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: 2rem;
}
.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);
}
.p-plan::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 426px;
  height: 537px;
  background-image: url(../img/common/bg-icon-plan--bottom.svg);
}
.p-why-otoliv {
  padding-top: 13rem;
  position: relative;
}
.p-why-otoliv::before {
  position: absolute;
  content: "";
  top: 20px;
  left: 0;
  width: 235px;
  height: 351px;
  background-image: url(../img/child-others/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/child-others/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-voice {
  background: var(--red);
  padding: 10rem 0;
  position: relative;
}
.p-voice::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 426px;
  height: 537px;
  background-image: url(../img/common/bg-icon-voice--top.svg);
}
.p-voice::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 426px;
  height: 537px;
  background-image: url(../img/common/bg-icon-voice--bottom.svg);
}
.p-voice__container {
  margin-top: 4rem;
}
.p-voice__link {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}
.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/child-others/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-feature__container {
    padding: 0 2rem;
  }
  .p-feature__list {
    gap: 3rem;
  }
  .p-feature-item {
    gap: 5rem;
  }
  .p-feature-item--2 {
    margin-top: 0;
  }
  .p-feature-item--3 {
    max-width: none;
    margin: 0 auto;
  }
  .p-feature-item__image {
    width: calc((100% - 5rem) / 2);
    max-width: 400px;
  }
  .p-feature-item__text {
    width: 100%;
  }
  .p-feature-item__title {
    font-size: 2.8rem;
  }
  .p-why-otoliv::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 235 / 351;
  }
  .p-instagram::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 251 / 351;
  }
  .p-instructors::before {
    width: 12.5%;
    height: auto;
    aspect-ratio: 25 / 39;
  }
} 
@media screen and (max-width: 1023px) {
  .p-plan::before,
  .p-plan::after,
  .p-voice::before,
  .p-voice::after {
    width: 30%;
    height: auto;
    aspect-ratio: 142 / 179;
  }
  .p-feature__list {
    max-width: 500px;
    margin: 0 auto;
  }
  .p-feature-item {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  .p-feature-item__image {
    width: 100%;
  }
}
@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;
    padding-bottom: 6rem;
  }
  .p-feature {
    margin-bottom: 4.5rem;
    padding-bottom: 0;
    background-image: url(../img/child-others/bg-feature--sp.webp);
    aspect-ratio: 390 / 779;
  }
  .p-feature__title {
    top: -24px;
  }
  .p-feature::before {
    background-image: url(../img/child-others/bg-icon-sp--feature.svg);
    width: 70px;
    height: 161px;
    aspect-ratio: 70 / 160;
    top: -120px;
  }
  .p-feature__wrapper {
    padding-top: 8rem;
  }
  .p-feature-item {
    max-width: 500px;
    margin: 0 auto;
  }
  .p-feature-item__title,
  .p-feature-item__title-emphasis {
    font-size: 2rem;
  }
  .p-feature-item__title {
    padding-bottom: 2rem;
  }
  .p-feature-item__title::before {
    width: 40px;
    height: 4px;
    transform: translateX(calc(-50% - 20px));
  }
  .p-feature-item__title::after {
    width: 40px;
    height: 4px;
    transform: translateX(calc(-50% + 20px));
  }
  .p-feature-item__box {
    flex-direction: column;
    gap: 2rem;
  }
  .p-feature-item__image {
    width: 100%;
  }
  .p-feature-item__text {
    font-size: 1.4rem;
  }
  .p-feature-item-point {
    margin-top: 2.5rem;
  }
  .p-feature-item-point__title {
    font-size: 1.6rem;
    padding-left: 1.4rem;
  }
  .p-feature-item-point__title::before {
    width: 5.25px;
    height: 5.25px;
    top: 10.5px;
  }
  .p-feature-item-point__text {
    font-size: 1.3rem;
    padding-left: 1.4rem;
  }
  .p-lessons {
    padding: 6rem 0 9rem 0;
  }
  .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__inner {
    padding: 3rem 0;
  }
  .p-plan {
    padding-top: 8rem;
    padding-bottom: 6.5rem;
  }
  .p-plan::before {
    width: 280px;
    top: -20px;
  }
  .p-plan::after {
    display: none;
  }
  .p-plan__container {
    margin-top: 5rem;
  }
  .p-why-otoliv {
    padding-top: 8rem;
  }
  .p-why-otoliv::before {
    background-image: url(../img/child-others/bg-icon-sp--why-otoliv.svg);
    width: 59px;
    height: 141px;
    top: -20px;
  }
  .p-cases {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
  .p-cases__container {
    padding: 0;
  }
  .p-instructors {
    margin-top: 13rem;
    padding-top: 9rem;
  }
  .p-instructors::before {
    background-image: url(../img/child-others/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-voice {
    padding: 8rem 0;
  }
  .p-voice::before {
    width: 280px;
    top: -20px;
  }
  .p-instagram {
    padding-top: 12rem;
  }
  .p-instagram::before {
    background-image: url(../img/child-others/bg-icon-sp--instagram.svg);
    width: 93px;
    height: 141px;
    top: 5px;
  }
  .p-links {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}