@font-face { font-family: "Shippori Mincho"; font-weight: 500; font-display: swap; src: url("../fonts/shippori-mincho-500.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-display: swap; src: url("../fonts/zen-kaku-gothic-new-400.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-display: swap; src: url("../fonts/zen-kaku-gothic-new-500.woff2") format("woff2"); }

/* ---- 色と書体（案件で差し替える場所はここ。docs/CUSTOMIZE.md） ----
   地は深いワインの黒。紅は「額のような面」（写真を受ける面・予約の面・表の面）にだけ大きく使う。
   シャンパンゴールドは細い線・番号・小さな文字・ボタンだけ。文字はアイボリー。淡い地の面は使わない */
:root {
  --night: #170506;        /* ページの地 */
  --night-2: #210809;      /* 節を切り替える一段明るい地 */
  --crimson: #7d1418;      /* 紅：大きな面 */
  --crimson-deep: #5e0e12; /* 紅の面の中の一段深いところ */
  --gold: #c9a86a;         /* サブカラー：シャンパンゴールド */
  --gold-hi: #dcc08a;
  --gold-line: rgba(201, 168, 106, .45);
  --ivory: #f5ece0;
  --ivory-sub: #d9c8b8;
  --line: rgba(245, 236, 224, .16);
  /* 面の質感：動かない細かい粒（SVG の feTurbulence を soft-light で面の色に重ねる。外部の通信なし） */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.22 0 0 0 .39 .22 0 0 0 .39 .22 0 0 0 .39 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Sans", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slow: cubic-bezier(.22, .61, .2, 1);
  --mast-h: 60px;
  --bar-h: 76px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--night); color: var(--ivory); font: 400 15px/1.95 var(--gothic); letter-spacing: .05em; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 16px);
  scrollbar-color: var(--gold) var(--night); caret-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { padding-bottom: var(--bar-h); word-break: auto-phrase; background: var(--grain), var(--night); background-blend-mode: soft-light; }
::selection { background: var(--gold); color: var(--night); }
a { color: inherit; text-underline-offset: .25em; text-decoration-color: var(--gold-line); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 500; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 上の帯 ---------- */
.mast { position: fixed; z-index: 20; inset: 0 0 auto 0; height: var(--mast-h); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 20px;
  background: var(--night); border-bottom: 1px solid var(--gold-line); view-transition-name: mast; } /* opaque: at .94 the text behind showed faintly (evidence 2026-12-02) */
.mast__logo { font: 500 19px/1 var(--mincho); letter-spacing: .3em; text-decoration: none; }
.mast__nav { display: flex; gap: 22px; }
.mast__nav a { position: relative; padding: 8px 0; font: 500 13px/1 var(--mincho); letter-spacing: .12em; text-decoration: none; }
.mast__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; border-top: 1px solid var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.mast__nav a[aria-current="page"] { color: var(--gold); }
.mast__nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .mast__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.is-home .mast__logo { visibility: hidden; } /* トップでは写真の上の大きな店名が名前を担う */
@supports (animation-timeline: scroll()) {
  /* Solid by default; only the scroll-linked animation makes it clear at the very top. If the animation is
     cancelled or unsupported, the header stays solid and text never shows through it. */
  .mast { animation: mast-clear linear both; animation-timeline: scroll(); animation-range: 0 80px; }
  /* visibility goes with the fade, so the logo cannot take keyboard focus while it is still transparent */
  .is-home .mast__logo { animation: logo-in linear both; animation-timeline: scroll(); animation-range: 55vh 80vh; }
}
@keyframes mast-clear { from { background: rgb(23 5 6 / 0); border-bottom-color: rgb(201 168 106 / 0); } }

/* ---------- トップの最初の画面：写真が画面を全部使い、店名とキャッチを左下に ---------- */
.hero { position: relative; height: max(100svh, 560px); overflow: hidden; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 28% 20%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(23 5 6 / .55), rgb(23 5 6 / 0) 20%, rgb(23 5 6 / .15) 32%, rgb(23 5 6 / .72) 50%, rgb(23 5 6 / .9) 68%, var(--night)); }
/* The block's bottom sits just above the fixed bar within the FIRST screen, even when the hero is taller than the screen
   (short, landscape phones): hero height − screen height + bar. */
.hero__text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: calc(max(100svh, 560px) - 100svh + var(--bar-h) + 28px); text-shadow: 0 2px 22px rgb(0 0 0 / .5); }
.hero__name { display: flex; overflow: clip; padding-bottom: .04em; font: 500 64px/1 var(--mincho); letter-spacing: .14em; }
.hero__name span { display: block; }
.hero__lead { margin-top: 26px; font: 500 25px/1.55 var(--mincho); letter-spacing: .06em; }
.hero__lead::before { content: ""; display: block; width: 56px; margin-bottom: 22px; border-top: 1px solid var(--gold); transform-origin: left; }

/* 主役の動き（トップを開いたときの1回だけ）：写真が暗く少し大きい状態から 3 秒かけて落ち着き、
   店名の文字が1字ずつ下から上がる（枠の外から、overflow: clip の中で）。金の線が引かれ、キャッチがピントを合わせて出る。
   動きを減らす設定では、最初から止まった状態 */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: settle 3s var(--ease-slow) both; }
  .hero__name span { animation: rise 1.1s var(--ease-out) both; }
  .hero__name span:nth-child(1) { animation-delay: .55s; } .hero__name span:nth-child(2) { animation-delay: .63s; }
  .hero__name span:nth-child(3) { animation-delay: .71s; } .hero__name span:nth-child(4) { animation-delay: .79s; }
  .hero__name span:nth-child(5) { animation-delay: .87s; }
  .hero__lead::before { animation: span 1.1s var(--ease-out) 1.3s both; }
  .hero__lead { animation: focus-in 1.2s var(--ease-out) 1.45s both; }}
@keyframes settle { from { transform: scale(1.12); filter: brightness(.35) saturate(.85); } to { transform: none; filter: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
/* No blur: a filter on text over the soft-light grain ground cost a 0.7s main-thread task on the inner pages
   (Lighthouse mobile TBT 680-770ms, performance 80; without the blur 0ms, 99. 2026-12-02). */
@keyframes focus-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes span { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* Hidden (not focusable) until it is clearly visible: the second keyframe pair flips visibility at 60%. */
@keyframes logo-in { from { opacity: 0; visibility: hidden; } 60% { opacity: .6; visibility: hidden; } 60.1% { visibility: visible; } to { opacity: 1; visibility: visible; } }

/* ---------- 下のページの最初の画面 ---------- */
.phero { position: relative; overflow: hidden; height: max(72svh, 440px); }
.phero img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(23 5 6 / .6), rgb(23 5 6 / 0) 28%, rgb(23 5 6 / 0) 45%, rgb(23 5 6 / .75) 78%, var(--night)); }
.phero__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: max(40px, calc(max(72svh, 440px) - 100svh + var(--bar-h) + 24px)); text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.phero h1 { font: 500 36px/1.3 var(--mincho); letter-spacing: .14em; }
.phero h1::after { content: ""; display: block; width: 56px; margin-top: 20px; border-top: 1px solid var(--gold); transform-origin: left; }
.phero p { margin-top: 16px; max-width: 32em; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .phero img { animation: settle 2s var(--ease-slow) both; }
  .phero h1 { animation: focus-in 1.1s var(--ease-out) .35s both; }
  .phero h1::after { animation: span .9s var(--ease-out) .9s both; }
  .phero p { animation: focus-in 1s var(--ease-out) .6s both; }
}

/* ---------- 節の共通 ---------- */
.sec { padding: 104px 0; }
.sec h2 { font: 500 28px/1.5 var(--mincho); letter-spacing: .12em; }
.sec h2 .line { display: block; }
.sec h2::after { content: ""; display: block; width: 40px; margin-top: 22px; border-top: 1px solid var(--gold); transform-origin: left; }
.note { margin-top: 16px; font-size: 12px; color: var(--ivory-sub); }
.ph { overflow: clip; background: rgb(0 0 0 / .3); } /* clip, not hidden: hidden would make it a scroll container for view() */
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* 紅の面（額）：写真が面の端に重なり、面の中に文字を置く */
.field { position: relative; }
.field__photo { margin: 0 var(--gutter); aspect-ratio: 4 / 5; position: relative; z-index: 1; }
.field__body { position: relative; margin: -72px 0 0 var(--gutter); padding: 120px 28px 64px; background: var(--grain), var(--crimson); background-blend-mode: soft-light; }
.field__body h2::after { margin-top: 20px; }
.ticks { list-style: none; margin-top: 30px; border-top: 1px solid var(--gold-line); }
.ticks li { position: relative; padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); font: 500 16px/1.7 var(--mincho); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 27px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.lede { margin-top: 32px; font: 500 18px/1.85 var(--mincho); }

/* 位置の決め方：写真を使わず、大きな金の数字で見せる（写真の多い前後の節との緩急） */
.how__intro { margin-top: 24px; max-width: 32em; }
.points { list-style: none; margin-top: 48px; display: grid; gap: 40px; counter-reset: p; }
.points li { position: relative; padding-top: 24px; border-top: 1px solid var(--gold-line); }
.points li::before { counter-increment: p; content: counter(p); display: block; font: 500 72px/1 var(--mincho); color: var(--gold); font-variant-numeric: tabular-nums; }
.points b { display: block; margin-top: 18px; font: 500 21px/1.5 var(--mincho); letter-spacing: .1em; }
.points li > span { display: block; margin-top: 8px; color: var(--ivory-sub); }

/* おすすめ：写真つきの札。スマホは横にすべらせる（scroll-snap）、PC は3つ並び */
.pick { background: var(--grain), var(--night-2); background-blend-mode: soft-light; }
.cards { list-style: none; margin: 44px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: thin; }
.cards li { scroll-snap-align: start; }
.cards a { display: block; text-decoration: none; }
.cards .ph { aspect-ratio: 4 / 5; }
.cards .ph img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .cards a:hover .ph img { transform: scale(1.05); } }
.cards__name { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gold-line); font: 500 19px/1.4 var(--mincho); letter-spacing: .08em; }
.cards__meta { display: block; margin-top: 4px; font-size: 12px; color: var(--ivory-sub); }
.cards__price { display: block; margin-top: 10px; font: 500 30px/1 var(--mincho); font-variant-numeric: tabular-nums; }
.cards__price small, .price dd small, .item__price small { font: 400 13px var(--gothic); margin-left: 3px; }
.more { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; padding: 6px 0 10px; border-bottom: 1px solid var(--gold-line); color: var(--gold); font: 500 16px/1.4 var(--mincho); letter-spacing: .08em; text-decoration: none; }
.more svg { width: 32px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .45s var(--ease-out); }
@media (hover: hover) { .more:hover svg { transform: translateX(6px); } }

/* 声：大きめの明朝の引用 */
.voice ul { list-style: none; margin-top: 48px; display: grid; gap: 44px; }
.voice li { padding-top: 26px; border-top: 1px solid var(--gold-line); }
.voice li p { font: 500 18px/2 var(--mincho); }
.voice li span { display: block; margin-top: 14px; font-size: 12px; color: var(--gold); letter-spacing: .12em; }

/* 予約：画面幅の紅の面に、金の細線の額 */
.reserve { padding: 0; background: var(--grain), var(--crimson); background-blend-mode: soft-light; text-align: center; }
.reserve__frame { margin: 0 auto; max-width: 1240px; padding: 104px var(--gutter) 112px; position: relative; }
.reserve__frame::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--gold-line); pointer-events: none; }
.reserve h2::after { margin-left: auto; margin-right: auto; }
.reserve p { margin-top: 22px; }
.reserve__btns { margin: 40px auto 0; max-width: 560px; display: grid; gap: 12px; }
.reserve__btns .btn { min-height: 60px; font-size: 19px; }

/* ボタン：金の縁。触ると左から金が満ちる（background-size。ボタンそのものは動かさない） */
.btn { display: grid; place-items: center; min-height: 54px; padding: 0 20px; border: 1px solid var(--gold); border-radius: 1px; text-decoration: none; font: 500 17px/1 var(--mincho); letter-spacing: .12em;
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: left center;
  transition: background-size .6s var(--ease-out), border-color .3s ease-out; }
.btn--fill { background-size: 100% 100%; color: var(--night); }
/* Line button: the text is painted by two background layers clipped to the glyphs. The dark layer grows with the
   gold fill (same property, same timing), so every letter is dark exactly where the gold is behind it and ivory
   where it is not: no moment of ivory on gold or dark on crimson (Codex 2026-12-02, two rounds). */
.btn--line { color: transparent;
  background-image: linear-gradient(var(--night), var(--night)), linear-gradient(var(--ivory), var(--ivory)), linear-gradient(var(--gold), var(--gold));
  -webkit-background-clip: text, text, padding-box; background-clip: text, text, padding-box;
  background-size: 0% 100%, 100% 100%, 0% 100%; }
@media (hover: hover) {
  .btn--line:hover { background-size: 100% 100%, 100% 100%, 100% 100%; }
  .btn--fill:hover { background-image: linear-gradient(var(--gold-hi), var(--gold-hi)); border-color: var(--gold-hi); }
}
.btn--fill:active { background-size: 100% 100%; }
.btn--line:active { background-size: 100% 100%, 100% 100%, 100% 100%; }

/* 予約ボタンの行き先（見本）。押したときだけ出る。誤解が起きうる場所なので、ここで架空の店と明記する */
.reserve-note { display: none; padding: 40px 0 56px; background: var(--night); }
.reserve-note:target { display: block; }
.reserve-note .wrap { max-width: 620px; }
.reserve-note .wrap > * { border: 1px solid var(--gold-line); border-width: 0 1px; }
.reserve-note h2 { padding: 26px 24px 0; border-top-width: 1px !important; font: 500 19px/1.5 var(--mincho); }
.reserve-note p { padding: 10px 24px 0; font-size: 14px; color: var(--ivory-sub); }
.reserve-note a { display: block; padding: 12px 24px 26px; border-bottom-width: 1px !important; font-size: 14px; color: var(--gold); }

/* 固定の予約バー（スマホは下、PC は右上） */
.bar { position: fixed; inset: auto 0 0 0; z-index: 21; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: var(--night); border-top: 1px solid var(--gold-line); view-transition-name: bar; }
.bar .btn { min-height: 52px; font-size: 16px; }

.foot { padding: 64px 0 40px; background: var(--night); border-top: 1px solid var(--gold-line); font-size: 12px; color: var(--ivory-sub); }
.foot__logo { font: 500 28px/1 var(--mincho); letter-spacing: .32em; color: var(--gold); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 26px 0 30px; font: 500 14px/2 var(--mincho); color: var(--ivory); }
.foot__nav a { text-decoration: none; }
.foot p + p { margin-top: 8px; }

/* ---------- メニューのページ ---------- */
.items { list-style: none; margin-top: 48px; display: grid; gap: 72px; }
.item .ph { aspect-ratio: 4 / 5; margin: 0 calc(var(--gutter) * -1); }
.item__text { padding-top: 24px; }
.item h3 { padding-top: 18px; border-top: 1px solid var(--gold-line); font: 500 24px/1.4 var(--mincho); letter-spacing: .1em; }
.item__meta { margin-top: 6px; font-size: 13px; color: var(--ivory-sub); }
.item__desc { margin-top: 16px; }
.item__price { margin-top: 18px; font: 500 40px/1 var(--mincho); font-variant-numeric: tabular-nums; }
.panel { margin-top: 72px; padding: 40px 24px 32px; background: var(--grain), var(--crimson); background-blend-mode: soft-light; }
.panel h3 { font: 500 19px/1.4 var(--mincho); letter-spacing: .1em; }
.price { margin-top: 18px; border-top: 1px solid var(--gold-line); }
.price div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.price dt { font: 500 17px/1.4 var(--mincho); }
.price dt small { display: block; font: 400 12px/1.6 var(--gothic); color: var(--ivory-sub); margin-top: 2px; }
.price dd { font: 500 26px/1 var(--mincho); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 違いの表：紅の面 */
.diff { background: var(--grain), var(--crimson); background-blend-mode: soft-light; }
.diff table { width: 100%; margin-top: 36px; border-collapse: collapse; table-layout: fixed; }
.diff th, .diff td { padding: 18px 8px 18px 0; border-bottom: 1px solid rgba(245, 236, 224, .22); text-align: left; vertical-align: top; font-weight: 400; font-size: 14px; line-height: 1.75; }
.diff thead tr { border-top: 1px solid var(--gold-line); }
.diff thead th:first-child { width: 28%; }
@media (max-width: 959px) { .diff tbody th { font-size: 13px; } }
.diff thead th { font: 500 15px/1.4 var(--mincho); letter-spacing: .06em; white-space: nowrap; padding-top: 14px; padding-bottom: 14px; color: var(--gold-hi); }
.diff tbody th { font: 500 14px/1.75 var(--mincho); color: var(--ivory-sub); }
.diff td + td, .diff thead th + th { padding-left: 10px; }

/* 流れ：番号つきの写真。PC は4つ横に並ぶ */
.steps { list-style: none; margin-top: 48px; display: grid; gap: 36px; counter-reset: f; }
.steps li { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; }
.steps .ph { aspect-ratio: 1; }
.steps b { display: block; font: 500 19px/1.5 var(--mincho); letter-spacing: .08em; }
.steps b::before { counter-increment: f; content: counter(f); display: block; margin-bottom: 6px; font: 500 30px/1 var(--mincho); color: var(--gold); }

.before-sec { background: var(--grain), var(--night-2); background-blend-mode: soft-light; }
.before { list-style: none; margin-top: 32px; border-top: 1px solid var(--gold-line); max-width: 760px; }
.before li { position: relative; padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); }
.before li::before { content: ""; position: absolute; left: 3px; top: 28px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.faq .wrap > details { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 32px; border-top: 1px solid var(--gold-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 2px; position: relative; font: 500 16px/1.6 var(--mincho); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; border-top: 1px solid var(--gold); transition: transform .4s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 2px 24px; color: var(--ivory-sub); }

/* ---------- サロンのページ ---------- */
.staff__list { list-style: none; margin-top: 48px; display: grid; gap: 56px; }
.staff__list .ph { aspect-ratio: 4 / 5; }
.staff h3 { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--gold-line); font: 500 21px/1.5 var(--mincho); letter-spacing: .12em; }
.staff__list p { margin-top: 4px; font-size: 13px; color: var(--ivory-sub); }
.access { padding-top: 0; }
.access .field__body { margin-top: 0; padding-top: 64px; }
.map { margin-top: 32px; border: 1px solid var(--gold-line); padding: 12px; }
.map svg { display: block; width: 100%; height: auto; }
.map__rail { stroke: rgba(245, 236, 224, .5); stroke-width: 6; stroke-dasharray: 14 8; fill: none; }
.map__road { stroke: rgba(245, 236, 224, .16); stroke-width: 10; fill: none; stroke-linecap: round; }
.map__route { stroke: var(--gold-hi); stroke-width: 2.5; stroke-dasharray: 6 6; fill: none; }
.map__station { fill: var(--ivory); }
.map__pin { fill: var(--gold-hi); }
.map__label { font: 500 14px var(--gothic); fill: var(--ivory); }
.map__label--inv { fill: var(--crimson-deep); font-size: 13px; }
.map__small { font: 400 13px var(--gothic); fill: var(--ivory-sub); }
.map figcaption { margin-top: 6px; font-size: 12px; color: var(--ivory-sub); }
.info { margin-top: 24px; }
.info div { display: grid; grid-template-columns: 4.5em 1fr; padding: 14px 0; border-bottom: 1px solid rgba(245, 236, 224, .22); }
.info dt { color: var(--gold-hi); }

/* ---------- スクロールの動き（CSS のスクロール連動だけ。JS なし） ----------
   動きの言葉は1つ：「紅の面が左から引かれ、写真は引きながら現れる」。見出しは行ごとに下から上がる。
   対応しないブラウザーと、動きを減らす設定では、最初から止まった状態 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .field__body, .panel, .reserve__frame::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .ph:not(.phero) { animation: curtain linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .ph img { animation: pull linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .sec h2 { overflow: clip; }
    .sec h2 .line { animation: rise linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
    .sec h2::after { animation: span linear both; animation-timeline: view(); animation-range: entry 60% cover 35%; }
  }
}
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes curtain { from { clip-path: inset(calc(100% + 4px) 0 -4px 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pull { from { transform: scale(1.2); } to { transform: none; } }

/* よくある質問の開閉：高さを滑らかに変える（対応するブラウザーだけ） */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}

/* ページの移り変わり：前のページは暗く沈み、次のページが下から幕を上げるように現れる。上の帯と予約バーはそのまま */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .5s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in 1s var(--ease-slow) both; }
}
@keyframes vt-out { to { opacity: .3; filter: brightness(.4); transform: scale(.985); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* 横向きのスマホなど、背の低い画面：最初の画面の文字を小さくして、上の帯と下のバーのあいだに収める */
@media (max-width: 959px) and (max-height: 560px) {
  .hero__name { font-size: 40px; }
  .hero__lead { margin-top: 14px; font-size: 19px; }
  .hero__lead::before { margin-bottom: 12px; }
  .phero h1 { font-size: 28px; }
  .phero h1::after { margin-top: 12px; }
  .phero p { margin-top: 10px; font-size: 13px; }
}

/* ---------- PC ---------- */
@media (min-width: 960px) {
  :root { --gutter: 64px; --mast-h: 72px; }
  body { padding-bottom: 0; }
  html { font-size: 16px; }
  .mast { justify-content: flex-start; gap: 64px; padding: 0 44px; }
  .mast__logo { font-size: 22px; }
  .mast__nav { gap: 40px; }
  .mast__nav a { font-size: 14px; }
  .bar { inset: 0 0 auto auto; height: var(--mast-h); display: flex; align-items: center; gap: 10px; padding: 0 36px; background: none; border: 0; }
  .bar .btn { min-height: 42px; padding: 0 24px; font-size: 14px; }

  /* As on phones, the text's bottom is placed inside the FIRST screen even when the hero's height floor makes
     the hero taller than a short PC screen (Codex 2026-12-02: 960x520 pushed the catch below the fold). */
  .hero { height: max(100vh, 480px); }
  .hero__photo img { object-position: 50% 40%; }
  .hero::after { background: linear-gradient(to right, rgb(23 5 6 / .85), rgb(23 5 6 / .35) 38%, rgb(23 5 6 / 0) 60%), linear-gradient(to bottom, rgb(23 5 6 / .5), rgb(23 5 6 / 0) 20%, rgb(23 5 6 / 0) 75%, var(--night)); }
  .hero__text { left: 6vw; right: auto; bottom: calc(max(100vh, 480px) - 100vh + 10vh); max-width: 640px; }
  .hero__name { font-size: clamp(104px, 10.5vw, 168px); letter-spacing: .12em; }
  .hero__lead { margin-top: 40px; font-size: 38px; }
  .phero { height: max(78vh, 420px); }
  .phero__text { bottom: max(64px, calc(max(78vh, 420px) - 100vh + 40px)); }
  .phero h1 { font-size: 56px; }
  .phero p { font-size: 16px; }

  .sec { padding: 160px 0; }
  .sec h2 { font-size: 38px; }

  /* 紅の面（PC）：面は右端まで。写真は面の左端に重なり、面より上に飛び出す */
  .field { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
  .field__photo { grid-column: 2 / 6; grid-row: 1; margin: 0; aspect-ratio: 3 / 4; }
  .field__body { grid-column: 5 / -1; grid-row: 1; margin: 0; padding: 120px 9vw 120px calc(100vw / 12 + 72px); }
  .lede { font-size: 20px; }

  .how .wrap { display: grid; grid-template-columns: 4fr 8fr; column-gap: 64px; }
  .how h2, .how__intro { grid-column: 1; }
  .how__intro { margin-top: 0; grid-row: 2; }
  .points { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .points li::before { font-size: 112px; }

  .cards { margin: 56px 0 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 40px; overflow: visible; }
  .cards li:nth-child(2) { margin-top: 80px; } /* 段違いに置いて、並びの単調さを崩す */

  .voice ul { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .voice li p { font-size: 19px; }

  .reserve__frame { padding: 144px var(--gutter) 152px; }
  .reserve__frame::before { inset: 40px; }
  .reserve__btns { grid-template-columns: 1fr 1fr; }

  .items { gap: 140px; }
  .item { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
  .item .ph { grid-column: 1 / 8; margin: 0; aspect-ratio: 5 / 4; }
  .item__text { grid-column: 9 / 13; padding: 0 0 8px; }
  .item:nth-child(even) .ph { grid-column: 6 / 13; grid-row: 1; }
  .item:nth-child(even) .item__text { grid-column: 1 / 5; grid-row: 1; }
  .item__price { font-size: 52px; }
  .panel { margin-top: 140px; padding: 64px 72px 48px; display: grid; grid-template-columns: 4fr 8fr; column-gap: 56px; }
  .panel h3 { font-size: 24px; }
  .panel .price { margin-top: 0; }
  .panel .note { grid-column: 2; }
  .diff .wrap { display: grid; grid-template-columns: 4fr 8fr; column-gap: 64px; }
  .diff table { margin-top: 0; }
  .diff h2 { font-size: 32px; }
  .diff h2 .line { white-space: nowrap; }
  .diff th, .diff td { font-size: 15px; }
  .diff thead th { font-size: 17px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; gap: 22px; }
  .before-sec .wrap, .faq .wrap { display: grid; grid-template-columns: 4fr 8fr; column-gap: 64px; align-items: start; }
  .before-sec .before, .faq details { grid-column: 2; }
  .before-sec h2, .faq h2 { grid-row: 1 / span 6; }
  .before, .faq details:first-of-type { margin-top: 0; }
  .staff__list { grid-template-columns: 1fr 1fr; gap: 64px; }
  .staff__list li:nth-child(2) { margin-top: 120px; }
  .access .field__body { grid-column: 3 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; padding: 120px 9vw 120px 72px; }
  .access .field__body h2 { grid-column: 1 / -1; }
  .note, .price dt small, .item__meta, .voice li span, .staff__list p, .map figcaption { font-size: 13px; }
  .foot { padding: 88px 0 56px; }
}

/* 背の低い PC の画面：最初の画面の文字を小さくして、上の帯の下に収める（PC の段より後に置いて上書きする） */
@media (min-width: 960px) and (max-height: 640px) {
  .hero__name { font-size: 72px; }
  .hero__lead { margin-top: 18px; font-size: 24px; }
  .hero__lead::before { margin-bottom: 14px; }
  .phero h1 { font-size: 36px; }
  .phero h1::after { margin-top: 12px; }
  .phero p { margin-top: 10px; font-size: 14px; }
}

/* とても背の低い画面（縦に縮めたウィンドウ、横向きの小さなスマホ）：文字の塊を下からでなく上の帯の下から置く。
   最初の1画面に全部は入らないが、上の帯に潜ることはない（Codex 2026-12-02：960x220・844x250 で店名が帯に重なった） */
@media (max-height: 420px) {
  .hero__text, .phero__text { top: calc(var(--mast-h) + 16px); bottom: auto; }
}
