/* tsubu coffee & bake — 一画面目の下（長居のメーター / メニューとレシート / 焼き上がり案内 / 豆 / 店 / お知らせ / 最後の誘導）
   顔は一画面目と同じ: 生成りの地・墨の太い英字・朱は要所だけ。sticky と scroll-snap は使わない。 */

.js-only { display: none; }
.js .js-only { display: inline; }

/* ---------- 共通: 節と見出し ---------- */
.sec { padding: clamp(72px, 9vw, 150px) var(--pad) 0; }
.sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(18px, 2.2vw, 30px);
  border-bottom: 2px solid var(--ink);
}
.sec__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 84;
  font-weight: 800;
  font-size: clamp(76px, 14vw, 236px);
  line-height: .8;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.sec__title i { font-style: normal; color: var(--red); }
.sec__lead { flex: none; width: min(31em, 42%); padding-bottom: .3em; }
.sec__ja { font-weight: 900; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.4; letter-spacing: .02em; }
.sec__text { margin-top: 10px; font-size: 15px; line-height: 1.85; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
}
.link i { font-style: normal; font-family: var(--f-mono); font-weight: 400; transition: transform .35s var(--ease); }
.link:hover i { transform: translateX(8px); }
.sec a:focus-visible, .sec button:focus-visible, .visit a:focus-visible, .visit button:focus-visible, .footer a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- 長居のメーター ---------- */
.stay {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3.4vw, 60px);
  padding: clamp(18px, 2vw, 28px) var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.stay__key { font-family: var(--f-mono); font-size: 12px; line-height: 1.6; letter-spacing: .1em; white-space: nowrap; }
.stay__key span { display: block; font-family: var(--f-ja); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: rgba(251, 248, 241, .66); }
.stay__time {
  min-width: 3.1em;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stay__msg { font-weight: 500; font-size: 15px; line-height: 1.7; }
.stay__fee { font-family: var(--f-mono); font-size: 12px; line-height: 1.5; text-align: right; white-space: nowrap; color: rgba(251, 248, 241, .66); }
.stay__fee b { display: block; font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--paper); }
html:not(.js) .stay { grid-template-columns: auto minmax(0, 1fr) auto; }
html:not(.js) .stay__time { display: none; }

/* ---------- メニュー → レシート ---------- */
.order { overflow-x: clip; }
.order__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 372px);
  gap: clamp(32px, 5.4vw, 96px);
  padding-top: clamp(28px, 3.6vw, 52px);
}
html:not(.js) .order__body { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .printer { display: none; }
.order__group + .order__group { margin-top: clamp(28px, 3vw, 44px); }
.order__cat { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.order__cat b { font-family: var(--f-display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.order__cat span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.order__group ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 52px); }
.item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html:not(.js) .item { cursor: default; }
.item__pic { display: flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; }
/* 写真のない品も、名前の頭をそろえる */
.item__pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(58, 38, 16, .24));
}
.item__name { flex: 1; min-width: 0; }
.item__name b { display: block; font-weight: 700; font-size: 16px; line-height: 1.45; }
.item__name small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.item__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s linear, transform .35s var(--ease);
}
.item.has-count .item__count { opacity: 1; transform: none; }
.item__price { flex: none; font-family: var(--f-mono); font-weight: 500; font-size: 16px; line-height: 1; }
@media (hover: hover) and (pointer: fine) {
  .js .item:hover .item__name b { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
}
.order__note { margin-top: 18px; font-size: 13px; color: var(--ink-2); }

/* レシートの印字機。紙は上へ出てくる（本体は動かさない） */
.printer { align-self: end; }
.printer__feed { display: flex; align-items: flex-end; min-height: 150px; padding: 0 22px; -webkit-clip-path: inset(-140px -40px 0 -40px); clip-path: inset(-140px -40px 0 -40px); }
.printer__paper {
  width: 100%;
  padding: 26px 18px 12px;
  background: #fdfcf8;
  color: #23211e;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
  will-change: transform;
}
.printer__paper.is-cut { transform: translateY(-46px) rotate(-5deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s linear; }
.rc__logo { font-family: var(--f-display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; text-align: center; }
.rc__sub { margin-top: 4px; font-size: 10px; letter-spacing: .1em; text-align: center; }
.rc__date { display: flex; justify-content: space-between; margin-top: 14px; padding-bottom: 8px; border-bottom: 1px dashed rgba(35, 33, 30, .55); font-size: 12px; white-space: nowrap; }
.rc__lines { padding: 8px 0 2px; }
.rc__lines li { display: flex; align-items: baseline; gap: 8px; padding: 2px 0; white-space: nowrap; }
.rc__lines li span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-ja); font-weight: 500; }
.rc__lines li.is-bump { animation: rc-bump .3s var(--ease); }
@keyframes rc-bump { 0% { transform: translateX(7px); } 100% { transform: none; } }
.rc__lines .rc__empty { justify-content: center; padding: 10px 0 8px; font-family: var(--f-ja); font-size: 12.5px; color: rgba(35, 33, 30, .6); white-space: normal; text-align: center; }
.printer__body {
  position: relative;
  padding: 20px 20px 16px;
  border-radius: 5px 5px 16px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
}
.printer__slot { position: absolute; left: 14px; right: 14px; top: 0; height: 7px; border-radius: 0 0 4px 4px; background: #000; }
.printer__rows { font-size: 13px; line-height: 1.6; }
.printer__rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.printer__rows dt { color: rgba(251, 248, 241, .7); }
.printer__total { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(251, 248, 241, .4); }
.printer__total dt { font-family: var(--f-ja); font-weight: 700; font-size: 14px; color: var(--paper); }
.printer__total dd { font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.printer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12px; color: rgba(251, 248, 241, .7); }
.printer__cut {
  flex: none;
  height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font-family: var(--f-ja);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.printer__cut:hover { background: var(--paper); color: var(--ink); }
.printer__cut[disabled] { opacity: .35; cursor: default; background: none; color: var(--paper); }
.printer__note { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); text-align: center; }

/* SP の帯で使う部品（PC・タブレットでは出さない） */
.printer__win { display: contents; }
.printer__bar { display: none; }
.rc__sum { display: none; margin-top: 6px; padding-top: 9px; border-top: 1px dashed rgba(35, 33, 30, .55); }
.rc__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--f-ja); font-weight: 700; font-size: 14px; }
.rc__total b { font-family: var(--f-mono); font-weight: 500; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.rc__tax { font-size: 12px; text-align: right; }
.rc__memo { margin-top: 10px; font-family: var(--f-ja); font-size: 11.5px; line-height: 1.6; color: rgba(35, 33, 30, .66); text-align: center; }

/* タブレット: 押した品の合計を、下に小さく出す（レシートが画面の外にあるあいだ） */
.orderbar { display: none; }

/* ---------- 焼き菓子と、焼き上がり案内 ---------- */
.bake__body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  padding-top: clamp(28px, 3.6vw, 52px);
}
.bake__photo { display: flex; flex-direction: column; }
.bake__photo img { flex: 1; width: 100%; min-height: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.bake__photo figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.board {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 36px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
}
.board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .06em; color: rgba(251, 248, 241, .66); }
.board__head b { font-family: var(--f-ja); font-weight: 900; font-size: 15px; letter-spacing: .06em; color: var(--paper); }
.board__next { margin-top: 14px; font-family: var(--f-ja); font-weight: 900; font-size: clamp(20px, 2.1vw, 32px); line-height: 1.45; letter-spacing: .01em; }
.board__next b { color: #ff6a4d; font-weight: 900; white-space: nowrap; }
.board__next > span { display: inline-block; }
.board__rows { margin-top: 18px; border-top: 1px solid rgba(251, 248, 241, .28); }
.board__rows li {
  display: grid;
  grid-template-columns: 4.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(251, 248, 241, .16);
  font-size: 15px;
  line-height: 1.5;
}
.board__rows time { font-weight: 500; font-size: 18px; }
.board__rows b { font-family: var(--f-ja); font-weight: 700; }
.board__rows em { font-style: normal; font-family: var(--f-ja); font-size: 12.5px; color: rgba(251, 248, 241, .66); white-space: nowrap; }
.board__rows li.is-done { color: rgba(251, 248, 241, .5); }
.board__rows li.is-done em { color: rgba(251, 248, 241, .5); }
.board__rows li.is-next em { padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; }
.board__line { position: relative; height: 46px; margin-top: 34px; }
.board__line::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: rgba(251, 248, 241, .45); }
.board__tick { position: absolute; left: calc(var(--x, 0) * 1%); top: 9px; width: 1px; height: 11px; background: var(--paper); }
.board__needle { position: absolute; left: calc(var(--x, 0) * 1%); top: 0; display: none; }
.board__needle.is-on { display: block; }
.board__needle::after { content: ""; position: absolute; left: -1px; top: 2px; width: 2px; height: 25px; background: #ff6a4d; }
.board__needle i { position: absolute; left: 0; top: -19px; font-style: normal; font-family: var(--f-ja); font-weight: 700; font-size: 11px; line-height: 1.5; color: #ff6a4d; white-space: nowrap; transform: translateX(-50%); }
.board__ends { position: absolute; left: 0; right: 0; top: 27px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(251, 248, 241, .66); }
.board__ends span:nth-child(2) { position: absolute; left: 41.67%; transform: translateX(-50%); }
.board__note { margin-top: auto; padding-top: 14px; font-family: var(--f-ja); font-size: 12.5px; line-height: 1.6; color: rgba(251, 248, 241, .7); }
html:not(.js) .board__line { display: none; }

.bake__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 4.4vw, 68px); }
.bake__list li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.bake__list img { grid-column: 1 / -1; width: min(52%, 150px); height: auto; margin: 6px 0 14px; filter: drop-shadow(0 8px 9px rgba(58, 38, 16, .24)); }
.bake__list b { font-weight: 900; font-size: 18px; line-height: 1.4; }
.bake__list span { font-family: var(--f-mono); font-weight: 500; font-size: 15px; }
.bake__list p { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; line-height: 1.8; }

/* 天板 1 枚ぶんを早送りで焼く（JS があるときだけ出す） */
html:not(.js) .oven { display: none; }
.oven { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(36px, 4.4vw, 68px); padding-top: clamp(28px, 3.6vw, 52px); border-top: 1.5px solid var(--ink); }
.oven__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.oven__ja { margin-top: 10px; font-weight: 900; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.4; }
.oven__pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.oven__pick button { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font-family: var(--f-ja); font-weight: 700; font-size: 14px; cursor: pointer; }
.oven__pick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.oven__pick button:focus-visible, .oven__p:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.oven__read { margin-top: 22px; border-top: 1px solid var(--line); }
.oven__read div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.oven__read dt { font-size: 14px; color: var(--ink-2); }
.oven__read dt i { margin-left: 8px; padding: 1px 7px; border: 1px solid currentColor; border-radius: 999px; font-style: normal; font-size: 11px; }
.oven__read dd { font-family: var(--f-mono); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.oven__say { min-height: 3.6em; margin-top: 14px; font-size: 14px; line-height: 1.8; }
.oven__tray { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: clamp(4px, .8vw, 12px); aspect-ratio: 3 / 2; padding: clamp(10px, 1.8vw, 26px); border: clamp(8px, 1vw, 14px) solid #2b2a28; border-radius: 10px; background: #ece2cc; box-shadow: 0 18px 28px rgba(58, 38, 16, .2); }
.oven__cell { position: relative; min-width: 0; min-height: 0; }
/* とったあとに残る、バターのしみ */
.oven__cell::before { content: ""; position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: rgba(140, 96, 44, .13); transform: translate(-50%, -50%); }
.oven__p { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: default; transform: rotate(var(--r, 0deg)); transition: transform .35s var(--ease), opacity .25s linear; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.oven.is-done .oven__p { cursor: pointer; }
.oven.is-done .oven__p:active { transform: rotate(var(--r, 0deg)) scale(.94); }
.oven__p.is-gone { transform: rotate(var(--r, 0deg)) translateY(-22px) scale(1.15); opacity: 0; pointer-events: none; }
.oven__w { position: absolute; inset: 3%; display: block; transform: scale(.76); transition: transform 2.6s cubic-bezier(.3, .6, .3, 1); transition-delay: calc(var(--d, 0) * .5s); }
.oven__w img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.oven__raw { filter: saturate(.3) brightness(1.3) contrast(.84); }
.oven__done { opacity: 0; filter: drop-shadow(0 6px 6px rgba(58, 38, 16, .26)); transition: opacity 2.6s linear; transition-delay: calc(var(--d, 0) * .5s); }
.oven.is-baking .oven__w, .oven.is-done .oven__w { transform: scale(1); }
.oven.is-baking .oven__done, .oven.is-done .oven__done { opacity: 1; }
.oven.is-instant .oven__w, .oven.is-instant .oven__done { transition: none; }

/* ---------- 豆（量り売りのはかり） ---------- */
.beans__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 3.6vw, 52px);
}

/* 量り売りのはかり（上の箱 → 落ちる豆 → 皿 → 目盛り） */
.scale__bin { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background: #6b4a2c; }
.scale__bin img { width: 100%; height: 100%; object-fit: cover; }
.scale[data-bean="0"] .scale__bin img { filter: brightness(1.25) saturate(1.1); }
.scale[data-bean="2"] .scale__bin img { filter: brightness(.62) saturate(.8); }
.scale__bin figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 13px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 13px; line-height: 1.5; }
.scale__stage { position: relative; height: 250px; background: #e9e1d2; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.scale__stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.scale__goal { position: absolute; left: 12px; top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
.scale__base { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 20px; padding: 16px clamp(18px, 2vw, 28px) 18px; background: var(--ink); color: var(--paper); font-family: var(--f-mono); }
.scale__num b { font-weight: 500; font-size: clamp(52px, 5.4vw, 76px); line-height: 1; letter-spacing: -.04em; }
.scale__num span { margin-left: 4px; font-size: 20px; color: rgba(251, 248, 241, .66); }
.scale__yen { justify-self: end; font-size: 24px; }
.scale__meter { position: relative; grid-column: 1 / -1; height: 4px; margin-top: 14px; background: rgba(251, 248, 241, .16); }
.scale__meter i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; transition: transform .12s linear; }
.scale__meter span { position: absolute; left: 66.667%; top: -5px; padding: 15px 0 0 6px; border-left: 1px solid rgba(251, 248, 241, .66); font-size: 11px; line-height: 1.3; color: rgba(251, 248, 241, .66); }
.scale__say { grid-column: 1 / -1; min-height: 3.4em; margin-top: 22px; font-family: var(--f-ja); font-size: 14px; line-height: 1.7; }
.scale.is-just .scale__num b, .scale.is-just .scale__say { color: #ff6a4d; }
.scale.is-just .scale__meter i { background: #ff6a4d; }
/* 豆を出すボタンは、はかりの本体（黒い面）に付ける。数字のすぐ下・赤・横いっぱい = 探さなくても目に入る */
.scale__ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 38px; padding-bottom: 6px; }
.scale__hold { position: relative; flex: 1; display: flex; min-width: 0; }
.scale__pour { flex: 1; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 72px; padding: 8px 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--f-ja); font-weight: 900; font-size: 21px; line-height: 1.3; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; box-shadow: 0 6px 0 #8a2513; transition: transform .08s linear; }
.scale__pour small { font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.scale.is-pour .scale__pour { transform: translateY(4px); box-shadow: 0 2px 0 #8a2513; }
/* まだ押されていないあいだの合図（ボタンのまわりの輪が、数回ひろがる） */
.scale__hold::after { content: ""; position: absolute; inset: -5px; border: 2px solid #ff6a4d; border-radius: 999px; opacity: 0; pointer-events: none; }
.scale.is-ask .scale__hold::after { animation: pour-ask 1.5s cubic-bezier(.2, .7, .3, 1) .2s 8; }
@keyframes pour-ask {
  0% { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.045, 1.42); }
}
.scale__reset { flex: none; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(251, 248, 241, .6); border-radius: 999px; background: none; color: var(--paper); font-family: var(--f-ja); font-weight: 700; font-size: 14px; cursor: pointer; }
.bean__pick:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.scale__pour:focus-visible, .scale__reset:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .scale.is-ask .scale__hold::after { animation: none; opacity: .95; }
}
/* JS が動かないときは、豆の写真だけを見せる */
.scale:not(.is-live) .scale__stage, .scale:not(.is-live) .scale__base, .scale:not(.is-live) .scale__ctrl { display: none; }
.scale:not(.is-live) .scale__bin { aspect-ratio: 3 / 2; }

.beans__list { border-bottom: 1px solid var(--line); }
.bean { padding: 20px 0 22px; border-top: 1px solid var(--line); transition: opacity .35s linear; }
.bean:first-child { border-top: 0; padding-top: 0; }
.bean__roast { display: inline-block; padding: 2px 10px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 12px; line-height: 1.6; transition: background-color .3s, color .3s, border-color .3s; }
.bean__name { margin-top: 10px; font-weight: 900; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; }
.bean__text { margin-top: 6px; font-size: 15px; line-height: 1.85; }
.bean__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.bean__meta b { flex: none; font-family: var(--f-mono); font-weight: 500; font-size: 15px; color: var(--ink); }
.beans__list.is-live .bean.is-on .bean__roast { background: var(--red); border-color: var(--red); color: #fff; }
.beans__note { margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.js .bean__pick { display: inline-flex; align-items: center; min-height: 40px; margin-top: 12px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font-family: var(--f-ja); font-weight: 700; font-size: 13px; cursor: pointer; }
/* いま量っている豆は、ボタンではなく印として見せる（「豆を出す」ボタンと取り違えないように） */
.js .bean__pick[aria-pressed="true"] { padding: 0; border-color: transparent; color: var(--red); cursor: default; }

/* ---------- 店と行き方 ---------- */
.shop__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 3.6vw, 52px);
}
.shop__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shop__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.shop__photo--wide { grid-column: 1 / -1; }
.shop__photo--front img { aspect-ratio: 5 / 4; }
.shop__cap { align-self: end; padding-bottom: 4px; font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.shop__state { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.5; }
.shop__state.is-open { background: var(--ink); color: var(--paper); }
.shop__hours { width: 100%; margin-top: 24px; border-collapse: collapse; font-family: var(--f-mono); font-size: 15px; }
.shop__hours caption { padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); font-family: var(--f-ja); font-weight: 900; font-size: 18px; text-align: left; }
.shop__hours tr { border-bottom: 1px solid var(--line); }
.shop__hours th { padding: 9px 0; font-family: var(--f-ja); font-weight: 700; text-align: left; }
.shop__hours td { padding: 9px 0; text-align: right; }
.shop__hours tr.is-today th::after { content: "本日"; margin-left: 12px; padding: 2px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }
.shop__hours tr.is-today td { font-weight: 500; }
.shop__list { margin-top: 26px; }
.shop__list div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.75; }
.shop__list dt { font-weight: 700; }

/* 日替わりパン */
.daily { margin-top: clamp(40px, 5vw, 80px); }
.daily__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px); align-items: start; margin-top: 18px; }
.daily__lead { font-size: 15px; line-height: 1.9; }
.js .daily__today { display: block; font-weight: 900; font-size: 17px; line-height: 1.7; }
.daily__today::before { content: "TODAY"; display: block; margin-bottom: 4px; font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.daily__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); margin-top: clamp(24px, 3vw, 40px); }
.daily__list li { display: flex; flex-direction: column; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.daily__day { display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-size: 20px; line-height: 1.2; }
.daily__day i { font-family: var(--f-mono); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--ink-2); }
.daily__list li.is-today .daily__day::after { content: "本日"; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; line-height: 1.3; }
.daily__list .roll { display: flex; align-items: center; justify-content: center; height: clamp(84px, 8.4vw, 124px); margin: 12px 0 10px; }
.daily__list .roll img { display: block; width: auto; height: auto; max-width: 86%; max-height: 100%; filter: drop-shadow(0 8px 9px rgba(58, 38, 16, .24)); }
.daily__name { font-weight: 900; font-size: 15px; line-height: 1.5; }
.daily__price { margin-top: 2px; font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
.daily__text { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.daily__list li.is-off { color: var(--ink-2); }
.daily__list li.is-off .daily__name { margin-top: calc(clamp(84px, 8.4vw, 124px) + 22px); }

/* 席と設備・混みぐあいの目安 */
.shop__more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; margin-top: clamp(40px, 5vw, 80px); }
.facts__list div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.facts__list dt { font-weight: 700; }
.js .crowd__now { display: block; margin-top: 16px; font-weight: 900; font-size: 16px; line-height: 1.7; }
.crowd__bars { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(4px, .6vw, 10px); height: 180px; margin: 30px 0 30px; border-bottom: 1.5px solid var(--ink); }
.crowd__bars li { position: relative; display: flex; align-items: flex-end; min-width: 0; height: 100%; }
.crowd__bars i { display: block; width: 100%; height: calc(var(--h, .5) * 100%); border-radius: 4px 4px 0 0; background: rgba(28, 26, 23, .3); transform-origin: 50% 100%; }
.crowd__bars span { position: absolute; left: 0; right: 0; top: 100%; margin-top: 7px; font-family: var(--f-mono); font-size: 12px; line-height: 1.3; text-align: center; color: var(--ink-2); }
.crowd__bars li.is-now i { background: var(--ink); }
.crowd__bars li.is-now span { font-weight: 500; color: var(--ink); }
.crowd__bars li.is-now::before { content: "いま"; position: absolute; left: 50%; bottom: calc(var(--h, .5) * 100% + 6px); padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 11px; line-height: 1.4; white-space: nowrap; transform: translateX(-50%); }
.crowd__note { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; -webkit-clip-path: inset(50%); clip-path: inset(50%); white-space: nowrap; }

/* ---------- お知らせ ---------- */
.news { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.sec__head--small { display: block; padding: 0; border: 0; }
.sec__title--small { font-size: clamp(56px, 7vw, 116px); }
.sec__head--small .sec__ja { margin-top: 14px; font-size: 18px; }
.news__list { border-top: 2px solid var(--ink); }
.news__list li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news__list time { font-family: var(--f-mono); font-size: 13px; line-height: 2; color: var(--ink-2); }
.news__list p { font-size: 15px; line-height: 1.8; }

/* ---------- 最後の誘導 ---------- */
.visit {
  margin-top: clamp(80px, 10vw, 160px);
  padding: clamp(60px, 7.4vw, 120px) var(--pad) clamp(48px, 5.6vw, 88px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.visit__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 84;
  font-weight: 800;
  font-size: min(19.4vw, 300px);
  line-height: .84;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.visit__title span { display: block; white-space: nowrap; }
.visit__title i { font-style: normal; color: var(--red); }
.visit__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: clamp(28px, 4.4vw, 80px);
  margin-top: clamp(36px, 5vw, 76px);
}
.visit__ja { font-weight: 900; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.4; letter-spacing: .01em; }
.visit__text { margin-top: 14px; font-size: 15px; line-height: 1.9; color: rgba(251, 248, 241, .82); }
.visit__links { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 24px; }

.bill {
  width: 264px;
  padding: 22px 18px 30px;
  background: #fdfcf8;
  color: #23211e;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.7;
  transform: rotate(-2.5deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
}
html:not(.js) .bill { display: none; }
.bill__logo { font-family: var(--f-display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; text-align: center; }
.bill__title { margin-top: 8px; padding-bottom: 8px; border-bottom: 1px dashed rgba(35, 33, 30, .55); font-family: var(--f-ja); font-weight: 700; font-size: 12px; text-align: center; }
.bill__list { padding: 8px 0; border-bottom: 1px dashed rgba(35, 33, 30, .55); }
.bill__list div { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
.bill__list dt { font-family: var(--f-ja); font-weight: 500; }
.bill__list dt span { font-family: var(--f-mono); }
.bill__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 8px; font-family: var(--f-ja); font-weight: 700; font-size: 14px; }
.bill__total b { font-family: var(--f-mono); font-weight: 500; font-size: 26px; line-height: 1.1; }
.bill__foot { margin-top: 10px; font-family: var(--f-ja); font-size: 11.5px; line-height: 1.7; text-align: center; }

.bite { width: clamp(190px, 19vw, 270px); text-align: center; }
.bite__cookie { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html:not(.js) .bite__cookie { cursor: default; }
.bite__cookie img { position: absolute; left: 13%; top: 13%; width: 74%; height: 74%; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); }
.bite__cookie canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); }
.bite.is-live .bite__cookie img { visibility: hidden; }
.bite.is-live .bite__cookie canvas { display: block; }
.js .bite__how { display: block; }
.bite__text { margin-top: 2px; font-size: 13.5px; line-height: 1.7; color: rgba(251, 248, 241, .86); }
.bite__more { height: 40px; margin-top: 10px; padding: 0 18px; border: 1.5px solid var(--paper); border-radius: 999px; background: none; color: var(--paper); font-family: var(--f-ja); font-weight: 700; font-size: 13px; cursor: pointer; }
.bite__more:hover { background: var(--paper); color: var(--ink); }

/* ---------- フッター ---------- */
.footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px clamp(24px, 4vw, 64px);
  padding: 34px var(--pad) 26px;
  border-top: 1px solid rgba(251, 248, 241, .22);
  background: var(--ink);
  color: var(--paper);
}
.footer__logo { display: flex; align-items: baseline; gap: .5em; font-family: var(--f-display); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.footer__logo span { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .04em; color: rgba(251, 248, 241, .66); }
.footer__info { font-size: 13px; line-height: 1.8; color: rgba(251, 248, 241, .82); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-family: var(--f-mono); font-size: 13px; }
.footer__nav a { padding: 8px 0; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__copy { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(251, 248, 241, .16); font-family: var(--f-mono); font-size: 11px; line-height: 1.8; color: rgba(251, 248, 241, .62); }
.footer__copy span { margin-left: 1.4em; font-family: var(--f-ja); }
/* SITE PICK の制作見本であることと、プランのページへの戻り道（本番に置くコピーだけにある行）。 */
.footer__made { grid-column: 1 / -1; font-size: 12px; line-height: 1.8; color: rgba(251, 248, 241, .82); }
.footer__made a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 幅の狭い PC・横向きのタブレット: メニューは 1 列（品名を折り返さない） ---------- */
@media (max-width: 1199px) {
  .order__group ul { grid-template-columns: 1fr; }

  /* レシートが画面の外にあるあいだだけ出る、合計の帯（押すとレシートへ） */
  .js .orderbar {
    position: fixed;
    left: 12px;
    right: 12px;
    max-width: 440px;
    margin-inline: auto;
    bottom: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 8px 22px rgba(28, 26, 23, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(140%);
    transition: transform .45s var(--ease), opacity .2s linear, visibility 0s .45s;
  }
  .js .orderbar.is-on { opacity: 1; visibility: visible; transform: none; transition: transform .45s var(--ease), opacity .2s linear; }
  .orderbar b { margin-left: auto; font-weight: 500; font-size: 18px; }
  .orderbar i { font-style: normal; font-family: var(--f-ja); font-weight: 700; font-size: 12px; }
}

/* ---------- タブレット（〜1023px） ---------- */
@media (max-width: 1023px) {
  .sec__lead { width: min(26em, 46%); }
  .order__body { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .order__group ul { grid-template-columns: 1fr; }
  .bake__list { grid-template-columns: 1fr 1fr; }
  .visit__body { grid-template-columns: minmax(0, 1fr) auto; }
  .visit__lead { grid-column: 1 / -1; }
  .bill { justify-self: start; }
}

/* ---------- SP（〜768px） ---------- */
@media (max-width: 768px) {
  .sec { --pad: 16px; padding-top: 64px; }
  .sec__head { display: block; padding-bottom: 16px; }
  .sec__title { font-size: min(27vw, 150px); }
  .sec__lead { width: auto; margin-top: 16px; padding: 0; }
  .sec__ja { font-size: 20px; }
  .sec__text { margin-top: 6px; font-size: 14px; }
  .link { font-size: 16px; }

  .stay { --pad: 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 16px 20px; }
  .stay__key { grid-column: 1; grid-row: 1; font-size: 11px; }
  .stay__key span { display: inline; margin-left: 10px; font-size: 12px; }
  .stay__fee { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .stay__time { grid-column: 1; grid-row: 2; font-size: 52px; }
  .stay__msg { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; font-size: 14px; }

  .order__body { display: block; padding-top: 24px; }
  .order__cat b { font-size: 26px; }
  .item { gap: 12px; min-height: 76px; padding: 8px 0; }
  .item__pic { width: 54px; height: 54px; }
  .item__name b { font-size: 15px; }
  .item__name small { font-size: 12px; }
  .item__price { font-size: 15px; }

  /* レシートは、画面の下に追従する帯から上へ伸びる（帯そのものが印字機） */
  .js .orderbar { display: none; }
  .js .printer {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    max-width: 440px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(36px);
    transition: transform .45s var(--ease), opacity .2s linear, visibility 0s .45s;
  }
  .js .printer.is-on { opacity: 1; visibility: visible; transform: none; transition: transform .45s var(--ease), opacity .2s linear; }
  /* 紙の窓。帯の上端より下は見せない。畳んでいるあいだは、下の品を押す邪魔をしない */
  .js .printer__feed {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    display: block;
    min-height: 0;
    padding: 0 20px;
    overflow: hidden;
    -webkit-clip-path: none;
    clip-path: none;
    pointer-events: none;
    filter: drop-shadow(0 -3px 10px rgba(28, 26, 23, .2));
  }
  .js .printer.is-open .printer__feed { pointer-events: auto; }
  .js .printer__win {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
    mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 11px 100%;
    will-change: transform;
  }
  .js .printer.is-open .printer__win { max-height: calc(100vh - 176px); max-height: calc(100svh - 176px); }
  .js .printer__paper { flex: none; padding-bottom: 12px; }
  .js .rc__lines .rc__empty { padding: 2px 0; }
  /* 帯から出ているあいだは、新しい 3 行だけ。それより上の行は、紙の切り口で半分に切れて見えるので伏せる */
  .js .printer:not(.is-open) .rc__lines li:nth-last-child(n+4) { visibility: hidden; }
  .js .printer.is-open .rc__sum { display: block; }
  .js .printer__body { padding: 0; border-radius: 6px 6px 18px 18px; box-shadow: 0 8px 22px rgba(28, 26, 23, .28); }
  .js .printer__rows, .js .printer__foot, .js .printer__note { display: none; }
  .js .printer__bar { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 9px 10px 2px 12px; font-size: 13px; line-height: 1.4; }
  .printer__open {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 0 0 4px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .printer__k { font-family: var(--f-ja); font-weight: 700; }
  .printer.is-open .printer__k { display: none; }
  .printer__open b { margin-left: auto; font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
  .printer__open i { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-style: normal; font-family: var(--f-ja); font-weight: 700; font-size: 12px; }
  .js .printer__cut--bar { display: none; height: 36px; padding: 0 13px; font-size: 12px; }
  .js .printer.is-open .printer__cut--bar { display: block; }


  .bake__body { display: block; padding-top: 24px; }
  .board { margin-top: 20px; padding: 20px 16px 22px; }
  .board__rows li { font-size: 14px; gap: 8px; grid-template-columns: 3.8em minmax(0, 1fr) auto; }
  .board__rows time { font-size: 16px; }
  .bake__list { gap: 28px 16px; margin-top: 36px; }
  .bake__list img { width: 46%; }
  .bake__list li { grid-template-columns: minmax(0, 1fr); }
  .bake__list b { font-size: 16px; white-space: nowrap; }
  .bake__list span { margin-top: 2px; }
  .bake__list p { font-size: 13.5px; }

  .beans__body { display: block; padding-top: 24px; }
  .beans__list { margin-top: 32px; }
  .bean:first-child { border-top: 2px solid var(--ink); padding-top: 20px; }
  .bean__text { font-size: 14px; }

  .shop__body { display: block; padding-top: 24px; }
  .shop__photos { gap: 10px; }
  .shop__info { margin-top: 28px; }
  .shop__list div { grid-template-columns: 7em minmax(0, 1fr); font-size: 14px; }
  .shop__list dt { white-space: nowrap; }

  .news { display: block; }
  .sec__title--small { font-size: min(22vw, 120px); }
  .sec__head--small .sec__ja { margin-top: 10px; }
  .news__list { margin-top: 20px; }
  .news__list li { display: block; padding: 14px 0; }
  .news__list time { line-height: 1.6; }
  .news__list p { margin-top: 2px; font-size: 14px; }

  .visit { --pad: 16px; margin-top: 72px; padding: 56px 16px 44px; }
  .visit__title { font-size: 18.2vw; line-height: .88; }
  .visit__body { display: block; margin-top: 28px; }
  .visit__text { font-size: 14px; }
  .bill { margin: 40px auto 0; }
  .bite { width: 220px; margin: 36px auto 0; }
  .bite__text { margin-inline: -40px; }

  .footer { --pad: 16px; display: block; padding: 30px 16px 24px; }
  .footer__logo { font-size: 34px; }
  .footer__info { margin-top: 14px; }
  .footer__nav { margin-top: 16px; }
  .footer__copy { margin-top: 18px; }
  .footer__copy span { display: block; margin: 0; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (max-width: 1023px) {
  .daily__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 768px) {
  .oven { grid-template-columns: 1fr; gap: 22px; }
  .oven__read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; border-top: 0; }
  .oven__read div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .oven__read dt { font-size: 12px; }
  .oven__read dt i { margin-left: 4px; padding: 0 5px; font-size: 10px; }
  .oven__read dd { font-size: 17px; }
  .oven__say { min-height: 5.4em; }
  .scale__stage { height: 220px; }
  .scale__say { min-height: 5.1em; }
  .scale__ctrl { gap: 10px; }
  .scale__pour { min-height: 68px; padding: 8px 14px; font-size: 20px; }
  .scale__pour small { font-size: 12.5px; letter-spacing: 0; }
  .scale__reset { padding: 0 14px; font-size: 13px; }
  .daily__head { grid-template-columns: 1fr; gap: 16px; }
  .daily__list { grid-template-columns: 1fr; gap: 0; }
  .daily__list li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 14px; align-items: start; padding: 14px 0; }
  .daily__day { grid-column: 2 / -1; grid-row: 1; font-size: 16px; }
  .daily__list .roll { grid-column: 1; grid-row: 1 / span 3; height: 84px; margin: 0; }
  .daily__name { grid-column: 2; grid-row: 2; margin-top: 4px; }
  .daily__price { grid-column: 3; grid-row: 2; margin-top: 5px; }
  .daily__text { grid-column: 2 / -1; grid-row: 3; margin-top: 4px; }
  .daily__list li.is-off .daily__name { margin-top: 4px; }
  .shop__more { grid-template-columns: 1fr; gap: 40px; }
  .facts__list div { grid-template-columns: 5.5em 1fr; font-size: 14px; }
  .crowd__bars { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .item__count, .link i, .oven__p, .oven__w, .oven__done, .scale__meter i, .scale__pour, .bean, .bean__roast, .printer__paper, .js .orderbar, .js .orderbar.is-on, .js .printer, .js .printer.is-on { transition: none; }
  .rc__lines li.is-bump { animation: none; }
}
