/* ハロー灯台 — どのページにも共通 */
:root {
  --night: #050a1e;
  --navy: #0d1838;
  --dawn: #ffc58f;
  --lamp: #ffd36b;
  --paper: #f4ead6;
  --ink: #e9e6f2;
  --ink-dim: rgba(233, 230, 242, .66);
  --line: rgba(233, 230, 242, .18);
  --mincho: 'Zen Old Mincho', 'Hiragino Mincho ProN', serif;
  --hand: 'Yusei Magic', 'Zen Kaku Gothic New', sans-serif;
  --gothic: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --head-h: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--lamp); color: #111; padding: 8px 14px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ヘッダー（どのページにも「町を飛ばして日程を見る」） */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--head-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 max(14px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: linear-gradient(rgba(5, 10, 30, .55), rgba(5, 10, 30, 0));
}
.logo { font-family: var(--hand); font-size: 20px; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; }
.head-nav a { text-decoration: none; opacity: .85; }
.head-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.head-nav .to-live {
  opacity: 1; border: 1px solid var(--lamp); color: var(--lamp);
  padding: 5px 12px; border-radius: 999px; line-height: 1.35; text-align: center;
}
.head-nav .to-live:hover { background: var(--lamp); color: #111; text-decoration: none; }
@media (max-width: 640px) {
  .head-nav a:not(.to-live) { display: none; }
  .head-nav .to-live { font-size: 11px; padding: 4px 10px; }
}
.snd-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(5, 10, 30, .35); display: grid; place-items: center; cursor: pointer; flex: none;
}
.snd-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.snd-btn svg path:first-child { fill: currentColor; stroke: none; }
.snd-btn .w1, .snd-btn .w2 { display: none; }
.snd-btn[aria-pressed="true"] .w1, .snd-btn[aria-pressed="true"] .w2 { display: block; }
.snd-btn[aria-pressed="true"] .x { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  font-family: var(--gothic); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .04em;
  border: 1px solid transparent; transition: background .2s, color .2s, transform .2s;
}
.btn:active { transform: scale(.97); }
.btn-main { background: var(--lamp); color: #15131f; }
.btn-main:hover { background: #ffe39a; }
.btn-sub { background: transparent; color: var(--ink); border-color: rgba(233, 230, 242, .45); }
.btn-sub:hover { border-color: var(--ink); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

.site-foot {
  position: relative; z-index: 2;
  padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
  text-align: center; font-size: 13px; color: var(--ink-dim); line-height: 1.9;
  background: var(--night);
}
.site-foot p { margin: 4px 0; }
.demo-note { color: var(--ink); font-size: 14px; }

/* 読むページ（ライブ・メンバー・アルバム） */
.page { padding: calc(var(--head-h) + 40px) 20px 80px; max-width: 880px; margin: 0 auto; }
.page-sky {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #050a1e 0%, #0d1838 55%, #2a2a52 85%, #6b5a7c 100%);
}
.page h1 { font-family: var(--hand); font-weight: 400; font-size: clamp(30px, 6vw, 46px); margin: 0 0 6px; letter-spacing: .04em; }
.page .lead { color: var(--ink-dim); margin: 0 0 36px; }
.page h2 { font-family: var(--mincho); font-size: 22px; margin: 48px 0 16px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 28px; font-size: 14px; }
.subnav a { opacity: .8; }
.subnav a[aria-current] { opacity: 1; color: var(--lamp); text-decoration: none; }
.walk-link {
  display: flex; align-items: center; gap: 14px; margin-top: 56px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: rgba(5, 10, 30, .4);
}
.walk-link b { font-family: var(--hand); font-weight: 400; font-size: 20px; color: var(--lamp); }
.walk-link span { color: var(--ink-dim); font-size: 14px; }

/* 明るいところ（夜明けの切符）ではヘッダーの文字を濃く */
body.light-head .site-head { color: #2a2440; background: linear-gradient(rgba(255, 236, 214, .8), rgba(255, 236, 214, 0)); }
body.light-head .head-nav .to-live { color: #2a2440; border-color: #2a2440; }
body.light-head .head-nav .to-live:hover { background: #2a2440; color: #fff4dc; }
body.light-head .snd-btn { border-color: rgba(42, 36, 64, .3); background: rgba(255, 255, 255, .3); }
.walk-link b { white-space: nowrap; }
@media (max-width: 640px) { .walk-link { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* SNS（どのページの下にも） */
.sns { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sns a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 13px; }
.sns a:hover { border-color: var(--lamp); color: var(--lamp); }
.demo-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200; margin: 0;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  background: #f4ead6; color: #2a2440; font-size: 13px; padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }
