:root {
  --bg: #f2f3f6;
  --surface: #ffffff;
  --surface-2: #e9ebf0;
  --ink: #15171c;
  --muted: #5a616e;
  --rule: #d8dbe2;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --accent-soft: #fbe8eb;
  --blue: #0b4ea2;
  --blue-soft: #e5edf8;
  --good: #1f7a45;
  --warn: #a15c00;
  --warn-soft: #fff1dc;
  --map-bg: #fbfbfd;
  --map-land: #f0f1f4;
  --shadow: 0 1px 2px rgba(20, 24, 34, .06), 0 4px 16px rgba(20, 24, 34, .06);
  --radius: 14px;
  --night: #0c1220;
  --night-2: #16203a;
  --night-ink: #f3f5fa;
  --night-muted: #9aa6c2;
  --f-display: "M PLUS Rounded 1c", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-num: "Barlow Semi Condensed", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1015; --surface: #171a21; --surface-2: #20242d; --ink: #e8ebf0; --muted: #9aa2b1; --rule: #2b303a;
    --accent: #ff5468; --accent-ink: #1a0508; --accent-soft: #3a1720; --blue: #7aaeff; --blue-soft: #16243a;
    --good: #5fcf8e; --warn: #f0b35a; --warn-soft: #33260f; --map-bg: #12151b; --map-land: #161a21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1015; --surface: #171a21; --surface-2: #20242d; --ink: #e8ebf0; --muted: #9aa2b1; --rule: #2b303a;
  --accent: #ff5468; --accent-ink: #1a0508; --accent-soft: #3a1720; --blue: #7aaeff; --blue-soft: #16243a;
  --good: #5fcf8e; --warn: #f0b35a; --warn-soft: #33260f; --map-bg: #12151b; --map-land: #161a21;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body);
  font-size: 16px; line-height: 1.75; line-break: strict; overflow-wrap: break-word;
}
pb-t { word-break: keep-all; }
h1, h2, h3 { text-wrap: balance; line-height: 1.35; margin: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }

/* ---- ヘッダー ---- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top-in { max-width: 1180px; margin: 0 auto; padding-inline: 16px; display: flex; align-items: center; gap: 20px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: .02em; }
.brand-sub { font-family: var(--f-num); font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 0; padding-block: 6px 0; }
  .nav { margin: 0 -16px; padding: 4px 12px 8px; width: calc(100% + 32px); }
  .nav a { padding: 6px 10px; font-size: 13px; }
}

/* ---- レイアウト ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.page-head { padding-block: 32px 20px; }
.page-head .eyebrow { font-family: var(--f-num); font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.page-head h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; margin-top: 6px; }
.page-head p { color: var(--muted); margin: 10px 0 0; max-width: 42em; }
.section { padding-block: 28px; }
.section > h2 { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.section > p.lead { color: var(--muted); margin: -6px 0 16px; max-width: 44em; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.foot { margin-top: 48px; border-top: 1px solid var(--rule); background: var(--surface); }
.foot .wrap { padding-block: 28px 40px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.foot a { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); }

/* ---- 路線チップ(駅の案内板のような丸) ---- */
.lc { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; color: #fff; font: 700 13px/1 var(--f-num); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.lc.dark-text { color: #111; }
.lchips { display: inline-flex; gap: 3px; flex-wrap: wrap; }

/* ---- 乗換フォーム ---- */
.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
@media (max-width: 920px) { .planner { grid-template-columns: minmax(0, 1fr); } }
.form { padding: 18px; display: grid; gap: 14px; }
.od { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.od-fields { display: grid; gap: 8px; position: relative; }
.field { position: relative; }
.field label { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--muted); pointer-events: none; width: 32px; }
.field input { width: 100%; font: 700 17px/1.2 var(--f-body); color: var(--ink); background: var(--surface-2); border: 1px solid transparent; border-radius: 10px; padding: 14px 14px 14px 52px; }
.field input:focus { background: var(--surface); border-color: var(--blue); outline: none; }
.field .dot { position: absolute; left: 38px; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
.swap { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.swap:hover { background: var(--surface-2); }
.when { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.when input[type="time"] { font: 600 17px var(--f-num); padding: 9px 10px; border-radius: 10px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 13px var(--f-body); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn { border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 900 16px var(--f-body); padding: 13px 18px; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); }
.btn-ghost { border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 700 13px var(--f-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-ghost:hover { background: var(--surface-2); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-label { font-size: 12px; font-weight: 700; color: var(--muted); width: 100%; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow: auto; padding: 4px; }
.sugg button { display: flex; width: 100%; gap: 10px; align-items: center; justify-content: space-between; border: 0; background: none; color: var(--ink); text-align: left; padding: 9px 10px; border-radius: 8px; cursor: pointer; font: 700 15px var(--f-body); }
.sugg button[aria-selected="true"], .sugg button:hover { background: var(--surface-2); }
.sugg small { color: var(--muted); font-weight: 500; font-size: 12px; display: block; }

/* ---- 結果 ---- */
.results { display: grid; gap: 12px; }
.route { padding: 16px 16px 12px; }
.route-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.tag { font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.tag.best { background: var(--accent-soft); color: var(--accent); }
.times { font: 700 28px/1.1 var(--f-num); letter-spacing: .01em; }
.times .arr { color: var(--muted); font-weight: 500; margin: 0 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; width: 100%; }
.meta b { color: var(--ink); font-family: var(--f-num); font-size: 17px; }
.warn { margin-top: 10px; background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.legs { list-style: none; margin: 14px 0 0; padding: 0; }
.stop { display: grid; grid-template-columns: 22px 1fr; align-items: center; min-height: 30px; }
.stop .t { font: 700 16px var(--f-num); color: var(--ink); }
.stop .nd { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); justify-self: center; }
.stop .nm { font-weight: 900; font-size: 16px; }
.stop .nm small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 6px; }
.ride { display: grid; grid-template-columns: 22px 1fr; }
.ride .bar { width: 6px; border-radius: 3px; justify-self: center; }
.ride .info { padding: 6px 0 10px; font-size: 14px; display: grid; gap: 3px; }
.ride .info .l1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; }
.ride .info .l2 { color: var(--muted); font-size: 13px; }
.xfer { display: grid; grid-template-columns: 22px 1fr; color: var(--muted); font-size: 13px; }
.xfer .dash { border-left: 2px dotted var(--rule); height: 100%; min-height: 22px; justify-self: center; }
.xfer span { padding-block: 2px; }
.empty { padding: 24px; color: var(--muted); text-align: center; }

/* ---- 路線図 ---- */
.map-card { position: relative; overflow: hidden; }
.map-box { position: relative; height: min(72vh, 620px); background: var(--map-bg); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.map-box.small { height: min(62vh, 520px); }
.map-box svg { width: 100%; height: 100%; display: block; }
.map-box:active { cursor: grabbing; }
.map-ctl { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; z-index: 5; }
.map-ctl button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 700 18px var(--f-num); cursor: pointer; box-shadow: var(--shadow); }
.map-hint { position: absolute; left: 10px; bottom: 10px; font-size: 12px; color: var(--muted); background: color-mix(in srgb, var(--surface) 85%, transparent); padding: 3px 8px; border-radius: 6px; pointer-events: none; }
.m-seg { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-width: 3.5; transition: opacity .2s; }
.m-dim .m-seg, .m-dim .m-st { opacity: .18; }
.m-route { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-width: 8; }
.m-st { fill: var(--surface); stroke: var(--ink); vector-effect: non-scaling-stroke; stroke-width: 1.4; cursor: pointer; }
.m-st.hub { stroke-width: 2; }
.m-lbl { fill: var(--ink); font-family: var(--f-body); font-weight: 700; paint-order: stroke; stroke: var(--map-bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; display: none; }
svg[data-z="1"] .m-lbl.hub, svg[data-z="2"] .m-lbl { display: inline; }
.m-lbl.on { display: inline !important; font-weight: 900; }
.m-pin circle { stroke: var(--surface); vector-effect: non-scaling-stroke; stroke-width: 2; cursor: pointer; }
.m-pin text { font-family: var(--f-body); font-weight: 900; fill: var(--ink); paint-order: stroke; stroke: var(--map-bg); stroke-width: 3px; pointer-events: none; }
.pop { position: absolute; z-index: 8; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 12px; min-width: 200px; max-width: min(280px, calc(100% - 20px)); }
.pop h4 { margin: 0; font-size: 16px; font-weight: 900; }
.pop .sub { font-size: 12px; color: var(--muted); }
.pop .acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pop .x { position: absolute; right: 6px; top: 4px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-top: 1px solid var(--rule); }
.legend button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 10px 4px 5px; font: 700 12px var(--f-body); cursor: pointer; white-space: nowrap; }
.legend button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---- 表 ---- */
.tbl-wrap { overflow-x: auto; }
table.tbl { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface); }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.tbl th { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; background: var(--surface-2); }
.tbl td.n { font-family: var(--f-num); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }
.tbl tr:last-child td { border-bottom: 0; }

/* ---- 天気 ---- */
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.wx { padding: 14px; display: grid; gap: 10px; }
.wx-now { display: flex; align-items: center; gap: 12px; }
.wx-ic { font-size: 34px; line-height: 1; }
.wx-t { font: 700 34px/1 var(--f-num); }
.wx-name { font-weight: 900; }
.wx-sub { font-size: 12px; color: var(--muted); }
.days { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: 0 0 52px; text-align: center; border-radius: 10px; padding: 6px 2px; background: var(--surface-2); font-size: 12px; }
.day.we .d { color: var(--accent); }
.day.sat .d { color: var(--blue); }
.day .d { font-weight: 700; color: var(--muted); }
.day .i { font-size: 20px; line-height: 1.5; }
.day .hi { font: 700 14px var(--f-num); }
.day .lo { font: 500 13px var(--f-num); color: var(--muted); }
.day .p { font: 600 12px var(--f-num); color: var(--blue); }
.day.far { opacity: .72; }
.wx-src { font-size: 12px; color: var(--muted); }

/* ---- 会場 ---- */
.venue { padding: 16px; display: grid; gap: 10px; }
.venue h3 { font-size: 18px; font-weight: 900; }
.venue .area { font-size: 13px; color: var(--muted); }
.capbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.capbar .track { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.capbar .fill { height: 100%; background: var(--accent); border-radius: 5px; }
.capbar .v { font: 700 15px var(--f-num); white-space: nowrap; }
.venue .acc { font-size: 14px; }
.venue-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }

/* ---- 記事 ---- */
.article > * { max-width: 760px; }
.article h2 { font-size: 23px; font-weight: 900; margin: 40px 0 12px; padding-top: 8px; }
.article h3 { font-size: 18px; font-weight: 900; margin: 26px 0 8px; }
.article p, .article li { font-size: 16px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 4px 0; }
.summary { padding: 18px; display: grid; gap: 0; }
.summary dl { margin: 0; display: grid; grid-template-columns: minmax(96px, auto) 1fr; }
.summary dt, .summary dd { padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.summary dt { font-weight: 900; padding-right: 14px; font-size: 14px; }
.summary dd { font-size: 15px; }
.summary dl > :nth-last-child(-n+2) { border-bottom: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 900; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.pill.need { background: var(--accent-soft); color: var(--accent); }
.pill.info { background: var(--blue-soft); color: var(--blue); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; margin: 0; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; font: 700 15px var(--f-num); }
.steps b { display: block; }
.callout { border-radius: 12px; padding: 14px 16px; background: var(--blue-soft); font-size: 15px; margin: 16px 0; }
.callout.warn { background: var(--warn-soft); }

.hero-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.teaser a { text-decoration: none; color: var(--ink); padding: 16px; display: grid; gap: 4px; }
.teaser a:hover { border-color: var(--ink); }
.teaser .k { font: 700 12px var(--f-num); letter-spacing: .14em; color: var(--accent); }
.teaser b { font-size: 17px; }
.teaser span { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.btn-ghost[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
@media (min-width: 921px) { .map-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); } }
.stop .t, .ride > span:first-child, .xfer > span:first-child { display: none; }

/* ==== 2nd design pass ==== */
.top { background: var(--night); border-bottom: 0; backdrop-filter: none; }
.brand, .brand-name { color: var(--night-ink); }
.brand-name { font-family: var(--f-display); font-weight: 400; font-size: 20px; letter-spacing: .04em; }
.brand-sub { color: var(--night-muted); }
.nav a { color: var(--night-muted); }
.nav a:hover { color: var(--night-ink); background: var(--night-2); }
.nav a[aria-current="page"] { color: var(--night-ink); background: var(--night-2); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px; }
.linebar { height: 4px; display: flex; }
.linebar i { flex: 1; }
.page-head.band, .hero { background: var(--night); color: var(--night-ink); max-width: none; padding-inline: 0; position: relative; overflow: hidden; }
.page-head.band > .in, .hero > .in { max-width: 1180px; margin: 0 auto; padding-inline: 16px; position: relative; }
.page-head.band { padding-block: 36px 40px; }
.page-head.band h1, .hero h1 { font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; line-height: 1.3; }
.page-head.band p, .hero p { color: var(--night-muted); }
.page-head.band .eyebrow, .hero .eyebrow { color: #ff6b7d; }
.hero { padding-block: 40px 120px; }
.hero h1 { font-size: clamp(30px, 5.4vw, 56px); max-width: 15em; margin-top: 8px; }
.hero h1 em { font-style: normal; color: #ff6b7d; }
.hero p { max-width: 38em; margin: 14px 0 0; font-size: 15px; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero-art path { fill: none; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, color-mix(in srgb, var(--night) 82%, transparent) 45%, color-mix(in srgb, var(--night) 20%, transparent) 100%); pointer-events: none; }
.hero > .in { z-index: 1; }
.hero-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.hero-stats div { display: grid; }
.hero-stats b { font: 700 30px/1 var(--f-num); color: var(--night-ink); }
.hero-stats span { font-size: 12px; color: var(--night-muted); }
.planner.lift { margin-top: -88px; position: relative; z-index: 2; }
.guide-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.guide-link:hover { border-color: var(--ink); }
.guide-link .gl-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.guide-link b { display: block; font-size: 16px; }
.guide-link span { color: var(--muted); font-size: 13px; }
.guide-link .go { margin-left: auto; font: 700 20px var(--f-num); color: var(--accent); }
.times { font-size: 40px; }
.route { border-top: 4px solid transparent; }
.route[data-k="0"] { border-top-color: var(--accent); }
.section > h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: .02em; }
.article h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; }
.foot { background: var(--night); color: var(--night-muted); border-top: 0; }
.foot .wrap { color: var(--night-muted); }
.foot a { color: var(--night-ink); }
.foot b { color: var(--night-ink); font-family: var(--f-display); font-weight: 400; }
.venue .facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.venue .facts b { color: var(--ink); font-family: var(--f-num); font-size: 15px; }
.gate { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 16px 0; }
.gate figure { margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.gate svg { width: 100%; height: auto; display: block; }
.gate figcaption { font-size: 14px; margin-top: 8px; }
.gate figcaption b { display: block; font-size: 15px; }
.phrase { display: grid; gap: 2px; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; margin: 10px 0; }
.phrase .ko { font-size: 20px; font-weight: 700; }
.phrase .yomi { color: var(--muted); font-size: 14px; }
.hero .eyebrow, .page-head.band .eyebrow { font-family: var(--f-num); font-size: 12px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.page-head.band + .wrap { margin-top: 28px; }
.guide-link > span:nth-child(2) { display: grid; color: var(--ink); }
.guide-link > span:nth-child(2) span { color: var(--muted); }
.tbl { min-width: 560px; }
.hero-art { opacity: .62; }
/* ==== home ==== */
.home-hero { padding-block: 48px 128px; }
.home-hero h1 { font-size: clamp(32px, 5.6vw, 60px); max-width: 14em; }
.hero-type { position: absolute; right: -2vw; top: 50%; transform: translateY(-58%); font: 900 clamp(160px, 30vw, 420px)/1 "Zen Kaku Gothic New", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--night-ink) 18%, transparent); letter-spacing: -.04em; pointer-events: none; user-select: none; white-space: nowrap; }
.home-hero::after { display: none; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-cats a { color: var(--night-ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--night-ink) 26%, transparent); white-space: nowrap; }
.hero-cats a:hover { background: var(--night-2); border-color: var(--night-ink); }
.hero-sub { padding-block: 32px 110px; }
.hero-sub h1 { font-size: clamp(28px, 4.6vw, 44px); }
.home-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .home-top { grid-template-columns: minmax(0, 1fr); } }
.home-card { padding: 20px; display: grid; gap: 14px; }
.hc-head .k, .cosme-tease .k { font: 700 12px var(--f-num); letter-spacing: .14em; color: var(--accent); }
.hc-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: .02em; margin-top: 2px; }
.hc-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.mini { display: grid; gap: 8px; }
.routes-pop { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.routes-pop .quick-label { padding-top: 10px; }
.routes-pop a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.routes-pop a:hover { color: var(--accent); }
.routes-pop .go, .cosme-tease .go { color: var(--accent); font-family: var(--f-num); font-weight: 700; }
.home-wx { display: grid; gap: 0; }
.hw { display: grid; grid-template-columns: 1fr 32px 52px 76px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.hw-n { font-weight: 700; font-size: 14px; }
.hw-i { font-size: 22px; }
.hw-t { font-size: 24px; font-weight: 700; text-align: right; }
.hw-r { font-size: 13px; color: var(--muted); text-align: right; }
.rank { padding: 8px 16px 16px; display: grid; gap: 0; }
.rank-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 1.2fr) 72px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.rank .rank-row:last-of-type { margin-bottom: 12px; }
a.rank-row:hover .rn { color: var(--accent); }
.rank-row .rn { font-weight: 700; font-size: 14px; }
.rank-row .rn small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.rank-row .track { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; display: block; }
.rank-row .fill { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.rank-row .rv { text-align: right; font-weight: 700; font-size: 16px; }
.rank-row .rv small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.rank .rank-row:has(.rv):not(:has(.track)) { grid-template-columns: minmax(0, 1fr) 72px; }
.section.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 860px) { .section.two { grid-template-columns: minmax(0, 1fr); } }
.section.two h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; margin-bottom: 14px; }
.cosme-tease { display: grid; gap: 6px; padding: 20px; text-decoration: none; color: var(--ink); }
.cosme-tease b { font-size: 18px; }
.cosme-tease span:not(.k):not(.go) { color: var(--muted); font-size: 14px; }

/* ==== 3rd pass: header / rounded type ==== */
.top-in { min-height: 60px; gap: 24px; }
.brand { gap: 10px; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: .03em; line-height: 1; }
.nav { gap: 2px; align-self: stretch; align-items: stretch; }
.nav a { display: flex; align-items: center; padding: 0 12px; border-radius: 0; font-size: 14px; background: none !important; position: relative; }
.nav a[aria-current="page"] { box-shadow: none; border-radius: 0; color: var(--night-ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.nav a:hover { color: var(--night-ink); }
@media (max-width: 900px) {
  .top-in { flex-wrap: wrap; gap: 0; padding-block: 0; }
  .brand { min-height: 52px; }
  .nav { margin: 0 -16px; padding: 0 8px; width: calc(100% + 32px); min-height: 42px; border-top: 1px solid var(--night-2); }
  .nav a { padding: 0 10px; font-size: 13px; }
  .nav a[aria-current="page"]::after { left: 10px; right: 10px; }
}
.page-head.band h1, .hero h1, .section > h2, .article h2, .hc-head h2, .section.two h2, .foot b { font-family: var(--f-display); font-weight: 800; letter-spacing: .01em; }
.hero h1 em { color: #ff7a8a; }
.home-hero { padding-block: 56px 60px; }
.home-top.lift { margin-top: 36px; }
.hero-type { display: none; }
.sec-k { display: block; font: 700 12px var(--f-num); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.section.two .sec-k + h2 { margin-top: 0; }
.line-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.line-row .lc { min-width: 22px; height: 22px; font-size: 12px; }

/* ==== route form v2 ==== */
.od { grid-template-columns: 1fr auto; gap: 10px; }
.od-fields { position: relative; gap: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.od-fields::before { content: ""; position: absolute; left: 22px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(to bottom, var(--muted) 0 3px, transparent 3px 7px); opacity: .6; }
.od-fields .field + .field { border-top: 1px solid var(--rule); }
.od-fields .field:first-child input { border-radius: 14px 14px 0 0; }
.od-fields .field:last-child input { border-radius: 0 0 14px 14px; }
.field label { top: 11px; left: 44px; transform: none; font-size: 11px; letter-spacing: .08em; width: auto; }
.field input { background: transparent; border: 0; border-radius: 0; padding: 28px 14px 11px 44px; font: 700 18px/1.2 var(--f-body); }
.field input:focus { background: var(--surface-2); border: 0; }
.field .dot { left: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); z-index: 1; }
.field .dot.to { border-color: var(--accent); background: var(--accent); }
.swap { width: 40px; height: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--surface); border-radius: 12px; padding: 14px 20px; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.btn svg { color: var(--accent); }
.btn:hover { filter: none; background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.when { gap: 8px; }

/* ==== hero weather ==== */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.hero-wx { display: grid; gap: 6px; justify-items: end; text-align: right; text-decoration: none; color: var(--night-ink); padding-left: 32px; border-left: 1px solid color-mix(in srgb, var(--night-ink) 16%, transparent); }
.hx-city { font: 700 12px var(--f-num); letter-spacing: .18em; color: var(--night-muted); }
.hx-row { display: flex; align-items: center; gap: 10px; }
.hx-ic { font-size: 44px; line-height: 1; }
.hx-t { font-size: clamp(64px, 8vw, 104px); font-weight: 500; line-height: .9; letter-spacing: -.02em; }
.hx-sub { font-size: 13px; color: var(--night-muted); white-space: pre; }
.hx-time { font-size: 12px; color: var(--night-muted); }
.hx-time b { font-size: 16px; color: var(--night-ink); margin-left: 4px; }
.hero-wx:hover .hx-t { color: #ff7a8a; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-wx { order: -1; justify-items: start; text-align: left; padding-left: 0; border-left: 0; grid-template-columns: auto auto; column-gap: 12px; align-items: center; }
  .hx-city { grid-column: 1 / -1; }
  .hx-row { grid-row: 2 / 4; }
  .hx-ic { font-size: 28px; }
  .hx-t { font-size: 44px; }
}
.home-top.one { grid-template-columns: minmax(0, 1fr); }
.home-top.one .home-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.home-top.one .home-card > .hc-head, .home-top.one .home-card > .mini { grid-column: 1; }
.home-top.one .home-card > .routes-pop { grid-column: 2; grid-row: 1 / span 2; border-top: 0; }
.home-top.one .home-card > a.note { grid-column: 1 / -1; }
@media (max-width: 860px) { .home-top.one .home-card { grid-template-columns: minmax(0, 1fr); } .home-top.one .home-card > * { grid-column: 1 !important; grid-row: auto !important; } .home-top.one .home-card > .routes-pop { border-top: 1px solid var(--rule); } }
.gigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.gigs ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.gigs li { font-size: 13px; line-height: 1.5; }
.gk { font-size: 11px; font-weight: 900; letter-spacing: .06em; color: var(--muted); }
.gk.up { color: var(--accent); }

/* ==== 公演カレンダー ==== */
.cal { padding: 16px; }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.cal-head h2 { font-family: var(--f-display); font-weight: 800; font-size: 20px; margin-right: auto; }
.cal-list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.cal-list li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 30px; gap: 4px 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--rule); }
.cal-list li[hidden] { display: none; }
.cal .cd { font-weight: 700; font-size: 15px; white-space: nowrap; }
.cal .ca b { display: block; font-size: 15px; }
.cal .ca small { color: var(--muted); font-size: 12px; }
.cal .cv { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; text-align: right; }
.cal .ck { font: 700 11px var(--f-num); border-radius: 6px; padding: 2px 0; text-align: center; }
.cal .kK { background: var(--accent-soft); color: var(--accent); }
.cal .kJ { background: var(--blue-soft); color: var(--blue); }
.cal .kW { background: var(--surface-2); color: var(--muted); }
@media (max-width: 600px) { .cal-list li { grid-template-columns: 70px minmax(0, 1fr) 30px; } .cal .cv { grid-column: 2; grid-row: 2; text-align: left; } .cal .ck { grid-column: 3; grid-row: 1; } }

/* ==== illustrations ==== */
.home-hero { padding-bottom: 150px; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; pointer-events: none; }
.sk-train { animation: sk-run 22s linear infinite; }
@keyframes sk-run { from { transform: translateX(-1100px); } to { transform: translateX(700px); } }
@media (max-width: 760px) { .skyline { height: 110px; } .home-hero { padding-bottom: 104px; } }
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 16px 8px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.cat:hover { transform: translateY(-2px); border-color: var(--ink); }
.cat .ill { width: 72px; height: 72px; margin-bottom: 6px; }
.cat b { font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.cat span { font-size: 12px; color: var(--muted); }
.teaser a.has-ill { grid-template-columns: 56px 1fr; column-gap: 14px; align-items: start; }
.teaser a.has-ill .ill { grid-row: 1 / span 3; width: 56px; height: 56px; }
.band-art { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 132px; height: 132px; opacity: .95; }
.band-art .ill { width: 100%; height: 100%; }
.page-head.band .in { padding-right: 160px; }
@media (max-width: 760px) { .band-art { display: none; } .page-head.band .in { padding-right: 16px; } }
.cc-head { display: flex; gap: 12px; align-items: center; }
.cc-head .ill-sm { width: 56px; height: 56px; flex: none; }
@media (prefers-reduced-motion: reduce) { .sk-train { animation: none; transform: none; } }

/* ==== photos ==== */
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 70% 60%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12,18,32,.92) 0%, rgba(12,18,32,.72) 42%, rgba(12,18,32,.25) 75%, rgba(12,18,32,.35) 100%), linear-gradient(0deg, rgba(12,18,32,.55), transparent 40%); pointer-events: none; }
.home-hero { padding-block: 64px 72px; }
.home-hero > .in { z-index: 1; }
@media (max-width: 760px) { .home-hero::before { background: linear-gradient(180deg, rgba(12,18,32,.55) 0%, rgba(12,18,32,.85) 55%, rgba(12,18,32,.95) 100%); } .home-hero { padding-block: 40px 48px; } .hero-photo img { object-position: 50% 30%; } }
.hero-wx { background: rgba(12,18,32,.35); padding: 16px 0 16px 32px; border-radius: 0 12px 12px 0; }
.ai-note { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: 10px; color: rgba(243,245,250,.6); letter-spacing: .04em; }
.page-head.band.has-photo { background: linear-gradient(90deg, var(--night) 0%, var(--night) 34%, rgba(12,18,32,.7) 58%, rgba(12,18,32,.25) 100%), var(--band-img) center / cover no-repeat, var(--night); padding-block: 48px 52px; }
@media (max-width: 760px) { .page-head.band.has-photo { background: linear-gradient(180deg, rgba(12,18,32,.72), rgba(12,18,32,.94)), var(--band-img) center / cover no-repeat, var(--night); } }
.photo { margin: 18px 0 22px; }
.photo img { width: 100%; height: auto; border-radius: 14px; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.photo figcaption { font-size: 11px; color: var(--muted); margin-top: 4px; text-align: right; }
.page-head.band.has-photo { background: var(--night); }
.band-photo { position: absolute; inset: 0 0 0 30%; width: 70%; height: 100%; object-fit: cover; }
.page-head.band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--night) 0%, var(--night) 32%, rgba(12,18,32,.72) 55%, rgba(12,18,32,.2) 100%); pointer-events: none; }
.page-head.band.has-photo > .in { z-index: 1; }
@media (max-width: 760px) { .band-photo { inset: 0; width: 100%; } .page-head.band.has-photo::before { background: rgba(12,18,32,.8); } }
.home-hero::before { background: linear-gradient(90deg, rgba(12,18,32,.94) 0%, rgba(12,18,32,.82) 45%, rgba(12,18,32,.3) 78%, rgba(12,18,32,.4) 100%), linear-gradient(0deg, rgba(12,18,32,.55), transparent 40%); }
@media (max-width: 760px) { .home-hero::before { background: linear-gradient(180deg, rgba(12,18,32,.6) 0%, rgba(12,18,32,.88) 35%, rgba(12,18,32,.93) 100%); } }
.hero-photo, .band-photo { z-index: 0; }
.home-hero::before, .page-head.band.has-photo::before { z-index: 1; }
.home-hero > .in, .page-head.band.has-photo > .in { position: relative; z-index: 2; }
.ai-note { z-index: 2; }
@media (max-width: 760px) { .home-hero::before { background: linear-gradient(180deg, rgba(12,18,32,.35) 0%, rgba(12,18,32,.7) 38%, rgba(12,18,32,.88) 100%); } .page-head.band.has-photo::before { background: rgba(12,18,32,.72); } }

/* ==== footer v2 ==== */
.foot .wrap { display: grid; gap: 28px; padding-block: 40px 36px; font-size: 14px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.ft-brand p { margin: 10px 0 0; color: var(--night-muted); font-size: 13px; }
.ft-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; }
.ft-nav div { display: grid; gap: 8px; align-content: start; }
.ft-nav b { color: var(--night-ink); font-size: 12px; letter-spacing: .08em; font-family: var(--f-body); font-weight: 700; margin-bottom: 2px; }
.ft-nav a { color: var(--night-muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.ft-nav a:hover { color: var(--night-ink); }
.ft-legal { border-top: 1px solid var(--night-2); padding-top: 18px; display: grid; gap: 4px; }
.ft-legal p { margin: 0; font-size: 11px; line-height: 1.7; color: color-mix(in srgb, var(--night-muted) 80%, transparent); }
@media (max-width: 760px) { .ft-top { grid-template-columns: minmax(0, 1fr); } .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.sugg small .en { color: var(--ink); opacity: .75; font-family: var(--f-num); font-weight: 600; }
.mini .field { position: relative; }
@media (max-width: 600px) {
  .rank-row { grid-template-columns: minmax(0, 1fr) 72px; row-gap: 6px; }
  .rank-row .track { grid-column: 1; grid-row: 2; }
  .rank-row .rv { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .rank-row .rn { grid-column: 1; }
}

/* ==== てちてち(マスコット)とパララックス ==== */
.hero-photo img, .band-photo { will-change: transform; }
.photo { overflow: hidden; border-radius: 14px; }
.photo img { border-radius: 0; will-change: transform; }
.techi-walk { --walk: 0; position: absolute; z-index: 3; bottom: 6px; left: calc(52% + var(--walk) * 30%); width: 104px; pointer-events: none; }
.techi-walk img { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); }
.techi-hop { animation: techi-hop .42s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes techi-hop { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-7px) rotate(4deg); } }
@media (max-width: 760px) {
  .home-hero { padding-bottom: 96px; }
  .techi-walk { width: 70px; bottom: 8px; left: calc(8% + var(--walk) * 60%); }
}
.foot .wrap { position: relative; }
.techi-foot { position: absolute; top: -46px; left: 0; width: 44px; animation: techi-stroll 26s linear infinite; pointer-events: none; }
.techi-foot img { width: 100%; height: auto; display: block; animation: techi-hop .42s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes techi-stroll { 0% { left: 0; transform: scaleX(1); } 49.9% { left: calc(100% - 44px); transform: scaleX(1); } 50% { left: calc(100% - 44px); transform: scaleX(-1); } 100% { left: 0; transform: scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .techi-hop, .techi-foot, .techi-foot img { animation: none; } }
