@charset "UTF-8";
/* ==========================================================================
   AI活用スクール AI8 — メインスタイルシート
   1. 変数・リセット
   2. 共通パーツ（ボタン／セクション見出し／背景エフェクト）
   3. ヘッダー・ナビゲーション
   4. ヒーロー
   5. 各セクション
   6. フッター・追従CTA
   7. 下層ページ
   8. レスポンシブ
   9. モーション低減対応
   ========================================================================== */

/* ==========================================================================
   1. 変数・リセット
   ========================================================================== */
:root {
  /* カラー */
  --bg:          #0A0A0F;
  --bg-2:        #0B0E1A;
  --navy:        #16264F;
  --navy-deep:   #0F1B3D;
  --accent:      #3B6FF5;
  --accent-dark: #2C57DD;
  --cyan:        #6FD3FF;

  --text:   #E8ECF5;
  --text-2: #D5DCEC;
  --text-3: #C4CCE0;
  --text-4: #AEB8D0;
  --text-5: #9BA6C0;
  --text-6: #8A94AD;

  --line:      rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .06);
  --card-bg:   linear-gradient(165deg, rgba(22, 38, 79, .40), rgba(255, 255, 255, .02));

  /* フォント */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Space Grotesk", var(--font-jp);

  /* レイアウト */
  --header-h:   72px;
  --pad-x:      clamp(20px, 5vw, 32px);
  --section-y:  clamp(72px, 10vw, 120px);
  --radius:     16px;
  --radius-lg:  22px;

  /* ヒーロー演出タイミング（数値を変えると登場速度を調整できます） */
  --t-label:   .15s;
  --t-divider: .50s;
  --t-catch:   .80s;
  --t-sub:    3.05s;
  --t-badges: 3.35s;
  --t-cta:    3.65s;
  --char-step: .105s;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 720px at 50% -12%, rgba(22, 38, 79, .60), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--cyan); text-decoration: none; transition: color .25s ease; }
a:hover { color: #A6E4FF; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; }
::selection { background: rgba(59, 111, 245, .40); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   2. 共通パーツ
   ========================================================================== */

/* --- 背景エフェクト（グリッド＋光のにじみ） --- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-fx__grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  animation: gridPan 60s linear infinite;
}
.bg-fx__glow { position: absolute; border-radius: 50%; }
.bg-fx__glow--a {
  top: -260px; left: -180px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(59, 111, 245, .22), rgba(59, 111, 245, .08) 38%, transparent 70%);
  animation: driftA 26s ease-in-out infinite;
}
.bg-fx__glow--b {
  bottom: -320px; right: -220px; width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(111, 211, 255, .15), rgba(111, 211, 255, .05) 40%, transparent 72%);
  animation: driftB 32s ease-in-out infinite;
}

@keyframes gridPan { from { background-position: 0 0; }        to { background-position: 70px 70px; } }
@keyframes driftA  { 0%, 100% { transform: translate(0, 0); }   50% { transform: translate(60px, -40px); } }
@keyframes driftB  { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, 50px) scale(1.12); } }

/* --- コンテナ --- */
.container      { width: 100%; max-width: 1100px; margin-inline: auto; }
.container--lg  { max-width: 1160px; }
.container--md  { max-width: 1120px; }
.container--sm  { max-width: 1000px; }
.container--xs  { max-width: 820px; }

/* --- セクション --- */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) var(--pad-x);
  scroll-margin-top: var(--header-h);
}
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-en);
  font-size: clamp(27px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.34;
  color: #fff;
  text-wrap: balance;
}
.section__lead {
  margin-top: 16px;
  color: var(--text-4);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
}
/* 途中で改行させたくない語句を囲むためのクラス */
.nb { white-space: nowrap; }

.note {
  text-align: center;
  margin: 40px auto 0;
  max-width: 720px;
  color: var(--text-6);
  font-size: 13.5px;
  line-height: 1.9;
}
.accent { color: var(--cyan); }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: 1px solid rgba(111, 211, 255, .40);
  box-shadow: 0 8px 28px rgba(59, 111, 245, .36);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59, 111, 245, .52);
}
.btn--ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .20);
}
.btn--ghost:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(111, 211, 255, .50);
}
.btn--sm { min-height: 0; padding: 11px 20px; font-size: 14.5px; border-radius: 10px; }
.btn--glow { box-shadow: 0 0 38px rgba(59, 111, 245, .55), 0 8px 30px rgba(59, 111, 245, .40); }

/* --- スクロール表示アニメーション（JS有効時のみ隠す） --- */
.js .reveal,
.js .reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.js .reveal.is-visible,
.js .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   3. ヘッダー・ナビゲーション
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
}
.site-header__bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, .72);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.site-header.is-scrolled .site-header__bg { opacity: 1; }
.site-header__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .06em;
  background: linear-gradient(120deg, var(--cyan), var(--accent));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.logo__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--text-6);
  -webkit-text-fill-color: var(--text-6);
}
.logo--footer { margin-bottom: 16px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--text-3); font-size: 14.5px; font-weight: 500; }
.nav__link:hover { color: var(--cyan); }

.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(10, 10, 15, .94);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: max-height .4s ease, opacity .3s ease;
}
.mobile-panel.is-open { max-height: 440px; opacity: 1; pointer-events: auto; }
.mobile-panel__inner { display: flex; flex-direction: column; padding: 12px 24px 22px; }
.mobile-panel__inner a {
  color: var(--text-2);
  font-size: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-panel__cta {
  margin-top: 14px;
  border-bottom: none;
  font-size: 16px;
}

/* ==========================================================================
   4. ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  background: radial-gradient(ellipse at 50% 42%, var(--navy) 0%, #0B1224 52%, #08080F 100%);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 211, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 211, 255, .04) 1px, transparent 1px);
  background-size: clamp(48px, 6vw, 84px) clamp(48px, 6vw, 84px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 45%, #000 40%, transparent 82%);
          mask-image: radial-gradient(120% 90% at 50% 45%, #000 40%, transparent 82%);
}
.hero__center-glow {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 120%);
  height: min(520px, 60%);
  background: radial-gradient(ellipse, rgba(59, 111, 245, .20) 0%, transparent 70%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(96px, 14vh, 140px) var(--pad-x) clamp(48px, 8vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(11px, 1.6vw, 15px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, .82);
  opacity: 0;
  animation: fadeDown .8s ease-out var(--t-label) forwards;
}

.hero__divider {
  width: min(340px, 64%);
  height: 1px;
  margin: clamp(18px, 3vh, 30px) 0;
  opacity: 0;
  animation: fadeIn .7s ease-out var(--t-divider) forwards;
}
.hero__divider span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, rgba(59, 111, 245, .9) 30%, rgba(147, 197, 253, 1) 50%, rgba(59, 111, 245, .9) 70%, transparent);
  box-shadow: 0 0 10px rgba(96, 165, 250, .8), 0 0 22px rgba(59, 130, 246, .4);
  animation: lineGrow .7s ease-out var(--t-divider) forwards;
}

.hero__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(30px, 7.6vw, 86px);
  line-height: 1.24;
  letter-spacing: .02em;
  max-width: 20ch;
  color: #fff;
  line-break: strict;
}
.hero__title .nb.accent { color: var(--cyan); }

/* JSで1文字ずつspan化したときだけ、光りながら浮かび上がる演出 */
.hero__title.is-split .ch {
  display: inline-block;
  opacity: 0;
  animation: charIn .5s ease-out forwards;
  animation-delay: calc(var(--t-catch) + var(--i) * var(--char-step));
}
.hero__title.is-split .nb.accent .ch { animation-name: charInAccent; }

.hero__sub {
  margin-top: clamp(20px, 3.4vh, 30px);
  max-width: 46ch;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.9;
  color: var(--text-3);
  opacity: 0;
  animation: fadeUp .7s ease-out var(--t-sub) forwards;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 12px);
  margin-top: clamp(22px, 3.4vh, 32px);
  opacity: 0;
  animation: fadeUp .7s ease-out var(--t-badges) forwards;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  font-size: clamp(12px, 1.5vw, 13.5px);
  color: var(--text-2);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 14px);
  margin-top: clamp(30px, 4.4vh, 40px);
  width: 100%;
  opacity: 0;
  animation: ctaIn .9s cubic-bezier(.34, 1.56, .64, 1) var(--t-cta) forwards;
}
.hero__cta .btn { min-height: 54px; padding: 16px 30px; font-size: clamp(15px, 1.9vw, 17px); }
.hero__cta .btn--primary { flex: 1 1 240px; max-width: 320px; letter-spacing: .04em; }
.hero__cta .btn--ghost   { flex: 1 1 200px; max-width: 260px; font-weight: 600; }

@keyframes fadeIn   { to { opacity: 1; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes lineGrow { to { transform: scaleX(1); } }
@keyframes ctaIn    { from { opacity: 0; transform: translateY(44px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes charIn {
  from { opacity: 0; filter: blur(16px); text-shadow: none; }
  to   { opacity: 1; filter: blur(0);
         text-shadow: 0 0 40px rgba(96, 165, 250, .9), 0 0 76px rgba(59, 111, 245, .4), 0 0 20px rgba(255, 255, 255, .6); }
}
@keyframes charInAccent {
  from { opacity: 0; filter: blur(16px); text-shadow: none; }
  to   { opacity: 1; filter: blur(0);
         text-shadow: 0 0 46px rgba(111, 211, 255, .95), 0 0 87px rgba(59, 111, 245, .4), 0 0 23px rgba(255, 255, 255, .6); }
}

/* ==========================================================================
   5. 各セクション
   ========================================================================== */

/* --- お悩み --- */
.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .022);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.check-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 111, 245, .24), rgba(111, 211, 255, .12));
  border: 1px solid rgba(111, 211, 255, .30);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.lead-out {
  text-align: center;
  margin-top: 46px;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 500;
  line-height: 1.8;
  color: #fff;
  text-wrap: balance;
}

/* --- 特徴 --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3vw, 34px);
  transition: opacity .8s ease-out, transform .8s ease-out, box-shadow .35s ease, border-color .35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 211, 255, .38);
  box-shadow: 0 22px 54px rgba(59, 111, 245, .20);
}
.feature-card__num {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(59, 111, 245, .24), rgba(111, 211, 255, .10));
  border: 1px solid rgba(111, 211, 255, .28);
}
.feature-card__title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin: 22px 0 12px;
}
.feature-card__text { color: var(--text-4); font-size: 15px; line-height: 1.85; }

/* --- カリキュラム --- */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.curriculum-card {
  background: linear-gradient(165deg, rgba(22, 38, 79, .34), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  transition: opacity .8s ease-out, transform .8s ease-out, border-color .35s ease, box-shadow .35s ease;
}
.curriculum-card:hover {
  border-color: rgba(111, 211, 255, .34);
  box-shadow: 0 18px 46px rgba(59, 111, 245, .16);
}
.curriculum-card__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--accent);
}
.curriculum-card__title {
  font-family: var(--font-en);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin: 10px 0 12px;
}
.curriculum-card__text { color: var(--text-4); font-size: 14.5px; line-height: 1.85; }

/* --- 受講後にできること --- */
/* 4項目なので2列（2×2）で収まるように最小幅を広めに取る */
.outcome-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
}
.outcome {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 26px;
  background: linear-gradient(120deg, rgba(59, 111, 245, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(111, 211, 255, .16);
  border-radius: 14px;
  color: #EAEEF8;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}
.outcome__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 18px rgba(59, 111, 245, .40);
}

/* --- 料金 --- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  --pad: clamp(28px, 4vw, 40px);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
}
.plan--highlight {
  border-color: rgba(111, 211, 255, .40);
  background: linear-gradient(165deg, rgba(26, 46, 96, .62), rgba(59, 111, 245, .06));
  box-shadow: 0 0 0 1px rgba(111, 211, 255, .50), 0 24px 64px rgba(59, 111, 245, .28);
}
.plan__img {
  width: calc(100% + var(--pad) * 2);
  max-width: none;
  height: 148px;
  object-fit: cover;
  object-position: center;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 24px;
}
.plan__badge {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--accent));
}
.plan__label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--text-4);
}
.plan__label--accent { color: var(--cyan); }
.plan__name { font-size: 22px; font-weight: 700; color: #fff; margin: 8px 0 6px; }
.plan__desc { margin-bottom: 18px; color: var(--text-5); font-size: 14px; line-height: 1.7; }
.plan--highlight .plan__desc { color: #B7C1DA; }
.plan__price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 46px);
  line-height: 1;
  color: #fff;
}
.plan__yen { font-size: .52em; vertical-align: .28em; color: var(--text-4); }
.plan__tax { font-size: 13px; font-weight: 400; color: var(--text-5); padding-bottom: 6px; font-family: var(--font-jp); }
.plan--highlight .plan__tax { color: #B7C1DA; }
.plan__save {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(111, 211, 255, .12);
  border: 1px solid rgba(111, 211, 255, .32);
}
.plan__save-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.plan__specs { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.plan__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.plan__row:last-child { border-bottom: none; }
.plan__row dt { color: var(--text-5); font-size: 14px; }
.plan__row dd { color: #fff; font-size: 15px; font-weight: 600; text-align: right; }
.plan--highlight .plan__row dt { color: #B7C1DA; }
/* 2枚のカードでボタンの位置がそろうよう、下端に寄せる */
.plan__cta { margin-top: auto; }

/* --- 講師 --- */
.instructor {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.instructor__media {
  position: relative;
  flex: 0 0 auto;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid rgba(111, 211, 255, .24);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(59, 111, 245, .18);
}
.instructor__media img { width: 100%; height: 100%; object-fit: cover; }
.instructor__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -40px 60px rgba(10, 10, 15, .35), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.instructor__body { flex: 1 1 300px; min-width: 280px; }
.instructor__body .eyebrow { margin-bottom: 14px; }
.instructor__name {
  font-family: var(--font-en);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 6px;
}
.instructor__role { color: var(--cyan); font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.instructor__text { color: var(--text-3); font-size: 16px; line-height: 1.95; margin-bottom: 22px; }
.instructor__quote {
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(120deg, rgba(59, 111, 245, .08), transparent);
  border-radius: 0 14px 14px 0;
  color: #fff;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.85;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-size: 13px;
  color: var(--text-2);
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
}

/* --- 受講スタイル・教室 --- */
.access { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.access__list {
  flex: 1 1 320px;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.access-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: linear-gradient(165deg, rgba(22, 38, 79, .36), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.access-item__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 111, 245, .24), rgba(111, 211, 255, .10));
  border: 1px solid rgba(111, 211, 255, .28);
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cyan);
}
.access-item__title { font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.access-item__text  { color: var(--text-4); font-size: 14.5px; line-height: 1.8; }
.access-item__count { color: var(--cyan); font-weight: 700; }
.access__media { flex: 1 1 340px; min-width: 290px; display: flex; flex-direction: column; gap: 16px; }
.access__photo {
  flex: 1 1 auto;
  min-height: 200px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
}
.access__photo img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.access__map {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}
.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.9);
}

/* --- 受講の流れ --- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.step {
  background: linear-gradient(165deg, rgba(22, 38, 79, .34), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: opacity .8s ease-out, transform .8s ease-out, border-color .35s ease;
}
.step:hover { border-color: rgba(111, 211, 255, .34); }
.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 20px rgba(59, 111, 245, .35);
}
.step__title { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.5; margin-bottom: 6px; }
.step__text  { color: var(--text-5); font-size: 13px; line-height: 1.7; }

/* --- FAQ --- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq__heading { font-size: inherit; font-weight: inherit; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 26px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  transition: color .25s ease;
}
.faq__q:hover,
.faq__q[aria-expanded="true"] { color: #fff; }
.faq__icon {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--cyan);
  transition: transform .4s ease;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
/* JS無効時は回答が最初から開いた状態で読める。JS有効時のみ折りたたむ。
   ※paddingは常に付けたままにする（開閉でpaddingを変えると、
     JS側でscrollHeightを測ったときに高さが足りず本文が途中で切れるため） */
.faq__a { overflow: hidden; padding: 2px 26px 24px; }
.faq__a p { color: var(--text-4); font-size: 15px; line-height: 1.9; }
.js .faq__a {
  max-height: 0;
  opacity: 0;
  transition: max-height .5s ease, opacity .4s ease;
}
.js .faq__a.is-open { opacity: 1; }

/* --- お問い合わせ（Googleフォーム埋め込み） --- */
#contact .container { max-width: 760px; }

/* Googleフォームは白基調のため、意図的な白いパネルとして見せる */
.gform {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(111, 211, 255, .28);
  box-shadow: 0 0 0 1px rgba(111, 211, 255, .18), 0 24px 64px rgba(59, 111, 245, .26);
}

/* 高さはフォームの実測値に余裕を持たせた値。質問を増減したらここを調整する */
.gform__frame {
  display: block;
  width: 100%;
  height: 1160px;
  border: 0;
}

.gform__fallback {
  margin-top: 20px;
  text-align: center;
  color: var(--text-6);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ==========================================================================
   6. フッター・追従CTA
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(15, 27, 61, .40));
  padding: clamp(48px, 7vw, 72px) var(--pad-x) 40px;
}
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__col { flex: 1 1 300px; min-width: 260px; }
.footer__col--links { flex: 0 1 200px; min-width: 180px; }
.footer__tagline { color: var(--text-5); font-size: 14px; line-height: 1.9; max-width: 340px; }
.footer__heading {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.footer__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.7;
}
.footer__dl dt { color: var(--text-6); }
.footer__dl dd { color: var(--text-2); }
.footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer__links a { color: var(--text-2); }
.footer__links a:hover { color: var(--cyan); }
.footer__meta {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: #9098AE;
  font-size: 12.5px;
}
.footer__sig { font-family: var(--font-en); letter-spacing: .10em; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 15, .85);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-top: 1px solid rgba(111, 211, 255, .18);
  transform: translateY(120%);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; font-size: 16px; }

/* ==========================================================================
   7. 下層ページ（プライバシーポリシー／特定商取引法）
   ========================================================================== */
.page-header {
  padding: calc(var(--header-h) + clamp(48px, 9vw, 96px)) var(--pad-x) clamp(28px, 5vw, 48px);
  text-align: center;
}
.page-header__title {
  font-family: var(--font-en);
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.page-body { padding: 0 var(--pad-x) clamp(64px, 9vw, 110px); }
.page-body__inner {
  background: linear-gradient(165deg, rgba(22, 38, 79, .34), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
}
.page-body h2 {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { color: var(--text-3); font-size: 15.5px; line-height: 1.95; margin-bottom: 16px; }
.page-body ul { margin: 0 0 16px; padding-left: 0; }
.page-body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-3);
  font-size: 15.5px;
  line-height: 1.95;
}
.page-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
}
.info-table th { width: 30%; min-width: 120px; color: var(--text-5); font-weight: 500; }
.info-table td { color: var(--text-2); }
.todo {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255, 196, 92, .12);
  border: 1px solid rgba(255, 196, 92, .45);
  color: #FFD08A;
  font-size: 13px;
  font-weight: 600;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-size: 15px; }

/* ==========================================================================
   8. レスポンシブ
   ========================================================================== */
@media (max-width: 1023px) {
  .nav { gap: 20px; }
}

@media (max-width: 767px) {
  body { padding-bottom: 84px; } /* 追従CTAが本文に重ならないように */

  .nav        { display: none; }
  .menu-btn   { display: flex; }
  .mobile-cta { display: block; }

  .section__head { margin-bottom: 40px; }
  .hero__cta .btn,
  .hero__cta .btn--primary,
  .hero__cta .btn--ghost { flex: 1 1 100%; max-width: none; }

  .check-list,
  .outcome-list,
  .feature-grid,
  .curriculum-grid,
  .plans { grid-template-columns: 1fr; }

  .flow-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

  .instructor { flex-direction: column; align-items: stretch; }
  .instructor__media { width: min(280px, 70%); margin-inline: auto; }
  .instructor__body  { min-width: 0; }

  .instructor__quote { padding: 18px 20px; font-size: 15.5px; }
  .faq__q { padding: 17px 20px; font-size: 15px; }
  .faq__a { padding: 2px 20px 20px; }

  /* 画面が狭いとフォームの項目が縦に伸びるため、枠を高くする */
  .gform__frame { height: 1260px; }

  .footer__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 400px) {
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .plan { --pad: 22px; }
}

/* ==========================================================================
   9. モーション低減対応
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal,
  .js .reveal-item { opacity: 1 !important; transform: none !important; }
  .hero__label,
  .hero__sub,
  .hero__badges,
  .hero__cta,
  .hero__divider { opacity: 1; }
  .hero__divider span { transform: scaleX(1); }
  .hero__title.is-split .ch { opacity: 1; filter: none; }
}
