/* 106 酒と肴 汐見 — K05 ページ全体が横に進む（綺麗系）。
   PC（JSあり・高さ600px以上）だけ .is-hz が付き、6つの面が横一列になる。スマホ・JSなしは縦に並ぶ。
   色と書体は共通の13変数だけ。藍墨の面は .is-ink が同じ名前の変数を上書きする */
:root {
  --c-bg: #f4f2ec;
  --c-bg-alt: #e8edf3;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #7f93ab;
  --c-accent: #3d6fa8;
  --c-accent-text: #24527f;
  --c-on-accent: #ffffff;
  --c-2: #9cc3e6;
  --c-3: #14233a;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-head: "Kaisei Decol", "Noto Sans JP", serif;
  --font-en: "Italiana", "Noto Sans JP", serif;
  --header-h: 64px;
}
.is-ink { --c-bg: #14233a; --c-bg-alt: #1c3150; --c-text: #e8edf3; --c-sub: #c5d0de; --c-line: #5b7595; --c-accent: #9cc3e6; --c-accent-text: #9cc3e6; --c-on-accent: #14233a; --c-3: #f4f2ec; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 2; overflow-x: hidden; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 30; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; color: var(--c-3); white-space: nowrap; flex: none; }
.logo__ja { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.logo__en { font-family: var(--font-en); font-size: 15px; letter-spacing: .3em; color: var(--c-accent-text); line-height: 1.2; }
.gnav { display: none; }
.header__btn { min-height: 44px; padding: 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-ja); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; border: 0; border-radius: 0; }
.btn--lg { min-height: 56px; padding: 0 36px; }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-3); }
.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; right: 0; top: 100%; width: min(100%, 380px); background: var(--c-bg); border: 1px solid var(--c-line); padding: 8px 24px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-3); text-decoration: none; border-bottom: 1px solid var(--c-line); }

/* ===== 面の共通（スマホ・JSなし：縦に並ぶ） ===== */
.track { position: relative; }
.panel { position: relative; background: var(--c-bg); color: var(--c-text); padding: 64px 20px; }
.body > * + * { margin-top: 18px; }
.en { font-family: var(--font-en); font-size: 17px; letter-spacing: .24em; color: var(--c-accent-text); }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 8.4vw, 44px); line-height: 1.4; letter-spacing: .06em; color: var(--c-3); }
.ph { overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.panel + .panel { border-top: 1px solid var(--c-line); }
.ribbon { display: none; }

/* 1 文字が主役：汐・見 */
.p-hero { display: flex; flex-direction: column; padding: 28px 20px 56px; min-height: calc(100svh - var(--header-h)); }
.glyph-row { display: contents; }
.p-hero { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "l t r" "x x x"; align-items: center; align-content: start; gap: 0 4px; }
.glyph { font-family: var(--font-head); font-weight: 700; font-size: clamp(96px, 30vw, 200px); line-height: 1; color: var(--c-3); display: block; }
.glyph--l { grid-area: l; text-align: right; }
.glyph--r { grid-area: r; text-align: left; }
.tokkuri { grid-area: t; width: clamp(70px, 22vw, 150px); }
.hero__text { grid-area: x; margin-top: 28px; text-align: center; }
.hero__text > * + * { margin-top: 14px; }
.hero__copy { font-family: var(--font-head); font-weight: 500; font-size: 28px; line-height: 1.5; letter-spacing: .1em; color: var(--c-3); }
.hero__sub { color: var(--c-sub); }
.hero__hint { display: none; color: var(--c-sub); }
.p-hero::after { content: ""; grid-column: 1 / -1; height: 12px; width: min(70%, 280px); margin: 36px auto 0; background: linear-gradient(90deg, var(--c-bg-alt), var(--c-accent) 55%, var(--c-2)); }

/* 2 席 */
.p-seat { display: grid; gap: 28px; }
.p-seat .ph { aspect-ratio: 3 / 2; }
.p-menu { display: grid; gap: 28px; background: var(--c-bg-alt); }
.p-menu .ph { aspect-ratio: 3 / 2; }
.menu > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.menu dt { color: var(--c-3); }
.menu dd { font-family: var(--font-en); letter-spacing: .08em; white-space: nowrap; color: var(--c-sub); }
.note { color: var(--c-sub); font-size: 15px; }
.p-sake { display: grid; gap: 28px; }
.p-sake .ph { aspect-ratio: 4 / 5; max-width: 420px; }
.p-eight { background: var(--c-bg); }
.eight { font-family: var(--font-en); font-size: 200px; line-height: 1; color: var(--c-accent); margin-bottom: 8px; }
.seats { display: flex; gap: 10px; flex-wrap: wrap; }
.seats li { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-accent); }
.seats li:nth-child(-n+3) { background: var(--c-accent); }
.tel { font-family: var(--font-en); font-size: 17px; letter-spacing: .1em; color: var(--c-sub); }
.tel span { font-size: 26px; color: var(--c-3); letter-spacing: .12em; }
.info > div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.info dt { color: var(--c-accent-text); }
.fake { font-size: 15px; color: var(--c-sub); margin-top: 28px; }
.counter { display: none; }

/* ===== PC：横に進む（JSが .is-hz を付けたときだけ） ===== */
.is-hz .hz { overflow: hidden; height: calc(100svh - var(--header-h)); }
.is-hz .track { display: flex; height: 100%; width: max-content; will-change: transform; }
.is-hz .panel { flex: none; height: 100%; padding: 0 7vw; border-top: 0; display: flex; align-items: center; gap: 6vw; }
.is-hz .panel + .panel { border-left: 1px solid var(--c-line); }
.is-hz .ribbon { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(90deg, var(--c-bg-alt) 0%, var(--c-accent) 55%, var(--c-2) 100%); z-index: 4; }
.is-hz .p-hero::after { display: none; }
.is-hz .gnav { display: flex; gap: 28px; margin-left: auto; }
.is-hz .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--c-3); font-size: 16px; }
.is-hz .header__btn { display: inline-flex; min-height: 44px; padding: 0 22px; }
.is-hz .spmenu { display: none; }
.is-hz .counter { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 22px; letter-spacing: .1em; color: var(--c-3); background: var(--c-bg); padding: 6px 14px; }
.counter__bar { width: 120px; height: 2px; background: var(--c-line); position: relative; }
.counter__bar::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.counter__all { color: var(--c-sub); font-size: 17px; }

.is-hz .p-hero { width: 100vw; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 5vw 30px; gap: 0; }
.is-hz .glyph-row { display: flex; align-items: center; justify-content: center; gap: 2vw; }
.is-hz .glyph { font-size: min(62vh, 27vw); }
.is-hz .glyph--l, .is-hz .glyph--r { text-align: center; }
.is-hz .tokkuri { height: min(56vh, 40vw); width: auto; }
.is-hz .tokkuri img { height: 100%; width: auto; }
.is-hz .hero__text { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 0; text-align: left; flex-wrap: nowrap; }
.is-hz .hero__text > * + * { margin-top: 0; }
.is-hz .hero__text .en, .is-hz .hero__text .hero__sub { display: none; }
.is-hz .hero__copy br { display: none; }
.is-hz .hero__hint { display: block; }
.is-hz .p-seat { width: 100vw; }
.is-hz .p-seat .ph { width: 52vw; height: min(64vh, 520px); aspect-ratio: auto; flex: none; }
.is-hz .p-seat .body { max-width: 30em; }
.is-hz .p-menu { width: 92vw; }
.is-hz .p-menu .ph { width: min(36vw, 54vh); aspect-ratio: 1; flex: none; }
.is-hz .p-menu .body { width: 34vw; }
.is-hz .p-sake { width: 96vw; }
.is-hz .p-sake .body { width: 40vw; }
.is-hz .p-sake .ph { height: min(70vh, 600px); width: auto; aspect-ratio: 2 / 3; max-width: none; flex: none; }
.is-hz .p-eight { width: 84vw; }
.is-hz .eight { font-size: min(66vh, 34vw); margin: 0; }
.is-hz .p-eight .body { max-width: 28em; }
.is-hz .p-book { width: 80vw; }
.is-hz .p-book .body { max-width: 36em; }
.is-hz .p-book .body > * + * { margin-top: 14px; }
.is-hz .p-book .h2 { margin-bottom: 4px; }

@media (min-width: 768px) and (max-width: 1079px) {
  .p-seat, .p-menu, .p-sake { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .p-hero { padding-top: 56px; }
  .panel { padding-left: 40px; padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
