/* ===== Variables ===== */
:root {
  --color-bg:      #0d0d0d;
  --color-surface: #1a1a1a;
  --color-border:  #2a2a2a;
  --color-text:    #f5f0e8;
  --color-muted:   #888888;
  --color-accent:  #C0392B;
  --color-accent-dim: rgba(192, 57, 43, 0.15);

  --font-serif: 'Noto Serif JP', serif;
  --font-sans:  'Noto Sans JP', sans-serif;

  --container: 1080px;
  --section-gap: 120px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ===== Utility ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-gap) 0; }
.section-label {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-align: center;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 56px;
}
.muted { color: var(--color-muted); }

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  transition: background 0.4s ease, padding 0.4s ease;
}
.header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text);
  flex-shrink: 0;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--color-text); }
.btn-reserve {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.btn-reserve:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/exterior.jpg');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 24px;
  white-space: nowrap;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.45;
  margin-bottom: 48px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: opacity 0.25s, transform 0.25s;
}
.btn-hero:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-icon { display: flex; align-items: center; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  z-index: 1;
}
.hero-scroll span {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-accent));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ===== Concept ===== */
.concept { position: relative; }
.concept-body {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 2.2;
  color: rgba(245, 240, 232, 0.85);
}
.concept-body p + p { margin-top: 1.5em; }
.concept-accent {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

/* ===== Gallery ===== */
.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}
.gallery-track-wrap {
  overflow: hidden;
  flex: 1;
}
.gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item {
  flex: 0 0 calc(100% / 3);
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(13,13,13,0.7);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
  position: relative;
}
.gallery-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.gallery-arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ===== Info ===== */
.info { border-top: 1px solid var(--color-border); }
.info-table {
  max-width: 640px;
  margin: 0 auto;
}
.info-table dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
}
.info-table dt,
.info-table dd {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.info-table dt {
  color: var(--color-muted);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}
.info-table dd { padding-left: 16px; }

.tel-link {
  color: var(--color-text);
  transition: color 0.2s;
}
.tel-link:hover { color: var(--color-accent); }

.link-accent {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(192, 57, 43, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.link-accent:hover { border-color: var(--color-accent); }

/* ===== Access ===== */
.access { border-top: 1px solid var(--color-border); }
.access-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.access-addr {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 24px;
}
.btn-map {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn-map:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.map-wrap {
  border-radius: 2px;
  overflow: hidden;
  filter: grayscale(60%) contrast(1.1);
}
.map-wrap iframe { display: block; }

/* ===== Footer ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}
.footer-ig {
  display: inline-block;
  color: var(--color-muted);
  margin-bottom: 40px;
  transition: color 0.2s;
}
.footer-ig:hover { color: var(--color-accent); }
.footer-copy {
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* ===== Floating Reserve Button (mobile) ===== */
.fab-reserve {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.4);
  transition: opacity 0.25s, transform 0.25s;
}
.fab-reserve:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  animation: lbFadeIn 0.2s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 64px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; border-color: var(--color-accent); }

/* ===== System ===== */
.system {
  border-top: 1px solid var(--color-border);
  position: relative;
  background-image: url('../images/system-bg.jpg');
  background-size: cover;
  background-position: center;
}
.system::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.75);
  z-index: 0;
}
.system .container { position: relative; z-index: 1; }
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.system-item {
  background: #2c2c2c;
  padding: 48px 32px;
  text-align: center;
}
.system-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.system-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.system-value strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1.2;
}
.system-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 8px;
}
.system-note--highlight {
  font-size: 0.78rem;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  margin-top: 4px;
}
.drink-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.drink-list span {
  font-size: 0.75rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.drink-list em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--color-muted);
  margin-top: 1px;
}

.flow-wrap {
  margin-top: 56px;
  text-align: center;
}
.flow-label {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.flow-img {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 2px;
}

.premium-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
}
.premium-list span {
  font-size: 0.72rem;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* ===== Reservation ===== */
.reservation { border-top: 1px solid var(--color-border); }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.plan-card {
  background: #2c2c2c;
  border: 1px solid var(--color-border);
  padding: 48px 32px;
  text-align: center;
  transition: border-color 0.25s;
}
.plan-card:hover { border-color: var(--color-accent); }
.plan-time {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.plan-price {
  font-family: var(--font-serif);
  margin-bottom: 16px;
  line-height: 1;
}
.plan-price strong {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--color-accent);
}
.plan-price span {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.plan-detail {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}
.plan-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  margin-bottom: 56px;
}
.reservation-cta { text-align: center; }
.btn-reservation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  transition: opacity 0.25s, transform 0.25s;
  margin-bottom: 20px;
}
.btn-reservation:hover { opacity: 0.88; transform: translateY(-2px); }
.reservation-cta-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .header { padding: 16px 20px; }
  .header.scrolled { padding: 12px 20px; }
  .nav { display: none; }
  .btn-reserve { display: none; }

  .fab-reserve { display: block; }

  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }

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

  .plan-grid { grid-template-columns: 1fr; max-width: 360px; }

  .gallery-item { flex: 0 0 50%; }

  .info-table dl { grid-template-columns: 80px 1fr; }
  .info-table dt, .info-table dd { padding: 16px 0; }

  .access-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

@media (max-width: 480px) {
  .gallery-item { flex: 0 0 50%; }
  .gallery-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .hero-title { font-size: 2rem; }
  .system-item { padding: 36px 24px; }
  .plan-card { padding: 36px 24px; }
}
