/* ねるこねこ公式サイト（設計書2026-07-14準拠）
   骨格＝「ページ＝一晩」：スクロールで夜が沈み、消灯を経て朝が来る。
   アンビエントの時間単位＝--beat（0.83s ≒ 72bpm。音の科学60〜80bpm帯との言行一致）。 */

:root {
  --night-deep: #060a1c;
  --night: #0d1533;
  --night-soft: #16224a;
  --night-mist: #232f5e;
  --lantern: #ffd48a;
  --lantern-deep: #e8a95c;
  --cream: #f3e9d4;
  --cream-dim: rgba(243, 233, 212, 0.66);
  --paw: #f2b8ac;
  --star: #fff3c4;
  --dawn: #f7c9a0;
  --hairline: rgba(243, 233, 212, 0.16);
  --beat: 0.83s;
  --font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-whisper: "Yomogi", "Hiragino Maru Gothic ProN", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; display: block; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--cream);
  background:
    radial-gradient(120% 60% at 50% -10%, #1b2a5c 0%, transparent 60%),
    linear-gradient(180deg, #101b40 0%, var(--night) 34%, #0a1230 100%);
  background-attachment: fixed;
  line-height: 1.9;
  overflow-x: hidden;
}

/* ---------- 夜のとばり（スクロール沈降のレイヤー。JSがopacityを操作） ---------- */
.veil { position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 0; }
.v-deep  { background: linear-gradient(180deg, #081026 0%, #060b1e 100%); }
.v-black { background: #030510; }
.v-dawn  { background:
  radial-gradient(110% 70% at 50% 110%, rgba(247, 201, 160, 0.55) 0%, transparent 62%),
  linear-gradient(180deg, rgba(38, 48, 92, 0.6) 0%, rgba(120, 96, 110, 0.5) 55%, rgba(214, 150, 110, 0.5) 100%); }

/* ---------- 星（ビルド時生成・72bpmで瞬く） ---------- */
.starfield { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.starfield i {
  position: absolute; border-radius: 50%;
  background: var(--star);
  opacity: 0.32;
  animation: twinkle calc(var(--beat) * 4) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.75; }
}

/* ---------- 骨組み ---------- */
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; position: relative; }
.sec { position: relative; z-index: 1; padding: clamp(72px, 12vh, 140px) 0; }
.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.center { text-align: center; }

.skip {
  /* 上方向に隠す＝RTL（アラビア語）でも横スクロール領域を作らない（左隠しはRTLで全量はみ出しになる） */
  position: fixed; top: -80px; left: 8px; z-index: 100;
  background: var(--lantern); color: #2a1e08; padding: 10px 16px; border-radius: 0 0 12px 12px;
}
.skip:focus { top: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; }
h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.5; margin: 10px 0 18px; }
h3 { font-size: 18px; margin-bottom: 8px; color: var(--lantern); }
p { margin: 0 0 14px; }

.kicker {
  font-size: 13px; letter-spacing: 0.28em; color: var(--lantern);
  text-transform: uppercase; margin-bottom: 4px;
}
.kicker::before { content: "☾ "; color: var(--cream-dim); }
.lede { font-size: clamp(15px, 1.8vw, 17.5px); color: var(--cream); max-width: 46em; }
.note { font-size: 13px; color: var(--cream-dim); }
.note.small { font-size: 12px; }
.note.center { text-align: center; margin-top: 10px; }
.more { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-top: 12px; }

.textlink { color: var(--lantern); text-underline-offset: 4px; }
.textlink:hover { color: var(--star); }

/* ---------- ヘッダー ---------- */
.site {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(9, 14, 38, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--cream); }
.brand img { border-radius: 7px; align-self: center; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand-sub { font-size: 11px; letter-spacing: 0.18em; color: var(--cream-dim); }
.site nav { display: flex; gap: clamp(12px, 2.5vw, 28px); }
.site nav a {
  color: var(--cream); text-decoration: none; font-size: 14px; padding: 6px 2px;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.site nav a:hover, .site nav a:focus-visible { color: var(--lantern); border-bottom-color: var(--lantern); }

/* ---------- ボタン ---------- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 0; }
.cta-row.center { justify-content: center; }
.btn {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  border-radius: 999px; padding: 14px 26px; min-height: 48px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  border: none;
}
.btn-main {
  color: #33240d;
  background: linear-gradient(180deg, var(--star) 0%, var(--lantern) 45%, var(--lantern-deep) 100%);
  box-shadow: 0 6px 24px rgba(255, 212, 138, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: lamp-breathe calc(var(--beat) * 4) ease-in-out infinite;
}
.btn-sub, .btn-ghost {
  color: var(--cream); background: rgba(35, 47, 94, 0.55);
  border: 1px solid var(--hairline);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-static { cursor: default; }
.btn-static:hover { transform: none; filter: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lantern); outline-offset: 3px;
}
@keyframes lamp-breathe {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 212, 138, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 6px 32px rgba(255, 212, 138, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
}

/* ---------- ヒーロー ---------- */
.sec-hero { padding-top: clamp(40px, 7vh, 90px); min-height: calc(100svh - 60px); display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy h1 {
  font-size: clamp(44px, 7.2vw, 84px); line-height: 1.18; letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 42px rgba(255, 212, 138, 0.18);
}
.tagline { font-size: clamp(16px, 2.4vw, 21px); font-weight: 700; color: var(--lantern); margin: 8px 0 2px; }
.concept { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 2vw, 18px); margin-bottom: 14px; }
.hero-art { justify-self: center; position: relative; margin: 0; }
.hero-art img {
  width: min(380px, 78vw); border-radius: 26px;
  box-shadow: 0 24px 80px rgba(2, 4, 14, 0.7), 0 0 0 1px var(--hairline);
}
.hero-art figcaption { font-size: 12px; color: var(--cream-dim); text-align: center; margin-top: 10px; }
.scrollcue {
  text-align: center; margin-top: clamp(26px, 5vh, 54px);
  font-size: 13px; letter-spacing: 0.2em; color: var(--cream-dim);
}
.cue-star { display: inline-block; margin-left: 8px; color: var(--star); animation: cue-fall calc(var(--beat) * 3) ease-in-out infinite; }
@keyframes cue-fall {
  0% { transform: translateY(-4px); opacity: 0.2; }
  60% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* 初回ロードの浮上 */
.load-in { opacity: 0; transform: translateY(18px); animation: rise 0.9s ease forwards; }
.load-in.l2 { animation-delay: 0.15s; }
.load-in.l3 { animation-delay: 0.3s; }
.load-in.l4 { animation-delay: 0.45s; }
.load-in.l5 { animation-delay: 0.6s; }
.load-in.l6 { animation-delay: 0.78s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- スクロール浮上（深いセクションほどゆっくり＝沈降連動） ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.sec-oto .reveal, .sec-nemuri .reveal { transition-duration: 1s; }
.sec-asa .reveal, .sec-finale .reveal { transition-duration: 1.2s; }

/* ---------- 動画 ---------- */
.videobox { margin: 0; justify-self: center; }
.videobox video {
  width: min(320px, 72vw); border-radius: 22px;
  box-shadow: 0 18px 60px rgba(2, 4, 14, 0.65), 0 0 0 1px var(--hairline);
  background: var(--night-deep);
}
.videobox figcaption { font-size: 12px; color: var(--cream-dim); text-align: center; margin-top: 10px; }

/* ---------- あかり消しデモ ---------- */
.akari-flex { display: grid; grid-template-columns: minmax(0, 430px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 18px; }
.akari-stage {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 22px 70px rgba(2, 4, 14, 0.7), 0 0 0 1px var(--hairline);
  transition: filter 2.4s ease;
}
.akari-stage.alloff { filter: brightness(0.72) saturate(0.9); }
.akari-scene { width: 100%; }
.akari-glow {
  position: absolute; transform: translate(-50%, -50%);
  background: none; border: none; padding: 0; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.akari-glow img {
  width: 100%; mix-blend-mode: screen; pointer-events: none;
  animation: glow-pulse var(--beat) ease-in-out infinite;
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.akari-glow:nth-child(odd) img { animation-delay: calc(var(--beat) / 2); }
.akari-glow.off img { opacity: 0; transform: scale(0.6); }
.akari-glow.off { pointer-events: none; }
@keyframes glow-pulse {
  0%, 100% { filter: brightness(0.92); }
  45% { filter: brightness(1.12); }
}
.akari-spark {
  position: absolute; width: 64px; height: 64px; transform: translate(-50%, -50%) scale(0.3);
  mix-blend-mode: screen; pointer-events: none; opacity: 0;
  animation: spark 1.1s ease forwards;
}
@keyframes spark {
  20% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
}
.akari-telop {
  position: absolute; top: 7%; left: 50%; transform: translateX(-50%);
  pointer-events: none;
  width: 92%; text-align: center; font-size: 15px; font-weight: 500;
  color: var(--cream); text-shadow: 0 0 14px rgba(10, 16, 40, 0.9), 0 0 4px rgba(10, 16, 40, 0.9);
}
.akari-done {
  position: absolute; inset: auto 0 12%; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--star);
  opacity: 0; transition: opacity 1.6s ease; text-shadow: 0 0 18px rgba(6, 10, 28, 0.95);
}
.akari-done.show { opacity: 1; }
.akari-counter {
  display: inline-flex; align-items: baseline; gap: 12px;
  background: rgba(22, 34, 74, 0.65); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 10px 22px;
}
.akari-counter-label { font-size: 13px; color: var(--cream-dim); }
.akari-counter-num {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--star);
  font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: right;
}
.akari-side { padding-top: 8px; }

/* ---------- ゲーム絵巻 ---------- */
.scrollwrap { overflow-x: auto; padding: 26px 0 18px; scrollbar-color: var(--night-mist) transparent; }
.gstrip {
  display: flex; gap: clamp(16px, 2.4vw, 28px); list-style: none;
  padding: 0 max(24px, calc((100vw - 1060px) / 2));
  width: max-content;
}
.gcard { flex: 0 0 auto; width: clamp(180px, 22vw, 230px); text-align: center; }
.phone { margin: 0; }
.phone img {
  width: 100%; border-radius: 22px;
  box-shadow: 0 14px 44px rgba(2, 4, 14, 0.6), 0 0 0 1px var(--hairline);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.gcard:hover .phone img {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 26px 60px rgba(2, 4, 14, 0.75), 0 0 24px rgba(255, 212, 138, 0.12);
}
.gname { font-family: var(--font-display); font-weight: 800; font-size: 16px; margin: 12px 0 2px; }
.gintro { font-size: 12.5px; color: var(--cream-dim); line-height: 1.7; }

/* ---------- ひらがなモード ---------- */
.hira-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 230px));
  gap: clamp(16px, 2.4vw, 28px); list-style: none;
  justify-content: center; margin-top: 30px; padding: 0;
}
.hira-grid .gcard { width: auto; }
.hira-tag {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  color: var(--cream-dim); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 4px 14px;
}
.hira-tag.kids { color: #33240d; background: var(--lantern); border-color: transparent; }
@media (max-width: 860px) {
  .hira-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hira-grid .gcard:nth-child(3) { display: none; } /* スマホは比較の2枚だけ */
}

/* ---------- カード3枚 ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin: 26px 0 8px; }
.card {
  background: linear-gradient(180deg, rgba(35, 47, 94, 0.5) 0%, rgba(22, 34, 74, 0.55) 100%);
  border: 1px solid var(--hairline); border-radius: 20px; padding: 22px 20px;
}
.card p { font-size: 14px; color: var(--cream); margin: 0; }

/* ---------- 脈動パッド ---------- */
.pulsepad-row { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.pulsepad {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  border: 1px solid var(--hairline); cursor: pointer;
  background: radial-gradient(circle at 50% 42%, rgba(255, 212, 138, 0.16) 0%, rgba(22, 34, 74, 0.6) 70%);
  display: grid; place-items: center; flex: 0 0 auto;
}
.pulsepad-core {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, var(--star) 0%, var(--lantern) 55%, transparent 75%);
  opacity: 0.5; transition: opacity 0.3s ease;
}
.pulsepad.holding .pulsepad-core { opacity: 1; animation: purr 1.6s ease-in-out infinite; }
.pulsepad-label {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 12.5px; color: var(--cream-dim);
}
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 212, 138, 0.5); opacity: 0;
  animation: ring 1.6s ease-out forwards; pointer-events: none;
}
@keyframes purr { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.28); } }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- 音の科学 ---------- */
.pledge {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; margin-top: 20px; color: var(--lantern);
}
.pledge-lamp {
  width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle, var(--star) 0%, var(--lantern) 60%, transparent 75%);
  animation: glow-pulse var(--beat) ease-in-out infinite;
}

/* ---------- 消灯 ---------- */
.sec-shoutou { min-height: 78vh; display: grid; place-items: center; }
.whisper {
  font-family: var(--font-whisper); font-size: clamp(20px, 3.4vw, 30px);
  color: rgba(243, 233, 212, 0.5); letter-spacing: 0.14em;
  animation: whisper-breathe calc(var(--beat) * 6) ease-in-out infinite;
}
@keyframes whisper-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.75; } }

/* ---------- 朝 ---------- */
.morning-card {
  justify-self: center; width: min(360px, 84vw);
  border-radius: 26px; padding: 34px 30px;
  background:
    linear-gradient(180deg, rgba(247, 201, 160, 0.12) 0%, rgba(22, 34, 74, 0.25) 100%),
    url("/assets/img/morning_bg.webp") center / cover;
  box-shadow: 0 22px 70px rgba(2, 4, 14, 0.6), 0 0 0 1px rgba(247, 201, 160, 0.35);
  color: #4a3823; text-shadow: 0 1px 0 rgba(255, 248, 236, 0.4);
}
.mc-head {
  background: rgba(255, 248, 236, 0.72); border-radius: 14px;
  padding: 12px 16px; margin-bottom: 20px;
}
.mc-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 4px; }
.mc-body { font-size: 14.5px; margin: 0; }
.mc-kakera { display: grid; gap: 10px; }
.mc-kakera div {
  display: flex; justify-content: space-between; align-items: baseline;
  background: rgba(255, 248, 236, 0.5); border-radius: 12px; padding: 8px 14px;
}
.mc-kakera dt { font-size: 12.5px; }
.mc-kakera dd { font-family: var(--font-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }

/* ---------- フィナーレ ---------- */
.sec-finale { padding-bottom: 120px; }
.finale-chopin { margin: 0 auto 6px; animation: sleep-breathe calc(var(--beat) * 8) ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sleep-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.035); } }

/* ---------- おともショパンくん（記名の仕掛け） ---------- */
.companion {
  position: fixed; right: clamp(10px, 2.5vw, 30px); bottom: clamp(10px, 2.5vh, 26px);
  z-index: 15; width: 96px; height: 130px; pointer-events: none;
}
.companion img { position: absolute; bottom: 0; transition: opacity 1.8s ease; }
.comp-awake { right: 4px; opacity: 1; animation: sway calc(var(--beat) * 6) ease-in-out infinite; transform-origin: 50% 100%; }
.comp-sleep { right: 0; opacity: 0; }
.companion.asleep .comp-awake { opacity: 0; }
.companion.asleep .comp-sleep { opacity: 1; animation: sleep-breathe calc(var(--beat) * 8) ease-in-out infinite; }
.comp-zzz {
  position: absolute; top: -6px; right: 12px;
  font-family: var(--font-whisper); font-size: 15px; color: var(--cream-dim);
  white-space: nowrap;
  opacity: 0; transition: opacity 1.4s ease;
}
.companion.asleep .comp-zzz { opacity: 1; animation: zzz-float calc(var(--beat) * 5) ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }
@keyframes zzz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 待機リストダイアログ ---------- */
dialog#waitlist {
  margin: auto; /* CSSリセット(*{margin:0})がUAの中央寄せを消すため明示 */
  border: 1px solid var(--hairline); border-radius: 24px;
  background: linear-gradient(180deg, #141f47 0%, #0d1533 100%);
  color: var(--cream); padding: 34px 30px; width: min(440px, 92vw);
}
dialog#waitlist::backdrop { background: rgba(3, 5, 16, 0.72); backdrop-filter: blur(4px); }
#wl-form h2 { font-size: 22px; margin-bottom: 8px; }
#wl-form p { font-size: 14px; }
#wl-form label { display: block; font-size: 13px; color: var(--cream-dim); margin: 14px 0 4px; }
#wl-form input[type="email"], .contact input, .contact textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px;
  font-family: var(--font-body); color: var(--cream);
  background: rgba(6, 10, 28, 0.6); border: 1px solid var(--hairline);
}
/* スパム対策の隠し欄＝縦方向に飛ばす（left系はRTL言語で横はみ出しを作る＝ar/supportの実バグ 2026-07-15） */
.hp { position: absolute; top: -9999px; left: 0; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 1.6em; color: var(--lantern); font-size: 14px; margin-top: 10px; }
dialog#waitlist a { color: var(--lantern); text-underline-offset: 3px; }
.wl-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- フッター ---------- */
.site-foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--hairline); padding: 34px 24px 44px; text-align: center;
  background: rgba(6, 10, 28, 0.6);
}
.foot-cols { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 1060px; margin: 0 auto 16px; text-align: left; }
.foot-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; }
.foot-brand .wordmark small { display: block; font-size: 10.5px; letter-spacing: 0.22em; color: var(--cream-dim); font-weight: 400; }
.site-foot nav { display: flex; gap: clamp(14px, 3vw, 30px); justify-content: center; flex-wrap: wrap; }
.site-foot a { color: var(--cream-dim); text-decoration: none; font-size: 13.5px; }
.site-foot a:hover { color: var(--lantern); }
.fine { font-size: 12.5px; color: var(--cream-dim); }
.fine.small { font-size: 11px; }

/* ---------- 下層ページ ---------- */
.subpage main.prose { max-width: 760px; padding: 56px 24px 80px; position: relative; z-index: 1; }
.prose h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 24px; line-height: 1.5; }
.prose h2 { font-size: clamp(19px, 2.6vw, 23px); margin: 40px 0 12px; color: var(--lantern); }
.prose p, .prose li { font-size: 15px; }
.prose ul { padding-left: 1.4em; margin-bottom: 14px; }
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: 36px 0; }
.prose blockquote {
  border-left: 3px solid var(--lantern); padding: 6px 0 6px 18px; margin: 18px 0;
  color: var(--cream-dim);
}
.backlink { margin-top: 48px; }
.contact label { display: block; font-size: 13.5px; color: var(--cream-dim); margin: 16px 0 4px; }
.contact button { margin-top: 16px; }
.faq {
  border: 1px solid var(--hairline); border-radius: 16px;
  background: rgba(22, 34, 74, 0.4); padding: 4px 18px; margin: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style-position: outside; }
.faq p { padding-bottom: 14px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 66vw); }
  .akari-flex { grid-template-columns: 1fr; }
  .akari-stage { max-width: 430px; margin: 0 auto; }
  .akari-side { text-align: center; }
  .cards3 { grid-template-columns: 1fr; }
  .sec-nemuri .videobox { order: 2; }
  .brand-sub { display: none; }
  .companion { width: 72px; height: 100px; }
  .companion img { max-width: 72px; }
  .pulsepad-row { flex-direction: column; align-items: flex-start; gap: 40px; }
}

@media (max-width: 480px) {
  .site { padding: 10px 12px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 16px; }
  .site nav { gap: 10px; }
  .site nav a { font-size: 12px; padding: 6px 0; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .starfield i, .cue-star, .btn-main, .pledge-lamp, .akari-glow img,
  .finale-chopin, .comp-awake, .comp-sleep, .comp-zzz, .whisper,
  .pulsepad.holding .pulsepad-core { animation: none !important; }
  .load-in { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .veil { transition: none; }
}
