/* 012 Maison Lueur ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f6f6f4;
  --c-ink: #0e0e0e;
  --c-accent: #b9b9b9;
  --c-accent-text: #5c5c5c;
  --c-light: #e5e5e3;
  --c-line: #d4d4d2;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Serif JP", serif;
  --font-en: "Bodoni Moda", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 2; letter-spacing: .05em; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.en { font-family: var(--font-en); font-style: italic; font-size: 20px; letter-spacing: .06em; color: var(--c-accent); margin-bottom: 8px; }
.en--dark { color: var(--c-accent-text); }
.h2 { font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.6; letter-spacing: .14em; color: var(--c-ink); margin-bottom: 24px; }
.h2--light { color: #fff; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; text-decoration: none; letter-spacing: .16em; white-space: nowrap; flex: none; transition: background-color .4s, color .4s; }
.btn--white { border: 1px solid currentColor; }
.btn--white:hover { background: #fff; color: var(--c-ink); }
.btn--black { background: var(--c-ink); color: #fff; }
.btn--black:hover { background: #3a3a3a; }
.btn--lg { min-height: 62px; padding: 0 44px; font-size: 16px; margin-top: 36px; }

/* ===== ヘッダー（客席の写真の上は白い文字。スクロールで黒い帯に） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .5s; }
.header.is-scrolled { background: rgba(14, 14, 14, .94); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: baseline; gap: 8px; min-height: 48px; align-items: center; text-decoration: none; white-space: nowrap; flex: none; }
.logo__small { font-family: var(--font-en); font-style: italic; font-size: 16px; }
.logo__main { font-family: var(--font-en); font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: .3em; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; font-size: 15px; padding: 0 16px; }
@media (min-width: 1080px) {
  .header__inner { height: 88px; padding: 0 48px; }
  .gnav { display: flex; gap: 36px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; letter-spacing: .16em; }
  .header__btn { margin-left: 0; padding: 0 28px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-ink); padding: 8px 20px 28px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 54px; color: #fff; text-decoration: none; letter-spacing: .14em; border-bottom: 1px solid rgba(255, 255, 255, .15); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A04）：ロゴだけの幕（JSが is-veil を付けたときだけ） ===== */
.veil { display: none; }
.is-veil .veil { display: flex; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; background: var(--c-ink); cursor: pointer; }
.veil__logo { font-family: var(--font-en); font-weight: 500; font-size: clamp(44px, 9vw, 120px); letter-spacing: .3em; line-height: 1; color: #fff; transform-origin: 0 0; }

/* ===== メインビジュアル ===== */
.hero { position: relative; height: 100vh; min-height: 560px; background: var(--c-ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, .45) 0%, rgba(14, 14, 14, .1) 40%, rgba(14, 14, 14, .75) 100%); }
.hero__copy { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 56px; color: #fff; }
.hero__en { font-family: var(--font-en); font-style: italic; font-size: 17px; letter-spacing: .06em; color: var(--c-light); margin-bottom: 12px; }
.hero__title { font-weight: 500; font-size: clamp(32px, 5vw, 64px); line-height: 1.6; letter-spacing: .16em; }
@media (min-width: 1080px) { .hero__copy { left: 8vw; bottom: 96px; } }

/* ===== ごあいさつ ===== */
.about { padding: 112px 20px; }
.about__inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 32px; }
.about__quote { font-family: var(--font-en); font-style: italic; font-size: clamp(56px, 10vw, 140px); line-height: 1; color: var(--c-ink); }
.about__body { border-top: 1px solid var(--c-ink); padding-top: 32px; }
.about__body p + p { margin-top: 18px; }
.about__sign { text-align: right; color: var(--c-ink); letter-spacing: .2em; }
@media (min-width: 900px) { .about { padding: 180px 48px; } .about__inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

/* ===== 演出②（B01）：今宵のコース ===== */
.course { background: var(--c-ink); color: var(--c-light); padding-top: 112px; }
.course__head { padding: 0 20px 48px; max-width: 1440px; margin: 0 auto; }
.plate { display: grid; }
.plate__photo { margin: 0; overflow: hidden; }
.plate__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plate__text { padding: 32px 20px 64px; }
.plate__no { font-family: var(--font-en); font-size: 48px; line-height: 1; color: var(--c-accent); }
.plate__fr { font-family: var(--font-en); font-style: italic; font-size: 20px; color: var(--c-accent); margin-top: 8px; }
.plate h3 { font-weight: 500; font-size: 26px; letter-spacing: .14em; color: #fff; margin: 4px 0 12px; }
.course__meter { display: none; }
@media (min-width: 1080px) {
  .course { padding-top: 180px; }
  .course__head { padding: 0 8vw 64px; }
  .plate { grid-template-columns: 62% 1fr; align-items: center; }
  .plate__photo img { aspect-ratio: auto; height: 80vh; }
  .plate__text { padding: 48px 5vw; }
}
/* 動く版：画面に重ねて置き、横からの幕で入れ替える */
.is-motion .course__stage { position: relative; height: 100vh; overflow: hidden; }
.is-motion .plate { position: absolute; inset: 0; background: var(--c-ink); grid-template-rows: 52vh 1fr; align-content: start; }
.is-motion .plate__photo img { height: 100%; aspect-ratio: auto; }
.is-motion .plate__text { padding: 24px 20px 96px; }
.is-motion .course__meter { display: flex; position: absolute; z-index: 5; left: 20px; right: 20px; bottom: 24px; gap: 8px; }
.is-motion .course__meter li { flex: 1; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .3); font-family: var(--font-en); font-style: italic; font-size: 15px; color: rgba(229, 229, 227, .75); transition: color .4s, border-color .4s; }
.is-motion .course__meter li span { display: block; font-style: normal; font-size: 16px; }
.is-motion .course__meter li.is-on { color: #fff; border-top: 2px solid #fff; }
.is-motion .course__meter em { font-style: italic; }
@media (max-width: 599px) { .is-motion .course__meter em { display: none; } }
@media (min-width: 1080px) {
  .is-motion .plate { grid-template-rows: none; grid-template-columns: 62% 1fr; align-content: stretch; }
  .is-motion .plate__photo { height: 100vh; }
  .is-motion .plate__text { padding: 48px 5vw 120px; }
  .is-motion .course__meter { left: calc(62% + 5vw); right: 5vw; bottom: 48px; }
}

/* ===== 演出③（C02）：メゾンの中（円柱の内側にたわむ写真の列） ===== */
.maison { background: var(--c-bg); padding: 112px 0; overflow: hidden; }
.maison__head { padding: 0 20px; margin-bottom: 48px; max-width: 1440px; margin-left: auto; margin-right: auto; }
.maison__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 24px 0; perspective: 900px; }
.maison__track { position: relative; display: flex; gap: 16px; padding: 0 20px; width: max-content; transform-style: preserve-3d; }
.m-card { position: relative; width: 62vw; max-width: 340px; scroll-snap-align: center; transform-origin: 50% 50%; }
.m-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.m-card p { margin-top: 12px; font-family: var(--font-en); font-style: italic; font-size: 22px; color: var(--c-ink); }
.m-card p span { margin-left: 12px; font-family: var(--font); font-style: normal; font-size: 15px; color: var(--c-accent-text); }
@media (min-width: 1080px) {
  .maison { padding: 180px 0 140px; }
  .maison__head { padding: 0 8vw; }
  .maison__track { gap: 32px; padding: 0 8vw; }
  .m-card { width: 24vw; max-width: 380px; }
}
.is-motion-pc .maison__viewport { overflow: visible; scroll-snap-type: none; perspective: 1100px; }

/* ===== ご予約 ===== */
.reserve { background: #fff; padding: 112px 20px; border-top: 1px solid var(--c-line); }
.reserve__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.prices { margin: 0 0 28px; }
.prices div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); text-align: left; }
.prices dt { color: var(--c-ink); }
.prices dd { margin: 0; font-family: var(--font-en); font-size: 20px; color: var(--c-ink); white-space: nowrap; }
.rules { text-align: left; display: grid; gap: 6px; }
.rules li { padding-left: 1.4em; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: .95em; width: .8em; height: 1px; background: var(--c-ink); }

/* ===== アクセス ===== */
.access { background: var(--c-ink); color: var(--c-light); padding: 112px 20px; }
.access__inner { max-width: 960px; margin: 0 auto; }
.info { margin: 0; }
.info div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.info dt { color: #fff; letter-spacing: .14em; }
.info dd { margin: 0; }
@media (min-width: 768px) { .info div { grid-template-columns: 8em 1fr; gap: 24px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: var(--c-light); padding: 40px 20px 32px; text-align: center; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__logo { font-family: var(--font-en); font-size: 28px; letter-spacing: .2em; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* 幕のロゴは、幕が出るときだけ（JSなしの点検で隠れた文字として数えられないように） */
.veil__logo { display: none; }
.is-veil .veil__logo { display: block; }

/* PC：止めた画面の中に、写真の列と名前が収まるように */
@media (min-width: 1080px) {
  .maison { padding-top: 140px; }
  .m-card { width: min(20vw, 34vh); }
}
