/* 見本のホームページ（すべて架空のお店）の見た目。sample.html だけが読む（2026-10-30 作り直し）
   雰囲気ごとの色・書体は html[data-look] の変数、並べ方の型は html[data-fam]（soft・sharp・luxe・pop）で変える
   取り入れた流行り：画面いっぱいの写真・大きな見出し・数字の札の箱組み（ベントー）・写真の並びの箱組み／スマホは横に送る・下に留めた予約ボタン */
:root{
  --bg:#F6F1E7;--fg:#2E2A24;--muted:#625A50;--accent:#4E6B3A;--on-accent:#fff;--surface:#FFFDF8;--line:#E3D9C6;
  --hf:"Shippori Mincho",serif;--ef:"Cormorant Garamond",serif;--bf:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic",sans-serif;
  --r:18px;--hero-fg:#fff;--hero-ov:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0) 62%);--note-h:34px;--wrap:1120px;--sec:112px
}
/* ── 雰囲気ごとの色と書体 ── */
html[data-look="food-natural"]{--bg:#F6F1E7;--fg:#2E2A24;--muted:#625A50;--accent:#4E6B3A;--surface:#FFFDF8;--line:#E3D9C6;--hf:"Shippori Mincho",serif;--ef:"Cormorant Garamond",serif;--r:22px}
html[data-look="food-modern"]{--bg:#FFFFFF;--fg:#111111;--muted:#555555;--accent:#111111;--surface:#F4F4F2;--line:#E2E2E0;--hf:"Zen Kaku Gothic New",sans-serif;--ef:"DM Sans",sans-serif;--r:0px;--hero-fg:#111;--hero-ov:linear-gradient(to bottom,rgba(255,255,255,.9),rgba(255,255,255,.8) 55%,rgba(255,255,255,0) 86%)}
html[data-look="food-luxe"]{--bg:#0F0E0C;--fg:#F3EEE3;--muted:#BDB4A3;--accent:#C9A45C;--on-accent:#14110C;--surface:#1A1815;--line:#3A342A;--hf:"Zen Old Mincho",serif;--ef:"Cormorant Garamond",serif;--r:0px;--hero-ov:linear-gradient(to left,rgba(0,0,0,.8),rgba(0,0,0,.55) 55%,rgba(0,0,0,.35))}
html[data-look="law-trust"]{--bg:#FFFFFF;--fg:#1B2433;--muted:#4D5868;--accent:#1F3A68;--surface:#F1F4F8;--line:#DCE3EC;--hf:"Zen Kaku Gothic New",sans-serif;--ef:"DM Sans",sans-serif;--r:6px;--hero-ov:linear-gradient(to right,rgba(16,32,62,.9),rgba(16,32,62,.55) 55%,rgba(16,32,62,.12))}
html[data-look="law-warm"]{--bg:#F7F3EA;--fg:#2D2B26;--muted:#5E594F;--accent:#476447;--surface:#FFFFFF;--line:#E4DCCB;--hf:"Zen Maru Gothic",sans-serif;--ef:"Zen Maru Gothic",sans-serif;--bf:"Zen Maru Gothic","Zen Kaku Gothic New",sans-serif;--r:26px}
html[data-look="law-classic"]{--bg:#FBF9F4;--fg:#1E2A24;--muted:#4E5A53;--accent:#1F3D33;--surface:#F2EEE4;--line:#D9CFB8;--gold:#B8924A;--hf:"Zen Old Mincho",serif;--ef:"Cormorant Garamond",serif;--r:0px;--hero-ov:linear-gradient(rgba(14,30,23,.62),rgba(14,30,23,.74))}
html[data-look="shop-natural"]{--bg:#F8F4EC;--fg:#2F2A25;--muted:#635A50;--accent:#7E5236;--surface:#FFFFFF;--line:#E6DCCB;--hf:"Shippori Mincho",serif;--ef:"Cormorant Garamond",serif;--r:16px}
html[data-look="shop-pop"]{--bg:#FFF8EE;--fg:#1F1D2B;--muted:#4C4A5A;--accent:#C8324A;--surface:#FFFFFF;--line:#1F1D2B;--yellow:#FFD23F;--blue:#2456D6;--hf:"Zen Maru Gothic",sans-serif;--ef:"DM Sans",sans-serif;--bf:"Zen Maru Gothic","Zen Kaku Gothic New",sans-serif;--r:22px}
html[data-look="shop-mono"]{--bg:#FFFFFF;--fg:#0A0A0A;--muted:#555555;--accent:#0A0A0A;--surface:#F3F3F3;--line:#DDDDDD;--hf:"Zen Old Mincho",serif;--ef:"DM Sans",sans-serif;--r:0px;--hero-fg:#0A0A0A;--hero-ov:none}
html[data-look="body-clean"]{--bg:#FFFFFF;--fg:#1D2B33;--muted:#4F5E68;--accent:#23708F;--surface:#EEF6FA;--line:#D5E6EE;--hf:"Zen Maru Gothic",sans-serif;--ef:"DM Sans",sans-serif;--bf:"Zen Maru Gothic","Zen Kaku Gothic New",sans-serif;--r:16px;--hero-ov:linear-gradient(to right,rgba(15,45,60,.8),rgba(15,45,60,.4) 60%,rgba(15,45,60,.05))}
html[data-look="body-wa"]{--bg:#F4EEE4;--fg:#2E261F;--muted:#62574B;--accent:#8A4B2A;--surface:#FBF8F2;--line:#E2D6C3;--hf:"Shippori Mincho",serif;--ef:"Cormorant Garamond",serif;--r:12px}
html[data-look="body-calm"]{--bg:#EFEBE5;--fg:#2F2C29;--muted:#5F5952;--accent:#5E554B;--surface:#F8F6F2;--line:#DCD5CB;--hf:"Zen Old Mincho",serif;--ef:"Cormorant Garamond",serif;--r:2px;--hero-fg:#2F2C29;--hero-ov:linear-gradient(rgba(239,235,229,.5),rgba(239,235,229,.72))}

/* ── 土台 ── */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--bf);font-size:16px;line-height:1.95;letter-spacing:.02em}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--hf);font-weight:700;line-height:1.4;margin:0;letter-spacing:.04em}
/* 日本語は文節で折り返す（言葉の途中で行が変わらないように。対応していないブラウザではふつうの折り返し） */
body{word-break:auto-phrase}
p{margin:0}
figure{margin:0}
.sx-wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.sx-eyebrow{font-family:var(--ef);font-size:15px;letter-spacing:.18em;color:var(--accent);margin-bottom:10px}
html[data-fam="soft"] .sx-eyebrow,html[data-fam="luxe"] .sx-eyebrow{font-style:italic;font-size:19px;letter-spacing:.08em;text-transform:none}
html[data-fam="sharp"] .sx-eyebrow,html[data-fam="pop"] .sx-eyebrow{text-transform:uppercase;font-weight:700;font-size:13px}
html[data-look="food-luxe"] .sx-eyebrow{color:var(--accent)}
html[data-look="law-classic"] .sx-eyebrow{color:#7A5E2A}   /* 明るい地の上の金色の字は、濃いめの金にする */
html[data-look="law-classic"] .sx-hero .sx-eyebrow{color:#E2C68C;opacity:1}

/* 架空のお店であることのお知らせ（いつも上に出す） */
.sx-note{position:relative;z-index:40;display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center;align-items:center;min-height:var(--note-h);padding:6px 14px;background:#FFF3C4;color:#4A3B00;font-size:12.5px;line-height:1.5;letter-spacing:.02em;text-align:center;font-family:"Zen Kaku Gothic New",sans-serif}
.sx-note .sx-back{color:#4A3B00;font-weight:700}

/* ボタン */
.sx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 30px;border:2px solid var(--accent);border-radius:999px;background:var(--accent);color:var(--on-accent);font:inherit;font-weight:700;font-size:15px;letter-spacing:.06em;text-decoration:none;cursor:pointer;transition:transform .2s,background .2s,color .2s}
.sx-btn:hover{transform:translateY(-2px)}
.sx-btn:focus-visible,.sx-head a:focus-visible,.sx-gallery:focus-visible{outline:3px solid #F2B705;outline-offset:3px}
.sx-btn-ghost{background:transparent;color:var(--hero-fg);border-color:currentColor}
.sx-btn-s{min-height:40px;padding:6px 18px;font-size:13.5px}
html[data-fam="sharp"] .sx-btn,html[data-fam="luxe"] .sx-btn{border-radius:var(--r)}
html[data-fam="pop"] .sx-btn{border:2px solid var(--fg);box-shadow:4px 4px 0 var(--fg)}
html[data-fam="pop"] .sx-btn-ghost{background:#fff;color:var(--fg)}
html[data-look="food-luxe"] .sx-btn,html[data-look="law-classic"] .sx-btn{background:var(--gold,var(--accent));border-color:var(--gold,var(--accent));color:#15120C}
html[data-look="food-luxe"] .sx-btn-ghost,html[data-look="law-classic"] .sx-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}

/* ── 上の帯（最初は写真の上に重ね、下へ進むと色を付けて上に留める） ── */
.sx-head{position:absolute;left:0;right:0;top:var(--note-h);z-index:30;color:var(--hero-fg);transition:background .25s,box-shadow .25s}
.sx-head.stuck{position:fixed;top:0;background:color-mix(in srgb,var(--bg) 94%,transparent);color:var(--fg);box-shadow:0 1px 0 var(--line);backdrop-filter:blur(8px)}
.sx-head-in{display:flex;align-items:center;gap:24px;min-height:76px}
.sx-logo{display:flex;flex-direction:column;line-height:1.25;text-decoration:none;margin-right:auto}
.sx-logo-en{font-family:var(--ef);font-size:12px;letter-spacing:.2em}
.sx-logo-jp{font-family:var(--hf);font-weight:700;font-size:20px;letter-spacing:.06em}
.sx-nav{display:flex;gap:26px;font-size:14px}
.sx-nav a{text-decoration:none;padding:6px 0;border-bottom:1px solid transparent}
.sx-nav a:hover{border-bottom-color:currentColor}
.sx-head .sx-btn-ghost{color:inherit}
/* 写真の上に重なっている間は、帯に写真へ溶け込む影を敷く（白い字には黒、黒い字には白） */
.sx-head:not(.stuck)::before{content:"";position:absolute;inset:0 0 -34px;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,var(--head-scrim,rgba(0,0,0,.6)),var(--head-scrim,rgba(0,0,0,.6)) 45%,transparent)}
html[data-fam="soft"] .sx-head::before,html[data-fam="pop"] .sx-head::before{display:none}
html[data-look="food-modern"],html[data-look="shop-mono"],html[data-look="body-calm"]{--head-scrim:rgba(255,255,255,.88)}
html[data-look="body-calm"]{--head-scrim:rgba(239,235,229,.9)}
html[data-look="law-trust"]{--head-scrim:rgba(16,32,62,.8)}
html[data-look="shop-mono"]{--head-scrim:rgba(255,255,255,.95)}
html[data-fam="soft"] .sx-head:not(.stuck),html[data-fam="pop"] .sx-head:not(.stuck){top:calc(var(--note-h) + 16px)}
html[data-fam="soft"] .sx-head:not(.stuck) .sx-head-in,html[data-fam="pop"] .sx-head:not(.stuck) .sx-head-in{background:color-mix(in srgb,var(--bg) 92%,transparent);color:var(--fg);border-radius:999px;padding:0 10px 0 28px;margin:0 auto;max-width:calc(var(--wrap) - 32px);min-height:64px}
html[data-fam="pop"] .sx-head:not(.stuck) .sx-head-in{border:2px solid var(--fg)}

/* ── 最初の画面：画面いっぱいの写真と、大きな見出し ── */
.sx-hero{position:relative;min-height:max(560px,calc(100vh - var(--note-h)));min-height:max(560px,calc(100svh - var(--note-h)));display:flex;color:var(--hero-fg);overflow:hidden;isolation:isolate}
.sx-hero picture,.sx-hero picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.sx-hero::after{content:"";position:absolute;inset:0;background:var(--hero-ov);z-index:-1;pointer-events:none}
.sx-hero-in{width:100%;max-width:var(--wrap);margin:0 auto;padding:150px 32px 84px;display:flex;align-items:flex-end}
.sx-hero-box{min-width:0;max-width:min(760px,100%);animation:sx-up .9s cubic-bezier(.2,.7,.2,1) both}
@keyframes sx-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.sx-catch{font-size:clamp(40px,6.4vw,92px);line-height:1.22;letter-spacing:.03em;margin-bottom:22px}
.sx-catch span{display:block;white-space:nowrap}   /* 1行ずつ。収まらないときは sample-site.js が字を小さくする */
.sx-lead{font-size:17px;line-height:2;max-width:34em;margin-bottom:30px;opacity:.95}
.sx-hero .sx-eyebrow{color:inherit}
.sx-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.sx-credit{position:absolute;right:12px;bottom:10px;font-size:11px;line-height:1.5;margin:0;padding:1px 8px;border-radius:4px;background:rgba(0,0,0,.6);color:#fff}
/* すっきり：左下に大きな文字（白い写真のときは黒い文字で、上に置く） */
html[data-fam="sharp"] .sx-catch{font-weight:700;letter-spacing:-.01em;font-size:clamp(42px,7vw,104px)}
html[data-look="food-modern"] .sx-hero-in{align-items:flex-start;padding-top:170px}
html[data-look="food-modern"] .sx-btn-ghost,html[data-look="shop-mono"] .sx-btn-ghost{color:var(--fg)}
html[data-look="food-modern"] .sx-hero .sx-btn-ghost{background:rgba(255,255,255,.88)}
html[data-look="food-modern"] .sx-hero-box,html[data-look="shop-mono"] .sx-hero-box{max-width:min(620px,100%)}
html[data-look="law-trust"] .sx-hero-in,html[data-look="body-clean"] .sx-hero-in{align-items:center}
/* やわらか：写真に余白と角の丸みを付け、文は柔らかい札の上に */
html[data-fam="soft"] .sx-hero{margin:0 16px;border-radius:0 0 var(--r) var(--r)}
html[data-fam="soft"] .sx-hero::after{background:linear-gradient(to top,rgba(0,0,0,.18),rgba(0,0,0,0) 40%)}
html[data-fam="soft"] .sx-hero-box{background:color-mix(in srgb,var(--bg) 93%,transparent);color:var(--fg);padding:36px 40px 38px;border-radius:var(--r);box-shadow:0 20px 50px rgba(0,0,0,.12)}
html[data-fam="soft"] .sx-hero .sx-eyebrow{color:var(--accent)}
html[data-fam="soft"] .sx-hero .sx-btn-ghost{color:var(--fg)}
html[data-fam="soft"] .sx-catch{font-size:clamp(34px,4.8vw,66px)}
/* 上質：中央に、細い金の線の枠 */
html[data-fam="luxe"] .sx-hero-in{justify-content:center;align-items:center;text-align:center}
html[data-fam="luxe"] .sx-hero-box{max-width:820px}
html[data-fam="luxe"] .sx-actions{justify-content:center}
html[data-fam="luxe"] .sx-lead{margin-left:auto;margin-right:auto}
html[data-fam="luxe"] .sx-hero::before{content:"";position:absolute;inset:28px;border:1px solid color-mix(in srgb,var(--gold,var(--accent)) 70%,transparent);pointer-events:none;z-index:0}
html[data-look="body-calm"] .sx-hero::before{border-color:rgba(47,44,41,.35)}
html[data-look="body-calm"] .sx-btn-ghost{color:var(--fg)}
/* 縦書きの見出し（割烹・和みの整体） */
html.sx-vert .sx-catch{writing-mode:vertical-rl;font-size:clamp(40px,5.6vw,76px);line-height:1.5;letter-spacing:.14em;margin:0 0 0 auto}
html.sx-vert .sx-catch span:nth-child(2){padding-top:1.6em}
html[data-look="food-luxe"] .sx-hero-in{justify-content:flex-end;text-align:left}
html[data-look="food-luxe"] .sx-hero-box{display:grid;grid-template-columns:auto auto;grid-template-areas:"lead catch" "act catch";gap:0 56px;align-items:end;max-width:none}
html[data-look="food-luxe"] .sx-hero-box .sx-eyebrow{display:none}
html[data-look="food-luxe"] .sx-catch{grid-area:catch;margin:0}
html[data-look="food-luxe"] .sx-lead{grid-area:lead;max-width:15em;margin:0 0 24px}
html[data-look="food-luxe"] .sx-actions{grid-area:act;justify-content:flex-start;flex-direction:column;align-items:stretch}
html[data-look="body-wa"] .sx-hero-box{display:grid;grid-template-columns:1fr auto;grid-template-areas:"eb catch" "lead catch" "act catch";gap:0 36px;align-items:end;max-width:640px}
html[data-look="body-wa"] .sx-hero-box .sx-eyebrow{grid-area:eb}
html[data-look="body-wa"] .sx-catch{grid-area:catch;margin:0}
html[data-look="body-wa"] .sx-lead{grid-area:lead;margin-bottom:22px}
html[data-look="body-wa"] .sx-actions{grid-area:act}
/* 元気：見出しを色の帯に乗せ、丸いシールを貼る */
html[data-fam="pop"] .sx-hero{margin:0 16px;border-radius:0 0 var(--r) var(--r);border:2px solid var(--fg);border-top:0}
html[data-fam="pop"] .sx-hero::after{background:none}
html[data-fam="pop"] .sx-hero-box{color:var(--fg)}
html[data-fam="pop"] .sx-catch{font-size:clamp(38px,5.8vw,82px);line-height:1.5}
html[data-fam="pop"] .sx-catch span{display:table;background:#fff;border:2px solid var(--fg);padding:0 .3em;margin-bottom:.18em;border-radius:12px;box-shadow:5px 5px 0 var(--fg)}
html[data-fam="pop"] .sx-catch span:nth-child(2){background:var(--yellow);transform:rotate(-1.5deg)}
html[data-fam="pop"] .sx-lead{background:#fff;border:2px solid var(--fg);border-radius:16px;padding:14px 18px;max-width:30em}
html[data-fam="pop"] .sx-hero-box .sx-eyebrow{display:inline-block;background:var(--blue);color:#fff;padding:2px 12px;border-radius:999px;border:2px solid var(--fg)}
html[data-fam="pop"] .sx-hero-in::after{content:"NEW!";position:absolute;right:7%;top:24%;width:118px;height:118px;border-radius:50%;background:var(--accent);color:#fff;border:2px solid var(--fg);display:grid;place-items:center;font-family:var(--ef);font-weight:700;font-size:24px;transform:rotate(12deg);box-shadow:4px 4px 0 var(--fg)}

/* ── 区切り ── */
.sx-sec{padding:var(--sec) 0 0}
.sx-h{margin-bottom:40px}
.sx-h h2{font-size:clamp(28px,3.4vw,42px)}
html[data-fam="luxe"] .sx-h{text-align:center}
html[data-fam="luxe"] .sx-h h2::after{content:"";display:block;width:44px;height:1px;background:var(--gold,var(--accent));margin:18px auto 0}

/* 写真つきのカード */
.sx-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.sx-card figure{overflow:hidden;border-radius:var(--r);aspect-ratio:4/3;background:var(--surface)}
.sx-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.sx-card:hover img{transform:scale(1.04)}
.sx-card-b{padding:18px 4px 0}
.sx-card h3{font-size:21px;margin-bottom:6px}
.sx-card p{color:var(--muted);font-size:15px;line-height:1.85}
.sx-card .sx-price{margin-top:10px;color:var(--fg);font-family:var(--ef);font-size:19px;font-weight:700;letter-spacing:.06em}
html[data-fam="soft"] .sx-card{background:var(--surface);border-radius:var(--r);padding:12px 12px 22px;box-shadow:0 10px 30px rgba(60,40,10,.06)}
html[data-fam="soft"] .sx-card figure{border-radius:calc(var(--r) - 8px)}
html[data-fam="soft"] .sx-card-b{padding:18px 12px 0}
html[data-fam="sharp"] .sx-card-b{border-top:2px solid var(--fg);margin-top:16px;padding-top:14px}
html[data-fam="sharp"] .sx-card .sx-price{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px}
html[data-fam="sharp"] .sx-card .sx-price::before{content:"Price";font-size:13px;color:var(--muted);letter-spacing:.2em;font-weight:500}
html[data-fam="luxe"] .sx-card{text-align:center}
html[data-fam="luxe"] .sx-card .sx-price{color:var(--gold,var(--accent))}
html[data-look="law-classic"] .sx-card .sx-price,html[data-look="body-calm"] .sx-card .sx-price{color:var(--fg)}
html[data-fam="pop"] .sx-card{background:#fff;border:2px solid var(--fg);border-radius:var(--r);padding:12px 12px 20px;box-shadow:6px 6px 0 var(--fg)}
html[data-fam="pop"] .sx-card:nth-child(2){transform:rotate(1deg)}
html[data-fam="pop"] .sx-card figure{border-radius:calc(var(--r) - 8px);border:2px solid var(--fg)}
html[data-fam="pop"] .sx-card .sx-price{display:inline-block;background:var(--yellow);border:2px solid var(--fg);border-radius:999px;padding:0 14px}

/* お店のこと・はじめての方へ（箱組み） */
.sx-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sx-b{background:var(--surface);border-radius:var(--r);padding:30px 30px}
.sx-b-text{grid-column:1 / span 3;display:flex;flex-direction:column;justify-content:center}
.sx-b-text h2{font-size:clamp(26px,3vw,38px);margin-bottom:14px}
.sx-b-text p:last-child{color:var(--muted);max-width:40em}
.sx-num{display:flex;flex-direction:column;justify-content:flex-end;min-height:170px}
.sx-num b{white-space:nowrap;font-family:var(--hf);font-size:clamp(34px,3.6vw,50px);line-height:1.15;color:var(--accent)}
.sx-num span{color:var(--muted);font-size:14.5px}
.sx-n1{grid-column:4}
.sx-n1{background:var(--accent);color:var(--on-accent)}
.sx-n1 b,.sx-n1 span{color:inherit}
.sx-guide{grid-column:3 / span 2}
.sx-guide h3{font-size:19px;margin-bottom:10px}
.sx-guide ul{margin:0;padding:0;list-style:none}
.sx-guide li{position:relative;padding-left:1.4em;font-size:15px;line-height:1.8;margin-bottom:6px;color:var(--muted)}
.sx-guide li::before{content:"";position:absolute;left:0;top:.72em;width:8px;height:8px;border-radius:50%;background:var(--accent)}
html[data-fam="sharp"] .sx-b{border:1px solid var(--line)}
html[data-fam="luxe"] .sx-b{border:1px solid var(--line);background:transparent}
html[data-fam="luxe"] .sx-n1{background:var(--accent);border-color:var(--accent)}
html[data-look="food-luxe"] .sx-n1{background:var(--gold,var(--accent));color:#15120C}
html[data-look="food-luxe"] .sx-num b{color:var(--accent)}
html[data-look="food-luxe"] .sx-n1 b{color:#15120C}
html[data-fam="pop"] .sx-b{background:#fff;border:2px solid var(--fg)}
html[data-fam="pop"] .sx-n1{background:var(--blue);color:#fff}
html[data-fam="pop"] .sx-n2{background:var(--yellow)}
html[data-fam="pop"] .sx-n2 b,html[data-fam="pop"] .sx-n2 span{color:var(--fg)}

/* 写真の並び（大1・中1・小2の箱組み） */
.sx-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:240px 240px;gap:14px}
.sx-gallery figure{position:relative;overflow:hidden;border-radius:var(--r);background:var(--surface)}
.sx-gallery figure:nth-child(1){grid-column:1 / span 2;grid-row:1 / span 2}
.sx-gallery figure:nth-child(2){grid-column:3 / span 2}
.sx-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.sx-gallery figure:hover img{transform:scale(1.04)}
.sx-gallery figcaption{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.6);color:#fff;font-size:12.5px;line-height:1.5;padding:4px 10px;border-radius:999px}
html[data-fam="pop"] .sx-gallery figure{border:2px solid var(--fg)}

/* お客様の声 */
.sx-voice-sec .sx-sample-tag{margin:-24px 0 26px;color:var(--muted);font-size:14px}
html[data-fam="luxe"] .sx-sample-tag{text-align:center}
.sx-voices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sx-voice{position:relative;background:var(--surface);border-radius:var(--r);padding:34px 28px 26px}
.sx-voice::before{content:"“";position:absolute;right:20px;top:-8px;font-family:Georgia,serif;font-size:96px;line-height:1;color:var(--accent);opacity:.22}
.sx-voice blockquote{margin:12px 0 14px}
.sx-voice blockquote p{font-size:16px;line-height:1.95}
.sx-voice figcaption{color:var(--muted);font-size:13.5px}
.sx-tag{display:inline-block;font-size:12px;line-height:1.5;padding:2px 10px;border-radius:999px;border:1px solid var(--muted);color:var(--muted)}
html[data-fam="sharp"] .sx-voice,html[data-fam="luxe"] .sx-voice{border:1px solid var(--line);background:transparent}
html[data-fam="pop"] .sx-voice{background:#fff;border:2px solid var(--fg)}

/* 営業時間・行き方・地図 */
.sx-access{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start}
.sx-hours{display:grid;grid-template-columns:auto 1fr;gap:0;margin:0 0 22px;border-top:1px solid var(--line)}
.sx-hours dt,.sx-hours dd{margin:0;padding:12px 0;border-bottom:1px solid var(--line)}
.sx-hours dt{font-weight:700;padding-right:28px}
.sx-addr{font-weight:700;margin-bottom:10px}
.sx-route{margin:0 0 14px;padding-left:1.2em;color:var(--muted)}
.sx-route li{margin-bottom:4px}
.sx-tel{font-size:14px;color:var(--muted)}
.sx-map{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.sx-map svg{display:block;width:100%;height:auto}
.sx-map figcaption{font-size:12.5px;color:var(--muted);padding:8px 14px;border-top:1px solid var(--line)}
.m-bg{fill:var(--surface)}
.m-park{fill:color-mix(in srgb,var(--accent) 16%,var(--surface))}
.m-rd{fill:none;stroke:color-mix(in srgb,var(--fg) 13%,var(--surface));stroke-width:16}
.m-rd2{stroke-width:9}
.m-rail{fill:none;stroke:var(--fg);stroke-width:5;stroke-dasharray:16 10;opacity:.55}
.m-st{fill:var(--fg)}
.m-tx{fill:var(--fg);font-size:15px;font-weight:700;font-family:var(--bf)}
.m-sm{font-size:12px;font-weight:500;fill:var(--muted)}
.m-walk{fill:none;stroke:var(--accent);stroke-width:3;stroke-dasharray:2 7;stroke-linecap:round}
.m-pin{fill:var(--accent)}
.m-dot{fill:var(--surface)}
html[data-fam="pop"] .sx-map{border:2px solid var(--fg)}

/* 予約の帯 */
.sx-cta{position:relative;margin-top:var(--sec);padding:110px 0;color:#fff;overflow:hidden;isolation:isolate}
.sx-cta>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.sx-cta::after{content:"";position:absolute;inset:0;background:rgba(10,10,10,.62);z-index:-1}
.sx-cta-in{text-align:center}
.sx-cta h2{font-size:clamp(28px,4vw,50px);margin-bottom:14px}
.sx-cta p{margin-bottom:28px;opacity:.95}
html[data-look] .sx-cta .sx-eyebrow{color:#fff}
.sx-cta .sx-actions{justify-content:center}
.sx-cta-tel{font-size:14px}
html[data-fam="soft"] .sx-cta,html[data-fam="pop"] .sx-cta{margin-left:16px;margin-right:16px;border-radius:var(--r)}
html[data-look="food-modern"] .sx-cta .sx-btn,html[data-look="shop-mono"] .sx-cta .sx-btn{background:#fff;color:#111;border-color:#fff}

/* おしり */
.sx-foot{margin-top:var(--sec);padding:46px 0 40px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
html[data-fam="soft"] .sx-foot,html[data-fam="pop"] .sx-foot{margin-top:56px}
.sx-foot-in{display:grid;gap:4px}
.sx-foot-name{font-family:var(--hf);font-weight:700;font-size:20px;color:var(--fg)}
.sx-foot-note{margin-top:8px}

/* 見本の予約ボタンを押したときのお知らせ */
.sx-toast{position:fixed;left:50%;bottom:24px;z-index:60;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1E1E1E;color:#fff;font-size:14px;padding:12px 18px;border-radius:10px;transition:opacity .25s,transform .25s;margin:0;font-family:"Zen Kaku Gothic New",sans-serif}
.sx-toast.on{opacity:1;transform:translate(-50%,0)}
.sx-sticky{display:none}

/* ── 狭い画面 ── */
@media (max-width:900px){
  .sx-nav{display:none}
  .sx-cards,.sx-voices{grid-template-columns:1fr 1fr}
  .sx-access{grid-template-columns:1fr}
}
@media (max-width:700px){
  :root{--sec:76px}
  body{font-size:15.5px}
  .sx-wrap{padding:0 20px}
  .sx-head-in{min-height:64px;gap:12px}
  .sx-logo-jp{font-size:17px}
  .sx-head .sx-btn-s{display:none}
  html[data-fam="soft"] .sx-head:not(.stuck),html[data-fam="pop"] .sx-head:not(.stuck){top:calc(var(--note-h) + 10px)}
  html[data-fam="soft"] .sx-head:not(.stuck) .sx-head-in,html[data-fam="pop"] .sx-head:not(.stuck) .sx-head-in{margin:0 20px;padding:0 20px;min-height:54px}
  .sx-hero{min-height:calc(100svh - var(--note-h))}
  .sx-hero-in{padding:110px 20px 96px}
  html[data-fam="soft"] .sx-hero,html[data-fam="pop"] .sx-hero{margin:0 10px}
  html[data-fam="soft"] .sx-hero-box{padding:24px 22px 26px}
  .sx-lead{font-size:15.5px;margin-bottom:22px}
  .sx-actions .sx-btn{flex:1 1 auto}
  html[data-look="food-modern"] .sx-hero-in{padding-top:120px}
  /* 白い字の見本は、スマホでは見出しを下に置き、下を濃くする */
  html[data-look="law-trust"] .sx-hero-in,html[data-look="body-clean"] .sx-hero-in{align-items:flex-end}
  html[data-look="law-trust"]{--hero-ov:linear-gradient(to top,rgba(16,32,62,.92),rgba(16,32,62,.7) 55%,rgba(16,32,62,.25))}
  html[data-look="body-clean"]{--hero-ov:linear-gradient(to top,rgba(15,45,60,.9),rgba(15,45,60,.62) 55%,rgba(15,45,60,.15))}
  html[data-look="shop-mono"]{--hero-ov:linear-gradient(to top,rgba(255,255,255,.94),rgba(255,255,255,.8) 55%,rgba(255,255,255,0) 82%)}
  .sx-num b{font-size:32px}
  html[data-fam="luxe"] .sx-hero::before{inset:14px}
  html[data-look="food-luxe"] .sx-hero-box{grid-template-columns:1fr auto;gap:0 18px}
  html[data-look="food-luxe"] .sx-lead{max-width:none;font-size:14.5px}
  html.sx-vert .sx-catch{font-size:clamp(34px,10vw,46px)}
  .sx-note .sx-long{display:none}
  /* 和み：スマホでは縦書きの見出しを上に、説明とボタンは下に全幅で */
  html[data-look="body-wa"] .sx-hero-box{grid-template-columns:1fr;grid-template-areas:"catch" "eb" "lead" "act";gap:0}
  html[data-look="body-wa"] .sx-catch{justify-self:center;margin-bottom:18px}
  html[data-fam="pop"] .sx-hero-in::after{width:84px;height:84px;font-size:18px;right:16px;top:auto;bottom:calc(100% - 200px)}
  .sx-cards,.sx-voices{grid-template-columns:1fr}
  .sx-bento{grid-template-columns:1fr 1fr;gap:12px}
  .sx-b{padding:22px 20px}
  .sx-b-text,.sx-guide{grid-column:1 / -1}
  .sx-n1{grid-column:1}
  .sx-n3{grid-column:1 / -1;min-height:0}
  .sx-num{min-height:130px}
  /* 写真の並びは、横に送って見る */
  .sx-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -20px;padding:0 20px 8px;grid-template-rows:none;scrollbar-width:thin}
  .sx-gallery figure{flex:0 0 78%;aspect-ratio:3/2;scroll-snap-align:center}
  .sx-gallery figure:nth-child(n){grid-column:auto;grid-row:auto}
  .sx-cta{padding:76px 0}
  .sx-cta h2{font-size:min(6vw,26px);letter-spacing:.02em}   /* 予約の帯の見出しは、言葉の途中で折れないよう少し小さく */
  .sx-num{padding:20px 16px}
  .sx-num span{font-size:13.5px;letter-spacing:0}
  html.sx-has-sticky body{padding-bottom:84px}
  .sx-sticky{display:flex;gap:10px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--bg) 96%,transparent);border-top:1px solid var(--line);backdrop-filter:blur(8px)}
  .sx-sticky .sx-btn{flex:1;min-height:48px}
  .sx-sticky-tel{font-size:13px;color:var(--muted);white-space:nowrap}
  .sx-toast{bottom:96px;width:max-content;max-width:calc(100% - 32px)}
}
/* かんたん相談の窓の中のような、とても狭い幅では、下の帯は予約のボタンだけにする */
@media (max-width:340px){.sx-sticky-tel{display:none}.sx-wrap{padding:0 16px}}
