/* パチンコ・パチスロ特定日カレンダー 萌え版（docs/mock-moe の「しっかり萌え」をもとに作り直したもの）
   本文の最小は14px（モックの 7〜12px の文字は 14px 以上にして並べ直した）。font-size は px だけで書く。
   印の色（ページの種類）：エリア＝ミント・店舗＝桜色・特定日（日付・日付条件）＝金・駅周辺＝青緑 */
:root {
  --paper: #FFFAF3; --white: #FFFEFD; --ink: #294B46; --muted: #56675F; --forest: #275A50; --board: #244B42; --board-deep: #1D3C35;
  --pink: #E884A3; --pink-deep: #B54F73; --pink-pale: #FCE9ED; --pink-ink: #3C2A33; --mint: #C3E4D6; --mint-deep: #3E8E70; --mint-pale: #EDF5EE;
  --yellow: #F9D888; --gold: #B08A2E; --gold-pale: #FBF0D6; --sat: #46708F; --line: #E6E6DB; --dash: #E3DFD2; --round: 22px;
  --mark-area: #3E8E70; --mark-store: #C2577D; --mark-day: #B08A2E; --mark-station: #275A50;
  --font: 'Noto Sans JP', sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--pink-deep); text-underline-offset: 3px; }
a:hover { color: #8E3557; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h3 { font-size: 16px; font-weight: 700; }
svg.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
svg.icon.small { width: 16px; height: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.unit { font-family: var(--font); font-size: 14px; font-weight: 400; }

/* ---- ヘッダー ---- */
.site-header { background: var(--white); }
.header-inner { max-width: 1228px; margin: 0 auto; padding: 20px 34px 18px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; flex: none; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 49px; height: 49px; border: 2px solid var(--forest); border-radius: 16px; background: var(--pink-pale); display: grid; place-items: center; transform: rotate(-5deg); box-shadow: 3px 3px 0 var(--mint); }
.brand-mark .icon { width: 29px; height: 29px; stroke-width: 1.6; transform: rotate(5deg); }
.brand-type { display: flex; flex-direction: column; line-height: 1.35; }
.brand-type small { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.brand-type strong { font-size: 23px; letter-spacing: 0.035em; font-weight: 900; }
.brand-spark { font-size: 18px; color: var(--pink); padding-left: 5px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; white-space: nowrap; padding: 8px 0; color: var(--ink); text-decoration: none; min-height: 44px; }
.site-nav a:hover { color: var(--pink-deep); }
.site-nav .icon { width: 19px; height: 19px; color: var(--pink-deep); }
.header-rails { height: 7px; background: linear-gradient(to bottom, var(--forest) 0 2px, transparent 2px 4px, var(--pink) 4px 7px); }

/* ---- 本文の器 ---- */
.page-shell { max-width: 1228px; margin: 0 auto; padding: 0 34px 56px; }
.crumbs { padding: 16px 0 6px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--pink); font-weight: 700; }
.crumbs a { color: var(--muted); }
main { display: block; }
main > * + * { margin-top: 30px; }
main section { display: flex; flex-direction: column; gap: 12px; }
div[data-rolling] { display: flow-root; }
.lead { margin: 0; font-size: 15px; line-height: 1.85; }
.updated { margin: 0; font-size: 14px; color: var(--muted); }
.updated time { font-family: var(--mono); }
.note { margin: 0; font-size: 14px; color: var(--muted); }
h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; line-height: 1.4; letter-spacing: 0.03em; }
h2 svg { flex: none; }
.h2-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1.5px solid #E2D6CF; box-shadow: inset 0 0 0 3px var(--paper); display: grid; place-items: center; flex: none; }
.more-link { font-size: 15px; font-weight: 700; }
.sub { font-size: 14px; color: var(--muted); }

/* ---- ページの頭（看板＋要約文＋小さなキャラクター） ---- */
.page-head { display: grid !important; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px 32px; align-items: center; padding-top: 6px; }
.head-sign { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.head-after { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; align-items: end; }
.head-text { display: flex; flex-direction: column; gap: 10px; }
.head-guide { position: relative; align-self: end; }
.head-guide::before { content: ""; position: absolute; left: -6px; right: -6px; bottom: -4px; height: 36px; border-radius: 50%; background: radial-gradient(ellipse at center, #F5DBDF 0, #F5DBDF00 70%); z-index: -1; }
.head-guide img { display: block; width: 92px; height: auto; transform: rotate(3deg); filter: drop-shadow(0 4px 0 #FFFFFF99); }
.head-sign > h1 { font-size: 34px; font-weight: 900; letter-spacing: 0.04em; line-height: 1.45; }
.head-sign > h1::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 10px; border-radius: 6px; background: linear-gradient(to bottom, var(--mint) 0 3px, var(--pink) 3px 6px); }

/* ---- 看板（丸みのある枠＋ミントの帯。帯の丸が種類の印） ---- */
.sign { background: var(--white); border: 2px solid var(--forest); border-radius: var(--round); overflow: hidden; box-shadow: 0 5px 0 var(--mint); }
.sign-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px; background: var(--mint); color: var(--forest); font-size: 14px; font-weight: 700; }
.sign-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sign-top > span:first-child::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 2px var(--white); flex: none; }
.sign-top .en { font-family: var(--mono); letter-spacing: 0.18em; }
.c-area { --mark: var(--mark-area); }
.c-store, .c-store-dark { --mark: var(--mark-store); }
.c-day, .c-day-dark { --mark: var(--mark-day); }
.c-station, .c-station-dark { --mark: var(--mark-station); }
.sign-body { position: relative; padding: 16px 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sign-kicker { font-family: var(--mono); font-size: 14px; letter-spacing: 0.22em; color: var(--muted); }
.sign-sub { font-size: 14px; color: var(--muted); }
.sign-roman { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 0.28em; color: var(--pink-deep); }
.sign h1 { font-weight: 900; line-height: 1.25; color: var(--ink); }
.sign-area h1 { font-size: 44px; letter-spacing: 0.12em; }
.sign-area h1.long { font-size: 32px; letter-spacing: 0.06em; }
.sign-store h1 { font-size: 32px; letter-spacing: 0.05em; margin-top: 2px; }
.sign-store .sign-roman { font-size: 14px; letter-spacing: 0.2em; }
.sign-date h1 { display: flex; align-items: baseline; gap: 8px; line-height: 1.1; }
.sign-date h1 .big { font-family: var(--mono); font-weight: 800; font-size: 64px; letter-spacing: -0.02em; color: var(--forest); }
.sign-date h1 .wd { font-size: 20px; font-weight: 900; }
.sign-cond .sign-body { flex-direction: row; justify-content: center; gap: 18px; text-align: left; }
.cond-tile { width: 84px; height: 84px; border-radius: 50%; background: var(--pink-pale); border: 2px solid var(--pink); box-shadow: inset 0 0 0 4px var(--white); color: var(--pink-deep); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 800; font-size: 46px; line-height: 1; flex: none; }
.cond-tile.small { font-family: var(--font); font-size: 24px; font-weight: 900; }
.sign-cond h1 { font-size: 34px; }
.cond-text { display: flex; flex-direction: column; line-height: 1.3; }
/* 日付条件の h1 は「群馬県の」を含む（見た目は h1 の外にあったときと同じ） */
.sign-cond h1 { display: flex; flex-direction: column; }
.sign-cond h1 .sign-sub { font-weight: 400; line-height: 1.3; }
.cond-en { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; color: var(--muted); }
.sign-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px dashed #A9CDBD; }
.sign-nav > * { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 18px; line-height: 1.35; background: var(--mint-pale); color: var(--forest); text-decoration: none; }
.sign-nav > a:hover { background: var(--pink-pale); color: var(--pink-deep); }
.sign-nav > * + * { border-left: 1px dashed #A9CDBD; align-items: flex-end; text-align: right; }
.sign-nav .lbl { font-size: 14px; }
.sign-nav .val { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.sign-nav .plain { font-size: 15px; font-weight: 700; }
.sign-nav > .c-store-dark, .sign-nav > .c-day-dark { background: var(--forest); color: #FFFFFF; }
.sign-nav > a.c-store-dark:hover, .sign-nav > a.c-day-dark:hover { background: var(--board-deep); color: #FFFFFF; }
.sign-nav > .c-store-dark .val, .sign-nav > .c-day-dark .val { color: var(--yellow); }
.sign-nav .val .unit { color: inherit; }
/* 駅周辺：路線の線と駅の丸 */
.sign-station .sign-body:has(+ .sign-nav) { padding-bottom: 26px; }
.sign-station .sign-body:has(+ .sign-nav)::before { content: ""; position: absolute; left: 18px; right: 18px; bottom: 9px; height: 7px; border-radius: 7px; background: linear-gradient(to bottom, var(--mint) 0 3px, var(--white) 3px 4px, var(--pink) 4px 7px); }
.sign-station .sign-body:has(+ .sign-nav)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 19px; height: 19px; margin-left: -10px; border-radius: 50%; background: var(--white); border: 4px solid var(--forest); }
.sign-station h1 { font-size: 44px; font-weight: 900; letter-spacing: 0.12em; }
.sign-station h1.long { font-size: 32px; letter-spacing: 0.06em; }
.sign-station h1.longer { font-size: 24px; letter-spacing: 0.02em; }
.sign-station h1 .suffix { font-size: 20px; letter-spacing: 0.04em; color: var(--pink-deep); }
.sign-station h1.longer .suffix { font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px 0 2px; }
.tag { font-size: 14px; font-weight: 700; color: var(--pink-ink); background: var(--pink); padding: 1px 12px; border-radius: 999px; }
.tag.mdz { background: var(--yellow); color: var(--ink); }

/* ---- 数字のタイル ---- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }
.stats > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; box-shadow: 0 3px 0 #E8E4D566; }
.stats b { font-family: var(--mono); font-size: 26px; line-height: 1.2; color: var(--forest); }
.stats span { font-size: 14px; color: var(--muted); }

/* ---- 白い箱 ---- */
.box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 3px 0 #E8E4D566; }
.box-pad { padding: 14px 18px; }
.row { padding: 12px 18px; border-top: 1px dashed var(--dash); }
.box > .row:first-child { border-top: 0; }
.group-name { font-size: 14px; font-weight: 700; color: var(--pink-deep); }
.item { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.item .more { font-size: 14px; font-weight: 700; flex: none; }
.dist { margin-left: auto; font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--forest); background: var(--mint-pale); border: 1px solid #A9D6C2; border-radius: 999px; padding: 0 10px; line-height: 1.6; }
.item .dist + .more { margin-left: 0; }

/* ---- 案内板（濃い青緑の盤） ---- */
.board { background: var(--board); color: #F9FBF4; border: 5px solid #E5E5D7; border-radius: 18px; overflow: hidden; gap: 0 !important; box-shadow: 0 6px 0 #E6E2D266; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 18px; border-bottom: 1px solid #5C796257; }
.board-head .board-icon { width: 20px; height: 20px; color: var(--mint); }
.board-head h2 { font-size: 17px; flex: 1; color: #FFFFFF; letter-spacing: 0.06em; white-space: nowrap; }
.board-head .period { font-size: 14px; font-family: var(--mono); color: #C6D4C2; }
.board-light { height: 7px; width: 7px; border-radius: 50%; background: #E4C784; box-shadow: 0 0 6px #E7C66466; flex: none; }
.board-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 18px; border-top: 1px dashed #9AB28D40; align-items: center; }
.board-head + .board-row { border-top: 0; }
.board-row .d { display: flex; flex-direction: column; line-height: 1.25; }
.board-row time { font-family: var(--mono); font-weight: 800; font-size: 24px; color: var(--yellow); letter-spacing: -0.02em; }
.board-row .w { font-size: 14px; color: #C8D2C2; }
.board-row .c { font-size: 14px; color: #F4C0CD; font-weight: 700; }
.board-row .s { font-size: 15px; }
.board-row a { color: #FFFFFF; text-decoration-color: var(--pink); }
.board-row a:hover { color: var(--yellow); }
.board-empty { padding: 12px 18px; font-size: 14px; color: #C6D4C2; }

/* ---- 日付の末尾の表（桜色の丸） ---- */
.digits { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; justify-items: center; margin: 6px 0 4px; }
.digits span { width: 100%; max-width: 32px; aspect-ratio: 1 / 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 800; font-size: 14px; background: var(--mint-pale); color: var(--muted); }
.digits span.on { background: var(--pink); color: var(--pink-ink); box-shadow: 0 2px 0 #DC9DB1; }
.digits.big span { max-width: 40px; font-size: 16px; }
.digits-head { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; padding: 6px 18px; background: var(--mint); color: var(--forest); font-family: var(--mono); font-weight: 700; font-size: 14px; text-align: center; }
.spec { margin: 0; font-size: 15px; font-weight: 700; }
.spec.big { font-size: 17px; }

/* ---- 選ぶもの（タイル・2列のリンク） ---- */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choices a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 66px; background: linear-gradient(135deg, #FFFEFE, #FFF7F5); border: 1px solid #ECD8D7; border-radius: 14px; color: var(--pink-deep); text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.35; padding: 6px; box-shadow: 0 3px 0 #F6E2DF; }
.choices a:hover { border-color: var(--pink); background: var(--pink-pale); }
.choices a .sub { font-weight: 400; }
.list2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.list2 a, .linkrow { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-top: 1px dashed var(--dash); color: var(--ink); text-decoration: none; font-weight: 700; gap: 8px; }
.list2 a:nth-child(-n+2) { border-top: 0; }
.box > .linkrow:first-child { border-top: 0; }
.list2 a:hover, .linkrow:hover { color: var(--pink-deep); background: #FBEAED6B; }
.list2 a .arrow, .linkrow .arrow { color: var(--pink-deep); }
.linkrow .count { font-family: var(--mono); font-size: 18px; color: var(--forest); }

/* ---- 都県ごとのカード（開閉） ---- */
details.pref { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 3px 0 #E8E4D566; }
details.pref summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; min-height: 54px; padding: 0 18px; font-weight: 700; }
details.pref summary::-webkit-details-marker { display: none; }
details.pref summary > span:first-child::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--pink); vertical-align: 1px; }
details.pref summary b { font-family: var(--mono); font-size: 22px; color: var(--forest); }
details.pref summary .sub::after { content: " ▾"; color: var(--pink-deep); }
details.pref[open] summary { background: var(--pink-pale); border-bottom: 1px dashed #EFD1DA; }
details.pref[open] summary b { color: var(--pink-deep); }
details.pref[open] summary .sub::after { content: " ▴"; }

/* ---- 日付ページ：都県の目次（桜色とミントの丸いチップ）と都県ごとの一覧 ---- */
.pref-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-toc a { display: inline-flex; align-items: stretch; min-height: 44px; border-radius: 999px; overflow: hidden; border: 1px solid #EFC7D4; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 2px 0 #F6E2DF; }
.pref-toc a .p { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; }
.pref-toc a .p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.pref-toc a .n { display: flex; align-items: center; padding: 0 12px; background: var(--mint-pale); color: var(--forest); font-family: var(--mono); font-size: 14px; border-left: 1px dashed #A9D6C2; }
.pref-toc a:hover { border-color: var(--pink); }
.pref-toc a:hover .p { background: var(--pink-pale); color: var(--pink-deep); }
.pref-list { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 12px; }
.pref-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px; background: var(--mint); color: var(--forest); border-radius: 14px; font-size: 17px; }
.pref-head .p::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--pink); vertical-align: 1px; }
.pref-head .n { font-family: var(--mono); font-size: 15px; color: var(--pink-deep); }
.pref-head .to-toc { margin-left: auto; font-size: 14px; color: var(--forest); }

/* ---- 月のカレンダー ---- */
.month { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 3px 0 #E8E4D566; }
.month h2 { font-size: 18px; padding: 10px 18px; background: var(--mint); color: var(--forest); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 12px; }
.cal .wh { font-size: 14px; text-align: center; font-weight: 700; color: var(--muted); }
.cal .wh:nth-child(1) { color: var(--pink-deep); }
.cal .wh:nth-child(7) { color: var(--sat); }
.cal a, .cal span.d { min-height: 58px; border: 1px solid #E4E4D7; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 4px 2px; text-decoration: none; color: var(--ink); background: var(--white); font-size: 14px; line-height: 1.25; }
.cal a b, .cal span.d b { font-family: var(--mono); font-size: 17px; }
.cal a span { color: var(--pink-deep); font-weight: 700; }
.cal a:hover { background: var(--pink-pale); border-color: var(--pink); }
.cal span.blank { min-height: 58px; }
.cal span.d { color: var(--muted); background: #F4F3EC; }
.cal .mdz { background: var(--gold-pale); border-color: var(--gold); }

/* ---- 店舗：朝の抽選の時刻表（案内板の部品） ---- */
.box:has(> .tt-row) { background: var(--board); border: 5px solid #E5E5D7; color: #F9FBF4; box-shadow: 0 6px 0 #E6E2D266; }
.tt-row { display: grid; grid-template-columns: 48px 82px minmax(0, 1fr); gap: 10px; align-items: center; padding: 14px 18px; border-top: 1px dashed #9AB28D40; }
.box > .tt-row:first-child { border-top: 0; }
.tt-row .day { font-size: 14px; font-weight: 700; color: var(--pink-ink); background: var(--pink); border-radius: 999px; text-align: center; }
.tt-row .day:empty { background: transparent; }
.tt-row time, .tt-row .t { font-family: var(--mono); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--yellow); }
.tt-row .t.text { font-size: 15px; }
.tt-row .h { font-size: 15px; font-weight: 700; color: #FFFFFF; }
.lottery-note { margin: 0; font-size: 14px; white-space: pre-wrap; background: var(--mint-pale); border-radius: 14px; padding: 10px 14px; }

/* ---- 予想 ---- */
.forecast { display: grid; grid-template-columns: 1fr 1fr; }
.forecast > div { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.forecast > div + div { border-left: 1px dashed var(--dash); }
.forecast .v { font-family: var(--mono); font-size: 46px; line-height: 1.1; font-weight: 700; color: var(--pink-deep); }
.forecast .r { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--forest); }
.fc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px dashed var(--dash); color: var(--ink); text-decoration: none; }
.box > .fc-row:first-child { border-top: 0; }
.fc-row:hover { background: var(--pink-pale); color: var(--ink); }
.fc-row .n { display: flex; flex-direction: column; line-height: 1.45; }
.fc-row b.v { font-family: var(--mono); font-size: 26px; color: var(--pink-deep); }

/* ---- 平均抽選人数 ---- */
.avg-row { padding: 10px 18px; border-top: 1px dashed var(--dash); display: flex; flex-direction: column; gap: 6px; }
.box > .avg-row:first-child { border-top: 0; }
.avg-row .item span { font-size: 15px; font-weight: 700; }
.avg-row .item b { font-family: var(--mono); font-size: 22px; color: var(--forest); }
.bar { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; }
.bar i { display: block; height: 12px; border-radius: 999px; background: var(--mint-pale); }
.bar i.on { background: var(--pink); }
.bar.total i.on { background: var(--forest); }
.cond-table-head { display: grid; grid-template-columns: 1fr 112px; gap: 10px; padding: 8px 18px; background: var(--mint); color: var(--forest); font-size: 14px; font-weight: 700; }
.cond-table-head span:last-child { text-align: right; }
.cond-item { display: grid; grid-template-columns: 1fr 112px; gap: 10px; align-items: center; min-height: 40px; }
.cond-item .v { text-align: right; font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--pink-deep); }
.cond-item .v.na { font-size: 15px; color: var(--muted); font-weight: 400; }

/* ---- 取材・来店（カードの行） ---- */
.box.ev { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; display: flex; flex-direction: column; gap: 8px; }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 4px 0; font-size: 15px; font-weight: 700; color: var(--forest); }
.ev-head > :first-child::before { content: "✦"; color: var(--pink); margin-right: 6px; }
.ev-head .sub { font-weight: 400; }
.ev-head time { font-family: var(--mono); }
.ev-store { background: var(--white); border: 1px solid #ECD8D7; border-radius: 14px; box-shadow: 0 3px 0 #F6E2DF; }
/* 店舗：取材・来店の箱（頭に要約の文、下に日付ごとの行。行は aria-hidden） */
.ev-box { background: var(--white); border: 1px solid #ECD8D7; border-radius: 18px; overflow: hidden; box-shadow: 0 3px 0 #F6E2DF; }
.ev-box.past { border-color: var(--line); box-shadow: 0 3px 0 #E8E4D566; }
.ev-title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px 0; font-size: 16px; color: var(--forest); }
.ev-title::before { content: "✦"; color: var(--pink); }
.ev-box.past .ev-title::before { color: var(--mint-deep); }
.ev-sum { margin: 0; padding: 4px 18px 12px; font-size: 15px; line-height: 1.8; border-bottom: 1px dashed var(--dash); }
.ev-row { display: grid; grid-template-columns: 58px 20px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 18px; border-top: 1px dashed var(--dash); }
.ev-rows > .ev-row:first-child { border-top: 0; }
.ev-row time { font-family: var(--mono); font-weight: 800; font-size: 19px; color: var(--pink-deep); }
.ev-row .w { font-size: 14px; color: var(--muted); }
.ev-kind { font-size: 14px; font-weight: 700; padding: 0 10px; border-radius: 999px; background: var(--pink-pale); color: var(--pink-deep); border: 1px solid #EFC7D4; white-space: nowrap; }
.ev-kind.nm { background: var(--mint-pale); color: var(--forest); border-color: #A9D6C2; }
.ev-box.past .ev-row { color: var(--muted); }
.ev-box.past .ev-row time { font-weight: 700; font-size: 16px; color: var(--muted); }
.ev-store { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; color: var(--ink); text-decoration: none; }
.ev-store:hover { border-color: var(--pink); background: var(--pink-pale); color: var(--ink); }
.ev-store .n { display: flex; flex-direction: column; line-height: 1.45; }
.ev-store .arrow { color: var(--pink-deep); font-weight: 700; }
.ev-text { color: var(--ink); }

/* ---- 駅周辺 ---- */
.nb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-list .nb { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: 0 3px 0 #E8E4D566; }
.nb-list a.nb:hover { border-color: var(--pink); background: var(--pink-pale); }
.nb-list span.nb { color: var(--muted); font-weight: 400; box-shadow: none; }
.nb .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--pink); background: var(--white); }
.nb .dot.off { border-color: var(--line); }
.morning { margin: 6px 0 0; font-size: 14px; background: var(--mint-pale); border-radius: 12px; padding: 6px 12px; }
.station-entry { display: flex; flex-direction: column; gap: 10px; }
.station-entry > svg { max-width: 460px; align-self: center; }
.station-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 0 18px; background: var(--forest); color: #FFFFFF; border-radius: 999px; text-decoration: none; font-weight: 700; }
.station-link:hover { background: var(--board-deep); color: #FFFFFF; }
.station-link span { font-size: 14px; color: var(--yellow); flex: none; }
dl.src-list { margin: 0; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
dl.src-list dt { font-weight: 700; color: var(--ink); }
dl.src-list dd { margin: 0 0 6px; overflow-wrap: anywhere; }

/* ---- 基本情報・出典 ---- */
dl.info { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: 8em 1fr; font-size: 15px; overflow: hidden; box-shadow: 0 3px 0 #E8E4D566; }
dl.info dt { padding: 10px 16px; background: var(--mint-pale); font-size: 14px; font-weight: 700; color: var(--forest); }
dl.info dd { margin: 0; padding: 10px 16px; }
dl.info dt + dd ~ dt { border-top: 1px solid var(--white); }
dl.info dd + dt + dd { border-top: 1px dashed var(--dash); }
.sources { border-top: 1px dashed #DACFC2; padding-top: 18px; gap: 10px !important; }
.sources h2 { font-size: 17px; }
.sources h2::before { content: "✧"; color: var(--pink); }
.sources dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.sources dt { font-weight: 700; color: var(--ink); }
.sources dd { margin: 0; overflow-wrap: anywhere; }
.prose { max-width: 860px; }
.prose p, .prose li { font-size: 15px; line-height: 1.9; }
.prose h2 { margin-top: 8px; }

/* ---- お問い合わせ（入力欄の文字は16px以上：iPhone で入力時に拡大されないように） ---- */
.contact-box { max-width: 760px; gap: 22px !important; }
.contact-form { display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1.5px solid #E2D6CF; border-radius: var(--round); padding: 26px 28px; box-shadow: 0 4px 0 var(--pink-pale); }
.contact-form .field { display: flex; flex-direction: column; gap: 7px; }
.contact-form label { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.contact-form .req, .contact-form .opt { font-size: 14px; font-weight: 700; line-height: 1.4; padding: 1px 10px; border-radius: 999px; }
.contact-form .req { background: var(--pink-pale); color: var(--pink-deep); }
.contact-form .opt { background: var(--mint-pale); color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); border: 1.5px solid #CFC6B8; border-radius: 14px; padding: 10px 14px; width: 100%; min-height: 48px; }
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 2px; border-color: var(--pink-deep); background: var(--white); }
.contact-form .field-note { font-size: 14px; color: var(--muted); }
.contact-form .hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; }
.submit-button { font-family: var(--font); font-size: 16px; font-weight: 800; letter-spacing: 0.06em; color: #FFFFFF; background: var(--pink-deep); border: 0; border-radius: 999px; padding: 12px 42px; min-height: 52px; cursor: pointer; box-shadow: 0 4px 0 #8E3557; }
.submit-button:hover { background: #A2456A; }
.submit-button:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.contact-notes { display: flex; flex-direction: column; gap: 8px; }
.contact-notes p { font-size: 15px; line-height: 1.9; }
.contact-notes a { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .contact-form { padding: 20px 16px; }
  .submit-button { width: 100%; }
}

/* ---- フッター ---- */
.site-footer { border-top: 1px solid #DEE3D5; background: #F2F1E7; }
.footer-inner { max-width: 1228px; margin: 0 auto; padding: 24px 34px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand .icon { width: 22px; height: 22px; color: #5E8A6B; }
.footer-brand b { font-size: 16px; color: var(--ink); }
.footer-brand > span { font-size: 14px; color: var(--muted); padding-left: 6px; }
.footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-inner nav a { color: var(--ink); font-weight: 700; }
.footer-op { width: 100%; }

/* =====================================================================
   トップ
   ===================================================================== */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 380px; gap: 26px; position: relative; padding: 18px 26px 22px 14px; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--pink-deep); display: flex; align-items: center; gap: 10px; }
.tiny-star { font-size: 18px; color: var(--pink-deep); }
.hero h1 { font-size: 42px; letter-spacing: 0.035em; line-height: 1.55; font-weight: 900; }
.hero h1 span { background: linear-gradient(transparent 72%, var(--pink-pale) 72% 95%, transparent 95%); white-space: nowrap; }
.hero .lead { color: #4E6159; max-width: 560px; }
.hero-stats { display: inline-flex; align-self: flex-start; align-items: center; gap: 15px; border: 1px solid #E5E6DA; background: #FFFFFF99; padding: 7px 18px; border-radius: 40px; font-size: 14px; }
.hero-stats > span { display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.hero-stats b { font-family: var(--mono); font-weight: 700; font-size: 19px; color: var(--forest); margin: 0 2px; }
.hero-stats .icon { width: 16px; height: 16px; color: var(--pink-deep); }
.hero-stats i { height: 16px; border-left: 1px solid #D6DED3; }
.hero-art { position: relative; height: 400px; align-self: stretch; width: 100%; margin: 0; isolation: isolate; }
.art-halo { position: absolute; height: 270px; width: 300px; right: -14px; top: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #FFE9E8 10%, #F5DBDF 70%, #F3E6E0); transform: rotate(-12deg); z-index: -2; }
.art-halo::after { content: ""; position: absolute; inset: 13px; border: 1px dashed #C77C8B66; border-radius: 50%; }
.orbit-track { position: absolute; width: 108%; height: 100%; left: -20px; top: 8px; overflow: visible; z-index: -1; fill: var(--paper); stroke: #BED6C8; stroke-width: 7; }
.orbit-track > path { fill: none; }
.orbit-track > path.track-inner { stroke: var(--paper); stroke-width: 2; stroke-dasharray: 2 10; }
.orbit-track circle { stroke: var(--mint); stroke-width: 4; }
.guide-character { position: absolute; z-index: 2; right: 40px; top: -12px; height: 360px; width: 191px; filter: drop-shadow(0 7px 0 #FFFFFF99); transform: rotate(3deg); }
.bubble { position: absolute; z-index: 3; left: -8px; top: 34px; padding: 12px 18px; border: 1.5px solid #DEBEA9; background: var(--white); border-radius: 18px 18px 4px 18px; font-size: 15px; line-height: 1.6; font-weight: 800; transform: rotate(-7deg); box-shadow: 0 4px 0 #E4CFBF28; max-width: 186px; }
.bubble .keep { display: inline-block; white-space: nowrap; }
.bubble::after { content: ""; width: 12px; height: 12px; border-right: 1.5px solid #DEBEA9; border-bottom: 1.5px solid #DEBEA9; background: var(--white); position: absolute; right: 12px; bottom: -7px; transform: skew(12deg) rotate(35deg); }
.character-name { position: absolute; right: 30px; top: 362px; white-space: nowrap; padding: 6px 16px; background: var(--white); border: 1px solid #DBE5DA; border-radius: 20px; font-weight: 800; font-size: 15px; transform: rotate(-2deg); z-index: 4; box-shadow: 0 3px 0 #E1E2D96B; }
.character-name > span { font-size: 14px; color: var(--muted); padding-right: 8px; font-weight: 700; }
.art-star { position: absolute; font-size: 36px; z-index: 3; line-height: 1; user-select: none; }
.star-one { right: 23px; top: 20px; color: var(--pink); }
.star-two { left: 30px; bottom: 120px; color: #D6B76F; font-size: 26px; }
.star-three { right: 4px; bottom: 70px; color: #8EB99D; font-size: 26px; }
.art-heart { position: absolute; right: 12px; top: 108px; color: var(--pink-deep); font-size: 28px; transform: rotate(15deg); }

.date-section { border-top: 1px dashed #DACFC2; padding-top: 26px; gap: 0 !important; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.heading-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.section-number { width: 34px; height: 34px; border: 1.5px solid #CC8DA1; box-shadow: inset 0 0 0 3px var(--paper); background: var(--pink-pale); color: var(--pink-deep); border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; flex: none; }
.section-heading h2 { font-size: 22px; letter-spacing: 0.04em; }
.section-english { font-size: 14px; font-family: var(--mono); letter-spacing: 0.16em; color: #7D8A81; margin-left: 4px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 700; min-height: 44px; border-bottom: 1px solid #CBD9CC; padding: 3px 0; color: var(--ink); text-decoration: none; white-space: nowrap; }
.text-button:hover { color: var(--pink-deep); border-color: var(--pink-deep); }
.text-button .icon { width: 18px; height: 18px; }
.day-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day-ticket { position: relative; background: var(--white); border: 1px solid #D8E0D5; border-radius: 12px; padding: 10px 6px 0; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto 1fr; box-shadow: 0 3px 0 #E7E5D85C; overflow: hidden; isolation: isolate; color: var(--ink); text-decoration: none; text-align: center; }
.day-ticket::before, .day-ticket::after { content: ""; position: absolute; height: 10px; width: 10px; border: 1px solid #D8E0D5; background: var(--paper); top: 82px; border-radius: 50%; z-index: 2; }
.day-ticket::before { left: -6px; }
.day-ticket::after { right: -6px; }
.day-meta { grid-column: 1 / -1; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; color: #66766B; line-height: 1.4; }
.day-num { grid-column: 2; font-family: var(--mono); font-weight: 700; font-size: 36px; line-height: 46px; letter-spacing: -0.06em; }
.day-weekday { grid-column: 3; font-size: 15px; align-self: end; justify-self: start; line-height: 30px; margin-left: 4px; font-weight: 700; }
.day-rule { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: center; font-size: 14px; line-height: 1.45; letter-spacing: 0.02em; border-top: 1px dashed #DBE1D9; margin: 6px -6px 0; padding: 7px 4px 8px; font-weight: 700; background: #F9FAF5; }
.day-ticket.active { background: var(--pink); border-color: #CC6B8C; box-shadow: 0 4px 0 #DC9DB15C; color: var(--pink-ink); transform: translateY(-3px); }
.day-ticket.active .day-rule { background: #F3A8C0; border-color: #C8719380; }
.day-ticket.active .day-meta { color: #5A3445; }
.day-ticket.active::before, .day-ticket.active::after { border-color: #CC6B8C; }
.day-ticket:hover:not(.active) { background: var(--pink-pale); color: var(--ink); }
.weekend-sat:not(.active) .day-num, .weekend-sat:not(.active) .day-weekday { color: var(--sat); }
.weekend-sun:not(.active) .day-num, .weekend-sun:not(.active) .day-weekday { color: var(--pink-deep); }
.date-footnote { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 14px 4px 0; }
.legend-dot { width: 7px; height: 7px; background: var(--pink-deep); border-radius: 50%; flex: none; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.timetable-section { min-width: 0; }
.departure-board { background: var(--board); border: 5px solid #E5E5D7; box-shadow: 0 1px 0 #C3D0C3, 0 6px 0 #E6E2D266; border-radius: 18px; padding: 0 22px; color: #F9FBF4; overflow: hidden; position: relative; }
.departure-board::before, .departure-board::after { content: ""; position: absolute; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: #91AB9270; }
.departure-board::before { left: 9px; }
.departure-board::after { right: 9px; }
.board-nameplate { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid #5C796257; }
.board-nameplate > div { display: flex; align-items: center; gap: 8px; }
.board-nameplate .icon { width: 20px; height: 20px; color: var(--mint); }
.board-nameplate h2 { font-size: 18px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.2; color: #FFFFFF; }
.nameplate-en { font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; color: #ACBEB0; margin-left: auto; }
.board-summary { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr; align-items: center; gap: 15px; padding: 22px 0 18px; border-bottom: 1px solid #91A68B40; }
.board-date-block { display: flex; flex-direction: column; gap: 4px; }
.board-kicker { color: #C0CBBD; font-size: 14px; line-height: 1.4; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.board-kicker > span + span { border-left: 1px solid #738D7A; padding-left: 8px; }
.board-kicker > span:first-child { color: var(--pink); font-weight: 700; }
.board-date { font-family: var(--mono); font-weight: 700; font-size: 46px; line-height: 1.15; letter-spacing: -0.06em; white-space: nowrap; }
.board-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.board-rule { font-size: 14px; border: 1px solid #A3B49661; padding: 0 8px; border-radius: 6px; color: #DBE4CD; white-space: nowrap; }
.board-stat { display: grid; grid-template-columns: auto 1fr; padding-left: 20px; border-left: 1px solid #8098774D; align-items: baseline; line-height: 1.3; }
.board-stat > span { grid-column: 1 / -1; font-size: 14px; color: #C8D2C2; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.board-stat .icon { width: 15px; height: 15px; }
.board-stat strong { font-family: var(--mono); font-weight: 700; font-size: 46px; line-height: 1.15; letter-spacing: -0.06em; color: var(--yellow); }
.board-stat small { font-size: 14px; margin-left: 5px; color: #E4E9D9; white-space: nowrap; }
.secondary-stat strong { color: #F4C0CD; font-size: 40px; }
.board-text { font-size: 14px; color: #D3DED0; padding: 12px 0 4px; line-height: 1.8; }
.board-table-wrap { margin: 0 -3px; }
.schedule-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.schedule-table th, .schedule-table td { vertical-align: middle; }
.schedule-table thead th { font-size: 14px; font-weight: 400; letter-spacing: 0.05em; color: #A9BDAA; line-height: 1.6; padding: 6px 5px 8px; border-bottom: 1px solid #9AAF9240; }
.schedule-table td, .schedule-table tbody th { padding: 9px 5px; border-bottom: 1px dashed #9AB28D40; height: 58px; }
.schedule-table tbody tr:last-child td, .schedule-table tbody tr:last-child th { border-bottom: 0; }
.route-col { width: 54px; }
.count-col, .event-col { width: 25%; text-align: right !important; }
.route-number { display: inline-grid; place-items: center; border: 1px solid #85A08A; border-radius: 50%; width: 32px; height: 32px; font-family: var(--mono); font-weight: 700; font-size: 14px; color: #C7D9B7; }
.prefecture-col { font-weight: 700; }
.schedule-table tbody .prefecture-col { font-size: 16px; letter-spacing: 0.04em; }
.prefecture-col a { color: #FFFFFF; text-decoration-color: var(--pink); }
.prefecture-col a:hover { color: var(--yellow); }
.pref-en { display: block; font-family: var(--mono); font-weight: 400; font-size: 14px; color: #9FB49E; letter-spacing: 0.08em; line-height: 1.3; }
.count-col b, .event-col b { font-family: var(--mono); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.04em; color: var(--yellow); }
.count-col small, .event-col small { font-size: 14px; color: #B6C6AD; margin-left: 5px; }
.event-col b { font-size: 21px; color: #F1BFD0; }
.event-col a { text-decoration: none; }
.event-col a:hover b { color: #FFFFFF; }
.event-col .na { color: #8EA48C; font-size: 15px; }
.board-note { font-size: 14px; color: #C6D4C2; padding: 10px 0 0; border-top: 1px solid #A2B59545; }
.board-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 12px 0 16px; font-size: 15px; }
.board-footer a { color: #FFFFFF; font-weight: 700; text-decoration-color: var(--pink); min-height: 44px; display: inline-flex; align-items: center; }
.board-footer a:hover { color: var(--yellow); }

.side-column { display: flex; flex-direction: column; gap: 20px; }
.panel { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--round); box-shadow: 0 3px 0 #E8E4D540; gap: 0 !important; }
.section-heading.compact { margin-bottom: 4px; gap: 8px; }
.compact .heading-title { gap: 10px; }
.compact h2 { font-size: 18px; letter-spacing: 0.02em; }
.compact .section-number { height: 30px; width: 30px; border-color: #A3C6AC; background: var(--mint-pale); color: var(--forest); box-shadow: inset 0 0 0 3px var(--white); }
.compact > .icon { height: 20px; width: 20px; color: #6E9A7B; }
.panel-lead { color: var(--muted); font-size: 14px; margin: 8px 0 0 1px; }
.mini-route { height: 44px; display: flex; align-items: center; justify-content: space-between; position: relative; margin: 4px 5px 4px; }
.mini-route::before { content: ""; width: 100%; position: absolute; left: 0; top: 22px; height: 7px; border-radius: 7px; background: linear-gradient(to bottom, var(--mint) 0 3px, var(--white) 3px 4px, var(--pink) 4px 7px); }
.mini-route > span { width: 14px; height: 14px; border: 3px solid #7CAA91; background: var(--white); border-radius: 50%; position: relative; z-index: 1; top: 3px; }
.mini-route > .icon { position: absolute; left: 34%; top: -2px; width: 24px; height: 24px; stroke-width: 1.7; background: var(--white); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.area-grid > a { border-bottom: 1px solid #EDF0E8; display: flex; align-items: center; justify-content: space-between; padding: 8px 0; min-height: 56px; gap: 4px; color: var(--ink); text-decoration: none; }
.area-grid > a > span { font-size: 15px; font-weight: 700; line-height: 1.4; }
.area-grid small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 1px; }
.area-grid .icon { width: 14px; height: 14px; color: #6E9A7B; }
.area-grid > a:hover { color: var(--pink-deep); background: #FBEAED6B; }
.area-grid > a:nth-last-child(-n+2) { border-bottom: 0; }
.condition-panel { background: linear-gradient(135deg, #FFFEFE, #FFF7F5); }
.condition-panel .section-number { color: var(--pink-deep); background: var(--pink-pale); border-color: #DBA0B3; }
.condition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; align-items: start; }
.cond-card { border: 1px solid #ECD8D7; background: var(--white); border-radius: 12px; overflow: hidden; }
.cond-card[open] { grid-column: 1 / -1; border-color: var(--pink); box-shadow: 0 3px 0 #F6E2DF; }
.cond-card summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 76px; }
.cond-card summary::-webkit-details-marker { display: none; }
.cond-card summary:hover { background: var(--pink-pale); }
.condition-digit { font-family: var(--mono); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--pink-deep); display: block; padding: 8px 0 2px; letter-spacing: -0.04em; }
.condition-digit > span { font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: 0; margin-left: 4px; color: #7E6C6E; }
.condition-word { display: block; font-size: 16px; font-weight: 700; color: #7F5F6B; padding: 14px 4px 8px; line-height: 1.4; }
.cond-count { display: flex; justify-content: center; gap: 6px; align-items: center; width: 100%; padding: 4px 8px; font-size: 14px; color: #8A7072; border-top: 1px dashed #EBD4D2; background: #FFF8F6; margin-top: auto; }
.open-mark::after { content: "▾"; color: var(--pink-deep); }
.cond-card[open] .open-mark::after { content: "▴"; }
.cond-prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 4px 14px 8px; }
.cond-prefs a { display: flex; justify-content: space-between; align-items: center; min-height: 46px; border-top: 1px dashed var(--dash); color: var(--ink); font-weight: 700; text-decoration: none; gap: 6px; }
.cond-prefs a:nth-child(-n+2) { border-top: 0; }
.cond-prefs a:hover { color: var(--pink-deep); }

.guide-note { margin-top: 38px !important; flex-direction: row !important; align-items: center; gap: 24px !important; border: 1px dashed #D5BE9C; border-radius: 18px; background: #FBF2DF99; padding: 24px 26px; position: relative; }
.note-stamp { width: 66px; height: 66px; border-radius: 50%; background: #FFF9EB; border: 1px solid #DECAA7; display: grid; place-items: center; transform: rotate(-15deg); flex: none; }
.note-stamp .icon { width: 31px; height: 31px; color: #A49168; stroke-width: 1.3; }
.guide-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.note-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: #A0665C; }
.guide-note h2 { font-size: 18px; letter-spacing: 0.02em; }
.guide-note p:not(.note-eyebrow) { font-size: 15px; color: #5F5C4C; line-height: 1.85; }
.guide-link { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; border: 1px solid #D8CEB9; border-radius: 30px; white-space: nowrap; padding: 11px 18px; background: var(--paper); color: var(--ink); text-decoration: none; min-height: 48px; }
.guide-link .icon { width: 17px; height: 17px; color: #8C9270; }
.guide-link:hover { background: #FFFFFF; color: var(--pink-deep); }

/* =====================================================================
   PC：2列（盤・時刻表を右の列に。左の欄は右の列をよけて流れる）
   ===================================================================== */
@media (min-width: 960px) {
  .k-two main > [data-rolling]:has(> .board), .k-store main > section:has(> .box > .tt-row) { float: right; width: 360px; margin: 30px 0 30px 32px; }
  .k-two main > [data-rolling]:has(> .board) + *, .k-store main > section:has(> .box > .tt-row) + * { margin-top: 30px; }
  .k-date .pref-list > .box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .k-date .pref-list > .box > .row:nth-child(2) { border-top: 0; }
  .k-dates main > section > [data-rolling] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .k-misc .page-head, .k-dates .page-head { grid-template-columns: minmax(0, 1fr) 420px; }
}

/* ---- 幅 1100px 以下 ---- */
@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .hero { padding-left: 0; padding-right: 0; gap: 8px; }
  .hero h1 { font-size: 36px; }
  .bubble { max-width: 168px; font-size: 14px; }
  .hero-art { height: 360px; }
  .guide-character { height: 330px; width: 175px; right: 30px; }
  .art-halo { width: 265px; right: -16px; height: 260px; }
  .character-name { right: 10px; top: 330px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
  .board-summary { grid-template-columns: 1.15fr 1fr 0.85fr; gap: 10px; }
  .board-date, .board-stat strong { font-size: 38px; }
  .secondary-stat strong { font-size: 32px; }
  .board-stat { padding-left: 14px; }
  .nameplate-en { display: none; }
  .board-light { margin-left: auto; }
}

/* ---- 幅 721〜959px：吹き出しはキャラクターの上、名札は下 ---- */
@media (min-width: 721px) and (max-width: 959px) {
  .hero-art { height: 380px; }
  .guide-character { top: 62px; height: 280px; width: 149px; right: 30px; }
  .bubble { top: 0; left: auto; right: 0; transform: rotate(-3deg); font-size: 14px; max-width: none; }
  .art-halo { top: 110px; width: 230px; height: 230px; right: -20px; }
  .character-name { right: 0; top: 352px; font-size: 14px; }
}

/* ---- 1列（959px 以下） ---- */
@media (max-width: 959px) {
  .page-head { grid-template-columns: minmax(0, 1fr); }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .day-strip { gap: 8px; }
  .day-num { font-size: 30px; line-height: 40px; }
}

/* ---- スマホ（720px 以下） ---- */
@media (max-width: 720px) {
  .header-inner { padding: 14px 16px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark .icon { width: 25px; height: 25px; }
  .brand-type strong { font-size: 19px; }
  .brand-spark { display: none; }
  .site-nav { gap: 4px; }
  .site-nav a { width: 44px; height: 44px; justify-content: center; border: 1px solid #DBE4D5; border-radius: 50%; padding: 0; }
  .site-nav a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .site-nav .icon { width: 20px; height: 20px; color: var(--forest); }
  .header-rails { height: 6px; background: linear-gradient(to bottom, var(--forest) 0 2px, transparent 2px 3px, var(--pink) 3px 6px); }
  .page-shell { padding: 0 16px 44px; }
  main > * + * { margin-top: 26px; }
  h2 { font-size: 19px; }
  .h2-mark { width: 34px; height: 34px; }
  .head-after { grid-template-columns: minmax(0, 1fr) 70px; gap: 10px; }
  .head-guide img { width: 70px; }
  .head-sign > h1 { font-size: 28px; }
  .sign-area h1, .sign-station h1 { font-size: 38px; }
  .sign-area h1.long, .sign-station h1.long { font-size: 28px; }
  .sign-store h1 { font-size: 26px; }
  .sign-date h1 .big { font-size: 54px; }
  .sign-cond h1 { font-size: 28px; }
  .cond-tile { width: 72px; height: 72px; font-size: 40px; }
  .cond-tile.small { font-size: 21px; }
  .sign-body { padding: 14px 14px 12px; }
  .sign-nav > * { padding: 6px 14px; }
  .stats b { font-size: 22px; }
  .row, .avg-row, .fc-row, .box-pad { padding-left: 14px; padding-right: 14px; }
  .digits-head { padding-left: 14px; padding-right: 14px; gap: 2px; }
  .digits { gap: 2px; }
  .board-row { grid-template-columns: 78px 1fr; padding: 10px 14px; gap: 10px; }
  .board-row time { font-size: 21px; }
  .board-head { padding: 12px 14px; }
  .tt-row { grid-template-columns: 46px 78px minmax(0, 1fr); padding: 12px 14px; gap: 10px; }
  .tt-row time, .tt-row .t { font-size: 25px; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list2 { grid-template-columns: minmax(0, 1fr); }
  .list2 a:nth-child(2) { border-top: 1px dashed var(--dash); }
  .nb-list { grid-template-columns: minmax(0, 1fr); }
  .ev-row { grid-template-columns: 52px 16px auto minmax(0, 1fr); padding: 10px 14px; gap: 8px; }
  .ev-title { padding: 12px 14px 0; }
  .ev-sum { padding: 4px 14px 12px; }
  .cond-table-head, .cond-item { grid-template-columns: 1fr 96px; }
  dl.info { grid-template-columns: 6.5em 1fr; }
  .cal { gap: 4px; padding: 8px; }
  .cal a, .cal span.d { min-height: 54px; border-radius: 10px; }
  .cal a b, .cal span.d b { font-size: 15px; }
  .footer-inner { padding: 22px 16px 26px; }

  /* トップ */
  .hero { grid-template-columns: minmax(0, 1fr) 128px; gap: 12px 6px; padding: 18px 0 8px; min-height: 0; align-items: start; }
  .hero-copy { display: contents; }
  .hero-copy > * { grid-column: 1 / -1; }
  .hero-copy > .lead { grid-column: 1; grid-row: 3; font-size: 15px; }
  .hero-copy > .hero-stats { grid-row: 4; }
  .hero-copy > .updated { grid-row: 5; }
  .eyebrow { font-size: 14px; gap: 6px; letter-spacing: 0.02em; grid-row: 1; }
  .tiny-star { font-size: 15px; }
  .hero h1 { font-size: 28px; line-height: 1.55; letter-spacing: 0.01em; grid-row: 2; }
  .hero-stats { flex-wrap: wrap; gap: 6px 12px; padding: 7px 14px; white-space: normal; }
  .hero-stats b { font-size: 17px; }
  .hero-art { grid-column: 2; grid-row: 3; height: 236px; margin-top: 0; }
  .guide-character { height: 174px; width: auto; right: 4px; top: 62px; transform: rotate(4deg); }
  .art-halo { height: 130px; width: 124px; top: 92px; right: 0; }
  .art-halo::after { inset: 8px; }
  .orbit-track, .star-three, .character-name { display: none; }
  .bubble { top: -4px; left: -2px; right: -2px; text-align: center; font-size: 14px; line-height: 1.5; padding: 5px 8px; max-width: none; transform: rotate(-4deg); border-radius: 12px 12px 3px 12px; }
  .bubble::after { width: 8px; height: 8px; bottom: -5px; }
  .art-star.star-one { top: 82px; right: -2px; font-size: 20px; }
  .star-two { left: 0; bottom: 20px; font-size: 18px; }
  .art-heart { right: -4px; top: 130px; font-size: 18px; }
  .date-section { padding-top: 22px; }
  .section-heading { margin-bottom: 14px; gap: 8px; }
  .heading-title { gap: 9px; }
  .section-heading h2 { font-size: 20px; }
  .section-number { height: 30px; width: 30px; }
  .section-english { display: none; }
  .day-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .day-ticket { padding-top: 8px; }
  .day-ticket::before, .day-ticket::after { top: 74px; width: 8px; height: 8px; }
  .day-ticket::before { left: -5px; }
  .day-ticket::after { right: -5px; }
  .day-num { font-size: 28px; line-height: 38px; }
  .day-weekday { font-size: 14px; line-height: 26px; margin-left: 2px; }
  .day-rule { padding: 6px 2px 7px; margin: 4px -6px 0; letter-spacing: 0; }
  .day-ticket.active { transform: none; }
  .content-grid { gap: 26px; }
  .departure-board { border-radius: 15px; border-width: 4px; padding: 0 14px; }
  .board-nameplate { padding: 14px 0; }
  .board-nameplate h2 { font-size: 17px; }
  .board-summary { grid-template-columns: 1fr 1fr; gap: 14px 10px; padding: 18px 0 16px; }
  .board-date-block { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 4px 12px; }
  .board-kicker { width: 100%; }
  .board-date { font-size: 42px; }
  .board-stat { padding-left: 0; border-left: 0; border-top: 1px solid #8098774D; padding-top: 10px; }
  .board-stat strong { font-size: 38px; }
  .secondary-stat { padding-left: 12px; border-left: 1px solid #8098774D; }
  .secondary-stat strong { font-size: 34px; }
  .route-col { width: 42px; }
  .route-number { width: 30px; height: 30px; }
  .pref-en { display: none; }
  .schedule-table tbody .prefecture-col { font-size: 15px; }
  .count-col, .event-col { width: 28%; }
  .count-col b { font-size: 22px; }
  .event-col b { font-size: 20px; }
  .count-col small, .event-col small { margin-left: 3px; }
  .board-footer { flex-direction: column; align-items: flex-start; gap: 0; }
  .side-column { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 20px 18px; border-radius: 19px; }
  .area-grid { column-gap: 20px; }
  .condition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .guide-note { flex-wrap: wrap; padding: 20px 18px; gap: 14px !important; align-items: flex-start; }
  .note-stamp { height: 44px; width: 44px; margin-top: 4px; }
  .note-stamp .icon { width: 24px; height: 24px; }
  .guide-body { flex-basis: calc(100% - 64px); }
  .guide-note h2 { font-size: 17px; line-height: 1.7; }
  .guide-link { margin-left: 58px; }
}

@media (max-width: 370px) {
  .page-shell { padding: 0 12px 40px; }
  .brand-type strong { font-size: 17px; }
  .site-nav a { width: 40px; height: 40px; }
  .hero { grid-template-columns: minmax(0, 1fr) 112px; }
  .hero h1 { font-size: 25px; }
  .day-strip { gap: 6px; }
}
