/* ============================================
   まちいろナビ — 総合評判ポータル 共通スタイル
   ブランド: ティール #0E7C7B × オレンジ #F4A259
   ============================================ */
:root {
  --primary: #0E7C7B;
  --primary-dark: #0A5958;
  --primary-pale: #E6F2F2;
  --accent: #F4A259;
  --accent-dark: #D9853B;
  --ink: #26332F;
  --ink-soft: #5E6E6A;
  --bg: #FAFAF7;
  --card: #FFFFFF;
  --line: #E2E8E6;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(14, 124, 123, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--primary-pale); color: var(--primary-dark); }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, #14918F 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 14px;
  opacity: 0.92;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 12px 26px;
  min-width: 110px;
}
.stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--accent); }
.stat span { font-size: 12px; opacity: 0.9; }

/* ---------- セクション ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--primary-pale); }
.section-title {
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.title-accent {
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(var(--accent), var(--accent-dark));
  display: inline-block;
  flex-shrink: 0;
}

/* ---------- 店舗カード ---------- */
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }

.store-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(14, 124, 123, 0.16);
}
.store-card-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.store-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale), #D3E9E8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.badge-sample {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ink-soft);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-sample.inline { position: static; display: inline-block; vertical-align: middle; }
.store-card-body { padding: 16px 18px 20px; }
.store-card-meta { font-size: 12px; color: var(--ink-soft); }
.store-card-name { font-size: 17px; font-weight: 900; margin: 4px 0 6px; }
.store-card-catch { font-size: 13px; color: var(--ink-soft); }

/* ---------- 業種グリッド ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-card.is-active:hover { border-color: var(--primary); background: var(--primary-pale); }
.category-card.is-empty { opacity: 0.45; }
.cat-icon { font-size: 26px; }
.cat-name { font-size: 13px; font-weight: 700; }
.cat-count { font-size: 11px; color: var(--primary); font-weight: 700; }
.is-empty .cat-count { color: var(--ink-soft); }

/* ---------- 都道府県リスト ---------- */
.region-block { margin-bottom: 18px; }
.region-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--primary-pale);
  padding-bottom: 4px;
}
.pref-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pref-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.pref-list a:hover { background: var(--primary); color: #fff; }
.pref-count {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  border-radius: 999px;
  padding: 0 7px;
}
.pref-empty {
  display: inline-block;
  font-size: 13px;
  color: #B4C0BD;
  padding: 6px 12px;
}
.note { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- CTA ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.section-cta h2 { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.section-cta p { font-size: 14px; max-width: 560px; margin: 0 auto 22px; opacity: 0.92; }
.btn-primary, .btn-secondary {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: 999px;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(244, 162, 89, 0.4);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: var(--card);
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary-pale); }

/* ---------- パンくず ---------- */
.breadcrumbs { padding: 16px 0 4px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px; color: #B4C0BD; }
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- 一覧ページ ---------- */
.list-header { margin: 12px 0 28px; }
.list-header h1 { font-size: 24px; font-weight: 900; }
.list-lead { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.related { margin: 40px 0 24px; }
.related h2 { font-size: 16px; font-weight: 900; margin-bottom: 12px; }
.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--primary-dark);
}
.related-links a:hover { border-color: var(--primary); }

/* ---------- 店舗詳細 ---------- */
.store-detail { padding-bottom: 48px; }
.store-header { margin: 12px 0 20px; }
.store-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.chip {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
}
.chip:hover { background: var(--primary); color: #fff; }
.store-name { font-size: 27px; font-weight: 900; line-height: 1.4; }
.store-catch { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }

.store-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .store-photos { grid-template-columns: 2fr 1fr; }
  .store-photos img:first-child { grid-row: span 2; }
}
.store-photos img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }

.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.feature-list li {
  background: var(--card);
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.store-article, .store-reviews, .store-info { margin-bottom: 36px; }
.store-article h2, .store-reviews h2, .store-info h2 {
  font-size: 19px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.store-article p { margin-bottom: 14px; font-size: 15px; }

.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.review p { font-size: 14px; }
.review cite { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.review-more { font-size: 13px; }
.review-more a { font-weight: 700; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.info-table th, .info-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { background: var(--primary-pale); color: var(--primary-dark); width: 110px; white-space: nowrap; font-weight: 700; }
.info-table td a { word-break: break-all; }

.store-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.store-actions .btn-primary, .store-actions .btn-secondary { flex: 1; min-width: 200px; }
.disclosure-note { font-size: 12px; color: var(--ink-soft); }

/* ---------- 固定ページ ---------- */
.static-page { padding: 12px 0 48px; max-width: 760px; }
.static-page h1 { font-size: 26px; font-weight: 900; margin-bottom: 20px; }
.static-page h2 {
  font-size: 18px;
  font-weight: 900;
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
}
.static-page p, .static-page li { font-size: 14px; margin-bottom: 8px; }
.static-page ul { padding-left: 22px; margin-bottom: 12px; }
.static-page .info-table { margin: 14px 0; }

/* ---------- フッター ---------- */
.site-footer {
  background: #12302C;
  color: #D7E4E1;
  padding: 40px 0 28px;
  margin-top: 24px;
}
.footer-logo { font-size: 20px; font-weight: 900; color: #fff; }
.footer-tagline { font-size: 12px; opacity: 0.75; margin-bottom: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.footer-nav a { color: #D7E4E1; font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.footer-note { font-size: 11px; opacity: 0.65; margin-bottom: 12px; }
.copyright { font-size: 11px; opacity: 0.55; }
