/* ============================================================
   HOSHIKAWA 星川プラネタリウム — 架空の科学館・プラネタリウム
   (Web Design Lab showcase)
   deep space 藍×星白×淡ゴールド／フルスクリーン・スライド(scroll-snap)
   Canvas 2D スターフィールド ＋ SVG 星座 line-draw ／ celestial slow
   ============================================================ */
:root {
  --space-0: #05070f;   /* いちばん暗い宇宙 */
  --space-1: #070a16;   /* 地の紺 */
  --space-2: #0a0f22;   /* 一段明るい藍 */
  --space-3: #0e1533;   /* ハイライトの藍 */
  --space-4: #131c40;   /* カード面 */

  --star:      #eef1fb;  /* 星白 */
  --star-soft: rgba(238,241,251,.72);
  --star-dim:  rgba(238,241,251,.44);
  --haze:      #9fb0d8;  /* 藍がかった副文字 */
  --haze-dim:  rgba(159,176,216,.55);
  --line:      rgba(159,176,216,.16);
  --line-2:    rgba(159,176,216,.30);

  --violet:    #b7a6ea;  /* 微光パープル */
  --violet-glow: rgba(150,128,224,.45);
  --gold:      #e7cd97;  /* 淡ゴールドの一点 */
  --gold-soft: rgba(231,205,151,.85);

  --serif: 'Spectral', 'Times New Roman', serif;
  --jp:    'Zen Kaku Gothic New', system-ui, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --slow: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  font-family: var(--jp);
  color: var(--star);
  background: radial-gradient(140% 100% at 50% 0%, var(--space-2), var(--space-1) 45%, var(--space-0));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: .04em;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: rgba(183,166,234,.28); color: var(--star); }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* ===== 固定の星空キャンバス・天の川・ヴィネット ===== */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.milkyway {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .8;
  background:
    radial-gradient(60% 42% at 72% 26%, rgba(120,110,190,.14), transparent 70%),
    radial-gradient(52% 60% at 20% 78%, rgba(70,96,160,.14), transparent 72%),
    linear-gradient(122deg, transparent 34%, rgba(150,160,210,.05) 48%, rgba(190,180,220,.06) 55%, transparent 66%);
  mix-blend-mode: screen;
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 52%, rgba(3,4,10,.55) 100%);
}

/* ============================================================
   nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 22px;
  padding: 20px clamp(16px, 4vw, 52px);
  transition: padding .5s var(--ease), background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  padding: 12px clamp(16px, 4vw, 52px);
  background: rgba(7,10,22,.62);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; opacity: .92; }
.brand-mark svg circle { stroke: var(--violet); opacity: .5; }
.brand-name { display: grid; line-height: 1.15; }
.brand-name b { font-family: var(--jp); font-weight: 500; font-size: 17px; letter-spacing: .14em; color: var(--star); }
.brand-name i { font-family: var(--serif); font-style: normal; font-weight: 300; font-size: 9.5px; letter-spacing: .34em; color: var(--haze-dim); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-family: var(--jp); font-weight: 400; font-size: 14px; color: var(--haze);
  position: relative; padding: 4px 2px; letter-spacing: .08em; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--star); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--jp); font-weight: 500; font-size: 13px; color: var(--space-0);
  padding: 9px 20px; border-radius: 40px; letter-spacing: .06em;
  background: linear-gradient(120deg, var(--gold), #f2e2bd);
  box-shadow: 0 6px 20px -8px rgba(231,205,151,.6); transition: transform .3s var(--ease), box-shadow .3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(231,205,151,.7); }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-burger i { display: block; width: 24px; height: 1.5px; margin: 6px auto; background: var(--star); border-radius: 2px; transition: .35s var(--ease); }

/* ============================================================
   右の章ドット（スライドナビ）
   ============================================================ */
.rail {
  position: fixed; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%);
  z-index: 55; display: grid; gap: 18px;
}
.rail a {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--line-2); display: block; transition: border-color .4s, transform .4s;
}
.rail a::after {
  content: ""; position: absolute; inset: 2.5px; border-radius: 50%;
  background: var(--star); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s;
}
.rail a::before {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--jp); font-size: 11px; letter-spacing: .1em; color: var(--haze); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.rail a:hover::before { opacity: 1; }
.rail a:hover { border-color: var(--violet); }
.rail a.on { border-color: var(--gold); transform: scale(1.15); }
.rail a.on::after { opacity: 1; transform: scale(1); background: var(--gold); box-shadow: 0 0 10px 1px var(--gold-soft); }

/* ============================================================
   スライド共通（1画面 = 1スライド）
   ============================================================ */
#scroller { position: relative; z-index: 10; }
.slide {
  position: relative; min-height: 100svh; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(96px, 13vh, 140px) clamp(20px, 5vw, 64px) clamp(56px, 8vh, 92px);
}
.slide-head { max-width: var(--maxw); width: 100%; margin: 0 auto clamp(24px, 4vh, 44px); text-align: center; }
.sec-en {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px;
  letter-spacing: .18em; color: var(--gold); margin-bottom: 10px;
}
.sec-jp {
  font-family: var(--jp); font-weight: 500; font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.3; color: var(--star); letter-spacing: .1em;
}
.sec-note { font-size: 14.5px; color: var(--haze); margin-top: 14px; max-width: 560px; margin-inline: auto; font-weight: 300; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--jp); font-weight: 500; font-size: 14.5px; letter-spacing: .06em;
  padding: 13px 28px; border-radius: 40px; cursor: pointer; border: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, border-color .4s, color .4s;
}
.btn-primary {
  color: var(--space-0); background: linear-gradient(120deg, var(--gold), #f4e6c4);
  box-shadow: 0 10px 26px -12px rgba(231,205,151,.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(231,205,151,.7); }
.btn-ghost { color: var(--star); background: rgba(159,176,216,.05); border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--violet); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero { align-items: flex-start; }
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 400; font-size: 12px; letter-spacing: .22em;
  color: var(--haze); border: 1px solid var(--line); background: rgba(159,176,216,.05);
  padding: 6px 16px; border-radius: 40px; margin-bottom: 26px; text-transform: uppercase;
}
.kicker .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 1px var(--gold-soft); }
.hero-title {
  font-family: var(--jp); font-weight: 300; font-size: clamp(44px, 8.4vw, 108px);
  line-height: 1.12; letter-spacing: .06em; color: var(--star); margin-bottom: 20px;
}
.hero-title span { display: block; }
.hero-title span:last-child {
  background: linear-gradient(100deg, var(--star) 30%, var(--violet) 62%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-en {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(15px, 2vw, 21px);
  color: var(--gold-soft); letter-spacing: .04em; margin-bottom: 24px;
}
.hero-lead { max-width: 460px; font-size: 15.5px; color: var(--haze); margin-bottom: 32px; line-height: 2.05; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4;
  display: grid; justify-items: center; gap: 8px;
  font-family: var(--serif); font-size: 10px; letter-spacing: .34em; color: var(--haze-dim);
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--haze), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   2. 今夜の星座 / CONSTELLATIONS
   ============================================================ */
.const-stage {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.const-figure {
  position: relative; aspect-ratio: 1.28; width: 100%;
  border: 1px solid var(--line); border-radius: 16px;
  background: radial-gradient(120% 100% at 50% 20%, rgba(30,40,86,.35), rgba(8,11,26,.6));
  box-shadow: inset 0 0 80px rgba(120,110,190,.08), 0 30px 70px -40px rgba(0,0,0,.7);
  overflow: hidden;
}
/* 今夜の星座プレビュー：Canvas2Dの見取り図（hero側の単一WebGLコンテキストとは別） */
.const-figure canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.const-name { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.const-name b { font-family: var(--jp); font-weight: 500; font-size: clamp(24px, 3.2vw, 34px); color: var(--star); letter-spacing: .08em; }
.const-name i { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px; color: var(--gold-soft); letter-spacing: .04em; }
.const-desc { font-size: 14.5px; color: var(--haze); line-height: 2; min-height: 5.6em; margin-bottom: 24px; font-weight: 300; }
.const-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.const-tab {
  font-family: var(--jp); font-weight: 400; font-size: 13px; letter-spacing: .06em; color: var(--haze);
  background: rgba(159,176,216,.05); border: 1px solid var(--line-2); border-radius: 40px;
  padding: 8px 18px; cursor: pointer; transition: color .3s, border-color .3s, background .3s;
}
.const-tab:hover { color: var(--star); border-color: var(--violet); }
.const-tab.on { color: var(--space-0); background: linear-gradient(120deg, var(--gold), #f4e6c4); border-color: transparent; font-weight: 500; }

/* ============================================================
   3. 投影プログラム / PROGRAMS
   ============================================================ */
.prog-grid {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px);
}
.prog {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(19,28,64,.5), rgba(10,15,34,.55));
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px 22px; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.prog::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pc, var(--violet)), transparent); opacity: .7;
}
.prog:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 26px 50px -30px rgba(0,0,0,.8); }
.prog-ico { width: 40px; height: 40px; margin-bottom: 16px; color: var(--pc, var(--violet)); }
.prog-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.prog-tag { font-family: var(--serif); font-style: italic; font-size: 11.5px; letter-spacing: .12em; color: var(--gold-soft); margin-bottom: 6px; }
.prog-name { font-family: var(--jp); font-weight: 500; font-size: 18px; color: var(--star); letter-spacing: .04em; line-height: 1.5; margin-bottom: 10px; }
.prog-desc { font-size: 13px; color: var(--haze); line-height: 1.85; font-weight: 300; margin-bottom: 16px; flex: 1; }
.prog-foot-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.prog-len { font-family: var(--serif); font-size: 12px; color: var(--haze-dim); letter-spacing: .06em; }
.prog-times { font-family: var(--serif); font-weight: 400; font-size: 13px; color: var(--star-soft); letter-spacing: .04em; }
.prog-foot { text-align: center; max-width: var(--maxw); margin: clamp(22px, 3vh, 34px) auto 0; font-size: 12.5px; color: var(--haze-dim); font-weight: 300; }

/* ============================================================
   4. ドームと望遠鏡 / FACILITY
   ============================================================ */
.dome-grid {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: center;
}
.dome-vis {
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 44px);
  background: radial-gradient(110% 90% at 50% 8%, rgba(30,40,86,.4), rgba(8,11,26,.5));
  box-shadow: inset 0 0 70px rgba(120,110,190,.08);
}
.dome-svg { width: 100%; height: auto; }
.dome-svg .dome-draw { fill: none; stroke: var(--star-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--slow); }
.dome-svg .dome-rib { fill: none; stroke: var(--haze); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; opacity: .55; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--slow) .3s; }
.dome-svg .dome-slit { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--slow) .5s; filter: drop-shadow(0 0 3px var(--gold-soft)); }
.dome-svg .scope-tube { fill: var(--violet); opacity: 0; transition: opacity .8s ease 1.2s; }
.dome-svg .dome-star { fill: var(--star); opacity: 0; transition: opacity .8s ease 1.4s; }
.dome-vis.drawn .dome-draw, .dome-vis.drawn .dome-rib, .dome-vis.drawn .dome-slit { stroke-dashoffset: 0; }
.dome-vis.drawn .scope-tube { opacity: .85; }
.dome-vis.drawn .dome-star { opacity: .9; }

.dome-lead { font-size: 15px; color: var(--haze); line-height: 2.05; margin: 16px 0 26px; font-weight: 300; max-width: 460px; }
.spec-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-list li { background: rgba(10,15,34,.6); padding: 18px 20px; }
.spec-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--gold); letter-spacing: .02em; line-height: 1.1; }
.spec-list b small { font-size: 14px; font-weight: 300; color: var(--star-soft); margin-left: 2px; }
.spec-list span { font-size: 12.5px; color: var(--haze); font-weight: 300; letter-spacing: .06em; }

/* ============================================================
   5. 来館案内 / VISIT
   ============================================================ */
.visit { padding-bottom: 0; }
.visit-grid {
  max-width: var(--maxw); width: 100%; margin: 0 auto auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center;
  flex: 1; padding-top: clamp(20px, 4vh, 40px);
}
.visit-dl { display: grid; gap: 2px; margin-top: 24px; border-top: 1px solid var(--line); }
.visit-dl .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.visit-dl dt { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: .1em; color: var(--gold-soft); }
.visit-dl dd { font-size: 14.5px; color: var(--star-soft); font-weight: 300; line-height: 1.8; }
.visit-dl dd small { display: block; font-size: 12.5px; color: var(--haze-dim); }

.visit-card {
  background: linear-gradient(180deg, rgba(19,28,64,.55), rgba(10,15,34,.6));
  border: 1px solid var(--line-2); border-radius: 18px; padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.8);
}
.visit-card h3 { font-family: var(--jp); font-weight: 500; font-size: 20px; color: var(--star); letter-spacing: .06em; margin-bottom: 10px; }
.visit-card > p { font-size: 13.5px; color: var(--haze); line-height: 1.9; font-weight: 300; margin-bottom: 20px; }
.visit-form { display: flex; gap: 10px; flex-wrap: wrap; }
.visit-form input {
  flex: 1 1 200px; min-width: 0; font-family: var(--jp); font-size: 14.5px; color: var(--star); font-weight: 300;
  background: rgba(5,7,15,.5); border: 1px solid var(--line-2); border-radius: 40px; padding: 12px 22px;
  transition: border-color .3s;
}
.visit-form input::placeholder { color: var(--haze-dim); }
.visit-form input:focus { outline: none; border-color: var(--violet); }
.visit-form input:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.vf-note { min-height: 20px; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-soft); }
.visit-tickets { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.visit-tickets div { display: grid; gap: 2px; }
.visit-tickets b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--star); letter-spacing: .02em; }
.visit-tickets b small { font-size: 12px; color: var(--haze); }
.visit-tickets span { font-size: 11.5px; color: var(--haze-dim); letter-spacing: .06em; }

/* ============================================================
   footer
   ============================================================ */
.footer { position: relative; z-index: 10; border-top: 1px solid var(--line); padding: clamp(40px, 6vh, 64px) clamp(20px, 5vw, 64px) 44px; margin-top: clamp(30px, 5vh, 56px); background: rgba(5,7,15,.4); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-mark { width: 40px; height: 40px; margin: 0 auto 14px; display: grid; place-items: center; }
.footer-mark svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; opacity: .85; }
.footer-mark svg circle { stroke: var(--violet); opacity: .5; }
.footer-tag { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(19px, 2.6vw, 26px); color: var(--star); margin-bottom: 22px; letter-spacing: .04em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 24px; }
.footer-nav a { font-size: 13.5px; color: var(--haze); transition: color .3s; letter-spacing: .06em; }
.footer-nav a:hover { color: var(--gold); }
.footer-note { font-size: 12px; color: var(--haze-dim); max-width: 640px; margin: 0 auto 8px; line-height: 1.8; font-weight: 300; }
.footer-copy { font-family: var(--serif); font-size: 11.5px; letter-spacing: .1em; color: var(--haze-dim); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.open { flex-wrap: wrap; background: rgba(7,10,22,.96); backdrop-filter: blur(14px); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 14px 0 4px; }
  .nav.open .nav-cta { display: inline-block; }
  .rail { display: none; }
  .const-stage { grid-template-columns: 1fr; gap: 26px; }
  .const-figure { max-width: 560px; margin: 0 auto; width: 100%; }
  .const-desc { min-height: 0; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .dome-grid { grid-template-columns: 1fr; gap: 30px; }
  .dome-vis { max-width: 460px; margin: 0 auto; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  html { scroll-snap-type: none; }
  .slide { min-height: auto; padding-top: clamp(92px, 16vh, 120px); padding-bottom: 64px; }
  .hero { min-height: 100svh; }
  .prog-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .spec-list { grid-template-columns: 1fr; }
  .visit-dl .row { grid-template-columns: 96px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dome-svg .dome-draw, .dome-svg .dome-rib, .dome-svg .dome-slit { stroke-dashoffset: 0; transition: none; }
  .dome-svg .scope-tube, .dome-svg .dome-star { opacity: .85; transition: none; }
  .scroll-cue span { display: none; }
}

/* ============================================================
   最終フォールバック — Canvas2D も取得できない極稀なケース用の
   静的CSS星空（#skyキャンバスは黒背景のまま残るため body 側で補う）
   ============================================================ */
body.no-canvas::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .85;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 18%, #eef1fb 45%, transparent 46%),
    radial-gradient(1.2px 1.2px at 22% 62%, #eef1fb 45%, transparent 46%),
    radial-gradient(1px 1px at 35% 30%, #eef1fb 45%, transparent 46%),
    radial-gradient(1.4px 1.4px at 48% 78%, #e7cd97 45%, transparent 46%),
    radial-gradient(1px 1px at 58% 12%, #eef1fb 45%, transparent 46%),
    radial-gradient(1.3px 1.3px at 68% 55%, #eef1fb 45%, transparent 46%),
    radial-gradient(1px 1px at 78% 34%, #b7a6ea 45%, transparent 46%),
    radial-gradient(1.5px 1.5px at 88% 68%, #eef1fb 45%, transparent 46%),
    radial-gradient(1px 1px at 15% 88%, #eef1fb 45%, transparent 46%),
    radial-gradient(1.2px 1.2px at 92% 22%, #eef1fb 45%, transparent 46%);
  background-repeat: no-repeat;
}
