/* =========================================================
   Hatomi Academy — style.css
   明るく親しみやすい / 教育・オンラインスクール（架空サンプル）
   アクセント: マリーゴールド/アンバー #F2A413
   ========================================================= */

:root {
  --bg:       #FFFBF2;   /* 明るいオフホワイト（わずかに暖色） */
  --bg-2:     #FFF6E6;   /* 淡いアンバーの面 */
  --bg-3:     #FDEFD6;
  --card:     #FFFFFF;
  --ink:      #2A2620;   /* 温かみのある濃インク */
  --ink-2:    #514A40;
  --muted:    #8A8275;
  --line:     #EFE7D8;
  --accent:   #F2A413;   /* マリーゴールド / アンバー */
  --accent-d: #D88A00;   /* 濃いめ（hover） */
  --accent-soft: #FCEAC4;
  --accent-ink: #8F5A00;   /* 明るい地に載せる文字用の濃いアンバー（白・淡色の地で 4.5:1 以上） */
  --navy:     #233A5E;   /* 補助の濃紺 */
  --warn:     #C9472E;   /* エラー */

  --shadow-sm: 0 4px 14px rgba(120, 90, 20, .08);
  --shadow:    0 16px 44px rgba(120, 90, 20, .12);
  --radius:    20px;
  --radius-lg: 32px;
  --header-h:  72px;

  --jp:   "Noto Sans JP", system-ui, sans-serif;
  --head: "Plus Jakarta Sans", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --round:"Zen Maru Gothic", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--jp); font-weight: 400; line-height: 1.85; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.4; letter-spacing: .01em; word-break: auto-phrase; text-wrap: pretty; }
p { margin: 0; }
figure, figcaption, blockquote, dl, dt, dd, fieldset, legend, menu { margin: 0; }
fieldset { padding: 0; border: 0; min-inline-size: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-d); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 8px; top: -56px; background: var(--accent); color: var(--ink); padding: 10px 18px; border-radius: 999px; z-index: 2000; transition: top .2s; font-weight: 700; }
.skip-link:focus { top: 8px; }

.wrap { width: min(1160px, 92vw); margin-inline: auto; }
.center { text-align: center; }

/* ---------- reveal（フェイルセーフ） ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- 共通パーツ ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 3px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }

.hl { color: var(--accent-ink); position: relative; }

.section { padding: clamp(48px, 6vw, 92px) 0; }
.section--soft { background: var(--bg-2); }

.h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.sec-head { margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head.center { max-width: 640px; margin-inline: auto; }
.sec-lead { margin-top: 14px; color: var(--ink-2); }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.link-u { font-family: var(--head); font-weight: 700; color: var(--accent-ink); border-bottom: 2px solid var(--accent-soft); padding-bottom: 2px; transition: border-color .3s; white-space: nowrap; }
.link-u:hover { border-color: var(--accent); }

.arrow { transition: transform .3s var(--ease); display: inline-block; }
.ck { color: var(--accent-ink); font-weight: 700; margin-right: .5em; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--accent); color: var(--accent-ink); background: transparent; transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-fill { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-fill:hover { background: var(--accent-d); border-color: var(--accent-d); box-shadow: var(--shadow); }
.btn-outline { background: var(--card); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,251,242,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 800; box-shadow: var(--shadow-sm); }
.global-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; }
.nav-link { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav-link:hover { color: var(--accent-ink); background: var(--accent-soft); }
.nav-link.is-active { color: var(--accent-ink); }
.header-cta { padding: 10px 20px; font-size: .9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: 0; overflow: hidden; background: var(--bg); z-index: 999; visibility: hidden; transition: height .4s var(--ease), visibility .4s; }
.mobile-menu.is-open { height: calc(100vh - var(--header-h)); visibility: visible; }
.mobile-menu ul { padding: 18px 7vw; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { display: block; font-family: var(--head); font-weight: 700; font-size: 1.3rem; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a.is-active { color: var(--accent-ink); }
.mobile-menu__cta { color: var(--accent-ink) !important; border-bottom: 0 !important; }

/* ---------- ヒーロー ---------- */
.hero { padding: clamp(40px, 7vw, 86px) 0 clamp(20px, 4vw, 40px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-family: var(--round); font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.2; margin: 18px 0 22px; }
.hero__lead { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__note { margin-top: 22px; color: var(--muted); font-size: .9rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__badge { position: absolute; left: -18px; bottom: 28px; background: var(--card); border-radius: 20px; padding: 16px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2; border: 1px solid var(--line); }
.hero__badge strong { font-family: var(--head); font-size: 1.8rem; color: var(--accent-ink); }
.hero__badge span { font-size: .8rem; color: var(--muted); }

/* ---------- キーワード帯（静的・タグ整列） ---------- */
.keyband { background: var(--navy); padding: 22px 0; }
.keyband__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.keyband__item { font-family: var(--head); font-weight: 700; font-size: .9rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 18px; line-height: 1.3; }
.keyband__item::before { content: "✦"; color: var(--accent); margin-right: 8px; }
@media (max-width: 560px) { .keyband__item { font-size: .82rem; padding: 7px 14px; } }

/* ---------- 選ばれる理由 ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reason-card h3 { font-family: var(--round); font-size: 1.12rem; margin-bottom: 10px; }
.reason-card p { color: var(--ink-2); font-size: .94rem; }
.reason-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); margin-bottom: 18px; }
.reason-card__icon::before { font-size: 1.6rem; line-height: 1; }
.reason-card__icon--spark::before { content: "✨"; }
.reason-card__icon--clock::before { content: "🕒"; }
.reason-card__icon--chat::before  { content: "💬"; }
.reason-card__icon--heart::before { content: "🤝"; }

/* ---------- コースカード ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-grid--all { grid-template-columns: repeat(3, 1fr); }
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card.is-hidden { display: none; }
.course-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: .76rem; padding: 5px 12px; border-radius: 999px; }
.course-card__cat { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-family: var(--head); font-weight: 700; font-size: .74rem; padding: 5px 12px; border-radius: 999px; }
.course-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-family: var(--round); font-size: 1.2rem; margin-bottom: 12px; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.course-card__meta li { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--ink-2); }
.course-card__lead { color: var(--ink-2); font-size: .92rem; margin-bottom: 14px; }
.course-card__points { margin-bottom: 18px; }
.course-card__points li { font-size: .86rem; color: var(--ink-2); padding: 3px 0; }
.course-card__link { margin-top: auto; font-family: var(--head); font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: .4em; }
.course-card__link:hover .arrow { transform: translateX(4px); }

/* ---------- コース絞り込み ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 34px; }
.filter-chip { font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 9px 20px; border-radius: 999px; border: 2px solid var(--line); color: var(--ink-2); background: var(--card); transition: all .25s; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.filters__count { margin-left: auto; color: var(--muted); font-size: .88rem; }

/* ---------- 学びの流れ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); }
.step__no { font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.step__title { font-family: var(--round); font-size: 1.08rem; margin: 14px 0 10px; }
.step__desc { color: var(--ink-2); font-size: .92rem; }

/* ---------- 数字バンド ---------- */
.stats-band { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 76px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--accent); line-height: 1; }
.stat__suffix { font-size: .55em; margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: .9rem; color: rgba(255,255,255,.82); }
.stats-note { color: var(--muted); font-size: .8rem; margin-top: 18px; }

/* ---------- 受講生の声 ---------- */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.voice-card__text { font-size: .96rem; color: var(--ink-2); line-height: 1.9; margin: 0 0 16px; }
.voice-card__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.voice-card__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.voice-card__person strong { display: block; font-family: var(--round); font-size: 1rem; }
.voice-card__person em { font-style: normal; font-size: .8rem; color: var(--muted); margin-top: 1px; }

/* ---------- 料金プラン ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: .78rem; padding: 6px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan__name { font-family: var(--round); font-weight: 700; font-size: 1.4rem; }
.plan__note { color: var(--muted); font-size: .86rem; margin: 8px 0 18px; min-height: 2.6em; }
.plan__price { font-family: var(--head); font-weight: 800; font-size: 2.1rem; color: var(--ink); display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan__unit { font-family: var(--jp); font-weight: 400; font-size: .82rem; color: var(--muted); }
.plan__list { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan__list li { display: flex; gap: 8px; font-size: .92rem; color: var(--ink-2); align-items: flex-start; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; font-family: var(--round); font-weight: 700; font-size: 1.02rem; padding: 20px 56px 20px 24px; position: relative; color: var(--ink); }
.faq-q__icon { position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; background: var(--accent-d); border-radius: 2px; }
.faq-q__icon::before { left: 0; top: 7px; width: 16px; height: 2.5px; }
.faq-q__icon::after { left: 7px; top: 0; width: 2.5px; height: 16px; transition: transform .3s; }
.faq-item.is-open .faq-q__icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a__inner { padding: 0 24px 22px; color: var(--ink-2); font-size: .94rem; }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); background: var(--bg-2); }
.page-hero h1 { font-family: var(--round); font-size: clamp(2rem, 5vw, 3.2rem); margin: 14px 0 14px; }
.page-hero .lead { color: var(--ink-2); max-width: 40em; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent-ink); }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about-intro__media img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-intro__body h2 { margin: 14px 0 18px; }
.about-intro__body p { color: var(--ink-2); margin-bottom: 16px; }
.about-intro__body strong { color: var(--accent-ink); }

.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.support-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.support-card__no { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--accent); }
.support-card h3 { font-family: var(--round); font-size: 1.06rem; margin: 10px 0 8px; }
.support-card p { color: var(--ink-2); font-size: .9rem; }

/* ---------- 講師 ---------- */
.teachers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teacher-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.teacher-card:hover { transform: translateY(-6px); }
.teacher-card__media { aspect-ratio: 4/4.6; overflow: hidden; }
.teacher-card__media img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card figcaption { padding: 16px 18px 18px; }
.teacher-card figcaption strong { display: block; font-family: var(--round); font-size: 1.08rem; }
.teacher-card figcaption em { display: block; font-style: normal; font-size: .82rem; color: var(--accent-ink); font-weight: 600; margin-top: 3px; }
.teacher-card--bio figcaption p { margin-top: 9px; color: var(--ink-2); font-size: .9rem; }
.teachers-grid--bio { grid-template-columns: repeat(4, 1fr); }

/* ---------- CTAバンド ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%); color: var(--ink); padding: clamp(56px, 8vw, 96px) 0; }
.cta-box { max-width: 660px; margin-inline: auto; text-align: center; }
.cta-box h2 { font-family: var(--round); font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 14px 0 14px; }
.cta-box p { color: var(--ink); margin-bottom: 30px; }
/* アンバーの帯の上のラベル・ゴーストボタンは濃インクで（白文字だとコントラスト不足） */
.cta-band .eyebrow, .cta-band .eyebrow--light { color: var(--ink); }
.cta-band .eyebrow::before, .cta-band .eyebrow--light::before { background: var(--ink); }
.cta-band .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.3); }
.cta-box__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-fill { background: #fff; border-color: #fff; color: var(--accent-ink); }
.cta-band .btn-fill:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- フォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.form-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--head); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.req { color: var(--warn); font-size: .8rem; }
.opt { color: var(--muted); font-size: .78rem; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--jp); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--warn); }
.field-error { color: var(--warn); font-size: .82rem; margin-top: 6px; }
.alert { background: #FCE9E4; border: 1px solid #F0BCB0; color: var(--warn); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; font-size: .9rem; }
.form-note { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.form-aside__big { font-family: var(--round); font-weight: 700; font-size: 1.5rem; line-height: 1.4; margin-bottom: 24px; }
.form-aside__list { display: grid; gap: 12px; margin-bottom: 28px; }
.form-aside__list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.92); }
.form-aside dl { display: grid; gap: 4px; }
.form-aside dt { font-family: var(--head); font-weight: 700; font-size: .8rem; color: var(--accent); margin-top: 12px; }
.form-aside dd { margin: 0; font-size: .92rem; color: rgba(255,255,255,.9); }

/* ---------- thanks ---------- */
.thanks { max-width: 600px; margin-inline: auto; text-align: center; }
.thanks__icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.thanks h1 { font-family: var(--round); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.thanks p { color: var(--ink-2); }
.thanks__note { color: var(--accent-ink); font-size: .84rem; margin-top: 18px; }
.thanks__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.84); padding: clamp(48px, 6vw, 76px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-logo { font-family: var(--round); font-weight: 700; font-size: 1.4rem; color: #fff; }
.footer-tag { margin-top: 10px; font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-h { display: block; font-family: var(--head); font-weight: 700; font-size: .82rem; color: var(--accent); letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .9rem; padding: 5px 0; color: rgba(255,255,255,.8); transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-hours { font-size: .82rem; color: rgba(255,255,255,.62); margin-top: 6px; }
.footer-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.sample-note { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.copyright { font-size: .82rem; color: rgba(255,255,255,.7); }

/* ---------- to-top / toast ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 1.2rem; box-shadow: var(--shadow); z-index: 900; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-d); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; z-index: 1500; }
.toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 980px) {
  .reasons-grid, .steps, .stats, .support-grid, .teachers-grid, .teachers-grid--bio { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .course-grid--all, .voices-grid, .plans { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .global-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .about-intro { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.is-featured { order: -1; }
}

@media (max-width: 560px) {
  .reasons-grid, .steps, .stats, .support-grid, .teachers-grid, .teachers-grid--bio,
  .course-grid, .course-grid--all, .voices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__badge { left: 12px; }
  .sec-head--row { align-items: flex-start; }
}
