/* ===================================================================
   酒処あかり — style.css
   Theme: 昭和レトロ × モダン居酒屋 / 朱 × 黒 × 金
   =================================================================== */

/* --------------- CSS Variables --------------- */
:root {
  --header-h: 112px;

  /* Theme Colors — 温かい居酒屋カラー */
  --primary:        #C8392A;   /* 提灯の朱色 */
  --primary-hover:  #A8301F;
  --primary-soft:   #FFEEEB;
  --primary-ink:    #fff;

  --gold:           #C4872A;   /* 琥珀・燗酒色 */
  --gold-hover:     #A36D1C;
  --gold-soft:      #FFF3DC;

  --dark:           #1E1208;   /* 焼き木のような深茶 */
  --dark-2:         #2B1A0E;
  --dark-3:         #3A2410;

  --warm-bg:        #FBF5EE;   /* 和紙のような温かいクリーム */
  --warm-section:   #F5E8D6;   /* 提灯の灯りが落ちる橙クリーム */
  --warm-dark:      #4A2E14;   /* 深い木目茶 */

  --text:           #2A1A0A;
  --text-muted:     #7A5C44;
  --bg:             #FBF5EE;
  --bg-alt:         #FFFFFF;
  --bg-warm:        #F5E8D6;

  /* Timing */
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
}


/* --------------- Reset & Base --------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }


/* --------------- Page Loader --------------- */

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-quint), visibility 0.6s;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  color: #fff;
}

.loader-logo {
  font-size: 28px;
  letter-spacing: 0.25em;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0;
  animation: loaderFadeIn 0.5s 0.2s var(--ease-out-quint) forwards;
}

.loader-logo span {
  color: var(--gold);
}

.loader-bar-wrap {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  width: 0;
  animation: loaderBar 0.8s 0.3s var(--ease-out-quint) forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

@keyframes loaderBar {
  to { width: 100%; }
}


/* --------------- Layout Helpers --------------- */

.section {
  padding: 72px 16px;
  scroll-margin-top: var(--header-h);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  font-size: 30px;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
}

/* 金のアンダーライン装飾 */
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 24px;
  border-radius: 2px;
  transition: width 0.5s var(--ease-out-quint);
}

.is-inview .section-title::after {
  width: 60px;
}

.section-lead {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
  line-height: 1.8;
}

.more-link {
  text-align: center;
  margin-top: 32px;
}

.page-title {
  font-size: 28px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-align: center;
  position: relative;
}

.page-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 24px;
  border-radius: 2px;
  transition: width 0.5s var(--ease-out-quint);
}

.is-inview .page-title::after {
  width: 60px;
}

.page-lead {
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.8;
}


/* --------------- Scroll Reveal --------------- */

body.is-home .section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-quint), transform 0.7s var(--ease-out-quint);
  will-change: opacity, transform;
}

body.is-home .section.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* 下層ページ：固定ヘッダー分だけ上に余白を作る */
body:not(.is-home) main {
  padding-top: var(--header-h);
}

body:not(.is-home) .section {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #page-loader { display: none; }
}


/* --------------- Stagger Reveal Helpers --------------- */

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out-quint), transform 0.55s var(--ease-out-quint);
}

.is-inview .reveal-item { opacity: 1; transform: translateY(0); }
.is-inview .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.is-inview .reveal-item:nth-child(2) { transition-delay: 0.13s; }
.is-inview .reveal-item:nth-child(3) { transition-delay: 0.21s; }
.is-inview .reveal-item:nth-child(4) { transition-delay: 0.29s; }


/* --------------- Buttons --------------- */

.btn-primary,
.btn-secondary,
.btn-gold {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease-in-out);
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(200, 57, 42, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(200, 57, 42, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255,255,255,0.92);
  color: var(--primary);
  border-color: rgba(255,255,255,0.9);
}

.btn-secondary:hover {
  background-color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ヒーロー以外（明るい背景上）での見た目を上書き */
.section .btn-secondary,
.reserve-block .btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.section .btn-secondary:hover,
.reserve-block .btn-secondary:hover {
  background-color: var(--primary-soft);
}

.btn-gold {
  background-color: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}


/* --------------- Page Top Button --------------- */

.page-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  font-size: 35px;
  line-height: 1;
  z-index: 900;
  opacity: 0;
  transform: translateY(10px) scaleX(1.6);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.page-top.is-show {
  opacity: 1;
  transform: translateY(0) scaleX(1.6);
  pointer-events: auto;
}

.page-top:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}


/* --------------- Header --------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(160, 105, 28, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 220, 140, 0.20);
}

.site-header.is-scrolled {
  background: rgba(80, 45, 8, 0.93);
  border-bottom-color: rgba(201, 168, 76, 0.30);
}

/* 下層ページではスクロール前から濃い色を適用 */
body:not(.is-home) .site-header {
  background: rgba(80, 45, 8, 0.93);
  border-bottom-color: rgba(201, 168, 76, 0.30);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.4);
}

.site-logo .logo-accent {
  color: var(--gold);
}

.site-tagline {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tel {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.tel-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.tel-number {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}

.tel-number:hover { color: var(--gold); }

.header-reserve { font-size: 13px; }

/* Global Nav */
.global-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.global-nav ul {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.global-nav a {
  display: block;
  padding: 6px 0;
  font-size: 12.5px;
  color: #fff;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.global-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease-out-quint);
}

.global-nav a:hover { color: #fff; }
.global-nav a:hover::after { width: 100%; }
.global-nav a[aria-current="page"] { color: var(--gold); }

.header-only-desktop { display: block; }


/* --------------- Hamburger --------------- */

.nav-toggle {
  display: none !important;
  width: 44px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}


/* --------------- Drawer --------------- */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(84vw, 360px);
  background: rgb(195, 148, 72);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.25s var(--ease-out-quint);
  z-index: 1001;
  padding: 18px 18px 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}

.drawer.is-open { transform: translateX(0); }

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  display: block;
  color: rgba(255,255,255,0.8);
}

.drawer-brand {
  text-align: center;
  padding: 20px 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 8px;
}

.drawer nav ul { padding: 8px 0; }

.drawer nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: color 0.2s, padding-left 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.drawer nav a:hover {
  color: var(--gold);
  padding-left: 16px;
}

.drawer-reserve {
  margin-top: 20px;
  text-align: center;
}

.drawer-tel {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}

.drawer-tel a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 16px;
}


/* --------------- Hero --------------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 70px;
  color: #fff;
  text-align: left;
  background-color: var(--dark);
  overflow: hidden;
}

/* Hero Slideshow with Ken Burns */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  animation: kenBurns 6s linear forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.08); }
}

.hero-slide-1 { background-image: url("./images/hero-akari-1.jpg?v=3"); }
.hero-slide-2 { background-image: url("./images/hero-akari-2.jpg?v=3"); }
.hero-slide-3 { background-image: url("./images/hero-akari-3.jpg?v=3"); }

/* Dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(14,6,6,0.80) 100%
  );
  z-index: 1;
}

/* 斜め線なし：hero::after は使用しない */

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

/* Staggered hero text animation */
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  margin-bottom: 12px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp 0.7s 0.4s var(--ease-out-quint) forwards;
}

.hero-title {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,0.6);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s 0.65s var(--ease-out-quint) forwards;
}

.hero-en {
  display: block;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-top: 6px;
  text-transform: uppercase;
}

.hero-lead {
  font-size: 15px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  line-height: 1.9;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp 0.7s 0.9s var(--ease-out-quint) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.7s 1.1s var(--ease-out-quint) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.7s 1.3s var(--ease-out-quint) forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* --------------- Scroll Indicator --------------- */

.scroll-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  z-index: 3;
  opacity: 0;
  animation: heroFadeUp 0.7s 1.6s var(--ease-out-quint) forwards;
}

.scroll-indicator__text {
  font-size: 10px;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 1.8s 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; opacity: 1; }
  50%  { top: 0;     opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}


/* --------------- Topics --------------- */

.topics { background-color: var(--bg); }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.topic-card {
  background-color: var(--bg-alt);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
  border: 1px solid rgba(0,0,0,0.04);
}

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.topic-image {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out-quint);
  overflow: hidden;
}

.topic-card:hover .topic-image {
  transform: scale(1.04);
}

.topic-image-1 { background-image: url("./images/topic-nomi.jpg?v=3"); }
.topic-image-2 { background-image: url("./images/topic-motsuni.jpg?v=3"); }
.topic-image-3 { background-image: url("./images/topic-showcase.jpg?v=3"); }

.topic-card-body { padding: 16px 18px 18px; flex: 1; }

.topic-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--dark);
}

.topic-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}


/* --------------- Concept --------------- */

.concept { background-color: var(--warm-section); color: var(--text); }

.concept .section-title { color: var(--dark); }
.concept .section-title::after { background: var(--primary); }

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.concept-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.85;
}

.concept-text .text-accent {
  color: var(--primary);
  font-weight: 700;
}

.concept-image {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

.concept-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: inherit;
  pointer-events: none;
}

.concept-main-image { background-image: url("./images/concept-akari.jpg?v=3"); }

/* Stats row inside concept */
.concept-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}


/* --------------- Course --------------- */

.course { background-color: var(--bg-warm); }

.course-hero {
  margin: 0 auto 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-width: 1080px;
}

.course-hero img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  background-color: var(--bg-alt);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.course-card h2,
.course-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.45;
}

.course-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.course-lead { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

.course-list {
  font-size: 13px;
  color: #555;
  padding-left: 1.2em;
  list-style: disc;
  flex: 1;
}

.course-note {
  font-size: 13px;
  text-align: center;
  margin-top: 24px;
  color: #888;
}

.course-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
}

.badge-red {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.badge-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.course-note-small {
  font-size: 11px;
  color: #999;
  margin-top: 12px;
}

.course-badge-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.course-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.course-extra {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #8B1E15 100%);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(200,57,42,0.3);
}


/* --------------- Menu --------------- */

.menu { background-color: var(--bg); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.menu-card {
  background-color: var(--bg-alt);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.menu-image {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out-quint);
}

.menu-card:hover .menu-image { transform: scale(1.04); }

.menu-image-1 { background-image: url("./images/menu-motsuni.jpg?v=3"); }
.menu-image-2 { background-image: url("./images/menu-tebasaki.jpg?v=3"); }
.menu-image-3 { background-image: url("./images/menu-showcase.jpg?v=3"); }

.menu-card h3 {
  font-size: 15px;
  padding: 14px 16px 5px;
  color: var(--dark);
}

.menu-card p {
  font-size: 13.5px;
  padding: 0 16px 18px;
  color: var(--text-muted);
  margin: 0;
}

/* full menu page specific */
.menu-feature-image {
  margin: 18px auto 26px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 1080px;
}

.menu-feature-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}


/* --------------- Drink --------------- */

.drink { background-color: var(--bg-warm); color: var(--text); }

.drink .section-title { color: var(--dark); }
.drink .section-title::after { background: var(--gold); }
.drink .section-lead { color: var(--text-muted); }

.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.drink-card {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s;
}

.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  border-color: rgba(196,135,42,0.3);
}

.drink-image {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out-quint);
}

.drink-card:hover .drink-image { transform: scale(1.04); }

.drink-image-1 { background-image: url("./images/drink-beer.jpg?v=3"); }
.drink-image-2 { background-image: url("./images/drink-sour.jpg?v=3"); }
.drink-image-3 { background-image: url("./images/drink-shochu.jpg?v=3"); }

.drink-card h3 {
  font-size: 15px;
  padding: 14px 16px 5px;
  margin: 0;
  color: var(--dark);
}

.drink-card p {
  font-size: 13.5px;
  padding: 0 16px 18px;
  color: var(--text-muted);
  margin: 0;
}

/* drink subpage セクション間隔を詰める */
.drink-feature { padding-bottom: 36px; }
.drink-page    { padding-top: 36px; }

/* drink feature (subpage) */
.drink-feature-image {
  margin: 18px auto 26px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 1080px;
}

.drink-feature-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.drink-bottlekeep {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}


/* --------------- Space --------------- */

.space { background-color: var(--bg-warm); }

.space-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.space-text .section-title { text-align: left; }
.space-text .section-title::after { margin-left: 0; }

.space-text p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.space-image {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  transition: transform 0.5s var(--ease-out-quint);
}

.space-image:hover { transform: scale(1.015); }

.space-main-image { background-image: url("./images/space-akari.jpg?v=3"); }


/* --------------- Blog --------------- */

.blog { background-color: var(--bg); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  background: var(--bg-alt);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.blog-card a { display: block; color: inherit; }

.blog-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #f0ebe6;
  transition: transform 0.4s var(--ease-out-quint);
}

.blog-card:hover .blog-image { transform: scale(1.04); }

.blog-body { padding: 14px 16px 18px; }

.blog-date {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.blog-title {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.5;
}

.blog-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* --------------- Reserve --------------- */

.reserve { background-color: var(--warm-section); color: var(--text); }

.reserve .section-title { color: var(--dark); }
.reserve .section-title::after { background: var(--primary); }
.reserve .section-lead { color: var(--text-muted); }

.reserve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.reserve-block {
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.reserve-block:hover {
  border-color: rgba(196,135,42,0.4);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.reserve-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark);
}

.reserve-tel-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.reserve-tel-number a {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.2s;
}

.reserve-tel-number a:hover { color: #fff; }

.reserve-time {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.reserve-block p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 14px;
}


/* --------------- Access --------------- */

.access { background-color: var(--bg); }

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.shop-name {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--dark);
}

.shop-data {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  font-size: 14px;
}

.shop-data dt {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.shop-data dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.shop-data dd a {
  color: var(--primary);
  font-weight: 700;
}

.access-map {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  min-height: 380px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  flex: 1;
}


/* --------------- Footer --------------- */

.site-footer {
  background: var(--dark);
  color: #eee;
  padding: 40px 16px 20px;
  border-top: 2px solid var(--primary);
}

.footer-inner { max-width: 1080px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-brand .site-logo {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-nav {
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

.footer-contact { text-align: right; }

.footer-tel-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2px;
}

.footer-tel-number a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-reserve { margin-top: 10px; font-size: 13px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.footer-sns a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-sns a:hover { color: var(--gold); }


/* --------------- Drink Page (subpage) --------------- */

.drinkcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.drinkcat-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}

.drinkcat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.drinkcat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,57,42,0.15);
}

.drinkcat-list { font-size: 13.5px; }

.drinkcat-list li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #f0ebe6;
  color: var(--text);
}

.drinkcat-list li:last-child { border-bottom: none; }

.drinkcat-note {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
}

.price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}


/* --------------- Menu Page (subpage) --------------- */

.mp-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.mp-grid--feature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mp-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mp-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mp-card {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s var(--ease-out-quint);
}

.mp-card:hover { transform: translateY(-3px); }

.mp-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.mp-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.mp-card__note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

.mp-panel {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mp-panel__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,57,42,0.15);
}

.mp-list { font-size: 13.5px; }

.mp-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #f5f0eb;
  color: var(--text);
}

.mp-item:last-child { border-bottom: none; }
.mp-item span:last-child {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  margin-left: 8px;
}

.mp-note {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

.mp-note a { color: var(--primary); }

/* Drink panel (inside course page) */
.drink-panel {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
}

.drink-panel .drink-card {
  overflow: visible;
}

.drink-panel .drink-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  padding: 14px 16px 8px;
  margin: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.drink-panel .drink-card ul {
  list-style: none;
  padding: 10px 16px 14px;
  margin: 0;
}

.drink-panel .drink-card ul li {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

.drink-panel h3 {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--dark);
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}

.drink-note {
  font-size: 12.5px;
  color: #999;
  margin-top: 16px;
}

/* Menu page section bg alternation */
.menu-page--meat { background-color: var(--bg-warm); }
.menu-page--snack { background-color: var(--bg-alt); }

/* Blog subpage */
.blog-page { background-color: var(--bg); }

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}


/* --------------- Back to top section --------------- */

.back-to-top-home { background-color: var(--bg); }


/* --------------- Responsive --------------- */

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .header-only-desktop { display: none; }
  .nav-toggle { display: inline-flex !important; }

  .header-inner { padding: 10px 14px; }

  .site-logo { font-size: 18px; }
  .site-tagline { display: none; }

  .hero-title { font-size: 32px; }
  .hero::after { height: 60px; }

  /* コンテンツ下部にSCROLL分の余白を確保 */
  .hero-inner {
    padding-bottom: 100px;
  }

  .scroll-indicator {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .topics-grid,
  .menu-grid,
  .drink-grid,
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .concept-inner,
  .space-inner,
  .reserve-grid,
  .access-grid { grid-template-columns: 1fr; }

  .concept-inner { gap: 28px; }
  .space-inner { gap: 24px; }
  .space-text .section-title { text-align: center; }
  .space-text .section-title::after { margin: 12px auto 24px; }

  .concept-stats { justify-content: center; }

  .access-map { min-height: 0; }
  .access-map iframe { height: 300px; flex: none; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }

  .drinkcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-grid--feature,
  .mp-grid--3,
  .mp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section { padding: 52px 14px; }
  .section-title { font-size: 24px; }

  .hero-title { font-size: 26px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero::after { display: none; }

  /* スマホ：ヘッダーに被らないよう上揃えに変更 */
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: 76px; }

  .topics-grid,
  .course-grid,
  .menu-grid,
  .drink-grid,
  .blog-grid,
  .blog-list-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .drinkcat-grid { grid-template-columns: 1fr; }
  .mp-grid--feature,
  .mp-grid--3,
  .mp-grid--4 { grid-template-columns: 1fr; }

  .concept-stats { flex-direction: column; align-items: center; }
}
