/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1c2b3a;
  --accent:        #c0392b;
  --gold:          #e8a838;
  --bg:            #f7f4f0;
  --card-bg:       #ffffff;
  --text:          #2c3e50;
  --text-light:    #6b7280;
  --border:        #e5e0d8;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.15);
  --radius:        10px;
  --radius-lg:     16px;

  /* Category colours */
  --cat-wagashi:   #e07b39;
  --cat-ramen:     #c0392b;
  --cat-buffet:    #2980b9;
  --cat-fastfood:  #27ae60;
  --cat-asian:     #8e44ad;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.text-center { text-align: center; }
.text-light  { color: var(--text-light); }

/* ===== HEADER ===== */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.logo-main { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.logo-sub  { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-nav a.active { background: var(--gold); color: var(--primary); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4a6e 60%, #1a3a5c 100%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-block;
  background: rgba(232,168,56,.2);
  color: var(--gold);
  border: 1px solid rgba(232,168,56,.4);
  font-size: 12px;
  letter-spacing: .12em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 500px;
  margin: 0 auto 32px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 8px;
}
.stat { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 48px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 8px;
}
.section-subtitle { color: var(--text-light); font-size: 14px; margin-top: 8px; margin-bottom: 40px; }

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.category-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-card.wagashi  { border-color: var(--cat-wagashi); }
.category-card.ramen    { border-color: var(--cat-ramen); }
.category-card.buffet   { border-color: var(--cat-buffet); }
.category-card.fastfood { border-color: var(--cat-fastfood); }
.category-card.asian    { border-color: var(--cat-asian); }

.cat-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.cat-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cat-count { font-size: 12px; color: var(--text-light); }
.cat-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  color: #fff;
  transition: opacity .2s;
}
.cat-btn:hover { opacity: .85; }
.wagashi  .cat-btn { background: var(--cat-wagashi); }
.ramen    .cat-btn { background: var(--cat-ramen); }
.buffet   .cat-btn { background: var(--cat-buffet); }
.fastfood .cat-btn { background: var(--cat-fastfood); }
.asian    .cat-btn { background: var(--cat-asian); }

/* ===== SHOP CARDS ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.shop-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.shop-card-header {
  height: 10px;
}
.shop-card-header.wagashi  { background: var(--cat-wagashi); }
.shop-card-header.ramen    { background: var(--cat-ramen); }
.shop-card-header.buffet   { background: var(--cat-buffet); }
.shop-card-header.fastfood { background: var(--cat-fastfood); }
.shop-card-header.asian    { background: var(--cat-asian); }

.shop-card-body { padding: 20px; flex: 1; }
.shop-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 10px;
}
.shop-card-cat.wagashi  { background: var(--cat-wagashi); }
.shop-card-cat.ramen    { background: var(--cat-ramen); }
.shop-card-cat.buffet   { background: var(--cat-buffet); }
.shop-card-cat.fastfood { background: var(--cat-fastfood); }
.shop-card-cat.asian    { background: var(--cat-asian); }

.shop-card-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.shop-card-desc { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }

.shop-meta { display: flex; flex-direction: column; gap: 4px; }
.shop-meta-row { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.shop-meta-icon { flex-shrink: 0; width: 18px; text-align: center; margin-top: 1px; }
.shop-meta-text { color: var(--text-light); }

.shop-card-footer { padding: 14px 20px; border-top: 1px solid var(--border); }
.btn-detail {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--bg);
  border: 2px solid var(--border);
  transition: background .2s, border-color .2s, color .2s;
}
.btn-detail:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== SHOP DETAIL PAGE ===== */
.shop-detail-hero {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 40px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  margin-bottom: 20px;
  transition: color .2s;
}
.back-link:hover { color: #fff; }

.shop-detail-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 14px;
}
.shop-detail-badge.wagashi  { background: var(--cat-wagashi); }
.shop-detail-badge.ramen    { background: var(--cat-ramen); }
.shop-detail-badge.buffet   { background: var(--cat-buffet); }
.shop-detail-badge.fastfood { background: var(--cat-fastfood); }
.shop-detail-badge.asian    { background: var(--cat-asian); }

.shop-detail-name {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.shop-detail-desc { color: rgba(255,255,255,.8); font-size: 16px; max-width: 600px; }

.shop-detail-body { padding: 48px 0 64px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 14px; font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.info-row {
  display: flex; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.info-row:last-child { border-bottom: none; }
.info-label { width: 90px; flex-shrink: 0; font-weight: 700; color: var(--text-light); font-size: 13px; }
.info-value { flex: 1; }

.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.feature-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text);
}

.map-link-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: #fff;
}
.map-link-card h3 { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.15); margin-bottom: 16px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
.btn-map {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  transition: opacity .2s;
  margin-top: 8px;
}
.btn-map:hover { opacity: .85; }

.note-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: #7c5a00;
  margin-top: 32px;
  line-height: 1.6;
}

/* ===== CATEGORY PAGE ===== */
.cat-page-hero {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.cat-page-hero.wagashi  { background: linear-gradient(135deg, #e07b39 0%, #c55e20 100%); }
.cat-page-hero.ramen    { background: linear-gradient(135deg, #c0392b 0%, #96281b 100%); }
.cat-page-hero.buffet   { background: linear-gradient(135deg, #2980b9 0%, #1a5f8a 100%); }
.cat-page-hero.fastfood { background: linear-gradient(135deg, #27ae60 0%, #1a7a42 100%); }
.cat-page-hero.asian    { background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%); }

.cat-page-hero * { color: #fff; }
.cat-page-icon { font-size: 56px; margin-bottom: 16px; display: block; }
.cat-page-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.cat-page-desc  { font-size: 16px; opacity: .85; max-width: 500px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-main { color: #fff; font-size: 16px; }
.footer-brand p { margin-top: 10px; font-size: 13px; line-height: 1.7; }
.footer-nav h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px; letter-spacing: .06em; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 13px; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 24px;
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 6px; }
.footer-site-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid     { grid-template-columns: repeat(2, 1fr); }
  .detail-grid   { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid     { grid-template-columns: 1fr; }
  .site-nav      { display: none; }
  .footer-inner  { grid-template-columns: 1fr; }
  .hero-stats    { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
