/* 
  居酒屋ゆずりは - style.css
  Design concept: Warm Wabi-Sabi, Modern Japanese, Soft Cream & Asymmetric Grid
*/

/* -----------------------------------------
   CSS Variables & Design Tokens
----------------------------------------- */
:root {
  --bg-primary: #FCFAF2;      /* 極めて温かいクリーム色 */
  --bg-secondary: #F4EFE3;    /* 障子や和紙のようなやや濃いめのクリーム */
  --bg-tertiary: #EBE5D6;     /* さらに濃いベージュ・グレー寄りのトーン */
  --text-main: #2D2722;       /* 墨黒（温かみのある焦げ茶） */
  --text-muted: #625851;      /* 落ち着いた茶炭色 */
  --color-green: #2B4E36;     /* ゆずりはの葉：深緑 */
  --color-red: #C34C39;       /* ゆずりはの茎：朱赤 */
  --color-gold: #D29D45;      /* アクセントの金茶・からし色 */
  
  --placeholder-bg: #EAE6DC;  /* 写真プレースホルダー用のお洒落なグレー */
  --placeholder-shimmer: linear-gradient(90deg, #EAE6DC 25%, #F0ECDF 50%, #EAE6DC 75%);
  
  --font-serif: 'Noto Serif JP', 'Sawarabi Mincho', serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  
  --header-height: 80px;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------
   Reset & Base Styles
----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .vertical-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* -----------------------------------------
   Aesthetic Background Details
----------------------------------------- */
/* ゆずりはの葉っぱが漂うコンテナ */
.leaves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

/* 舞い落ちる葉っぱのCSSアニメーション (アニメーション1) */
.falling-leaf {
  position: absolute;
  top: -100px;
  display: block;
  opacity: 0.8;
  animation: fall linear infinite;
  transform-origin: center;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(105vh) rotate(360deg) translateX(100px);
    opacity: 0;
  }
}

/* -----------------------------------------
   Scroll Reveal Animation (アニメーション2)
----------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* -----------------------------------------
   Photo Placeholder Style (グレープレースホルダー)
----------------------------------------- */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--placeholder-bg);
  background-image: var(--placeholder-shimmer);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite linear;
  border: 1px dashed var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.photo-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  padding: 15px;
}

.photo-placeholder:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--color-green);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* -----------------------------------------
   Header & Navigation
----------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(252, 250, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 39, 34, 0.08);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.1em;
}

.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: var(--transition-fast);
}

.desktop-nav a:hover {
  color: var(--color-green);
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Active Hamburger */
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-red);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-red);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-secondary);
  z-index: 105;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  display: block;
}

.mobile-nav-booking-wrapper {
  border-top: 1px solid rgba(45, 39, 34, 0.1);
  padding-top: 16px;
  margin-top: 8px;
}

.mobile-nav-booking-lead {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.mobile-booking-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-booking-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--text-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.mobile-booking-link.insta:active {
  border-color: #C13584;
  color: #C13584;
  background-color: rgba(193, 53, 132, 0.05);
}

.mobile-booking-link.hp:active {
  border-color: #E60012;
  color: #E60012;
  background-color: rgba(230, 0, 18, 0.05);
}

.mobile-booking-link.line:active {
  border-color: #06C755;
  color: #06C755;
  background-color: rgba(6, 199, 85, 0.05);
}

/* -----------------------------------------
   Hero Section (癖のあるアシンメトリーレイアウト)
----------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  background-color: var(--bg-primary);
  overflow: hidden;
}

/* アシンメトリーな幾何学的背景 */
.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-color: var(--bg-secondary);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(43, 78, 54, 0.08);
  color: var(--color-green);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(43, 78, 54, 0.15);
}

.badge-leaf {
  display: flex;
  align-items: center;
  animation: leafPulse 3s infinite ease-in-out;
}

@keyframes leafPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(10deg); }
}

.hero-title {
  margin-bottom: 24px;
}

.title-main {
  display: block;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  color: var(--color-green);
}

.title-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-red);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Button UI (アニメーション3: マイクロアニメーション) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-fast);
  cursor: pointer;
  letter-spacing: 0.08em;
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--bg-primary);
  border: 1px solid var(--color-green);
  box-shadow: 0 4px 15px rgba(43, 78, 54, 0.15);
}

.btn-primary:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* Hero Visual Collage (癖のある歪んだグリッドレイアウト) */
.hero-visual .visual-wrapper {
  position: relative;
  height: 480px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
}

.visual-item {
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}

.visual-item.item-main {
  grid-column: 1 / 9;
  grid-row: 1 / 10;
  transform: rotate(-1.5deg); /* 意図的な歪み・癖 */
  z-index: 3;
}

.visual-item.item-sub {
  grid-column: 7 / 13;
  grid-row: 6 / 13;
  transform: rotate(2deg); /* 反対の歪み */
  z-index: 4;
}

.visual-item.item-accent {
  grid-column: 2 / 7;
  grid-row: 9 / 12;
  z-index: 5;
  background-color: var(--color-red);
  color: var(--bg-primary);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(195, 76, 57, 0.2);
  transform: rotate(-3deg);
}

.accent-box {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.accent-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.line-part {
  display: inline-block;
  white-space: nowrap;
}

/* -----------------------------------------
   Message Section (縦書きアシンメトリー)
----------------------------------------- */
.message-section {
  padding: 120px 24px;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.message-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* 和モダンな「縦書き」による癖 */
.vertical-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  color: var(--color-red);
  border-left: 2px solid var(--color-red);
  padding-left: 15px;
  line-height: 1;
}

.message-text {
  padding-top: 10px;
}

.lead-phrase {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-green);
  margin-bottom: 24px;
  line-height: 1.6;
}

.message-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.signature {
  font-family: var(--font-serif);
  text-align: right;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 40px;
  color: var(--text-main);
}

/* -----------------------------------------
   About Section
----------------------------------------- */
.about-section {
  padding: 140px 24px;
  background-color: var(--bg-primary);
  position: relative;
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 450px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

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

.deco-leaf.leaf-1 {
  bottom: -40px;
  right: -50px;
  transform: rotate(35deg);
  opacity: 0.8;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
  animation: gentleWiggle 6s infinite ease-in-out;
}

@keyframes gentleWiggle {
  0%, 100% { transform: rotate(35deg) scale(1); }
  50% { transform: rotate(40deg) scale(1.03); }
}

.section-sub {
  display: block;
  font-family: var(--font-sans);
  color: var(--color-red);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--color-green);
  margin-bottom: 30px;
  text-align: left;
  white-space: nowrap;
}

.story-block p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.highlight-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-green);
  font-weight: 600;
  margin-top: 30px;
  border-left: 3px solid var(--color-gold);
  padding-left: 16px;
}

/* -----------------------------------------
   History Section (柊との繋がり - タイムライン)
----------------------------------------- */
.history-section {
  padding: 140px 24px;
  background-color: var(--bg-secondary);
  position: relative;
}

.history-bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg-primary);
  clip-path: ellipse(60% 80px at 50% 0%);
}

.history-header {
  text-align: left;
  max-width: 700px;
  margin: 0 0 80px 0;
}

.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--color-red);
  opacity: 0.4;
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  position: relative;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(195, 76, 57, 0.2);
}

.timeline-content {
  padding: 30px;
  background-color: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--color-green);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--color-green);
  margin-bottom: 16px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-image {
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

/* アシンメトリーにするため、偶数番目は配置を反転 */
.timeline-item.alt {
  direction: rtl;
}

.timeline-item.alt .timeline-content,
.timeline-item.alt .timeline-image {
  direction: ltr; /* テキスト方向は元に戻す */
}

/* -----------------------------------------
   Menu Section
----------------------------------------- */
.menu-section {
  padding: 140px 24px;
  background-color: var(--bg-primary);
}

.menu-header {
  text-align: left;
  max-width: 600px;
  margin: 0 0 80px 0;
}

.menu-intro {
  color: var(--text-muted);
  margin-top: 10px;
}

.menu-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.menu-card {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  border: 1px solid rgba(45, 39, 34, 0.04);
}

.menu-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.menu-card-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.menu-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-red);
  color: var(--bg-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(195, 76, 57, 0.25);
}

.menu-card-body {
  padding: 32px;
}

.menu-card-body h3 {
  font-size: 1.5rem;
  color: var(--color-green);
  margin-bottom: 12px;
}

.menu-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -----------------------------------------
   Booking Section (ご予約ボタンのマイクロインタラクション)
----------------------------------------- */
.booking-section {
  padding: 100px 24px;
  background-color: var(--bg-secondary);
  text-align: left;
}

.booking-header {
  margin-bottom: 40px;
}

.booking-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ボタンを横一列に並べる（スッキリ見せる） */
.booking-links {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  max-width: 900px;
  margin: 0;
}

.booking-btn {
  flex: 1;
  max-width: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--text-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition-fast);
}

/* ホバー時にブランドの色に優しく変化させる */
.booking-btn.instagram:hover {
  border-color: #C13584;
  color: #C13584;
  background-color: rgba(193, 53, 132, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(193, 53, 132, 0.08);
}

.booking-btn.hotpepper:hover {
  border-color: #E60012;
  color: #E60012;
  background-color: rgba(230, 0, 18, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 0, 18, 0.08);
}

.booking-btn.line:hover {
  border-color: #06C755;
  color: #06C755;
  background-color: rgba(6, 199, 85, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 199, 85, 0.08);
}

/* -----------------------------------------
   Info & Access Section
----------------------------------------- */
.info-section {
  padding: 140px 24px;
  background-color: var(--bg-primary);
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.info-table th, .info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(45, 39, 34, 0.08);
  text-align: left;
}

.info-table th {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-green);
  width: 140px;
  vertical-align: top;
}

.info-table td {
  color: var(--text-muted);
}

.info-table td a {
  color: var(--color-red);
  font-weight: 600;
  text-decoration: underline;
}

.info-sns-banner {
  margin-top: 24px;
}

.insta-banner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background-color: var(--bg-secondary);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid var(--color-green);
}

.insta-banner-link:hover {
  background-color: var(--bg-tertiary);
  color: var(--color-green);
}

.insta-banner-link .arrow {
  transition: transform 0.3s ease;
}

.insta-banner-link:hover .arrow {
  transform: translateX(5px);
}

/* Map Wrapper (アシンメトリーな枠線) */
.info-map {
  height: 450px;
  position: relative;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.info-map::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

/* -----------------------------------------
   Gallery Section
----------------------------------------- */
.gallery-section {
  padding: 120px 24px;
  background-color: var(--bg-secondary);
}

.gallery-header {
  text-align: left;
  max-width: 600px;
  margin: 0 0 60px 0;
}

.gallery-intro {
  color: var(--text-muted);
  margin-top: 10px;
}

/* 癖のあるモザイク/コラージュ調の横スクロールカルーセル */
.gallery-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  padding: 20px 10px; /* 上下のズラしをなくしたためパディングを最適化 */
  scroll-behavior: smooth;
  scrollbar-width: thin; /* Firefox用 */
}

/* カスタムスクロールバーのデザイン */
.gallery-grid::-webkit-scrollbar {
  height: 8px;
}
.gallery-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--color-green);
  opacity: 0.6;
  border-radius: 10px;
}
.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  background-color: var(--bg-primary);
  border: 1px solid rgba(45, 39, 34, 0.05);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02); /* 全体を揃えた代わりに、ホバー時に心地よく上に浮くように変更 */
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* -----------------------------------------
   Menu Details Section
----------------------------------------- */
.menu-details-section {
  padding: 80px 24px;
  background-color: var(--bg-primary);
  text-align: left;
}

.details-header {
  margin-bottom: 40px;
}

.details-title {
  font-size: 2rem;
  color: var(--color-green);
  position: relative;
  display: block;
  padding-bottom: 12px;
  text-align: left;
  white-space: nowrap;
}

.details-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  transform: none;
  width: 50px;
  height: 2px;
  background-color: var(--color-red);
}

.details-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

/* ボタンのグリッド配置（PC時は2x2、スマホ時は縦1列） */
.menu-detail-buttons {
  max-width: 900px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.menu-detail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(45, 39, 34, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.btn-main-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

.btn-sub-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ボタンホバー時に浮き出るようなエフェクト */
.menu-detail-btn:hover {
  transform: translateY(-5px);
  border-color: var(--color-green);
  box-shadow: 0 10px 25px rgba(43, 78, 54, 0.08);
  background-color: rgba(43, 78, 54, 0.02);
}

.menu-detail-btn:hover .btn-main-text {
  color: var(--color-red);
}

/* -----------------------------------------
   Menu Modal (ポップアップで浮き出る画像)
----------------------------------------- */
.menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-modal.show {
  opacity: 1;
  visibility: visible;
}

/* 背景を暗く半透明にする */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 15, 13, 0.85); /* 高級感のある暗いウォームブラック */
  backdrop-filter: blur(8px); /* 背景をボカす */
}

/* 閉じるボタン */
.modal-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--bg-primary);
  cursor: pointer;
  z-index: 220;
  line-height: 1;
  transition: var(--transition-fast);
  opacity: 0.7;
}

.modal-close-btn:hover {
  opacity: 1;
  transform: scale(1.1) rotate(90deg);
  color: var(--color-red);
}

/* モーダルのコンテンツコンテナ（浮き出る動き） */
.modal-container {
  position: relative;
  z-index: 210;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-modal.show .modal-container {
  transform: scale(1);
}

.modal-image-wrapper {
  background-color: var(--bg-primary);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-container img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

/* 前後ナビゲーションボタン */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(252, 250, 242, 0.15);
  color: var(--bg-primary);
  border: 1px solid rgba(252, 250, 242, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 220;
  backdrop-filter: blur(4px);
}

.modal-nav-btn:hover {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: var(--bg-primary);
}

.modal-nav-btn.prev {
  left: -70px;
}

.modal-nav-btn.next {
  right: -70px;
}

/* カウンター表示 */
.modal-counter {
  margin-top: 15px;
  color: var(--bg-primary);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 4px 16px;
  border-radius: 20px;
}

/* モバイルでのモーダル調整 */
@media (max-width: 991px) {
  .menu-detail-buttons {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .modal-nav-btn.prev {
    left: 10px;
  }
  .modal-nav-btn.next {
    right: 10px;
  }
  .modal-close-btn {
    top: 15px;
    right: 15px;
    font-size: 2.5rem;
  }
  .modal-container {
    max-width: 95%;
  }
}

/* -----------------------------------------
   Contact Section
----------------------------------------- */
.contact-section {
  padding: 140px 24px;
  background-color: var(--bg-secondary);
}

.contact-section .container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.caution-text {
  color: var(--color-red);
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

.contact-form {
  background-color: var(--bg-primary);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  border: 1px solid rgba(45, 39, 34, 0.04);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group .required {
  background-color: var(--color-red);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(45, 39, 34, 0.15);
  background-color: var(--bg-primary);
  color: var(--text-main);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(43, 78, 54, 0.1);
}

.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 18px;
}

/* -----------------------------------------
   Footer
----------------------------------------- */
.site-footer {
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 80px 24px 40px;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(252, 250, 242, 0.1);
  padding-bottom: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--bg-primary);
}

.footer-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-sns {
  display: flex;
  gap: 16px;
}

.footer-sns a {
  text-decoration: underline;
}

/* -----------------------------------------
   Floating Pagetop Button
----------------------------------------- */
.pagetop-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagetop-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop-btn:hover {
  background-color: var(--color-red);
  transform: translateY(-3px);
}

/* -----------------------------------------
   Responsive Design (Smartphone priority)
----------------------------------------- */
@media (max-width: 991px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 60px;
    overflow: hidden;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-bg-accent {
    width: 100%;
    height: 60%;
    bottom: 0;
    top: auto;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
  }

  /* ヒーロービジュアルの高さをスマホ向けに調整 */
  .hero-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-visual .visual-wrapper {
    height: 380px;
  }

  .about-section {
    padding: 80px 24px;
    overflow: hidden; /* 装飾の葉っぱが画面外にはみ出して横スクロールするのを防ぐ */
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image {
    height: 320px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }
  
  .about-image .deco-leaf.leaf-1 {
    right: -15px;
    bottom: -30px;
    width: 80px;
    height: 120px;
  }

  .timeline-container {
    padding: 20px 0;
  }

  .timeline-line {
    left: 20px;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .timeline-item.alt {
    direction: ltr;
  }
  
  .timeline-item.alt .timeline-content,
  .timeline-item.alt .timeline-image {
    direction: ltr;
  }
  
  .timeline-number {
    left: 20px;
    top: -10px;
    transform: translate(-50%, 0);
  }
  
  .timeline-content {
    margin-left: 35px;
    padding: 24px 20px;
  }
  
  .timeline-image {
    margin-left: 35px;
    height: 180px;
  }

  .info-section {
    padding: 80px 24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-map {
    height: 350px;
  }

  .contact-section {
    padding: 80px 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .title-main {
    font-size: 2rem;
    white-space: nowrap;
  }

  .accent-text {
    font-size: 0.75rem;
  }
  
  .message-section {
    padding: 80px 24px;
  }

  .message-container {
    flex-direction: column;
    gap: 24px;
  }
  
  .vertical-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-left: none;
    border-bottom: 2px solid var(--color-red);
    padding-left: 0;
    padding-bottom: 8px;
    font-size: 1.5rem;
    white-space: nowrap;
    text-align: left;
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .details-title {
    font-size: 1.4rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }

  /* モバイル用の予約ボタン並び */
  .booking-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .booking-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: 0.95rem;
  }
  
  .contact-form {
    padding: 24px 16px;
  }
  
  .info-table th, .info-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  
  .info-table th {
    width: 100px;
  }

  /* モバイルでのギャラリー表示調整 */
  .gallery-section {
    padding: 80px 24px;
  }
  
  .gallery-grid {
    gap: 16px;
    padding: 10px 5px; /* パディングを縮小 */
  }

  .gallery-item {
    flex: 0 0 220px; /* スマホ向けに横幅を縮小 */
  }

  .gallery-item img {
    height: 240px;
  }

  .gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .title-main {
    font-size: 2.2rem;
  }
  
  .lead-phrase {
    font-size: 1.3rem;
  }
  
  .btn {
    width: 100%;
  }

  /* 極小スマホ画面での横スクロール微調整 */
  .gallery-grid {
    gap: 12px;
    padding: 10px 5px;
  }

  .gallery-item {
    flex: 0 0 180px; /* さらに横幅を小さくしてスワイプしやすく */
  }

  .gallery-item img {
    height: 200px;
  }

  .gallery-item:hover {
    transform: translateY(-2px) scale(1.01);
  }
}
