/* 立呑みワイン 尾山台STAND
   色は3つ：ワイン・天板の白・壁の緑。文字の濃い茶黒。判断の理由は DESIGN.md。 */
:root {
  --wine: #7a0f2e;
  --wine-deep: #5c0a22;
  --paper: #fbf7f0;
  --wall: #d5d9ae;
  --ink: #221a1c;
  --ink-soft: #4b3f42;
  --rule: rgba(34, 26, 28, .22);
  --bar: 72px;
  --dock: 66px;
  --gut: 20px;
  --dome: clamp(24px, 3.9vw, 56px);
  --safe: env(safe-area-inset-bottom, 0px);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --disp: "Zen Kaku Gothic Antique", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.85; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
.disp { font-family: var(--disp); font-weight: 900; letter-spacing: .04em; line-height: 1.38; }
.disp span, .straddle span { display: inline-block; }
.ic { display: block; flex: none; width: 22px; height: 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #e8862e; outline-offset: 2px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.wrap--s { width: min(760px, 100%); }
.sec { position: relative; padding-block: 72px; }
.sec__title { font-size: clamp(28px, 8.6vw, 60px); }
.sec__title--s { font-size: clamp(26px, 6.4vw, 38px); margin-bottom: 20px; }
.lead { font-size: 17px; }
.more { margin-top: 24px; display: flex; justify-content: flex-end; }
.more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.more a .ic { transition: transform .22s ease; }
.more a:hover .ic { transform: translateX(4px); }

/* 装飾パーツ（ロゴの線から展開）。明るい面にだけ置く */
.deco { display: block; height: auto; pointer-events: none; user-select: none; }
/* スマホ：見出しの右に回り込ませ、見出しの幅を奪わない。PC：横に並べる */
.sec__head { display: flow-root; }
.sec__head--s { margin-bottom: 20px; }
.sec__head > .sec__title--s { margin-bottom: 0; }
.deco--head { float: right; width: clamp(72px, 21vw, 168px); margin: 0 0 6px 10px; }
.deco--s { width: clamp(60px, 15vw, 104px); }
.deco--pasta { position: absolute; left: 18px; bottom: 12px; width: 72px; }
.deco--faq { width: clamp(96px, 26vw, 150px); margin: 0 0 6px auto; }
.seam { position: relative; z-index: 3; height: 0; display: flex; justify-content: center; align-items: flex-start; }
.seam__line { width: min(66vw, 440px); transform: translateY(-52%); }
.bubble { margin-top: 18px; max-width: min(320px, 100%); }
.bubble a { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 900 / 618; padding: 9% 12% 24% 11%; background: url(../img/parts/bubble.webp) center / 100% 100% no-repeat; color: var(--wine); font-weight: 700; font-size: 16px; line-height: 1.55; text-align: center; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; }
.bubble a .ic { flex: none; }
.nf__deco { width: min(260px, 70%); margin: 0 auto 24px; }

/* 価格の行 */
.rows { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: minmax(0, max-content) minmax(10px, 1fr) auto; align-items: end; column-gap: 8px; padding-block: 7px; font-weight: 600; line-height: 1.55; }
.row__name { word-break: keep-all; overflow-wrap: anywhere; }
.row__dots { border-bottom: 2px dotted var(--rule); transform: translateY(-7px); }
.row__price { font-family: var(--disp); font-weight: 700; white-space: nowrap; }
.row small { grid-column: 1 / -1; font-size: 14.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.6; }
.rows--light .row__dots { border-color: rgba(255, 255, 255, .34); }

/* なみなみのボタン：押す前からふちまで。触れると下からワインが満ちる */
.fill { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .12s ease; }
.fill span { display: inline-flex; align-items: center; gap: 8px; }
.fill::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 130%; border-radius: 50% 50% 0 0 / 18% 18% 0 0; transform: translateY(102%); transition: transform .36s cubic-bezier(.22, .9, .3, 1); z-index: -1; }
.fill:hover::before { transform: translateY(0); }
.fill:active { transform: translateY(2px); }
.fill--wine { background: var(--wine); color: #fff; }
.fill--wine::before { background: var(--wine-deep); }
.fill--paper { background: var(--paper); color: var(--wine); }
.fill--paper::before { background: var(--wall); }
.fill--big { min-height: 58px; font-size: 17px; width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 50%; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: rgba(34, 26, 28, .08); }
.icon-btn--paper { background: var(--paper); color: var(--wine); }
.icon-btn--paper:hover { background: var(--wall); }

/* ── 第一画面 ── */
.fv { position: relative; height: 100vh; height: 100svh; min-height: 540px; max-height: 1100px; background: #1b1214; overflow: hidden; color: #fff; }
.fv__wall { position: absolute; inset: 0 0 calc(var(--dock) + var(--safe)); display: flex; gap: 3px; }
.fv__p { position: relative; flex: 1 1 0; min-width: 0; display: none; overflow: hidden; }
.fv__p--b, .fv__p--glass, .fv__p--c { display: block; }
.fv__p--glass { flex-grow: 1.45; }
.fv__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.fv__p img.is-on { opacity: 1; }
.fv__shade { position: absolute; inset: auto 0 calc(var(--dock) + var(--safe)); height: 40%; background: linear-gradient(to bottom, rgba(20, 8, 12, 0), rgba(20, 8, 12, .5) 60%, rgba(20, 8, 12, .66)); }
.fv__tag { position: absolute; left: 0; top: 0; z-index: 3; display: block; padding: 12px 12px 10px; background: var(--paper); border-radius: 0 0 16px 0; }
.fv__tag img { width: 66px; height: auto; }
.fv__text { position: absolute; left: 0; right: 0; bottom: calc(var(--dock) + var(--safe) + 30px); padding-inline: var(--gut); z-index: 2; }
.fv__kick { font-size: 14px; font-weight: 700; letter-spacing: .03em; text-shadow: 0 1px 10px rgba(20, 8, 12, .55); }
/* 主コピーは白い帯に黒い文字。下の一言は斜めに掛けた帯（2026-11-05 ユーザー指定） */
.fv__title { font-size: clamp(28px, 8.4vw, 40px); line-height: 1; letter-spacing: .03em; margin-top: 10px; }
.fv__title span { display: table; padding: .17em .3em .22em; margin-top: .12em; background: var(--paper); color: var(--ink); }
.fv__title span + span { margin-left: .45em; }
.fv__lead { display: inline-block; margin: 18px 0 0 calc(var(--gut) * -1); padding: .55em 1.3em .55em calc(var(--gut) + .3em); background: var(--wine); color: #fff; font-family: var(--disp); font-weight: 900; font-size: 15.5px; letter-spacing: .08em; line-height: 1.4; transform: rotate(-4deg); transform-origin: 0 100%; box-shadow: 0 8px 22px rgba(20, 8, 12, .32); }
.seal { position: absolute; right: 14px; top: calc(env(safe-area-inset-top, 0px) + 70px); z-index: 3; width: 104px; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: var(--wine); color: #fff; text-decoration: none; transform: rotate(-7deg); box-shadow: 0 0 0 3px var(--wine), 0 0 0 4px rgba(255, 255, 255, .7); animation: pop .34s cubic-bezier(.3, 1.5, .5, 1) .2s backwards; line-height: 1.25; }
.seal .ic { width: 20px; height: 20px; margin-bottom: 3px; }
.seal b { font-size: 21px; font-weight: 900; line-height: 1.15; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.seal small { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.seal.is-closed { background: var(--ink); box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px rgba(255, 255, 255, .7); }
@keyframes pop { from { transform: rotate(-7deg) scale(.6); opacity: 0; } }

/* ── ヘッダー（スマホ：上端に固定） ── */
.head { position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: calc(58px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 12px 0 var(--gut); display: flex; align-items: center; justify-content: space-between; background: var(--paper); transition: background-color .22s ease, box-shadow .22s ease; box-shadow: 0 1px 0 var(--rule); }
.head__logo { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.head__mark { width: 40px; height: auto; }
.head__name { font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: .02em; }
.head__name small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.head__nav, .head__act { display: none; }
.head__menu { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.head__bars { position: relative; width: 18px; height: 10px; border-block: 2px solid currentColor; }
.head.on-photo { background: transparent; box-shadow: none; pointer-events: none; }
.head.on-photo .head__logo { visibility: hidden; }
.head.on-photo .head__menu { pointer-events: auto; }

/* スマホメニュー：下からワインが満ちる */
.drawer { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: var(--wine); color: #fff; padding: env(safe-area-inset-top, 0px) var(--gut) calc(18px + var(--safe)); transform: translateY(102%); transition: transform .34s cubic-bezier(.22, .9, .3, 1), visibility 0s .34s; visibility: hidden; overflow-y: auto; overscroll-behavior: contain; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .34s cubic-bezier(.22, .9, .3, 1); }
.drawer__top { flex: none; height: 58px; display: flex; align-items: center; justify-content: space-between; margin-right: -8px; }
.drawer__logo img { width: 40px; height: auto; }
.drawer__close { height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.drawer__lists { flex: 1 0 auto; display: grid; align-content: start; gap: 22px; padding-top: 14px; }
.drawer__group > p { font-size: 13px; font-weight: 700; opacity: .86; }
.drawer__group a { display: flex; align-items: baseline; gap: 8px; min-height: 52px; padding-block: 10px; text-decoration: none; }
.drawer__group b { font-family: var(--disp); font-weight: 900; letter-spacing: .03em; font-size: 21px; line-height: 1.3; white-space: nowrap; }
.drawer__group i { flex: 1 1 8px; min-width: 8px; border-bottom: 2px dotted rgba(255, 255, 255, .36); transform: translateY(-4px); }
.drawer__group span { font-size: 13.5px; white-space: nowrap; }
.drawer__foot { flex: none; display: flex; align-items: center; gap: 8px; margin-top: 22px; }

/* 下の固定バー */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; height: calc(var(--dock) + var(--safe)); padding: 9px 12px calc(9px + var(--safe)); display: flex; align-items: center; gap: 4px; background: var(--paper); box-shadow: 0 -1px 0 var(--rule); }
.dock__main { flex: 1; min-height: 48px; padding: 0 10px; margin-left: 4px; }

/* ── ワインの区間 ── */
.dome { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: var(--dome); transform: translateY(calc(-100% + 1px)); fill: var(--wine); pointer-events: none; }
.wine { z-index: 1; background: var(--wine); color: #fff; padding-block: 56px 0; }
.wine__grid { display: grid; gap: 28px; }
.wine__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-top: 14px; font-weight: 700; font-size: 17px; }
.wine__price b { font-size: clamp(64px, 19vw, 112px); line-height: 1.05; letter-spacing: 0; }
.wine__lead { margin-top: 10px; font-size: 16.5px; }
.wine__list { margin-top: 2px; }
.wine__more { margin-top: 4px; }
.wine__pour { position: relative; z-index: 2; order: 4; width: min(88%, 420px); margin: 12px auto -72px; background: #fff; border-radius: 22px; padding: 4px; }
.wine__pour img { width: 100%; border-radius: 18px; }

/* ── 小皿 ── */
.plates { padding-top: 116px; }
.plates__grid { display: grid; gap: 34px; }
.plates__text .lead { margin-block: 12px 14px; }
.plates__photos { position: relative; margin-inline: calc(var(--gut) * -1) 0; }
.plates__big { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 22px 22px 0; }
.plates__small { position: absolute; z-index: 3; right: 0; bottom: -112px; width: 56%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 5px var(--paper); }

/* ── パスタ ── */
.pasta { position: relative; background: var(--paper); }
.pasta__bg { width: 100%; height: 66vw; min-height: 300px; max-height: 760px; object-fit: cover; object-position: 50% 45%; }
.pasta__card { position: relative; z-index: 2; margin: -44px var(--gut) 0; padding: 26px 22px 24px; background: var(--paper); border-radius: 22px 22px 0 0; }
.pasta__card .sec__title { font-size: clamp(30px, 8vw, 44px); margin-bottom: 10px; }
.pasta__btn { margin-top: 16px; display: flex; justify-content: flex-end; }

/* 境目にまたがる帯 */
/* ── 区間の繋ぎ目（DESIGN.md 11章）。色の面は上端がなみなみと盛り上がり、境目ごとに違うものをまたがせる ── */
.dome--wall { fill: var(--wall); }
.straddle { position: relative; z-index: 3; display: table; margin: -8px auto -20px; max-width: calc(100% - 28px); padding: 11px 24px 12px; background: var(--wine); color: #fff; font-family: var(--disp); font-weight: 900; font-size: 15px; letter-spacing: .06em; line-height: 1.5; text-align: center; transform: rotate(-2.5deg); box-shadow: 0 10px 24px rgba(20, 8, 12, .22); }
.hours-band { position: relative; z-index: 3; display: table; margin: 0 auto -16px; padding: 10px 22px 11px 16px; border-radius: 999px; background: var(--wine); color: #fff; font-family: var(--disp); font-weight: 900; font-size: 16px; letter-spacing: .05em; line-height: 1.4; white-space: nowrap; box-shadow: 0 8px 20px rgba(20, 8, 12, .2); visibility: hidden; }
.hours-band.is-on { visibility: visible; }
.hours-band.is-closed { background: var(--ink); }
.hours-band .ic { display: inline-block; vertical-align: -5px; width: 21px; height: 21px; margin-right: 8px; }
.seam--flow { justify-content: flex-end; padding-right: 4vw; }
.seam__flow { width: min(76vw, 560px); transform: translateY(-46%); }
.draw { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.6, 0, .2, 1); }
.draw.is-in { clip-path: inset(0 -2% 0 0); }
/* 下層：ワインの面に掛ける帯は天板の白、傾きを逆に */
.straddle--paper { background: var(--paper); color: var(--ink); transform: rotate(2deg); box-shadow: 0 10px 26px rgba(20, 8, 12, .3); }
.straddle--paper + .sec { margin-top: 0; }
.seam--spoon { justify-content: flex-start; padding-left: 7vw; }
.seam__spoon { width: clamp(104px, 28vw, 180px); transform: translateY(-62%) rotate(-6deg); }
/* 色の面で終わるページは、フッターの盛り上がりをその面の上に載せる（白い隙間を作らない） */
.sec--end { margin-bottom: calc(var(--dome) * -1); padding-bottom: calc(72px + var(--dome)); }

/* ── どんな夜でも ── */
.nights { background: var(--wall); padding-top: 92px; }
.nights__grid { display: grid; gap: 26px; }
.nights__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 40%; border-radius: 22px; }
.nights__list { display: grid; }
.nights__list li + li { border-top: 1px solid var(--rule); }
.nights__list a { display: grid; grid-template-columns: 1fr 26px; align-items: center; gap: 2px 12px; padding-block: 16px; text-decoration: none; }
.nights__list b { font-family: var(--disp); font-weight: 900; letter-spacing: .03em; font-size: 22px; line-height: 1.35; grid-column: 1; }
.nights__list span { grid-column: 1; font-size: 15.5px; line-height: 1.7; }
.nights__list .ic { grid-column: 2; grid-row: 1 / span 2; transition: transform .22s ease; }
.nights__list a:hover .ic { transform: translateX(4px); }

/* ── 街 ── */
.town { padding-bottom: 60px; }
.town__grid { display: grid; gap: 30px; }
.town__photos { position: relative; margin-top: -116px; padding-bottom: 46px; z-index: 2; }
.town__big { width: 74%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 40% 40%; border-radius: 22px; }
.town__small { position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 5px var(--paper); }
.town__text .lead { margin-top: 14px; }
.town__notice { margin-top: 16px; }
.town__notice a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--wine); text-decoration: none; }
.town__rate { margin-top: 12px; }
.town__rate a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.town__rate b { font-size: 44px; line-height: 1; color: var(--wine); }
.town__rate span { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.town__rate small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }

/* ── はじめて ── */
.first { padding-top: 66px; }
.first__list { counter-reset: n; display: grid; gap: 4px; margin-top: 22px; }
.first__list li { counter-increment: n; position: relative; padding: 14px 0 14px 54px; }
.first__list li::before { content: counter(n); position: absolute; left: 0; top: 12px; font-family: var(--disp); font-weight: 900; font-size: 40px; line-height: 1; color: var(--wine); }
.first__list b { display: block; font-size: 19px; line-height: 1.5; }
.first__list p { font-size: 16px; line-height: 1.75; }

/* ── 場所 ── */
.place { background: var(--wall); }
.place__grid { display: grid; gap: 30px; }
.place__text .lead { margin-top: 14px; }
.place__photo { width: min(100%, 420px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-top: 20px; }
.place__addr { margin-top: 18px; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-weight: 600; }
.hours th, .hours td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--rule); }
.hours th { width: 3.4em; }
.hours td { font-family: var(--font); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--wine); color: #fff; border-bottom-color: transparent; }
.hours tr.is-today th { border-radius: 10px 0 0 10px; }
.hours tr.is-today td { border-radius: 0 10px 10px 0; }
.hours__off { margin-top: 14px; font-weight: 700; }
.hours__note { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* ── 読みもの（トップ） ── */
.read__list li + li { border-top: 1px solid var(--rule); }
.read__list a { display: grid; grid-template-columns: 1fr 26px; gap: 2px 12px; align-items: center; padding-block: 16px; text-decoration: none; }
.read__list span { grid-column: 1; font-size: 14px; font-weight: 700; color: var(--wine); }
.read__list b { grid-column: 1; font-size: 17.5px; line-height: 1.55; }
.read__list .ic { grid-column: 2; grid-row: 1 / span 2; }
#read { padding-bottom: 56px; }

/* ── 下層の頭：縦に切った写真に、天板の白の帯の見出し。最後の行の帯が写真の下端にまたがる ── */
.phead { position: relative; margin-top: 58px; }
.phead__pic { position: relative; height: 62vw; min-height: 300px; max-height: 620px; background: var(--ink); }
.phead__wall { position: absolute; inset: 0; display: flex; gap: 3px; overflow: hidden; }
.phead__wall > div { flex: 1 1 0; min-width: 0; }
.phead__wall img { width: 100%; height: 100%; object-fit: cover; }
.phead__pic::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(20, 8, 12, 0), rgba(20, 8, 12, .4)); }
.phead__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-inline: var(--gut); width: min(1200px, 100%); margin-inline: auto; }
.phead h1 { font-size: clamp(26px, 7.2vw, 52px); line-height: 1.66; transform: translateY(.83em); }
.phead h1 .phead__band { display: inline; padding: .12em .34em .16em; background: var(--paper); color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 10px 24px rgba(20, 8, 12, .16); }
.phead__lead { width: min(1200px, 100%); margin-inline: auto; padding: 40px var(--gut) 0; font-weight: 700; font-size: 16px; line-height: 1.8; }
.phead__lead span { display: inline-block; }
.phead + .sec { padding-top: 56px; }
.phead:not(:has(.phead__lead)) + .sec { padding-top: 72px; }

/* ── メニュー ── */
.menu-rail { position: sticky; top: 58px; z-index: 12; background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.menu-rail::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; background: linear-gradient(to right, rgba(251, 247, 240, 0), var(--paper)); pointer-events: none; }
.menu-rail ul { position: relative; display: flex; gap: 2px; padding: 8px 34px 8px 12px; overflow-x: auto; scrollbar-width: none; }
.menu-rail ul::-webkit-scrollbar { display: none; }
.menu-rail a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-rail a.is-now { background: var(--wine); color: #fff; }
.menu { scroll-margin-top: 110px; }
.phead + .menu-rail + .menu { padding-top: 34px; }
.menu__note { font-size: 15px; color: var(--ink-soft); margin-bottom: 34px; }
.menu__cols { display: grid; gap: 34px; }
.menu__group { scroll-margin-top: 130px; }
.menu__group h3 { font-size: 18px; color: var(--wine); margin-bottom: 4px; }
/* ドリンクはワインの面。上端の盛り上がりに注ぐワインの写真がまたがり、下端にアレルギーのカードがまたがる */
.menu--drink { margin-top: var(--dome); padding-top: 0; padding-bottom: 130px; background: var(--wine); color: #fff; }
.menu--drink .menu__group h3 { color: var(--wall); }
.menu--drink .row small { color: rgba(255, 255, 255, .8); }
.menu__pour { position: relative; z-index: 2; width: min(76%, 340px); margin: -76px auto 30px; padding: 4px; background: #fff; border-radius: 22px; rotate: 2.5deg; box-shadow: 0 14px 30px rgba(20, 8, 12, .26); }
.menu__pour img { width: 100%; border-radius: 18px; }
.menu__end { position: relative; z-index: 2; margin-top: -76px; padding-bottom: 64px; }
.menu__allergy { padding: 22px; background: var(--wall); border-radius: 18px; box-shadow: 0 14px 30px rgba(20, 8, 12, .22); }
.menu__allergy h2 { font-size: 18px; margin-bottom: 6px; }

/* ── 初めての方へ・ほか ── */
.steps__list { counter-reset: n; display: grid; gap: 8px; }
.steps__list li { counter-increment: n; position: relative; padding: 14px 0 14px 60px; }
.steps__list li::before { content: counter(n); position: absolute; left: 0; top: 10px; font-family: var(--disp); font-weight: 900; font-size: 46px; line-height: 1; color: var(--wine); }
.steps__list b { display: block; font-size: 19px; line-height: 1.5; }
.pair__grid { display: grid; gap: 22px; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.pair--wine { background: var(--wine); color: #fff; margin-top: 30px; padding-bottom: 112px; }
/* 次の区間の写真を、ワインの面へ持ち上げる */
.pair--lift { padding-top: 0; }
.pair--lift img { position: relative; z-index: 2; margin-top: -68px; }
.wallsec { background: var(--wall); }

.access__grid { display: grid; gap: 44px; }
.facts > div { display: grid; grid-template-columns: 5.6em 1fr; gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; }
.facts a { font-weight: 700; }
/* 地図は角を丸めたカードにして、下の緑の面へまたがせる */
.mapbox { position: relative; z-index: 2; margin-bottom: -110px; }
.mapbox__frame { position: relative; height: 60vw; min-height: 300px; max-height: 520px; background: #e9e5d6; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(20, 8, 12, .2); }
.mapbox iframe { position: relative; z-index: 2; display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s ease; }
.mapbox__frame.is-loaded iframe { opacity: 1; }
.loader { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; background: var(--wine); animation: drip 1s ease-in-out infinite alternate; }
.is-loaded .loader { display: none; }
@keyframes drip { from { transform: scale(.55); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.party { background: var(--wall); padding-top: calc(110px + 52px); }
.party__grid { display: grid; gap: 20px; }
.party .fill { max-width: 340px; }

.faq { padding-bottom: 56px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { position: relative; display: block; padding: 16px 44px 16px 0; font-weight: 700; font-size: 17px; line-height: 1.6; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item i { position: absolute; right: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; }
.faq__item i::before, .faq__item i::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2.5px; background: var(--wine); border-radius: 2px; transition: transform .22s ease; }
.faq__item i::after { transform: rotate(90deg); }
.faq__item[open] i::after { transform: rotate(0); }
.faq__item p { padding-bottom: 18px; }

.cards { display: grid; gap: 32px; }
.card a { display: block; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-bottom: 12px; }
.card span { display: block; font-size: 14px; font-weight: 700; color: var(--wine); }
.card b { display: block; font-size: 19px; line-height: 1.5; margin-block: 2px 4px; }
.card p { font-size: 15.5px; line-height: 1.75; }
.read--list { padding-bottom: 56px; }

.article { padding-block: 104px 56px; }
.article__crumb { font-size: 14.5px; margin-bottom: 8px; }
.article__thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 26px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 21px; line-height: 1.5; margin-top: 36px; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.nf { padding-block: 110px 56px; text-align: center; }
.nf__photo { width: min(320px, 100%); margin: 0 auto 24px; border-radius: 18px; }
.nf .more { justify-content: center; }

/* ── フッター：店の伝票 ── */
.foot { position: relative; background: var(--wine); color: #fff; padding: 22px var(--gut) calc(var(--dock) + var(--safe) + 28px); margin-top: var(--dome); }
.foot__grid { width: min(1200px, 100%); margin-inline: auto; display: grid; gap: 32px; }
.slip { position: relative; z-index: 2; padding: 26px 22px 28px; background: var(--paper); color: var(--ink); rotate: -1.2deg; -webkit-mask: linear-gradient(#000 0 0) center / 100% calc(100% - 16px) no-repeat, radial-gradient(circle at 50% 100%, #000 7px, transparent 7.5px) top left / 16px 8px repeat-x, radial-gradient(circle at 50% 0, #000 7px, transparent 7.5px) bottom left / 16px 8px repeat-x; mask: linear-gradient(#000 0 0) center / 100% calc(100% - 16px) no-repeat, radial-gradient(circle at 50% 100%, #000 7px, transparent 7.5px) top left / 16px 8px repeat-x, radial-gradient(circle at 50% 0, #000 7px, transparent 7.5px) bottom left / 16px 8px repeat-x; }
.slip__logo { width: 104px; margin: 4px auto 16px; }
.slip__rows > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1.5px dashed var(--rule); font-weight: 600; }
.slip__rows dd { font-family: var(--disp); font-weight: 700; white-space: nowrap; }
.slip__thanks { margin-block: 18px 16px; font-size: 19px; line-height: 1.5; text-align: center; }
.foot__addr { font-size: 15px; line-height: 1.8; }
.foot__icons { display: flex; gap: 10px; margin-top: 14px; }
.foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 16px; }
.foot__nav a { display: flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; }
.foot__legal { margin-top: 16px; font-size: 13.5px; line-height: 1.8; }

/* ── 読み込みの演出（2026-11-05 ユーザー指定）──
   線でボトルとグラスを描き、注いで、なみなみまで満ちたら（ここまでCSS）、
   第一画面の写真を待ってワインが広がり、表面張力の縁を見せて上へ抜ける（ここからJS）。
   セッションで1回。触れる・キーで飛ばせる。JSが動かなくても8秒で消える。 */
.op { display: none; }
.is-opening .op { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--paper); animation: op-safe 0s 8s forwards; }
@keyframes op-safe { to { visibility: hidden; } }
.op::after { content: ""; position: absolute; left: -6%; right: -6%; top: calc(100% - 1px); height: 10vh; background: var(--wine); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.op__stage { width: min(94vw, 560px); transform: translateX(3%); }
.op__art { display: block; width: 100%; height: auto; overflow: visible; }
.op__ln, .op__stream { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; visibility: hidden; }
.op__ln { stroke: #33312b; animation: op-draw calc(var(--b) * var(--d)) linear calc(var(--t) + var(--a) * var(--d)) forwards; }
.op__bottle { --t: .1s; --d: .9s; transform-origin: 1100px 200px; animation: op-tilt .5s cubic-bezier(.4, 0, .3, 1) 1.85s forwards; }
.op__glass { --t: .25s; --d: .7s; }
@keyframes op-draw { from { stroke-dashoffset: 1; visibility: visible; } to { stroke-dashoffset: 0; visibility: visible; } }
@keyframes op-tilt { to { transform: rotate(7deg); } }
.op__stream { stroke: var(--wine); animation: op-pour .38s cubic-bezier(.5, 0, .9, .6) .9s forwards, op-stop .3s cubic-bezier(.5, 0, 1, 1) 1.9s forwards; }
@keyframes op-pour { from { stroke-dashoffset: 1; visibility: visible; } to { stroke-dashoffset: 0; visibility: visible; } }
@keyframes op-stop { from { stroke-dashoffset: 0; visibility: visible; } to { stroke-dashoffset: -1; visibility: hidden; } }
.op__level { transform: translateY(var(--bottom)); animation: op-fill .9s cubic-bezier(.3, .2, .3, 1) 1.1s forwards; }
@keyframes op-fill { to { transform: translateY(var(--top)); } }
.op__wave { fill: var(--wine); animation: op-wave .8s linear infinite; }
@keyframes op-wave { to { transform: translateX(var(--period)); } }
.op__cap { fill: var(--wine); transform: scaleY(0); animation: op-cap .44s cubic-bezier(.3, 1.7, .5, 1) 1.98s forwards; }
@keyframes op-cap { to { transform: scaleY(1); } }
.op__flood { position: absolute; inset: 0; display: grid; place-items: center; background: var(--wine); clip-path: circle(0 at var(--fx, 30%) var(--fy, 62%)); }
.op.is-flood .op__flood { clip-path: circle(150vmax at var(--fx, 30%) var(--fy, 62%)); transition: clip-path .6s cubic-bezier(.65, 0, .3, 1); }
.op__logo { width: 120px; opacity: 0; transform: scale(.9); }
.op.is-flood .op__logo { opacity: 1; transform: none; transition: opacity .3s ease .3s, transform .5s cubic-bezier(.2, 1.4, .4, 1) .3s; }
.op.is-lift { transform: translateY(calc(-100% - 11vh)); transition: transform .75s cubic-bezier(.7, 0, .25, 1); }
/* 開いたあと：黒い地の縦の列に写真がゆっくり下から満ち、真ん中から外へ決まりの写真に溶ける（JS）。
   そのあと帯が引かれ、斜めの帯が掛かる */
.fv.is-shuffle .fv__p > img:not(.fv__pop), .fv.is-shuffle .fv__text, .fv.is-shuffle .seal, .fv.is-shuffle .fv__shade { visibility: hidden; }
.fv.is-shuffle .fv__p.is-set > img { visibility: visible; }
.fv__p .fv__pop { z-index: 1; opacity: 1; transition: none; }
.fv__pop.is-in { animation: fv-fill 1.15s cubic-bezier(.6, 0, .2, 1) both; }
.fv__p.is-set > img.is-on { z-index: 2; animation: fv-settle 1.2s cubic-bezier(.5, 0, .15, 1) backwards; }
@keyframes fv-fill { from { clip-path: inset(100% 0 0 0); transform: scale(1.2); } to { clip-path: inset(0); transform: scale(1.06); } }
@keyframes fv-settle { from { opacity: 0; transform: scale(1.1); } }
.fv.is-ready .fv__kick, .fv.is-ready .fv__shade { animation: fv-fade .45s ease backwards; }
.fv.is-ready .fv__title span { animation: band-in .42s cubic-bezier(.2, .9, .3, 1) .08s backwards; }
.fv.is-ready .fv__title span + span { animation-delay: .2s; }
.fv.is-ready .fv__lead { animation: sash-in .5s cubic-bezier(.2, 1.15, .4, 1) .42s backwards; }
.fv.is-ready .seal { animation: pop-again .34s cubic-bezier(.3, 1.5, .5, 1) .75s backwards; }
@keyframes fv-fade { from { opacity: 0; } }
@keyframes band-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes sash-in { from { transform: rotate(-4deg) translateX(-105%); } }
@keyframes pop-again { from { transform: rotate(-7deg) scale(.6); opacity: 0; } }

/* 出現：短く軽く */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .42s ease, transform .42s ease; }
.rise.is-in { opacity: 1; transform: none; }

/* ── PC ── */
@media (min-width: 768px) {
  :root { --gut: 40px; }
  html { scroll-padding-top: calc(var(--bar) + 16px); }
  .dock { display: none; }
  .sec { padding-block: 110px; }
  .sec__title:where(:not(.sec__title--s)) { font-size: clamp(40px, 5.4vw, 60px); }

  .fv { height: calc(100vh - var(--bar)); height: calc(100svh - var(--bar)); min-height: 560px; }
  .fv__wall { inset: 0; }
  .fv__p { display: block; }
  .fv__p--glass { flex-grow: .92; }
  .fv__p--d { flex-grow: .72; }
  .fv__p img.only-sp { display: none; }
  .fv__shade { inset: auto 0 0; height: 50%; }
  .fv__tag { display: none; }
  .fv__text { bottom: 48px; padding-inline: 48px; }
  .fv__kick { font-size: 17px; }
  .fv__title { font-size: clamp(46px, 5.2vw, 80px); margin-top: 14px; }
  .fv__lead { font-size: 20px; margin: 26px 0 0 -48px; padding-left: calc(48px + .4em); padding-right: 1.6em; }
  .seal { right: 40px; bottom: auto; top: 36px; width: 148px; height: 148px; }
  .seal .ic { width: 26px; height: 26px; margin-bottom: 4px; }
  .seal b { font-size: 31px; }
  .seal small { font-size: 16px; }

  .head { position: sticky; height: var(--bar); padding: 0 32px; gap: 24px; justify-content: flex-start; box-shadow: 0 1px 0 var(--rule); }
  .head.on-photo { background: var(--paper); pointer-events: auto; box-shadow: none; }
  .head.on-photo .head__logo { visibility: visible; }
  .head__mark { width: 46px; }
  .head__name { font-size: 17px; }
  .head__nav { flex: 1; }
  .head__nav ul { display: flex; justify-content: center; gap: 4px; }
  .head__nav a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
  .head__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
  .head__nav a:hover::after, .head__nav a[aria-current]::after { transform: scaleX(1); }
  .head__act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .head__act .fill { min-height: 46px; padding: 0 20px; font-size: 15px; white-space: nowrap; }

  .wine { padding-block: 84px 0; margin-top: clamp(24px, 3.9vw, 56px); }
  .wine__grid { grid-template-columns: 1.1fr .9fr; gap: 0 70px; align-items: start; }
  .wine__main { grid-column: 1; grid-row: 1; }
  .wine__list { grid-column: 2; grid-row: 1; padding-top: 16px; }
  .wine__more { grid-column: 2; grid-row: 2; }
  .wine__pour { grid-column: 1; grid-row: 2 / span 2; margin: 26px 0 -96px; width: min(100%, 460px); order: 0; }
  .plates { padding-top: 120px; }
  .plates__grid { grid-template-columns: .84fr 1.16fr; gap: 60px; align-items: center; }
  .plates__photos { margin-inline: 0 calc((100vw - min(1200px, 100vw)) / -2 - 40px); }
  .plates__big { border-radius: 26px 0 0 26px; }
  .plates__small { left: -44px; right: auto; bottom: -160px; width: 42%; }
  .pasta__bg { height: min(64vw, 820px); max-height: none; }
  .deco--pasta { width: 92px; left: 26px; bottom: 16px; }
  .pasta__card { position: absolute; right: max(40px, calc((100vw - 1200px) / 2 + 40px)); bottom: -1px; width: 430px; margin: 0; padding: 30px 30px 26px; }
  .straddle { font-size: 20px; padding: 14px 38px 15px; margin: -34px auto -30px; }
  .sec--end { padding-bottom: calc(110px + var(--dome)); }
  .seam--spoon { padding-left: max(60px, calc((100vw - 1200px) / 2 + 40px)); }
  .hours-band { font-size: 19px; padding: 12px 28px 13px 22px; margin-bottom: -22px; }
  .hours-band .ic { width: 24px; height: 24px; vertical-align: -5px; }

  .nights { padding-top: 130px; }
  .nights__grid { grid-template-columns: 1fr 1.15fr; gap: 26px 64px; }
  .nights__grid .sec__head { grid-column: 1 / -1; }
  .sec__head { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; gap: 20px; }
  .deco--head { float: none; flex: none; margin: 0 0 4px; }
  .bubble { max-width: 360px; }
  .nights__photo { aspect-ratio: 5 / 6; }
  .nights__list { align-content: center; }
  .nights__list b { font-size: 27px; }
  .nights__list a { padding-block: 24px; }

  .town__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .town__text .sec__title { font-size: clamp(40px, 3.9vw, 56px); }
  .place__text .sec__title { font-size: clamp(40px, 4.2vw, 60px); }
  .town__photos { margin-top: -180px; }
  .first { padding-top: 150px; }
  .first__list { grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 30px; }
  .place__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .read__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
  .read__list li + li { border-top: 0; }
  #read { padding-bottom: 80px; }

  .phead { margin-top: 0; }
  .phead__pic { height: 50vh; min-height: 360px; }
  .phead__lead { padding-top: 64px; font-size: 18px; }
  .phead + .sec { padding-top: 80px; }
  .phead:not(:has(.phead__lead)) + .sec { padding-top: 100px; }
  .menu-rail { top: var(--bar); }
  .menu-rail ul { justify-content: center; flex-wrap: wrap; padding-inline: 16px; }
  .menu-rail::after { display: none; }
  .menu__cols { grid-template-columns: 1fr 1fr; gap: 42px 60px; }
  .phead + .menu-rail + .menu { padding-top: 56px; }
  .menu--drink { padding-top: 124px; padding-bottom: 190px; }
  .menu--drink .sec__head { justify-content: flex-end; }
  .menu__pour { position: absolute; top: 0; right: max(40px, calc((100vw - 1200px) / 2 + 40px)); width: 360px; margin: 0; translate: 0 -46%; }
  .menu__end { margin-top: -110px; padding-bottom: 90px; }
  .menu__allergy { padding: 30px 36px; max-width: 760px; margin-inline: auto; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 20px 50px; }
  .pair__grid { grid-template-columns: .8fr 1fr; gap: 60px; align-items: center; }
  .pair--rev .pair__grid { grid-template-columns: 1fr .8fr; }
  .pair--rev img { order: 2; }
  .pair--wine { padding-bottom: 160px; }
  .pair--lift { padding-top: 0; }
  .pair--lift .pair__grid { align-items: start; }
  .pair--lift img { margin-top: -120px; }
  .pair--lift .pair__grid > div { padding-top: 90px; }
  .access__grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .party__grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
  .mapbox { margin-bottom: -200px; }
  .party { padding-top: calc(200px + 80px); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .article { padding-block: 70px 70px; }
  .faq { padding-top: 60px; }

  .foot { padding: 40px 40px 44px; }
  .foot__grid { grid-template-columns: 400px 1fr; gap: 72px; align-items: center; }
  .foot__nav { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 28px; }
}

/* ヘッダーのナビが1行に収まる幅から出す */
@media (min-width: 1080px) {
  .head__nav { display: block; }
  .head__act { margin-left: 0; }
  .head__menu { display: none; }
  .drawer { display: none; }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
