/* 誕生日ケーキセレクト — site.css
   Layout: one reading column (max 44rem) that lets data blocks (tables, charts, schematic) break out to 60rem;
   a sticky contents rail appears beside the article on wide screens. Mobile first (91% of visits are phones). */
:root {
  --paper: #fffdfc;        /* page ground: whipped-cream white with a strawberry tint */
  --sponge: #fbf2ec;       /* soft panels (sponge cake) */
  --card: #ffffff;
  --cocoa: #2a1e1b;        /* body text: dark chocolate */
  --cocoa-2: #6b5a55;      /* secondary text */
  --cocoa-3: #94837d;      /* captions */
  --line: #ecdcd4;         /* hairlines */
  --line-strong: #d9c3b8;
  --berry: #c42640;        /* accent + primary buttons: strawberry */
  --berry-ink: #9e1a30;
  --berry-soft: #fde9ec;
  --ok: #3f7a24;   --ok-soft: #e8f3dc;     /* できる */
  --warn: #8a5a00; --warn-soft: #fff1cf;   /* 条件つき */
  --no: #7d6f6a;   --no-soft: #f1ebe8;     /* できない・未確認 */
  --slip: #fffaf0;         /* reservation-slip paper */
  --slip-rule: #e7cfa6;
  --shadow: 0 1px 2px rgba(42,30,27,.06), 0 6px 18px rgba(42,30,27,.06);
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, sans-serif;  /* 字幅を詰める P つきの書体（BIZ UDPゴシックなど）は入れない */
  --font-num: "Zen Maru Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --radius: 10px;
  --measure: 44rem;
  --wide: 60rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1412; --sponge: #261c19; --card: #221916;
    --cocoa: #f4e9e4; --cocoa-2: #cbb8b1; --cocoa-3: #a08f89;
    --line: #3d2f2a; --line-strong: #56443d;
    --berry: #ff6b7f; --berry-ink: #ff8f9e; --berry-soft: #3b1a20;
    --ok: #9bd27a; --ok-soft: #22321a; --warn: #f2c35b; --warn-soft: #3a2c10; --no: #b9aaa4; --no-soft: #2e2421;
    --slip: #2a201b; --slip-rule: #5a4630;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1412; --sponge: #261c19; --card: #221916;
  --cocoa: #f4e9e4; --cocoa-2: #cbb8b1; --cocoa-3: #a08f89;
  --line: #3d2f2a; --line-strong: #56443d;
  --berry: #ff6b7f; --berry-ink: #ff8f9e; --berry-soft: #3b1a20;
  --ok: #9bd27a; --ok-soft: #22321a; --warn: #f2c35b; --warn-soft: #3a2c10; --no: #b9aaa4; --no-soft: #2e2421;
  --slip: #2a201b; --slip-rule: #5a4630;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--cocoa);
  font-family: var(--font-body); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.45; letter-spacing: .03em; text-wrap: balance; word-break: auto-phrase; margin: 0; }
p { margin: 0; }
small { font-size: .82em; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.site-header .inner { max-width: 72rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--cocoa); text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 480px) { .logo b { font-size: 15.5px; } .site-nav a { padding: 6px 8px; font-size: 12.5px; } .site-nav a + a { display: none; } }
.logo b span { color: var(--berry); }
.site-nav { display: flex; gap: 4px; }
.site-nav a { font-size: 13px; color: var(--cocoa-2); text-decoration: none; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { background: var(--sponge); color: var(--cocoa); }

/* ---------- page frame ---------- */
.page { max-width: 72rem; margin: 0 auto; padding-block: 18px 80px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1100px) { .layout.has-rail { grid-template-columns: minmax(0, 1fr) 15rem; } }
.article { min-width: 0; }
.article > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.article > .wide { max-width: var(--wide); }
.rail { display: none; }
@media (min-width: 1100px) { .rail { display: block; } .rail .toc { position: sticky; top: 5rem; } }

.crumbs { font-size: 12px; color: var(--cocoa-3); margin-bottom: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--cocoa-2); text-decoration: none; }

.pr-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--cocoa-2); background: var(--sponge); border-radius: 8px; padding: 8px 10px; margin-bottom: 18px; line-height: 1.6; }
.pr-note b { flex: none; font-family: var(--font-num); font-size: 11px; letter-spacing: .08em; color: var(--paper); background: var(--cocoa-2); border-radius: 4px; padding: 1px 6px; margin-top: 1px; }

.headline h1 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); }
.headline .kicker { font-family: var(--font-display); font-size: 13px; color: var(--berry); letter-spacing: .1em; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pr { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--cocoa-3); letter-spacing: .08em; }
.pr-top { margin: 0; text-align: right; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--cocoa-3); margin-top: 12px; }
.meta .checked { color: var(--ok); font-weight: 600; }
.lead { margin-top: 18px; font-size: 16.5px; line-height: 2; }
.lead p + p { margin-top: 1.3em; }

/* ---------- prose ---------- */
.article h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); margin-top: 64px; padding-bottom: 10px; border-bottom: 2px solid var(--cocoa); position: relative; }
.article h2 .h2-sub { display: block; font-size: .62em; color: var(--cocoa-2); letter-spacing: .04em; margin-top: 4px; font-weight: 500; }
.article h3 { font-size: 1.15rem; margin-top: 36px; }
.prose { margin-top: 18px; line-height: 1.95; }
.prose > * + * { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose strong { background: linear-gradient(transparent 62%, var(--berry-soft) 62%); font-weight: 700; }
.note { font-size: 13px; color: var(--cocoa-2); line-height: 1.8; }
.note-box { background: var(--sponge); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.callout { border-left: 4px solid var(--berry); background: var(--berry-soft); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.tip { border-color: var(--ok); background: var(--ok-soft); }
.callout.caution { border-color: var(--warn); background: var(--warn-soft); }
.callout .title { font-family: var(--font-display); font-weight: 700; display: block; margin-bottom: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.35; text-align: center; transition: background .15s, transform .15s; }
/* 買うボタン：だれが見ても「押せる」と分かる形（塗りつぶし・立体の影・右に白い丸の矢印・押すと沈む） */
.btn-buy { background: var(--berry); color: #fff; border-radius: 12px; min-height: 52px; padding: 12px 18px 14px; font-size: 16px; letter-spacing: .04em;
  box-shadow: 0 4px 0 var(--berry-ink), 0 8px 16px rgba(196, 38, 64, .22); margin-bottom: 4px; }
.btn-buy:hover { background: var(--berry-ink); color: #fff; }
.btn-buy:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--berry-ink), 0 2px 6px rgba(196, 38, 64, .2); }
.btn-buy::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-left: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23c42640' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.btn-line { background: transparent; color: var(--cocoa); border: 1.5px solid var(--line-strong); }
.btn-line:hover { border-color: var(--cocoa-2); color: var(--cocoa); }
.btn-block { display: flex; width: 100%; }
.btn small { display: block; font-weight: 500; font-size: 11.5px; opacity: .9; }
.ad-mark { font-size: 10.5px; color: var(--cocoa-3); letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-buy { color: #1b1412; } }
:root[data-theme="dark"] .btn-buy { color: #1b1412; }

/* ---------- answer box (先に結論) ---------- */
.answer { margin-top: 26px; border: 2px solid var(--cocoa); border-radius: 14px; overflow: hidden; background: var(--card); }
.answer .answer-head { background: var(--cocoa); color: var(--paper); padding: 10px 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.answer .answer-head small { font-family: var(--font-body); font-weight: 400; opacity: .8; letter-spacing: 0; }
.answer ol { list-style: none; margin: 0; padding: 0; }
.answer li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 16px; border-top: 1px dashed var(--line-strong); }
.answer li:first-child { border-top: 0; }
.answer .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sponge); display: grid; place-items: center; }
.answer .ico svg { width: 24px; height: 24px; stroke: var(--berry); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.answer .when { font-size: 13px; color: var(--cocoa-2); }
.answer .rec { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.45; }
.answer .why { grid-column: 2; font-size: 14.5px; line-height: 1.85; }
.answer .act { grid-column: 2; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.answer .act .btn-buy { width: 100%; max-width: 420px; }
@media (max-width: 600px) { .answer .why, .answer .act { grid-column: 1 / -1; } }
.btn, .dock p, .answer .rec { word-break: auto-phrase; }
.answer .act a.jump { font-size: 13.5px; }

/* ---------- toc ---------- */
.toc { font-size: 13.5px; }
.toc .toc-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 1.6em 1fr; padding: 6px 0; color: var(--cocoa-2); text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.5; }
.toc a::before { content: counter(t); font-family: var(--font-num); color: var(--berry); }
.toc a:hover, .toc a.is-current { color: var(--cocoa); }
.toc-inline { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--card); }
.toc-inline summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; }
.toc-inline ol { margin-top: 8px; }
@media (min-width: 1100px) { .toc-inline { display: none; } }

/* ---------- station schematic ---------- */
.schematic { margin-top: 22px; }
.schematic .sides { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 0 10px; align-items: stretch; }
.schematic .side { display: grid; gap: 10px; align-content: start; }
.schematic .side-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; }
.schematic .side-label small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--cocoa-3); font-size: 11.5px; }
.schematic .rail-band { border-radius: 8px; background: repeating-linear-gradient(180deg, var(--cocoa-2) 0 14px, transparent 14px 20px); width: 6px; justify-self: center; position: relative; }
.schematic .station { grid-column: 1 / -1; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--cocoa-2); margin: 4px 0 10px; }
.schematic .station span { display: inline-block; border: 2px solid var(--cocoa); color: var(--cocoa); border-radius: 999px; padding: 2px 14px; background: var(--paper); }
.bldg { background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 10px; }
.bldg .bname { font-weight: 700; font-size: 13.5px; line-height: 1.4; }
.bldg .bfloor { font-size: 11.5px; color: var(--cocoa-3); }
.bldg ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.bldg li a { display: flex; gap: 6px; align-items: baseline; font-size: 12.5px; line-height: 1.4; color: var(--cocoa); text-decoration: none; }
.bldg li a:hover { color: var(--berry-ink); }
.pin { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--berry); color: #fff; font-family: var(--font-num); font-size: 11px; font-weight: 700; line-height: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pin { color: #1b1412; } }
:root[data-theme="dark"] .pin { color: #1b1412; }
.bldg.far { border-style: dashed; }
.schematic .caption { margin-top: 10px; }

/* ---------- filter + quick table ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { appearance: none; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--cocoa); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; min-height: 36px; }
.chip[aria-pressed="true"] { background: var(--cocoa); color: var(--paper); border-color: var(--cocoa); }
.table-scroll { position: relative; overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 0; }
table.data { border-collapse: collapse; width: 100%; font-size: 13.5px; line-height: 1.55; }
table.data th, table.data td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--sponge); font-size: 12px; color: var(--cocoa-2); font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data .sticky-col { position: sticky; left: 0; background: var(--card); z-index: 1; box-shadow: 1px 0 0 var(--line); }
table.data thead .sticky-col { background: var(--sponge); z-index: 2; }
table.data td.price, table.data td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.quick { min-width: 680px; }
table.small { min-width: 600px; }
table.small th.sticky-col { min-width: 9em; }
table.quick th.sticky-col { min-width: 9.5em; max-width: 11em; }
table.quick a { text-decoration: none; font-weight: 700; color: var(--cocoa); }
table.quick a:hover { color: var(--berry-ink); }
table.quick .where { display: block; font-size: 11.5px; color: var(--cocoa-3); font-weight: 400; }
tr[hidden] { display: none; }
.scroll-hint { font-size: 11.5px; color: var(--cocoa-3); margin-top: 6px; }
@media (min-width: 760px) { .scroll-hint { display: none; } }

/* status marks */
.mark { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; line-height: 1.6; }
.mark.ok { color: var(--ok); background: var(--ok-soft); }
.mark.warn { color: var(--warn); background: var(--warn-soft); }
.mark.no { color: var(--no); background: var(--no-soft); font-weight: 500; }

/* ---------- deadline chart ---------- */
.deadline { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 12px; }
.deadline .scale { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px; font-size: 11px; color: var(--cocoa-3); margin-bottom: 6px; }
.deadline .ticks { position: relative; height: 16px; }
.deadline .ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.deadline .ticks span:first-child { transform: none; }
.deadline .ticks span:last-child { transform: translateX(-100%); }
.deadline .row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); }
.deadline .row .lbl { font-size: 12.5px; line-height: 1.35; }
.deadline .row .lbl small { display: block; color: var(--cocoa-3); font-size: 11px; }
.deadline .track { position: relative; height: 24px; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 10) 100%; border-radius: 4px; }
.deadline .bar { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 0 4px 4px 0; background: var(--cocoa-2); min-width: 4px; }
.deadline .bar.online { background: var(--berry); }
.deadline .val { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11.5px; font-weight: 700; white-space: nowrap; padding-left: 6px; font-variant-numeric: tabular-nums; }
.deadline .row.online .lbl { font-weight: 700; color: var(--berry-ink); }
.deadline .legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 11.5px; color: var(--cocoa-2); }
.deadline .legend i { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }

/* ---------- size circles ---------- */
.sizes { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 14px; }
.sizes figure { margin: 0; display: grid; justify-items: center; gap: 6px; text-align: center; }
.sizes .disc { border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--paper) 0 52%, var(--berry-soft) 53% 100%); border: 2px solid var(--berry); }
.sizes figcaption { font-size: 12px; line-height: 1.4; }
.sizes figcaption b { font-family: var(--font-num); font-size: 14px; display: block; }

/* ---------- store cards ---------- */
.bgroup { margin-top: 30px; }
.bgroup > h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bgroup > h3 small { font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--cocoa-3); }
.bgroup > .note { margin-top: 6px; }
.store { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.store-head { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .store-head { grid-template-columns: 220px minmax(0, 1fr); } }
.store-photo { position: relative; background: var(--sponge); aspect-ratio: 16 / 9; max-width: 100%; }
@media (min-width: 620px) { .store-photo { aspect-ratio: auto; min-height: 100%; } }
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-photo .credit { position: absolute; right: 0; bottom: 0; max-width: 100%; background: rgba(0,0,0,.55); color: #fff; font-size: 9.5px; letter-spacing: 0; padding: 2px 6px; border-top-left-radius: 6px; line-height: 1.5; }
.store-photo .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cocoa-3); font-size: 12px; }
.store-photo .noimg svg { width: 56px; height: 56px; stroke: var(--line-strong); fill: none; stroke-width: 1.5; }
.store-photo .noimg span { display: block; font-size: 11.5px; margin-top: 4px; }
.store .callout { margin: 0 16px 16px; font-size: 14px; line-height: 1.8; }
.store-body { padding: 14px 16px 16px; min-width: 0; }
.store-title { display: flex; gap: 10px; align-items: flex-start; }
.store-title .pin { width: 26px; height: 26px; font-size: 13px; margin-top: 2px; }
.store-title h4 { font-size: 1.08rem; line-height: 1.45; }
.store-title .bld { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--cocoa-3); margin-top: 2px; }
.store .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.store .highlight { margin-top: 10px; font-size: 15px; line-height: 1.85; }
.lineup { margin-top: 12px; width: 100%; border-collapse: collapse; font-size: 13px; }
.lineup th, .lineup td { padding: 6px 0; border-bottom: 1px dotted var(--line-strong); text-align: left; vertical-align: top; }
.lineup td.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 10px; font-weight: 700; }
.lineup .size { color: var(--cocoa-3); font-size: 12px; display: block; }
.lineup caption { text-align: left; font-size: 12px; color: var(--cocoa-3); padding-bottom: 2px; }

/* 予約票 (reservation slip) */
.slip { margin: 20px 16px 16px; background: var(--slip); border: 1px solid var(--slip-rule); border-radius: 8px; padding: 10px 14px 12px; position: relative; }
.slip::before { content: "予約メモ"; position: absolute; top: -9px; left: 12px; background: var(--slip); padding: 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; color: var(--warn); }
.slip dl { margin: 0; display: grid; grid-template-columns: 6.2em minmax(0, 1fr); }
.slip dt, .slip dd { margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--slip-rule); font-size: 13px; line-height: 1.6; }
.slip dt { color: var(--cocoa-2); font-size: 12px; padding-top: 7px; }
.slip dl > :nth-last-child(-n+2) { border-bottom: 0; }
.store-foot { border-top: 1px solid var(--line); padding: 12px 16px 14px; display: grid; gap: 10px; }
.store-foot .info { font-size: 12.5px; color: var(--cocoa-2); line-height: 1.7; }
.store-foot .info b { color: var(--cocoa); font-weight: 600; }
.store-foot .links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.online-strip { background: var(--berry-soft); border-radius: 10px; padding: 12px 12px 10px; display: grid; gap: 8px; }
.online-strip p { font-size: 13.5px; line-height: 1.65; }
.online-strip .lbl { font-family: var(--font-display); font-weight: 700; color: var(--berry-ink); font-size: 13px; }

/* ---------- product cards (通販) ---------- */
.products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
@media (min-width: 620px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.product .ph { position: relative; aspect-ratio: 4 / 3; background: var(--sponge); max-width: 100%; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .ph .credit { position: absolute; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 2px 6px; border-top-left-radius: 6px; }
.product .pb { padding: 12px 14px 14px; display: grid; gap: 8px; align-content: start; }
.product .brand { font-size: 12px; color: var(--cocoa-3); }
.product h4, .product h3 { font-size: 1rem; line-height: 1.5; margin: 0; }
.product .price { font-family: var(--font-num); font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.product .price small { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--cocoa-2); }
.product dl { margin: 0; display: grid; grid-template-columns: 5.5em minmax(0, 1fr); row-gap: 2px; font-size: 13px; line-height: 1.7; }
.product dt { color: var(--cocoa-3); }
.product dd { margin: 0; }
.product .vs { font-size: 13px; background: var(--sponge); border-radius: 8px; padding: 8px 10px; line-height: 1.75; }
.product .btn { margin-top: 4px; }
/* カード全体を購入ボタンのリンクにする（リンクは1つのまま。写真や商品名を押しても同じ行き先・同じ計測） */
.product { position: relative; transition: box-shadow .15s, transform .15s; }
.product .btn-buy::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.product .ph { overflow: hidden; }
.product .ph img { transition: transform .3s; }
@media (hover: hover) {
  .product:hover { box-shadow: 0 2px 4px rgba(42,30,27,.08), 0 10px 26px rgba(42,30,27,.12); transform: translateY(-2px); }
  .product:hover .ph img { transform: scale(1.03); }
  .product:hover :is(h3, h4) { color: var(--berry-ink); text-decoration: underline; text-underline-offset: 3px; }
  .product:hover .btn-buy { background: var(--berry-ink); }
}
.product:focus-within { outline: 2px solid var(--berry); outline-offset: 2px; }
.product .btn-buy:focus-visible { outline: none; }

/* ---------- compare (店頭 vs 通販) ---------- */
table.compare { min-width: 0; table-layout: fixed; }
table.compare th[scope="row"] { width: 5.6em; font-size: 12px; color: var(--cocoa-2); background: var(--sponge); padding-right: 6px; }
@media (min-width: 620px) { table.compare th[scope="row"] { width: 9em; font-size: 12.5px; } }
table.compare thead th:first-child { width: 5.6em; }
@media (min-width: 620px) { table.compare thead th:first-child { width: 9em; } }
table.compare td { font-size: 13px; }
.sources details summary { cursor: pointer; font-weight: 700; color: var(--cocoa); margin-top: 10px; }
table.compare thead th:nth-child(3) { color: var(--berry-ink); }
table.compare td { font-size: 13.5px; }

/* ---------- faq ---------- */
.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: grid; grid-template-columns: 1.8em minmax(0, 1fr) 1em; gap: 6px; align-items: start; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-num); color: var(--berry); font-size: 18px; line-height: 1.3; }
.faq summary::after { content: "+"; color: var(--cocoa-3); font-size: 18px; line-height: 1.3; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 14px 2.2em; font-size: 14.5px; }
.faq .a > * + * { margin-top: .6em; }

/* ---------- link cards / guides / areas ---------- */
.linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 10px; margin-top: 16px; }
.linkcard { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--cocoa); }
.linkcard:hover { border-color: var(--berry); color: var(--cocoa); }
.linkcard b { font-family: var(--font-display); }
.linkcard span { font-size: 12.5px; color: var(--cocoa-2); line-height: 1.6; }
.linkcard.soon { opacity: .75; border-style: dashed; pointer-events: none; }
.linkcard.soon b::after { content: "準備中"; font-family: var(--font-body); font-size: 10.5px; font-weight: 400; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--no-soft); color: var(--no); }

.areas { margin-top: 18px; display: grid; gap: 10px; }
.areas details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 14px; }
.areas summary { cursor: pointer; padding: 12px 0; font-family: var(--font-display); font-weight: 700; }
.areas .prefs { display: grid; gap: 10px; padding-bottom: 14px; }
.areas .pref { display: grid; gap: 4px; }
.areas .pref > a { font-weight: 700; font-size: 14px; }
.areas .cities { display: flex; flex-wrap: wrap; gap: 6px; }
.areas .cities a { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--sponge); color: var(--cocoa); text-decoration: none; }
.areas .cities a:hover { background: var(--berry-soft); }

/* ---------- sources ---------- */
.sources { margin-top: 16px; font-size: 12.5px; color: var(--cocoa-2); line-height: 1.7; }
.sources ol { padding-left: 1.4em; margin: 8px 0 0; columns: 1; }
@media (min-width: 900px) { .sources ol { columns: 2; column-gap: 32px; } }
.sources li { break-inside: avoid; margin-bottom: 4px; overflow-wrap: anywhere; }

/* ---------- top page ---------- */
.hero { padding-block: 22px 8px; }
.hero h1 { font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.6rem); line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--berry); }
.hero .sub { margin-top: 14px; font-size: 16px; color: var(--cocoa-2); max-width: 40rem; }
.paths { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 720px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.path { display: grid; gap: 6px; padding: 18px; border-radius: 14px; text-decoration: none; color: var(--cocoa); border: 2px solid var(--cocoa); background: var(--card); }
.path:hover { color: var(--cocoa); background: var(--sponge); }
.path .t { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.path .d { font-size: 14px; color: var(--cocoa-2); }
.path.alt { border-color: var(--berry); }
.path.alt .t { color: var(--berry-ink); }
.shoplist { display: grid; gap: 14px; margin-top: 18px; }
.quick-areas { margin-top: 18px; }
.quick-areas p { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.quick-areas .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-areas a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; background: var(--sponge); color: var(--cocoa); text-decoration: none; font-size: 14px; border: 1px solid transparent; }
.quick-areas a:hover { background: var(--berry-soft); border-color: var(--berry); }
.quick-areas a.all { background: transparent; border-color: var(--line-strong); color: var(--cocoa-2); }
.quick-areas .by-purpose { margin: 12px 0 0; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; }
.quick-areas .by-purpose a { display: inline; min-height: 0; padding: 0; background: none; border: 0; border-radius: 0; color: var(--berry-ink); text-decoration: underline; font-size: 13.5px; }

/* ---------- dock (mobile sticky CTA) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--card) 96%, transparent); border-top: 1px solid var(--line); padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -4px 16px rgba(42,30,27,.08); }
.dock.show { transform: none; }
.dock .inner { max-width: 40rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.dock p { font-size: 12px; line-height: 1.45; color: var(--cocoa-2); }
.dock p b { color: var(--cocoa); font-size: 13px; display: block; }
.dock .btn { min-height: 46px; padding: 8px 14px 10px; font-size: 15px; margin-bottom: 4px; }
@media (min-width: 1100px) { .dock { display: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--sponge); padding-block: 28px calc(90px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--cocoa-2); }
.site-footer .inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--cocoa-2); }
.site-footer .disclosure { font-size: 12px; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .dock, .rail, .filters { display: none; } }

/* ---------- groups grid (県・市ページのエリア一覧) ---------- */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 10px; margin-top: 18px; }

/* ---------- steps (手順) ---------- */
.steps { list-style: none; counter-reset: st; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--cocoa); color: var(--paper); font-family: var(--font-num); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps .st-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.steps .st-body { margin-top: 4px; font-size: 14.5px; }
.steps .st-body > * + * { margin-top: .6em; }
.cta-inline { margin-top: 1.2em; }

/* ---------- 括弧書き：読む文の中では少し小さく。表・見出し・ボタン・小さい注記では小さくしない ---------- */
.paren { font-size: max(.86em, 12.5px); }
table .paren, h1 .paren, h2 .paren, h3 .paren, h4 .paren, .btn .paren, .note .paren, .caption .paren, .slip .paren, .deadline .paren, .crumbs .paren { font-size: inherit; }

/* ---------- 当日の章のあと：数日前に届けておく方法 ---------- */
.plan-ahead { margin-top: 26px; background: var(--sponge); border-radius: 14px; border-left: 4px solid var(--berry); padding: 16px 16px 14px; }
.plan-ahead .pa-title { display: flex; gap: 8px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.5; word-break: auto-phrase; }
.plan-ahead .pa-title svg { flex: none; width: 24px; height: 24px; stroke: var(--berry); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-ahead .prose { margin-top: 8px; font-size: 15px; }
.plan-ahead .prose > * + * { margin-top: .8em; }
.plan-ahead .pa-act { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.plan-ahead .pa-act .btn-buy { width: 100%; max-width: 420px; }
.plan-ahead a.jump { font-size: 14px; }

/* ---------- 買うボタンの目を引く動き（運営者の指示）----------
   光の帯が数秒おきに横切る（全部の買うボタン。背景の重ねで描くので、カード全体のリンクを壊さない）。
   結論の箱と画面下のボタンは、さらに軽く脈打つ。動きを減らす設定の人には動かさない。 */
.btn-buy { background-image: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
  background-repeat: no-repeat; background-size: 38% 100%; background-position: -80% 0; animation: btn-shine 4.2s ease-in-out infinite; }
@keyframes btn-shine { 0%, 60% { background-position: -80% 0; } 85%, 100% { background-position: 190% 0; } }
.answer .act .btn-buy, .dock .btn-buy { animation: btn-shine 4.2s ease-in-out infinite, btn-pulse 2.6s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 0 var(--berry-ink), 0 8px 16px rgba(196, 38, 64, .22); }
  50% { transform: scale(1.03); box-shadow: 0 4px 0 var(--berry-ink), 0 10px 26px rgba(196, 38, 64, .42); }
}
.btn-buy:hover, .btn-buy:active { animation: none; }
@media (prefers-reduced-motion: reduce) { .btn-buy, .answer .act .btn-buy, .dock .btn-buy { animation: none; } }
.prose .muted { font-size: .92em; opacity: .82; }
#cmp-h ~ .btn-block { margin-top: 14px; }
.answer li.base { background: var(--berry-soft); }
.answer li.base .when { color: var(--berry-ink); font-weight: 700; }
.answer li.base .ico { background: var(--card); }

/* お問い合わせ（kanri-core が出すフォーム） */
.kanri-contact { padding-top: 32px !important; padding-bottom: 56px !important; }
.kanri-contact h1 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--cocoa); }
.kanri-contact .contact-note { margin: 16px 0 0; padding: 12px 14px; background: var(--sponge); border-radius: 10px; font-size: 14px; line-height: 1.8; }
.kanri-contact form.contact { margin-top: 20px; display: grid; gap: 22px; }
.kanri-contact .field { display: grid; gap: 6px; }
.kanri-contact .field > label { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.kanri-contact .req { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--berry); border-radius: 4px; padding: 1px 7px; line-height: 1.6; }
.kanri-contact .hint { margin: 0; font-size: 13px; opacity: .78; }
.kanri-contact input[type=text], .kanri-contact input[type=email], .kanri-contact textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--cocoa); background: var(--card);
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; line-height: 1.6; }
.kanri-contact textarea { min-height: 200px; resize: vertical; }
.kanri-contact input:focus, .kanri-contact textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px var(--berry-soft); }
.kanri-contact [aria-invalid=true] { border-color: var(--berry); }
.kanri-contact .field-error { margin: 0; color: var(--berry-ink); font-size: 13.5px; font-weight: 700; }
.kanri-contact .field.agree label { font-size: 14px; }
.kanri-contact button.btn { justify-self: start; min-width: 220px; min-height: 52px; padding: 12px 28px; font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .06em;
  color: #fff; background: var(--berry); border: 0; border-radius: 12px; box-shadow: 0 4px 0 var(--berry-ink); cursor: pointer; }
.kanri-contact button.btn:hover { filter: brightness(1.05); }
.kanri-contact button.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--berry-ink); }
.kanri-contact > p:last-child { margin-top: 28px; font-size: 14px; }
@media (max-width: 480px) { .kanri-contact button.btn { width: 100%; justify-self: stretch; } }
.mark.unk { color: var(--no); background: transparent; border: 1px dashed var(--line-strong); font-weight: 500; }
.cta-inline .btn-buy, .btn-buy { max-width: 100%; box-sizing: border-box; }
.cta-inline .btn-buy { overflow-wrap: anywhere; word-break: normal; text-align: center; }
