@media only screen and (min-width: 1280px) {
  body {
    background: url("../img/lp-maternity/pc/bg-pc.png") center / cover no-repeat;
    background-attachment: fixed;
  }
}

a {
  transition: opacity 0.2s;
}

@media (any-hover: hover) {
  a:hover {
    opacity: 0.5;
  }
}

/* container */
.l-container {
  background-color: #fdf6e8;
  margin-inline: auto;
  position: relative;
  z-index: 999;
  overflow: hidden;
}

@media only screen and (max-width: 767px) {
  .l-container {
    max-width: 500px;
  }
}

@media only screen and (min-width: 768px) {
  .l-container {
    max-width: 375px;
    position: relative;
  }
}

/* inner */
.l-inner {
  margin-inline: auto;
  padding-inline: 16px;
}

/* header */
.l-header {
  padding: 20px 4px 0;
  position: absolute;
  z-index: 998;
}

.l-header__logo > img {
  width: 159px;
}

/* cta */
.c-cta {
  position: relative;
  z-index: 2;
}

/* button */
.c-button--primary,
.c-button--line {
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: grid;
  max-width: 300px;
  height: 60px;
  place-items: center;
  border-radius: 999px;
  margin-inline: auto;
  width: 100%;
  position: relative;
}

.c-button--primary {
  background: linear-gradient(88.81deg, #df8969 0.13%, #ffb093 99.87%);
}

.c-button--line {
  background-color: #06c654;
}

.c-button--primary::after,
.c-button--line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../img/lp-maternity/cta/icon-arrow-right.svg") center / cover
    no-repeat;
}

.c-button--primary > img,
.c-button--line > img {
  width: auto;
}

/* drawer */
.p-drawer {
  align-items: center;
  display: grid;
  height: 0;
  left: 50%;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 999;
}

@media only screen and (max-width: 767px) {
  .p-drawer {
    max-width: 500px;
  }
}

@media only screen and (min-width: 768px) {
  .p-drawer {
    max-width: 375px;
  }
}

@media only screen and (min-width: 1280px) {
  .p-drawer {
    display: none;
  }
}

.p-drawer__button {
  background-color: #fff;
  height: 60px;
  position: fixed;
  right: 12px;
  top: 12px;
  width: 60px;
  z-index: 999;
  border-radius: 50%;
  border: none;
}

.p-drawer__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
  transition: transform 0.3s;
  transform: translateY(-100%);
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.p-drawer__list {
  margin-bottom: 60px;
}

.p-drawer__list-item:not(:last-child) {
  border-bottom: 1px solid #4e4e4e;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.p-drawer__link {
  padding-inline: 12px;
  position: relative;
}

.p-drawer__link::after {
  content: "";
  border-bottom: 1px solid #2b3f72;
  border-right: 1px solid #2b3f72;
  width: 8px;
  height: 8px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.p-drawer__link > img {
  width: auto;
}

.p-drawer__arrow {
  display: grid;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.p-drawer__button-inner {
  transform: translate(-50%, -50%);
  left: 50%;
  position: absolute;
  top: calc(50% + 2px);
  line-height: 0;
}

.p-drawer__cross {
  position: relative;
  width: 26px;
  height: 12px;
}

.p-drawer__cross > span {
  background-color: #2b3f72;
  height: 1px;
  transition: transform 0.3s;
  width: 20px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.p-drawer__menu {
  text-align: center;
  margin-top: 8px;
}

.p-drawer__menu > img {
  width: auto;
}

.p-drawer__cta {
  margin-top: 60px;
}

.p-drawer__cross > span:first-child {
  top: calc(40% - 6px);
}

.p-drawer__cross > span:nth-child(2) {
  top: 40%;
}

.p-drawer__cross > span:last-child {
  top: calc(40% + 6px);
}

.p-drawer.is-open {
  height: 100svh;
}

.p-drawer.is-open .p-drawer__button {
  background-color: transparent;
}

.p-drawer.is-open .p-drawer__cross > span:first-child,
.p-drawer.is-open .p-drawer__cross > span:last-child {
  top: 50%;
}

.p-drawer.is-open .p-drawer__cross > span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-drawer.is-open .p-drawer__cross > span:nth-child(2) {
  background-color: transparent;
}

.p-drawer.is-open .p-drawer__cross > span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.p-drawer.is-open .p-drawer__content {
  transform: translateY(0);
  padding-top: 95px;
  padding-bottom: 48px;
  background: url("../img/lp-maternity/drawer/bg-drawer.jpg") center / cover
    no-repeat;
  justify-content: flex-start;
}

/* mv */
.p-mv {
  background: url("../img/lp-maternity/mv/bg-mv.png") center / cover no-repeat;
  height: 0;
  padding-bottom: calc(753 / 375 * 100%);
  width: 100%;
  position: relative;
}

.p-mv__img {
  opacity: 0;
  animation: fadeIn 3s ease forwards;
}

.p-mv__title {
  position: absolute;
  top: 110px;
  left: 20px;
  overflow: hidden;
  transform: translateX(-100%);
  animation: titleSlideIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 2s forwards;
}

.p-mv__title > span > img {
  width: auto;
  display: block;
}

.p-mv__title > span {
  display: block;
  transform: translateX(100%);
  animation: titleSpanSlideIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 2s
    forwards;
}

/* about */
.p-about {
  margin-top: -50px;
  position: relative;
  z-index: 1;

  &::before {
    background: url("../img/lp-maternity/about/gradetion.png") center / cover
      no-repeat;
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

.p-about__text {
  text-align: center;
}

.p-about__text > img {
  width: auto;
}

.p-about__img {
  margin-top: 77px;
  overflow: hidden;
}

/* reason */
.p-reason {
  padding-top: 30px;
  position: relative;
}

.p-reason__contents {
  position: relative;
  z-index: 1;
}

.p-reason__title {
  text-align: center;
}

.p-reason__title > img {
  width: auto;
}

.p-reason__instagram {
  margin: 48px auto 0;
  position: relative;
  z-index: 1;
  max-width: 255px;
  overflow: hidden;
  border-radius: 10px;
}

.p-reason__instagram > video {
  border-radius: 10px;
}

.p-reason__img {
  margin-top: -120px;
}

.p-reason__bg {
  position: absolute;
  top: 52%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}

/* merit */
.p-merit {
  padding-block: 60px;
  position: relative;
}

.p-merit__items {
  display: grid;
  row-gap: 60px;
}

.p-merit__item {
  position: relative;
}

.p-merit__main {
  width: 260px;
}

.p-merit__item:nth-child(even) .p-merit__main {
  margin-left: auto;
}

.p-merit__heading {
  position: relative;
}

.p-merit__title {
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-merit__title > img {
  width: auto;
}

.p-merit__bg {
  position: absolute;
  top: -50px;
  width: 237px;
}

.p-merit__item:nth-child(even) .p-merit__bg {
  right: -16px;
}

.p-merit__item:nth-child(odd) .p-merit__bg {
  left: -16px;
}

.p-merit__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #4e4e4e;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.p-merit__img {
  width: 124px;
  position: absolute;
  top: 10px;
  overflow: hidden;
}

.p-merit__item:nth-child(even) .p-merit__img {
  left: -16px;
}

.p-merit__item:nth-child(odd) .p-merit__img {
  right: -16px;
}

.p-merit__gradation01,
.p-merit__gradation02,
.p-merit__gradation03 {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.p-merit__gradation01 {
  top: -100px;
  right: 0;
}

.p-merit__gradation02 {
  top: 75%;
  left: 0;
  transform: translateY(-50%);
}

.p-merit__gradation03 {
  bottom: 70%;
  right: 0;
}

/* cta */
.p-cta {
  margin-top: 60px;
}

.p-cta__text {
  text-align: center;
  margin-bottom: 16px;
  margin-top: 24px;
}

.p-cta__text > img {
  width: auto;
}

/* recommend */
.p-recommend {
  padding-top: 60px;
  padding-bottom: 225px;
  background: url("../img/lp-maternity/recommend/bg-recommend.png") center /
    cover no-repeat;
}

.p-recommend__title,
.p-recommend__subtitle {
  text-align: center;
}

.p-recommend__title > img,
.p-recommend__subtitle > img {
  width: auto;
}

.p-recommend__img {
  transform: translateX(-16px);
  max-width: 277px;
  margin-top: 48px;
  overflow: hidden;
  border-radius: 10px;
}

.p-recommend__subtitle {
  margin-top: 42px;
}

.p-recommend__items {
  display: grid;
  row-gap: 28px;
  margin-top: 24px;
}

.p-recommend__item {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
  padding: 26px 20px;
  width: 100%;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}

.p-recommend__item > img {
  width: auto;
}

.p-recommend__item:nth-child(even) {
  margin-left: auto;
}

/* feature */
.p-feature {
  margin-top: -100px;
  padding-bottom: 56px;
  position: relative;

  &::before {
    background: url("../img/lp-maternity/feature/gradation.png") center / cover
      no-repeat;
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

.p-feature__title,
.p-feature__movie-text,
.p-feature__item-title {
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-feature__title > img,
.p-feature__movie-text > img,
.p-feature__item-title > img {
  width: auto;
}

.p-feature__img {
  margin-top: 48px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #df8969;
}

.p-feature__movie-text {
  margin-top: 48px;
}

.p-feature__items {
  display: grid;
  row-gap: 60px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.p-feature__item {
  padding-inline: 56px;
  position: relative;

  &::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 100%;
    top: 0;
  }
}

.p-feature__item:nth-child(even)::after {
  left: 0;
}

.p-feature__item:nth-child(odd)::after {
  right: 0;
}

.p-feature__item:first-child::after {
  background: url("../img/lp-maternity/feature/bg-feature01.png") center / cover
    no-repeat;
}

.p-feature__item:nth-child(2)::after {
  background: url("../img/lp-maternity/feature/bg-feature02.png") center / cover
    no-repeat;
}

.p-feature__item:nth-child(3)::after {
  background: url("../img/lp-maternity/feature/bg-feature03.png") center / cover
    no-repeat;
}

.p-feature__item:last-child::after {
  background: url("../img/lp-maternity/feature/bg-feature04.png") center / cover
    no-repeat;
}

.p-feature__text {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #4e4e4e;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* message */
.p-message {
  padding-top: 80px;
  position: relative;

  &::before {
    background: url("../img/lp-maternity/message/gradation.png") center / cover
      no-repeat;
    content: "";
    position: absolute;
    top: -53%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

.p-message__title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.p-message__title > img {
  width: auto;
}

.p-message__content {
  margin-top: 48px;
}

/* faq */
.p-faq {
  position: relative;
  padding-bottom: 120px;
  margin-top: -80px;

  &::before {
    background: url("../img/lp-maternity/faq/bg-faq.png") center / cover
      no-repeat;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 210px;
    height: 401px;
  }
}

.p-faq__title {
  text-align: center;
}

.p-faq__title > img {
  width: auto;
}

.p-faq__items {
  margin-top: 48px;
  padding-inline: 22px;
  display: grid;
  row-gap: 28px;
  position: relative;
  z-index: 1;
}

.p-faq__item {
  background-color: #fff;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.p-faq__question {
  text-align: center;
  background-color: #2b3f72;
  border-radius: 10px;
  padding: 26px 20px;
  position: relative;
  transition: background-color 0.2s;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
  }

  &::before {
    left: 20px;
    width: 12px;
    height: 14px;
    background: url("../img/lp-maternity/faq/q.svg") center / cover no-repeat;
  }

  &::after {
    right: 20px;
    width: 16px;
    height: 16px;
    background: url("../img/lp-maternity/faq/icon-arrow-down.svg") center /
      cover no-repeat;
  }
}

@media (any-hover: hover) {
  .p-faq__question:hover {
    background-color: #df8969;
    cursor: pointer;
  }
}

.p-faq__question.is-open {
  background-color: #df8969;
}

.p-faq__question.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.p-faq__question > img {
  width: auto;
}

.p-faq__answer {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #4e4e4e;
  font-weight: 400;
  padding: 24px;
  display: none;
}

/* price */
.p-price {
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.p-price__title {
  text-align: center;
}

.p-price__title > img {
  width: auto;
}

.p-price__item {
  background: linear-gradient(#fdf6e8 1%, #fff 99%);
  padding-bottom: 80px;
  border-radius: 20px;
  padding-top: 48px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -0;
    width: 164px;
    height: 380px;
    background: url("../img/lp-maternity/price/bg-price01.png") center / cover
      no-repeat;
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 164px;
    height: 380px;
    background: url("../img/lp-maternity/price/bg-price02.png") center / cover
      no-repeat;
  }
}

.p-price__lesson {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #df8969;
}

.p-price__include-tax {
  max-width: 300px;
  margin-inline: auto;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.p-price__text {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #4e4e4e;
  margin-top: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-price__text > strong {
  background: linear-gradient(transparent 70%, #ffff85 70%);
}

.p-price__img {
  margin: 32px auto 0;
  max-width: 346px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* contact */
.p-contact {
  padding-block: 80px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    bottom: -170px;
    left: 0;
    height: 380px;
    width: 263px;
    background: url("../img/lp-maternity/contact/bg-contact.png") center / cover
      no-repeat;
  }
}

.p-contact__title {
  text-align: center;
}

.p-contact__title > img {
  width: auto;
}

.p-contact__text {
  text-align: center;
  margin-top: 28px;
  margin-bottom: 60px;
}

.p-contact__text > img {
  width: auto;
}

/* footer */
.l-footer {
  padding-top: 60px;
  padding-bottom: 20px;
  border-radius: 20px 20px 0 0;
  background: url("../img/lp-maternity/footer/bg-footer.png") center / cover
    no-repeat;
  position: relative;
}

.l-footer__title {
  text-align: center;
}

.l-footer__title > img {
  width: auto;
}

.l-footer__items {
  display: grid;
  justify-content: center;
  column-gap: 48px;
  grid-template-columns: 88px 88px;
  margin-top: 40px;
}

.l-footer__text {
  text-align: center;
  margin-top: 16px;
}

.l-footer__text > img {
  width: auto;
}

.l-footer__cta {
  margin: 40px auto 0;
}

.l-footer__cta > img {
}

.l-footer__website {
  text-align: center;
}

.l-footer__website > img {
  width: auto;
}

.l-footer__copyright {
  text-align: center;
  font-size: 10px;
  margin-top: 40px;
  letter-spacing: 0.02em;
  line-height: 2;
  color: #fff;
  font-weight: 400;
}

/* pc */
.p-pc {
  display: none;
}

@media only screen and (min-width: 1280px) {
  .p-pc {
    display: block;
  }

  .p-pc__header-title > img {
    width: calc(440 / 1280 * 100vw);
    position: fixed;
    top: 48px;
    left: calc(48 / 1280 * 100%);
    z-index: 998;
  }

  .p-pc__footer {
    position: fixed;
    bottom: 40px;
    left: calc(48 / 1280 * 100%);
    z-index: 998;
  }

  .p-pc__footer-title > img {
    width: calc(159 / 1280 * 100vw);
  }

  .p-pc__footer-logo > img {
    width: calc(159 / 1280 * 100vw);
    margin-top: calc(24 / 1280 * 100vw);
  }
}

.p-toc {
  display: none;
}

@media only screen and (min-width: 1280px) {
  .p-toc {
    display: block;
    position: fixed;
    top: 50%;
    right: calc(91 / 1280 * 100%);
    z-index: 998;
    width: calc(280 / 1280 * 100vw);
    transform: translateY(-50%);
  }

  .p-toc__list {
    display: grid;
    row-gap: calc(10 / 1280 * 100vw);
  }

  .p-toc__link {
    display: block;
    padding-left: calc(27 / 1280 * 100vw);
    position: relative;
  }

  .p-toc__link > img {
    width: auto;
    height: calc(16 / 1280 * 100vw);
  }

  .p-toc__link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(6 / 1280 * 100vw);
    height: calc(12 / 1280 * 100vw);
    background: url("../img/lp-maternity/toc/icon-bracket.svg") center / cover
      no-repeat;
  }

  .p-toc__cta {
    margin-top: 94px;
    display: grid;
    row-gap: 20px;
  }

  .p-toc .c-button--primary,
  .p-toc .c-button--line {
    width: calc(260 / 1280 * 100vw);
    height: calc(40 / 1280 * 100vw);
    max-width: 100%;
  }
}

@media (any-hover: hover) {
  .p-toc__link:hover {
    opacity: 1;
  }

  .p-toc__link:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(6 / 1280 * 100vw);
    height: calc(12 / 1280 * 100vw);
    background: url("../img/lp-maternity/toc/icon-bracket.svg") center / cover
      no-repeat;
  }
}

/* フェードイン */
.js-fadeIn {
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  transform: scale(1.12);
}

.js-fadeIn.is-scrolled {
  opacity: 1;
  transform: scale(1);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes titleSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes titleSpanSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
