/* 寿司 川正 — 共通の見た目
   コンセプト「静」：暗いカウンターに一貫だけが照らされている瞬間。
   派手さではなく「スケールと強弱」で見せる。大きな文字・大きな画像と、静かな余白の緩急。
   色は下の5色だけ。燻し金は線と小さな英字だけ、朱は落款だけに使う */

:root {
  --sumi: #0F0E0C;      /* 墨：背景（主） */
  --susu: #1C1A17;      /* 煤竹：背景（副）、セクションの切替 */
  --kinari: #EAE4D8;    /* 生成り：文字（純白は使わない） */
  --gold: #A88B55;      /* 燻し金：細罫線・英字サブ見出し・ボタンの枠 */
  --shu: #8E3A2A;       /* 朱：落款だけ（1ページに1〜2か所） */

  --line: 1px solid var(--gold);
  --hair: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);

  --f-head: "Shippori Mincho B1", "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: 24px;        /* 左右の余白 */
  --sec-space: 72px;     /* セクションの上下の余白（スマホ）。隣のセクションと足して 144px になる */
  --gap-head: 44px;      /* 見出しから中身まで */
  --gap-block: 40px;     /* 中身のかたまりどうし */
  --wrap: 1120px;        /* 中身の最大幅 */

  /* 動きの速さ（すべてゆっくり、重みのある動き） */
  --ease-heavy: cubic-bezier(.19, 1, .22, 1);     /* せり上がり：出だしは素直に、最後は長く沈む */
  --ease-curtain: cubic-bezier(.65, 0, .25, 1);   /* 幕開き：ゆっくり始まり、ゆっくり止まる */
  --t-fade: 1.6s;
  --t-rise: 1.6s;
  --t-curtain: 1.8s;
}
@media (max-width: 374px) { :root { --gutter: 20px; } }
@media (min-width: 768px) { :root { --gutter: 48px; --sec-space: 96px; --gap-head: 56px; --gap-block: 48px; } }
@media (min-width: 1024px) { :root { --sec-space: 112px; --gap-head: 64px; --gap-block: 56px; } }

/* ─── 土台 ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--sumi);
  color: var(--kinari);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 2;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 語や金額の途中で改行させない */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.ln { display: inline-block; }   /* 1行（content.js の配列の1要素）を途中で折らない */
.w { white-space: nowrap; }      /* 文節のかたまり。改行は、かたまりの間の <wbr> でだけ起きる */
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ─── ボタン：燻し金の細枠のみ。角丸・塗り・影は使わない ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  font-family: var(--f-head); font-weight: 500;
  font-size: 16px; letter-spacing: .15em;
  border-radius: 0;
  transition: border-color .8s, color .8s;
}
.btn--line { border: var(--line); color: var(--kinari); }
@media (hover: hover) { .btn--line:hover { border-color: var(--kinari); } }

/* ─── セクション ─── */
.sec { position: relative; padding: var(--sec-space) var(--gutter); }
.sec > *:not(.wm) { position: relative; z-index: 1; }

/* 背景の巨大な英字の透かし。スクロールとは関係なく、右から左へずっとゆっくり流れ続ける。
   同じ語を2つ並べ（main.js）、全体の半分だけ動かして切れ目なくつなぐ */
.wm { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wm__in {
  position: absolute; left: 0; top: calc(var(--sec-space) + 120px);
  display: flex; width: max-content;
  transform: translate3d(0, -50%, 0);
  font-family: var(--f-en); font-weight: 500; font-style: italic;
  font-size: 32vw; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  color: color-mix(in srgb, var(--kinari) 5%, transparent);
  animation: wm-flow 70s linear infinite;
  will-change: transform;
}
.wm__word { padding-right: .35em; }
@keyframes wm-flow { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(-50%, -50%, 0); } }
/* 背景の英字は、画面が広くても大きくなりすぎないよう上限を決める（2026-10-11「文字がでかい」） */
@media (min-width: 1024px) { .wm__in { font-size: min(15vw, 230px); top: calc(var(--sec-space) + 60px); } }

/* ─── セクション見出し：大きな漢数字と、和の見出し・英字の大小の差 ─── */
.sec-hd { max-width: var(--wrap); margin: 0 auto; }
.sec-hd__no {
  font-family: var(--f-head); font-weight: 500;
  font-size: 88px; line-height: 1; letter-spacing: 0;
}
.sec-hd__ja {
  margin-top: 28px;
  font-family: var(--f-head); font-weight: 600;
  font-size: 34px; letter-spacing: .15em; line-height: 1.5;
}
.sec-hd__ja::before {           /* 数字と見出しの間の細罫 */
  content: ""; display: block; width: 56px; margin-bottom: 24px; border-top: var(--hair);
}
.sec-hd__en {
  margin-top: 10px;
  font-family: var(--f-en); font-weight: 500;
  font-size: 14px; letter-spacing: .3em; line-height: 1.4;
  color: var(--gold);
}
@media (min-width: 768px) {
  .sec-hd__no { font-size: 104px; }
  .sec-hd__ja { font-size: 40px; }
  .sec-hd__en { font-size: 16px; }
}
@media (min-width: 1024px) {
  .sec-hd { display: grid; grid-template-columns: auto 1fr; column-gap: 56px; align-items: end; }
  /* 番号の字の上端を細罫に、下端を英字の行に揃える（字の実寸を画素で測って決めた値） */
  .sec-hd { column-gap: 40px; }
  .sec-hd__no { grid-row: 1 / span 2; font-size: 116px; line-height: .9; margin-bottom: .1em; }
  .sec-hd__ja { margin-top: 0; font-size: 44px; line-height: 1.3; }
  .sec-hd__ja::before { width: 64px; margin-bottom: 20px; }
  .sec-hd__en { margin-top: 10px; }
}

/* ─── 動き ─── */
/* フェード */
.fade { opacity: 0; transition: opacity var(--t-fade) ease; }
.fade.is-in { opacity: 1; }
/* 1行ずつ下からせり上がる（外側で切り抜き、内側を動かす） */
.rise { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.rise__in { display: block; transform: translate3d(0, 110%, 0); transition: transform var(--t-rise) var(--ease-heavy); }
.reveal.is-in .rise__in { transform: none; }

/* ─── ヘッダー：序を過ぎてから薄く出す ─── */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* 中の部品の端（文字の端）を、本文の左右の端に揃える。部品は左右に 8px の余白を持つので、その分を引く。
     iPhone の画面上端・切り欠きの余白（safe-area）は、高さに足す（高さを固定したまま足すと中身が押される） */
  --hd-x: max(calc(var(--gutter) - 8px), calc((100% - var(--wrap)) / 2 - 8px));
  height: calc(64px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--hd-x), env(safe-area-inset-right)) 0 max(var(--hd-x), env(safe-area-inset-left));
  background: color-mix(in srgb, var(--sumi) 90%, transparent);
  border-bottom: var(--hair);
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.hd.is-shown { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.hd__logo { display: flex; align-items: center; min-height: 44px; padding: 0 8px; }
.hd__logo-img { height: 30px; width: auto; }
.ft__logo { height: 40px; width: auto; margin: 0 auto; }
.hd__right { display: flex; align-items: center; gap: 4px; }
.hd__rsv { padding: 0 16px; }
.hd__menu {
  min-height: 44px; min-width: 44px; padding: 0 calc(8px - .15em) 0 14px;
  font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .15em;
}
.hd__en {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  font-family: var(--f-en); font-weight: 500; font-size: 16px; letter-spacing: .2em;
}
@media (min-width: 768px) {
  .hd { height: calc(76px + env(safe-area-inset-top)); }
  .hd__logo-img { height: 36px; }
  .hd__right { gap: 16px; }
}

/* ─── メニュー（全画面） ─── */
.nav {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: center;
  padding: 88px var(--gutter) 48px;
  background: var(--sumi);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.nav.is-open { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
/* 閉じているメニューは画面から外す。display:flex が hidden 属性を打ち消し、
   透明なメニューが画面全体を覆って、下のボタンが押せなくなっていた（2026-09-27 修正） */
.nav[hidden] { display: none; }
.nav__close {
  position: absolute; top: calc(10px + env(safe-area-inset-top));
  right: max(calc(var(--gutter) - 8px), calc((100% - var(--wrap)) / 2 - 8px), env(safe-area-inset-right));
  min-height: 44px; min-width: 44px; padding: 0 calc(8px - .15em) 0 8px;
  font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .15em;
}
.nav__list { width: 100%; max-width: 460px; margin: 0 auto; border-top: var(--hair); }
.nav__list li { border-bottom: var(--hair); }
/* 項目のリストの中だけに当てる（ボタンは ul の外。親フォルダ「よくある落とし穴」） */
.nav ul a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 4px;
  color: var(--kinari);
}
.nav__ja { font-family: var(--f-head); font-weight: 500; font-size: 21px; letter-spacing: .15em; line-height: 1.6; }
.nav__en { font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: .25em; color: var(--gold); }
.nav__ja, .nav__en { white-space: nowrap; }   /* 項目名と英字を途中で折らない */
@media (max-width: 359px) {
  .nav__ja { font-size: 19px; letter-spacing: .05em !important; }
  .nav__en { letter-spacing: .08em !important; }
}
.btn__txt { display: block; text-align: center; }   /* ボタンの文字は1つの塊にして、全角の空白の所でだけ折り返す */
@media (max-width: 413px) {
  .nav ul a { gap: 12px; }
  .nav__ja { letter-spacing: .1em; }
  .nav__en { letter-spacing: .15em; }
}
.nav__cta { width: 100%; max-width: 460px; margin: 40px auto 0; }
.nav__cta .btn { width: 100%; min-height: 54px; }

/* ─── 1. 序 ─── */
.op {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center;
  background: var(--sumi);
}
/* 写真の移り変わり。墨の暗がりからゆっくり浮かび、寄っていた絵が引いていく。次の写真は前の写真の上に 1.6 秒かけて重なる（4秒ごと）
   引き終わりは等倍（写真を切らない決まり）。横長の画面は横の写真の組、縦長の画面は縦の写真の組 */
.op__photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; }   /* 重なりをこの中に閉じ込め、上の墨（.op__scrim）が必ず写真の上に来るように */
.op__set { position: absolute; inset: 0; }
.op__set--pc { display: none; }
.op .op__dots--pc { display: none; }
@media (min-aspect-ratio: 1/1) { .op__set--sp, .op .op__dots--sp { display: none; } .op__set--pc { display: block; } .op .op__dots--pc { display: flex; } }
.op__photo-img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transform: scale(1.06);
  will-change: transform, opacity;
}
.op__photo-img.is-on {
  opacity: 1; transform: scale(1); z-index: 1;
  transition: opacity 1.6s ease, transform 3.8s cubic-bezier(.2, .6, .2, 1);   /* 4秒で次へ移る前に、引き終わって等倍になる */
}
/* 前の写真は、引き終わった大きさのまま、次の写真の下でゆっくり消える */
.op__photo-img.is-off { opacity: 0; transform: scale(1); transition: opacity 1.6s ease .3s; }
/* 最初の1枚は、読み込みと同時に浮かび上がる */
.op__photo-img.is-intro {
  animation: hero-fade 1.8s ease .1s backwards, hero-settle 3.8s cubic-bezier(.2, .6, .2, 1) .1s backwards;
}
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
/* いま何枚目か：右下の細い線。いまの1本だけ長く、生成り色に */
.op__dots {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(28px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; align-items: center;
  opacity: 0; animation: fade-in 1.2s ease 2s forwards;
}
.op__dots span {
  display: block; width: 18px; height: 1px; background: color-mix(in srgb, var(--kinari) 45%, transparent);
  transition: width .8s ease, background-color .8s ease;
}
.op__dots span.is-on { width: 40px; background: var(--kinari); }
/* ロゴが読めるよう、写真の上に墨を重ねる */
.op__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--sumi) 62%, transparent); }
/* 写真の隅の添え書き（無料素材のあいだは「イメージ」） */
.op__cap {
  position: absolute; left: var(--gutter); top: calc(18px + env(safe-area-inset-top)); z-index: 1;   /* 下は「Scroll」と重なるので上に */
  font-family: var(--f-head); font-weight: 500; font-size: 14px; letter-spacing: .12em; line-height: 1.6;
  color: var(--kinari); opacity: 0; animation: fade-in 1.2s ease 1.6s forwards;
}
/* 炭火の上に立つ湯気のような、ごく淡い明かりの揺らぎ */
.op__haze {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  /* 下端で揺らぎが切れて見えないよう、下に向かって消す（見える色ではなく、透け具合の指定） */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.op__haze::before, .op__haze::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px);
}
.op__haze::before {
  width: 70vmax; height: 50vmax; left: 5%; top: 20%;
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  animation: drift-a 28s ease-in-out infinite alternate, breathe 9s ease-in-out infinite alternate;
}
.op__haze::after {
  width: 55vmax; height: 40vmax; left: 25%; top: 30%;
  background: color-mix(in srgb, var(--kinari) 4%, transparent);
  animation: drift-b 34s ease-in-out infinite alternate, breathe 12s ease-in-out -4s infinite alternate;
}
@keyframes drift-a { from { transform: translate(-6%, 4%); } to { transform: translate(5%, -6%); } }
@keyframes drift-b { from { transform: translate(6%, -2%); } to { transform: translate(-5%, -8%); } }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }

.op__inner { position: relative; z-index: 1; text-align: center; }
/* ロゴと英字の後ろにだけ、ぼかした墨をうっすら敷く（写真の明るい所に重なっても読めるように） */
.op__inner::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 150%; height: 115%; transform: translate(-50%, -50%);
  border-radius: 50%; filter: blur(48px);
  background: color-mix(in srgb, var(--sumi) 55%, transparent);
}
.op__logo { margin: 0; font-size: 0; }
/* 最初の画面のロゴ：透過の生成り色の筆文字を、写真の上に直に置く */
.op__logo-img {
  height: min(46svh, 500px); width: auto; margin: 0 auto;
  opacity: 0; animation: fade-in 1.6s ease .5s forwards;
}
.op__notice {
  margin-top: 18px;
  font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .15em; line-height: 1.6;
  color: var(--kinari); opacity: 0; animation: fade-in 1.2s ease 1.4s forwards;
}
@media (min-width: 768px) { .op__notice { font-size: 18px; margin-top: 22px; } }
.op__en {
  margin-top: 36px; margin-right: -.35em;
  font-family: var(--f-en); font-weight: 500;
  font-size: 17px; letter-spacing: .35em; line-height: 1;
  color: var(--gold);
  opacity: 0; animation: fade-in 1.2s ease 1.2s forwards;
}
.op__scroll {
  position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 15px; letter-spacing: .2em; line-height: 1;
  color: var(--gold);
  opacity: 0; animation: fade-in 1.2s ease 1.6s forwards;
}
.op__scroll::after { content: ""; width: 0; height: 44px; border-left: var(--hair); }
/* 写真の上では、英字と Scroll を生成りにする（燻し金だと写真の明るい所で読みにくい。罫線は燻し金のまま） */
.op:has(.op__photo) .op__en, .op:has(.op__photo) .op__scroll { color: var(--kinari); }
@keyframes fade-in { to { opacity: 1; } }
@media (min-width: 768px) {
  .op__en { font-size: 22px; margin-top: 48px; }
  .op__scroll::after { height: 64px; }
}

/* ─── 2. 想い ─── */
.phil__body {
  display: flex; flex-direction: column; align-items: center;
  gap: 48px; margin-top: var(--gap-head);
}
.phil__catch {
  writing-mode: vertical-rl;
  font-family: var(--f-head); font-weight: 600;
  font-size: 36px; letter-spacing: .2em; line-height: 1.5;
}
.phil__text {
  display: flex; align-items: flex-end; gap: 10px;
  transition-delay: .5s;
}
.phil__seal { width: 32px; height: auto; flex: none; margin-bottom: 10px; }
/* PC：左に本文、右に縦書きのキャッチ（右から読む和の順） */
@media (min-width: 768px) {
  .phil__body {
    flex-direction: row-reverse; justify-content: center; align-items: center;
    gap: clamp(64px, 9vw, 140px); margin-top: var(--gap-head);
  }
  .phil__catch { font-size: 48px; }
  .phil__text { gap: 20px; }
  .phil__seal { width: 40px; }
}

/* 写真は本文の横に縦長（3:4）で置く。2026-10-15 熊谷さん「左が空いて微妙」→ 帯をやめ、写真を本文の左へ */
.phil__img { width: min(100%, 420px); transition-delay: .3s; }
@media (min-width: 1024px) {
  .phil__img { width: clamp(300px, 28vw, 380px); flex: none; }
}
/* タブレット（768〜1023px）は3列だと本文が細く折れるので、本文とキャッチを上に、写真をその下の中央に置く */
@media (min-width: 768px) and (max-width: 1023px) {
  .phil__body {
    display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center;
    column-gap: 72px; row-gap: 64px;
  }
  .phil__catch { grid-column: 2; grid-row: 1; }
  .phil__text  { grid-column: 1; grid-row: 1; }
  .phil__img   { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 420px; }
}

/* ─── 共通：本文のかたまり ─── */
.lead { max-width: var(--wrap); margin: var(--gap-head) auto 0; }
.note { max-width: var(--wrap); margin: 24px auto 0; font-size: 15px; line-height: 2; }
.sub-h {
  font-family: var(--f-head); font-weight: 600;
  font-size: 21px; letter-spacing: .15em; line-height: 1.6;
}
@media (min-width: 1024px) { .sub-h { font-size: 24px; } }

/* ─── 写真の枠：比率は 16:9・3:4・1:1 の3種類だけ ───
   画面に入ると、幕が中央から左右に開き（clip-path）、寄っていた絵がゆっくり引いていく。
   スクロール中は、中の絵が枠とずれて動く（パララックス。main.js が .ph__par の transform を書く） */
.ph {
  position: relative; margin: 0; overflow: hidden; background: var(--sumi);
  clip-path: inset(0 50% 0 50%);
  transition: clip-path var(--t-curtain) var(--ease-curtain);
}
.ph.is-in { clip-path: inset(0 0 0 0); }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph__par { position: absolute; inset: 0; }   /* 2026-10-15：写真の端が切れないよう、パララックス用の拡大（上下10%）をやめた */
.ph__in {
  position: absolute; inset: 0;
  transform: scale(1.16);
  transition: transform 6s var(--ease-heavy);
}
.ph.is-in .ph__in { transform: scale(1); }   /* 寄りは最後に 100% まで戻す（端を切らない） */
.ph__img { width: 100%; height: 100%; object-fit: cover; }
.ph__cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-family: var(--f-head); font-weight: 500; font-size: 14px; letter-spacing: .12em; line-height: 1.6;
  color: var(--kinari);
}
.ph__pending { margin-right: .8em; padding-right: .8em; border-right: var(--hair); }
.ph__cap::before {           /* 明るい写真の上でも添え書きが読めるよう、下に薄い墨を敷く */
  content: ""; position: absolute; z-index: -1; inset: -10px -16px -14px;
  background: color-mix(in srgb, var(--sumi) 70%, transparent);
}
@media (min-width: 768px) { .ph__cap { left: 24px; bottom: 20px; font-size: 15px; } }

/* テクスチャ（写真が届くまでの中身） */
.tex--washi { background: var(--susu) url(../images/tex-washi.svg) center / 480px repeat; }
.tex--wood  { background: var(--susu) url(../images/tex-wood.svg) center / cover no-repeat; }
.tex--ink   { background: var(--susu) url(../images/tex-ink.svg) center / cover no-repeat; }
.tex--ember { background: var(--sumi) url(../images/tex-ember.svg) center / cover no-repeat; }
.tex--ember::after {                     /* 熾りの明るさだけが、ゆっくり揺らぐ */
  content: ""; position: absolute; inset: 0;
  background: url(../images/tex-ember.svg) center / cover no-repeat;
  animation: breathe 5s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

/* ─── 3. おまかせ ─── */
.omk__courses {
  display: grid;
  max-width: var(--wrap); margin: var(--gap-block) auto 0;
  border-top: var(--hair);
}
.course { padding: 32px 0; border-bottom: var(--hair); text-align: center; }
.course__en {
  font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: .3em; line-height: 1.4;
  color: var(--gold); margin-right: -.3em;
}
.course__name {
  margin-top: 12px;
  font-family: var(--f-head); font-weight: 600; font-size: 23px; letter-spacing: .15em; line-height: 1.5;
  margin-right: -.15em;
}
.course__rows { margin-top: 20px; }
/* 価格は大きく出さない。明朝で、ほかの行と同じ調子で淡々と */
.course__price { font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.course__row { line-height: 2; }
.omk__drinks { max-width: var(--wrap); margin: var(--gap-block) auto 0; }
.omk__drinks p { margin-top: 16px; }

/* ギャラリー：スマホ・タブレットは 3:4 の写真が左へずっと流れ続ける帯（2026-10-11 熊谷さんの指示）。
   PC では画面の端から端まで、4枚ずつ2段で全部見せる */
.gallery { margin: var(--gap-block) calc(var(--gutter) * -1) 0; overflow: hidden; }
.gallery__track {
  display: flex; gap: 14px; width: max-content;
  animation: gallery-flow 56s linear infinite;
  will-change: transform;
}
@keyframes gallery-flow { to { transform: translate3d(-50%, 0, 0); } }
.gallery .ph { flex: 0 0 min(64vw, 300px); margin-right: 0; }
/* 帯の中では幕開き・寄りの演出をしない（流れてくる途中で幕が開くと落ち着かないため） */
.gallery .ph { clip-path: none; }
.gallery .ph .ph__in { transform: none; transition: none; }
/* 半分ずつ動かしたときに継ぎ目の間隔がそろうよう、隙間は各写真の右に持たせる */
.gallery__track { gap: 0; }
.gallery .ph { margin-right: 14px; }
@media (min-width: 768px) {
  .course__en { font-size: 16px; }
  .course__name { font-size: 26px; }
}
@media (min-width: 1024px) {
  .omk__courses { grid-template-columns: 1fr 1fr; }
  .course + .course { border-left: var(--hair); }
  .gallery { overflow: visible; }
  .gallery__track { width: auto; flex-wrap: wrap; gap: 12px; animation: none; }
  .gallery .ph { flex: 0 0 calc((100% - 36px) / 4); margin-right: 0; clip-path: inset(0 50% 0 50%); }
  .gallery .ph.is-in { clip-path: inset(0 0 0 0); }
  .gallery .ph .ph__in { transform: scale(1.16); transition: transform 6s var(--ease-heavy); }
  .gallery .ph.is-in .ph__in { transform: scale(1); }   /* 寄りは最後に 100% まで戻す（端を切らない） */
  .gallery__dup { display: none; }
}

/* 画面の端から端まで使う横長の写真は、広い画面では高さが画面の 7 割を超えないようにする
   （1440px の画面で 16:9 のままだと高さ 810px になり、写真だけで画面が埋まって間延びするため） */
@media (min-width: 1024px) {
  /* PC の横長の写真は、中身の幅（最大 1120px）に 16:9 のまま置く。高さを詰めると写真の端が切れるため（2026-10-15） */
  .sec .space__img, .sec .rsv__img, .sec .craft__band { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
}

.omk__drinks-img { margin: var(--gap-block) calc(var(--gutter) * -1) 0; }
.craft__band { margin: var(--gap-head) calc(var(--gutter) * -1) 0; }
.craft__band + .craft__list { margin-top: var(--gap-block); }
@media (min-width: 1024px) {

  .omk__drinks-img { margin-left: 0; margin-right: 0; }   /* 日本酒の写真は中身の幅で 16:9 のまま（高さを詰めると両端の瓶が切れるため） */
}
.gallery-more { margin-top: var(--gap-block); text-align: center; }
.gallery-more .btn { min-width: 240px; min-height: 52px; }

/* ─── 4. 設え：画面の端から端まで ─── */
.space__img { margin: var(--gap-head) calc(var(--gutter) * -1) 0; }
.space .lead { margin-top: var(--gap-block); }

/* 設えの中の個室：写真と文を並べる（PC は横に、スマホは縦に） */
.room { max-width: var(--wrap); margin: calc(var(--gap-head) + 16px) auto 0; display: grid; gap: 28px; }
.room__img { margin: 0 calc(var(--gutter) * -1); }
.room__en { font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: .3em; color: var(--gold); }
.room__title { margin-top: 8px; font-family: var(--f-head); font-weight: 600; font-size: 28px; letter-spacing: .15em; line-height: 1.5; }
.room__lead {
  display: inline-block; margin-top: 14px; padding: 6px 14px; border: var(--line);
  font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: .1em;
}
.room__body { margin-top: 18px; }
@media (min-width: 1024px) {
  .room { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 56px; }
  .room__img { margin: 0; }
  .room__title { font-size: 32px; }
}

/* ─── 5. 大将 ─── */
.chef__body { display: grid; gap: var(--gap-block); max-width: var(--wrap); margin: var(--gap-head) auto 0; }
.chef__img { margin: 0 calc(var(--gutter) * -1); }  /* スマホは画面の端から端まで */
.chef__img .ph { filter: grayscale(.6); }            /* モノクロ寄りのポートレート */
.chef__role { font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .25em; }
.chef__name {
  margin-top: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: 28px; letter-spacing: .15em; line-height: 1.5;
}
.chef__en {
  margin-top: 8px;
  font-family: var(--f-en); font-weight: 500; font-size: 15px; letter-spacing: .25em; line-height: 1.4;
  color: var(--gold);
}
.chef__story { margin-top: 28px; padding-top: 28px; border-top: var(--hair); }
.chef__story p + p { margin-top: 1.4em; }
.chef__sign { margin-top: 32px; display: flex; justify-content: flex-end; }
.chef__sign-img { height: 60px; width: auto; }
@media (min-width: 768px) {
  .chef__img { margin: 0; width: min(100%, 520px); }
  .chef__name { font-size: 34px; }
  .chef__en { font-size: 17px; }
}
/* 2段組は 1024px 以上だけ（768px では本文の欄が狭く、1語だけの行ができるため） */
@media (min-width: 1024px) {
  .chef__body { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: clamp(48px, 7vw, 112px); }
  .chef__img { width: auto; }
}

/* ─── 6. 吟味：4つを縦に。見出しと2行 ─── */
.craft { background: var(--susu); }
.craft__list { max-width: var(--wrap); margin: var(--gap-head) auto 0; border-top: var(--hair); }
.craft__item { padding: 32px 0; border-bottom: var(--hair); }
.craft__en {
  font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: .3em; line-height: 1.4;
  color: var(--gold);
}
.craft__title {
  margin-top: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: 23px; letter-spacing: .15em; line-height: 1.5;
}
.craft__body { margin-top: 18px; }
.craft__img { margin-bottom: 20px; }                 /* スマホは写真を大きく、上に置く */
@media (min-width: 768px) {
  .craft__item { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 48px; align-items: center; padding: 40px 0; }
  .craft__img { margin-bottom: 0; }
  .craft__text { display: grid; grid-template-columns: 11em 1fr; gap: 32px; align-items: baseline; }
  .craft__en { font-size: 16px; }
  .craft__title { font-size: 26px; }
  .craft__body { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .craft__text { display: block; }                    /* タブレットでは見出しの下に本文 */
  .craft__body { margin-top: 18px; }
}

/* ─── 7. 一品 ─── */
.story__body { display: grid; gap: var(--gap-block); max-width: var(--wrap); margin: var(--gap-head) auto 0; }
.story__img { margin: 0 calc(var(--gutter) * -1); }      /* スマホは端から端まで */
.story__text .sub-h { margin-bottom: 28px; }
.story__text p + p { margin-top: 1.4em; }
@media (min-width: 768px) {
  .story__img { margin: 0; width: min(100%, 560px); }
}
@media (min-width: 1024px) {
  .story__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
  .story__img { width: auto; }
}

/* ─── 8. ご予約・ご案内：ここだけは読みやすさを優先した表組み ─── */
.rsv { background: var(--susu); }
.rsv__cta { max-width: var(--wrap); margin: 28px auto 0; }
.rsv__cta .btn { min-width: 260px; min-height: 54px; }
.rsv__img { margin: var(--gap-block) calc(var(--gutter) * -1) 0; }   /* 外観は画面の端から端まで */
.rsv__table {
  width: 100%; max-width: var(--wrap); margin: var(--gap-block) auto 0;
  border-collapse: collapse; border-top: var(--hair);
}
.rsv__table tr { border-bottom: var(--hair); }
.rsv__table th, .rsv__table td { text-align: left; vertical-align: top; }
.rsv__table th {
  font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .08em; line-height: 2;
}
.rsv__table td { font-weight: 500; line-height: 2; }
/* スマホ：見出しの下に中身を置く（横に並べると中身の幅が足りない） */
.rsv__table th, .rsv__table td { display: block; }
.rsv__table th { padding: 18px 0 2px; }
.rsv__table td { padding: 0 0 18px; }
@media (min-width: 768px) {
  .rsv__table th, .rsv__table td { display: table-cell; padding: 22px 0; }
  .rsv__table th { width: 11em; padding-right: 24px; font-size: 17px; }
}
.rsv__map { max-width: var(--wrap); margin: var(--gap-block) auto 0; }
.rsv__iframe, .rsv__map-empty { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
/* 地図は明るすぎて浮くので、墨の地に合わせて沈める（地図の中身は変えない） */
.rsv__iframe { aspect-ratio: 4 / 3; filter: grayscale(.85) invert(.9) hue-rotate(180deg) contrast(.9) brightness(.95); }
@media (min-width: 768px) { .rsv__iframe { aspect-ratio: 16 / 9; } }
.rsv__map-open { margin-top: 20px; min-height: 52px; min-width: 240px; }
.rsv__map-empty {
  display: grid; place-items: center; padding: 0 16px;
  font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .08em; text-align: center;
}

/* ─── フッター ─── */
.ft {
  padding: 72px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: var(--hair);
  font-size: 15px; line-height: 2;
}

.ft__info { margin: 36px auto 0; }
.ft__row + .ft__row { margin-top: 4px; }
.ft__info dt { display: inline; margin-right: 1em; font-family: var(--f-head); font-weight: 600; letter-spacing: .08em; }
.ft__info dd { display: inline; margin: 0; }
.ft__tel { display: inline-flex; align-items: center; min-height: 44px; }
.ft__ig { margin-top: 20px; }
/* Instagram のボタン：公式のロゴを白で、Instagram の公式のグラデーションの地（店の配色の例外。熊谷さんの決まり） */
.btn-insta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: linear-gradient(45deg, #f09433 -20%, #e6683c 10%, #dc2743 40%, #cc2366 70%, #bc1888 100%);
  color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: .05em;
}
.btn-insta__icon { width: 22px; height: 22px; }
.ft__copy { margin-top: 32px; font-family: var(--f-head); font-weight: 500; font-size: 14px; letter-spacing: .12em; }

/* ─── スマホ下部の予約バー：スクロール中だけ現れる ─── */
.rbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--sumi) 92%, transparent);
  border-top: var(--hair);
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.rbar.is-shown { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.rbar__link {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px;
  border: var(--line);
  font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: .15em;
}
@media (min-width: 768px) { .rbar { display: none; } }

/* ─── 動きを減らす設定の人には、すべて止めて最初から見せる ─── */
@media (prefers-reduced-motion: reduce) and (max-width: 1023px) {
  .gallery { overflow-x: auto; scrollbar-width: none; }
  .gallery__dup { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .op__logo-img, .op__en, .op__scroll, .op__notice, .fade { opacity: 1 !important; }
  .op__photo-img.is-on, .op__cap, .op__dots { opacity: 1 !important; transform: none !important; }
  .rise__in { transform: none !important; }
  .ph { clip-path: none !important; }
  .ph__in, .ph__par { transform: none !important; }
}

/* ─── 写真のページ（gallery/） ─── */
.page-gallery .gl { padding: calc(64px + var(--sec-space)) var(--gutter) var(--sec-space); }
@media (min-width: 768px) { .page-gallery .gl { padding-top: calc(76px + var(--sec-space)); } }
.gl__hd { display: block; }
.gl__hd .sec-hd__ja::before { display: none; }
.gl__group { max-width: 1280px; margin: var(--gap-head) auto 0; }
.gl__h { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: var(--hair); font-weight: 600; }
.gl__h-ja { font-family: var(--f-head); font-size: 24px; letter-spacing: .15em; }
.gl__h-en { font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: .3em; color: var(--gold); }
/* 写真は大きく：スマホは1列、タブレット2列、PC 3列 */
.gl__grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 600px) { .gl__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gl__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gl__item { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--susu); cursor: zoom-in; }
.gl__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-heavy); }
@media (hover: hover) { .gl__item:hover img { transform: scale(1.04); } }
.gl__item:focus-visible { outline-offset: 2px; }

/* 拡大表示：地は不透明の墨（後ろの文字が透けないように） */
.lb { position: fixed; inset: 0; z-index: 80; background: var(--sumi); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 12px 72px; }
.lb__img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; }
.lb__cap { margin-top: 14px; font-family: var(--f-head); font-size: 15px; letter-spacing: .1em; color: var(--kinari); }
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 72px; font-size: 40px; line-height: 1; color: var(--kinari);
  background: color-mix(in srgb, var(--sumi) 70%, transparent);
}
.lb__prev { left: 4px; } .lb__next { right: 4px; }
.lb__close {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px;
  min-height: 44px; min-width: 44px; padding: 0 12px;
  font-family: var(--f-head); font-size: 16px; letter-spacing: .15em; color: var(--kinari);
  border: var(--line);
}

/* 日本酒の銘柄：縦に撮った写真なので、縦の枠で瓶を切らずに見せる（スマホ2列・PC 4列） */
.gl__grid--tall { grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .gl__grid--tall { grid-template-columns: repeat(4, 1fr); } }
.gl__item--tall { aspect-ratio: 2 / 3; }
.gl__item--sq { aspect-ratio: 1 / 1; }
