/* GRAIN COFFEE ROASTERS — インダストリアル・ロースタリー
   コンクリート・黒・クラフト・焙煎のオレンジ。等幅寄りの欧文と細い罫で、道具のような機能美を */
:root {
  --concrete: #EFEDE9;
  --concrete-2: #E2DFD9;
  --kraft: #C9B38E;
  --orange: #C8642B;
  --orange-2: #E07A3C;
  --black: #1E1E1E;
  --ink: #2A2A2A;
  --muted: #6E6A64;
  --line: #CFCAC2;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --en: "Space Grotesk", "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.85; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 8px 14px; background: var(--black); color: #fff; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.head { margin-bottom: clamp(30px, 4vw, 48px); }
.kicker { font-family: var(--en); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--orange); }
.h2 { font-weight: 700; font-size: clamp(25px, 3.2vw, 38px); line-height: 1.45; margin-top: 8px; letter-spacing: .02em; }
.note { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 46em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; font-family: var(--sans); font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--black); }
.btn--line { border-color: #fff; color: #fff; }
.btn--line:hover { background: #fff; color: var(--black); }
.btn--full { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 clamp(16px, 3vw, 36px); background: var(--black); color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; background: var(--concrete); }
.logo span { font-family: var(--en); font-weight: 700; font-size: 20px; letter-spacing: .12em; line-height: 1.05; }
.logo small { display: block; font-size: 8.5px; letter-spacing: .3em; font-weight: 500; color: var(--kraft); }
.gnav { display: flex; gap: 22px; margin-left: auto; }
.gnav a { font-family: var(--en); font-size: 13px; letter-spacing: .14em; text-decoration: none; opacity: .85; }
.gnav a:hover { opacity: 1; color: var(--orange-2); }
.roast-day { font-family: var(--en); font-size: 12px; letter-spacing: .06em; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); white-space: nowrap; }
.roast-day b { color: var(--orange-2); font-weight: 500; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--orange); color: #fff; border: 0; cursor: pointer; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.cart-btn span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; background: var(--black); font-size: 12px; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: min(90svh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .82), rgba(20, 20, 20, .25) 60%, rgba(20, 20, 20, .1)); }
.hero-text { position: relative; padding: 0 clamp(20px, 5vw, 72px) clamp(110px, 14vh, 150px); max-width: 760px; }
.hero-kicker { font-family: var(--en); font-size: 13px; letter-spacing: .24em; color: var(--kraft); }
.hero h1 { font-family: var(--en); font-weight: 700; font-size: clamp(56px, 9vw, 128px); line-height: .92; letter-spacing: -.02em; margin-top: 14px; }
.hero-lead { font-size: 17px; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(30, 30, 30, .9); border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; padding: 16px clamp(16px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: rgba(255, 255, 255, .75); }
.hero-stats li:first-child { border-left: 0; }
.hero-stats b { font-family: var(--en); font-weight: 700; font-size: 36px; color: var(--orange-2); line-height: 1; }

/* ---------- 豆 ---------- */
.beans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.chart-box { background: #fff; padding: 22px; border: 1px solid var(--line); }
.roast-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.roast-filter button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13.5px; font-family: var(--en); }
.roast-filter button[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.chart { width: 100%; height: auto; display: block; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis { font-family: var(--en); font-size: 11px; fill: var(--muted); }
.chart .dot { cursor: pointer; }
.chart .dot circle { transition: r .25s, fill .25s, opacity .3s; }
.chart .dot text { font-family: var(--en); font-size: 12px; font-weight: 500; fill: var(--ink); transition: opacity .3s; }
.chart .dot.is-off { pointer-events: none; }
.chart .dot.is-off circle, .chart .dot.is-off text { opacity: .15; }
.chart .dot.is-on circle.ring { stroke: var(--orange); stroke-width: 2; fill: none; }
.chart .dot:focus { outline: none; }
.chart .dot:focus-visible circle.ring { stroke: var(--black); stroke-dasharray: 3 3; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.bean-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; background: var(--black); color: #fff; padding: 22px; }
.bean-detail figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bd-origin { font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--kraft); }
.bean-detail h3 { font-family: var(--en); font-size: 26px; line-height: 1.2; margin-top: 4px; }
.bd-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bd-notes li { font-size: 12px; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .3); }
.bd-meters { margin-top: 14px; display: grid; gap: 8px; }
.bd-meters div { display: grid; grid-template-columns: 4em 1fr; gap: 10px; align-items: center; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.bd-meters i { display: block; height: 6px; background: rgba(255, 255, 255, .15); position: relative; }
.bd-meters i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--orange-2); transition: width .5s; }
.bd-spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; }
.bd-spec div { font-size: 12px; color: rgba(255, 255, 255, .6); }
.bd-spec b { display: block; font-family: var(--en); font-size: 14.5px; color: #fff; font-weight: 500; }
.bd-buy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bd-buy .sizes { display: flex; gap: 6px; }
.bd-buy .sizes button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-family: var(--en); font-size: 13.5px; }
.bd-buy .sizes button[aria-checked="true"] { background: #fff; color: var(--black); }
.bd-buy .price { font-family: var(--en); font-size: 24px; font-weight: 700; margin-left: auto; }
.bd-buy .btn { flex: 1 1 100%; }

/* ---------- 豆のラインナップ ---------- */
.lineup-wrap { margin-top: clamp(32px, 4vw, 52px); }
.lineup-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font-weight: 700; font-size: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lineup-head span { font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .2em; color: var(--orange); }
.lineup-head small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.lineup li { transition: opacity .3s; }
.lineup li.is-off { opacity: .28; pointer-events: none; }
.lu { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0 0 16px; text-align: left; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lu:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 30, 30, .1); }
.lu[aria-pressed="true"] { border-color: var(--black); box-shadow: inset 0 -4px 0 var(--orange); }
.lu-photo { position: relative; display: block; overflow: hidden; }
.lu-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.lu:hover .lu-photo img { transform: scale(1.04); }
.lu-roast { position: absolute; top: 10px; left: 10px; padding: 3px 9px; font-size: 11px; font-weight: 700; line-height: 1.5; background: var(--black); color: #fff; }
.lu-roast--light { background: #E9B571; color: var(--black); }
.lu-roast--medium { background: #B9783F; }
.lu-roast--dark { background: #5A3A22; }
.lu-origin { margin: 14px 14px 0; font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--muted); }
.lu-name { margin: 2px 14px 0; font-family: var(--en); font-size: 16px; line-height: 1.3; }
.lu-notes { margin: 8px 14px 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.lu-price { margin: auto 14px 0; padding-top: 12px; font-family: var(--en); font-weight: 700; font-size: 17px; }
.lu-price small { font-size: 11px; font-weight: 400; color: var(--muted); margin: 0 4px; }
.lu-price small:first-child { margin-left: 0; }

/* ---------- 定期便 ---------- */
.sub { background: var(--concrete-2); }
.sub-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sub-lead { color: var(--muted); margin-top: 14px; }
.sub-photo { margin-top: 24px; }
.sub-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sim { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.sim-row { display: grid; grid-template-columns: 9em 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--concrete-2); }
.sim-row label, .sim-row .lbl { font-size: 14px; font-weight: 500; }
.range { display: flex; align-items: center; gap: 10px; }
.range input { flex: 1; accent-color: var(--orange); }
.range output { font-family: var(--en); font-size: 26px; font-weight: 700; min-width: 1.2em; text-align: right; }
.range span { font-size: 13px; color: var(--muted); }
.seg { display: flex; border: 1px solid var(--black); }
.seg button { flex: 1; min-height: 42px; padding: 0 10px; border: 0; border-left: 1px solid var(--black); background: transparent; cursor: pointer; font-size: 13.5px; }
.seg button:first-child { border-left: 0; }
.seg button[aria-checked="true"] { background: var(--black); color: #fff; }
.seg--sm button { min-height: 36px; }
.sim-out { margin: 20px 0; padding: 20px; background: var(--black); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim-out div { font-size: 12px; color: rgba(255, 255, 255, .65); }
.sim-out b { display: block; font-family: var(--en); font-size: 26px; color: #fff; font-weight: 700; line-height: 1.25; }
.sim-out b small { font-size: 13px; margin-left: 2px; color: rgba(255, 255, 255, .7); font-weight: 400; }
.sim-out p { grid-column: 1 / -1; font-size: 13px; color: var(--kraft); border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 10px; }

/* ---------- 抽出 ---------- */
.brew-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.brew-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.recipe-ctrl { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.recipe-ctrl .seg { width: 220px; }
.recipe-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 18px; }
.recipe-spec div { background: #fff; padding: 14px; font-size: 12px; color: var(--muted); }
.recipe-spec dd { font-family: var(--en); font-size: 24px; font-weight: 700; color: var(--ink); }
.recipe-spec dd small { font-size: 12px; font-weight: 400; margin-left: 2px; color: var(--muted); }
.recipe-steps { margin-top: 22px; counter-reset: s; }
.recipe-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.recipe-steps .t { font-family: var(--en); font-weight: 700; font-size: 15px; color: var(--orange); }
.recipe-steps b { font-family: var(--en); }

/* ---------- 焙煎所 ---------- */
.ro-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.ro-grid img { width: 100%; height: 100%; object-fit: cover; }
.ro-a { grid-column: 1 / 5; aspect-ratio: 3 / 4; }
.ro-b { grid-column: 5 / 13; aspect-ratio: 16 / 9; }
.ro-text { grid-column: 1 / 7; align-self: center; font-size: 15px; }
.ro-info { margin-top: 18px; border-top: 1px solid var(--line); }
.ro-info div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ro-info dt { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--muted); padding-top: 3px; }
.ro-c { grid-column: 7 / 13; aspect-ratio: 16 / 10; }
.stand { grid-column: 1 / -1; display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center; background: var(--black); color: #fff; padding: clamp(22px, 3vw, 34px); margin-top: 8px; }
.stand-head { font-weight: 700; font-size: 17px; line-height: 1.55; }
.stand-head span { display: block; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .2em; color: var(--orange-2); margin-bottom: 4px; }
.stand-menu { display: grid; grid-template-columns: repeat(4, 1fr); }
.stand-menu li { display: grid; align-content: start; gap: 2px; padding: 2px 22px; border-left: 1px solid rgba(255, 255, 255, .16); }
.stand-menu b { font-family: var(--en); font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.stand-menu span { font-size: 12px; color: rgba(255, 255, 255, .62); line-height: 1.6; }
.stand-menu em { font-style: normal; font-family: var(--en); font-weight: 700; font-size: 21px; color: var(--orange-2); margin-top: 8px; }
.people { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 14px 24px 14px 14px; }
.ro-grid .person img { width: 150px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.p-role { display: block; font-family: var(--en); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; color: var(--orange); }
.person b { display: block; font-size: 21px; letter-spacing: .08em; margin-top: 4px; line-height: 1.4; }
.p-en { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.p-text { display: block; text-wrap: pretty; word-break: normal; font-size: 13.5px; line-height: 1.85; margin-top: 12px; color: var(--ink); }

/* ---------- フッター ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .82); padding: clamp(56px, 7vw, 80px) 0 28px; text-align: center; }
.f-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.4fr; gap: 36px; align-items: start; text-align: left; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.f-logo { font-family: var(--en); font-weight: 700; font-size: 28px; letter-spacing: .14em; color: #fff; line-height: 1.05; }
.f-logo small { display: block; margin-top: 8px; font-size: 10px; font-weight: 500; letter-spacing: .34em; color: var(--kraft); }
.f-tag { font-family: var(--en); font-size: 15px; color: var(--orange-2); margin-top: 18px; }
.f-nav { display: grid; gap: 4px; }
.f-nav a { width: fit-content; padding: 3px 0; font-family: var(--en); font-size: 13px; letter-spacing: .16em; text-decoration: none; opacity: .85; transition: color .2s, opacity .2s; }
.f-nav a:hover { opacity: 1; color: var(--orange-2); }
.f-info div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; line-height: 1.7; }
.f-info dt { font-family: var(--en); font-size: 11.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .5); padding-top: 2px; }
.demo-note { max-width: 760px; margin: 26px auto 0; padding: 0 20px; font-size: 12px; opacity: .7; }
.copy { font-family: var(--en); font-size: 11px; letter-spacing: .2em; margin-top: 12px; opacity: .55; }

/* ---------- カート ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--concrete); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s ease; }
.drawer.is-open { transform: none; }
.drawer:focus { outline: none; }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 64px; background: var(--black); color: #fff; }
.dr-head p { font-family: var(--en); font-weight: 700; letter-spacing: .2em; }
.dr-head button { width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.dr-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.dr-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 64px; height: 64px; object-fit: cover; }
.ci-name { font-family: var(--en); font-weight: 700; font-size: 15px; line-height: 1.3; }
.ci-sub { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ci-price { font-family: var(--en); font-weight: 700; }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 4px; background: #fff; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 26px; display: grid; place-items: center; font-family: var(--en); font-size: 13px; }
.ci-del { display: block; background: none; border: 0; padding: 0; font-size: 11.5px; color: var(--muted); text-decoration: underline; cursor: pointer; margin-top: 4px; }
.dr-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.dr-row { display: flex; justify-content: space-between; font-size: 14px; line-height: 2; }
.dr-row b { font-family: var(--en); }
.dr-free { font-size: 12px; color: var(--orange); margin-bottom: 10px; }
.dr-total { font-size: 15px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
.dr-total b { font-size: 22px; }
.dr-done { text-align: center; padding: 50px 10px; }
.dr-done p:first-child { font-family: var(--en); font-weight: 700; font-size: 30px; color: var(--orange); }
.dr-done h3 { font-size: 17px; margin-top: 8px; }
.dr-done p + h3 + p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--black); color: #fff; padding: 12px 22px; font-size: 13.5px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) { .gnav { display: none; } .roast-day { margin-left: auto; } }
@media (max-width: 900px) {
  .beans-grid, .sub-grid, .brew-grid { grid-template-columns: 1fr; }
  .brew-photo img { aspect-ratio: 16 / 10; }
  .ro-a, .ro-b, .ro-text, .ro-c { grid-column: 1 / -1; aspect-ratio: auto; }
  .ro-a { display: none; }
  .ro-b img, .ro-c img { aspect-ratio: 16 / 10; }
  .stand { grid-template-columns: 1fr; gap: 16px; }
  .stand-menu { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stand-menu li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .people { grid-template-columns: 1fr; }
  .lineup { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(200px, 38%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 10px; scroll-padding-inline: 20px; }
  .lineup li { scroll-snap-align: start; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { gap: 10px; height: 58px; }
  .logo span { font-size: 17px; }
  .roast-day { display: none; }
  .cart-btn { margin-left: auto; }
  .hero-text { padding-bottom: 130px; }
  .hero-stats li { flex-direction: column; gap: 2px; padding: 12px; font-size: 11px; }
  .hero-stats b { font-size: 28px; }
  .bean-detail { grid-template-columns: 1fr; }
  .bean-detail figure { max-width: 240px; }
  .sim-row { grid-template-columns: 1fr; gap: 8px; }
  .sim-out b { font-size: 21px; }
  .recipe-ctrl { flex-wrap: wrap; }
  .recipe-spec { grid-template-columns: 1fr 1fr; }
  .recipe-steps li { grid-template-columns: 56px 1fr; }
  .lineup { grid-auto-columns: 62%; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .person { grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 16px 12px 12px; }
  .ro-grid .person img { width: 112px; }
  .person b { font-size: 18px; }
  .p-text { font-size: 13px; margin-top: 8px; }
  .stand-menu li { padding: 2px 14px; }
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .drawer, .toast, .bd-meters i::after { transition: none; }
  .cart-btn.bump { animation: none; }
}

/* ---- 日本語の改行（全サイト共通・2026-10-17 追加）----
   見出し・ボタンは文節で折り返し（Chrome/Edge）、本文は最後の行に1〜2文字だけ残るのを防ぐ。
   :where() で詳細度を0にしているので、各サイトの個別指定が常に優先される */
:where(h1, h2, h3, h4, h5, h6, dt, th, figcaption, button, label, [class*="lead"]) { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
:where(p, li, dd, td, blockquote) { text-wrap: pretty; line-break: strict; }
:where(time, .nw) { white-space: nowrap; }

/* ---- 管理画面から変えたときの表示（品切れ）---- */
.lineup li.is-sold .lu-photo img { filter: grayscale(.9); opacity: .6; }
.lu-sold { position: absolute; right: 10px; top: 10px; padding: 3px 9px; background: var(--black); color: #fff; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.chart .dot.is-sold circle:not(.ring) { opacity: .35; }
.chart .dot.is-sold text { text-decoration: line-through; opacity: .5; }
.bd-buy .btn:disabled { background: #555; cursor: not-allowed; }
.stand-menu li.is-soldout { opacity: .45; }
.stand-menu li.is-soldout em { text-decoration: line-through; }
