/* ============================================================
   LUMIÈRE — Luxury Esthetic & Spa | style.css
   ============================================================ */

:root {
  --cream:   #faf7f2;
  --cream-2: #f2ece2;
  --cream-3: #e8dfd2;
  --white:   #ffffff;
  --charcoal:#2c2820;
  --brown:   #6b5a47;
  --gold:    #b89870;
  --gold-2:  #cdb08a;
  --gold-3:  #9a7c58;
  --gray:    #9a9288;
  --border:  rgba(107,90,71,0.14);
  --border-s:rgba(107,90,71,0.28);

  --ff-en:  'Cormorant Garamond', 'Times New Roman', serif;
  --ff-ja:  'Noto Serif JP', 'Yu Mincho', serif;
  --ff-mono:'Montserrat', sans-serif;

  --ease:   cubic-bezier(.25,.46,.45,.94);
  --max-w:  1200px;
  --header-h:72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--ff-ja);
  font-weight: 300;
  line-height: 1.9;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 120px 0; }

.section-label {
  font-family: var(--ff-mono);
  font-weight: 300;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-ja);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-sub {
  font-size: .88rem;
  color: var(--brown);
  max-width: 520px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 72px; }
.body-text { font-size: .93rem; color: var(--brown); line-height: 2; margin-bottom: 20px; }

.btn-primary {
  display: inline-block;
  padding: 14px 44px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: .76rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .3s var(--ease);
}
.btn-primary:hover { background: var(--gold-3); }

.btn-ghost {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid var(--border-s);
  color: var(--charcoal);
  font-family: var(--ff-mono);
  font-size: .76rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-full { width: 100%; text-align: center; padding: 16px; }

[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-anim="fade"] { transform: none; }
[data-anim].visible { opacity: 1; transform: translateY(0); }

/* ─── DEMO BAR ─────────────────────────────────────────── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.7rem; color: rgba(44,40,32,0.45);
}
.demo-badge {
  font-family: var(--ff-mono); font-size: 0.54rem;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(184,152,112,0.15); color: var(--gold-3);
  padding: 3px 10px; flex-shrink: 0;
}
.demo-link { color: var(--gold-3); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(44,40,32,0.25); font-size: 0.62rem; margin-left: 4px; }
@media(max-width:640px){ .demo-copy { display: none; } }

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.header-logo { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.logo-en {
  font-family: var(--ff-en);
  font-size: 1.5rem; font-weight: 400; letter-spacing: .2em;
  color: var(--charcoal);
}
.logo-tagline {
  font-family: var(--ff-mono);
  font-size: .5rem; font-weight: 300; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gray);
}
.header-nav { display: flex; gap: 36px; margin-left: auto; }
.header-nav a {
  font-family: var(--ff-mono); font-size: .7rem; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brown);
  transition: color .3s;
}
.header-nav a:hover { color: var(--charcoal); }
.btn-reserve-header {
  display: inline-block; padding: 9px 22px;
  border: 1px solid var(--border-s);
  font-family: var(--ff-mono); font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--charcoal);
  flex-shrink: 0; transition: background .3s, color .3s;
}
.btn-reserve-header:hover { background: var(--charcoal); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--charcoal); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 8s var(--ease);
}
.hero.loaded .hero-bg img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.06) 40%,
    rgba(250,247,242,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 120px 24px 80px; max-width: 800px;
}
.hero-eyebrow {
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 200;
  letter-spacing: .35em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
  opacity: 0; animation: hFade 1.2s .3s var(--ease) forwards;
}
.hero-title {
  margin-bottom: 28px;
  opacity: 0; animation: hUp 1.2s .6s var(--ease) forwards;
}
.ht-en {
  display: block; font-family: var(--ff-en);
  font-size: clamp(4rem, 12vw, 9rem); font-weight: 300;
  letter-spacing: .2em; line-height: 1; color: var(--charcoal);
}
.ht-ja {
  display: block; font-family: var(--ff-ja);
  font-size: clamp(.9rem, 2vw, 1.2rem); font-weight: 300;
  letter-spacing: .2em; color: var(--brown); margin-top: 14px;
}
.hero-desc {
  font-size: clamp(.85rem, 1.5vw, 1rem); line-height: 2.2;
  color: var(--brown); margin-bottom: 48px;
  opacity: 0; animation: hUp 1.2s .9s var(--ease) forwards;
}
.hero-cta {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: hUp 1.2s 1.1s var(--ease) forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gray);
  opacity: 0; animation: hFade 1.2s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold-3), transparent);
  animation: scrollAnim 2s 2s infinite;
}
@keyframes hFade { to { opacity: 1; } }
@keyframes hUp   { to { opacity: 1; transform: translateY(0); } }
.hero-title, .hero-desc, .hero-cta { transform: translateY(20px); }
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── LEAD ──────────────────────────────────────────────── */
.lead-section { padding: 80px 0 0; background: var(--white); }
.lead-text {
  font-family: var(--ff-ja); font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300; line-height: 2.4; text-align: center;
  color: var(--charcoal); letter-spacing: .08em;
}
.lead-line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 48px auto 0;
}

/* ── ABOUT ─────────────────────────────────────────────── */
.about-section { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px;
}
.badge-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-ja); font-size: .84rem; color: var(--brown);
  padding: 12px 16px; background: var(--white); border: 1px solid var(--border);
}
.badge-icon { color: var(--gold); font-size: .7rem; }
.about-img-wrap { position: relative; aspect-ratio: 4/5; }
.about-img-main { width: 84%; height: 100%; overflow: hidden; }
.about-img-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.about-img-main:hover img { transform: scale(1.04); }
.about-img-sub {
  position: absolute; bottom: -28px; right: 0;
  width: 46%; aspect-ratio: 1; overflow: hidden;
  border: 4px solid var(--cream);
}
.about-img-sub img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.about-img-sub:hover img { transform: scale(1.06); }

/* ── MENU ──────────────────────────────────────────────── */
.menu-section { background: var(--white); }
.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-bottom: 60px;
}
.menu-card { background: var(--cream); overflow: hidden; transition-delay: var(--delay, 0s); }
.menu-img { aspect-ratio: 16/9; overflow: hidden; }
.menu-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.menu-card:hover .menu-img img { transform: scale(1.05); }
.menu-body { padding: 28px 32px 32px; }
.menu-cat {
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px;
}
.menu-name { font-family: var(--ff-ja); font-size: 1.15rem; font-weight: 400; margin-bottom: 10px; }
.menu-desc { font-size: .84rem; color: var(--brown); line-height: 1.9; margin-bottom: 20px; }
.menu-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.menu-time { font-family: var(--ff-mono); font-size: .72rem; color: var(--gray); }
.menu-price { font-family: var(--ff-en); font-size: 1.3rem; font-weight: 400; color: var(--charcoal); }
.menu-cta { text-align: center; padding: 48px; background: var(--cream-2); }
.menu-cta p { font-size: .9rem; color: var(--brown); margin-bottom: 24px; }

/* ── FEATURE STRIP ──────────────────────────────────────── */
.feature-strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.fs-img { overflow: hidden; }
.fs-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.fs-img:hover img { transform: scale(1.04); }
.fs-text {
  background: var(--cream-3);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
}
.fs-title {
  font-family: var(--ff-ja);
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300;
  line-height: 1.6; margin-bottom: 28px;
}

/* ── GALLERY ───────────────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
}
.gallery-item { overflow: hidden; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

/* ── FLOW ──────────────────────────────────────────────── */
.flow-section { background: var(--cream); }
.flow-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.flow-step {
  background: var(--white); padding: 44px 32px;
  transition-delay: var(--delay, 0s);
  border-top: 2px solid transparent;
  transition: border-color .3s;
}
.flow-step:hover { border-top-color: var(--gold); }
.step-num {
  font-family: var(--ff-en); font-size: 3rem; font-weight: 300;
  color: var(--cream-3); line-height: 1; margin-bottom: 20px;
}
.step-title { font-family: var(--ff-ja); font-size: 1.05rem; font-weight: 400; margin-bottom: 12px; }
.step-desc { font-size: .84rem; color: var(--brown); line-height: 1.9; }

/* ── RESERVE ────────────────────────────────────────────── */
.reserve-section { background: var(--white); }
.reserve-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.ri-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.ri-label {
  font-family: var(--ff-mono); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.ri-val { font-size: .9rem; color: var(--brown); line-height: 1.7; }
.reserve-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--ff-mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal);
}
.req { font-size: .6rem; color: var(--gold); margin-left: 8px; }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--cream); border: 1px solid var(--border);
  color: var(--charcoal); font-family: var(--ff-ja); font-size: .9rem;
  padding: 12px 16px; outline: none; transition: border-color .3s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--gold-3); }
.form-row textarea { resize: vertical; min-height: 100px; }

/* ── ACCESS ─────────────────────────────────────────────── */
.access-section { background: var(--cream-2); }
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.map-placeholder {
  aspect-ratio: 4/3; background: var(--cream-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .14em;
}
.access-dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: start; }
.access-dl dt {
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); padding-top: 2px; white-space: nowrap;
}
.access-dl dd { font-size: .9rem; color: var(--brown); line-height: 1.8; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal); padding: 60px 0 40px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-brand .logo-en { color: var(--cream); }
.footer-brand .logo-tagline { color: var(--gray); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.footer-nav a {
  font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray); transition: color .3s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-copy { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .1em; color: var(--gray); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-grid .about-text { order: 1; }
  .about-grid .about-img-wrap { order: 0; max-width: 540px; margin: 0 auto; }
  .feature-strip { grid-template-columns: 1fr; min-height: auto; }
  .fs-text { padding: 60px 40px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .reserve-grid, .access-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }

  /* フルスクリーンオーバーレイナビ */
  .header-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: fixed;
    inset: 0;
    background: #faf7f2;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .header-nav.nav-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .header-nav a {
    font-family: var(--ff-en);
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 300;
    letter-spacing: .12em;
    color: var(--brown);
    padding: 18px 0;
    border-bottom: 1px solid rgba(107,90,71,.12);
    width: 72%;
    text-align: center;
    transition: color .25s;
  }
  .header-nav a:first-child { border-top: 1px solid rgba(107,90,71,.12); }
  .header-nav a:hover, .header-nav a.active { color: var(--gold); }

  .btn-reserve-header { display: none; }
  .hamburger { display: flex; z-index: 1100; position: relative; }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hamburger span { transition: transform .3s ease, opacity .3s ease; }

  /* メニュー展開時: backdrop-filter を無効化してスタッキングコンテキスト問題を回避 */
  .site-header.menu-active {
    background: #faf7f2 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
  }

  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gi-tall { grid-row: span 1; }
  .flow-steps { grid-template-columns: 1fr; gap: 2px; }
  .hero-content { padding: 100px 20px 60px; }
  .ht-en { font-size: 3.5rem; }
  .fs-text { padding: 48px 24px; }
  .lead-text { font-size: .95rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gi-wide { grid-column: span 1; }
  .about-badges { grid-template-columns: 1fr; }
}
