/* =================================
   CSS変数
================================= */
:root {
  --navy:      #091426;
  --navy2:     #122342;
  --navy3:     #0c1e36;
  --gold:      #D5B779;
  --gold-lt:   #EDD9A3;
  --gold-dk:   #B8944F;
  --ink:       #1A2E4A;
  --muted:     #627085;
  --cream:     #F7F4ED;
  --white:     #ffffff;
  --line-col:  rgba(26,46,74,0.10);
  --radius:    12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.10);
}

/* =================================
   リセット・ベース
================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.85;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.sp-br { display: none; }

/* =================================
   スキップリンク
================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* =================================
   ヘッダー
================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 80px;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, height 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(9,20,38,0.95);
  backdrop-filter: blur(18px);
  height: 68px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-star {
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 400;
  margin-top: 4px;
  color: rgba(255,255,255,0.7);
}
.desktop-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--gold); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.btn-gold {
  background: linear-gradient(115deg, var(--gold-lt), var(--gold-dk));
  color: #162038;
}
.btn-large { padding: 17px 32px; font-size: 15px; }
.header-cta { flex-shrink: 0; }

/* モバイルナビ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: rgba(9,20,38,0.98);
  backdrop-filter: blur(18px);
  padding: 8px 0 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.mobile-nav .mobile-nav-line {
  margin: 12px 24px 0;
  text-align: center;
  background: linear-gradient(115deg, var(--gold-lt), var(--gold-dk));
  color: #162038;
  font-weight: 700;
  border-bottom: none;
  border-radius: 2px;
  padding: 14px;
}
.mobile-nav .mobile-nav-line:hover { opacity: 0.9; background: linear-gradient(115deg, var(--gold-lt), var(--gold-dk)); }

/* =================================
   ヒーロー
================================= */
.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 40%, #172c52 0%, #0b1830 35%, var(--navy) 75%);
  color: #fff;
  padding: 140px 0 100px;
}
#starCanvas, #ctaCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -50px;
  top: 0;
  background: radial-gradient(circle, rgba(213,183,121,0.08), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow.dark-label { color: #9a7540; }
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--gold);
}
.hero-copy h1 {
  font-size: clamp(50px, 6.5vw, 96px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  font-family: Georgia, 'Noto Serif JP', serif;
}
.hero-copy h1 em {
  color: var(--gold-lt);
  font-style: normal;
}
.hero-lead {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hero-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: #fff; border-color: #fff; }
.hero-micro {
  margin-top: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

/* ヒーローの星/軌道 */
.hero-visual {
  height: 480px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(213,183,121,0.15);
  border-radius: 50%;
  transform: rotate(-28deg) scaleY(0.55);
  animation: orbit 24s linear infinite;
}
.orbit-2 {
  width: 105%;
  transform: rotate(38deg) scaleY(0.62);
  border-color: rgba(213,183,121,0.10);
  animation-duration: 32s;
  animation-direction: reverse;
}
.orbit-3 {
  width: 55%;
  transform: rotate(100deg) scaleY(0.72);
  animation-duration: 42s;
}
.hero-star-core {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e8 0%, var(--gold) 5%, rgba(213,183,121,0.3) 15%, transparent 70%);
  filter: drop-shadow(0 0 32px rgba(213,183,121,0.7));
  animation: twinkle 4s ease-in-out infinite;
}
.hero-star-core span {
  font-size: 108px;
  color: var(--gold-lt);
  text-shadow: 0 0 30px rgba(237,217,163,0.6);
  line-height: 1;
}
.star-label {
  position: absolute;
  bottom: 24px;
  right: 0;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.star-label span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(170,185,210,0.7);
  margin-top: 3px;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(170,185,210,0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-hint span {
  display: block;
  width: 52px;
  height: 1px;
  background: rgba(170,185,210,0.4);
}

/* =================================
   トラストバー
================================= */
.trust-bar {
  background: #111c31;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.trust-inner p {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
}
.trust-inner span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.03em;
}

/* =================================
   セクション共通
================================= */
.section { padding: 112px 0; }
.section-light  { background: var(--white); color: var(--ink); }
.section-cream  { background: var(--cream); color: var(--ink); }
.section-dark   { background: var(--navy3); color: #fff; }

.section-heading {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-heading h2,
.faq-layout h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.section-heading p:last-child { color: var(--muted); font-size: 14px; }
.section-title-light {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 24px;
}
.serif { font-family: Georgia, 'Noto Serif JP', serif; font-weight: 400; }

/* =================================
   早期対策
================================= */
.early-lead {
  font-size: clamp(13px, 1.6vw, 15px);
  color: rgba(255,255,255,0.72);
  line-height: 1.95;
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.early-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.early-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(213,183,121,0.18);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.early-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(213,183,121,0.38);
  transform: translateY(-3px);
}
.early-num {
  font-size: 32px;
  font-weight: 700;
  color: rgba(213,183,121,0.25);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.early-card h3 {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.5;
}
.early-card p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.85; }

/* =================================
   特徴グリッド
================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.feature-card {
  background: #faf9f6;
  border: 1px solid #ede8dc;
  border-radius: var(--radius);
  padding: 28px 22px 30px;
  min-height: 330px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dk);
  box-shadow: 0 16px 36px rgba(20,33,60,0.1);
}
.card-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #9e7d49;
  display: block;
  margin-bottom: 18px;
}
.feature-icon {
  font-size: 38px;
  color: var(--gold-dk);
  margin-bottom: 16px;
  font-family: Georgia, serif;
  line-height: 1;
}
.feature-card h3 {
  font-size: clamp(14px, 1.7vw, 17px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--ink);
}
.feature-card p { font-size: 13px; color: #687182; line-height: 1.85; }

/* AOカード */
.ao-heading {
  text-align: center;
  margin-bottom: 32px;
}
.ao-heading h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.ao-heading p { font-size: 13px; color: var(--muted); }
.ao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ao-card {
  background: #fff;
  border: 1px solid var(--line-col);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ao-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ao-icon {
  font-size: 28px;
  color: var(--gold-dk);
  opacity: 0.5;
  margin-bottom: 16px;
}
.ao-card h4 {
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.6;
}
.ao-card p { font-size: 13px; color: #687182; line-height: 1.85; text-align: left; }

/* =================================
   合格実績
================================= */
.results-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.results-layout h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}
.results-layout h2 em { color: var(--gold-lt); font-style: normal; }
.results-desc { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }
.stat-block { margin-bottom: 24px; }
.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-num {
  font-size: clamp(80px, 11vw, 132px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-lt);
  font-family: Georgia, serif;
}
.stat-unit { font-size: 22px; color: #fff; }
.stat-note { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 8px; }
.disclaimer { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 20px; line-height: 1.7; }
.results-panel {
  padding: 48px;
  background: linear-gradient(135deg, #182640, #101c32);
  border: 1px solid rgba(213,183,121,0.2);
  border-radius: var(--radius);
}
.panel-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}
.results-panel h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
}
.university-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.university-list li {
  padding: 18px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  text-align: center;
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}
.university-list small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.results-note { font-size: 11px; color: rgba(255,255,255,0.4); }

/* =================================
   講師紹介
================================= */
.instructor-layout-new {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto 1fr;
  column-gap: 72px;
  row-gap: 0;
  align-items: start;
}
.instructor-top-copy {
  grid-column: 1;
  grid-row: 1;
}
.instructor-portrait-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
}
.instructor-bottom-copy {
  grid-column: 1;
  grid-row: 2;
  padding-top: 36px;
}
/* 写真フレーム */
.instructor-portrait-frame {
  position: relative;
  background: #f3f1ee;
  border-radius: 4px;
  padding: 12px;
}
.instructor-portrait-frame::before,
.instructor-portrait-frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold-dk);
  border-style: solid;
  pointer-events: none;
}
.instructor-portrait-frame::before {
  top: 5px; left: 5px;
  border-width: 2px 0 0 2px;
}
.instructor-portrait-frame::after {
  bottom: 5px; right: 5px;
  border-width: 0 2px 2px 0;
}
.instructor-portrait {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
/* テキスト */
.instructor-top-copy .eyebrow { margin-bottom: 20px; }
.instructor-catchcopy {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 18px;
}
.instructor-subcopy {
  font-size: 15px;
  color: var(--gold-dk);
  font-weight: 500;
}
.instructor-role { font-size: 13px; color: var(--gold-dk); font-weight: 500; margin-bottom: 8px; }
.instructor-name {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.4;
}
.instructor-name small {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 400;
  margin-left: 12px;
}
.instructor-desc { font-size: 14px; color: #687182; line-height: 1.9; margin-bottom: 20px; }
/* 経歴 開閉 */
.credentials-details { margin-bottom: 0; }
.credentials-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dk);
  cursor: pointer;
  list-style: none;
  padding: 8px 18px;
  border: 1px solid rgba(184,148,79,0.35);
  border-radius: 100px;
  transition: background 0.2s;
  margin-bottom: 14px;
}
.credentials-toggle::-webkit-details-marker { display: none; }
.credentials-toggle:hover { background: rgba(184,148,79,0.06); }
.credentials-toggle::after { content: '  ▼'; font-size: 9px; }
details[open] .credentials-toggle::after { content: '  ▲'; }
.credentials {
  padding: 14px 0 14px 20px;
  border-left: 3px solid var(--line-col);
  margin-bottom: 0;
}
.credentials li { font-size: 13px; color: #59677a; line-height: 2.2; }

/* =================================
   指導内容タブ
================================= */
.tabs {
  display: flex;
  border-bottom: 1px solid #d8d2c5;
  margin-bottom: 0;
}
.tab {
  flex: 1;
  padding: 18px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #78808a;
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--gold-dk); }
.tab-panels {
  background: #fff;
  padding: 52px;
  min-height: 240px;
  border: 1px solid #e8e4db;
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.tab-panel { max-width: 680px; }
.panel-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.17em;
  color: var(--gold-dk);
  margin-bottom: 14px;
}
.tab-panel h3 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 18px;
}
.tab-panel p { font-size: 14px; color: var(--muted); line-height: 1.9; }

/* =================================
   ロードマップ・タイムライン
================================= */
.roadmap-lead { color: rgba(255,255,255,0.65); font-size: 14px; }
.sub-heading {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}
.timeline {
  border-left: 1px solid rgba(213,183,121,0.25);
  margin-left: 20px;
  margin-bottom: 0;
}
.timeline-item {
  display: flex;
  gap: 28px;
  padding: 0 0 36px 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--navy3);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-sizing: content-box;
}
.timeline-goal::before {
  background: var(--gold);
  border-color: var(--gold-lt);
  width: 15px;
  height: 15px;
  left: -8px;
}
.timeline-deadline::before {
  background: transparent;
  border-color: rgba(213,183,121,0.6);
  border-style: dashed;
}
.timeline-time {
  flex-shrink: 0;
  width: 96px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  padding-top: 2px;
}
.timeline-time span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}
.timeline-body {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
}
.timeline-body h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.timeline-body p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 0; }
.timeline-goal .timeline-body { border-color: rgba(213,183,121,0.25); background: rgba(213,183,121,0.06); }
.deadline-badge {
  display: inline-block;
  font-size: 10px;
  background: rgba(213,183,121,0.2);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(213,183,121,0.3);
  margin-left: 8px;
  vertical-align: middle;
}

/* ロードマップ タブ */
.rm-tabs {
  display: flex;
  border-bottom: 1px solid rgba(213,183,121,0.2);
  margin-bottom: 0;
}
.rm-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.rm-tab:hover { color: rgba(255,255,255,0.65); }
.rm-tab.active {
  color: var(--gold-lt);
  border-bottom-color: var(--gold);
}
.rm-tab-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.75;
}
.rm-panel {
  padding: 48px 0 0;
  animation: rmFadeIn 0.28s ease;
}
@keyframes rmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rm-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.rm-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.rm-step-goal {
  border-color: rgba(213,183,121,0.25);
  background: rgba(213,183,121,0.07);
}
.rm-step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
}
.rm-step h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}
.rm-step p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 0;
}
.rm-note {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ステップ */
.steps {
  border-left: 1px solid rgba(213,183,121,0.2);
  margin-left: 20px;
}
.step {
  display: flex;
  gap: 28px;
  padding: 0 0 36px 32px;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--navy3);
}
.step-num {
  font-size: 28px;
  font-family: Georgia, serif;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.step h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 0; }

/* 受け入れ通知 */
.enrollment-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(213,183,121,0.3);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-top: 32px;
  background: rgba(213,183,121,0.06);
}
.enrollment-notice strong { color: var(--gold); font-size: 12px; letter-spacing: 0.05em; }
.enrollment-notice span { font-size: 17px; color: #fff; font-weight: 500; }
.enrollment-notice p { font-size: 12px; color: rgba(255,255,255,0.5); flex-basis: 100%; margin: 0; line-height: 1.6; }

/* =================================
   料金
================================= */
.pricing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.price-primary {
  background: var(--navy2);
  color: #fff;
  padding: 44px;
  border-radius: var(--radius);
}
.pill {
  display: inline-block;
  border: 1px solid rgba(213,183,121,0.4);
  color: var(--gold-lt);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.price-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.price-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.price-tax-excl {
  font-size: clamp(42px, 5vw, 66px);
  font-family: Georgia, serif;
  color: var(--gold-lt);
  line-height: 1;
}
.price-tax-excl small { font-size: 0.45em; }
.price-unit { font-size: 14px; color: rgba(255,255,255,0.6); }
.price-tax-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 28px; }
.price-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 24px 0; }
.price-info { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.price-info strong { color: var(--gold-lt); }
.price-success { color: rgba(100,220,130,0.85) !important; font-weight: 500; }
.price-foot { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 20px; line-height: 1.7; }

.price-secondary {
  border: 1px solid #e2ddd2;
  border-radius: var(--radius);
  padding: 44px;
  background: #fcfaf7;
}
.price-secondary h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 28px; }
.price-secondary label {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.price-secondary output { color: var(--gold-dk); font-weight: 700; font-size: 16px; }
.price-secondary input[type="range"] {
  width: 100%;
  margin: 14px 0;
  accent-color: var(--gold-dk);
  cursor: pointer;
  height: 4px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e8e3da;
  font-size: 13px;
}
.calc-row span { color: var(--muted); }
.calc-row strong { color: var(--ink); font-weight: 700; }
.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 8px;
}
.calc-total span { font-size: 12px; color: var(--muted); }
.calc-total strong { font-size: 28px; font-weight: 700; color: var(--gold-dk); }
.calc-note { font-size: 11px; color: var(--muted); margin-top: 16px; line-height: 1.8; }

/* 費用一覧テーブル */
.additional-fees {
  border: 1px solid #e8e3da;
  border-radius: var(--radius);
  padding: 36px;
  background: #faf8f4;
  margin-bottom: 28px;
}
.additional-fees h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.fees-table { width: 100%; }
.fees-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 2fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #ece7de;
  font-size: 13px;
  align-items: start;
}
.fees-row:last-child { border-bottom: none; }
.fees-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd8d0;
}
.fees-row.highlight { background: rgba(26,46,74,0.03); border-radius: 6px; padding: 14px 8px; margin: 4px -8px; }
.fees-row span small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.fees-row strong { color: var(--ink); }

/* 返金保証 */
.guarantee-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid rgba(213,183,121,0.35);
  border-left: 4px solid var(--gold-dk);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.guarantee-icon {
  font-size: 28px;
  color: var(--gold-dk);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.guarantee-box h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.guarantee-box p { font-size: 13px; color: #556070; line-height: 1.85; margin-bottom: 10px; }
.guarantee-box p:last-child { margin-bottom: 0; }
.guarantee-example {
  font-size: 12px !important;
  background: rgba(213,183,121,0.12);
  border-radius: 6px;
  padding: 10px 14px !important;
  color: var(--ink) !important;
}

/* =================================
   入試比較
================================= */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  min-width: 600px;
}
.comparison-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
}
.comparison-table thead th.col-highlight { background: var(--navy2); color: var(--gold-lt); }
.comparison-table th[scope="row"] {
  background: rgba(26,46,74,0.04);
  font-weight: 700;
  color: var(--ink);
  padding: 14px 18px;
  text-align: left;
}
.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(26,46,74,0.06);
  color: #4a5568;
  vertical-align: top;
}
.comparison-table td.col-highlight {
  background: rgba(26,46,74,0.04);
  font-weight: 600;
  color: var(--ink);
}
.comparison-table tr:last-child td,
.comparison-table tr:last-child th { border-bottom: none; }

/* =================================
   FAQ
================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.faq-layout h2 { margin-bottom: 12px; }
.faq-list { max-width: 100%; }
.faq-item { border-bottom: 1px solid #d9d3c5; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--ink);
  position: relative;
  line-height: 1.6;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold-dk);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--gold-dk); }
.faq-item p {
  font-size: 13px;
  color: #626f7f;
  line-height: 1.9;
  padding: 4px 40px 20px 0;
  margin: 0;
}

/* =================================
   最終CTA
================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #172c52 0%, #0b1830 40%, var(--navy) 80%);
}
.final-cta-inner {
  position: relative;
  z-index: 2;
}
.final-cta-inner h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20px;
  font-family: Georgia, 'Noto Serif JP', serif;
}
.final-cta-inner h2 em { color: var(--gold-lt); font-style: normal; }
.cta-lead { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.cta-micro {
  display: block;
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}
.social-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }

/* =================================
   フッター
================================= */
.site-footer {
  background: #060e1c;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 12px; }
.footer-main nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main nav a,
.footer-contact a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-main nav a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* =================================
   モバイル固定ボタン
================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 16px;
  right: 16px;
  z-index: 90;
  background: linear-gradient(115deg, var(--gold-lt), var(--gold-dk));
  color: #162038;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.2s;
}
.mobile-cta:hover { opacity: 0.92; }

/* =================================
   スクロールアニメーション
================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.animate-in { animation: enter 0.9s both; }
.animate-in:nth-child(2) { animation-delay: 0.12s; }
.animate-in:nth-child(3) { animation-delay: 0.22s; }
.animate-in:nth-child(4) { animation-delay: 0.32s; }
.animate-in:nth-child(5) { animation-delay: 0.42s; }
.animate-in:nth-child(6) { animation-delay: 0.52s; }
.animate-in:nth-child(7) { animation-delay: 0.62s; }

@keyframes enter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes orbit {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
@keyframes twinkle {
  50% {
    filter: drop-shadow(0 0 60px rgba(213,183,121,0.9));
    transform: scale(1.05);
  }
}

/* =================================
   レスポンシブ
================================= */
@media (max-width: 1060px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { height: 340px; }
}

@media (max-width: 820px) {
  .wrap { width: min(100% - 36px, 640px); }
  .site-header, .site-header.scrolled { height: 68px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero { min-height: 100svh; padding: 110px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual {
    height: 220px;
    grid-row: 1;
    opacity: 0.65;
    margin-bottom: -20px;
  }
  .orbit { width: 50%; }
  .orbit-2 { width: 68%; }
  .orbit-3 { width: 37%; }
  .hero-star-core { width: 100px; height: 100px; }
  .hero-star-core span { font-size: 72px; }
  .scroll-hint { display: none; }
  .sp-br { display: inline; }

  .trust-inner { justify-content: center; }
  .trust-inner p { width: 100%; text-align: center; }
  .trust-inner span { border: none; padding: 0 10px; font-size: 10px; }

  .section { padding: 72px 0; }
  .section-heading h2,
  .faq-layout h2 { font-size: 30px; }

  .early-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .ao-grid { grid-template-columns: 1fr; }
  .results-layout { grid-template-columns: 1fr; gap: 40px; }
  .results-panel { padding: 28px; }
  .university-list { grid-template-columns: 1fr 1fr; }
  .instructor-layout-new { display: flex; flex-direction: column; gap: 28px; }
  .instructor-portrait-frame { max-width: 300px; margin: 0 auto; }
  .instructor-bottom-copy { padding-top: 0; }
  .rm-steps { grid-template-columns: 1fr 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .price-primary, .price-secondary { padding: 32px 28px; }
  .additional-fees { padding: 24px 20px; }
  .fees-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .fees-row > span:last-child { display: none; }
  .fees-header > span:last-child { display: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: span 2; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 88px; }
  .tab-panels { padding: 30px 24px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: clamp(44px, 12vw, 60px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-actions .text-link { text-align: center; }
  .feature-grid, .ao-grid, .early-grid { grid-template-columns: 1fr; }
  .university-list { grid-template-columns: 1fr; }
  .rm-steps { grid-template-columns: 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .fees-row { grid-template-columns: 1.5fr 1fr; }
  .fees-row > span:nth-child(3),
  .fees-header > span:nth-child(3) { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div:first-child { grid-column: auto; }
  .tabs { overflow-x: auto; }
  .tab { font-size: 12px; padding: 14px 8px; white-space: nowrap; }
  .guarantee-box { flex-direction: column; gap: 14px; }
}

/* =================================
   アクセシビリティ
================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

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