/* こたこた堂 B（t10-somewake）の店ごとの見た目。somewake.css（型）の後に読む
   段ごとに並べてある。同じ要素の同じ性質を指定する規則どうしは、元の前後のまま（qa/cssorg-2.py で並べ替え、qa/snap.mjs と diff.py で見た目の差 0 を確かめた） */

/* ==== 土台（変数・地・質感・見出し・写真の額） ==== */
/* こたこた堂だけの上書き（第三者の批評 11-01 に沿って）。型の somewake.css のあとに読む
   ・写真に色をかぶせない（料理がくすむ）
   ・1画面目：スマホは1枚を画面いっぱい、PC は左右2枚。店名は写真の上、下側だけ黒の透明グラデーションで読ませる
   ・見出しは日本語を主役に。英字は小さな添え字
   ・暗い段は墨。暖簾の茶は予約ボタンと線などの差し色だけ（色は content の skin で渡す） */
/* ---- 写真の色の加工を外す ---- */
.sw-half img, .sw-ph img { filter: none !important; }
/* ---- 見出し：日本語が主役 ---- */
.sw-title { font: 500 13px/1 var(--en); letter-spacing: .32em; opacity: .72; }
.sw-h2 { font: 700 24px/1.5 var(--ja); }
@media (min-width: 960px) {
  .sw-h2 { margin-top: 16px; }
}
/* ---- 差し色：線と下線だけ暖簾の茶 ---- */
.sw-light .sw-link { text-decoration-color: var(--btn); }
/* ---- 動き（kotakota-motion.js が html に mo を付けたときだけ。基準は motion-craft） ---- */
:root { --mo-ease: cubic-bezier(.05,.7,.1,1); }
/* ---- 背景の質感：生成りの段は和紙、墨の段は墨のにじみ（写真と予約画面の上にはかけない） ---- */
/* ---- 英字の大きな小見出しはやめ、日本語の見出しだけにする ---- */
.sw-title { display: none; }
/* ---- 青海波：段の区切りの帯と足元（本文の下には敷かない。段の上の余白の中だけ） ---- */
.sw-menu, .sw-reserve, .sw-foot { position: relative; }
/* ---- 赤は要所だけ。墨の地の上には赤い字も赤い線も置かない（塗りだけ） ---- */
.sw-dark .sw-link { text-decoration-color: currentColor; }
@media (max-width: 959px) {
  .sw-menu, .sw-reserve { padding-top: 92px; }
}
/* ---- 素材：生成りの段は土壁、墨の段は墨色の杉板（和紙は A に譲る） ---- */
body { background: var(--l) url(images/tx-tsuchi.webp) 0 0 / 420px; background-blend-mode: normal; }
.has-grain .sw-light, .has-grain .tone-light, .sw-accbox { background: var(--l) url(images/tx-tsuchi.webp) 0 0 / 420px; background-blend-mode: normal; }
.has-grain .sw-dark, .has-grain .tone-dark { background: var(--d) url(images/tx-sugi-sumi.webp) 0 0 / 360px; background-blend-mode: normal; }
/* 土壁の段の両脇に黒い柱 */
section.sw-light, .sw-accbox { box-shadow: inset 10px 0 0 #1f1a17, inset -10px 0 0 #1f1a17; }
/* 青海波：帯はやめ、お品書きの見出しの背後に1か所だけ */
.sw-reserve::before, .sw-foot::after { display: none; }
body { font-size: 16px; letter-spacing: .04em; }
@media (min-width: 960px) {
  :root { --sec: 120px; }
}
/* 墨の地用の薄い文字・線を、土壁の地用に（「円 お1人様・税込」が読めなかった） */
.sw-about, .sw-courses { --soft-d: var(--soft-l); --line-d: rgba(31,26,23,.2); }
/* ---- 柱：黒の塗りをやめ、杉板の柱（スマホ 12px・PC 28px）。土壁の段の左右 ---- */
/* 柱は土壁の段すべてに（.has-grain .sw-light より強い指定にする。1周目は品書き・予約・場所に出ていなかった） */
.has-grain section.sw-light, .has-grain .sw-accbox, .has-grain section.sw-about, .has-grain section.sw-courses { box-shadow: none; }
/* 1. 写真：柱の内側の壁面に収め、杉板の細い枠で受ける。色味は地に寄せる（暗い所を締め、彩りを少し落とす） */
:root { --waku: 6px; }
.sw-gaikan, .sw-accbox .sw-gaikan, .sw-about-ph, .sw-c-ph { margin-left: 0 !important; margin-right: 0 !important; }
.sw-gaikan img, .sw-about-ph img, .sw-c-ph .sw-ph { padding: var(--waku); background: #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; box-sizing: border-box; }
.sw-gaikan figcaption::before, .sw-about-ph figcaption::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1px; background: var(--d); }
/* 上の帯の下に、ページ内の飛び先が隠れないように */
html { scroll-padding-top: 64px; }
/* 本文は右端まで詰めて折る（両端ぞろえはしない・11-03） */
/* 3. 飛んだ先の見出しを、上の帯の下 24px に（html の scroll-padding 64px から、段の上の余白の分を引く） */
#menu, #reserve { scroll-margin-top: -76px; }
@media (min-width: 960px) {
  .sw-title { font-size: 14px; }
  section.sw-light, .sw-accbox { box-shadow: inset 22px 0 0 #1f1a17, inset -22px 0 0 #1f1a17; }
}
/* ---- 書体：見出しは昭和の看板（Zen Antique）。本文 16px・字間 .04em。字間を広く取るのは小見出しだけ ---- */
.sw-h2, .sw-about-h { font-family: "Zen Antique", "Zen Kaku Gothic New", serif; font-weight: 400; font-size: 28px; line-height: 1.45; letter-spacing: .06em; }
/* ---- 杉板：板1枚 160px で敷く ---- */
.has-grain .sw-dark, .has-grain .tone-dark { background-size: 640px; }
.sw-about .sw-link, .sw-courses .sw-link { text-decoration-color: var(--btn); }
.sw-gaikan img, .sw-about-ph img, .sw-c-ph img, .sw-tile-ph img { filter: contrast(1.05) saturate(.88) sepia(.06) brightness(.97) !important; }
@media (min-width: 960px) {
  #menu, #reserve { scroll-margin-top: -96px; }
  .sw-h2, .sw-about-h { font-size: 36px; }
}
.sw-table dd, .sw-notes, .sw-foot-note, .sw-cat li, .sw-c-desc, .sw-big-sub { line-height: 1.95; }
/* ---- 土壁を主に：お店のこと・コースも土壁。杉板は足元の帯1本だけ ---- */
.has-grain .sw-about, .has-grain .sw-courses { background: var(--l) url(images/tx-tsuchi.webp) 0 0 / 420px; color: var(--d); }
.sw-about-txt p, .sw-table dd, .sw-notes, .sw-foot-note, .sw-cat li, .sw-c-desc, .sw-big-sub { font-size: 16px; letter-spacing: .04em; }
.has-grain section.sw-light, .has-grain .sw-accbox, .has-grain section.sw-about { background-image: url(images/tx-hashira.webp), url(images/tx-hashira.webp), url(images/tx-tsuchi.webp); background-position: left top, right top, 0 0; background-size: 12px auto, 12px auto, 420px; background-repeat: repeat-y, repeat-y, repeat; }
@media (min-width: 960px) {
  .has-grain section.sw-light, .has-grain .sw-accbox, .has-grain section.sw-about { background-size: 28px auto, 28px auto, 420px; }
}
/* 説明は帯にせず、壁面に書く（地を透かす・墨の小さな字・左に短い墨の罫） */
.sw-gaikan figcaption, .sw-about-ph figcaption { background: none !important; margin-top: 12px; padding: 0 0 0 14px !important; position: relative; font-size: 14px; line-height: 1.8; letter-spacing: .08em; color: var(--d); }

/* ==== 上の帯と目次 ==== */
.kk-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.kk-brand img:first-child { width: 30px; height: 30px; }
.kk-brand img:last-child { width: auto; }
.kk-pcnav { display: none; }
.kk-nav { margin-left: auto; }
.kk-nav summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font: 700 14px/1 var(--ja); letter-spacing: .12em; }
.kk-nav summary::-webkit-details-marker { display: none; }
.kk-nav-i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
.kk-nav[open] .kk-nav-i { border-color: transparent; }
.kk-nav[open] .kk-nav-i::after { top: 3px; transform: rotate(45deg); box-shadow: 0 0 0 0; }
.kk-nav[open] .kk-nav-i::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; transform: rotate(-45deg); }
.kk-nav > nav { position: fixed; top: 56px; left: 0; right: 0; bottom: 0; overflow-y: auto; padding: 8px 24px 120px; background: #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; }
.kk-nav li a[aria-current="page"], .kk-pcnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--btn); text-underline-offset: 8px; text-decoration-thickness: 2px; }
@media (min-width: 960px) {
  .kk-brand img:last-child { height: 22px; }
  .kk-nav { display: none; }
  .kk-pcnav ul { display: flex; gap: 2px 18px; flex-wrap: wrap; justify-content: flex-end; }
}
.kk-nav ul, .kk-pcnav ul { list-style: none; margin: 0; padding: 0; }
.kk-nav li a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(243,236,223,.18); color: #f3ecdf; text-decoration: none; font: 400 20px/1 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .14em; }
@media (min-width: 960px) {
  .kk-brand img:first-child { width: 34px; height: 34px; }
  .kk-pcnav { display: block; margin-left: auto; }
  .kk-pcnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
}
.kk-brand img:last-child { height: 22px; }
/* よくある飲食店のサイト（串カツ田中・サイゼリヤ・吉野家）と同じ、アイコンだけの形。押せる大きさは 44px */
.kk-nav summary { min-width: 44px; justify-content: center; padding: 0; }

/* ==== 1画面目 ==== */
.sw-half.is-photo::after { display: none; }
/* ---- 1画面目 ---- */
.sw-hero { background: #000; }
.sw-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; }
.sw-pair { grid-template-rows: 1fr; }
.sw-half.is-b { display: none; }
#top .sw-layer.is-a { clip-path: none; place-items: end center; color: #fff; }
#top .sw-layer.is-b { display: none; }
#top .sw-pause { color: #fff; background: rgba(0, 0, 0, .42); }
/* ---- 店名：こたこた堂の正式なロゴ（社長 11-01「共有したロゴを使って」）。筆の書体は使わない。縦横比そのまま・影や縁取りなし ---- */
.sw-hero-logo { display: block; width: min(340px, calc(100vw - 48px)); height: auto; }
/* ---- 1画面目：ロゴを写真の暗い所（建物の下の黒）に置く。文字の影は使わない ---- */
.sw-hero-txt { text-shadow: none; }
@media (min-width: 960px) {
  .sw-pair { grid-template-columns: 1fr; }
  .sw-half.is-a img { object-position: 50% 60%; }
}
.sw-pause .sw-pause-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw-pause-i { width: 8px; height: 10px; border-left-width: 2.5px; border-right-width: 2.5px; }
/* キャッチではなく、案内の小さな2行（目立たせない） */
.sw-hero-catch { margin-top: 20px; font-weight: 400; font-size: 13px; line-height: 1.9; letter-spacing: .1em; color: rgba(246,241,230,.78); }
/* キャッチ：ロゴの上。見出しと同じ Zen Antique・白・字間はやや広め。影や縁取りは付けない */
/* 1周目は 26px でロゴと張り合い、生け垣の明るい所にかかった → 一回り小さく・やや控えめの白。塊ごと下の暗い道へ下げる */
.sw-hero-copy { margin-bottom: 20px; font: 400 24px/1.6 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .2em; margin-right: -.2em; color: rgba(246,241,230,.94); }
#top .sw-layer.is-a { padding-bottom: 52px; }
/* キャッチの分だけ、下側の暗い膜を少し高く濃く（写真の暗い所に置く） */
.sw-hero::after { height: 56%; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.24) 60%, transparent); }
.sw-layer.is-a .sw-hero-txt { pointer-events: auto; }
@media (max-width: 767px) {
  .sw-mast .sw-rsv { display: none; }
}
#top .sw-layer.is-a .sw-hero-txt::before { display: none; }
/* 1画面目の丸紋は、上の帯の丸紋に役を移す */
#top::before { display: none; }
@media (min-width: 960px) {
  /* 上の帯（z 90）の中に右上の予約ボタンを収める（帯の下に半分隠れていた） */
  .sw-mast .sw-rsv { min-height: 44px; }
}
/* 6(c) 写真を止めるボタン：見た目 28px のまま、当たりを 44px に */
.sw-pause::after { content: ""; position: absolute; inset: -8px; }
/* 1周目（14px .55＋3px .35）は焼酎の瓶の上のキャッチが 2.67 で3に届かなかった → キャッチだけ字の縁の影を少し濃く。広い影は .5 のまま（もやに見えないように） */
#top[data-shadow] .sw-hero-copy { text-shadow: 0 0 18px rgba(0,0,0,.5), 0 0 6px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.5); }
/* 2周目（5px .5）でも 2.77 → 6px .65 に */
#top[data-shadow] .sw-hero-catch { text-shadow: 0 0 14px rgba(0,0,0,.5), 0 0 3px rgba(0,0,0,.4); }
#top[data-shadow] .sw-hero-logo { filter: drop-shadow(0 0 10px rgba(0,0,0,.5)) drop-shadow(0 0 2px rgba(0,0,0,.3)); }
/* 3. 横に送るスライド（指で送れる・ぴたっと止まる）。フェードと拡大は使わない */
#top[data-slide] .sw-pairs { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
#top[data-slide] .sw-pairs::-webkit-scrollbar { display: none; }
#top[data-slide] .sw-pair { position: relative; inset: auto; flex: 0 0 100%; height: 100%; opacity: 1; z-index: auto; pointer-events: auto; transition: none; scroll-snap-align: start; scroll-snap-stop: always; }
.kk-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.kk-dots span.on { background: #fff; }
@media (max-width: 767px) {
  #top[data-slide] .sw-layer.is-a { padding-bottom: 40px; }
}
@media (min-width: 960px) {
  .sw-hero-logo { width: min(620px, 46vw); }
  .sw-half.is-b { display: none; }
  .sw-hero-catch { font-size: 14px; }
  .sw-hero-copy { margin-bottom: 26px; font-size: 36px; letter-spacing: .22em; margin-right: -.22em; }
  #top .sw-layer.is-a { padding-bottom: 60px; }
}
@media (max-width: 767px) {
  #top .sw-layer.is-a { padding-bottom: 24px; }
  .sw-hero-copy { margin-bottom: 16px; }
}

/* ==== 営業時間と場所 ==== */
@media (min-width: 960px) {
  .sw-access-grid { align-items: center; }
  .sw-gaikan { margin: 0; }
  .sw-gaikan img { aspect-ratio: 4 / 3; }
}
.sw-table dt { letter-spacing: .12em; }
/* ---- 並び：場所の段（1画面目のすぐ後ろ。土壁） ---- */
.sw-accbox { padding: 88px var(--g) 0; }
@media (min-width: 960px) {
  .sw-access { max-width: none; }
  .sw-accbox .sw-gaikan { margin: 0; }
}
.sw-accbox .sw-access-grid { margin-top: 32px; }
/* 場所の段の道案内として戻す（土壁の上で読める濃さ） */
.sw-accbox .sw-gaikan figcaption { display: block; margin-top: 12px; padding: 0 var(--g); font-size: 15px; color: var(--d); }
@media (min-width: 960px) {
  .sw-accbox { padding-bottom: var(--sec); }
  .sw-accbox .sw-access-grid { margin-top: 56px; }
  .sw-accbox .sw-gaikan figcaption { padding: 0; }
}

/* ==== 三大名物 ==== */
/* ---- キャラクター：飾りなので CSS の背景で置く（読み上げに出ない）。主役より目立たせない ---- */
.sw-tile:has(.sw-tile-info) { position: relative; }
.sw-tile:has(.sw-tile-info)::after { position: absolute; right: 12px; width: 72px; aspect-ratio: 920 / 541; background: url(images/kk-chara-red.png) center / contain no-repeat; pointer-events: none; }
.sw-menu::before { content: ""; position: absolute; pointer-events: none; }
.sw-menu::before { display: block; top: 24px; height: 230px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22100%22%20viewBox%3D%220%200%20200%20100%22%3E%3Crect%20width%3D%22200%22%20height%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22-50%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22-50%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22-50%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22-50%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22-50%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22-50%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22-50%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22-50%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22-50%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22-50%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22-50%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22-50%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22-50%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22-50%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22-50%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%220%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%2250%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%2250%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%2250%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%2250%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%2250%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2250%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2250%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2250%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2250%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2250%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%2250%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%2250%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%2250%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%2250%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%2250%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22100%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22100%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22100%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22100%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%22100%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22100%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22100%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22100%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22100%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22100%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22150%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22150%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22150%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22150%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22-100%22%20cy%3D%22150%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22150%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22150%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22150%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22150%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22150%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22150%22%20r%3D%22100%22%20fill%3D%22%23f3ecdf%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22150%22%20r%3D%2297.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22150%22%20r%3D%2275.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22150%22%20r%3D%2253.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%22150%22%20r%3D%2231.8%22%20fill%3D%22none%22%20stroke%3D%22%23e0d9cd%22%20stroke-width%3D%222.2%22%2F%3E%3C%2Fsvg%3E") 0 0 / 120px auto repeat; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000 35%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000 35%, transparent 75%); }
.sw-menu > * { position: relative; }
/* ---- お品書き：品名の帯は全部暗い帯（44px・左 16px）。説明は格子の中に ---- */
.sw-tile { aspect-ratio: auto; display: flex; flex-direction: column; }
.sw-tile.tone-dark .sw-tile-desc { color: #f3ecdf; }
@media (min-width: 960px) {
  .sw-tiles { margin-left: 0; margin-right: 0; }
}
/* お品書きの帯は、杉板ではなく墨の塗り（杉板は足元の帯1本だけにする） */
.sw-tile-name { background: #1f1a17; }
.sw-tile.tone-dark { background: #1f1a17; }
/* 焼酎のマスと足もとのキャラを外す */
.sw-tile:has(.sw-tile-info)::after { content: none; }
@media (max-width: 959px) {
  .sw-big .sw-num { font-size: min(46px, calc((100vw - 2 * var(--g)) / 6.6)); }
}
.sw-menu .sw-cats { display: none; }
@media (min-width: 960px) {
  .sw-menu { display: block; }
  .sw-menu > .sw-tiles { position: static; margin: 48px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .sw-menu > :not(.sw-tiles) { grid-column: auto; }
}
/* 4. お品書きの写真：マスの現れ方だけ（1つの要素に動きは1つ） */
.sw-ok .sw-tile-ph[data-rv], .sw-ok .sw-tile-ph.is-in { opacity: 1; transition: none; }
.sw-tile-name { position: static; order: 0; height: 44px; display: flex; align-items: center; padding: 0 16px; margin: 0; color: #f3ecdf; font: 700 15px/1 var(--ja); letter-spacing: .12em; }
.sw-tile-ph { position: relative; inset: auto; order: 1; aspect-ratio: 1; }
/* ---- 2周目の直し ---- */
/* 外観の写真の説明「白い提灯が目印です。」は1画面目と重なり、土壁の上で薄く読めなかった → 出さない */
/* 焼酎のマスのキャラクターが品名の帯にかかった → 帯の下へ */
.sw-tile:has(.sw-tile-info)::after { top: 58px; }
/* ---- 1. 青海波の部品を柱の内側に収める（PC で左端に灰色の筋が出ていた） ---- */
.sw-menu::before { left: 12px; right: 12px; }
@media (max-width: 959px) {
  .sw-tiles { margin-left: calc(12px - var(--g)); margin-right: calc(12px - var(--g)); }
}
@media (min-width: 960px) {
  .sw-menu::before { left: 28px; }
  .sw-menu::before { width: 520px; right: auto; }
}

/* ==== 予約 ==== */
@media (min-width: 960px) {
  .sw-rsv-side { order: 1; }
  .sw-rsv-main { order: 2; }
  .sw-reserve { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; }
}
/* 下に固定の予約ボタン（スマホだけ）。右上の固定のボタンはスマホでは出さない */
.sw-dock { display: none; }
@media (max-width: 767px) {
  .sw-dock.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}
/* 足もとはロゴを主役に（スマホ 300→340px・PC 420→560px） */
/* キャラは予約の段の見出しの上で迎える（控えめ 64px。ロゴとは離して置く） */
#rsv-h::before { content: ""; display: block; width: 64px; aspect-ratio: 920 / 541; margin-bottom: 14px; background: url(images/kk-chara-red.png) left center / contain no-repeat; }
@media (max-width: 959px) {
  .sw-rsv-side, .sw-rsv-main { min-width: 0; }
}
/* 罫は予約画面の中の段の罫だけにする（枠の罫と重なって2本に見えた） */
.sw-frame iframe { background: transparent; color-scheme: normal; }
/* PC：余白 120px・帯 64px */
#rsv-frame { scroll-margin-top: 8px; }
@media (max-width: 959px) {
  .sw-reserve { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 960px) {
  #rsv-frame { scroll-margin-top: 16px; }
}

/* ==== お店のこと・SNS ==== */
.sw-about { text-align: left; }
.sw-about-h { margin: 14px 0 36px; }
.sw-about-txt p { line-height: 2; }
/* ---- お店のこと：写真と文（スマホは写真が上） ---- */
.sw-about-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sw-about .sw-pillar { padding-top: 56px; }
.sw-sns a { display: inline-flex; align-items: center; color: #f3ecdf; font: 500 15px/1 var(--ja); letter-spacing: .1em; text-decoration: underline; text-decoration-color: rgba(243,236,223,.45); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sw-sns a:hover { text-decoration-color: currentColor; }
/* 1. 1画面目：店名のロゴの上に小さく（写真の主役を邪魔しない） */
/* 2. 区切り：予約の段とお店のことの段の境目に、小さな印 */
#about { position: relative; }
#about::before { content: ""; position: absolute; left: 50%; top: 0; width: 36px; height: 36px; transform: translate(-50%, -50%); z-index: 3; background: #f3ecdf url(images/kk-mon.png) center / 30px no-repeat; border-radius: 50%; box-shadow: 0 0 0 8px #f3ecdf; }
.sw-about-ph.n1 img { aspect-ratio: 4 / 3; }
.sw-about-ph.n2 { width: 72%; justify-self: end; margin-top: -40px !important; position: relative; z-index: 1; }
.sw-about-ph.n2 img { aspect-ratio: 4 / 3; }
@media (hover: hover) {
  .sw-sns-btns a:hover { background: var(--d); color: var(--l); }
}
.sw-sns-btns a:focus-visible { outline: 2px solid var(--d); outline-offset: 3px; }
/* 2. SNS のアイコン（文字の左・1色） */
.sw-sns-btns a { --ic-bg: var(--l); }
@media (hover: hover) {
  .sw-sns-btns a:hover { --ic-bg: var(--d); }
}
.sw-sns a { --ic-bg: #1f1a17; }
.sw-sns-btns a { white-space: nowrap; }
@media (min-width: 960px) {
  .sw-about-h { margin: 16px 0 48px; }
  .sw-about .sw-pillar { width: auto; padding: 0; }
  .sw-about-ph.n2 { width: 58%; margin-top: -90px !important; }
}

/* ==== LINE 友だち限定 ==== */
.kk-lineoffer .kk-lo-kicker, .kk-lineoffer .kk-lo-note, .kk-lineoffer .kk-lo-qr { color: rgba(243, 236, 223, .72); }
.kk-lo-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--btn); }
@media (hover: hover) {
  .kk-lo-btn:hover { background: #f3ecdf; color: #1f1a17; }
}
.kk-lo-btn:focus-visible { outline: 2px solid #f3ecdf; outline-offset: 3px; }

/* ==== コース ==== */
/* ---- コース：写真は1枚。2列の格子にそろえる（スマホで右に寄せない） ---- */
.sw-c-ph { display: block; }
.sw-c-ph .n1 { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .sw-courses { align-items: center; }
}
@media (max-width: 959px) {
  .sw-courses { padding-top: 56px; }
}
.sw-courses hr, .sw-c-item + .sw-c-item, .sw-c-seat { border-color: rgba(31,26,23,.2) !important; }
/* 3. 地紋：コースの段の背景に大きく薄く（柱と土壁のあいだに1枚。文字の下でも読める濃さ 6%） */
.has-grain section.sw-courses { background-image: url(images/tx-hashira.webp), url(images/tx-hashira.webp), url(images/kk-mon-faint.png), url(images/tx-tsuchi.webp); background-position: left top, right top, right -90px center, 0 0; background-size: 12px auto, 12px auto, 360px auto, 420px; background-repeat: repeat-y, repeat-y, no-repeat, repeat; }
.sw-c-ph .n1 { grid-column: 1 / 13; }
@media (min-width: 960px) {
  .has-grain section.sw-courses { background-size: 28px auto, 28px auto, 620px auto, 420px; background-position: left top, right top, right 4% center, 0 0; }
}

/* ==== お知らせ ==== */
.kk-news time { font: 500 13px/1 var(--en); letter-spacing: .14em; color: var(--soft-l); }
.kk-news span { font-size: 14.5px; line-height: 1.9; color: var(--soft-l); }
.kk-latest h2 { margin: 0 0 6px; font: 700 14px/1 var(--ja); letter-spacing: .2em; color: var(--soft-l); }

/* ==== 足もと ==== */
.sw-foot-name.is-logo img { display: block; height: auto; margin: 0 auto; }
.sw-foot > * { position: relative; z-index: 1; }
/* ---- キャラクター：黒のまま。暗い地では和紙色の丸（120px）の上 ---- */
.sw-foot-name.is-logo::before { aspect-ratio: auto; }
/* 4. 足もと：丸紋（いちばん大きく）と横組みのロゴを組で */
.sw-foot-name.is-logo::before { content: ""; display: block; width: 200px; height: 200px; margin: 0 auto 30px; background: url(images/kk-mon-white.png) center / contain no-repeat; border-radius: 0; }
.sw-foot-name.is-logo img { width: min(280px, 72vw); }
@media (min-width: 960px) {
  .sw-foot-name.is-logo::before { width: 260px; height: 260px; }
  .sw-foot-name.is-logo img { width: 420px; }
}

/* ==== 下層ページ ==== */
/* ---- 下層ページ ---- */
.kk-sub main { padding-top: 56px; }
.kk-pagehead { overflow: hidden; }
.kk-pagehead::after { content: ""; position: absolute; right: -70px; top: 50%; width: 260px; height: 260px; transform: translateY(-50%); pointer-events: none; background: url(images/kk-mon-faint.png) center / contain no-repeat; }
.kk-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 10px; letter-spacing: .06em; }
.kk-crumb li + li::before { content: "／"; margin-right: 10px; color: var(--soft-l); }
.kk-crumb [aria-current] { display: inline-flex; align-items: center; color: var(--soft-l); }
.kk-lead p + p { margin-top: 1em; }
.kk-ph img { display: block; width: 100%; height: auto; padding: 6px; box-sizing: border-box; background: #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; filter: contrast(1.05) saturate(.88) sepia(.06) brightness(.97); }
.kk-ph figcaption { margin-top: 10px; padding-left: 14px; position: relative; font-size: 14px; line-height: 1.8; letter-spacing: .08em; }
.kk-ph figcaption::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1px; background: var(--d); }
.kk-item .kk-ph img { aspect-ratio: 4 / 5; object-fit: cover; }
.kk-item .kk-ph.is-small { max-width: 300px; }
.kk-item p { font-size: 16px; line-height: 2; letter-spacing: .04em; }
@media (min-width: 960px) {
  .kk-item:nth-child(even) .kk-ph { order: 2; }
}
.kk-table > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(31,26,23,.22); }
.kk-table dt { font-weight: 700; font-size: 14.5px; line-height: 1.9; letter-spacing: .1em; }
.kk-table dd { margin: 0; font-size: 16px; line-height: 1.9; }
.kk-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid rgba(31,26,23,.22); }
.kk-list b { font: 400 20px/1.5 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; font-weight: 400; }
.kk-list small { flex-basis: 100%; font-size: 14px; color: var(--soft-l); line-height: 1.8; }
/* お知らせの記事の見出しは長いので一回り小さく。句読点のあとでだけ折る（「はじめま／す！」と1〜2字が落ちた） */
[data-post] .kk-h1 { font-size: 24px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.kk-post time { display: block; margin-top: 4px; font: 500 14px/1 var(--en); letter-spacing: .14em; color: var(--soft-l); position: relative; z-index: 1; }
.kk-related h2 { font: 700 15px/1 var(--ja); letter-spacing: .14em; margin: 0 0 8px; }
/* 予約のページ：予約の段の見出しは、ページの見出しと重ねない */
.kk-sub .sw-reserve { padding-top: 24px; }
.kk-sub #rsv-h { display: none; }
.kk-pagehead + .kk-sec { padding-top: 4px; }
.kk-pagehead .kk-hero { margin: 16px 0 0; position: relative; z-index: 1; }
.kk-pagehead .kk-hero img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) {
  .kk-pagehead.has-hero > .kk-h1, .kk-pagehead.has-hero > .kk-crumb { grid-column: 1; }
  .kk-pagehead.has-hero::after { display: none; }
}
/* 写真の無いページは、丸紋の地紋を大きめにして締める */
.kk-pagehead:not(.has-hero)::after { right: -40px; width: 220px; height: 220px; }
.kk-sig-row .kk-ph { width: 180px; }
@media (min-width: 960px) {
  .kk-sig-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) 180px; }
}
.kk-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--d); border-radius: 50%; font: 500 16px/1 var(--en); margin-top: 1px; }
@media (min-width: 768px) {
  .kk-order-note { grid-column: 1; }
}
.kk-crumb ol { font-size: 12.5px; }
/* 2. 長い本文は文節で折らない（文節で折ると右端がガタガタ）。普通に詰めて両端をそろえる。句読点の禁則は守る */
.kk-post-body p { line-break: strict; }
.sw-sns-btns a .kk-ic { margin: 0; }
.sw-sns a .kk-ic { width: 40px; height: 40px; }
@media (min-width: 960px) {
  .kk-sub main { padding-top: 64px; }
  .kk-pagehead::after { right: 6%; width: 360px; height: 360px; }
  [data-post] .kk-h1 { font-size: 34px; }
  .kk-pagehead.has-hero { display: grid; grid-template-columns: 5fr 7fr; gap: 0 56px; align-items: end; padding-top: 64px; }
  .kk-pagehead.has-hero .kk-hero { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.kk-sig-main .kk-ph img { aspect-ratio: 4 / 5; object-fit: cover; }
.kk-sig-pair p { font-size: 14.5px; line-height: 1.9; }
@media (min-width: 960px) {
  .kk-sig-row:nth-child(even) .kk-ph { order: 2; }
}
.kk-tk-items li { padding: 18px 0; border-bottom: 1px solid rgba(31,26,23,.22); }
.kk-tk-items b { display: block; font: 400 21px/1.5 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; }
.kk-tk-items small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--soft-l); }
.kk-steps li { counter-increment: st; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.9; }
@media (min-width: 768px) {
  .kk-qr img { width: 132px; height: 132px; display: block; margin: 0 auto 8px; image-rendering: pixelated; }
}
.kk-sig-pair .kk-ph img { aspect-ratio: 1; object-fit: cover; }
.kk-sig-pair .kk-name { font-size: 20px; margin: 12px 0 6px; }
@media (min-width: 960px) {
  .kk-sig-pair p { font-size: 16px; }
  .kk-sig-pair .kk-name { font-size: 24px; }
}
.kk-sig-row .kk-ph img { aspect-ratio: 1; object-fit: cover; }
.kk-sig-row p { font-size: 15.5px; line-height: 2; letter-spacing: .04em; }
.kk-sig-row .kk-name { margin: 10px 0 10px; white-space: nowrap; font-size: min(24px, calc((100vw - 72px) / 12.8)); }
@media (min-width: 960px) {
  .kk-sig-row .kk-name { font-size: 28px; }
}
.kk-pagehead .kk-crumb { margin: 0 0 6px; position: relative; z-index: 1; }
.kk-tk-items .kk-price { margin-top: 6px; font: 500 17px/1.4 var(--en); }

/* ==== 動き ==== */
.mo-veil { position: absolute; inset: 0; z-index: 2; background: #000; opacity: .55; pointer-events: none; }
.mo-lit .mo-veil { opacity: 0; }
/* 店名は transition ではなく animation で出す（WebKit で、ともす前の隠した形が確定せず、はじめから見えたままになった 11-01） */
@keyframes mo-rise8 { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mo #top .sw-hero-txt { opacity: 0; }
.mo #top.mo-lit .sw-hero-txt { animation: mo-rise8 .7s var(--mo-ease) 1.6s both; }
.mo .sw-tile.mo-in:has(.sw-tile-info)::after { animation: mo-hop .3s var(--mo-ease) .6s 1 both; }
@media (prefers-reduced-motion: reduce) {
  .mo-veil { display: none; }
  .mo .sw-tile::after { animation: none !important; }
  .mo #rsv-h::before { animation: none !important; }
}
/* 暗い膜は写真の読み込みを待つまま、0.9s に。transition は灯りをともすときだけ（付けたまま膜を足すと、黒い膜 1→.55 の動きが走り、開いた直後が一瞬真っ黒になった） */
.mo-veil { transition: none; }
.mo-lit .mo-veil { transition: opacity .9s var(--mo-ease); }
@media (max-width: 767px) {
  .sw-dock.is-ready.is-on { transition: opacity .25s cubic-bezier(.05,.7,.1,1), transform .25s cubic-bezier(.05,.7,.1,1), visibility 0s; }
}
/* 6(a) 跳ねる動きの曲線 */
.mo #rsv-h.mo-in::before { animation: mo-hop .3s cubic-bezier(.2,0,0,1) .6s 1 both; }
/* 2. 拡大：4.4s・減速で止まる（替わるまで動き続ける）。1枚目は灯りの膜と重なるので拡大しない */
.sw-pair.is-zoom img { transition: transform 4.4s cubic-bezier(.2,0,0,1); }
.sw-pair:first-child .sw-half img, .sw-pair:first-child.is-zoom .sw-half img { transform: scale(var(--k-sp, 1)); transition: none; }
#top[data-slide] .sw-pair img, #top[data-slide] .sw-pair.is-zoom img { transform: none !important; transition: none !important; }
/* 画面に入ったときに1回だけ、6px 跳ねて止まる（300ms）。ずっと動き続けない */
@keyframes mo-hop { 0% { transform: none; } 45% { transform: translateY(-6px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mo #top .sw-hero-txt { opacity: 1; transform: none; transition: none; animation: none; }
}
@media (min-width: 960px) {
  .sw-pair:first-child .sw-half img, .sw-pair:first-child.is-zoom .sw-half img { transform: scale(var(--k, 1)); }
}
@media (prefers-reduced-motion: no-preference) {
  .js #top .sw-hero-txt, .mo #top .sw-hero-txt, .mo #top.mo-lit .sw-hero-txt { opacity: 1; animation: mo-rise8 .6s var(--mo-ease) .3s both; }
}

/* ======================================================================
   ここから下は、上の段の指定に勝たせるため後ろに置いている指定（同じ強さなら、後に書いたほうが勝つ）。
   上へ移すと見た目が変わる。直すときは、上の段の同じ指定と見比べる
   ====================================================================== */

/* ---- 土台（変数・地・質感・見出し・写真の額）（上書き） ---- */
.sw-h2, .sw-about-h { margin-top: 0; }
.sw-tile-ph img, .sw-c-ph img { background: var(--lq) var(--pos, 50% 50%) / cover no-repeat; }
/* 外観と店内は額の余白に杉の地を残す（上の額の指定より後ろに置く） */
.sw-gaikan img, .sw-about-ph img { background: var(--lq) var(--pos, 50% 50%) / cover no-repeat content-box, #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; }

/* ---- 三大名物（上書き） ---- */
.sw-tile-info { position: relative; left: auto; right: auto; bottom: auto; order: 1; aspect-ratio: 1; justify-content: flex-end; padding: 16px; }
.sw-tile-desc { order: 2; margin: 0; padding: 12px 16px 18px; font-size: 13.5px; line-height: 1.75; letter-spacing: .02em; flex: 1; }
/* こたこた堂は品書きの一覧を出さない（三大名物の格子だけ） */
.sw-menu { padding-bottom: 64px; }
@media (min-width: 960px) {
  .sw-menu { padding-bottom: 96px; }
}

/* ---- 予約（上書き） ---- */
.sw-to-rsv a { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1 var(--ja); letter-spacing: .1em; color: var(--d); text-decoration: underline; text-decoration-color: var(--btn); text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* 2. 予約画面の見本：土壁を透かす。白いカードの地をやめ、見出しから一続きに。墨の罫で受ける */
.sw-frame { margin: 0 !important; background: transparent !important; padding: 0; }
.sw-rsv-side { padding-bottom: 8px; }

/* ---- お店のこと・SNS（上書き） ---- */
@media (min-width: 960px) {
  .sw-about { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; padding-top: var(--sec); padding-bottom: var(--sec); text-align: left; }
}
/* 足もとの店名の下。文字のリンク（各社のロゴの絵は使わない）。暗い地で読める生成り・押せる高さ 44px */
.sw-sns { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.sw-sns-note a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; color: var(--d); text-decoration-color: var(--btn); text-underline-offset: 6px; }
/* 3. お店のことの写真：カウンター（大）とテーブル席（小・右へずらす） */
.sw-about-phs { display: grid; gap: 18px; padding: 64px var(--g) 0; }
@media (min-width: 960px) {
  .sw-about-phs { padding: 0; }
}

/* ---- LINE 友だち限定（上書き） ---- */
.kk-lo-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.8; }

/* ---- お知らせ（上書き） ---- */
.kk-news li { border-bottom: 1px solid rgba(31,26,23,.22); }
.kk-news a { display: block; padding: 20px 0; color: var(--d); text-decoration: none; }
.kk-news b { display: block; margin: 8px 0 6px; font: 400 21px/1.5 "Zen Antique", "Zen Kaku Gothic New", serif; font-weight: 400; letter-spacing: .04em; }
.kk-latest .kk-news { margin-top: 10px; }
.kk-latest .kk-link { margin-top: 8px; }

/* ---- 足もと（上書き） ---- */
@media (max-width: 767px) {
  .sw-foot { padding-bottom: calc(40px + 78px + env(safe-area-inset-bottom)); }
}
.kk-band p { margin: 0; font: 400 19px/1.6 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; }
@media (min-width: 960px) {
  .kk-band p { font-size: 22px; }
}

/* ---- 下層ページ（上書き） ---- */
.kk-sec { position: relative; padding: 56px var(--g) 64px; }
.kk-crumb { position: relative; z-index: 1; }
.kk-crumb a { display: inline-flex; align-items: center; color: var(--d); text-underline-offset: 5px; text-decoration-color: rgba(31,26,23,.4); }
@media (min-width: 960px) {
  .kk-sec { padding: 88px max(var(--g), calc((100% - 1120px) / 2)) 96px; }
}

/* ---- 土台（変数・地・質感・見出し・写真の額）（上書き） ---- */
@media (min-width: 960px) {
  .sw-accbox, .sw-about, .sw-menu, .sw-courses, .sw-reserve, .sw-foot { padding-left: max(var(--g), calc((100% - 1120px) / 2)); padding-right: max(var(--g), calc((100% - 1120px) / 2)); }
}

/* ---- 上の帯と目次（上書き） ---- */
/* ---- 上の帯 ---- */
.kk-head { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 12px 0 16px; background: #14100e; color: #f3ecdf; }
.kk-nav-i { width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; position: relative; }
@media (min-width: 960px) {
  .kk-pcnav a { display: inline-flex; align-items: center; min-height: 44px; color: #f3ecdf; text-decoration: none; font: 500 13.5px/1 var(--ja); letter-spacing: .1em; }
  .kk-head { height: 64px; padding: 0 216px 0 28px; }
}

/* ---- 1画面目（上書き） ---- */
/* ---- 写真を止める：28px のアイコンだけ。右下・不透明度 60% ---- */
.sw-pause { left: auto; right: 16px; bottom: 16px; width: 28px; height: 28px; min-height: 0; padding: 0; gap: 0; justify-content: center; border-radius: 50%; opacity: .6; }
/* 1画面目の本文のボタン（44px 以上） */
.sw-hero-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 22px; padding: 0 28px; border-radius: 24px; background: var(--btn); color: #fff; font: 700 15px/1 var(--ja); letter-spacing: .12em; text-decoration: none; pointer-events: auto; }
@media (min-width: 960px) {
  .sw-mast { z-index: 95; padding-top: 10px; padding-right: 28px; }
}
@media (max-width: 767px) {
  .sw-hero-cta { margin-top: 18px; }
}

/* ---- 予約（上書き） ---- */
/* 段の終わりの導線（文字のリンク） */
.sw-to-rsv { margin-top: 32px; }

/* ---- お店のこと・SNS（上書き） ---- */
/* お店のことの SNS の1行 */
.sw-sns-note { margin-top: 20px; font-size: 15px; line-height: 2; }
.sw-about-ph { margin: 0; }

/* ---- 下層ページ（上書き） ---- */
.kk-h1 { margin: 0; font: 400 32px/1.4 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .08em; position: relative; z-index: 1; }
.kk-lead { max-width: 36em; font-size: 16px; line-height: 2; letter-spacing: .04em; }
.kk-h2 { margin: 0 0 20px; font: 400 26px/1.45 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; }
.kk-sig-more a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 4px; color: var(--d); font-weight: 700; text-decoration: underline; text-decoration-color: var(--btn); text-decoration-thickness: 2px; text-underline-offset: 7px; }
@media (min-width: 960px) {
  .kk-h1 { font-size: 44px; }
  .kk-h2 { font-size: 32px; }
}
.kk-order-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--d); text-underline-offset: 5px; }
.kk-crumb a, .kk-crumb [aria-current] { min-height: 32px; }

/* ---- 予約（上書き） ---- */
@media (max-width: 767px) {
  .sw-dock { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; height: 54px; border-radius: 27px; background: var(--btn); color: #fff; font: 700 16px/1 var(--ja); letter-spacing: .14em; text-decoration: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }
}

/* ---- お店のこと・SNS（上書き） ---- */
.sw-sns-btns a { align-items: center; text-align: center; }
.sw-sns-btns a, .sw-sns-btns a:hover { display: inline-flex; justify-content: flex-start; gap: 20px; min-height: 60px; padding: 10px 0; border: 0; border-radius: 0; background: none; color: var(--d); font: 700 16px/1.3 var(--ja); letter-spacing: .04em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.sw-sns a { gap: 20px; min-height: 60px; padding: 10px 0; }

/* ---- 足もと（上書き） ---- */
.kk-band a { display: inline-flex; align-items: center; min-height: 44px; color: #f3ecdf; font: 700 15px/1 var(--ja); letter-spacing: .1em; text-decoration: underline; text-decoration-color: rgba(243,236,223,.5); text-underline-offset: 7px; }

/* ---- 下層ページ（上書き） ---- */
.kk-note { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--soft-l); }
.kk-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font: 700 15px/1 var(--ja); letter-spacing: .1em; color: var(--d); text-decoration: underline; text-decoration-color: var(--btn); text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* 写真（杉板の細い枠・色味をそろえる） */
.kk-ph { margin: 0; }
.kk-no { font: 500 13px/1 var(--en); letter-spacing: .3em; color: var(--soft-l); }
/* 名物（写真が主役・4:5 で比率をそろえる） */
.kk-items { display: grid; gap: 56px; margin-top: 40px; }
.kk-item { display: grid; gap: 20px; }
.kk-name { margin: 8px 0 12px; font: 400 26px/1.45 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; }
.kk-price { margin-top: 10px; font: 500 18px/1 var(--en); }
@media (min-width: 960px) {
  .kk-item { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
}
.kk-post-body { max-width: 36em; font-size: 16px; line-height: 2.05; letter-spacing: .04em; }
/* 表（アクセス） */
.kk-table { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(31,26,23,.22); }
.kk-tel { font: 500 26px/1 var(--en); letter-spacing: .06em; }
.kk-two { display: grid; gap: 40px; }
/* 品の一覧（写真の無い品は文字で組む） */
.kk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(31,26,23,.22); }
.kk-sig-no { font: 400 15px/1 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .3em; color: var(--soft-l); }
@media (min-width: 960px) {
  .kk-two { grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
}
.kk-related { margin-top: 48px; }
/* 見出しと戻り道を詰め、主役の写真を置く */
.kk-pagehead { padding-top: 28px; padding-bottom: 28px; }
.kk-crumb { margin-top: 4px; }

/* ---- 動き（上書き） ---- */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .sw-dock, .sw-dock.is-on { transition: none; transform: none; }
}

/* ---- 予約（上書き） ---- */
@media (max-width: 767px) {
  .sw-dock, .sw-dock.is-on { transition: none; }
}

/* ---- お知らせ（上書き） ---- */
/* お知らせ */
.kk-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(31,26,23,.22); }

/* ---- 下層ページ（上書き） ---- */
/* 三大名物：主役1品を大きく（4:5）、残り2品は同じ大きさ（1:1） */
.kk-sig-main { display: grid; gap: 20px; margin-top: 8px; }
.kk-sig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 960px) {
  .kk-sig-main { grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
  .kk-sig-pair { gap: 40px; margin-top: 72px; }
}
.kk-sig { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 48px; }
.kk-sig-row { display: grid; gap: 16px; }
.kk-sig-more { margin-top: 48px; font-size: 15px; }
@media (min-width: 960px) {
  .kk-sig { max-width: 860px; margin: 48px auto 0; gap: 64px; }
}
.kk-order-note { font-size: 13.5px; line-height: 1.9; color: var(--soft-l); }
.kk-qr { display: none; }
@media (min-width: 960px) {
  .kk-sig-row { grid-template-columns: 180px minmax(0, 1fr); gap: 48px; align-items: center; }
  .kk-sig-more { max-width: 860px; margin: 64px auto 0; }
  .kk-sig-lead { max-width: 860px; margin: 0 auto; }
}
.kk-line-btn { display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 29px; background: var(--btn); color: #fff; font: 700 17px/1 var(--ja); letter-spacing: .14em; text-decoration: none; }
/* テイクアウト：品と値段（3品同じ形） */
.kk-tk-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(31,26,23,.22); }
/* 頼み方（3段） */
.kk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
/* LINE で注文する */
.kk-order { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 768px) {
  .kk-qr { display: block; grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: center; font-size: 13px; color: var(--soft-l); }
}
.kk-date { margin: 4px 0 6px; position: relative; z-index: 1; font: 500 14px/1 var(--en); letter-spacing: .14em; color: var(--soft-l); }
/* アイコンは40px。周りにアイコンの半分（20px）を空ける＝文字との間20px・行の上下に10px ずつ（隣の行と合わせて20px） */
.kk-ic { width: 40px; height: 40px; flex: none; margin: 0; }
@media (min-width: 768px) {
  .kk-order { grid-template-columns: minmax(0, 420px) auto; gap: 16px 40px; align-items: center; }
}

/* ---- 動き（上書き） ---- */
@media (max-width: 767px) {
  .sw-dock.is-ready { transition: opacity .15s cubic-bezier(.3,0,.8,.15), transform .15s cubic-bezier(.3,0,.8,.15), visibility 0s linear .15s; }
}

/* ---- 1画面目（上書き） ---- */
/* 何枚目か：下の真ん中に小さな点（白・いまの1枚だけ濃く） */
.kk-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 8px; pointer-events: none; }

/* ---- お店のこと・SNS（上書き） ---- */
/* Instagram と LINE 友だち追加を、同じ大きさの墨の線のボタン2つに（赤は予約だけに残す） */
.sw-sns-btns { list-style: none; margin: 32px 0 0; padding: 0; }
.sw-sns { gap: 0 32px; }
.sw-sns-btns { display: grid; grid-template-columns: 1fr; gap: 0; max-width: none; margin-top: 24px; }

/* ---- LINE 友だち限定（上書き） ---- */
.kk-lineoffer { padding: 48px var(--g) 52px; background: #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; color: #f3ecdf; }
/* LINE のアイコンは56px。周りに半分（28px）を空ける */
.kk-lo-ic { display: block; width: 56px; height: 56px; margin: 0 0 28px; }
.kk-lo-kicker { margin: 0; font: 700 14px/1.4 var(--ja); letter-spacing: .2em; color: var(--soft-l); }
.kk-lo-h { margin: 10px 0 0; font: 400 26px/1.5 "Zen Antique", "Zen Kaku Gothic New", serif; letter-spacing: .06em; text-wrap: balance; }
.kk-lo-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.kk-lo-note { margin: 14px 0 0; font-size: 14px; line-height: 1.8; color: var(--soft-l); }
.kk-lo-btn { display: flex; align-items: center; justify-content: center; max-width: 420px; min-height: 56px; margin-top: 32px; border: 1px solid #f3ecdf; border-radius: 28px; color: #f3ecdf; font: 700 16px/1.3 var(--ja); letter-spacing: .08em; text-decoration: none; }
@media (min-width: 960px) {
  .kk-lo-qr { display: block; grid-column: 2; grid-row: 1; margin: 0; text-align: center; font-size: 13px; color: var(--soft-l); }
  .kk-lineoffer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 64px; align-items: center; padding: 64px max(var(--g), calc((100% - 1120px) / 2)); }
  .kk-lo-h { font-size: 32px; }
}

/* ---- お知らせ（上書き） ---- */
/* トップ：お知らせの最新1件 */
.kk-latest { padding: 40px var(--g) 48px; }
@media (min-width: 960px) {
  .kk-latest { padding: 64px max(var(--g), calc((100% - 1120px) / 2)) 72px; }
}

/* ---- 足もと（上書き） ---- */
/* トップ：テイクアウトの帯（写真なし・杉板の帯） */
.kk-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 26px var(--g); background: #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; color: #f3ecdf; }
@media (min-width: 960px) {
  .kk-band { padding: 30px max(var(--g), calc((100% - 1120px) / 2)); }
}

/* 店主のご紹介（お店のことの段・紹介文と SNS のあいだ。社長 11-07） */
.kk-owner { display: grid; grid-template-columns: 42% 1fr; gap: 20px; align-items: end; margin: 44px 0 36px; padding-top: 36px; border-top: 1px solid rgba(31,26,23,.2); }
.kk-owner-ph { margin: 0; }
.kk-owner-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; padding: var(--waku); background: var(--lq, none) center / cover no-repeat content-box, #1f1a17 url(images/tx-sugi-sumi.webp) 0 0 / 640px; box-sizing: border-box; filter: contrast(1.05) saturate(.88) sepia(.06) brightness(.97); }
.kk-owner-name { padding-bottom: 6px; }
.kk-owner-role { margin: 0 0 10px; font-size: 13px; letter-spacing: .3em; opacity: .75; }
.kk-owner-name h3 { margin: 0; font-family: "Zen Antique", "Zen Kaku Gothic New", serif; font-weight: 400; font-size: 24px; line-height: 1.3; letter-spacing: .1em; white-space: nowrap; }
.kk-owner-kana { margin: 6px 0 0; font-size: 13px; letter-spacing: .14em; opacity: .75; }
.kk-owner-txt { grid-column: 1 / -1; margin: 0; font-size: 16px; line-height: 2; letter-spacing: .04em; }
@media (min-width: 900px) { .kk-owner { grid-template-columns: 180px 1fr; gap: 20px 28px; } .kk-owner-txt { letter-spacing: .01em; } }
/* スマホの左右の余白（11-07 社長 OK）：木の柱（12px）の内側から16px＝画面の端から28px。表の見出しの列を狭めて、表の折れ方は20pxのときと同じに */
@media (max-width: 959px) { :root { --g: 28px; } .sw-table > div { grid-template-columns: 4.8em minmax(0, 1fr); } }

/* 品書きの見出しを正式名に（11-07 社長）：2行まで入る帯の高さに4品をそろえる。320px 前後は3行になるので、3行分にそろえて写真の上の端を合わせる */
.sw-tile-name { height: auto; min-height: 66px; padding: 10px 14px; line-height: 1.5; letter-spacing: .06em; }
@media (max-width: 359px) { .sw-tile-name { min-height: 90px; } }

/* 電話の行と、定休日の下のお知らせ先（11-07 社長 OK）。電話は押すとかかる（地図アプリで開くと同じ赤い下線・44px）。ボタンは縦に並べる（44px） */
.kk-tel { display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; color: inherit; font: 500 17px/1 var(--en); letter-spacing: .06em; text-decoration: underline; text-decoration-color: var(--btn); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kk-telnote { display: block; margin-top: 6px; font-size: 14px; line-height: 1.8; letter-spacing: .04em; line-break: strict; text-wrap: pretty; color: var(--soft-l); }   /* 店主が入れる一文。最後の行が1〜2字にならないよう折り方をそろえる */
.kk-telnote .kk-phr { display: inline-block; max-width: 100%; }   /* 文節1つ（kotakota-live.js が囲む）。文節の間でだけ折る。1行に入りきらない文節だけ中で折れる */
.kk-hol { display: block; margin-top: 10px; font-size: 14px; line-height: 1.8; letter-spacing: .04em; line-break: strict; color: var(--soft-l); }
.kk-hol-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kk-hol-btns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border: 1px solid rgba(31, 26, 23, .28); border-radius: 22px; color: #1f1a17; font: 700 14px/1 var(--ja); letter-spacing: .06em; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.kk-hol-btns img { width: 24px; height: 24px; }
.dp .kk-hol-btns a { transition: transform .1s cubic-bezier(.2, 0, 0, 1); }
.dp .kk-hol-btns a:active { transform: scale(.96); }

/* ======== 画面の動き（kotakota-ui.js と組） ======== */
/* こたこた堂 B の画面の動き（11-07 社長「全体的に良い感じの動きがほしい」→ 試作の版4で確定。版5の「見出しがせり上がる・写真が額ごと開く」は「違和感」で外した）
   上の帯が引っ込む・押した手ごたえ・ページの切り替え・目次の開き閉じ・紋が回る・罫線が伸びる・予約ボタンの光（写真の視差は 11-07 社長「写真の中が動くのはバグに感じる」で外した）
   動かすのは transform と opacity だけ。動きを減らす設定では何もしない（スクリプトも html に dp を付けない） */

/* 2. 上の帯：下へ送ると隠れ、少し戻すと出る（スマホだけ。目次を開いている間は出したまま） */
@media (max-width: 959px) {
  .dp .kk-head { transition: transform .25s cubic-bezier(.2, 0, 0, 1); }
  .dp-hide .kk-head { transform: translateY(-100%); transition-duration: .2s; transition-timing-function: cubic-bezier(.3, 0, .8, .15); }
}

/* 3. 押した手ごたえ：ボタンは押した瞬間に少し沈む（0.1秒）。文字のリンクは薄くなる */
.sw-hero-cta, .kk-lo-btn, .sw-sns-btns a, .kk-link, .sw-link, .sw-dock { -webkit-tap-highlight-color: transparent; }
.dp .sw-hero-cta, .dp .kk-lo-btn, .dp .sw-sns-btns a { transition: transform .1s cubic-bezier(.2, 0, 0, 1); }
.dp .sw-hero-cta:active, .dp .kk-lo-btn:active, .dp .sw-sns-btns a:active, .dp .sw-dock.is-on:active { transform: scale(.96); }
.dp .kk-link:active, .dp .sw-link:active { opacity: .55; }

/* 5. 目次の開き閉じ：「≡」の上下の線が真ん中へ寄って「×」になる（0.2秒）。目次の板は上から 12px 滑り込みながら現れる（0.25秒・減速）。
      閉じるときは 0.16秒で引っ込む（kotakota-ui.js が閉じる前に dp-closing を付けて待つ） */
.dp .kk-nav-i { border: 0; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; transition: background-size .12s linear; }
.dp .kk-nav-i::before, .dp .kk-nav-i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border: 0; background: currentColor; box-shadow: none; transition: transform .2s cubic-bezier(.2, 0, 0, 1); }
.dp .kk-nav-i::before { top: 0; }
.dp .kk-nav-i::after { top: 10px; }
.dp .kk-nav[open]:not(.dp-closing) .kk-nav-i { background-size: 0 2px; }
.dp .kk-nav[open]:not(.dp-closing) .kk-nav-i::before { top: 0; transform: translateY(5px) rotate(45deg); }
.dp .kk-nav[open]:not(.dp-closing) .kk-nav-i::after { top: 10px; transform: translateY(-5px) rotate(-45deg); }
@keyframes dp-nav-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes dp-nav-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
.dp .kk-nav[open] > nav { animation: dp-nav-in .25s cubic-bezier(.05, .7, .1, 1) both; }
.dp .kk-nav.dp-closing > nav { animation: dp-nav-out .16s cubic-bezier(.3, 0, .8, .15) both; }

/* 6. 紋が回って止まる：店の紹介の段の継ぎ目の丸紋が、画面に入ったとき1回だけ1回転して止まる（1.1秒・減速） */
@keyframes dp-mon { from { transform: translate(-50%, -50%) rotate(-360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
.dp #about.dp-in::before { animation: dp-mon 1.1s cubic-bezier(.05, .7, .1, 1) both; }

/* 7. 罫線が伸びる：店主の紹介の上の線・お知らせの線が、画面に入ると左から右へ引かれる（0.7秒）。線の色は元の線と同じ（--dp-c） */
.dp .dp-ln-top, .dp .dp-ln-bot { position: relative; }
.dp .kk-owner { --dp-c: rgba(31, 26, 23, .2); }
.dp .kk-news, .dp .kk-news li { --dp-c: rgba(31, 26, 23, .22); }   /* kotakota.css の線と同じ色（読み込みの途中で色を読むと黒が返った） */
.dp .dp-ln-top { border-top-color: transparent !important; }
.dp .dp-ln-bot { border-bottom-color: transparent !important; }
.dp .dp-ln-top::before, .dp .dp-ln-bot::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--dp-c); transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.2, 0, 0, 1) var(--dp-d, 0s); pointer-events: none; }
.dp .dp-ln-top::before { top: -1px; }
.dp .dp-ln-bot::after { bottom: -1px; }
.dp .dp-ln-top.dp-in::before, .dp .dp-ln-bot.dp-in::after { transform: none; }

/* 8. 予約ボタンに一筋の光：1画面目のボタンは灯りがともって店名が出たあと、下の予約ボタンは初めて出たときに、1回だけ柔らかい光が横切る（1.4秒） */
.dp .sw-hero-cta { position: relative; }
.dp .sw-hero-cta, .dp .sw-dock { overflow: hidden; }
.dp .sw-hero-cta::after, .dp .sw-dock::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 70%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .08) 32%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .08) 68%, rgba(255, 255, 255, 0)); transform: translateX(0) skewX(-12deg); opacity: 0; pointer-events: none; }
@keyframes dp-shine { 0% { transform: translateX(0) skewX(-12deg); opacity: 0; } 25% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(250%) skewX(-12deg); opacity: 0; } }
.dp .dp-shine::after { animation: dp-shine 1.4s cubic-bezier(.33, 0, .2, 1) both; }   /* 11-07 社長「キランが少しくどい。もう少し柔らかく」→ 光を弱く（.38→.16）・幅を広く・ぼかしを長く・1.4秒でゆっくり・出入りを薄く */

/* 4. ページの切り替え：白く飛ばずにふっと替わる。上の帯はそのまま残す（対応しないブラウザは今までどおり） */
@view-transition { navigation: auto; }
.kk-head { view-transition-name: kk-head; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: cubic-bezier(.2, 0, 0, 1); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* 1画面目の動画の1枚（kotakota-slide.js と組・11-08）。写真の上に重ね、流れ始めたら見せる。
   動画の枠を動画と同じ縦横比にして、幅いっぱいに置く（WebKit で video の object-fit: cover が効かず、左右に黒い帯が出た）。縦の位置は写真の posSp と同じ 33% */
.sw-half .sw-vid { position: absolute; left: 50%; top: 33%; width: 100%; height: auto; min-width: 100%; min-height: 100%; aspect-ratio: 720 / 1382; transform: translate(-50%, -33%); object-fit: cover; opacity: 0; transition: opacity .3s; pointer-events: none; }
.sw-half .sw-vid.is-play { opacity: 1; }

/* PC の1画面目は左右分け（11-08 社長「PCで見るとトップの画像が粗すぎる」）：左 46% に店名と予約ボタン、右 54% に写真の窓。
   写真はスマホと同じ縦長を窓に入れるので、伸びは2.5〜3.8倍から1.3〜2.0倍になる。1枚目と3枚目は PC 用の切り取り（picture の source）・3枚目の動画も PC 用 */
.sw-half picture { display: contents; }
@media (min-width: 960px) {
  #top[data-slide] .sw-pairs { left: 46%; }
  #top[data-slide] .sw-pair { grid-template-columns: 1fr; }
  #top[data-slide] .sw-layer.is-a { right: 54%; clip-path: none; place-items: center; padding-top: 64px; padding-bottom: 0; }   /* 上の帯（64px）を除いた高さの真ん中（11-08 社長「左のキャッチなどがFVの下寄りだから中央にして」） */
  #top[data-slide] .sw-layer.is-b { display: none; }
  #top[data-slide] .kk-dots { left: 73%; }
  .sw-half .sw-vid { top: 50%; aspect-ratio: 930 / 1080; transform: translate(-50%, -50%); }
}

/* 記事の段落の間（11-14 社長） */
.kk-post-body p + p { margin-top: 1em; }

/* 臨時休業の1日（kotakota-live.js が囲む）。日付と曜日の途中で折らない（11-19 社長） */
[data-live="closures"] .kk-phr { display: inline-block; max-width: 100%; }
