/* =========================================================
   インテグリティ — 夜空（ネノ）から、夜明けの空へ
   ========================================================= */
:root {
  --night: #1E2A4A;      /* 夜空ネイビー */
  --night-deep: #141D36;
  --night-2: #2A3962;
  --dusk: #7C95C9;       /* 薄明ブルー */
  --star: #FFF6C9;       /* 星あかり */
  --gold: #F2C94C;       /* 光のゴールド */
  --gold-deep: #C99A1E;
  --dawn: #EEF2FA;       /* 夜明けの空 */
  --paper: #FFFFFF;
  --ink: #1E2A4A;
  --ink-soft: #4C5876;
  --line: #D9E0EF;
  --blush: #F29BB0;

  --f: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 16.5px; line-height: 1.9; letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: .04em;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 6px 0 var(--gold-deep); }
.btn-gold:hover { box-shadow: 0 8px 0 var(--gold-deep); }
.btn-ghost { border-color: rgba(255, 246, 201, .55); color: var(--star); }
.btn-ghost:hover { background: rgba(255, 246, 201, .1); }
.btn-night { background: var(--night); color: var(--star); box-shadow: 0 6px 0 var(--night-deep); }
.btn-sm { min-height: 40px; padding: 0 1.2em; font-size: .9rem; box-shadow: 0 4px 0 var(--gold-deep); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--star);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid { background: rgba(20, 29, 54, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: .08em; }
.logo img { width: 40px; height: 40px; }
.gnav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 500; }
.gnav a:not(.btn) { text-decoration: none; opacity: .88; }
.gnav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.menu-btn { display: none; }

/* ---------- 夜空 ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--star); opacity: var(--o); }
.sky i.tw { animation: twinkle var(--d) ease-in-out infinite; animation-delay: var(--dl); }
@keyframes twinkle { 50% { opacity: calc(var(--o) * .25); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--star);
  background:
    radial-gradient(60% 50% at 72% 22%, rgba(242, 201, 76, .16), transparent 70%),
    radial-gradient(80% 60% at 20% 100%, rgba(124, 149, 201, .35), transparent 70%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, #34477A 100%);
  padding: 120px 0 170px;
  min-height: min(100svh, 920px);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
.hero-kicker { word-break: keep-all; font-size: .95rem; color: #C9D2EE; letter-spacing: .12em; margin-bottom: 18px; }
.hero h1 {
  font-weight: 900; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.12; letter-spacing: .02em; color: #fff;
}
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .ln + .ln { padding-left: 1em; color: var(--star); }
.hero-lead { margin-top: 28px; max-width: 30em; color: #DCE3F5; font-size: 1.04rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* 星座 */
.constellation { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 560px; justify-self: end; }
.constellation .lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constellation line, .constellation polyline {
  fill: none; stroke: var(--star); stroke-width: .35; stroke-dasharray: 1 1.6; opacity: .45;
  vector-effect: non-scaling-stroke;
}
.constellation line { stroke-width: 1.4; stroke-dasharray: 3 7; }
.constellation polyline { stroke-width: 1.6; stroke-dasharray: none; opacity: .3; }
.constellation line.is-on { stroke: var(--gold); opacity: 1; stroke-dasharray: none; stroke-width: 2; }

.star-neno { position: absolute; left: 50%; top: 20%; width: 40%; transform: translate(-50%, -50%); }
.star-neno img { position: relative; width: 100%; filter: drop-shadow(0 0 22px rgba(255, 233, 150, .7)); animation: float 6s ease-in-out infinite; }
.star-neno .halo { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .35), transparent 62%); }
.neno-say {
  position: absolute; left: 88%; top: 2%; width: max-content; max-width: 13em;
  background: var(--star); color: var(--night); font-weight: 700; font-size: .92rem; line-height: 1.5;
  padding: 10px 16px; border-radius: 18px 18px 18px 4px; word-break: keep-all; overflow-wrap: anywhere;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
@keyframes float { 50% { transform: translateY(-8px); } }

.cstar {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 21%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--tile); box-shadow: 0 0 0 5px rgba(255, 246, 201, .14), 0 10px 26px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.cstar img { width: 86%; margin: 7%; }
.cstar span {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  white-space: nowrap; font-size: .85rem; font-weight: 700; color: var(--star); letter-spacing: .08em;
}
.cstar:hover, .cstar:focus-visible { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 5px var(--gold), 0 14px 30px rgba(0, 0, 0, .35); }

.horizon {
  position: absolute; left: -5%; right: -5%; bottom: -1px; height: 120px;
  background: var(--dawn);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- 体験会チケット ---------- */
.event { background: var(--dawn); padding: 0 0 40px; position: relative; }
.ticket {
  position: relative; margin-top: -110px; z-index: 2;
  display: grid; grid-template-columns: 250px 1fr;
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(30, 42, 74, .45);
}
.ticket-date {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--gold); color: var(--night); padding: 32px 20px;
}
.ticket-date::after { /* ミシン目 */
  content: ""; position: absolute; right: -1px; top: 16px; bottom: 16px; width: 2px;
  background: repeating-linear-gradient(var(--paper) 0 8px, transparent 8px 16px);
}
.ticket-date .y { font-weight: 700; letter-spacing: .3em; }
.ticket-date .md { font-weight: 900; font-size: 4.2rem; line-height: 1; letter-spacing: -.01em; }
.ticket-date .dw { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--gold); font-weight: 900; font-size: 1.2rem; margin-top: 6px; }
.ticket-body { padding: 34px 40px 36px; }
.ticket-status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: #2E7D5B; background: #E5F4EC; padding: 2px 14px; border-radius: 999px; }
.ticket-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9D6B; box-shadow: 0 0 0 4px rgba(46, 157, 107, .2); }
.ticket h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin: 12px 0 18px; }
.ticket-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; margin: 0; }
.ticket-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.ticket-facts dt { font-size: .82rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .1em; }
.ticket-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.06rem; line-height: 1.6; }
.ticket-facts small { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-soft); line-height: 1.7; margin-top: 2px; }
.ticket-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; }
.tlink { font-weight: 700; text-underline-offset: 5px; }

/* ---------- 共通セクション ---------- */
.sec { padding: 110px 0; position: relative; }
.sec-title, .ticket h2, .promises h3, .qa summary, .letter h2 { word-break: keep-all; overflow-wrap: anywhere; }
.sec-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.38; letter-spacing: .03em; }
.sec-lead { margin-top: 18px; max-width: 36em; color: var(--ink-soft); }
.note { margin-top: 22px; font-size: .88rem; color: var(--ink-soft); line-height: 1.8; max-width: 44em; }

/* ---------- やること ---------- */
.how { background: var(--dawn); padding-top: 70px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: st; display: grid; gap: 4px; }
.steps li {
  counter-increment: st; position: relative; padding: 14px 0 14px 66px;
  display: grid; gap: 2px;
}
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 12px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); color: var(--gold); font-weight: 900; font-size: 1.25rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 60px; bottom: -14px; border-left: 2px dashed #B9C5E0; }
.steps b { font-size: 1.15rem; }
.steps span { color: var(--ink-soft); font-size: .97rem; line-height: 1.75; }
.how-photo { margin: 0; }
.how-photo img { border-radius: var(--r-lg); transform: rotate(1.5deg); box-shadow: 0 24px 50px -24px rgba(30, 42, 74, .5); border: 8px solid #fff; }
.how-photo figcaption { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- お金のくせ ---------- */
.kuse { background: var(--paper); }
.kuse-head { max-width: 760px; }
.kuse-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.say {
  position: relative; text-align: left; font-family: inherit; font-size: .98rem; font-weight: 700; line-height: 1.65; color: var(--ink);
  background: var(--dawn); border: 2px solid transparent; border-radius: 22px 22px 22px 6px;
  padding: 20px 18px 22px; cursor: pointer; min-height: 132px;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.say::before { content: "「"; } .say::after { content: "」"; }
.say:hover { border-color: var(--dusk); transform: translateY(-3px); }
.say[aria-pressed="true"] { background: var(--night); color: var(--star); border-color: var(--night); }

.kuse-result {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start;
  margin-top: 28px; padding: 40px; border-radius: var(--r-lg);
  background: var(--dawn);
}
.kuse-result[hidden] { display: none; }
.kuse-result.is-in { animation: pop .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.kr-portrait { border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; background: var(--tile, #fff); }
.kr-portrait img { width: 82%; }
.kr-role { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.kr-name { font-size: 2.2rem; font-weight: 900; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.kr-name small { font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.kr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.kr-cols h4 { font-size: .9rem; color: var(--ink-soft); }
.kr-cols p { font-size: .97rem; line-height: 1.8; margin-top: 4px; }
.kr-ask {
  display: flex; gap: 16px; align-items: center; margin-top: 24px;
  background: var(--night); color: var(--star); border-radius: var(--r-md); padding: 18px 22px;
}
.kr-ask img { width: 56px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 233, 150, .6)); }
.kr-ask small { display: block; font-size: .8rem; color: #AFC0E6; }
.kr-ask q { font-weight: 700; font-size: 1.12rem; line-height: 1.6; quotes: "「" "」"; }
.kr-after { margin-top: 18px; }
.kr-after span { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.kr-after q { font-weight: 700; quotes: "「" "」"; }
.kr-dm { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); line-height: 1.8; padding-top: 16px; border-top: 1px dashed #B9C5E0; }
.kr-dm a { font-weight: 700; color: var(--ink); margin-left: .3em; }

.kuse-sub { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--ink-soft); font-size: .92rem; }
.kuse-sub > p { font-weight: 700; }
.kuse-sub ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.kuse-sub li { display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.kuse-sub b { display: block; color: var(--ink); }

/* ---------- 名前の由来（夜） ---------- */
.story {
  color: var(--star); overflow: hidden;
  background: radial-gradient(70% 90% at 15% 50%, rgba(242, 201, 76, .14), transparent 60%), var(--night);
}
.story-in { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.story-neno { width: 100%; max-width: 260px; justify-self: center; filter: drop-shadow(0 0 40px rgba(255, 233, 150, .55)); }
.story .sec-title { color: #fff; }
.story p { margin-top: 18px; color: #DCE3F5; max-width: 36em; }
.story b { color: var(--gold); font-weight: 700; }

/* ---------- 約束 ---------- */
.promise { background: var(--dawn); }
.promises { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.promises li { grid-column: span 2; background: var(--paper); border-radius: var(--r-md); padding: 28px 26px 30px; position: relative; }
.promises li:nth-child(4) { grid-column: 2 / span 2; }
.promises li::before {
  content: ""; display: block; width: 26px; height: 26px; margin-bottom: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.promises h3 { font-size: 1.15rem; font-weight: 900; }
.promises p { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); line-height: 1.8; }
.promise-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-weight: 700; }
.promise-links a { text-underline-offset: 6px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- 開催予定 ---------- */
.schedule { background: var(--paper); }
.tl { list-style: none; padding: 0; margin: 44px 0 0; max-width: 860px; border-bottom: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 4.2em 9.6em 1fr auto; gap: 8px 20px; align-items: center; padding: 16px 8px; border-top: 1px solid var(--line); }
.tl .no { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.tl time { font-weight: 900; font-size: 1.12rem; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; }
.tl time small { font-size: .8rem; font-weight: 500; color: var(--ink-soft); margin-left: .5em; }
.tl .place { font-weight: 700; font-size: 1rem; line-height: 1.5; }
.tl .place small { font-weight: 400; font-size: .85rem; color: var(--ink-soft); margin-left: 1em; }
.tl .st { font-size: .8rem; font-weight: 700; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; white-space: nowrap; }
.tl .is-open { background: #FFF8DA; border-radius: 12px; }
.tl .is-open .st { background: var(--gold); color: var(--night); border-color: var(--gold); }
.tl .is-open time { color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq { background: var(--dawn); }
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
.faq-chara { margin-top: 30px; width: 160px; }
.qa details { background: var(--paper); border-radius: var(--r-md); margin-bottom: 12px; }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 1.05rem; line-height: 1.6; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--dusk); border-bottom: 3px solid var(--dusk); transform: rotate(45deg); transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa details p { padding: 0 24px 22px; color: var(--ink-soft); line-height: 1.85; }
.qa details a { font-weight: 700; color: var(--ink); }

/* ---------- おてがみ ---------- */
.letter {
  position: relative; overflow: hidden; color: var(--star); text-align: center; padding: 110px 0;
  background: radial-gradient(50% 70% at 50% 20%, rgba(242, 201, 76, .18), transparent 70%), linear-gradient(180deg, #34477A, var(--night) 40%, var(--night-deep));
}
.letter-in { position: relative; display: grid; justify-items: center; }
.letter img { width: 110px; filter: drop-shadow(0 0 24px rgba(255, 233, 150, .7)); }
.letter h2 { margin-top: 18px; font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 900; color: #fff; }
.letter p { margin-top: 14px; color: #DCE3F5; }
.letter-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night-deep); color: #C9D2EE; font-size: .9rem; padding: 56px 0 36px; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.f-name { display: flex; align-items: center; gap: 10px; color: var(--star); font-weight: 900; font-size: 1.1rem; margin-bottom: 10px; }
.f-org p:not(.f-name) { line-height: 1.9; }
.f-nav { display: grid; gap: 6px; align-content: start; }
.f-nav a { text-decoration: none; }
.f-nav a:hover { text-decoration: underline; text-underline-offset: 5px; color: var(--star); }
.f-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; line-height: 1.8; color: #8E9AC0; display: grid; gap: 8px; }

/* ---------- 書類ページ（docs） ---------- */
.doc-page { background: var(--dawn); }
.doc-page .site-header { position: sticky; background: var(--night); }
.doc-hero { background: var(--night); color: var(--star); padding: 56px 0 64px; }
.crumb { font-size: .85rem; color: #AFC0E6; }
.crumb a { color: inherit; }
.doc-hero h1 { margin-top: 10px; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 900; color: #fff; }
.doc-hero .doc-meta { margin-top: 10px; font-size: .9rem; color: #C9D2EE; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 48px 0 100px; align-items: start; }
.doc-layout.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.doc-toc { position: sticky; top: 92px; font-size: .88rem; line-height: 1.6; }
.doc-toc p { font-weight: 700; margin-bottom: 8px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.doc-toc a { text-decoration: none; color: var(--ink-soft); }
.doc-toc a:hover { color: var(--ink); text-decoration: underline; }
.doc {
  background: var(--paper); border-radius: var(--r-lg); padding: 56px clamp(22px, 6vw, 72px);
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.02rem; line-height: 2.05; letter-spacing: .02em;
  max-width: 820px;
}
.doc h2 { font-family: var(--f); font-weight: 900; font-size: 1.3rem; margin: 48px 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--night); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-family: var(--f); font-weight: 700; font-size: 1.05rem; margin: 30px 0 4px; }
.doc p { margin: 10px 0; }
.doc ol, .doc ul { margin: 8px 0; padding-left: 1.8em; }
.doc li { margin: 4px 0; }
.doc strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(242, 201, 76, .45) 0); }
.doc table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: .95rem; line-height: 1.7; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.doc th { background: var(--dawn); font-family: var(--f); font-weight: 700; white-space: nowrap; }
.doc .doc-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--f); font-size: .88rem; color: var(--ink-soft); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-family: var(--f); font-size: .9rem; font-weight: 700; }
.doc-actions button { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-family: var(--f); }
.doc-list a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: var(--dawn); text-decoration: none; font-weight: 700; }
.doc-list a:hover { background: #E1E8F6; }
.doc-list small { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .constellation { justify-self: center; max-width: 460px; margin-top: 10px; }
  .kuse-pick { grid-template-columns: repeat(3, 1fr); }
  .promises { grid-template-columns: 1fr 1fr; }
  .promises li, .promises li:nth-child(4) { grid-column: auto; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255, 246, 201, .4); background: transparent; cursor: pointer;
  }
  .menu-btn .bar, .menu-btn .bar::before, .menu-btn .bar::after { display: block; width: 18px; height: 2px; background: var(--star); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s; }
  .menu-btn .bar::before, .menu-btn .bar::after { content: ""; position: absolute; left: 0; }
  .menu-btn .bar::before { top: -6px; } .menu-btn .bar::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .bar { background: transparent; }
  .menu-btn[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }
  .gnav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night-deep); padding: 8px 16px 20px; display: none; font-size: 1.05rem;
  }
  .gnav.is-open { display: flex; }
  .gnav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .gnav .btn { margin-top: 16px; min-height: 50px; }
  .how-grid, .story-in, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-neno { max-width: 160px; }
  .faq-chara { display: none; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-date { flex-direction: row; gap: 14px; padding: 18px; }
  .ticket-date .md { font-size: 3rem; }
  .ticket-date .dw { margin-top: 0; }
  .ticket-date::after { right: 16px; left: 16px; top: auto; bottom: -1px; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--paper) 0 8px, transparent 8px 16px); }
  .ticket-body { padding: 26px 22px 28px; }
  .ticket-facts { grid-template-columns: 1fr; }
  .kuse-result { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .kr-portrait { width: 150px; }
  .kr-cols { grid-template-columns: 1fr; gap: 14px; }
  .kr-ask { padding: 16px; gap: 12px; }
  .kr-ask img { width: 40px; }
  .footer-in { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; background: var(--paper); border-radius: var(--r-md); padding: 18px 22px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 104px 0 150px; }
  .hero h1 .ln + .ln { padding-left: .6em; }
  .neno-say { left: 62%; top: -22%; font-size: .82rem; padding: 8px 12px; }
  .cstar { width: 23%; }
  .cstar span { font-size: .75rem; top: calc(100% + 4px); }
  .sec { padding: 80px 0; }
  .kuse-pick { grid-template-columns: 1fr; }
  .say { min-height: 0; }
  .tl li { grid-template-columns: 3.6em 1fr auto; gap: 2px 12px; }
  .tl .place { grid-column: 2 / 3; }
  .tl .st { grid-row: 1; grid-column: 3; }
  .tl .place small { display: block; margin-left: 0; }
  .promises { grid-template-columns: 1fr; }
  .doc { font-size: .98rem; }
  .doc th { white-space: normal; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .site-footer, .doc-toc, .doc-actions, .skip { display: none !important; }
  body, .doc-page { background: #fff; }
  .doc-hero { background: #fff; color: #000; padding: 0 0 12px; }
  .doc-hero h1 { color: #000; }
  .doc-hero .crumb { display: none; }
  .doc-layout { display: block; padding: 0; }
  .doc { padding: 0; border-radius: 0; font-size: 10.5pt; }
}

/* ---------- 読み込み時の演出（ヒーローだけ） ---------- */
.js .hero-copy > * { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .3s; }
.js .hero-copy > :nth-child(4) { animation-delay: .44s; }
.js .constellation .spokes line { stroke-dashoffset: 0; }
.js .cstar { opacity: 0; animation: appear .6s ease forwards; animation-delay: calc(.7s + var(--i, 0) * .12s); }
.js .star-neno { opacity: 0; animation: appear 1.2s ease .2s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .cstar, .js .star-neno { opacity: 1; transform: none; }
  .js .cstar { transform: translate(-50%, -50%); }
}
