/* ─── 講師ダイレクト Global CSS v2 ─── */
/* 基調: 白×アイボリー × アンバーオレンジ。紺色は一切使わない。 */

:root {
  /* ── テキスト（ロゴネイビー #1D3461 に準拠） ── */
  --ink:     #1D3461;   /* ロゴネイビー（テキスト・アイコンのみに使用） */
  --ink2:    #253F78;   /* サブネイビー */
  --sub:     #5A6B88;   /* サブテキスト */
  --muted:   #92A0B8;   /* ミュート */

  /* ── アクセント（ロゴのオレンジ #E8961A に準拠） ── */
  --amber:   #E8961A;   /* メインアクセント（ゴールデンオレンジ） */
  --amber-d: #C07A10;   /* ダーク */
  --amber-l: #FEF5E4;   /* ライトバック */
  --amber-m: rgba(232,150,26,.13);

  /* ── サーフェス ── */
  --bg:      #F5F7FA;   /* ライトグレー地（白に近い） */
  --surface: #FFFFFF;
  --cream:   #FAFCFF;   /* カードホバー */
  --line:    #DDE2EC;   /* ボーダー */
  --line2:   #E8ECF4;   /* サブボーダー */

  /* ── 状態色 ── */
  --new:     #3A7D5C;   /* 新規登録（グリーン） */
  --new-bg:  #E8F4ED;
  --new-bdr: rgba(58,125,92,.3);
  --done:    #8A6328;   /* 実績あり（ゴールドブラウン） */
  --done-bg: #F5EDDE;
  --done-bdr:rgba(138,99,40,.3);

  /* ── 形状 ── */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;

  /* ── 影（暖色系） ── */
  --shadow-s: 0 2px 8px rgba(62,45,28,.07);
  --shadow-m: 0 4px 20px rgba(62,45,28,.10);
  --shadow-l: 0 8px 32px rgba(62,45,28,.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: #fff; font-weight: 700; font-size: .875rem;
  padding: 12px 28px; border-radius: var(--radius-s); border: none; cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 10px rgba(196,113,58,.3);
}
.btn-primary:hover { background: var(--amber-d); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,113,58,.4); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(62,45,28,.2); color: var(--ink2); font-size: .875rem;
  padding: 10px 18px; border-radius: var(--radius-s); cursor: pointer;
  transition: background .15s, border-color .15s; background: transparent;
}
.btn-ghost:hover { background: rgba(62,45,28,.05); border-color: var(--ink); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--amber); color: var(--amber); font-size: .875rem; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-s); cursor: pointer;
  transition: background .15s;
}
.btn-outline:hover { background: var(--amber-l); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--sub); font-size: .8125rem;
  padding: 9px 16px; border-radius: var(--radius-s); background: var(--surface); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: var(--ink2); color: var(--ink); }

/* ════════════════════════════════
   BADGES
════════════════════════════════ */
.bdg {
  display: inline-flex; align-items: center; font-size: .6875rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; line-height: 1.3; white-space: nowrap;
}
.bdg-new  { background: var(--new-bg);  color: var(--new);  border: 1px solid var(--new-bdr); }
.bdg-done { background: var(--done-bg); color: var(--done); border: 1px solid var(--done-bdr); }

/* ════════════════════════════════
   PILLS / FILTERS
════════════════════════════════ */
.pill {
  display: inline-flex; align-items: center; font-size: .8125rem;
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface); color: var(--sub); cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.pill:hover  { border-color: var(--amber); color: var(--amber); }
.pill.active { background: var(--amber-l); border-color: rgba(196,113,58,.5); color: var(--amber-d); font-weight: 600; }

/* ── Star ── */
.star { color: #D4922A; letter-spacing: 1px; }

/* ── Tags ── */
.tag {
  display: inline-flex; align-items: center; font-size: .75rem;
  background: rgba(62,45,28,.06); color: var(--ink2); border-radius: 4px;
  padding: 3px 10px;
}
.tag-theme { background: var(--amber-m); color: var(--amber-d); }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--line); }

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }

.hero-eyebrow { animation: fadeUp .6s ease both; }
.hero h1      { animation: fadeUp .65s .1s ease both; }
.hero-sub     { animation: fadeUp .65s .2s ease both; }
.search-wrap  { animation: fadeUp .65s .3s ease both; }
.hero-tags    { animation: fadeUp .65s .4s ease both; }

/* ════════════════════════════════
   STATS BAR
════════════════════════════════ */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.stats-bar .container {
  display: flex; align-items: center; justify-content: center;
}
.stat-item {
  flex: 1; max-width: 220px; text-align: center;
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.stat-num-wrap {
  display: flex; align-items: baseline; gap: 2px; line-height: 1;
}
.stat-num {
  font-size: 2.5rem; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 1rem; font-weight: 600; color: var(--amber); }
.stat-label { font-size: .8125rem; color: var(--sub); margin-top: 5px; }
.stat-sep { width: 1px; height: 48px; background: var(--line); flex-shrink: 0; }

/* ════════════════════════════════
   HEADER
   白背景。左にロゴ（墨文字）、右にアクション。
════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(62,45,28,.07);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex; align-items: center; gap: 10px; color: var(--ink);
  font-size: 1.125rem; font-weight: 700; letter-spacing: .5px;
}
.logo svg { flex-shrink: 0; }
.logo-en {
  font-size: .625rem; font-weight: 600; letter-spacing: 2px;
  color: var(--muted); display: block; margin-top: -2px;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: .875rem; color: var(--sub); transition: color .15s; }
.site-nav a:hover { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ════════════════════════════════
   HERO  v3 — 強気分割レイアウト
   左：極大タイポ  右：講師フォト
════════════════════════════════ */
.hero {
  background: #F7F6F3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

/* ── 左テキスト ── */
.hero-text {
  padding: 80px 56px 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, #E8961A 0%, #F5B94A 100%);
  color: #fff;
  font-size: 1rem; font-weight: 800; letter-spacing: .06em;
  padding: 10px 22px 10px 18px;
  border-radius: 40px;
  margin-bottom: 32px;
  box-shadow: 0 6px 22px rgba(232,150,26,.45), 0 2px 6px rgba(232,150,26,.2);
  width: fit-content;
}
.hero-eyebrow::before { display: none; }
.eyebrow-icon {
  font-size: .7rem; color: rgba(255,255,255,.85);
}

.hero h1 {
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  font-weight: 900; color: var(--ink); line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal; color: var(--amber);
  display: block;
}

.hero-sub {
  font-size: .9375rem; color: var(--sub); line-height: 1.95;
  max-width: 440px; margin: 0 0 44px;
}

/* ── 検索バー ── */
.search-wrap {
  max-width: 520px; margin: 0 0 20px;
  display: flex; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 4px 24px rgba(62,45,28,.13);
  overflow: hidden;
}
.search-input {
  flex: 1; border: none; outline: none; padding: 15px 18px;
  font-size: .9375rem; color: var(--ink); background: transparent;
  font-family: inherit;
}
.search-input::placeholder { color: var(--muted); }
.search-btn {
  background: var(--amber); border: none; color: #fff; font-weight: 700;
  font-size: .875rem; padding: 0 24px; cursor: pointer;
  transition: background .15s; display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--amber-d); }

/* ── クイックタグ ── */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
.hero-tag {
  font-size: .8125rem; padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(196,113,58,.3); color: var(--sub);
  background: transparent;
  cursor: pointer; transition: all .15s;
}
.hero-tag:hover { background: var(--amber-l); border-color: var(--amber); color: var(--amber-d); }

/* ── 右：フォト ── */
.hero-visual {
  position: relative; overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 8%;
  display: block;
}
/* アンバーグラデーションオーバーレイ（左端） */
.hero-visual::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #F7F6F3 0%, transparent 18%);
  pointer-events: none;
}

/* ════════════════════════════════
   CASES（導入事例カルーセル）
════════════════════════════════ */
.cases-section {
  background: var(--surface);
  padding: 48px 0 52px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cases-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.cases-title {
  font-size: 1.125rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.cases-title::before {
  content: ''; display: block;
  width: 4px; height: 18px; background: var(--amber); border-radius: 2px;
}
.cases-nav { display: flex; gap: 8px; }
.cases-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.cases-btn:hover { border-color: var(--amber); color: var(--amber); }

.cases-track-wrap { padding-left: calc((100vw - 1200px) / 2 + 24px); }
@media (max-width: 1248px) { .cases-track-wrap { padding-left: 24px; } }

.cases-track {
  display: flex; gap: 18px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.case-card {
  flex: 0 0 340px; min-height: 220px;
  background: var(--card-bg, #F5F7FA);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.case-industry {
  font-size: .75rem; font-weight: 700; color: var(--amber);
  letter-spacing: .04em;
}
.case-result {
  font-size: 1.25rem; color: var(--ink); line-height: 1.45; font-weight: 500;
}
.case-result strong { font-weight: 800; }
.case-quote {
  font-size: .875rem; color: var(--sub); line-height: 1.8;
  border-left: 3px solid var(--amber); padding-left: 12px;
  flex: 1;
}
.case-meta {
  font-size: .75rem; color: var(--muted); margin-top: 4px;
}

/* ════════════════════════════════
   TRUST BAR
════════════════════════════════ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line2);
  padding: 14px 0;
}
.trust-bar .container {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: var(--sub);
}
.trust-icon { font-size: 1rem; }
.trust-sep { color: var(--line); font-size: .875rem; }

/* ════════════════════════════════
   MAIN LAYOUT
════════════════════════════════ */
.main-layout {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 32px 0 72px;
}

/* ─── Sidebar ─── */
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 22px;
  position: sticky; top: 88px;
  box-shadow: var(--shadow-s);
}
.sidebar-title {
  font-size: .875rem; font-weight: 700; color: var(--ink);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line2);
}
.filter-group { margin-bottom: 22px; }
.filter-group-title {
  font-size: .75rem; font-weight: 600; color: var(--muted);
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px;
}
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-clear {
  font-size: .75rem; color: var(--muted); background: none; border: none;
  cursor: pointer; padding: 0; text-decoration: underline; transition: color .15s;
}
.filter-clear:hover { color: var(--amber); }

/* ─── List area ─── */
.list-area { flex: 1; min-width: 0; }

/* ─── Featured (3カラム) ─── */
.featured-section { margin-bottom: 28px; }
.section-label {
  font-size: .8125rem; font-weight: 700; color: var(--ink); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.featured-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.f-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  box-shadow: var(--shadow-s);
}
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: rgba(196,113,58,.3); }
.f-card .thumb {
  height: 110px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .75rem; position: relative;
}
.f-card .thumb .play-btn {
  position: absolute; bottom: 8px; right: 8px;
  background: var(--amber); color: #fff; font-size: .625rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.f-card .f-body { padding: 14px; }
.f-card .f-name { font-size: .875rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.f-card .f-role { font-size: .75rem; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.f-card .f-rating { font-size: .75rem; display: flex; align-items: center; gap: 5px; }

/* ─── Sort / Count ─── */
.list-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.list-count { font-size: .875rem; color: var(--sub); }
.list-count strong { color: var(--ink); font-size: 1rem; }
.sort-tabs { display: flex; gap: 6px; }
.sort-tab {
  font-size: .75rem; padding: 6px 12px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--sub); cursor: pointer; transition: all .15s;
}
.sort-tab.active { background: var(--amber); color: #fff; border-color: var(--amber); }
.sort-tab:not(.active):hover { border-color: var(--amber); color: var(--amber); }

/* ─── Instructor card (list) ─── */
.i-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 20px; margin-bottom: 12px;
  display: flex; gap: 18px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  box-shadow: var(--shadow-s);
}
.i-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: rgba(196,113,58,.35); }

.i-avatar {
  width: 176px; height: 176px; border-radius: var(--radius-m);
  background: var(--bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .75rem; overflow: hidden;
}
.i-avatar img { width: 100%; height: 100%; object-fit: cover; }

.i-main { flex: 1; min-width: 0; }
.i-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 5px; }
.i-top { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 3px; }
.i-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.i-video-tag { font-size: .6875rem; color: var(--amber); font-weight: 600; }
.i-role { font-size: .8125rem; color: var(--muted); margin-bottom: 9px; }
.i-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.i-voice {
  font-size: .8125rem; color: var(--sub);
  background: var(--bg); border-radius: 8px;
  padding: 8px 12px; line-height: 1.75;
  border-left: 3px solid var(--amber);
}

.i-rate {
  flex-shrink: 0; text-align: center; min-width: 96px;
  padding-left: 16px; border-left: 1px solid var(--line2);
  display: flex; flex-direction: column; justify-content: center;
}
.i-rate .rate-score { font-size: 1.375rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.i-rate .rate-count { font-size: .6875rem; color: var(--muted); }
.i-rate .rate-none { font-size: .75rem; color: var(--muted); line-height: 1.7; }

/* ─── Load more ─── */
.load-more { text-align: center; padding: 16px 0; }

/* ── Price note (list header) ── */
.price-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--amber-l); border: 1px solid rgba(232,150,26,.25);
  border-radius: var(--radius-m); padding: 10px 18px;
  font-size: .8125rem; color: var(--ink2); margin-bottom: 16px;
}
.price-note-icon { font-size: 1rem; }
.price-note strong { color: var(--amber-d); font-size: .9rem; }
.price-note-sub { color: var(--muted); font-size: .75rem; margin-left: 4px; }

/* ── Instructor price line ── */
.i-price {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: var(--sub); margin-bottom: 8px;
}
.i-price strong { color: var(--amber-d); font-weight: 700; }

/* ════════════════════════════════
   FOOTER
   暗すぎず、温かみある墨色。
════════════════════════════════ */
.site-footer {
  background: #F5F7FA; color: var(--sub);
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { color: var(--ink); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.footer-tagline { font-size: .75rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .8125rem; color: var(--sub); transition: color .15s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--muted);
}

/* ════════════════════════════════
   PAIN SECTION（課題提起）
   暗い墨色背景でコントラスト＝強気
════════════════════════════════ */
.pain-section {
  background: #2E2A24;
  padding: 72px 0 64px;
  color: #fff;
  text-align: center;
}
.pain-label {
  font-size: .6875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.pain-h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 900; color: #fff; line-height: 1.3;
  margin-bottom: 48px;
}
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; text-align: left; margin-bottom: 44px;
}
.pain-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-l);
  padding: 26px 22px;
  display: flex; gap: 14px;
  transition: background .2s;
}
.pain-item:hover { background: rgba(255,255,255,.09); }
.pain-x {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(232,150,26,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-weight: 800; font-size: .8125rem;
}
.pain-title { font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.pain-desc { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.85; }
.pain-resolve {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.pain-resolve-arrow {
  font-size: 1.75rem; color: var(--amber); opacity: .8;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
.pain-resolve-text {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: rgba(255,255,255,.85); font-weight: 500;
}
.pain-resolve-text em {
  font-style: normal; color: var(--amber); font-weight: 900;
}

/* ════════════════════════════════
   FLOW SECTION（ご利用の流れ）
════════════════════════════════ */
.flow-section {
  background: var(--surface);
  padding: 80px 0 88px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-header { text-align: center; margin-bottom: 52px; }
.flow-eyebrow {
  font-size: .6875rem; font-weight: 700; letter-spacing: .2em;
  color: var(--amber); margin-bottom: 12px;
}
.flow-h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; color: var(--ink); margin-bottom: 10px;
}
.flow-sub { font-size: .9375rem; color: var(--sub); }
.flow-steps {
  display: flex; align-items: flex-start;
}
.flow-step {
  flex: 1; text-align: center; padding: 0 20px;
}
.flow-connector {
  flex-shrink: 0; width: 40px; margin-top: 52px;
  height: 2px; background: linear-gradient(90deg, var(--amber), rgba(232,150,26,.3));
  position: relative;
}
.flow-connector::after {
  content: ''; position: absolute; right: -5px; top: -4px;
  border: 5px solid transparent; border-left-color: rgba(232,150,26,.5);
}
.step-num {
  font-size: 2.5rem; font-weight: 900;
  color: rgba(232,150,26,.18); line-height: 1;
  margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.step-icon { font-size: 1.75rem; margin-bottom: 12px; }
.step-title { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.step-desc { font-size: .8125rem; color: var(--sub); line-height: 1.85; max-width: 200px; margin: 0 auto; }

/* ════════════════════════════════
   TRAINER CTA（講師登録）
════════════════════════════════ */
.trainer-cta {
  background: var(--amber-l);
  border-top: 2px solid rgba(232,150,26,.25);
  border-bottom: 1px solid rgba(232,150,26,.15);
  padding: 40px 0;
}
.trainer-cta-inner {
  display: flex; align-items: center; justify-content: center; gap: 80px;
}
.trainer-cta-left { max-width: 560px; flex: 1; }
.trainer-eyebrow {
  font-size: .6875rem; font-weight: 700; letter-spacing: .2em;
  color: var(--amber-d); margin-bottom: 18px;
}
.trainer-h2 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 900; color: var(--ink); line-height: 1.25; margin-bottom: 18px;
  white-space: nowrap;
}
.trainer-desc { font-size: .9375rem; color: var(--sub); line-height: 2; }
.trainer-cta-right {
  flex-shrink: 0; min-width: 280px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.trainer-points {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px;
}
.trainer-point {
  font-size: .875rem; color: var(--ink2); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.trainer-btn {
  width: 100%; font-size: 1rem; padding: 16px 32px; justify-content: center;
}
.trainer-note {
  font-size: .75rem; color: var(--muted); text-align: center;
  margin-top: 10px; width: 100%;
}

/* ════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-text { padding: 60px 40px 60px 40px; }
  .hero h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 200px; }
  .i-avatar { width: 130px; height: 130px; }
  .trainer-cta-inner { gap: 40px; }
  .detail-layout { gap: 24px; }
  .offer-card { width: 240px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Header ── */
  .site-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .site-header .container { height: 60px; }

  /* ── Hero: stack vertically ── */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 44px 24px 40px;
    order: 1;
  }
  .hero-visual {
    order: 2;
    height: 240px;
  }
  .hero-visual::before {
    background: linear-gradient(180deg, transparent 60%, #F7F6F3 100%);
  }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); margin-bottom: 16px; }
  .hero-eyebrow { font-size: .875rem; margin-bottom: 20px; padding: 8px 16px 8px 14px; }
  .hero-sub { font-size: .875rem; margin-bottom: 28px; }
  .search-wrap { max-width: 100%; }
  .hero-tags { gap: 6px; }

  /* ── Stats bar ── */
  .stats-bar .container { flex-wrap: wrap; gap: 0; }
  .stat-item { flex: 1 1 50%; max-width: 50%; padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-item:nth-child(n+3) { border-bottom: none; }
  .stat-sep { display: none; }
  .stat-num { font-size: 2rem; }

  /* ── Cases carousel ── */
  .cases-track-wrap { padding-left: 20px; }
  .cases-header { padding: 0 20px; }

  /* ── Trust bar ── */
  .trust-bar { padding: 20px 0; }
  .trust-inner { gap: 12px; }
  .trust-sep { display: none; }

  /* ── Pain section ── */
  .pain-section { padding: 52px 0 44px; }
  .pain-grid { grid-template-columns: 1fr; gap: 12px; }
  .pain-item { padding: 20px 18px; }

  /* ── Main layout: hide sidebar ── */
  .main-layout { flex-direction: column; padding: 20px 0 52px; gap: 0; }
  .sidebar { display: none; }
  .list-area { width: 100%; }

  /* ── Featured grid: 1 col ── */
  .featured-grid { grid-template-columns: 1fr; gap: 12px; }
  .f-card .thumb { height: 90px; }

  /* ── Instructor card: compact ── */
  .i-card { padding: 16px; gap: 14px; }
  .i-avatar { width: 88px; height: 88px; flex-shrink: 0; }
  .i-avatar[style*="font-size:3.5rem"] { font-size: 2rem !important; }
  .i-name { font-size: .9375rem; }
  .i-role { font-size: .75rem; }
  .i-rate { min-width: 72px; padding-left: 12px; }
  .i-rate .rate-score { font-size: 1.125rem; }
  .i-voice { display: none; }
  .i-price { flex-wrap: wrap; font-size: .75rem; }

  /* ── Price note ── */
  .price-note { flex-direction: column; gap: 4px; }

  /* ── Filter pills: scrollable row ── */
  .filter-opts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-opts::-webkit-scrollbar { height: 3px; }
  .filter-opts::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

  /* ── Flow section ── */
  .flow-section { padding: 52px 0 60px; }
  .flow-steps { flex-direction: column; align-items: center; gap: 0; }
  .flow-step { width: 100%; max-width: 280px; padding: 0 20px 28px; }
  .flow-connector { width: 2px; height: 32px; margin: 0 auto; margin-top: 0;
    background: linear-gradient(180deg, var(--amber), rgba(232,150,26,.3)); }
  .flow-connector::after { display: none; }
  .step-num { font-size: 2rem; }

  /* ── Trainer CTA ── */
  .trainer-cta { padding: 36px 0; }
  .trainer-cta-inner { flex-direction: column; gap: 24px; align-items: stretch; }
  .trainer-cta-left { max-width: 100%; }
  .trainer-h2 { white-space: normal; font-size: 1.25rem; }
  .trainer-cta-right { min-width: unset; width: 100%; }
  .trainer-btn { font-size: .9375rem; padding: 14px 24px; }

  /* ── Footer ── */
  .footer-top { flex-direction: column; gap: 20px; padding-bottom: 20px; margin-bottom: 16px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* ── Detail page (eguchi/yoshimura/instructor) ── */
  .detail-layout { flex-direction: column; gap: 0; padding: 0; }
  .detail-main { width: 100%; }
  .offer-card {
    width: 100%; position: static;
    border-radius: 0; border-left: none; border-right: none;
    box-shadow: none; border-top: 2px solid var(--line);
    margin-top: 20px;
  }
  .profile-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-name { font-size: 1.25rem; }
  .meters { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .profile-header { padding: 20px 16px; }
  .section-card { padding: 18px 16px; }
  .breadcrumb { padding: 10px 0; }
  .detail-body { padding: 20px 0 52px; }

  /* ── Container padding ── */
  .container { padding: 0 16px; }
}

/* ════════════════════════════════
   RESPONSIVE — Small mobile (≤ 375px)
════════════════════════════════ */
@media (max-width: 375px) {
  .hero h1 { font-size: 1.875rem; }
  .hero-eyebrow { font-size: .8125rem; padding: 7px 14px; }
  .stat-item { padding: 12px 8px; }
  .stat-num { font-size: 1.75rem; }
}

/* ════════════════════════════════
   AUTH MODAL
════════════════════════════════ */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: auth-overlay-in .18s ease;
}
.auth-modal-overlay[hidden] { display: none; }

@keyframes auth-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.auth-modal-box {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(62,45,28,.18);
  animation: auth-box-in .22s cubic-bezier(.22,.68,0,1.2);
  text-align: center;
}

@keyframes auth-box-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .15s, color .15s;
  line-height: 1;
}
.auth-modal-close:hover { background: var(--bg); color: var(--ink); }

.auth-logo { font-size: 2.5rem; margin-bottom: 12px; line-height: 1; }

.auth-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.auth-desc {
  font-size: .8125rem;
  color: var(--sub);
  line-height: 1.8;
  margin-bottom: 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.auth-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
  text-align: center;
}
.auth-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,150,26,.15);
}
.auth-input::placeholder { color: var(--muted); }

.auth-input-otp {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .25em;
}

.auth-btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
  border: none;
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: background .18s, transform .15s;
}
.auth-btn-primary:hover { background: var(--amber-d); transform: translateY(-1px); }
.auth-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.auth-btn-ghost {
  display: block;
  margin: 10px auto 0;
  background: transparent;
  border: none;
  color: var(--sub);
  font-size: .8125rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 0;
}
.auth-btn-ghost:hover { color: var(--ink); }

.auth-note {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 4px;
}

.auth-error {
  font-size: .8125rem;
  color: #C0392B;
  margin-top: 8px;
  line-height: 1.6;
}
.auth-error[hidden] { display: none; }

/* ローディング */
#auth-step-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  gap: 16px;
}
#auth-step-loading[hidden] { display: none; }

.auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--line2);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

.auth-loading-text {
  font-size: .875rem;
  color: var(--sub);
}

@media (max-width: 480px) {
  .auth-modal-box { padding: 32px 20px; }
}
