/* ==========================================================================
   居酒屋 しんじょう(架空店舗)— サイト工房 デザイン見本 スタイルシート
   ==========================================================================
   画像について:
   下記 :root 内の --img-* 変数が、サイト内で使用する写真のパスです。
   実際の店舗写真が用意できたら、この変数の値を
   例) url("../images/hero.jpg")
   のようにローカル画像パスへ書き換えるだけで、サイト全体に反映されます。
   (現在はフリー素材(Unsplash)の仮画像を参照しています)
   ========================================================================== */

:root {
  /* ---- 仮画像(後で実写真に差し替え予定。分かりやすいファイル名を想定) ---- */
  --img-hero: url("https://images.unsplash.com/photo-1761393574666-c7b435ef2983?fm=jpg&q=80&w=1600&auto=format&fit=crop"); /* 差し替え先想定: images/hero-storefront.jpg */
  --img-about: url("https://images.unsplash.com/photo-1760539929403-085d5155c948?fm=jpg&q=80&w=1200&auto=format&fit=crop"); /* 差し替え先想定: images/about-entrance.jpg */
  --img-atmosphere: url("https://images.unsplash.com/photo-1783447036642-90a65ff85a0f?fm=jpg&q=80&w=1200&auto=format&fit=crop"); /* 差し替え先想定: images/atmosphere-counter.jpg */
  --img-access: url("https://images.unsplash.com/photo-1721916685761-6e59d64f8b36?fm=jpg&q=80&w=1200&auto=format&fit=crop"); /* 差し替え先想定: images/access-lantern-street.jpg */

  /* ---- カラー ---- */
  --color-bg: #f7f1e6;
  --color-bg-paper: #fbf7ee;
  --color-text: #2c241b;
  --color-text-soft: #5a4f42;
  --color-wood: #8a5a3b;
  --color-wood-dark: #5f3d27;
  --color-lantern: #d9531e;
  --color-lantern-dark: #b8431a;
  --color-green: #33513f;
  --color-navy: #1f2d3a;
  --color-cream: #fffaf0;
  --shadow-soft: 0 10px 30px rgba(44, 36, 27, 0.15);

  --font-heading: "Yomogi", "Kaisei Decol", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(31, 24, 16, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header--scrolled {
  background-color: rgba(31, 24, 16, 0.92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  padding: 10px 20px;
}

.site-header__brand {
  font-family: var(--font-heading);
  color: var(--color-cream);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-header__nav {
  display: none;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.nav-toggle-label span {
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#nav-toggle:checked ~ .site-header__nav {
  display: flex;
}

.site-header__nav {
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(20, 15, 10, 0.97);
}

.site-header__nav a {
  color: var(--color-cream);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(
      to bottom,
      rgba(20, 14, 8, 0.35) 0%,
      rgba(20, 14, 8, 0.35) 40%,
      rgba(20, 14, 8, 0.75) 100%
    ),
    var(--img-hero);
  background-size: cover;
  background-position: center;
  color: var(--color-cream);
}

.hero__inner {
  width: 100%;
  padding: 0 20px 64px;
  max-width: 960px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  background: rgba(217, 83, 30, 0.85);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  margin-bottom: 16px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero__copy {
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  max-width: 32em;
  color: #f4ead9;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 共通ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--color-lantern);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 83, 30, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 250, 240, 0.75);
  color: var(--color-cream);
}

.btn--block {
  width: 100%;
}

/* ---------- セクション共通 ---------- */
section {
  padding: 72px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading__label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--color-lantern-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.section-heading__title {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--color-wood-dark);
}

/* ---------- お店について ---------- */
.about {
  background-color: var(--color-bg-paper);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(138, 90, 59, 0.06) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(51, 81, 63, 0.07) 0, transparent 45%);
}

.about__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about__photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background-image: var(--img-about);
  background-size: cover;
  background-position: center;
}

.about__text p {
  color: var(--color-text-soft);
  margin: 0 0 16px;
  font-size: 1.02rem;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about__tag {
  background: var(--color-green);
  color: var(--color-cream);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ---------- メニュー ---------- */
.menu {
  background-color: var(--color-bg);
  position: relative;
}

.menu__banner {
  border-radius: 18px;
  overflow: hidden;
  height: 160px;
  background-image: linear-gradient(rgba(20, 14, 8, 0.45), rgba(20, 14, 8, 0.45)), var(--img-atmosphere);
  background-size: cover;
  background-position: center 30%;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu__banner span {
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 20px;
}

.menu-category {
  background: var(--color-cream);
  border: 1px solid rgba(138, 90, 59, 0.18);
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(95, 61, 39, 0.06);
}

.menu-category__title {
  color: var(--color-lantern-dark);
  font-size: 1.3rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(217, 83, 30, 0.3);
}

.menu-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(90, 79, 66, 0.25);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__name {
  font-weight: 600;
  white-space: nowrap;
}

.menu-item__note {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--color-lantern-dark);
  white-space: normal;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(90, 79, 66, 0.35);
  transform: translateY(-4px);
}

.menu-item__price {
  font-weight: 700;
  color: var(--color-wood-dark);
  white-space: nowrap;
}

.menu__note {
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ---------- アクセス ---------- */
.access {
  background-color: var(--color-bg-paper);
}

.access__grid {
  display: grid;
  gap: 28px;
}

.access__info {
  background: var(--color-cream);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.access__row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(138, 90, 59, 0.15);
}

.access__row:last-child {
  border-bottom: none;
}

.access__row dt {
  flex: 0 0 88px;
  font-weight: 700;
  color: var(--color-green);
  font-size: 0.92rem;
}

.access__row dd {
  margin: 0;
  color: var(--color-text);
  font-size: 0.96rem;
}

.access__route {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(51, 81, 63, 0.08);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.access__map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

/* ---------- 予約・SNS ---------- */
.reserve {
  background: linear-gradient(160deg, var(--color-navy) 0%, #14202b 100%);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.reserve::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img-access);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}

.reserve .container {
  position: relative;
}

.reserve .section-heading__title {
  color: var(--color-cream);
}

.reserve__lead {
  text-align: center;
  color: #d8cfc0;
  max-width: 34em;
  margin: 0 auto 36px;
}

.reserve__cards {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}

.reserve__card {
  background: rgba(255, 250, 240, 0.06);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: center;
  backdrop-filter: blur(2px);
}

.reserve__card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.reserve__card p {
  color: #cfc6b6;
  font-size: 0.88rem;
  margin: 0 0 18px;
}

.reserve__future-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.78rem;
  color: #9c937f;
}

/* ---------- フッター ---------- */
.site-footer {
  background: #14100b;
  color: #b8ac97;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.8rem;
}

.site-footer strong {
  color: var(--color-cream);
}

/* ---------- レスポンシブ(タブレット以上) ---------- */
@media (min-width: 640px) {
  .hero__actions {
    flex-wrap: nowrap;
  }

  .reserve__cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .site-header__nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    gap: 26px;
    inset: auto;
  }

  .site-header__nav a {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 700;
  }

  .nav-toggle-label {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .access__grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

/* ---------- 見本用の追加スタイル ---------- */
.demo-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #f15d18;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.2);
}
.demo-bar a {
  background: #fff;
  color: #c2410c;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px;
}
body.is-demo { padding-bottom: 56px; }
.btn--disabled { opacity: 0.6; cursor: not-allowed; }
.access__map--demo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(138,90,59,0.06) 0 12px, transparent 12px 24px),
    var(--color-cream);
  border: 2px dashed rgba(138, 90, 59, 0.3);
  color: var(--color-text-soft);
  padding: 24px;
}
.access__map--demo strong { display: block; color: var(--color-wood-dark); font-size: 1.1rem; }
.site-footer a { color: #f4ead9; }
