@charset "UTF-8";
/* ===================================================================
   ARROW ACT AMEZING  スタイルシート（見た目の設定）
   -------------------------------------------------------------------
   ■ 作りの方針
     ・スマホ（幅375px）を基準に作り、画面が広がったらPC用に変化させます
     ・本文の文字は16px以上、押せる所は必ず44px以上の大きさ
   ■ 色を変えたいときは、すぐ下の「色の設定」だけ書き換えればOKです
   =================================================================== */

/* ========== 色・サイズの設定（ここを変えると全体の色が変わります） ========== */
:root {
  /* TODO: 色を変えたい場合はこの値を書き換えてください */
  --bg:          #0b0b0d;   /* 背景（いちばん濃い黒） */
  --bg-alt:      #121217;   /* 背景（1段明るい黒。セクション交互用） */
  --surface:     #17171d;   /* カードなどの面の色 */
  --line:        #2c2c36;   /* 罫線・枠線 */
  --text:        #eaeaee;   /* 本文の文字色 */
  --muted:       #a6a6b2;   /* 補足の文字色（少し薄い） */
  --gold:        #f5c168;   /* 差し色（スポットライトのゴールド） */
  --gold-deep:   #d99f3c;   /* 差し色の濃いほう */
  --gold-soft:   rgba(245, 193, 104, 0.14); /* ゴールドの薄い膜 */

  --header-h:    60px;      /* ヘッダーの高さ（スマホ） */
  --cta-h:       64px;      /* 画面下の固定ボタンの高さ */
  --radius:      14px;      /* 角の丸み */
  --maxw:        1100px;    /* PCでの本文の最大幅 */
}

/* ========== 全体のリセット（ブラウザごとの差をならす） ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;      /* メニューを押した時にスーッと移動 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* 日本語フォント。Noto Sans JP が読めない時は端末標準のゴシックになります */
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;              /* 本文16px（スマホで読みやすい最低ライン） */
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  /* 画面下の固定ボタンに文章が隠れないよう、下に余白をとる */
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;           /* 横スクロールを絶対に出さない */
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; border: 0; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: 700; }
p { margin: 0 0 1.2em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

/* キーボード操作の人が「今どこを選んでいるか」分かるようにする */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* 目には見えないが読み上げソフトには読まれるテキスト */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ========== 共通パーツ ========== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.center { text-align: center; }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;              /* 指で押しやすい大きさ（44px以上） */
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1206;
  box-shadow: 0 8px 24px rgba(245, 193, 104, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 193, 104, .35); }

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost:hover { background: var(--gold-soft); }

/* ========== ヘッダー ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 13, .88);
  backdrop-filter: blur(10px);      /* 後ろがすりガラスのように透ける */
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}
/* 少しスクロールしたら、ヘッダーを濃くして文字を読みやすくする */
.header.is-scrolled { background: rgba(11, 11, 13, .97); }
.header__inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__logo {
  display: flex;
  align-items: center;
  min-height: 44px;        /* 指で押せる高さを確保 */
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;          /* メニューが増えてもロゴは縮まない・折り返さない */
  white-space: nowrap;
}
.header__logo:hover { text-decoration: none; }
/* ロゴの弓矢マーク */
.header__logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.header__logo-text { display: block; }
.header__logo-main {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--gold);
  line-height: 1.2;
}
.header__logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  line-height: 1.4;
}

/* --- ハンバーガーボタン（右上の三本線） --- */
.hamburger {
  width: 48px; height: 48px;       /* 44px以上を確保 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
/* 開いている時は「×」の形に変形 */
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- メニュー本体（スマホでは右から出てくる引き出し） --- */
.nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 99;
  width: min(82vw, 320px);
  height: 100vh;
  height: 100dvh;
  padding: calc(var(--header-h) + 16px) 20px 40px;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
  transform: translateX(100%);      /* 普段は画面の外に隠れている */
  transition: transform .3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav.is-open { transform: translateX(0); }

.nav__list { display: flex; flex-direction: column; }
.nav__list li { border-bottom: 1px solid var(--line); }
.nav__list a {
  display: flex;
  align-items: center;
  min-height: 56px;                 /* タップ領域をしっかり確保 */
  padding: 8px 4px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.nav__list a:hover { color: var(--gold); text-decoration: none; }

/* メニューを開いた時、後ろを暗くする膜 */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-overlay.is-open { opacity: 1; }
.nav-overlay[hidden] { display: none; }

/* ========== 1. ヒーロー（最初の画面） ========== */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 48px) 20px 64px;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .95;
  z-index: 0;
}
/* 背景の上に薄い黒をかぶせて、文字を読みやすくする */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,.35) 0%, rgba(11,11,13,.55) 60%, rgba(11,11,13,.95) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }

/* ヒーローのロゴ画像 */
.hero__title { margin: 0 0 14px; }
.hero__logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  /* ロゴの後ろにうっすら光を出して、舞台照明のように見せる */
  filter: drop-shadow(0 0 26px rgba(245, 193, 104, .3));
}
.hero__title-ja {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero__catch {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
  margin-bottom: 18px;
}
.hero__lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero__cta { width: 100%; max-width: 340px; }
.hero__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ========== セクション共通 ========== */
.section {
  padding: 72px 0;
  /* メニューから飛んできた時、ヘッダーに見出しが隠れないようにする余白 */
  scroll-margin-top: var(--header-h);
}
.section--alt { background: var(--bg-alt); }

.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section__title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 16px;
}
/* 見出しの下に短いゴールドの線 */
.section__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.section__text { font-size: 16px; color: var(--muted); }

/* ========== YouTube（クリックで読み込む方式） ========== */
/* 枠。16:9の比率を保ち、画面からはみ出さない */
.yt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.yt--main { margin-top: 32px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }

/* サムネイル画像 */
.yt__thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity .25s ease, transform .4s ease;
}
/* 「タップして再生」のボタン */
.yt__btn {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.yt__play {
  width: 68px; height: 68px;       /* 44px以上 */
  border-radius: 50%;
  background: rgba(245, 193, 104, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
  transition: transform .25s ease, background-color .25s ease;
}
/* 三角の再生マーク */
.yt__play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #14100a;
}
.yt__btn:hover .yt__play { transform: scale(1.1); background: var(--gold); }
.yt__btn:hover ~ .yt__thumb, .yt:hover .yt__thumb { opacity: 1; }

/* 実際に読み込まれる動画（iframe） */
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ========== 3. こんな方へ（カード） ========== */
.cards {
  display: grid;
  grid-template-columns: 1fr;       /* スマホは1列 */
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card__icon { font-size: 32px; display: block; margin-bottom: 12px; line-height: 1; }
.card__title { font-size: 18px; margin-bottom: 8px; color: var(--gold); }
.card__text { font-size: 15px; color: var(--muted); margin: 0; }

/* ========== 4. レッスンの流れ ========== */
.flow { margin-top: 28px; position: relative; }
.flow__item {
  display: flex;
  gap: 18px;
  padding-bottom: 32px;
  position: relative;
}
/* 番号どうしを結ぶ縦線 */
.flow__item::before {
  content: "";
  position: absolute;
  left: 23px; top: 52px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-deep), rgba(217,159,60,.15));
}
.flow__item:last-child { padding-bottom: 0; }
.flow__item:last-child::before { display: none; }

.flow__num {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.flow__body { padding-top: 6px; }
.flow__title { font-size: 18px; margin-bottom: 6px; }
.flow__text { font-size: 15px; color: var(--muted); margin: 0; }

/* ========== 5. 講師紹介 ========== */
.teacher { margin-top: 28px; }
.teacher__photo {
  width: 100%;
  max-width: 230px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.teacher__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; }

.teacher__role {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 6px;
}
.teacher__name {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 16px;
}
.teacher__ruby {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: 4px;
}
.teacher__text { font-size: 16px; color: var(--muted); }

.profile {
  margin: 24px 0 28px;
  border-top: 1px solid var(--line);
}
.profile dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  padding-top: 16px;
}
.profile dd {
  font-size: 15px;
  color: var(--muted);
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}

/* ========== 6. 開催概要（表） ========== */
/* 表が画面より広くなった時だけ、この枠の中で横に動かせるようにする */
.table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 16px; vertical-align: top; }
.table th {
  width: 30%;
  min-width: 96px;
  background: var(--surface);
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.table td { color: var(--text); border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
#outline .center { margin-top: 32px; }
#outline .btn { width: 100%; max-width: 340px; }

/* ========== 7. 体験の様子（動画一覧） ========== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;       /* スマホは1列 */
  gap: 24px;
  margin-top: 28px;
}
.video-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}

/* ========== 8. よくある質問（アコーディオン） ========== */
.faq { margin-top: 28px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--gold-deep); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;                 /* タップ領域 */
  padding: 16px 52px 16px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
}
/* ブラウザ標準の三角マークを消す */
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }

/* 右端の「＋」マーク */
.faq__q::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-top: -3px; }

.faq__a {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}
.faq__a p { font-size: 15px; color: var(--muted); margin: 16px 0 0; }

/* ========== 9. アクセス・お問い合わせ ========== */
.access { margin-top: 28px; }
.access__subtitle {
  font-size: 17px;
  color: var(--gold);
  margin: 32px 0 12px;
}
.access__info .access__subtitle:first-child { margin-top: 0; }
.access__address { font-size: 16px; line-height: 2; margin-bottom: 8px; }
.access__note { font-size: 15px; color: var(--muted); }

/* 電話・メールのリンク（大きく押しやすく） */
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  word-break: break-all;            /* 長いメールアドレスがはみ出さないように */
}
.contact-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.contact-link__icon { font-size: 20px; flex: 0 0 auto; }

/* Googleマップ（比率を保ってはみ出さない） */
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- お問い合わせフォーム --- */
.form-block {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 28px;
}
.form-block .access__subtitle { margin-top: 0; }

.form__row { margin-bottom: 20px; }
.form__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #1a1206;
  background: var(--gold);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}
.form__input {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;                  /* 16px未満だとiPhoneで勝手に拡大されるので必ず16px以上 */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.form__input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.form__input::placeholder { color: #6c6c78; }
.form__textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form__input.is-error { border-color: #e26b6b; }

.form__privacy { font-size: 14px; color: var(--muted); }
.form__submit { width: 100%; }
.form__status { font-size: 15px; margin: 14px 0 0; min-height: 1.5em; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-ng { color: #ff9d9d; }

/* ========== 10. フッター ========== */
.footer {
  background: #06060a;
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  text-align: center;
}
/* フッターのロゴ画像 */
.footer__logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 14px;
  opacity: .95;
}
.footer__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer__sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

.footer__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 28px;
  font-size: 15px;
}
.footer__info dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  margin-top: 14px;
}
.footer__info dd { color: var(--muted); }
/* フッターの電話・メールも指で押しやすい高さを確保する */
.footer__info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: break-all;
}

.footer__copy { font-size: 12px; color: #6c6c78; margin: 0; }

/* ========== 画面下の固定申込ボタン ========== */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 11, 13, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.fixed-cta__btn {
  flex: 1 1 0;
  min-width: 0;                     /* 文字が長くてもはみ出さない */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;                 /* 44px以上を確保 */
  padding: 8px 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.fixed-cta__btn:hover { text-decoration: none; }
.fixed-cta__btn--tel {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
}
.fixed-cta__btn--mail {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

/* 画面がとても狭い機種（iPhone SE など幅360px未満）では、
   ボタンの文字がはみ出さないよう少しだけ小さくする */
@media (max-width: 359px) {
  .fixed-cta { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .fixed-cta__btn {
    font-size: 13px;
    gap: 4px;
    padding: 8px 4px;
    letter-spacing: -.02em;
  }
}

/* ========== スクロールでふわっと表示（控えめに） ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 「動きを減らす」設定にしている人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   ここから下は「画面が広いとき」の設定
   スマホ用の指定を、タブレット→PC の順に上書きしていきます
   =================================================================== */

/* ---------- 幅600px以上（大きめのスマホ／小さいタブレット） ---------- */
@media (min-width: 600px) {
  .hero__logo { max-width: 400px; }
  .hero__catch { font-size: 22px; }
  .section__title { font-size: 30px; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__info { grid-template-columns: 120px 1fr; column-gap: 16px; }
  .footer__info dt { margin-top: 10px; }
  .footer__info dd { margin-top: 10px; }

  .fixed-cta { justify-content: center; }
  .fixed-cta__btn { flex: 0 1 240px; font-size: 15px; }
}

/* ---------- 幅768px以上（タブレット） ---------- */
@media (min-width: 768px) {
  :root { --header-h: 72px; }

  .section { padding: 96px 0; }
  .container { padding: 0 32px; }

  .hero__logo { max-width: 480px; }
  .hero__title-ja { font-size: 16px; }
  .hero__catch { font-size: 24px; }
  .hero__lead { font-size: 17px; }
  .hero__cta { width: auto; min-width: 340px; }

  .yt--main { max-width: 900px; margin-left: auto; margin-right: auto; }

  /* 講師：写真とプロフィールを横並びに */
  .teacher {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
  }
  .teacher__photo { margin: 0; max-width: none; }

  /* アクセス：情報と地図を横並びに */
  .access {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .map { aspect-ratio: 3 / 4; }

  .form-block { padding: 32px 32px 36px; }
  .form__submit { width: auto; min-width: 260px; }

  .table th { width: 22%; }
}

/* ---------- 幅1024px以上（PC） ---------- */
@media (min-width: 1024px) {
  body { font-size: 17px; }

  .hero { min-height: 92vh; }
  .hero__logo { max-width: 560px; }
  .hero__catch { font-size: 26px; }

  .section__title { font-size: 34px; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }

  .access { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .map { aspect-ratio: 4 / 3; }

  .flow { max-width: 780px; }
}

/* ---------- 幅1120px以上（横長のPC） ----------
   メニュー項目8つを1行に並べられる幅になったら、
   ハンバーガーをやめて横並びメニューに切り替えます */
@media (min-width: 1120px) {
  .hamburger { display: none; }
  .nav-overlay { display: none !important; }

  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    overflow: visible;
  }
  .nav__list { flex-direction: row; flex-wrap: nowrap; gap: 0; }
  .nav__list li { border-bottom: 0; }
  .nav__list a {
    min-height: 44px;
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;      /* メニュー名を途中で折り返さない */
    border-radius: 8px;
  }
  .nav__list a:hover { background: var(--gold-soft); color: var(--gold); }

  .header__logo-main { font-size: 18px; }
  .header__logo-sub { font-size: 11px; }
}
