/* 鮨 しらはえ（デモ）
   地 漆黒 #0E0E0E ／ 字 白木 #E9DCC4 ／ 差し色 金茶 #B08D57 だけ
   見出し Zen Antique ／ 本文 Noto Serif JP ／ 横組みだけ */
:root {
  --ink: #0E0E0E;
  --wood: #E9DCC4;
  --gold: #B08D57;
  --line: rgba(233, 220, 196, .2);
  --w: min(1080px, calc(100% - 48px));
  --hf: 'Zen Antique', 'Noto Serif JP', serif;
  --bf: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--wood);
  font-family: var(--bf); font-weight: 400; font-size: 16px; line-height: 2.05; letter-spacing: .05em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere; line-break: strict;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c { text-align: center; }
.small { font-size: 13.5px; line-height: 1.9; color: rgba(233, 220, 196, .78); }
::selection { background: rgba(176, 141, 87, .4); }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: var(--ink); }
.hd__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: block; text-decoration: none; line-height: 0; }
.logo { width: 168px; height: auto; }
.demo { font-size: 9px; letter-spacing: .2em; color: rgba(233, 220, 196, .55); border: 1px solid rgba(233, 220, 196, .3); padding: 0 5px; line-height: 16px; margin-left: -14px; align-self: center; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 30px; }
.gnav a { position: relative; text-decoration: none; font-size: 14.5px; letter-spacing: .14em; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 18px; height: 1px; margin-left: -9px; background: var(--gold); opacity: 0; transition: opacity .3s; }
.gnav a[aria-current="page"]::after, .gnav a:hover::after { opacity: 1; }
.hd__tel { margin: 0; font-size: 13px; letter-spacing: .1em; color: rgba(233, 220, 196, .75); }
.menu { display: none; }
.demo, .menu, .hd__rsv, .brand { flex: none; white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 200px; padding: 14px 36px; border: 1px solid var(--gold); color: var(--wood); text-decoration: none; font-size: 15px; letter-spacing: .24em; line-height: 1.6; background: transparent; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: 0; transition: opacity .35s; }
.btn:hover::before, .btn:active::before, .btn:focus-visible::before { opacity: .12; }
.btn > * { position: relative; }
.btn--s { min-width: 0; padding: 8px 20px; font-size: 13.5px; letter-spacing: .2em; }
.btn--line { letter-spacing: .12em; }
.btn--line + * , .acts + .small { margin-top: 16px; }
.bub { width: 18px; height: 18px; flex: none; }
.tlink { text-decoration: none; border-bottom: 1px solid rgba(176, 141, 87, .6); padding-bottom: 2px; letter-spacing: .1em; transition: border-color .3s; }
.tlink:hover { border-color: var(--gold); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 30px; }
.acts--c { justify-content: center; }

/* ---------- 金の細罫 ---------- */
.rule { position: relative; width: 120px; height: 9px; margin: 0 auto; }
.rule::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: .5px solid var(--gold); }
.rule i { position: absolute; left: 50%; top: 4.5px; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--gold); transform: rotate(45deg); }
.dia { display: inline-block; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); margin: 0 14px 0 2px; vertical-align: .32em; flex: none; }

/* ---------- 見出し ---------- */
.h1, .h2, .h3, .hero__h { font-family: var(--hf); font-weight: 400; letter-spacing: .1em; line-height: 1.6; margin: 0; }
.h1 { font-size: clamp(36px, 4.6vw, 54px); color: var(--wood); }
.h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(25px, 2.6vw, 33px); margin-bottom: 40px; }
.h2--c { justify-content: center; }
.h3 { font-size: 20px; margin-bottom: 22px; }
.mk { display: block; }
.mk--h { width: 22px; height: 16.5px; flex: none; }

/* ---------- 細長い写真の帯 ---------- */
.band { position: relative; overflow: hidden; background: #000; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band--ph { width: 100%; aspect-ratio: 2.4 / 1; max-height: 58vh; }
.band--sec { width: 100vw; margin-left: calc(50% - 50vw); aspect-ratio: 2.6 / 1; max-height: 52vh; margin-bottom: 44px; }

/* ---------- 最初の画面 ---------- */
.hero { min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; padding: 18px 0 64px; text-align: center; }
.hero__name { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 26px; font-family: var(--hf); font-size: 22px; line-height: 1; letter-spacing: .14em; color: var(--gold); }
.hero__name small { font-size: 17px; }
.mk--hero { width: 30px; height: 22.5px; }
.band--hero { width: 100%; height: 42vh; min-height: 220px; }
.band--hero img { object-position: 50% 52%; }
.cur { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); display: none; }
.cur--t { top: 0; transform-origin: 50% 0; }
.cur--b { bottom: 0; transform-origin: 50% 100%; }
.hero__tx { width: var(--w); margin: 40px auto 0; }
.hero__h { font-size: clamp(21px, 2.3vw, 29px); margin-bottom: 16px; }
.hero__h span { display: inline-block; }
.hero__p { margin: 0; }
.hero .acts { margin-top: 26px; }

/* ---------- 区画 ---------- */
.sec { padding: 104px 0; }
.sec > .rule { margin-bottom: 64px; margin-top: -8px; }
.sec__in { width: var(--w); margin: 0 auto; }
.lead { margin-bottom: 48px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.narrow.c { text-align: center; }
.sec:not(.sec--inv) .narrow:not(.c) { margin-left: 0; }
.wide { margin: 0 auto 44px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split--r .split__ph { order: 2; }
.split__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split--tall { grid-template-columns: .8fr 1fr; }
.split--tall .split__ph img { aspect-ratio: 4 / 5; max-height: 620px; }
.split__tx p:last-of-type { margin-bottom: 0; }
.one { font-family: var(--hf); font-size: 20px; letter-spacing: .14em; margin-top: 1.4em; }
.price { margin: 0 0 10px; font-size: 18px; color: var(--gold); letter-spacing: .08em; line-height: 1.4; }
.price .num { font-size: clamp(40px, 4.4vw, 54px); letter-spacing: .04em; font-weight: 400; }
.price small { font-size: 15px; margin-left: 2px; }
.price .pre { font-size: 18px; margin: 0 4px 0 0; }
.tel { margin: 26px 0 8px; font-size: clamp(34px, 4.6vw, 50px); line-height: 1.3; letter-spacing: .08em; }
.tel a { color: var(--gold); text-decoration: none; }

/* トップの区画ごとの組み方 */
.sec--sakana .split { grid-template-columns: 1.3fr 1fr; }
.sec--rsv .rsv { text-align: center; }
.sec--info .h2 { justify-content: center; }
.sec--info .info { display: grid; grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.sec--info .acts { justify-content: center; margin-top: 40px; }

/* ---------- 表（付け台の線） ---------- */
.tb { width: 100%; border-collapse: collapse; }
.tb th, .tb td { text-align: left; vertical-align: top; padding: 15px 8px; border-bottom: 1px solid var(--line); font-weight: 400; }
.tb tr:first-child th, .tb tr:first-child td { border-top: 1px solid var(--line); }
.tb thead tr:first-child th { border-top: 0; }
.tb th[scope="row"] { width: 9.5em; color: rgba(233, 220, 196, .7); letter-spacing: .12em; padding-right: 20px; }
.tb caption { text-align: left; font-family: var(--hf); font-size: 20px; letter-spacing: .14em; color: var(--gold); padding-bottom: 12px; }
.tb thead th { font-size: 12.5px; color: rgba(233, 220, 196, .6); letter-spacing: .14em; padding: 6px 8px; }
.tb--dish th[scope="row"] { width: auto; color: var(--wood); font-family: var(--hf); font-size: 17px; letter-spacing: .1em; white-space: nowrap; }
.tb--dish td { font-size: 14.5px; color: rgba(233, 220, 196, .82); }
.tb--dish .no { width: 3.2em; color: var(--gold); font-size: 14px; white-space: nowrap; }
.tb--dish + .tb--dish { margin-top: 44px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin: 36px 0 64px; }
.tb--price td { text-align: right; color: var(--gold); white-space: nowrap; }
.tb--price th[scope="row"] { width: auto; color: var(--wood); }
.tb--price thead th:last-child { text-align: right; }

/* 握りの写真 3枚 */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trio p { margin: 10px 0 0; font-family: var(--hf); font-size: 15px; letter-spacing: .14em; text-align: center; }

.add { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.add__pr { border-left: 1px solid var(--line); padding-left: 40px; }
.drink { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }

.more { width: var(--w); margin: 0 auto; padding: 0 0 96px; }
.more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; }

/* ---------- ページの頭 ---------- */
.ph { padding: 40px 0 72px; }
.ph__tx { width: var(--w); margin: 56px auto 0; text-align: center; }
.ph__tx .h1 { margin-bottom: 22px; }
.ph__tx .price { margin-top: 18px; }
.ph:not(:has(.band)) { padding-top: 96px; }
.ph:not(:has(.band)) .ph__tx { margin-top: 0; }

/* ---------- 白木の地（反転の区画） ---------- */
.sec--inv { background: var(--wood); color: var(--ink); }
.sec--inv .h2 { color: var(--ink); justify-content: center; }
.sec--inv .mk path { stroke: var(--ink); }
.sec--inv .small { color: rgba(14, 14, 14, .72); }
.sec--inv .tlink { border-color: rgba(14, 14, 14, .45); }
.sec--inv a { color: var(--ink); }
.sec--inv .tb th, .sec--inv .tb td { border-color: rgba(14, 14, 14, .18); }
.sec--inv .tb th[scope="row"] { color: var(--ink); }
.sec--inv .tb thead th { color: rgba(14, 14, 14, .62); }
.tb--cancel { margin: 16px 0 36px; }
.tb--cancel th[scope="row"] { width: 50%; }
.tb--cancel td { font-weight: 600; }
.sec--inv .wide { margin-top: 40px; margin-bottom: 18px; }

/* ---------- ご予約 ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.how__h { font-family: var(--hf); font-size: 19px; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.dl li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); }
.dl li .dia { top: 1.45em; }
.dl { margin-bottom: 22px; }
.sec--law { padding: 72px 0; }
.sec--law .h3 { text-align: center; font-size: 17px; color: rgba(233, 220, 196, .8); }
.tb--law { font-size: 13.5px; line-height: 1.85; }
.tb--law th, .tb--law td { padding: 10px 8px; }

/* ---------- お席 ---------- */
.wide--n2 { max-width: 820px; }
.rows { width: var(--w); margin: 0 auto; }
.sec--row { padding: 56px 0; display: grid; grid-template-columns: 1fr; }
.sec--row > .rule { margin: 0 auto 48px; }
.sec--row .sec__in { width: 100%; display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.sec--row .h2 { margin: 0; font-size: 23px; }
.sec--row .rows__tx p:last-child { margin: 0; }
.rows + .more { padding-top: 56px; }

/* ---------- 店舗情報 ---------- */
.sec--map { padding-top: 32px; }
.mapwrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.mapfig { margin: 0; }
.map { width: 100%; height: auto; display: block; }
.sec--name .name { text-align: center; font-size: 17px; line-height: 2.3; }

/* ---------- 図 ---------- */
.fig { margin: 0; }
.fig svg { display: block; width: 100%; height: auto; }
.fig--n1 .n1--t { display: none; }
.fig--n1 .n1--w { max-width: 1080px; margin: 0 auto; }
.cap { margin-top: 18px; text-align: center; font-size: 13px; letter-spacing: .1em; color: rgba(233, 220, 196, .7); }
.sec--inv .cap { color: rgba(14, 14, 14, .7); }
.fig--n4 .n4--t { display: none; }
.fig--n4 svg { max-width: 960px; margin: 0 auto; }

/* N-3 */
.n3 { display: grid; grid-template-columns: 1fr 1fr 2fr; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.day { padding: 22px 24px 26px; border-left: 1px solid rgba(176, 141, 87, .45); }
.day:first-child { border-left: 0; }
.day__h { font-family: var(--hf); font-size: 21px; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; }
.day li { position: relative; padding: 6px 0 6px 20px; font-size: 14.5px; line-height: 1.8; }
.day li .dia, .dl li .dia { position: absolute; left: 2px; top: 1.05em; margin: 0; transform: rotate(45deg); }
.day li b { font-weight: 600; margin-right: 2px; white-space: pre; }
.clock { position: relative; height: 48px; margin: 4px 22px 14px 6px; border-bottom: 1px solid rgba(233, 220, 196, .5); }
.clock__seg { position: absolute; left: 0; width: 30.77%; bottom: 0; height: 12px; background: rgba(176, 141, 87, .2); border: 1px solid var(--gold); border-bottom: 0; }
.tk { position: absolute; left: calc(var(--p) * 100%); top: 0; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; line-height: 1; color: rgba(233, 220, 196, .8); }
.tk:first-child, .clock__seg + .tk { transform: none; }
.tk:last-child { transform: translateX(-100%); }
.tk:last-child::after, .tk:last-child::before { left: 100%; }
.clock__seg + .tk::after { left: 0; }
.tk::after { content: ""; position: absolute; left: 50%; top: 22px; height: 26px; border-left: 1px solid rgba(233, 220, 196, .5); }
.tk--d::before { content: ""; position: absolute; left: 50%; bottom: -30px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--gold); transform: rotate(45deg); }
.tuna { position: relative; margin: 18px 0 0 -28px; padding: 9px 20px 9px 28px; background: rgba(176, 141, 87, .2); border: 1px solid var(--gold); border-left: 0; font-size: 14.5px; letter-spacing: .1em; }
.tuna::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 28px; background: linear-gradient(90deg, var(--ink), rgba(14, 14, 14, 0)); }
.tuna span { position: relative; }

/* ---------- フッター ---------- */
.ft { padding: 0 0 48px; }
.ft > .rule { margin-bottom: 64px; }
.ft__in { width: var(--w); margin: 0 auto; text-align: center; }
.brand--ft { display: inline-block; margin-bottom: 22px; }
.brand--ft .logo { width: 190px; }
.ft__ad { font-size: 14px; line-height: 2.1; color: rgba(233, 220, 196, .8); }
.ft__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 26px 0 30px; }
.ft__nav a { text-decoration: none; font-size: 13px; letter-spacing: .12em; color: rgba(233, 220, 196, .8); }
.ft__nav a:hover { color: var(--wood); }
.ft__c { font-size: 12px; letter-spacing: .14em; color: rgba(233, 220, 196, .5); margin: 0; }

/* ---------- 動き（transform と opacity だけ） ---------- */
html.motion .cur { display: block; animation: shut 1.6s cubic-bezier(.65, 0, .25, 1) .25s both; }
@keyframes shut { from { transform: scaleY(1); } to { transform: scaleY(0); } }
html.motion .hero__name { animation: fade .8s ease 1.85s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
html.motion .rv { opacity: 0; transition: opacity .6s ease; }
html.motion .rv.is-in { opacity: 1; }
html.motion .fig .it { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--i) * .12s); }
html.motion .fig.is-in .it, html.motion .is-in .fig .it { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.motion .cur { display: none; animation: none; }
  html.motion .hero__name, html.motion .rv, html.motion .fig .it { opacity: 1; animation: none; transition: none; }
}

/* ---------- 幅ごと ---------- */
@media (max-width: 1100px) {
  .gnav ul { gap: 20px; }
  .hd__tel { display: none; }
}
@media (max-width: 900px) {
  .hd__in { height: 64px; gap: 14px; }
  .logo { width: 140px; }
  .demo { margin-left: -8px; }
  .hd__rsv { margin-left: auto; }
  .menu { display: block; background: none; border: 0; color: var(--wood); font: inherit; font-size: 12px; letter-spacing: .2em; padding: 8px 0 8px 6px; cursor: pointer; }
  .gnav { position: fixed; left: 0; right: 0; top: 64px; bottom: 0; background: var(--ink); margin: 0; display: none; padding: 32px 24px; overflow-y: auto; }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; align-items: center; }
  .gnav li { width: 100%; max-width: 360px; border-bottom: 1px solid var(--line); text-align: center; }
  .gnav a { display: block; padding: 18px 0; font-size: 16px; }
  .gnav a::after { bottom: 10px; }
  html { scroll-padding-top: 72px; }
  .hero { min-height: calc(100svh - 64px); }
  .split, .sec--sakana .split, .split--tall, .how, .drink, .add, .mapwrap, .menu-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--r .split__ph { order: 0; }
  .split--tall .split__ph img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .add__pr { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .sec--row .sec__in { grid-template-columns: 1fr; gap: 22px; }
  .n3 { grid-template-columns: 1fr 1fr; }
  .day--w { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(176, 141, 87, .45); }
  .tuna { margin-left: -14px; padding-left: 22px; }
  .tuna::before { width: 14px; }
}
@media (max-width: 640px) {
  :root { --w: calc(100% - 40px); }
  body { font-size: 15.5px; line-height: 2; }
  .logo { width: 128px; }
  .hd .hd__rsv { min-width: 0; padding: 7px 14px; font-size: 13px; letter-spacing: .14em; }
  .hero { padding: 10px 0 44px; }
  .band--hero { height: 34vh; min-height: 0; }
  .hero__name { font-size: 20px; margin-bottom: 20px; }
  .hero__tx { margin-top: 28px; }
  .hero__h { font-size: 19px; letter-spacing: .06em; }
  .hero__p { font-size: 15px; }
  .btn { min-width: 176px; padding: 12px 28px; }
  .sec { padding: 76px 0; }
  .sec > .rule { margin-bottom: 48px; }
  .h2 { margin-bottom: 30px; font-size: 22px; gap: 12px; }
  .band--ph { aspect-ratio: 2 / 1; }
  .ph { padding: 24px 0 48px; }
  .ph__tx { margin-top: 36px; }
  .ph:not(:has(.band)) { padding-top: 56px; }
  .fig--n1 .n1--w, .fig--n4 .n4--w { display: none; }
  .fig--n1 .n1--t { display: block; max-width: 360px; margin: 0 auto; }
  .fig--n4 .n4--t { display: block; max-width: 360px; margin: 0 auto; }
  .n3 { grid-template-columns: 1fr; }
  .day { border-left: 0; border-top: 1px solid rgba(176, 141, 87, .45); padding: 18px 4px 20px; }
  .day:first-child { border-top: 0; }
  .clock { margin-right: 18px; }
  .tb th, .tb td { padding: 12px 4px; }
  .tb th[scope="row"] { width: 6.2em; padding-right: 12px; font-size: 14px; }
  .tb--dish thead { display: none; }
  .tb--dish tr { display: grid; grid-template-columns: 2.6em 1fr; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .tb--dish tr:first-child { border-top: 1px solid var(--line); }
  .tb--dish td, .tb--dish th { border: 0 !important; padding: 0 4px; }
  .tb--dish .no { grid-row: 1 / span 2; width: auto; padding-top: 3px; }
  .tb--dish td:last-child { grid-column: 2; font-size: 14px; line-height: 1.8; }
  .tb--price th[scope="row"] { width: auto; }
  .tb--cancel th[scope="row"] { width: 48%; }
  .trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -20px; padding-right: 20px; }
  .trio li { flex: 0 0 72%; scroll-snap-align: start; }
  .tel { font-size: 34px; }
  .sec--name .name { font-size: 15.5px; text-align: left; }
  .sec--name .name br { display: none; }
  .ft__nav ul { gap: 4px 20px; }
}
@media (max-width: 380px) {
  .logo { width: 116px; }
  .hd__in { gap: 10px; }
  .hd .hd__rsv { padding: 7px 10px; letter-spacing: .08em; }
}
