/* ============================================
   キッチンカー ソラメシ（デザインサンプル）
   ストリートカジュアル：レトロレッド×クリーム×ネイビー
   ============================================ */
:root {
  --ink: #2b3040;
  --sub: #767b8a;
  --bg: #fdf8ef;
  --bg-alt: #f4ecdc;
  --red: #d94f3d;
  --red-dark: #b83a29;
  --navy: #2b3040;
  --cream: #fdf8ef;
  --line: #e8dfc9;
  --radius: 10px;
  --en: "Rubik", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream);
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--en); font-size: 21px; font-weight: 700;
  letter-spacing: 0.08em; text-decoration: none;
}
.brand span { color: var(--red); }
.global-nav ul { display: flex; gap: 24px; }
.global-nav a { font-size: 13.5px; font-weight: 500; text-decoration: none; transition: 0.2s; }
.global-nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ---- ヒーロー ---- */
.hero { position: relative; color: #fff; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20, 22, 32, 0.78) 20%, rgba(20, 22, 32, 0.2) 70%);
}
.hero-overlay {
  position: relative; z-index: 2; max-width: 1080px; margin: 0 auto;
  padding: 110px 20px 120px;
}
.hero-en {
  font-family: var(--en); letter-spacing: 0.34em; font-size: 13px; color: var(--red);
  background: var(--cream); display: inline-block; padding: 3px 14px; border-radius: 3px;
  margin-bottom: 16px; font-weight: 700;
}
.hero-lead { font-size: clamp(32px, 5.4vw, 50px); font-weight: 900; line-height: 1.4; margin-bottom: 16px; }
.hero-sub { font-size: 14.5px; margin-bottom: 32px; opacity: 0.94; }
.btn {
  display: inline-block; background: var(--red); color: #fff;
  padding: 14px 34px; border-radius: 4px; text-decoration: none;
  font-size: 14.5px; font-weight: 700; transition: 0.2s;
  border-bottom: 4px solid var(--red-dark);
}
.btn:hover { transform: translateY(2px); border-bottom-width: 2px; }

/* ---- セクション共通 ---- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--cream); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.section-title {
  font-size: clamp(22px, 3.4vw, 28px); font-weight: 900; text-align: center; margin-bottom: 40px;
}
.section-title.light { color: var(--cream); }
.section-title .en {
  display: block; font-family: var(--en); font-size: 13px; letter-spacing: 0.3em;
  color: var(--red); text-transform: uppercase; margin-bottom: 8px;
}

/* ---- メニュー ---- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.menu-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--line);
}
.menu-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.menu-body { padding: 18px 20px 22px; }
.menu-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.menu-body p { font-size: 13.5px; color: var(--sub); }
.menu-body .price { margin-top: 10px; font-family: var(--en); font-size: 20px; font-weight: 700; color: var(--red); }
.menu-card-text { display: flex; align-items: stretch; background: var(--navy); border-color: var(--navy); }
.menu-card-text .menu-body { color: var(--cream); }
.menu-card-text h3 { color: var(--cream); }
.mini-menu { margin-top: 6px; }
.mini-menu li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--line) 80%, transparent);
  font-size: 13.5px; color: var(--ink);
}
.mini-menu li span { font-family: var(--en); color: var(--red); font-weight: 700; }
.note-s { margin-top: 12px; font-size: 11.5px; color: var(--sub) !important; }
.menu-card-text .mini-menu li {
  border-bottom-color: rgba(253, 248, 239, 0.25);
  color: var(--cream);
}
.menu-card-text .mini-menu li span { color: #ffb3a6; }
.menu-card-text .note-s { color: rgba(253, 248, 239, 0.6) !important; }

/* ---- 出店スケジュール（タブ） ---- */
.tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px;
}
.tab {
  min-width: 64px; padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(253, 248, 239, 0.35);
  background: transparent; color: var(--cream); font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: 0.2s; font-family: var(--sans);
}
.tab:hover { border-color: var(--red); }
.tab.is-active { background: var(--red); border-color: var(--red); }
.tab-panels { max-width: 640px; margin: 0 auto; }
.tab-panel {
  display: none; background: rgba(253, 248, 239, 0.07);
  border: 1px solid rgba(253, 248, 239, 0.18);
  border-radius: var(--radius); padding: 30px 34px; text-align: center;
}
.tab-panel.is-active { display: block; animation: panelIn 0.35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel .place { font-size: 19px; font-weight: 900; margin-bottom: 6px; }
.tab-panel .time { font-family: var(--en); font-size: 16px; color: #ffb3a6; margin-bottom: 10px; }
.tab-panel .memo { font-size: 13.5px; opacity: 0.85; }
.section-dark .note { text-align: center; font-size: 11.5px; opacity: 0.55; margin-top: 22px; }

/* ---- 出店依頼 ---- */
.booking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.booking-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border-top: 4px solid var(--red);
}
.booking-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.booking-card p { font-size: 13.5px; color: var(--sub); }
.booking-cta { text-align: center; margin-top: 32px; font-size: 14.5px; }
.booking-cta a { color: var(--red); font-weight: 700; }

/* ---- About ---- */
.about-text { text-align: center; font-size: 15px; margin-bottom: 30px; }
.shop-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.shop-table th, .shop-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.shop-table th { width: 110px; color: var(--red-dark); font-weight: 700; }

/* ---- フッター ---- */
.site-footer { background: #1d2130; color: #cdd1dd; text-align: center; padding: 40px 20px; }
.footer-brand { font-family: var(--en); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--red); }
.footer-note { font-size: 12px; opacity: 0.75; margin-bottom: 12px; }
.copyright { font-size: 12px; opacity: 0.6; }

/* ---- 画像注記（AI生成／差し替え可能の表示） ---- */
.photo-frame { position: relative; display: block; }
.photo-note {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  background: rgba(10, 8, 6, 0.62);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
}
.hero-bg.photo-frame { position: absolute; }
.hero-bg.photo-frame .photo-note { z-index: 3; }

/* ---- フェードイン ---- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* ---- レスポンシブ ---- */
@media (max-width: 820px) {
  .menu-grid, .booking-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero-overlay { padding: 84px 20px 96px; }
  .tab { min-width: 52px; padding: 8px 14px; font-size: 13.5px; }
  .tab-panel { padding: 24px 22px; }
  .global-nav {
    position: fixed; top: 58px; right: 0; width: 78%; max-width: 320px;
    height: calc(100vh - 58px); background: var(--navy);
    transform: translateX(100%); transition: transform 0.3s ease; padding: 28px 24px;
  }
  .global-nav.is-open { transform: translateX(0); }
  .global-nav ul { flex-direction: column; gap: 20px; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 58px 0; }
}
