/* ふくふく｜福井エキマエ
   おでかけ帖の骨組み（色付きヘッダー・チケット型カード・下のタブバー）をもとに、
   昼は「のれん」、夜は「夕暮れの路地」の配色。夜も背景は明るめにして暗くしすぎない。 */
:root {
  /* 昼（グルメ）：墨と朱。黒はリッチブラック、背景はごく薄い生成り、差し色は判子の朱色だけ */
  --bg: #f7f6e4; --surface: #ffffff; --ink: #0d0d0f; --muted: #6b6858; --line: #e4e1cc;
  --hd: #0b0b0d; --hd-deep: #000000; --hd-ink: #ffffff;
  --main: #0d0d0f; --main-soft: #eeecd8; --accent: #c4372c; --accent-soft: #f8e6e3;
  --stamp: #c4372c; --pr: #c4372c; --pr-soft: #fcefed; --band: #c4372c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 22px rgba(0, 0, 0, .05);
  --tabbar: 64px; --radius: 18px;
  --f-body: "YakuHanJP", "dnp-shuei-gothic-gin-std", "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --f-head: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", var(--f-body);
  --f-en: "Jost", var(--f-body);
}
body[data-mode="night"] {
  /* 夜：相生ユニビオの「落ち着いた紫 × アイボリー × 金色」を参考に。背景は明るいまま、上品な夜の雰囲気に */
  --bg: #f2f2ea; --surface: #fffefa; --ink: #33283f; --muted: #6c6276; --line: #d9d0bf;
  --hd: #62448c; --hd-deep: #4b3370; --hd-ink: #ffffff;
  --main: #62448c; --main-soft: #ece6f3; --accent: #dea426; --accent-soft: #faf0d9;
  --stamp: #a87612; --pr: #8a6410; --pr-soft: #f8edd2; --band: #dea426;
  --shadow: 0 1px 2px rgba(60, 40, 90, .06), 0 8px 22px rgba(60, 40, 90, .08);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65;
  font-family: var(--f-body); font-weight: 500; letter-spacing: .02em;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); transition: background .35s, color .35s; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, .logo-t b, .t-title, .mood-t b, .ph-row h1, .btn, .seg button, .tabbar > *, .hd-nav button { font-family: var(--f-head); }
.en, .logo-t small, .season, .band, .ph-count b { font-family: var(--f-en); letter-spacing: .14em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ── ヘッダー ── */
.hd { position: sticky; top: 0; z-index: 20; background: var(--hd); color: var(--hd-ink); transition: background .35s; }
.hd::after { /* のれんの裾のような、細い波の飾り */
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: radial-gradient(circle at 6px 0, var(--hd) 5.5px, transparent 6px) 0 0 / 12px 6px repeat-x; }
.hd-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.emblem { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--hd); display: grid; place-items: center; flex: none;
  font-weight: 800; font-size: 1.25rem; box-shadow: 0 0 0 2px rgba(255,255,255,.6); transition: color .35s; }
.logo-t small { display: block; font-size: .6rem; letter-spacing: .24em; opacity: .85; line-height: 1.3; }
.logo-t b { display: block; font-weight: 800; font-size: 1.18rem; letter-spacing: .08em; line-height: 1.2; white-space: nowrap; }
.hd-btn { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-size: .82rem; font-weight: 700; }
.hd-btn:hover { background: rgba(255,255,255,.18); }
.hd-btn svg { width: 20px; height: 20px; }
.hd-btn .t, .hd-nav, .hd-search { display: none; }

/* ── 下のタブバー（スマホ） ── */
.tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 2px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.05); }
.tabbar > * { border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); padding: 2px 0; text-decoration: none; }
.tabbar .ic { width: 50px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .15s; }
.tabbar [aria-pressed="true"] { color: var(--main); }
.tabbar [aria-pressed="true"] .ic { background: var(--main-soft); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .hd-in { gap: 14px; padding: 12px 24px; }
  .logo { margin-right: 8px; flex: none; }
  .hd-nav { display: flex; gap: 4px; margin-right: auto; }
  .hd-nav button { border: 0; background: none; color: rgba(255,255,255,.85); padding: 8px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; }
  .hd-nav button:hover { background: rgba(255,255,255,.12); color: #fff; }
  .hd-nav button[aria-pressed="true"] { background: #fff; color: var(--hd-deep); }
  .hd-nav svg { width: 18px; height: 18px; }
  .hd-search { display: flex; align-items: center; gap: 6px; flex: 0 1 260px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 0 14px; }
  .hd-search:focus-within { background: #fff; color: var(--ink); }
  .hd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: .9rem; padding: 9px 0; }
  .hd-search input::placeholder { color: rgba(255,255,255,.8); }
  .hd-search:focus-within input::placeholder { color: var(--muted); }
  .hd-search svg { width: 18px; height: 18px; }
  .hd-btn .t { display: inline; }
  .m-search { display: none !important; }
}

/* ── ページの見出し ── */
.page-head { padding: 22px 0 6px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.band { display: inline-block; background: var(--band); color: #fff; font-size: .7rem; font-weight: 600; padding: 3px 12px 2px; border-radius: 999px; transition: background .35s; }
body[data-mode="night"] .band { color: #3a2c05; }
.season { font-size: .72rem; font-weight: 500; color: var(--muted); }
.lead { margin: 0 0 8px; font-size: .84rem; color: var(--muted); font-weight: 700; }
.ph-row { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 3px dotted var(--line); }
.ph-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--main); color: #fff; display: grid; place-items: center; flex: none; transition: background .35s; }
.ph-row h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: .06em; }
.ph-count { margin-left: auto; color: var(--muted); font-size: .8rem; font-weight: 700; }
.ph-count b { font-size: 1.6rem; font-weight: 500; letter-spacing: .02em; color: var(--main); margin-right: 3px; }

/* ── きょうの気分 ── */
.moods { padding: 16px 0 4px; }
.moods-t { display: flex; align-items: baseline; gap: 10px; font-size: .95rem; font-weight: 800; margin: 0 0 10px; }
.moods-t .en, .sec .en { font-size: .68rem; font-weight: 600; color: var(--main); }
.mood-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .mood-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mood { min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 16px; padding: 10px 12px;
  cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, border-color .15s, background .15s; }
.mood:hover { transform: translateY(-1px); border-color: var(--main); }
.mood-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.mood-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mood-t b { font-size: .88rem; font-weight: 800; }
.mood-t small { letter-spacing: 0; font-size: .68rem; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mood[aria-pressed="true"] { background: var(--main); border-color: var(--main); color: #fff; }
.mood[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.mood[aria-pressed="true"] .mood-ic { background: rgba(255,255,255,.2); }

/* ── 絞り込み ── */
.filters { padding: 12px 0 8px; display: grid; gap: 10px; }
/* PC だけ絞り込みを上に固定する（スマホは画面が狭いので固定しない） */
@media (min-width: 900px) { .filters { position: sticky; top: 64px; z-index: 10; background: var(--bg); transition: background .35s; } }
.m-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); }
.m-search:focus-within { border-color: var(--main); }
.m-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 9px 0; color: var(--ink); }
.m-search svg { width: 18px; height: 18px; }
.seg { display: inline-flex; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; justify-self: start; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 999px; cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--main); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { letter-spacing: .01em; flex: none; border: 1.5px solid var(--line); background: var(--surface); padding: 5px 12px; border-radius: 999px; cursor: pointer; font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.chip small { color: var(--muted); font-weight: 700; margin-left: 2px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] small { color: inherit; opacity: .7; }

.sec { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; margin: 18px 0 12px; }
.sec { align-items: baseline; }
.sec::after { content: ""; flex: 1; border-top: 2px dashed var(--line); margin-left: 6px; }

/* ── チケット型のカード ── */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ticket { --notch: 11px; --kc: var(--main); position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; transition: transform .15s; }
.ticket:hover { transform: translateY(-2px); }
.ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--kc); z-index: 1; }
.ticket.is-pr { --kc: var(--accent); }
.t-link { text-decoration: none; display: block; flex: 1; }
.t-photo { aspect-ratio: 16 / 9; background: var(--main-soft) center / cover no-repeat; position: relative; }
.t-photo .pr-tag { position: absolute; left: 12px; bottom: 10px; }
.t-main { display: grid; grid-template-columns: 58px 1fr; gap: 4px 14px; padding: 16px 16px 14px 20px; }
.stamp { width: 56px; height: 56px; border-radius: 50%; border: 2.5px dashed var(--stamp); color: var(--stamp); align-self: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(-8deg); font-size: 1.4rem; }
.stamp small { font-size: .52rem; font-weight: 800; margin-top: 3px; letter-spacing: .04em; }
.t-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .7rem; font-weight: 800; }
.t-tags .kind { color: var(--kc); display: inline-flex; align-items: center; gap: 4px; }
.t-tags .kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--kc); }
.pr-tag { background: var(--pr-soft); color: var(--pr); border: 1px solid currentColor; border-radius: 5px; padding: 0 6px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.t-title { margin: 0; font-size: 1.04rem; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.t-note { margin: 0; font-size: .84rem; color: var(--muted); }
.t-area { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; background: var(--main-soft); color: var(--main); border-radius: 999px; padding: 1px 10px 1px 6px; font-size: .74rem; font-weight: 700; margin-top: 2px; }
.t-area svg { width: 14px; height: 14px; }
.perf { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 16px; }
.perf::before, .perf::after { content: ""; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--bg); transition: background .35s; }
.perf::before { left: calc(-16px - var(--notch)); } .perf::after { right: calc(-16px - var(--notch)); }
.stub { display: flex; gap: 8px; padding: 12px 16px 14px 20px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: .78rem; font-weight: 700; border: 1.5px solid var(--line); background: var(--surface); padding: 5px 12px; border-radius: 999px; color: var(--ink); }
.pill:hover { border-color: var(--main); color: var(--main); }
.pill svg { width: 16px; height: 16px; }
.pill.ig { color: #c13584; border-color: #f3d3e5; background: #fff7fb; }
.more { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; margin: 24px auto 8px; padding: 12px 18px; border-radius: 14px;
  border: 1.5px dashed var(--line); background: var(--surface); color: var(--muted); font-weight: 800; font-size: .9rem; cursor: pointer; }
.more:hover { border-color: var(--main); color: var(--main); }
.empty { color: var(--muted); padding: 32px 16px; text-align: center; grid-column: 1 / -1; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty b { display: block; color: var(--ink); font-family: var(--f-head); font-size: 1rem; margin-bottom: 4px; }
.empty p { margin: 0 0 14px; font-size: .86rem; }
.empty-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.empty-acts button { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 16px; font-size: .84rem; font-weight: 700; cursor: pointer; }
.empty-acts button.go { background: var(--btn); border-color: var(--btn); color: #fff; }
body[data-mode="day"] .empty-acts button { border-radius: 6px; }
/* 読み込み中の仮のカード */
.skel { height: 132px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, var(--main-soft) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  box-shadow: var(--shadow); animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ── 店の詳細 ── */
.detail { padding-top: 14px; padding-bottom: 28px; }
.back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px 0; font-size: .88rem; font-weight: 700; }
.back svg { width: 18px; height: 18px; }
.d-ticket { max-width: 760px; margin: 6px auto 0; }
.d-ticket .t-main { grid-template-columns: 64px 1fr; padding: 20px 20px 16px 24px; }
.d-ticket .stamp { width: 62px; height: 62px; font-size: 1.6rem; }
.d-ticket .t-title { font-size: 1.4rem; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 4px; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery figcaption { font-size: .76rem; color: var(--muted); padding: 4px 8px; }
.d-sec { padding: 14px 20px 6px 24px; }
.d-sec h2 { display: flex; align-items: center; gap: 6px; font-size: .8rem; margin: 0 0 6px; color: var(--muted); font-weight: 800; }
.d-sec h2 svg { width: 16px; height: 16px; }
.d-sec p { margin: 0; white-space: pre-wrap; font-size: .92rem; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.free-note { max-width: 760px; margin: 14px auto 0; font-size: .82rem; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 16px; }
@media (min-width: 900px) { .gallery { grid-auto-columns: 48%; } }

/* ── お問い合わせ・フッター ── */
.inquiry { padding-top: 32px; padding-bottom: 8px; }
.inq-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; max-width: 760px; margin: 0 auto; border-top: 5px solid var(--main); }
.inq-card h2 { font-size: 1.1rem; margin: 0 0 6px; }
.inq-card p { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }
form label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
form input, form textarea { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 16px; font-weight: 500; }
form input:focus, form textarea:focus { outline: 2px solid var(--main-soft); border-color: var(--main); }
.btn { border: 0; background: var(--main); color: #fff; font-weight: 800; padding: 11px 24px; border-radius: 999px; cursor: pointer; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-ghost { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.form-msg { font-size: .82rem; min-height: 1.4em; margin: 8px 0 0; }
.site-footer { padding-top: 24px; padding-bottom: 32px; font-size: .76rem; color: var(--muted); }
.age-note { font-weight: 800; color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; }
.copy { margin: 0; }

/* 見本表示（?demo=1）の帯 */
.demo-bar { background: repeating-linear-gradient(-45deg, #fff4c2 0 12px, #ffeaa0 12px 24px); color: #5a4300; text-align: center; font-size: .78rem; font-weight: 700; padding: 6px 12px; }

/* PICK UP（有料のお店）：写真を大きく。PC では横に2〜3枚 */
#pickup .sec .pr-tag { margin-left: 4px; }
.cards.pick { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-bottom: 8px; }
.cards.pick .t-photo { aspect-ratio: 3 / 2; }
.cards.pick .t-note { color: var(--ink); }

/* ── 店の詳細（作り直し） ── */
.d-wrap { max-width: 820px; margin: 6px auto 0; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; border-top: 5px solid var(--main); }
.d-wrap.is-pr { border-top-color: var(--accent); }
.d-hero { position: relative; background: #111; }
.d-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.d-slides::-webkit-scrollbar { display: none; }
.d-slides figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.d-slides img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 900px) { .d-slides img { aspect-ratio: 16 / 9; } }
.d-slides figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-size: .82rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.d-count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-family: var(--f-en); font-size: .74rem; letter-spacing: .1em; padding: 2px 10px; border-radius: 999px; }
.d-thumbs { display: flex; gap: 6px; padding: 8px; background: var(--surface); overflow-x: auto; }
.d-thumbs button { flex: none; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; opacity: .6; background: none; }
.d-thumbs button[aria-current="true"] { border-color: var(--main); opacity: 1; }
.d-thumbs img { width: 64px; height: 48px; object-fit: cover; display: block; }
.d-head { padding: 18px 20px 6px; }
.d-head .eyebrow { margin-bottom: 10px; }
.d-title { display: flex; gap: 14px; align-items: flex-start; }
.d-title h1 { margin: 2px 0 0; font-size: 1.45rem; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; }
.d-catch { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.d-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 14px 20px 4px; }
.d-btn { display: flex; align-items: center; gap: 10px; text-decoration: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); color: var(--ink); min-width: 0; }
.d-btn:hover { border-color: var(--main); }
.d-btn svg { width: 22px; height: 22px; color: var(--main); }
.d-btn span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.d-btn b { font-family: var(--f-head); font-size: .86rem; }
.d-btn small { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.d-btn.ig { border-color: #f3d3e5; background: #fff7fb; }
.d-btn.tel { border-color: var(--btn); background: var(--btn); color: #fff; }
.d-btn.tel svg, .d-btn.tel small { color: #fff; }
.d-btn.ig svg { color: #c13584; }
.d-block { padding: 18px 20px 4px; }
.d-block h2 { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; margin: 0 0 10px; }
.d-block h2 .en { font-size: .66rem; font-weight: 600; color: var(--main); }
.d-desc { margin: 0; white-space: pre-wrap; font-size: .95rem; line-height: 1.9; }
.d-info { margin: 0; border-top: 1px solid var(--line); }
.d-info div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.d-info dt { color: var(--muted); font-weight: 700; }
.d-info dd { margin: 0; white-space: pre-wrap; }
.d-small { font-size: .78rem; color: var(--muted); margin: 10px 0 16px; }
.d-wrap > :last-child { padding-bottom: 20px; }
.d-owner { max-width: 820px; margin: 16px auto 0; background: var(--main-soft); border-radius: 22px; padding: 20px; }
.d-owner h2 { margin: 0 0 6px; font-size: 1.05rem; }
.d-owner p { margin: 0 0 14px; font-size: .86rem; color: var(--ink); }
.d-owner .btn { display: inline-block; text-decoration: none; }
.d-near { max-width: 1180px; margin: 22px auto 0; }

/* ── グルメ（昼）を締める：直線のヘッダー・小さめの角丸・角ゴシックの見出し・判子のスタンプ ──
   配色は「墨と朱」：リッチブラック × ごく薄い生成り × 朱色の差し色 */
body[data-mode="day"] { --radius: 10px; }
body[data-mode="day"] .hd::after { background: var(--accent); height: 3px; bottom: -3px; }
body[data-mode="day"] h1, body[data-mode="day"] h2, body[data-mode="day"] h3, body[data-mode="day"] .logo-t b,
body[data-mode="day"] .t-title, body[data-mode="day"] .mood-t b, body[data-mode="day"] .btn,
body[data-mode="day"] .seg button, body[data-mode="day"] .tabbar > *, body[data-mode="day"] .hd-nav button, body[data-mode="day"] .d-btn b { font-family: var(--f-body); font-weight: 700; letter-spacing: .06em; }
body[data-mode="day"] .emblem { border-radius: 8px; box-shadow: none; }
body[data-mode="day"] .ph-icon, body[data-mode="day"] .mood-ic { border-radius: 8px; }
body[data-mode="day"] .stamp { border-radius: 6px; border-style: solid; border-width: 2px; transform: rotate(-4deg); }
body[data-mode="day"] .mood, body[data-mode="day"] .ticket, body[data-mode="day"] .d-wrap, body[data-mode="day"] .inq-card, body[data-mode="day"] .d-owner { border-radius: var(--radius); }
body[data-mode="day"] .mood { box-shadow: none; }
body[data-mode="day"] .ticket { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.05); }
body[data-mode="day"] .ticket::before { width: 3px; }
body[data-mode="day"] .seg, body[data-mode="day"] .seg button, body[data-mode="day"] .chip, body[data-mode="day"] .btn, body[data-mode="day"] .pill, body[data-mode="day"] .m-search, body[data-mode="day"] .hd-search, body[data-mode="day"] .hd-btn, body[data-mode="day"] .band, body[data-mode="day"] .t-area, body[data-mode="day"] .more { border-radius: 6px; }
body[data-mode="day"] .seg { padding: 2px; }
body[data-mode="day"] .chip { background: transparent; }
body[data-mode="day"] .chip[aria-pressed="true"] { background: var(--ink); }
body[data-mode="day"] .t-area { background: transparent; border: 1px solid var(--line); color: var(--muted); }
body[data-mode="day"] .sec::after { border-top: 1px solid var(--line); }
body[data-mode="day"] .ph-row { border-bottom: 1px solid var(--ink); }

body[data-mode="day"] .band { color: #fff; }
body[data-mode="day"] .mood-t b { letter-spacing: .02em; }
.mood-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .mood-t b { font-size: .82rem; } .mood { gap: 8px; padding: 10px; } .mood-ic { width: 36px; height: 36px; font-size: 1.15rem; } }

/* 写真つきのカード・詳細には色の線を付けない（写真をそのまま見せる） */
.ticket:has(.t-photo)::before { display: none; }
.d-wrap.is-pr { border-top: 0; }
.d-wrap:has(.d-hero) { border-top: 0; }

/* ボタンの色：グルメは朱色、夜はメインの紫 */
:root { --btn: #c4372c; --btn-ink: #ffffff; }
body[data-mode="night"] { --btn: #62448c; }
.btn, .seg button[aria-pressed="true"], .chip[aria-pressed="true"], .mood[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.chip[aria-pressed="true"] small { color: inherit; opacity: .8; }
.btn:hover { filter: brightness(1.08); }
body[data-mode="day"] .chip[aria-pressed="true"], body[data-mode="day"] .seg button[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: #fff; }

/* 秀英角ゴシック銀は M（500）と B（600）。見出しの太さは B に合わせる */
body[data-mode="day"] h1, body[data-mode="day"] h2, body[data-mode="day"] h3, body[data-mode="day"] .logo-t b,
body[data-mode="day"] .t-title, body[data-mode="day"] .mood-t b, body[data-mode="day"] .btn, body[data-mode="day"] .seg button,
body[data-mode="day"] .tabbar > *, body[data-mode="day"] .hd-nav button, body[data-mode="day"] .d-btn b { font-weight: 600; }
.filters > * { min-width: 0; } .m-search input, .hd-search input { width: 100%; }

/* ロゴマーク：キャラクターのイラスト（丸） */
.emblem { overflow: hidden; padding: 0; }
.emblem img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-mode="day"] .emblem { border-radius: 50%; box-shadow: 0 0 0 2px #fff; }

/* 掲載・情報の修正の問い合わせ：ふだんは閉じた細い帯。押すとフォームが開く */
.inquiry { padding-top: 28px; padding-bottom: 0; }
.inq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inq summary { cursor: pointer; list-style: none; padding: 14px 4px; font-size: .86rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.inq summary::-webkit-details-marker { display: none; }
.inq summary small { font-weight: 500; font-size: .76rem; }
.inq summary::after { content: "＋"; margin-left: auto; font-weight: 500; }
.inq[open] summary::after { content: "－"; }
.inq-body { padding: 0 4px 18px; }
.inq-body > p { font-size: .84rem; color: var(--muted); margin: 0 0 12px; }

/* ヘッダーの境界は昼夜とも直線。夜は金色の細い線 */
body[data-mode="night"] .hd::after { background: var(--accent); height: 3px; bottom: -3px; }

/* iPhone（WebKit）では、ボタン内のアイコン（SVG の use）をタップすると対象がボタンにならないことがある。
   アイコンはタップを受けないようにして、必ずボタン・リンクに届くようにする */
button svg, button use, a svg, a use, .ic, .stamp, .mood-ic { pointer-events: none; }

/* スマホ用の「グルメ／夜のお店」切り替え。今いる側を塗り、もう一方は相手側の色で誘う */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.mode-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 10px; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem; letter-spacing: .08em; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.mode-tabs button svg { width: 20px; height: 20px; }
.mode-tabs button[data-mode="day"][aria-pressed="true"] { background: #0b0b0d; border-color: #0b0b0d; color: #fff; box-shadow: inset 0 -3px 0 #c4372c; }
.mode-tabs button[data-mode="night"][aria-pressed="true"] { background: #62448c; border-color: #62448c; color: #fff; box-shadow: inset 0 -3px 0 #dea426; }
.mode-tabs button[data-mode="night"][aria-pressed="false"] { color: #62448c; border-color: #cfc3e0; }
.mode-tabs button[data-mode="day"][aria-pressed="false"] { color: #0b0b0d; }
@media (min-width: 900px) { .mode-tabs { display: none; } }
.mode-tabs + .page-head { padding-top: 14px; }

/* 夜の金色は線や面だけに使い、文字は濃い金か墨色にして読みやすく（コントラスト 4.5:1 以上） */
body[data-mode="night"] .ticket.is-pr .t-tags .kind { color: var(--pr); }
