@charset "UTF-8";

/* ==========================================================================
   Design System & Variable Definitions (デザインシステムと変数定義)
   ========================================================================== */
:root {
  /* Colors (カラーパレット) */
  --bg-ink: #171210;         /* 墨色・深い焦茶 */
  --bg-ink-rgb: 23, 18, 16;
  --text-main: #f0eadf;      /* オフホワイト */
  --text-muted: #cfc4b2;     /* 落ち着いた薄茶・ミスト */
  --text-muted-rgb: 207, 196, 178;
  --color-gold: #e8c87e;     /* 月の金・アクセント */
  --color-gold-hover: #f0da9e;
  
  /* Fonts & Typography */
  --font-serif: 'Noto Serif JP', 'Georgia', 'Yu Mincho', '游明朝', serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Base Styles (基本スタイル)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  background-color: var(--bg-ink);
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.08em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.container.small {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

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

/* Common Section Styles */
.tab-section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-top: 100px; /* Header space */
  padding-bottom: 80px;
  min-height: calc(100vh - 120px);
}

.tab-section.active {
  display: block;
}

.tab-section.show {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 60px;
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 15px auto 0;
  opacity: 0.6;
}

/* ==========================================================================
   Header (固定ヘッダー)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(var(--bg-ink-rgb), 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 200, 126, 0.1);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: var(--transition-smooth);
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  transition: var(--transition-smooth);
}

.header-logo:hover .nav-logo-img {
  filter: brightness(1.2);
}

.header-logo:hover .nav-logo-text {
  color: var(--text-main);
}

.header-nav {
  display: block;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 200;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
  transform-origin: center;
}

/* Active State of Hamburger (三本線の変形) */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-gold);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-gold);
}

/* Drawer Menu (スマホ用ドロワー) */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: rgba(var(--bg-ink-rgb), 0.98);
  border-left: 1px solid rgba(232, 200, 126, 0.15);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 90;
  padding: 120px 40px 40px;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drawer-menu.open {
  right: 0;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.drawer-link {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(240, 234, 223, 0.05);
}

.drawer-link.active,
.drawer-link:hover {
  color: var(--color-gold);
  border-bottom-color: rgba(232, 200, 126, 0.4);
}

/* ==========================================================================
   HOME Tab Content (HOMEタブのコンテンツ)
   ========================================================================== */
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1391/777; /* hero.webp のアスペクト比維持 */
  overflow: hidden;
  margin-top: -100px; /* Header space overlay */
  border-bottom: 1px solid rgba(232, 200, 126, 0.1);
  background-color: var(--bg-ink);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/img/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* PC表示用：左側（文字部分）を暗くし、右側（グラス部分）をクリアにする横方向のグラデーション */
.hero-bg-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(var(--bg-ink-rgb), 0.95) 0%, rgba(var(--bg-ink-rgb), 0.8) 35%, rgba(var(--bg-ink-rgb), 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-img {
  display: none; /* CSS背景画像を使用するため非表示化 */
}

.hero-copy {
  position: absolute;
  left: 30%; /* 現在の中央（50%）から少しだけ左寄りに移動（中央と左の中間あたり） */
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 800px;
}

.hero-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* 重複しているテキストの見出し「月影」は非表示（SEO上のマークアップはHTMLに保持） */
.hero-title {
  display: none;
}

.hero-copy .tagline {
  margin-top: 15px;
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  letter-spacing: 0.2em;
  line-height: 2;
  color: var(--text-muted);
}

.hero-copy .info {
  margin-top: 25px;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  letter-spacing: 0.18em;
  color: rgba(var(--text-muted-rgb), 0.85);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--bg-ink);
}

.about-text {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 2.2;
  letter-spacing: 0.15em;
  text-align: center;
  color: var(--text-main);
  opacity: 0.9;
}

/* ==========================================================================
   MENU Tab Content (MENUタブのコンテンツ)
   ========================================================================== */
/* Sub Tabs Navigation */
.submenu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(240, 234, 223, 0.1);
  padding-bottom: 20px;
}

.submenu-tab {
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.submenu-tab:hover {
  color: var(--color-gold);
}

.submenu-tab.active {
  color: var(--bg-ink);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(232, 200, 126, 0.2);
}

/* Sub Tab Content Display */
.submenu-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.submenu-content.active {
  display: block;
}

.submenu-content.show {
  opacity: 1;
  transform: translateY(0);
}

.menu-intro {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Simple Lists for Cocktail & Whisky */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 25px;
  border-left: 2px solid var(--color-gold);
  padding-left: 15px;
  line-height: 1.2;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-item-simple {
  font-size: 1rem;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(240, 234, 223, 0.15);
  transition: var(--transition-fast);
}

.menu-item-simple:hover {
  color: var(--color-gold);
  border-bottom-color: rgba(232, 200, 126, 0.4);
}

/* Detailed List for Original Cocktail */
.original-cocktails-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.menu-item-detail {
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(240, 234, 223, 0.1);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.item-name {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

.item-description {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: justify;
}

/* Food List Layout */
.food-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.food-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(240, 234, 223, 0.15);
}

.food-name {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.food-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gold);
}

/* Shared Menu Note */
.menu-note {
  font-size: 0.8rem;
  color: rgba(var(--text-muted-rgb), 0.7);
  text-align: center;
  margin-top: 40px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   GALLERY Tab Content (GALLERYタブのコンテンツ)
   ========================================================================== */
.gallery-zigzag {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.gallery-item {
  display: flex;
  align-items: center;
  gap: 5%;
}

/* Alternate Left/Right layout for gallery items */
.gallery-item:nth-child(even) {
  flex-direction: row-reverse;
}

.gallery-image-wrapper {
  flex: 0 0 55%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(240, 234, 223, 0.05);
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-image-wrapper:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-info {
  flex: 0 0 40%;
}

.gallery-item-title {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.gallery-item-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-muted);
}

/* ==========================================================================
   INFO Tab Content (INFOタブのコンテンツ)
   ========================================================================== */
.info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-logo-wrapper {
  margin-bottom: 50px;
}

.info-logo {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.info-details {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-line {
  font-size: 1.05rem;
  color: var(--text-main);
  letter-spacing: 0.1em;
}

.info-sns {
  width: 100%;
  border-top: 1px solid rgba(240, 234, 223, 0.1);
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.sns-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* Premium Button Styling */
.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding: 15px 40px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-instagram {
  color: var(--color-gold);
  border: 1px solid rgba(232, 200, 126, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-instagram:hover {
  color: var(--bg-ink);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(232, 200, 126, 0.35);
  transform: translateY(-2px);
}

.btn-instagram:active {
  transform: translateY(0);
}

/* ==========================================================================
   Footer (フッター)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(240, 234, 223, 0.05);
  padding: 40px 0;
  background-color: rgba(18, 14, 12, 0.95);
}

.copyright {
  font-size: 0.75rem;
  color: rgba(var(--text-muted-rgb), 0.5);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Responsive Styles & Media Queries (レスポンシブ対応)
   ========================================================================== */

/* Tablet & Mobile Screens (768px and down) */
@media (max-width: 768px) {
  
  /* Layout Padding Adjustments */
  .tab-section {
    padding-top: 85px;
    padding-bottom: 60px;
  }
  
  /* Header Nav Hiding & Hamburger Showing */
  .header-nav {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  /* Hero section adjustments for mobile */
  .hero {
    aspect-ratio: auto;
    height: 85vh;
    min-height: 550px;
  }
  
  .hero-bg-container {
    height: 52%; /* グラスが画面の下半分程度に収まるように高さを制限 */
    top: auto;
    bottom: 0;
    background-size: cover;
    background-position: 70% bottom; /* グラス部分にフォーカス */
  }

  /* スマホ表示用：上部（文字の背景）のみ薄暗くし、下部のグラスはクリアにする縦方向のグラデーション */
  .hero-bg-container::after {
    background: linear-gradient(to bottom, rgba(var(--bg-ink-rgb), 0.9) 0%, rgba(var(--bg-ink-rgb), 0.3) 60%, rgba(var(--bg-ink-rgb), 0) 100%);
  }
  
  .hero-copy {
    position: absolute;
    left: 50%;
    top: 42%; /* 文字群を少し下げてグラスとの余白を調整 */
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-logo {
    margin: 0 auto 15px;
    max-width: 85px;
  }

  .hero-copy .tagline {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.8;
  }

  .hero-copy .info {
    margin-top: 15px;
    font-size: 0.8rem;
  }
  
  /* Menu Subtab Layout on mobile */
  #menu .container {
    padding: 0 6%; /* メニューコンテンツの左右余白を広げる */
  }

  .menu-intro {
    font-size: 0.85rem; /* 紹介文の文字サイズを1段階小さく */
    line-height: 2.2; /* 行間をゆったりさせて読みやすく */
  }

  .submenu-tabs {
    gap: 8px;
    margin-bottom: 35px;
  }
  
  .submenu-tab {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Gallery Zigzag changes to full column stack */
  .gallery-zigzag {
    gap: 50px;
  }
  
  .gallery-item,
  .gallery-item:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .gallery-image-wrapper {
    flex: 0 0 100%;
  }
  
  .gallery-info {
    flex: 0 0 100%;
  }
  
  .gallery-item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .about-text {
    font-size: 0.82rem;
    line-height: 2;
  }
  
  .about-text br {
    display: none;
  }
}

/* Micro Devices Adjustment (480px and down) */
@media (max-width: 480px) {
  .hero {
    height: 80vh;
  }
  
  .about-text {
    text-align: left; /* 極端に狭い画面での視認性向上のため左寄せ */
    font-size: 0.78rem;
    line-height: 2;
  }
  
  .food-list {
    grid-template-columns: 1fr;
  }
  
  .item-name {
    font-size: 1rem;
  }
  
  .item-price {
    font-size: 1rem;
  }
  
  .info-line {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   FIX PACK v1.0.2  — ルカ修正分
   ① MENU 改行の安定化  ② GALLERY 画像サイズ抑制
   既存ルールを後から上書き（このブロックを消せば元に戻せます）
   ========================================================================== */

/* ① MENU: 品名と価格がぶつかって変な折り返しになるのを防ぐ */
.item-header {
  gap: 16px;
  flex-wrap: nowrap;
}
.item-name {
  flex: 1 1 auto;
  min-width: 0;          /* 長い品名でもはみ出さず自然に折り返す */
  line-height: 1.5;
}
.item-price {
  flex: 0 0 auto;        /* 価格は縮まず改行されず、常に右端で1行 */
  white-space: nowrap;
}

/* ② GALLERY: 画像が大きすぎるので幅・高さを抑える */
.gallery-image-wrapper {
  flex: 0 0 42%;         /* 55% → 42%（画面占有を抑える） */
  max-width: 42%;
}
.gallery-img {
  max-height: 460px;     /* 縦長になりすぎないよう上限 */
  object-fit: cover;     /* 枠に対して中央を切り取り、比率は崩さない */
}
.gallery-info {
  flex: 1 1 auto;        /* 画像を縮めた分テキスト側が自然に広がる */
}

/* スマホ: 画像の高さだけ抑える（縦並びは既存のまま） */
@media (max-width: 768px) {
  .gallery-image-wrapper {
    flex: 0 0 100%;
    max-width: 100%;     /* PC用の42%制限を打ち消す */
  }
  .gallery-img {
    max-height: 300px;
  }
}

/* ==========================================================================
   FIX PACK v1.1.0  — ヒーロー液体エフェクト
   グラスの液体部分にだけ、色のとろみ＋ラメを合成する
   ========================================================================== */

/* エフェクト層：背景画像と完全に同じ拡大・位置に重ねる土台 */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 2;            /* 画像(::after gradient z1)より上、コピー(z5)より下 */
  pointer-events: none;
  overflow: hidden;
}
/* 内部に、background-image と同設定の擬似背景を持たせて
   「画像のどこが画面上のどこに来るか」をcanvas配置の基準にする */
.hero-fx::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;            /* 基準に使うだけなので不可視 */
}

/* 液体ゾーン：画像内 left60.5% top62.5% w20% h22% に相当する位置。
   cover基準に合わせるため、hero-fx を基準にした％で配置 */
.liquid-zone {
 position: absolute;
  left: 60.5%;
  top: 51%;        /* 大きく上げる */
  width: 20%;
  height: 33%;     /* 高さもしっかり足す */
  overflow: hidden;
 clip-path: polygon(
  0% 0%,
  50% 12%,
  100% 0%,
  100% 82%,    /* 右下：少し上げる */
  50% 100%,    /* 下中央：一番下（底のカーブの底） */
  0% 82%       /* 左下：少し上げる */
);
  /* coverで画像が縦に拡大される分の補正は JS 側で再計算する */
}
.liquid-zone #liquid {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;   /* 黒=透明。写真の氷やガラスはそのまま透ける */
}

/* かき混ぜ操作の受付（グラス周辺、少し広め） */
.stir-zone {
  position: absolute;
  left: 56%;
  top: 52%;
  width: 30%;
  height: 40%;
  z-index: 6;
  cursor: crosshair;
}

/* カクテルカラー切り替え */
.palette {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(240,234,223,0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), var(--c) 55%);
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.swatch:hover { transform: scale(1.15); }
.swatch.active {
  border-color: var(--color-gold);
  box-shadow: 0 0 10px var(--c);
  transform: scale(1.2);
}
.palette-name {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  text-transform: uppercase;
}
.stir-hint {
  position: absolute;
  left: 71%;
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: clamp(0.55rem, 1.1vw, 0.72rem);
  letter-spacing: 0.2em;
  color: rgba(240, 236, 228, 0.932);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  white-space: nowrap;
  pointer-events: none;
}

/* スマホ: 背景は 70% bottom / 高さ52% で表示されるため、
   液体ゾーンもそれに合わせて再配置（JSで最終補正） */
@media (max-width: 768px) {
  .hero-fx {
    height: 52%;
    top: auto;
    bottom: 0;
  }
  .hero-fx::before {
    background-position: 70% bottom;
  }
  /* スマホは別途JSで座標を計算するためここでは大枠のみ */
  .stir-zone {
    left: 50%; top: 55%;
    width: 70%; height: 40%;
  }
  .stir-hint { display: none; }  /* スマホは省略してすっきり */
  .palette { margin-top: 18px; }

  /* ロゴ上の余白が広すぎる問題：文字群を少し上へ詰める */
  .hero-copy {
    top: 32% !important;
  }
}
