@charset "utf-8";

/* =============================================
ファーストビュー
============================================= */
.fv {
  background-image: url("../images/front-page/bg-world.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 120px;
  margin-bottom: 145px;
}
.fv__inner {
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
  padding-top: 30px;
}
.fv__text {
  padding-top: 30px;
  max-width: 590px;
}
.fv__maincopy {
  margin: 0;
}
.fv__maincopy-image {
  margin: 10px auto 20px;
}
.fv__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.fv__list-item {
  --clamp-max: 20;
  --clamp-min: 14;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 10px;

  img {
    width: 24px;
    height: 24px;
    transform: translateY(5px);
  }
}
.fv__cta {
  text-align: center;
}
.fv__cta-copy {
  --clamp-max: 20;
  --clamp-min: 16;
  font-weight: 700;
  margin-top: var(--leading-trim);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}
.fv__cta-copy--large {
  --clamp-max: 31;
  --clamp-min: 22;
}
.fv__cta-button {
  --clamp-viewport-min: 768;
  --clamp-viewport-max: 1440;
  --clamp-max: 33;
  --clamp-min: 20;
  padding: 1em 1.2em;
  width: 100%;
  box-shadow: 0px 9px 24px 0px rgba(17, 17, 17, 0.2);
  letter-spacing: 0.01em;
}
.fv__stvv {
  display: flex;
  gap: 14px;
  align-items: center;
  --clamp-max: 14;
  --clamp-min: 12;
  margin-top: 30px;

  display: none;
}
.fv__stvv-logo {
  height: 70px;
  width: auto;
}
.fv__stvv-note {
  --clamp-max: 12;
  --clamp-min: 10;
}
.fv__image {
  display: flex;
  align-items: center;
}

/*
TODO: シントトロイデンを本番反映する手順
- .fv__stvv の display: none; を消す
- .fv__inner の  padding-top: を20pxに変える
*/

@media screen and (max-width: 1079px) {
  .fv {
    padding-top: 70px;
  }
}
@media screen and (max-width: 767px) {
  .fv {
    background-image: url(../images/front-page/bg-world-sp.webp);
    background-size: 100% auto;
    background-position: center 25px;
    background-repeat: no-repeat;
    margin-bottom: 40px;
    padding-top: 60px;
  }
  .fv__inner {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }
  .fv__lesson-price {
    width: calc(187 / 375 * 100vw);
  }
  .fv__list {
    margin-bottom: 30px;
    gap: 10px;
  }
  .fv__list-item {
    gap: 6px;
    line-height: 1.8;

    img {
      width: 16px;
      height: 16px;
      transform: translateY(3px);
    }
  }
  .fv__cta-button {
    --clamp-viewport-min: 375;
    --clamp-viewport-max: 767;
    --clamp-max: 33;
    --clamp-min: 20;
  }
  .fv__image {
    padding: 30px 20px 0;
  }
  .fv__stvv {
    margin-top: 20px;
  }
  .fv__stvv-logo {
    height: 50px;
  }
}

/* =============================================
特長
============================================= */
.feature {
  border-radius: 100px 100px 0 0;
}
.feature .lead-box {
  margin-bottom: 100px;
}
.feature .lead-box__text {
  align-items: center;
}
.feature .lead-box__text:first-of-type {
  margin-bottom: 10px;
}
.feature__inner {
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.feature__box {
  background: var(--white);
  padding: 50px 60px;
  border-radius: 40px;
  border-right: solid 6px var(--red);
  border-bottom: solid 6px var(--red);
  position: relative;
  display: flex;
  gap: clamp(20px, 5vw, 60px);
}
.feature__box::before {
  content: attr(data-feature-box-before);
  --clamp-max: 49;
  --clamp-min: 49;
  color: var(--white);
  font-family: "Roboto", sans-serif;
  line-height: 1;
  background: var(--red);
  font-weight: 700;
  border-radius: 999em;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  letter-spacing: -2px;
  position: absolute;
  top: -60px;
}
.feature__box::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 130px;
  transform: rotate(-45deg);
  border-width: 22px 12px 0 12px;
  border-style: solid;
  border-color: var(--red) transparent transparent transparent;
}
.feature__box:nth-child(even) {
  flex-direction: row-reverse;
}
.feature__box:nth-child(even)::before {
  left: unset;
  right: 60px;
}
.feature__box:nth-child(even)::after {
  left: unset;
  right: 130px;
  transform: rotate(45deg);
}
.feature__heading {
  font-weight: 700;
  --clamp-max: 31;
  --clamp-min: 20;
  margin-bottom: clamp(10px, 3vw, 20px);
  letter-spacing: 0;
  line-height: 1.6;
}
.feature__small-text {
  --clamp-max: 16;
  --clamp-min: 12;
  display: inline-block;
}
.feature__descrition {
  line-height: 2;
  letter-spacing: 0;
}
.feature__image {
  width: 25vw;
  max-width: 290px;
}
.feature .lead-box__image--aleva {
  margin-top: -12px;
}
@media screen and (max-width: 767px) {
  .feature {
    border-radius: 30px 30px 0 0;
  }
  .feature .lead-box {
    margin: 0 auto 66px;
  }
  .feature .lead-box__text {
    flex-wrap: wrap;
  }
  .feature .lead-box__text:first-of-type {
    margin-bottom: 10px;
  }
  .lead-box__text > img {
    margin-inline: 6px;
  }
  .feature .lead-box__image {
    height: 22px;
  }
  .feature .lead-box__image--aleva {
    height: 26px;
    margin-top: -6px;
  }
  .feature__inner {
    gap: 60px;
  }
  .feature__box {
    flex-direction: column;
    gap: clamp(20px, 5vw, 60px);
    padding: 30px 20px;
    border-radius: 20px;
    border-right: solid 4px var(--red);
    border-bottom: solid 4px var(--red);
  }
  .feature__box::before {
    --clamp-max: 31;
    --clamp-min: 31;
    width: 60px;
    height: 60px;
    top: -40px;
  }
  .feature__box::after {
    left: 60px;
    top: 3px;
  }
  .feature__box:nth-child(even) {
    flex-direction: column;
  }
  .feature__box:nth-child(even)::before {
    right: 20px;
  }
  .feature__box:nth-child(even)::after {
    left: unset;
    right: 60px;
  }
  .feature__box-inner:has(.feature__image) {
    text-align: center;
  }
  .feature__image {
    width: 60%;
    max-width: 250px;
  }
}

/* =============================================
比較
============================================= */
.compare {
  border-radius: 0 0 100px 100px;
}
.compare__title {
  --clamp-max: 25;
  --clamp-min: 20;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--white);
  text-align: center;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(10px, 4vw, 30px);
}
.compare .lead-box {
  border: solid 6px var(--light-blue);
  border-radius: 16px;
  word-break: auto-phrase;
  /* word-break: keep-all; */
  overflow-wrap: anywhere;
  --clamp-max: 16;
  --clamp-min: 14;
  font-weight: 500;
  line-height: 2;
  color: var(--navy);
}
.compare__sub-heading {
  --clamp-max: 18;
  --clamp-min: 18;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  margin-bottom: clamp(30px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 50px;
  line-height: 1;
}
.compare__sub-heading::before,
.compare__sub-heading::after {
  content: "";
  min-width: 30px;
  height: 1px;
  background: var(--white);
}
.compare .table {
  border-radius: 16px;
  overflow: hidden;
  min-width: 600px;
}
.compare .table__header {
  white-space: nowrap;
  padding: 1em 2em;
  background: var(--light-blue);
  vertical-align: middle;
}
.compare .table__header.table__header--empty {
  background: transparent !important;
  border: none;
}
.compare .table__header.table__header--row {
  border-radius: 16px 16px 0 0;
}
.compare .table__header.table__header--border-radius {
  border-radius: 16px 0 0 0;
}
.compare .table__header.table__header--row:nth-of-type(3),
.compare .table__header.table__header--row:nth-of-type(4) {
  background: rgba(229, 234, 255, 0.92);
}
.compare .table__data {
  width: calc(100% / 3);
  vertical-align: middle;
  font-weight: 500;
  text-align: center;
  padding: 0.5em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.compare .table__data:nth-of-type(2),
.compare .table__data:nth-of-type(3) {
  background: rgba(255, 255, 255, 0.92);
}

@media screen and (max-width: 767px) {
  .compare {
    border-radius: 0 0 30px 30px;
  }
  .compare__title {
    align-items: flex-end;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .compare .table__header {
    padding: 1em;
  }
  .compare__sub-heading {
    gap: 20px;
  }
}
/* =============================================
料金
============================================= */
.pricing .lead-box {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.pricing__box {
  background: var(--navy);
  border-radius: 40px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}
.pricing__price {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  width: 35%;
}
.pricing__price-label {
  border: solid 1px var(--white);
  padding: 0.2em 0.6em;
  margin-top: -18px;
}
.pricing__price-amount {
  --clamp-max: 39;
  --clamp-min: 31;
  text-decoration: underline 3px;
  text-underline-offset: clamp(10px, 2vw, 14px);
}
.pricing__small-text {
  --clamp-max: 20;
  --clamp-min: 14;
}
.pricing__tax-included {
  --clamp-max: 14;
  --clamp-min: 10;
}
.pricing__description {
  background: var(--light-navy);
  border-radius: 40px;
  padding: 30px;
  width: 65%;
  position: relative;
}
.pricing__description::after {
  position: absolute;
  bottom: -60px;
  right: 50px;
  content: "";
  background-image: url(../images/front-page/illu-card.webp);
  background-size: 200px;
  width: 200px;
  height: 122px;
  background-repeat: no-repeat;
}
.pricing__list-item {
  --clamp-max: 18;
  --clamp-min: 16;
  letter-spacing: 0;
  position: relative;
  padding-left: 1.2em;
  line-height: 1.6;
}
.pricing__list-item:not(:last-of-type) {
  margin-bottom: 14px;
}
.pricing__list-item::before {
  content: "";
  background: var(--red);
  width: 10px;
  height: 10px;
  border-radius: 999em;
  position: absolute;
  left: 0;
  top: 0.6em;
}
@media screen and (max-width: 767px) {
  .pricing .lead-box {
    word-break: normal;
    overflow-wrap: normal;
  }
  .pricing__box {
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
  }
  .pricing__price {
    width: 100%;
    gap: 4px;
  }
  .pricing__description {
    width: 100%;
    border-radius: 20px;
    padding: 20px 15px;
  }
  .pricing__description::after {
    bottom: -50px;
    right: 10px;
    background-size: 150px;
    width: 150px;
    height: 92px;
  }
  .pricing__price-label {
    margin-top: 0;
  }
}

/* =============================================
教材
============================================= */
.material {
  border-radius: 100px 100px 0 0;
}
.material__level {
  margin-bottom: 30px;
}
.material__sub-heading {
  --clamp-max: 18;
  --clamp-min: 18;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 50px;
  line-height: 1;
}
.material__sub-heading::before,
.material__sub-heading::after {
  content: "";
  min-width: 30px;
  height: 1px;
  background: var(--black);
}
.material__sub-description {
  --clamp-max: 16;
  --clamp-min: 16;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 25px;
  text-align: center;
}
.material__level-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.92fr;
  align-items: center;
  gap: 10px;
}
.material__level-item {
  --clamp-max: 18;
  --clamp-min: 18;
  font-weight: 700;
  letter-spacing: 0;
  line-height: calc(37 / 18);
  color: var(--white);
  text-align: center;
  padding: 0 30px 0 20px;
  position: relative;
  z-index: 1;
  aspect-ratio: 250 / 70;
  display: grid;
  place-items: center;
  width: 100%;
}
.material__level-item:last-child {
  padding-right: 10px;
  aspect-ratio: 230 / 70;
}
.material__level-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: url(../images/front-page/material-level-bg.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
  z-index: -1;
}
.material__level-item:nth-child(1)::before {
  background: #999fb7;
}
.material__level-item:nth-child(2)::before {
  background: #667094;
}
.material__level-item:nth-child(3)::before {
  background: #334070;
}
.material__level-item:nth-child(4)::before {
  mask-image: url(../images/front-page/material-level-square-bg.svg);
  background: var(--navy);
}
.material__cross {
  --clamp-max: 36;
  --clamp-min: 24;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  color: var(--navy);
  margin-bottom: 30px;
}
.material__scene {
  margin-bottom: 70px;
}
.material__scene-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.material__scene-item {
  position: relative;
}
.material__scene-image {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.material__scene-description {
  --clamp-max: 18;
  --clamp-min: 14;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  line-height: 1.5;
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.material__support-text {
  --clamp-max: 25;
  --clamp-min: 20;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: clamp(10px, 4vw, 30px);
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
}
.material__support-text--slash {
  --clamp-max: 20;
  --clamp-min: 20;
}
.material__support-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.material__support-item {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.material__support-heading {
  --clamp-max: 20;
  --clamp-min: 18;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 15px;
}
.material__support-image {
  aspect-ratio: 280 / 200;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  width: calc(280 / 410 * 100%);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.material__support-description {
  --clamp-max: 14;
  --clamp-min: 13;
  letter-spacing: 0;
  line-height: 2;
}
.material__premium {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  gap: 30px;
}
.material__premium-logo {
  width: calc(254 / 930 * 100%);
  margin-inline: auto;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
.material__premium-text {
  --clamp-max: 14;
  --clamp-min: 13;
  letter-spacing: 0;
  line-height: 2;
  flex: 1;
}
@media screen and (max-width: 767px) {
  .material {
    border-radius: 30px 30px 0 0;
  }
  .material__sub-heading {
    gap: 20px;
  }
  .material__sub-description {
    text-align: left;
  }
  .material__level-items {
    grid-template-columns: 1fr 1fr 1fr 0.88fr;
    gap: 15px;
  }
  .material__level-item {
    padding: 20px 35px 20px 20px;
    aspect-ratio: 75 / 154;
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1;
  }
  .material__level-item:last-child {
    aspect-ratio: 66 / 154;
    padding: 20px;
  }
  .material__level-item::before {
    mask-image: url(../images/front-page/material-level-bg-sp.svg);
    mask-repeat: no-repeat;
  }
  .material__level-item:nth-child(4)::before {
    mask-image: url(../images/front-page/material-level-square-bg-sp.svg);
  }
  .material__scene {
    margin-bottom: 40px;
  }
  .material__scene-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .material__scene-description {
    bottom: 10px;
    left: 10px;
  }
  .material__support-text {
    align-items: flex-end;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .material__support-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .material__support-item {
    padding: 20px;
  }
  .material__support-image {
    width: calc(280 / 325 * 100%);
  }
  .material__premium {
    flex-direction: column;
    gap: 10px;
  }
  .material__premium-logo {
    width: 100%;
    max-width: 250px;
  }
}

/* =============================================
講師
============================================= */
.teachers__header {
  background-image: url(../images/front-page/teacher-bg.webp);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
  padding-top: 80px;
  padding-bottom: 50px;
}
.teachers__text {
  --clamp-max: 25;
  --clamp-min: 16;
  color: var(--white);
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 2;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.teachers__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.teachers__item {
  position: relative;
}
.teachers__item-image {
  aspect-ratio: 360 / 280;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (max-width: 767px) {
  .teachers__header {
    padding-top: 50px;
    padding-bottom: 20px;
  }
  .teachers__items {
    grid-template-columns: repeat(2, 1fr);
  }
  .teachers__text {
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* =============================================
よくある質問
============================================= */
.faq__item {
  overflow: hidden;
}
.faq__item + .faq__item {
  margin-top: 20px;
}
.faq__question-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.faq__question {
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  --clamp-max: 18;
  --clamp-min: 16;
  font-weight: 700;
  color: var(--white);
  padding: 14px 20px;
  transition: border-radius 0.3s ease;
  line-height: 1.6;
}
.faq__question.is-opened {
  border-radius: 10px 10px 0 0;
}
.p-faq__question::-webkit-details-marker {
  display: none;
}
@media (hover: hover) {
  .faq__question:hover {
    cursor: pointer;
  }
}
.faq__question-span {
  display: inline-block;
  white-space: nowrap;
  --clamp-max: 25;
  --clamp-min: 22;
  font-family: "Roboto", sans-serif;
}
.faq__question-btn {
  position: relative;
  width: 40px;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 999em;
  flex-shrink: 0;
}
.faq__question-btn::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999em;
  background: var(--navy);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.faq__question-btn::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999em;
  background: var(--navy);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 1;
  transition: transform 0.3s ease;
}
.faq__question-btn.is-opened::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__answer {
  overflow: hidden;
  background: var(--light-blue);
  font-weight: 500;
  line-height: 2;
  border-radius: 0 0 10px 10px;
}
.faq__answer-flex {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px;
}
.faq__answer-span {
  --clamp-max: 25;
  --clamp-min: 22;
  font-weight: 700;
  color: var(--navy);
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
}
.faq__answer-text {
  --clamp-max: 16;
  --clamp-min: 16;
  font-weight: 500;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  .faq__item {
  }
  .faq__item + .faq__item {
    margin-top: 15px;
  }
  .faq__question-left {
    gap: 10px;
  }
  .faq__question {
    padding: 10px 15px;
  }
  .faq__answer-flex {
    gap: 10px;
    padding: 10px 15px;
  }
  .faq__question-btn {
    width: 25px;
  }
}

/* =============================================
運営会社
============================================= */
.companies {
  border-radius: 100px 100px 0 0;
}
.companies .lead-box {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.companies__inner .table__data {
  width: 50%;
}
/* テーブル */
.companies .table__header {
  min-width: 120px;
}
.companies .table__data {
  font-weight: 500;
}
.companies .table__row:first-of-type .table__header:first-of-type {
  background: none !important;
}
.companies .table__row:first-of-type .table__header {
  border-radius: 20px 20px 0 0;
}
.companies .table__row:nth-of-type(2) .table__header {
  border-radius: 20px 0 0 0;
}
.companies .table__row:first-of-type .table__data:last-of-type {
  border-radius: 0 20px 0 0;
}
.companies .table__row:last-of-type .table__header {
  border-radius: 0 0 0 20px;
}
.companies .table__row:last-of-type .table__data:last-of-type {
  border-radius: 0 0 20px 0;
}
@media screen and (max-width: 767px) {
  .companies {
    border-radius: 30px 30px 0 0;
  }
  .companies .lead-box {
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* =============================================
CTA
============================================= */
.cta {
  background: var(--light-blue);
}
