/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fdf8f4;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
  --primary: #d9333f;
  --primary-dark: #b32530;
  --accent: #f39800;
  --accent-light: #fcb95b;
  --bg-warm: #fff5e6;
  --bg-cream: #fdf8f4;
  --border: #e8d9c7;
  --text-main: #333;
  --text-sub: #777;
  --gold: #ffb300;
  --silver: #bdbdbd;
  --bronze: #cd7f32;
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo > i {
  font-size: 30px;
  color: var(--accent);
  background: linear-gradient(135deg, #d9333f, #f39800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-textbox {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.logo-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.logo-accent { color: var(--accent); }
.logo-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 2px;
}
@media (max-width: 600px) {
  .logo-text { font-size: 14px; }
  .logo-sub { font-size: 9px; }
  .logo > i { font-size: 24px; }
}
.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-nav a {
  font-weight: 500;
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a i { margin-right: 4px; color: var(--accent); }
.login-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
}
.login-btn:hover { background: var(--primary-dark); color: #fff !important; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #d9333f 0%, #f39800 100%);
  padding: 40px 20px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-catch {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  letter-spacing: 2px;
}
@media (max-width: 600px) {
  .hero-title { font-size: 24px; letter-spacing: 0; }
}
.hero-sub {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 24px;
}
.search-box {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-right: 1px solid #eee;
}
.search-field:last-of-type { border-right: none; }
.search-field i { color: var(--primary); font-size: 16px; }
.search-field input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 15px;
  font-family: inherit;
  color: #333;
}
.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.search-btn:hover { background: var(--primary-dark); }
.hero-tags {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.tag:hover { background: rgba(255,255,255,0.35); }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ===== Result Header ===== */
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-sub);
}
.breadcrumb a:hover { color: var(--primary); }
.result-count {
  font-size: 14px;
  color: #555;
}
.result-count strong { color: var(--primary); }
.count-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
}

/* ===== Sort Section ===== */
.sort-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.sort-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
  padding: 4px 12px 4px 4px;
  border-right: 1px solid var(--border);
}
.sort-label i { color: var(--primary); margin-right: 6px; }

.sort-tabs {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.sort-tab {
  flex: 1;
  min-width: 150px;
  background: #fafafa;
  border: 2px solid #eee;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.sort-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background 0.25s ease;
}
.sort-tab:hover {
  background: var(--bg-warm);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243,152,0,0.15);
}
.sort-tab.active {
  background: linear-gradient(135deg, #d9333f 0%, #f39800 100%);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,51,63,0.3);
  transform: translateY(-2px);
}
.sort-tab.active::before { background: #fff; }
.sort-tab.active .sort-desc { color: rgba(255,255,255,0.9); }
.sort-tab.active .sort-icon { transform: scale(1.15); }

.sort-icon {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.sort-text {
  flex: 1;
  min-width: 0;
}
.sort-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2px;
}
.sort-desc {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
  line-height: 1.2;
}

.sort-info {
  font-size: 11px;
  color: var(--text-sub);
  padding: 6px 10px;
  background: #fffbef;
  border: 1px dashed var(--accent-light);
  border-radius: 6px;
  white-space: nowrap;
}
.sort-info i { color: var(--accent); margin-right: 4px; }

@media (max-width: 700px) {
  .sort-section { padding: 12px; }
  .sort-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 8px 0;
  }
  .sort-tab { min-width: 0; flex: 1 1 100%; }
  .sort-info { width: 100%; text-align: center; }
}

/* ===== Main Layout ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
@media (max-width: 960px) {
  .main-layout { grid-template-columns: 1fr; }
}

/* ===== Store Card ===== */
.cards-area {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.store-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217,51,63,0.18);
  border-color: var(--accent-light);
}
.store-card:hover .card-image img {
  transform: scale(1.08);
}

/* === Card Image === */
.card-image {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  background-color: #ccc;
}
.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}
.card-image-fallback {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,0.8);
  z-index: 1;
}
.card-image-genre {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.new-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f39800, #ff6b35);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 900;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(243,152,0,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pin-marker-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  z-index: 3;
}
.pin-marker-overlay span { transform: rotate(45deg); }
.pin-marker-overlay.gold { background: var(--gold); }
.pin-marker-overlay.silver { background: var(--silver); }
.pin-marker-overlay.bronze { background: var(--bronze); }

.rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  padding: 8px 14px;
  font-weight: 900;
  z-index: 4;
  border-radius: 0 0 14px 0;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}
.rank-badge.rank-1 { background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%); color: #6b4400; }
.rank-badge.rank-2 { background: linear-gradient(135deg, #e0e0e0 0%, #909090 100%); color: #333; }
.rank-badge.rank-3 { background: linear-gradient(135deg, #e09a5e 0%, #b06628 100%); color: #fff; }
.rank-label { display: none; }
.rank-num { font-size: 24px; line-height: 1; }
.rank-suffix { font-size: 11px; line-height: 1; font-weight: 700; }

.card-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.card-main { min-width: 0; }
.store-name {
  font-size: 18px;
  font-weight: 900;
  color: #222;
  margin: 0;
  line-height: 1.3;
}
.store-name:hover { color: var(--primary); }

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
}
.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
}
.rating-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
}
.review-count {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
}
.review-count strong { color: var(--text-main); font-weight: 700; }

.store-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}
.store-meta div { display: flex; align-items: center; gap: 8px; }
.store-meta i { color: var(--accent); width: 14px; text-align: center; }

.link-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  color: #555;
  transition: all 0.2s;
  cursor: pointer;
}
.link-btn:hover { background: var(--bg-warm); border-color: var(--accent); color: var(--primary); }
.link-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.link-btn.primary:hover { background: var(--primary-dark); color: #fff; }
.link-btn.gmap { background: #4285f4; color: #fff; border-color: #4285f4; }
.link-btn.gmap:hover { background: #3367d6; color: #fff; }
.link-btn.tabelog { color: #ff6b35; }
.link-btn.hotpepper { color: #ff8c00; }
.link-btn.gurunavi { color: #c4262e; }

@media (max-width: 768px) {
  .store-card { grid-template-columns: 1fr; }
  .card-image { min-height: 180px; }
  .store-name { font-size: 16px; }
  .hero-title { font-size: 22px; }
  .search-box { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid #eee; }
  .search-field:last-of-type { border-bottom: none; }
}

/* ===== Map Area ===== */
.map-area {
  position: relative;
}
.map-sticky {
  position: sticky;
  top: 80px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-header {
  padding: 12px 16px;
  font-weight: 700;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}
.map-header i { margin-right: 6px; }
.map-container {
  position: relative;
}
.map-mock {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #e8f0e3 0%, #d8e6d0 100%);
  overflow: hidden;
}
.map-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(180,210,160,0.6) 0%, transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(180,210,160,0.4) 0%, transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(200,220,180,0.5) 0%, transparent 25%);
}
.map-streets {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.7) 49%, rgba(255,255,255,0.7) 51%, transparent 51%) 0 30%/100% 4px,
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.5) 49%, rgba(255,255,255,0.5) 51%, transparent 51%) 0 60%/100% 3px,
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.4) 49%, rgba(255,255,255,0.4) 51%, transparent 51%) 0 85%/100% 2px,
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.7) 49%, rgba(255,255,255,0.7) 51%, transparent 51%) 25% 0/4px 100%,
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.5) 49%, rgba(255,255,255,0.5) 51%, transparent 51%) 55% 0/3px 100%,
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.4) 49%, rgba(255,255,255,0.4) 51%, transparent 51%) 80% 0/2px 100%;
  background-repeat: no-repeat;
}
.map-pins {
  position: absolute;
  inset: 0;
}
.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
}
.map-pin:hover {
  transform: translate(-50%, -100%) rotate(-45deg) scale(1.2);
  z-index: 10;
}
.map-pin span { transform: rotate(45deg); }
.map-pin.gold { background: var(--gold); }
.map-pin.silver { background: var(--silver); }
.map-pin.bronze { background: var(--bronze); }

.map-label-top, .map-label-east, .map-label-south, .map-label-west {
  position: absolute;
  background: rgba(255,255,255,0.85);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  border-radius: 3px;
  z-index: 1;
}
.map-label-top { top: 10px; left: 50%; transform: translateX(-50%); }
.map-label-east { right: 10px; top: 50%; }
.map-label-south { bottom: 10px; left: 50%; transform: translateX(-50%); }
.map-label-west { left: 10px; top: 50%; }

.map-note {
  padding: 8px 12px;
  background: #fffbef;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #888;
}
.map-note i { color: var(--accent); margin-right: 4px; }
.map-legend {
  padding: 10px 16px;
  background: #fafafa;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #555;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 4px; }
.pin-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.pin-color.gold { background: var(--gold); }
.pin-color.silver { background: var(--silver); }
.pin-color.bronze { background: var(--bronze); }

/* ===== Attribution ===== */
.attribution {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.attribution-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.attribution-inner i {
  font-size: 28px;
  color: #4285f4;
}
.attribution-inner div { font-size: 12px; color: #666; }
.attribution-inner strong { color: #333; font-size: 13px; }

/* ===== Footer ===== */
.footer {
  background: #2c2c2c;
  color: #ccc;
  margin-top: 40px;
  padding: 40px 20px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-desc { font-size: 12px; line-height: 1.7; color: #999; }
.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  font-size: 12px;
  color: #aaa;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #444;
  padding: 16px 20px;
  text-align: center;
  font-size: 11px;
  color: #888;
}

/* ===== Animation ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.store-card { animation: fadeInUp 0.4s ease both; }
.store-card:nth-child(1) { animation-delay: 0.05s; }
.store-card:nth-child(2) { animation-delay: 0.10s; }
.store-card:nth-child(3) { animation-delay: 0.15s; }
.store-card:nth-child(4) { animation-delay: 0.20s; }
.store-card:nth-child(5) { animation-delay: 0.25s; }
.store-card:nth-child(6) { animation-delay: 0.30s; }
.store-card:nth-child(7) { animation-delay: 0.35s; }
.store-card:nth-child(8) { animation-delay: 0.40s; }
.store-card:nth-child(9) { animation-delay: 0.45s; }
.store-card:nth-child(10) { animation-delay: 0.50s; }

/* Card highlight on pin hover */
.store-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217,51,63,0.2);
}

/* ===== カテゴリナビ（SEO重要セクション） ===== */
.category-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 20px 32px;
}
.category-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.category-nav-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-nav-title i { color: var(--accent); }
.category-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .category-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .category-nav-grid { grid-template-columns: 1fr 1fr; }
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #fdf8f4 100%);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,51,63,0.08), rgba(243,152,0,0.08));
  opacity: 0;
  transition: opacity 0.2s;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217,51,63,0.12);
}
.cat-card:hover::before { opacity: 1; }
.cat-emoji {
  font-size: 32px;
  flex-shrink: 0;
  z-index: 1;
}
.cat-text {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.4;
  z-index: 1;
}
.cat-text strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 2px;
}

/* ===== 店舗詳細ページ ===== */
.store-detail-page { padding-top: 0; }
.store-hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) {
  .store-hero { grid-template-columns: 1fr; }
}
.store-hero-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.store-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.store-hero-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.genre-tag-large, .new-tag-large {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.genre-tag-large {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}
.new-tag-large {
  background: linear-gradient(135deg, #f39800, #ff6b35);
  animation: pulse 2s ease-in-out infinite;
}
.store-hero-info { padding: 30px; }
.store-detail-name {
  font-size: 28px;
  font-weight: 900;
  color: #222;
  margin-bottom: 14px;
  line-height: 1.3;
}
.store-detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.stars-large { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.rating-large { font-size: 32px; font-weight: 900; color: var(--primary); }
.review-count-large { font-size: 14px; color: var(--text-sub); }
.review-count-large strong { color: var(--text-main); }

.store-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.meta-row > i {
  width: 30px;
  height: 30px;
  background: var(--bg-warm);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.meta-label {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.meta-value { font-size: 14px; color: #333; line-height: 1.5; }
.meta-value a { color: var(--primary); }

.store-detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.action-large {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
}
.action-large > i { font-size: 22px; width: 30px; text-align: center; }
.action-large.gmap-btn { border-color: #4285f4; }
.action-large.gmap-btn:hover { background: #4285f4; color: #fff; }
.action-large.gmap-btn > i { color: #4285f4; }
.action-large.gmap-btn:hover > i { color: #fff; }
.action-large.website-btn:hover { background: var(--bg-warm); border-color: var(--accent); }
.action-large.phone-btn:hover { background: var(--bg-warm); border-color: var(--primary); }
.action-label { font-weight: 700; font-size: 14px; }
.action-sub { font-size: 11px; color: var(--text-sub); margin-top: 2px; }
.action-large:hover .action-sub { color: rgba(255,255,255,0.85); }
.action-large.website-btn:hover .action-sub,
.action-large.phone-btn:hover .action-sub { color: var(--text-sub); }

.portal-section {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.portal-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 10px;
}
.portal-title i { color: var(--accent); margin-right: 4px; }
.portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portal-link {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}
.portal-link:hover { background: var(--bg-warm); border-color: var(--accent); }
.portal-link.tabelog { color: #ff6b35; }
.portal-link.hotpepper { color: #ff8c00; }
.portal-link.gurunavi { color: #c4262e; }

/* ===== SEOコンテンツ ===== */
.seo-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}
.seo-content h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.seo-content h3 {
  font-size: 18px;
  color: #333;
  margin: 20px 0 10px;
}
.seo-content p, .seo-content li {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.seo-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0;
}
.seo-content strong { color: var(--primary); }

/* ===== 関連ランキング ===== */
.related-ranking {
  background: var(--bg-warm);
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  text-align: center;
}
.related-ranking h2 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}
.btn-back-to-ranking {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #d9333f, #f39800);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-back-to-ranking:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217,51,63,0.3);
}

/* ===== データソース注記 ===== */
.data-source-note {
  background: #f0f9ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.data-source-note > i {
  font-size: 24px;
  color: #4285f4;
  flex-shrink: 0;
}
.data-source-note p {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

/* ===== SVGアイコン共通スタイル ===== */
.tag-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
  color: #fff;
}
.tag-icon svg {
  display: block;
}

/* ヒーローのジャンルタグ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* カテゴリカードのSVGアイコン */
.cat-svg-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.3s ease;
}
.cat-card:hover .cat-svg-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ジャンル別カラーリング（カテゴリカード） */
.cat-icon-ramen {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
}
.cat-icon-izakaya {
  background: linear-gradient(135deg, #ffebee, #ffcdd2);
  color: #c62828;
}
.cat-icon-yakiniku {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: #ad1457;
}
.cat-icon-yakitori {
  background: linear-gradient(135deg, #fff8e1, #ffe082);
  color: #ef6c00;
}
.cat-icon-cafe {
  background: linear-gradient(135deg, #efebe9, #d7ccc8);
  color: #5d4037;
}
.cat-icon-biyo {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #6a1b9a;
}
.cat-icon-haisha {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #0d47a1;
}
.cat-icon-massage {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
  color: #4527a0;
}

/* フッターのSVGアイコン */
.footer-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--accent);
}
.footer-icon svg { display: block; }

/* SVGの自動色調整 */
.cat-svg-icon svg path,
.cat-svg-icon svg ellipse,
.cat-svg-icon svg circle,
.cat-svg-icon svg line,
.cat-svg-icon svg rect {
  /* SVG内の色はcurrentColorで親要素から継承 */
}
