@charset "UTF-8";

/* =============================================================
   Contact page
   ============================================================= */

.page-hero {
  padding-top: 9.32%; /* 138 / 1480 */
}

/* Page-local palette (slightly deeper navy / teal than the base) */
.ct-intro,
.ct-flow,
.ct-faq,
.ct-form {
  --navy: #0a1430;
  --teal2: #17b0c2;
  color: var(--navy);
}

.u-teal2 {
  color: var(--teal2);
}

/* ---- Intro --------------------------------------------------- */
.ct-intro {
  --ratio: 0.625; /* 925 / 1480 */
  background-image: url("../img/ct-intro.webp");
  padding-top: 7.7%; /* 114 / 1480 */
  padding-bottom: 5%;
}

.ct-intro__title {
  font-size: var(--fs-42);
  font-weight: 700;
  line-height: 1.2;
}

.ct-intro__text {
  margin-top: 3.3%; /* 40 / 1200 */
  font-size: 18px;
  font-weight: 600;
  line-height: 1.63;
}

/* Feature cards */
.feature-cards {
  margin-top: 4.4%; /* 53 / 1200 */
  display: grid;
  gap: 11px;
  width: min(100%, 612px);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 135px;
  padding: 16px 24px;
  border: 1.5px solid #c7e0eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 10px rgba(153, 178, 204, 0.15);
}

.feature-card__icon {
  flex: none;
  width: auto;
  max-width: 90px;
  max-height: 84px;
  padding-right: 28px;
  border-right: 2px solid #d9e5ed;
  box-sizing: content-box;
}

.feature-card__text {
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.73;
}

/* ---- Trial lesson flow --------------------------------------- */
.ct-flow {
  --ratio: 0.563; /* 833 / 1480 */
  background-image: url("../img/ct-flow.webp");
  padding-top: 10%; /* 148 / 1480 */
  padding-bottom: 6%;
}

.ct-flow__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.ct-flow__text {
  margin-top: 2.9%; /* 47 / 1200 */
  font-size: 20px;
  font-weight: 500;
  line-height: 1.58;
}

.step-cards {
  margin-top: 5.4%; /* 65 / 1200 */
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 303px;
  padding: 62px 14px 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(153, 184, 204, 0.18);
  text-align: center;
}

.step-card__num {
  position: absolute;
  left: 50%;
  top: -8px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal2);
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.step-card__title {
  font-size: var(--fs-22);
  font-weight: 700;
  line-height: 1.2;
}

.step-card__img {
  width: auto;
  height: 72px;
  margin: 18px auto 0;
  object-fit: contain;
}

.step-card__text {
  margin-top: 16px;
  color: #0f1a38;
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
}

/* ---- FAQ ----------------------------------------------------- */
.ct-faq {
  --ratio: 0.6655; /* 985 / 1480 */
  background-image: url("../img/ct-faq.webp");
  padding-top: 8.1%; /* 120 / 1480 */
  padding-bottom: 6%;
}

.ct-faq__title {
  font-size: var(--fs-42);
  font-weight: 700;
  line-height: 1.2;
}

.ct-faq__eyebrow {
  margin-top: 1%; /* 31 / 1200 */
}

.faq-list {
  margin-top: 5.6%; /* 67 / 1200 */
  display: grid;
  gap: 34px;
  width: min(100%, 674px);
}

.faq-card {
  padding: 17px 27px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(153, 184, 204, 0.16);
}

.faq-card__q,
.faq-card__a {
  position: relative;
  margin: 0;
  padding-left: 70px;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.faq-card__q::before,
.faq-card__a::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #12a8c2;
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.625rem;
  line-height: 1;
}

.faq-card__q {
  font-size: var(--fs-24);
}

.faq-card__q::before {
  content: "Q";
}

.faq-card__a {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 2px dashed #cfe0ea;
  font-size: 18px;
  font-weight: 500;
  line-height: 31px;
}

.faq-card__a::before {
  content: "A";
  top: 6px;
}

/* ---- Contact form -------------------------------------------- */
.ct-form {
  --ratio: 0.702; /* 1039 / 1480 */
  background-image: url("../img/ct-form.webp");
  padding-top: 8.1%; /* 120 / 1480 */
  padding-bottom: 6%;
}

.ct-form__inner {
  display: grid;
  grid-template-columns: minmax(0, 458px) minmax(0, 600px);
  justify-content: space-between;
  column-gap: clamp(1.5rem, 3vw, 142px);
  align-items: start;
}

.ct-form__title {
  font-size: var(--fs-42);
  font-weight: 700;
  line-height: 1.2;
}

.ct-form__eyebrow {
  margin-top: 2.6%;
}

.ct-form__text {
  margin-top: 8%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.73;
}

/* Shop info card */
.shop-info {
  margin-top: 9%;
  padding: 26px 32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(153, 184, 204, 0.16);
}

.shop-info__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}

.shop-info__row + .shop-info__row {
  border-top: 1.5px solid #e0e8f0;
}

.shop-info__row dt {
  flex: none;
  width: 62px;
  display: grid;
  place-items: center;
}

.shop-info__row dt img {
  width: auto;
  max-height: 52px;
}

.shop-info__row dd {
  margin: 0;
}

.shop-info__label {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.shop-info__value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* Form card */
.contact-form {
  padding: clamp(1.5rem, 2.3vw, 2rem) clamp(1.25rem, 2.5vw, 27px);
  border: 1px solid var(--teal2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.field + .field {
  margin-top: 23px;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.field__badge {
  flex: none;
  padding: 2px 9px;
  border: 1.5px solid #e0631a;
  border-radius: 6px;
  background: #fff7f0;
  color: #e0631a;
  font-size: clamp(0.75rem, 1.15vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.5;
}

.field__input {
  width: 100%;
  margin-top: 12px;
  padding: 0.6em 22px;
  min-height: 60px;
  border: 1.5px solid #d4dbe5;
  border-radius: 8px;
  background: #fcfeff;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.field__input::placeholder {
  color: #9ea8b8;
}

.field__input:focus {
  border-color: var(--teal2);
  outline: 2px solid rgba(23, 176, 194, 0.25);
  outline-offset: 0;
}

.field__input--area {
  min-height: 197px;
  padding-block: 14px;
  resize: vertical;
}

.contact-form__privacy {
  margin-top: 23px;
  color: #404d61;
  font-size: var(--fs-15);
  font-weight: 500;
  line-height: 1.6;
}

.contact-form__privacy a {
  color: #12a8c2;
  text-decoration: underline;
}

.submit-btn {
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: min(100%, 309px);
  min-height: 71px;
  padding-inline: 1.5em;
  border-radius: 53px;
  background: linear-gradient(90deg, #21bfd9 0%, #088cb2 100%);
  box-shadow: 0 12px 30px rgba(8, 140, 178, 0.4);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 140, 178, 0.5);
}

.submit-btn__icon {
  flex: none;
  width: 30px;
}

/* ---- Tokyo partner banner ------------------------------------ */
.tokyo-banner {
  padding: clamp(1.5rem, 4.5vw, 4.5rem) 0 0;
  background: #fff;
}

.tokyo-banner__full {
  width: min(100% - 6.5vw, 1108px);
  margin-inline: auto;
}

/* SP用の分割表示。768px以上では隠す */
.tokyo-banner__sp {
  display: none;
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .step-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ct-form__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(2rem, 5vw, 3.5rem);
  }

  .ct-form__lead,
  .contact-form {
    max-width: 640px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .ct-intro,
  .ct-flow,
  .ct-faq,
  .ct-form {
    padding-block: clamp(3rem, 9vw, 5rem);
  }

  .ct-intro__text,
  .feature-cards,
  .ct-flow__text,
  .step-cards,
  .ct-faq__eyebrow,
  .faq-list,
  .ct-form__eyebrow,
  .ct-form__text,
  .shop-info {
    margin-top: clamp(1rem, 3vw, 2rem);
  }
}

@media (max-width: 767px) {
  .feature-card {
    gap: 16px;
    padding: 14px 16px;
    min-height: 0;
  }

  .feature-card__icon {
    max-width: 56px;
    max-height: 56px;
    padding-right: 16px;
  }

  .feature-card__text br,
  .ct-flow__text br {
    display: none;
  }

  .step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .step-card {
    min-height: 0;
    padding: 56px 10px 18px;
  }

  .step-card__img {
    height: 56px;
  }

  .faq-list {
    gap: 18px;
  }

  .faq-card {
    padding: 14px 16px 18px;
  }

  .faq-card__q,
  .faq-card__a {
    padding-left: 48px;
    min-height: 36px;
  }

  .faq-card__q::before,
  .faq-card__a::before {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .shop-info {
    padding: 16px 18px;
  }

  .shop-info__row {
    gap: 14px;
  }

  .shop-info__row dt {
    width: 40px;
  }

  .shop-info__row dt img {
    max-height: 36px;
  }

  .field__input {
    min-height: 52px;
    padding-inline: 14px;
    font-size: 1rem;
  }

  .submit-btn {
    width: 100%;
  }
}

/* ---- 店舗のご案内（岡崎店・東京店を並列表記）------------------ */
.shops {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(180deg, #fff 0%, #f3f9fb 100%);
  text-align: center;
}

.shops__eyebrow {
  color: var(--teal);
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shops__title {
  margin-top: 6px;
  font-size: var(--fs-42);
  font-weight: 700;
  line-height: 1.4;
}

.shops__list {
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.7vw, 2.5rem);
  align-items: start;
}

.shop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.7vw, 2.5rem);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(153, 184, 204, 0.18);
  text-align: left;
}

.shop-card__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-28);
  font-weight: 700;
  line-height: 1.3;
}

.shop-card__name::before {
  content: "";
  flex: none;
  width: 6px;
  height: 1.1em;
  border-radius: 100px;
  background: var(--teal);
}

/* カード内では白背景・影を外して二重にならないようにする */
.shop-info--card {
  margin-top: 4%;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  flex: 1;
}

.shop-card__line {
  margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
  width: 100%;
}

@media (max-width: 767px) {
  .shops__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-info--card .shop-info__row {
    gap: 16px;
    padding-block: 12px;
  }

  .shop-info--card .shop-info__row dt {
    width: 40px;
  }

  .shop-info--card .shop-info__row dt img {
    max-height: 34px;
  }
}

/* タブレット幅でもバナー内の文字が小さくなりすぎるため、900px以下で分割表示に切り替える */
@media (max-width: 900px) {
  /* 横長1枚だと文字が潰れる／横スクロールだと右半分（提携店舗名）に
     気づけないため、ロゴ画像＋テキストの縦組みに切り替える */
  .tokyo-banner__full {
    display: none;
  }

  .tokyo-banner__sp {
    display: block;
    width: min(calc(100% - 40px), 520px);
    margin-inline: auto;
    padding: 20px 18px 22px;
    border: 1px solid #d8e6ea;
    border-radius: 14px;
    background: #fff;
    text-align: center;
  }

  .tokyo-banner__logos {
    display: block;
    width: min(100%, 300px);
    height: auto;
    margin-inline: auto;
  }

  .tokyo-banner__label {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
  }

  .tokyo-banner__pin {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
  }

  .tokyo-banner__shops {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    color: #0d1440;
  }

  .tokyo-banner__note {
    margin-top: 12px;
    display: inline-block;
    padding: 5px 18px;
    border: 1px solid var(--teal);
    border-radius: 100px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
  }
}

/* ---- 2026-09 校正対応 ----------------------------------------- */
/* 店舗選択（ラジオ） */
.field--radio {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field--radio + .field {
  margin-top: 23px;
}

.field--radio legend {
  padding: 0;
}

.field__radios {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.field__radio {
  position: relative;
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0.6em 1em;
  border: 1.5px solid #d4dbe5;
  border-radius: 8px;
  background: #fcfeff;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field__radio input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--teal2);
  cursor: pointer;
}

.field__radio:has(input:checked) {
  border-color: var(--teal2);
  background: #f0fbfc;
  box-shadow: 0 0 0 2px rgba(23, 176, 194, 0.25);
}

.field__radio:has(input:focus-visible) {
  outline: 2px solid rgba(23, 176, 194, 0.5);
  outline-offset: 2px;
}

/* 居住地の補足 */
.field__hint {
  color: #6b7789;
  font-size: var(--fs-15);
  font-weight: 500;
}

/* 任意項目のバッジ */
.field__badge--optional {
  border-color: #9ea8b8;
  background: #f4f6f9;
  color: #5b6777;
}

/* ---- 2026-09 お問い合わせフォーム送信機能 ----------------------- */
/* スパム対策の入力欄（画面には表示しない） */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 入力エラー */
.field.is-error .field__input,
.field.is-error .field__radio {
  border-color: #d93a3a;
  background: #fff8f8;
}

.field__error {
  margin-top: 8px;
  color: #d93a3a;
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.5;
}

/* 送信結果のメッセージ */
.contact-form__status {
  margin-top: 23px;
  padding: 12px 16px;
  border: 1.5px solid #d93a3a;
  border-radius: 8px;
  background: #fff8f8;
  color: #d93a3a;
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.6;
}

.contact-form__status[hidden] {
  display: none;
}

/* 送信中 */
.submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
