/* 下層ページ用（規約・プライバシーポリシー・予約後のページ）。
   LPと同じ色・書体を使い、読みやすさだけを優先した簡素な作りにしています。 */

:root {
  --teal: #6fc3c3;
  --teal-light: #83d5df;
  --teal-pale: #e8f6f6;
  --orange: #ff9130;
  --text: #333333;
  --cream: #fef7ef;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --line: #00b900;   /* LINEボタンだけに使う緑（styles.css と同じ） */
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 2; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  height: 80px; padding: 0 24px; background: #fff;
}
.header__logo img { width: 180px; }
.header__nav { margin-left: auto; }
.header__list { display: flex; gap: 24px; }
.header__list a { font-size: 15px; font-weight: 500; color: var(--teal); text-decoration: none; }
.header__list a:hover { opacity: .6; }
.header__cta {
  background: var(--teal); color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}

/* ---------- 本文 ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 72px 24px 96px; }
.legal__head { text-align: center; margin-bottom: 56px; }
.legal__en { font-size: 48px; color: var(--teal-light); line-height: 1.2; }
.legal__title { font-size: 24px; color: var(--teal); margin-top: 8px; }

.legal__body { font-size: 16px; }
.legal__chapter {
  font-size: 22px; font-weight: 700; color: var(--teal);
  margin: 56px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--teal);
}
.legal__article { margin-top: 28px; font-weight: 500; }
.legal__subhead { margin-top: 24px; font-weight: 700; }
.legal__item { margin-top: 4px; padding-left: 1em; text-indent: -1em; }
.legal__p { margin-top: 16px; }
.legal__pdf { margin-top: 32px; }
.legal__pdf a {
  display: inline-block; background: var(--teal); color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
}

/* ---------- フッター ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 72px 20px 48px; background: var(--cream);
}
.footer__logo { width: 220px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer__links a { font-size: 15px; color: var(--teal); text-decoration: none; }
.footer__copy { font-size: 13px; }

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  body { line-height: 1.9; }
  .header { height: 56px; padding: 0 12px; gap: 10px; }
  .header__logo img { width: 118px; }
  .header__nav { display: none; }
  .header__cta { font-size: 12px; padding: 9px 14px; border-radius: 6px; margin-left: auto; }

  .legal { padding: 40px 16px 64px; }
  .legal__head { margin-bottom: 32px; }
  .legal__en { font-size: 30px; }
  .legal__title { font-size: 17px; }
  .legal__body { font-size: 14px; }
  .legal__chapter { font-size: 18px; margin: 40px 0 16px; }
  .legal__article { margin-top: 22px; }

  .footer { padding: 48px 16px 32px; }
  .footer__logo { width: 170px; }
  .footer__links { gap: 14px; }
  .footer__links a { font-size: 13px; }
}


/* ---------- 予約後のページ ---------- */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 20px 72px;
  text-align: center;
}
.thanks__en {
  font-family: "Allura", cursive;
  font-size: 56px;
  line-height: 1.2;
  color: var(--teal-light);
}
.thanks__title { margin: 4px 0 20px; font-size: 24px; font-weight: 700; }
.thanks__lead { margin-bottom: 32px; font-size: 17px; font-weight: 500; }

.thanks__card {
  margin-bottom: 36px;
  padding: 24px 20px;
  border: 1px solid #cfe7e7;
  border-radius: 12px;
  background: var(--teal-pale);
  text-align: left;
}
.thanks__cardTitle {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.thanks__row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #cfe7e7;
  line-height: 1.7;
}
.thanks__row[hidden] { display: none; }
.thanks__row dt { flex: 0 0 88px; font-size: 14px; color: #6b7d7d; }
.thanks__row dd { margin: 0; font-size: 16px; font-weight: 700; }

.thanks__p { margin-bottom: 8px; font-size: 15px; line-height: 2; text-align: left; }

/* 変更・キャンセルの区画は本文1つで終わる（電話番号は 2026-09-21 に消した）。
   「ページに戻る」は inline-block で余白が相殺されないので、最後の文の下の8pxを消して 40px ちょうどにする */
.thanks__contact .thanks__p:last-child { margin-bottom: 0; }
.thanks__telLead { margin-top: 20px; font-size: 14px; color: #777; }
.thanks__tel {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
/* 区画の見出し（アンケート・変更／キャンセル） */
.thanks__sectionTitle {
  margin: 40px 0 8px;
  padding-top: 24px;
  border-top: 1px solid #dbeeee;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}

/* 公式LINEの登録。予約内容のカードと同じ地で、中身は中央寄せ。
   緑はLINEのボタンにだけ使う（DESIGN.md）。
   🔴 上の余白はここで持つ。アンケートが出る人（送信ボタンの下）にも、
      出ない人（受付IDが無くて区画ごと消えるとき）にも、同じ36pxが空く。 */
.thanks__card--line { margin-top: 36px; text-align: center; }
.thanks__lineTitle {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 700;
}
.thanks__card--line .thanks__p { text-align: left; }
.thanks__must { display: block; margin-top: 6px; font-weight: 700; color: var(--text); }
.thanks__line {
  display: block;
  margin: 16px auto 0;
  max-width: 360px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--line);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.thanks__line:hover { opacity: .85; }
.thanks__lineNote { margin: 10px 0 0; font-size: 13px; line-height: 1.8; color: #6b7d7d; }

/* 事前カウンセリングシート（自作フォーム）。
   入力欄はフォーム版LPと同じ決まり（淡いティールの地・罫 #cfe7e7・16px以上・角丸6px）。
   選択肢は指で押しやすいよう1行ずつ。送信ボタンはティール（オレンジは「ページに戻る」に使っている）。 */
.survey { text-align: left; }
.survey__q { margin-top: 28px; }
.survey__label { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.survey__required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #ffe4c7;
  color: #a34700;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
}
.survey__note { margin: 0 0 8px; font-size: 13px; color: #777; }
/* アンケートの説明の2文目（誰が見るか・どこに入るか）。リンクだけ分かるようにする */
.survey__privacy a { color: var(--teal); text-decoration: underline; }
.survey__opts { display: flex; flex-direction: column; gap: 8px; }
.survey__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #cfe7e7;
  border-radius: 8px;
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}
.survey__opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); flex: 0 0 auto; }
.survey__opt:has(input:checked) { background: var(--teal-pale); border-color: var(--teal); }
.survey__opt:has(input:disabled) { opacity: .5; cursor: default; }
/* 送信し終えたあと。書いた内容は読めるまま、触れないようにするだけ */
.survey__form--sent .survey__opt:has(input:disabled) { opacity: 1; background: var(--teal-pale); border-color: #cfe7e7; }
.survey__form--sent .survey__opt:has(input:checked) { border-color: var(--teal); }
.survey__form--sent .survey__input:disabled { background: var(--teal-pale); color: var(--text); opacity: 1; }
.survey__input {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #cfe7e7;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;   /* 16px未満はiOSで拡大されるので下げない */
  line-height: 1.6;
}
.survey__input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.survey__input--area { resize: vertical; }
.survey__input--other { margin-top: 4px; }
.survey__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.survey__error { margin: 8px 0 0; padding: 10px 12px; border-radius: 6px; background: #fdecec; color: #c0392b; font-size: 14px; }
.survey__error--form { margin-top: 20px; }
.survey__submit {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 28px auto 0;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.survey__submit:hover { opacity: .85; }
.survey__submit:disabled { opacity: .6; cursor: default; }
/* 🔴 display: block が hidden に勝つので、消すときは明示する（送信し終えたらボタンを消す） */
.survey__submit[hidden] { display: none; }
/* 送信できたことの知らせ。送信ボタンと同じ位置に出る（ページは切り替えない） */
/* 送信ボタンと同じ位置・同じ幅に出す（下の余白は次の区画が持つ） */
.survey__done {
  max-width: 360px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--teal-pale);
  text-align: center;
}
.survey__doneTitle { margin: 0; color: var(--teal); font-size: 18px; font-weight: 700; }
.survey__doneTitle::before { content: "✓ "; }
.survey__doneLead { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: var(--text); }

.thanks__back {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 40px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.thanks__back:hover { opacity: .85; }

@media (max-width: 440px) {
  .thanks { padding: 40px 16px 56px; }
  .thanks__en { font-size: 44px; }
  .thanks__title { font-size: 20px; }
  .thanks__row { display: block; }
  .thanks__row dt { margin-bottom: 2px; }
}
