@charset "UTF-8";
/* ============================================================
   store-base.css — noren 店舗ページの共通土台(全業種テーマ共通)
   各テーマ(store-kappo.css 等)が :root のトークンを上書きする。
   ここに置くのは「業種を問わず壊してはいけない仕組み」だけ:
   リセット / 受け取り前の出し分け / 営業中表示 / 電話固定バー / noren帯 / モーション
   ============================================================ */

:root {
  --st-bg: #faf8f4;
  --st-surface: #ffffff;
  --st-ink: #222;
  --st-muted: #666;
  --st-line: #ddd;
  --st-accent: #333;
  --st-accent-ink: #fff;
  --st-font-display: "Hiragino Mincho ProN", serif;
  --st-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --st-radius: 4px;
  --st-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 100;
  --z-bar: 150;
  --z-modal: 1000;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--st-font-body);
  color: var(--st-ink);
  background: var(--st-bg);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-modal);
  padding: 10px 16px; background: var(--st-ink); color: var(--st-bg); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---- 受け取り前/後の出し分け ----
   [data-owner]  … 店主が入れた写真・文章(受け取り後だけ表示)
   [data-before] … 事実情報だけで組んだ代替表示(受け取り前だけ表示)
   html.is-before は <head> のインラインスクリプトが ?state=before で付ける */
[data-before] { display: none !important; }
html.is-before [data-owner] { display: none !important; }
html.is-before [data-before] { display: revert !important; }
html.is-before [data-before="flex"] { display: flex !important; }
html.is-before [data-before="grid"] { display: grid !important; }

/* ---- 営業中表示(store.js が data-hours から計算) ---- */
.open-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.open-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: 0.5;
}
.open-status.is-open::before { background: #3aa76d; opacity: 1; box-shadow: 0 0 0 3px rgba(58, 167, 109, 0.25); }

/* ---- パンくず(ページ最上部。noren のお店帖の中での位置。どの業種でも同じ見た目) ---- */
.store-crumbs {
  position: relative; z-index: calc(var(--z-header) + 1);
  background: #133126; color: rgba(246, 241, 230, 0.72);
  font-family: "Zen Kaku Gothic New", var(--st-font-body);
  font-size: 12px; line-height: 1.5;
}
.store-crumbs ol {
  display: flex; align-items: center; gap: 0.5em;
  max-width: 1200px; margin: 0 auto; padding: 8px 20px;
  list-style: none; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none;
}
.store-crumbs ol::-webkit-scrollbar { display: none; }
.store-crumbs li { flex: none; }
.store-crumbs li:not(:last-child)::after { content: "›"; margin-left: 0.5em; opacity: 0.6; }
.store-crumbs li[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #f6f1e6; }
.store-crumbs a { color: inherit; text-decoration: none; }
.store-crumbs a:hover, .store-crumbs a:focus-visible { color: #f0c262; text-decoration: underline; }

/* ---- 受け取り前の案内(ページ上部) ---- */
.claim-banner {
  display: none;
  position: relative; z-index: calc(var(--z-header) + 1);
  padding: 12px 20px;
  background: #1f4a3b; color: #f6f1e6;
  font-family: "Zen Kaku Gothic New", var(--st-font-body);
  font-size: 13px; line-height: 1.6; text-align: center;
}
.claim-banner a { color: #f0c262; font-weight: 700; }
html.is-before .claim-banner { display: block; }

/* ---- noren帯(ページ最下部。どの業種でも同じ見た目=サービスの署名) ---- */
.noren-bar {
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  background: #133126; color: rgba(246, 241, 230, 0.8);
  font-family: "Zen Kaku Gothic New", var(--st-font-body);
  font-size: 12px; line-height: 1.7; letter-spacing: 0.04em;
}
.noren-bar__inner {
  width: min(1120px, 100%); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.noren-bar__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #f6f1e6; }
.noren-bar__brand svg { width: 20px; height: 18px; }
.noren-bar__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.noren-bar__links a { text-decoration: underline; text-underline-offset: 3px; }
.noren-bar__links a:hover { color: #f0c262; }

/* ---- SP下部の電話固定バー ---- */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--st-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 -1px 0 var(--st-line);
  gap: 8px;
}
.call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: var(--st-radius);
  font-weight: 700; text-decoration: none; font-size: 15px;
}
.call-bar svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .call-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ---- 見本表示のラベル(架空店であることを常に明示) ---- */
.sample-badge {
  position: fixed; left: 12px; top: 12px; z-index: var(--z-modal);
  padding: 3px 10px; border-radius: 999px;
  background: rgba(19, 49, 38, 0.88); color: #f6f1e6;
  font-family: "Zen Kaku Gothic New", var(--st-font-body);
  font-size: 11px; letter-spacing: 0.08em; pointer-events: none;
}

/* ---- FAQ(details基盤。見た目は各テーマで) ---- */
.st-faq summary { list-style: none; cursor: pointer; }
.st-faq summary::-webkit-details-marker { display: none; }

/* ---- 地図 ---- */
.st-map { position: relative; aspect-ratio: 4 / 3; background: var(--st-line); overflow: hidden; }
.st-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- モーション ---- */
.js-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s var(--st-ease), transform 0.9s var(--st-ease);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }

.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 88px; z-index: var(--z-modal);
  padding: 10px 16px; font-size: 12px;
  background: var(--st-surface); border: 1px solid var(--st-line); border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motion-stop { display: block; }
}
html.is-motion-off *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }

/* 暖簾の枠(LP)の中に埋め込まれたとき: 見本ラベルと電話バーは枠の外の情報なので隠す */
html.is-embedded .sample-badge { display: none; }

/* ============================================================
   受け取り前の店舗ページ(実店舗・お店帖から生成)の共通部品
   各業種テーマの --st-* トークンで色が変わる
   ============================================================ */
.claim-banner--always { display: block; }
.st-muted { color: var(--st-muted); }
.img-note {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 10px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 11px; letter-spacing: 0.04em;
  font-family: "Zen Kaku Gothic New", var(--st-font-body);
}
.img-note--static { position: static; display: inline-block; margin-top: 8px; background: none; color: var(--st-muted); padding: 0; }
.k-hero__photo, .s-hero__visual, .r-hero__photo { position: relative; }
.st-map-link { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--st-accent); }

/* 受け取ると入ります(中身の代わりの枠) */
.ph { margin-top: 32px; padding: clamp(22px, 3vw, 36px); border: 1.5px dashed var(--st-line); border-radius: var(--st-radius); background: color-mix(in srgb, var(--st-surface) 70%, transparent); }
.ph__lead { color: var(--st-muted); }
.ph__slots { margin-top: 18px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ph__slot { display: grid; gap: 4px; padding: 18px; border-radius: calc(var(--st-radius) * 0.7); background: var(--st-bg); border: 1px solid var(--st-line); }
.ph__slot b { font-family: var(--st-font-display); font-size: 17px; }
.ph__slot span { font-size: 13px; color: var(--st-muted); }
.ph__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.ph__link { color: var(--st-accent); font-weight: 700; }
.ph__link--claim { color: var(--st-muted); font-weight: 500; }

/* 近くのお店(お店帖へ戻る導線) */
.nr { padding-block: clamp(48px, 7vw, 80px); background: var(--st-surface); border-top: 1px solid var(--st-line); }
.nr__title { font-family: var(--st-font-display); font-size: clamp(20px, 2.4vw, 26px); }
.nr__title small { display: block; margin-top: 4px; font-family: var(--st-font-body); font-size: 12px; font-weight: 400; color: var(--st-muted); }
.nr__list { margin-top: 22px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.nr__list a { display: grid; gap: 4px; text-decoration: none; }
.nr__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--st-radius) * 0.6); }
.nr__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--st-ease); }
.nr__list a:hover img { transform: scale(1.04); }
.nr__meta { font-size: 12px; color: var(--st-muted); }
.nr__name { font-family: var(--st-font-display); font-weight: 700; line-height: 1.45; }
.nr__more { margin-top: 20px; font-size: 14px; color: var(--st-muted); }
.nr__more a { color: var(--st-accent); }
.noren-bar__credit { width: min(1120px, 100%); margin: 10px auto 0; font-size: 11px; opacity: 0.7; }

/* Google 口コミ欄(表示は store.js。投稿者・原文リンク・Google 表記は規約上必須) */
.st-reviews { padding-block: clamp(56px, 8vw, 96px); }
.st-reviews__body { margin-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.gr-summary { display: grid; gap: 8px; }
.gr-summary__source { font-size: 13px; color: var(--st-muted); }
.gr-summary__score { display: flex; align-items: center; gap: 10px; }
.gr-summary__score b { font-size: 46px; line-height: 1; font-family: var(--st-font-display); }
.gr-summary__note { font-size: 12px; color: var(--st-muted); }
.gr-summary a { color: var(--st-accent); font-size: 14px; }
.gr-stars { color: #c89a2e; font-size: 17px; letter-spacing: 0.04em; }
.gr-stars__off { color: var(--st-line); }
.gr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gr-card { display: grid; gap: 10px; align-content: start; padding: 20px; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); }
.gr-card__head { display: flex; align-items: center; gap: 12px; }
.gr-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.gr-card__avatar--text { display: grid; place-items: center; background: var(--st-accent); color: #fff; font-weight: 700; }
.gr-card__name { display: block; font-weight: 700; text-decoration: none; }
.gr-card__time { display: block; font-size: 12px; color: var(--st-muted); }
.gr-card__rating { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--st-muted); }
.gr-card__text { font-size: 14px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card__more { font-size: 13px; color: var(--st-accent); }

@media (max-width: 767px) {
  .ph__slots { grid-template-columns: 1fr; }
  .st-reviews__body { grid-template-columns: 1fr; }
}

/* 公式サイトから取れたメニュー(品名と価格)。色は各テーマの --st-* に従う */
.om { margin-top: 32px; }
.om__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px clamp(28px, 4vw, 56px); }
.om__cat { font-family: var(--st-font-display); font-size: 17px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--st-ink); }
.om__list { list-style: none; padding: 0; }
.om__row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 15px; }
.om__row::after { content: ""; flex: 1; order: 1; border-bottom: 1px dotted var(--st-line); transform: translateY(-4px); }
.om__price { order: 2; font-weight: 700; white-space: nowrap; }
.om__source { margin-top: 18px; font-size: 12px; color: var(--st-muted); }
.om__source a { color: var(--st-accent); }
.c-closed { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #fbe9e7; color: #b3412c; font-size: 12px; font-weight: 700; }
.c-hours__table td { font-size: 13px; line-height: 1.5; }
.e-week__day span { text-align: center; line-height: 1.5; }
@media (max-width: 767px) { .om__groups { grid-template-columns: 1fr; } }
