/* ==========================================================================
   design tokens
   ========================================================================== */
:root {
  --color-bg: #4b4742;
  --color-bg-alt: #413d38;
  --color-panel: #5a554d;
  --color-cream: #ece6d8;
  --color-text-light: #f5f1e8;
  --color-text-muted: #c7c0b2;
  --color-line: rgba(245, 241, 232, 0.35);
  --color-border-silver: rgba(191, 190, 184, 0.4);
  --color-gold: #cda344;
  --color-gold-text: #d6b364;
  --font-heading: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-serif-en: 'Cormorant Garamond', serif;
  --font-script: 'Parisienne', cursive;
  --max-width: 1080px;
}

/* ==========================================================================
   reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 1100px 720px at 16% -12%, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(ellipse 950px 680px at 88% 108%, rgba(0, 0, 0, 0.22), transparent 55%),
    url("assets/textures/noise.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 220px 220px;
  color: var(--color-text-light);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-cream); outline-offset: 2px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 100;
  background: var(--color-cream);
  color: var(--color-bg-alt);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   scroll reveal（JS未実行時は常に表示、reduced-motion時はアニメーションなし）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.has-js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  html.has-js .reveal.reveal-delay-1 { transition-delay: 0.12s; }
  html.has-js .reveal.reveal-delay-2 { transition-delay: 0.24s; }
  html.has-js .reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
  html.has-js .reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
  html.has-js .reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
  html.has-js .reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* 固定ヘッダー（高さ約89px）の下に見出しが隠れないための余白 */
main section[id],
.footer-cta[id] {
  scroll-margin-top: 100px;
}

.title-underline {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--color-line);
  margin: 20px 0;
}
.title-underline-gold {
  width: 40px;
  background: var(--color-gold);
  margin: 14px 0 16px;
}

.deco { position: absolute; pointer-events: none; z-index: 1; }

/* ==========================================================================
   buttons
   ========================================================================== */
.cta-group { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--color-cream); color: var(--color-bg-alt); }
.btn-outline { border: 1px solid var(--color-cream); color: var(--color-text-light); }
.btn-gold-outline { border: 1px solid var(--color-gold); color: var(--color-gold-text); }
.btn-gold-outline:hover { background: rgba(205, 163, 68, 0.1); opacity: 1; }

/* ==========================================================================
   placeholder photo（差し替え前提の仮枠）
   ========================================================================== */
.photo-ph {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #6b655c, #3c3833);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px);
}
.photo-ph::after {
  content: attr(data-label);
  position: relative;
  z-index: 1;
  max-width: 78%;
  padding: 0.6em 1em;
  border: 1px dashed rgba(245, 241, 232, 0.3);
  border-radius: 6px;
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ==========================================================================
   section title patterns
   ========================================================================== */
.section-title-center {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 48px;
}
.section-title-center::before,
.section-title-center::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--color-line);
  vertical-align: middle;
  margin: 0 16px;
}
@media (max-width: 859px) {
  .section-title-center {
    font-size: 1.3rem;
  }
  .section-title-center::before,
  .section-title-center::after {
    width: 18px;
    margin: 0 10px;
  }
}

.section-title-line {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.section-title-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-line);
}

/* ==========================================================================
   proposal badge / mockup note
   ========================================================================== */
.proposal-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text-light);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.mockup-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.85;
  line-height: 1.7;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-bg-alt);
  background-image:
    radial-gradient(ellipse 700px 260px at 50% -140%, rgba(255, 255, 255, 0.05), transparent 60%),
    url("assets/textures/noise.svg");
  background-repeat: no-repeat, repeat;
  background-size: auto, 220px 220px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}
.site-header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { height: 60px; width: auto; }
.site-logo-text {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--color-text-light);
  line-height: 1;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip: rect(0 0 0 0);
}
.nav-toggle-input:focus-visible ~ .header-actions .nav-toggle-btn {
  outline: 2px solid var(--color-cream);
  outline-offset: 2px;
}

.site-nav { display: none; }
.site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 0;
  opacity: 0.85;
}
.site-nav a:hover { opacity: 1; }
.nav-en {
  font-family: var(--font-serif-en);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-light);
}
.nav-jp {
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.nav-current .nav-en { color: var(--color-gold); text-decoration: underline; text-underline-offset: 4px; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.btn-small { padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-light);
}

@media (max-width: 859px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--color-bg-alt);
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  }
  .site-nav a { flex-direction: row; align-items: baseline; gap: 10px; }
  .nav-toggle-input:checked ~ .site-nav { display: flex; }
}

@media (min-width: 860px) {
  .site-nav { display: flex; gap: 32px; }
  .nav-toggle-btn { display: none; }
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  background-image:
    linear-gradient(90deg, rgba(35, 32, 28, 0.82) 0%, rgba(35, 32, 28, 0.55) 38%, rgba(35, 32, 28, 0.1) 68%),
    url('assets/photos/hero_background_food_wine_grapes.webp');
  background-size: cover;
  background-position: right center;
}

@media (max-width: 859px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(35, 32, 28, 0.35) 0%, rgba(35, 32, 28, 0.75) 55%, rgba(35, 32, 28, 0.94) 78%),
      url('assets/photos/Hero%20Mobile%20Plate%20Background.webp');
    background-position: right center;
  }
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
}
.hero-text { position: relative; z-index: 2; max-width: 560px; }
.hero-logo { width: 136px; opacity: 0.95; margin-bottom: 24px; }
.hero-logo-text {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--color-gold-text);
  opacity: 0.95;
  margin-bottom: 24px;
  line-height: 1;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.35;
}
.hero-lead {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

@media (max-width: 859px) {
  .hero { min-height: 520px; align-items: flex-start; padding-top: 64px; }
}

/* ==========================================================================
   3大名物
   ========================================================================== */
.specialty { padding: 64px 0; position: relative; overflow: hidden; }
.deco-specialty-left { width: 260px; top: 0; left: -40px; opacity: 0.16; }
.deco-specialty-right { width: 260px; bottom: -20px; right: -40px; opacity: 0.16; }

.specialty-header { text-align: center; margin-bottom: 44px; }
.specialty-header-icon { width: 28px; height: 28px; color: var(--color-gold); margin-bottom: 12px; }
.specialty-header h2 { font-family: var(--font-heading); font-weight: 700; font-size: 1.9rem; margin-bottom: 18px; }
.specialty-header p { color: var(--color-text-muted); font-size: 0.94rem; line-height: 1.8; }

.specialty-grid { display: grid; gap: 32px; max-width: 1400px; margin-bottom: 44px; }
@media (min-width: 860px) {
  .specialty-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.specialty-card-wrap { position: relative; height: 100%; }
.specialty-card-deco {
  width: 100px;
  top: -16px;
  left: -14px;
  opacity: 0.6;
  z-index: 3;
}
.specialty-card {
  position: relative;
  height: 100%;
  background: var(--color-panel);
  border: 1px solid var(--color-border-silver);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.specialty-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.specialty-card-body { padding: 24px 28px 28px; text-align: left; flex: 1; display: flex; flex-direction: column; }
.specialty-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}
.specialty-card-icon { width: 22px; height: 22px; color: var(--color-gold); }
.specialty-card p { color: var(--color-text-muted); font-size: 0.9rem; }
.specialty-sub {
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 10px;
  opacity: 0.85;
}
.specialty-cta { text-align: center; }

/* ==========================================================================
   ナチュールワイン
   ========================================================================== */
.wine-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background-image:
    linear-gradient(180deg, rgba(30, 27, 24, 0.35) 0%, rgba(30, 27, 24, 0.75) 55%, rgba(30, 27, 24, 0.94) 78%),
    url('assets/photos/Wine%20Shelf%20Background.webp');
  background-size: cover;
  background-position: right center;
}
.deco-wine-corner { width: 240px; top: -10px; left: -30px; opacity: 0.18; }

.wine-inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.wine-text { max-width: 480px; }

.eyebrow {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--color-gold);
  opacity: 0.9;
  margin-bottom: 6px;
}
.wine-text h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.3rem); }

.wine-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 24px; }
.wine-divider i { display: block; flex: 1; max-width: 60px; height: 1px; background: var(--color-line); }
.wine-divider-dot { width: 6px; height: 6px; flex-shrink: 0; background: var(--color-gold); transform: rotate(45deg); }

.wine-lead { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 36px; }

.wine-features { display: flex; flex-direction: column; gap: 26px; margin-bottom: 36px; }
.wine-features li { display: flex; align-items: flex-start; gap: 18px; }
.wine-feature-icon { flex-shrink: 0; width: 68px; height: 68px; }
.wine-feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.wine-feature-text { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.wine-feature-text strong { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.wine-feature-text span { color: var(--color-text-muted); font-size: 0.98rem; line-height: 1.7; }

.wine-recommend {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 32px 24px 0;
  background: rgba(30, 27, 24, 0.72);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 16px;
  padding: 28px 32px;
  overflow: hidden;
}
.wine-recommend-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  white-space: nowrap;
  margin-bottom: 16px;
}
.wine-recommend-title::before,
.wine-recommend-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-line);
}
.wine-recommend-list { display: flex; flex-direction: column; gap: 8px; }
.wine-recommend-list li { position: relative; padding-left: 16px; font-size: 0.82rem; color: var(--color-text-muted); }
.wine-recommend-list li::before { content: "・"; position: absolute; left: 0; }
.wine-recommend-deco { position: absolute; width: 96px; right: -12px; bottom: -18px; opacity: 0.55; }

@media (min-width: 860px) {
  .wine-section {
    min-height: 780px;
    display: flex;
    align-items: center;
    padding: 0;
    background-image:
      linear-gradient(90deg, rgba(30, 27, 24, 0.95) 0%, rgba(30, 27, 24, 0.78) 38%, rgba(30, 27, 24, 0.3) 68%, rgba(30, 27, 24, 0.08) 100%),
      url('assets/photos/Wine%20Shelf%20Background.webp');
    background-position: right center;
  }
  .deco-wine-corner { width: 320px; top: -20px; left: -40px; }
  .wine-inner { padding: 0 64px; }
  .wine-recommend {
    position: absolute;
    right: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
    bottom: 56px;
    margin: 0;
  }
}

/* ==========================================================================
   こんなシーンに
   ========================================================================== */
.scene-section { padding: 64px 0 56px; }
.scene-section .section-inner { margin-bottom: 8px; }
.scene-section .eyebrow { text-align: center; }
@media (min-width: 860px) {
  .scene-section { padding: 40px 0 72px; }
  .scene-section .section-title-center { margin-bottom: 20px; }
}
.scene-rows { display: flex; flex-direction: column; }
.scene-row {
  position: relative;
  display: grid;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}
.scene-row:first-child { border-top: none; }
.scene-row-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(0.98) brightness(1.08);
}
.scene-row-text {
  position: relative;
  display: flex;
  align-items: center;
  padding: 32px 24px;
}
.scene-row-text p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-light);
}
.scene-row-deco { width: 90px; top: 16px; right: 16px; opacity: 0.35; }

@media (min-width: 860px) {
  .scene-row { grid-template-columns: 1.35fr 1fr; }
  .scene-row-photo { width: 100%; height: 184px; aspect-ratio: auto; }
  .scene-row-text { padding: 20px 48px; }
  .scene-row-text p { font-size: 1.15rem; line-height: 1.7; }
  .scene-row-deco { width: 128px; top: 12px; right: 20px; }
}

/* ==========================================================================
   空間
   ========================================================================== */
.space-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(20, 17, 14, 0.72), rgba(20, 17, 14, 0.72)),
    url("assets/photos/Open Kitchen Wine Bistro Interior.webp");
  background-size: cover;
  background-position: center;
}
.space-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  text-align: center;
}
.space-text h2 { font-family: var(--font-heading); font-size: 1.7rem; letter-spacing: 0.1em; }
.space-text p { color: var(--color-text-muted); margin-top: 20px; }
.space-text .title-underline { margin-left: auto; margin-right: auto; }
.deco-space-corner {
  width: 220px;
  top: -20px;
  left: -20px;
  opacity: 0.55;
}
@media (min-width: 860px) {
  .space-section { padding: 160px 0; }
  .deco-space-corner { width: 340px; top: -30px; left: -30px; }
}

/* ==========================================================================
   店舗情報・アクセス
   ========================================================================== */
.access-section {
  background-color: var(--color-bg-alt);
  background-image:
    radial-gradient(ellipse 900px 500px at 20% -10%, rgba(255, 255, 255, 0.04), transparent 55%),
    url("assets/textures/noise.svg");
  background-repeat: no-repeat, repeat;
  background-size: auto, 220px 220px;
  padding: 64px 0;
}
.deco-access-border { position: relative; width: 100%; max-width: 500px; opacity: 0.4; margin: 0 auto 24px; }
.access-grid { display: grid; gap: 40px; max-width: 520px; margin: 0 auto; }
.info-list li {
  display: grid;
  grid-template-columns: 24px 88px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
}
.info-icon { opacity: 0.8; align-self: start; margin-top: 3px; }
.info-label { font-size: 0.85rem; color: var(--color-text-muted); align-self: start; margin-top: 1px; }
.info-value { font-size: 0.92rem; line-height: 1.6; }
.info-value a { border-bottom: 1px solid var(--color-line); }
.info-value a:hover { color: var(--color-gold); border-color: var(--color-gold); }
.map-embed {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 320 / 220;
  border: 1px solid var(--color-border-silver);
  transition: opacity 0.2s ease;
}
.map-embed:hover { opacity: 0.88; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.map-link { font-size: 0.8rem; text-align: right; margin-top: 8px; }
.map-link a { color: var(--color-text-muted); border-bottom: 1px solid var(--color-line); }
.map-link a:hover { color: var(--color-text-light); }

/* ==========================================================================
   フッター（最終CTA）
   ========================================================================== */
.footer-cta { position: relative; padding: 72px 0 48px; text-align: center; overflow: hidden; }
.footer-logo { width: 76px; margin: 0 auto 24px; opacity: 0.95; }
.footer-logo-text {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--color-text-light);
  margin: 0 auto 24px;
  opacity: 0.95;
}
.footer-cta .cta-group { justify-content: center; margin-bottom: 40px; }
.deco-footer-left { width: 230px; left: -10px; bottom: -10px; opacity: 0.45; }
.deco-footer-right { width: 250px; right: -10px; bottom: -10px; opacity: 0.45; }

@media (max-width: 859px) {
  /* 幅が狭いと左右の装飾（合計480px分）が中央で重なるため、縮小して隅に寄せる */
  .deco-footer-left { width: 110px; left: -20px; bottom: -6px; }
  .deco-footer-right { width: 120px; right: -20px; bottom: -6px; }
}
