:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --ink: #221f1b;
  --muted: #8a8174;
  --faint: #b6ad9f;
  --line: #ece4d7;
  --line-soft: #f3ece1;

  --primary: #e8633f;
  --primary-dark: #cf4d2b;
  --green: #3f9277;

  --shadow-sm: 0 1px 3px rgba(60, 42, 24, .06), 0 1px 2px rgba(60, 42, 24, .04);
  --shadow: 0 6px 20px rgba(70, 48, 26, .08);
  --shadow-lg: 0 18px 50px rgba(50, 33, 16, .22);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --max: 980px;

  /* カテゴリ別カラー（既定はグルメ） */
  --c: var(--primary);
  --c-soft: #fdeee7;
}

/* カテゴリ別アクセント */
[data-cat="gourmet"]  { --c:#e8633f; --c-soft:#fdeee8; }
[data-cat="beauty"]   { --c:#d35b94; --c-soft:#fbeaf3; }
[data-cat="health"]   { --c:#3f9277; --c-soft:#e6f3ee; }
[data-cat="medical"]  { --c:#4f8fd1; --c-soft:#e8f1fb; }
[data-cat="shopping"] { --c:#d99a2b; --c-soft:#fbf2dd; }
[data-cat="life"]     { --c:#7b78c9; --c-soft:#eeeefb; }
[data-cat="lesson"]   { --c:#3ba79c; --c-soft:#e2f4f1; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); font-weight: 400; font-size: .85em; }

/* ===== Header (画像バナー) ===== */
.app-header { background: var(--bg); }
.hero-banner {
  width: 100%;
  height: 150px;
  background: #cfe6f3 url("/img/header.jpg") center center / cover no-repeat;
  box-shadow: 0 4px 16px rgba(70, 48, 26, .12);
}
@media (min-width: 560px) { .hero-banner { height: 190px; } }
@media (min-width: 840px) {
  .hero-banner {
    height: 240px; max-width: var(--max); margin: 14px auto 0;
    border-radius: var(--r-lg); background-size: cover;
  }
}

/* ===== 検索バー（スクロール追従） ===== */
.searchbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  padding: 12px 0;
  box-shadow: 0 4px 14px rgba(70, 48, 26, .05);
}
.search { position: relative; }
.search input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 13px 18px 13px 46px; font-size: 16px;
  background: #fff; color: var(--ink);
  box-shadow: var(--shadow);
  outline: none;
}
.search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,99,63,.12), var(--shadow); }
.search input::placeholder { color: var(--faint); }
.search .icon {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  font-size: 17px; opacity: .55;
}

/* ===== Filters ===== */
.filters { padding-top: 18px; }
.filter-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink); font-weight: 700;
  margin: 16px 2px 10px; letter-spacing: .02em;
}
.filter-label .bar { width: 4px; height: 15px; border-radius: 4px; background: var(--primary); }
.filter-label .bar-green { background: var(--green); }
.filter-label .muted { color: var(--muted); }
.sub-label { margin-top: 12px; }

.chips {
  display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 6px;
  scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; scroll-snap-align: start;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); border-radius: 999px; padding: 9px 15px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  box-shadow: var(--shadow-sm);
}
.chip:active { transform: scale(.94); }
.chip .e { margin-right: 5px; }
.chip.cat.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(207,77,43,.3); }
.chip.area.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(63,146,119,.3); }
.chip.sub { font-size: 13px; padding: 7px 13px; background: var(--line-soft); border-color: transparent; color: var(--muted); box-shadow: none; }
.chip.sub.active { background: var(--ink); color: #fff; font-weight: 700; }

/* ===== Result bar ===== */
.result-bar { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 14px; }
.result-bar h2 { font-family: "Zen Maru Gothic", sans-serif; font-size: 19px; font-weight: 700; margin: 0; }
.result-right { display: flex; align-items: center; gap: 10px; }
.result-bar .count { font-size: 13px; color: var(--muted); font-weight: 500; }
.clear-btn {
  background: #fff; border: 1.5px solid var(--line); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ===== Cards ===== */
.grid { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); padding-bottom: 80px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 840px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; text-align: left; padding: 0;
  transition: transform .16s ease, box-shadow .16s ease;
  position: relative;
}
.card:active { transform: scale(.98); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }

.card .thumb {
  aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center;
  font-size: 50px; position: relative;
  background:
    radial-gradient(120% 120% at 80% 0%, var(--c-soft), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, #fff), color-mix(in srgb, var(--c) 24%, #fff));
}
.card .thumb .emoji { filter: drop-shadow(0 4px 8px rgba(0,0,0,.08)); }
.card .thumb img { height: 100%; width: 100%; object-fit: cover; }
.card .badge {
  position: absolute; top: 9px; left: 9px;
  background: linear-gradient(135deg, #f6b24a, #ef8e2e); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(220,140,30,.35); letter-spacing: .03em;
}
.card .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 6px; }
.card .cat-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700;
  color: var(--c); background: var(--c-soft);
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.card .name { font-family: "Zen Maru Gothic", sans-serif; font-size: 15px; font-weight: 700; line-height: 1.35; }
.card .meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.card .meta .pill { background: var(--line-soft); padding: 2px 8px; border-radius: 999px; }
.card .desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* skeleton */
.sk { background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); }
.sk .sk-thumb { aspect-ratio: 16/11; background: #f0e9dd; }
.sk .sk-body { padding: 12px 13px 16px; display: flex; flex-direction: column; gap: 8px; }
.sk .sk-line { height: 11px; border-radius: 6px; background: #efe8dc; }
.sk .sk-line.s { width: 55%; }
.sk-thumb, .sk-line { animation: shimmer 1.3s infinite; background-image: linear-gradient(90deg, #efe8dc 0%, #f7f1e7 50%, #efe8dc 100%); background-size: 200% 100%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty { text-align: center; color: var(--muted); padding: 70px 20px; grid-column: 1/-1; }
.empty .big { font-size: 46px; margin-bottom: 10px; }
.empty .sub { font-size: 13px; color: var(--faint); margin-top: 4px; }

/* ===== Detail sheet ===== */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(35,25,15,.5);
  display: none; z-index: 60; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(2px);
}
.sheet-mask.open { display: flex; animation: fade .22s ease; }
.sheet {
  background: var(--bg); width: 100%; max-width: 560px;
  border-radius: 26px 26px 0 0; max-height: 92vh; overflow-y: auto;
  animation: slideUp .28s cubic-bezier(.2,.8,.25,1);
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(60px); opacity: .4; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.7); position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }
.sheet-hero {
  height: 190px; display: flex; align-items: center; justify-content: center;
  font-size: 88px; position: relative;
  background:
    radial-gradient(120% 130% at 75% 0%, var(--c-soft), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, #fff), color-mix(in srgb, var(--c) 30%, #fff));
}
.sheet-hero .emoji { filter: drop-shadow(0 6px 14px rgba(0,0,0,.1)); }
.sheet-hero img { height: 100%; width: 100%; object-fit: cover; }
.sheet-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 17px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.sheet-content { padding: 20px 20px 44px; }
.sheet .cat-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--c);
  background: var(--c-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.sheet h2 { font-family: "Zen Maru Gothic", sans-serif; margin: 0 0 8px; font-size: 23px; line-height: 1.3; }
.sheet .tags-row { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0 16px; }
.sheet .t { background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.sheet .lead { font-size: 14.5px; margin: 0 0 20px; color: #423d35; line-height: 1.8; }
/* タブ */
.tabbar { display: flex; gap: 6px; background: var(--line-soft); padding: 4px; border-radius: 999px; margin: 4px 0 16px; }
.tab {
  flex: 1; padding: 9px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--muted); transition: .15s; white-space: nowrap;
}
.tab.active { background: #fff; color: var(--c); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }

/* ギャラリー */
.gal-note { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.7; margin: 2px 0 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 360px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gal-item {
  aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; border: none; background: var(--c-soft);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
@media (hover: hover) { .gal-item:hover img { transform: scale(1.05); } }
.gal-item.placeholder {
  gap: 6px; color: var(--c);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(0,0,0,.015) 9px, rgba(0,0,0,.015) 18px),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, #fff), color-mix(in srgb, var(--c) 20%, #fff));
}
.gal-item .ph-emoji { font-size: 26px; opacity: .85; }
.gal-item .ph-no { font-size: 11px; font-weight: 700; opacity: .65; }

/* ライトボックス */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 80;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; animation: fade .2s ease; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; object-fit: contain; }
.lightbox .lb-close {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 18px;
}

.info-table { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line-soft); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { width: 66px; flex: 0 0 66px; color: var(--muted); font-size: 13px; font-weight: 500; }
.info-row .v { flex: 1; }
.info-row .v a { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.actions { display: flex; gap: 10px; margin-top: 18px; }
.actions a {
  flex: 1; text-align: center; text-decoration: none; padding: 14px 8px;
  border-radius: 14px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  box-shadow: var(--shadow-sm);
}
.actions .map { background: var(--green); color: #fff; }
.actions .tel { background: var(--primary); color: #fff; }
.actions .ig { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }

/* ===== Footer ===== */
.app-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 36px 16px 48px; border-top: 1px solid var(--line-soft); margin-top: 10px; }
.app-footer .foot-logo { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.app-footer p { margin: 4px 0; }
.app-footer .foot-sub { color: var(--faint); line-height: 1.8; }
.app-footer a { color: var(--primary-dark); font-weight: 700; }

.loading { text-align: center; padding: 40px; color: var(--muted); grid-column: 1/-1; }

/* ============ 20機能 追加スタイル ============ */
.filter-label .bar-purple { background: #7b78c9; }
.muted2 { font-size: 12px; color: var(--muted); font-weight: 400; }
main.wrap { padding-bottom: 78px; }
.view[hidden] { display: none; }
.sec-title { font-family: "Zen Maru Gothic", sans-serif; font-size: 18px; margin: 18px 2px 12px; }

/* ヒーロー上部ツール */
.hero-banner { position: relative; }
.hero-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; }
.pill-btn { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }

/* 設備チップ / トグル */
.chip.feat.active { background: #7b78c9; border-color: #7b78c9; color: #fff; font-weight: 700; }
.toggles { display: flex; gap: 10px; margin: 14px 2px 4px; }
.toggle { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow-sm); }
.toggle.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ホームブロック */
.home-block { margin-top: 22px; }
.hstrip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.hstrip::-webkit-scrollbar { display: none; }
.col-card { flex: 0 0 150px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.col-cover { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 32px; background: linear-gradient(135deg,#fff1e8,#ffd9c2); }
.col-cover img { width: 100%; height: 100%; object-fit: cover; }
.col-name { padding: 9px 11px; font-weight: 700; font-size: 13.5px; line-height: 1.35; }
.mini-card { flex: 0 0 120px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); text-align: left; }
.mini-thumb { height: 84px; display: flex; align-items: center; justify-content: center; font-size: 34px; background: linear-gradient(135deg,#fff1e8,#ffe3d3); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-name { padding: 8px 9px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.ev-row { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.ev-date { flex: 0 0 86px; font-weight: 700; color: var(--green); font-size: 13px; }
.ev-title { font-weight: 700; font-size: 14px; }
.ev-place { font-size: 12px; color: var(--muted); }
.news-row { display: flex; gap: 11px; align-items: center; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 9px 11px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.news-thumb { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 9px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--c-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-shop { font-weight: 700; font-size: 13px; }
.news-text { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* カード追加：評価・営業中・PR・お気に入り・距離 */
.card .rating { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.rating .rstar { color: #f5a623; letter-spacing: -1px; }
.rating .rnum { color: var(--muted); }
.rating.big { font-size: 15px; margin: 2px 0 12px; }
.badge.pr { background: linear-gradient(135deg,#9a98d6,#7b78c9); }
.open-badge { position: absolute; bottom: 8px; left: 8px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.fav-mark { position: absolute; top: 8px; right: 8px; font-size: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.pill.dist { background: #e9f3ef; color: var(--green); font-weight: 700; }

/* 下部ナビ */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(70,48,26,.06); padding-bottom: env(safe-area-inset-bottom); }
.nav-btn { flex: 1; position: relative; padding: 14px 2px; font-size: 13px; color: var(--muted); font-weight: 700; }
.nav-btn.active { color: var(--primary-dark); }
.nav-btn.active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 6px; width: 18px; height: 3px; border-radius: 99px; background: var(--primary); }

/* 地図 */
#map { height: 70vh; min-height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.leaflet-popup-content { font-family: inherit; }

/* ランキング */
.rank-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 11px 13px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.rank-no { flex: 0 0 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #eee4d4; color: var(--muted); }
.rank-1 { background: linear-gradient(135deg,#ffd86b,#f5a623); color: #fff; }
.rank-2 { background: linear-gradient(135deg,#dfe4ea,#b8c0cc); color: #fff; }
.rank-3 { background: linear-gradient(135deg,#e6b98c,#cf9b6a); color: #fff; }
.rank-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--c-soft); }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-body .name { font-weight: 700; font-size: 15px; }
.rank-views { font-size: 11.5px; color: var(--green); font-weight: 700; margin-top: 2px; }

/* クーポン */
.coupon { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px dashed var(--c); border-radius: var(--r); padding: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.coupon-l { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--c-soft); }
.coupon-l img { width: 100%; height: 100%; object-fit: cover; }
.coupon-m { flex: 1; min-width: 0; }
.coupon-shop { font-size: 12px; color: var(--muted); }
.coupon-title { font-weight: 800; font-size: 15px; color: var(--c); }
.coupon-body { font-size: 12px; color: var(--muted); }
.coupon-exp { font-size: 11px; color: var(--faint); margin-top: 2px; }
.coupon-btn { flex: 0 0 auto; background: var(--primary); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 13px; }

/* スタンプ */
.stampbox { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg,#fff3e9,#ffe2cf); border-radius: var(--r); padding: 16px 18px; margin-bottom: 16px; border: 1px solid var(--line); }
.stamp-n { font-size: 30px; font-weight: 800; color: var(--primary-dark); }
.stamp-l { font-size: 13px; color: var(--muted); }

/* 店舗詳細：クイックアクション・クーポン・設備・営業 */
.quick-actions { display: flex; gap: 8px; margin: 6px 0 14px; }
.qa { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.qa.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.coupon-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--c-soft); border: 1px dashed var(--c); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-weight: 700; color: var(--c); font-size: 14px; }
.coupon-banner button { background: var(--primary); color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; }
.feat-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.feat-chip { background: #eef0fb; color: #5b58a8; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.tags-row .tg { background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.tags-row { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0 16px; }
.hero-open { position: absolute; bottom: 14px; left: 14px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; color: #fff; }
.hero-open.is-open { background: var(--green); }
.hero-open.is-closed { background: #9a948a; }

/* レビュー */
.rv-summary { font-size: 16px; margin-bottom: 12px; } .rv-summary .rstar { color: #f5a623; }
.review { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 13px; margin-bottom: 9px; }
.rv-head { display: flex; gap: 8px; align-items: center; } .rv-star { color: #f5a623; font-size: 13px; } .rv-name { font-weight: 700; font-size: 13px; }
.rv-comment { font-size: 13.5px; margin: 5px 0; } .rv-date { font-size: 11px; color: var(--faint); }
.rv-form { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.rv-form h4 { margin: 0 0 10px; font-size: 14px; }
.rv-form input, .rv-form select, .rv-form textarea, .modal input, .modal textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; margin-bottom: 9px; background: #fff; }
.rv-form textarea, .modal textarea { min-height: 70px; resize: vertical; }
.btn-primary { background: var(--primary); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14px; width: 100%; }
.btn-ghost { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-weight: 700; }

/* お知らせ */
.post { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 13px; margin-bottom: 9px; }
.post-date { font-size: 11px; color: var(--faint); } .post-body { font-size: 13.5px; margin-top: 3px; }

/* 問い合わせモーダル */
.modal-mask { position: fixed; inset: 0; background: rgba(35,25,15,.5); z-index: 70; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--bg); border-radius: 18px; padding: 18px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.modal h3 { margin: 0 0 12px; font-size: 16px; } .modal h3 small { color: var(--muted); font-weight: 400; }
.modal-btns { display: flex; gap: 10px; } .modal-btns .btn-ghost { flex: 0 0 56px; } .modal-btns .btn-primary { flex: 1; }

/* トースト */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: #2c2a27; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; z-index: 90; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg); max-width: 88vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.muted-empty { color: var(--faint); font-size: 13px; padding: 16px 4px; text-align: center; }

/* 特集カバー（メインビジュアル）はロゴが切れないよう contain 表示 */
.sheet-hero.has-cover { background: linear-gradient(135deg,#eaf6ef,#dff0e6); }
.sheet-hero.has-cover img { object-fit: contain; padding: 8px; }
