@charset "UTF-8";

@media (max-width: 900px) {
  html {
    font-size: 62.5%;
  }

  body {
    font-size: 1.4rem;
  }

  .c-heading__en {
    font-size: 2rem;
  }

  .c-heading__ja {
    font-size: 2.4rem;
  }

  .c-info__tel {
    font-size: 2.2rem;
  }

  .c-info__tel:where(.c-info--contact *) {
    font-size: 3.2rem;
  }

  .l-inner {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .p-access {
    padding: 5rem 0;
  }

  .p-access__map-content {
    margin-top: 4rem;
  }

  .p-access__map {
    aspect-ratio: 16/9;
  }

  .p-accordion__summary {
    padding: 2rem 0;
  }

  .p-accordion__icon {
    font-size: 1.8rem;
  }

  .p-accordion__summary-text {
    font-size: 1.6rem;
  }

  .p-accordion__toggle-icon {
    width: 1.2rem;
  }

  .p-accordion__body:where(.p-accordion__details.is-open *) {
    padding-bottom: 2rem;
  }

  .p-company {
    padding: 5rem 0;
  }

  .p-company__dl {
    margin-top: 4rem;
  }

  .p-company__info-content {
    font-size: 1.4rem;
  }

  .p-company__info-content {
    -ms-grid-columns: 12rem 1fr;
    grid-template-columns: 12rem 1fr;
    padding-bottom: 2.4rem;
  }

  .p-company__info-content:nth-of-type(n + 2) {
    padding-top: 2.4rem;
  }

  .p-contact {
    padding: 5rem 0;
  }

  .p-contact__container {
    margin-top: 4rem;
    max-width: 58rem;
    padding: 2.4rem 3.2rem 2rem;
  }

  .p-contact__container-heading .first {
    font-size: 2.6rem;
  }

  .p-contact__container-heading .second {
    font-size: 4rem;
  }

  .p-contact__container-heading .line {
    font-size: 10rem;
  }

  .p-contact__container-heading .last {
    font-size: 2.8rem;
  }

  .p-contact__step-title {
    font-size: 2.4rem;
  }

  .p-contact__step-title .number {
    font-size: 4.6rem;
  }

  .p-contact__bottom-item {
    font-size: 2rem;
  }

  .p-contact__bottom-item .line-icon {
    width: 2.2rem;
  }

  .p-contact__back-image {
    right: 2.4rem;
    width: 18rem;
  }

  .p-contact__info {
    margin-top: 3.2rem;
  }

  .p-contact__button-container {
    margin-top: 2.4rem;
  }

  .p-contact__button {
    font-size: 1.6rem;
  }

  .p-faq {
    padding: 5rem 0;
  }

  .p-faq__container {
    margin-top: 2rem;
  }

  .p-footer__top-container {
    padding: 2.4rem 0;
  }

  .p-footer__logo-content {
    width: 24rem;
  }

  .p-header__inner {
    height: 6rem;
  }

  .p-header__logo {
    width: 20rem;
  }

  .p-lesson {
    padding: 4rem 0;
  }

  .p-lesson__container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0rem;
    margin-inline: auto;
    max-width: 58rem;
    padding: 3.2rem 2.4rem;
  }

  .p-lesson__left-text {
    font-size: 4.8rem;
  }

  .p-lesson__right-content {
    align-self: flex-end;
  }

  .p-lesson__heading {
    font-size: 2.6rem;
  }

  .p-lesson__heading .first-text {
    text-shadow: 0.1rem 0.1rem 0.1rem #fff, -0.1rem -0.1rem 0.1rem #fff, -0.1rem 0.1rem 0.1rem #fff, 0.1rem -0.1rem 0.1rem #fff, 0.1rem 0 0.1rem #fff, -0.1rem 0 0.1rem #fff, 0 0.1rem 0.1rem #fff, 0 -0.1rem 0.1rem #fff;
  }

  .p-lesson__heading .red {
    font-size: 2.6rem;
  }

  .p-lesson__heading .red {
    text-shadow: 0.1rem 0.1rem 0.1rem #fff, -0.1rem -0.1rem 0.1rem #fff, -0.1rem 0.1rem 0.1rem #fff, 0.1rem -0.1rem 0.1rem #fff, 0.1rem 0 0.1rem #fff, -0.1rem 0 0.1rem #fff, 0 0.1rem 0.1rem #fff, 0 -0.1rem 0.1rem #fff;
  }

  .p-lesson__heading .number {
    font-size: 6rem;
  }

  .p-lesson__heading-sub {
    font-size: 2rem;
  }

  .p-menu {
    padding: 5rem 0;
  }

  .p-menu__list {
    margin-top: 3.2rem;
  }

  .p-menu__item {
    padding: 3.2rem 3.2rem 3.2rem 4rem;
  }

  .p-menu__dt {
    font-size: 2.2rem;
  }

  .p-menu__price {
    font-size: 1.6rem;
  }

  .p-menu__price .number {
    font-size: 3.2rem;
  }

  .p-menu__price .yen {
    font-size: 2.2rem;
  }

  .p-mv {
    margin-top: 6rem;
    padding: 5rem 2.4rem 37rem;
  }

  .p-mv::before {
    background-image: url(/_common/img/mv-back-color.jpg);
    background-repeat: repeat;
    background-size: 160rem auto;
    content: "";
    display: block;
    inset: 0;
    position: absolute;
    z-index: -100;
  }

  .p-mv::after {
    background-position: center bottom;
    background-size: 90rem auto;
  }

  .p-mv__text-area {
    border-width: 0.6rem;
    padding: 3rem 2rem 3.5rem;
    width: 100%;
  }

  .p-mv__top-text {
    font-size: 1.6rem;
  }

  .p-mv__top-text {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-mv__heading {
    font-size: 2.8rem;
  }

  .p-mv__boxes {
    margin-top: 1.2rem;
  }

  .p-mv__box .yellow {
    font-size: 1.6rem;
  }

  .p-mv__box .large {
    font-size: 1.6rem;
  }

  .p-mv__bottom-text {
    margin-top: 2.4rem;
  }

  .p-mv__human {
    left: 45%;
    width: 28rem;
  }

  .p-mv__text-image {
    bottom: -18rem;
    left: 0;
    right: auto;
    top: auto;
    width: 20rem;
  }

  .p-reason {
    padding: 4.8rem 0 5rem;
  }

  .p-reason__back-text {
    font-size: 12rem;
    top: 0.6rem;
  }

  .p-reason__top-container {
    flex-direction: column-reverse;
    gap: 3.2rem;
    margin-top: 4rem;
    padding-right: 0;
  }

  .p-reason__human {
    flex: none;
    margin-inline: auto;
    width: min(100%, 36rem);
  }

  .p-reason__dl {
    margin-inline: auto;
    margin-top: 0;
    width: min(100%, 58rem);
  }

  .p-reason__dt {
    font-size: 2.2rem;
  }

  .p-reason__dd {
    margin-top: -2rem;
  }

  .p-reason__dd-list {
    padding: 4rem 3.2rem;
  }

  .p-reason__dd-item {
    font-size: 1.8rem;
  }

  .p-reason__box-item {
    padding: 3.2rem 2.4rem;
  }

  .p-reason__box-heading {
    font-size: 2.2rem;
  }

  .p-reason__media {
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3.2rem;
  }

  .p-reason__media-image {
    width: min(100%, 50rem);
  }

  .p-reason__child-heading {
    font-size: 2.2rem;
  }

  .p-reason__child-heading {
    margin-top: 4rem;
  }

  .p-reason__list {
    gap: 3.2rem;
    margin-top: 3.2rem;
  }

  .p-reason__item-image {
    width: min(100%, 50rem);
  }

  .p-reason__item-heading {
    margin-top: 1.2rem;
  }

  .p-reason__item-text {
    font-size: 1.6rem;
  }

  .p-reserve {
    padding: 5rem 0;
  }

  .p-reserve__button-container {
    margin-top: 3.2rem;
  }

  .p-reserve__button {
    font-size: 1.6rem;
  }

  .p-reserve__button-text::after {
    right: 2rem;
  }

  .u-pc {
    display: none;
  }

  .u-pc-ib {
    display: none;
  }

  .u-sp {
    display: block;
  }

  .u-sp-ib {
    display: inline-block;
  }

  .u-wrap-sp {
    word-break: keep-all;
  }

  .u-wrap-sp wbr {
    display: inline;
  }

  .u-wrap-pc {
    word-break: normal;
  }

  .u-wrap-pc wbr {
    display: none;
  }
}

@media (max-width: 900px) and (max-width: 900px) {
  .p-mv::before {
    background-position: center bottom;
    background-size: 90rem auto;
  }
}

@media (max-width: 640px) {
  .p-company__info-content {
    -ms-grid-columns: none;
    gap: 1.2rem;
    grid-template-columns: none;
  }

  .p-contact__container {
    max-width: 45rem;
    padding: 2.4rem 2.4rem 6rem;
  }

  .p-contact__container-heading .first {
    font-size: 2.2rem;
  }

  .p-contact__container-heading .second {
    font-size: 3.2rem;
  }

  .p-contact__container-heading .line {
    font-size: 8rem;
  }

  .p-contact__container-heading .last {
    font-size: 2.4rem;
  }

  .p-contact__bottom-contents {
    width: clamp(16rem, -14rem + 80vw, 18rem);
  }

  .p-contact__step-title {
    font-size: 2rem;
  }

  .p-contact__step-title .number {
    font-size: 3.2rem;
  }

  .p-contact__bottom-list {
    flex-direction: column;
    gap: 1.2rem;
  }

  .p-contact__back-image {
    right: clamp(1.2rem, -2.4rem + 9.6vw, 2.4rem);
    width: clamp(14rem, 2rem + 32vw, 18rem);
  }

  .p-lesson__heading {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .p-lesson__heading .number {
    font-size: 5rem;
  }

  .p-menu__item {
    align-items: stretch;
    flex-direction: column;
    gap: 2rem;
    padding: 3.2rem 2rem 3.2rem 3.2rem;
  }

  .p-menu__price {
    align-self: flex-end;
  }

  .p-mv {
    padding: 5rem 1.6rem 37rem;
  }

  .p-mv::after {
    background-size: 85rem auto;
  }

  .p-mv__text-area {
    padding: 3rem 1.6rem 3.5rem;
  }

  .p-mv__heading {
    font-size: 2.4rem;
    margin-top: 0.5em;
  }

  .p-mv__boxes {
    -ms-grid-columns: none;
    grid-template-columns: none;
  }

  .p-mv__human {
    left: clamp(12rem, -13.4716981132rem + 67.9245283019vw, 30rem);
    width: 26rem;
  }

  .p-mv__text-image {
    bottom: -14rem;
    left: -1rem;
    width: clamp(15rem, 10.7547169811rem + 11.320754717vw, 18rem);
  }

  .p-reason__back-text {
    font-size: 6.4rem;
  }

  .p-reason__dd {
    padding-left: 2rem;
  }

  .p-reason__dd-list {
    padding: 3.2rem 2rem;
  }

  .p-reason__dd-item:nth-of-type(n + 2) {
    margin-top: 0.4rem;
  }

  .p-reason__box-item {
    padding: 3.2rem 2rem;
  }

  .p-reason__box-item:nth-of-type(n + 2) {
    margin-top: 2.8rem;
  }

  .p-reason__box-heading {
    display: block;
  }

  .p-reason__box-heading::after {
    flex: auto;
    margin-left: 0;
    margin-top: 0.6rem;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 2.67vw;
  }
}
