:root {
  --bg: #F2EDE5;
  --cream: #FBF8F3;
  --paper: #FFFFFF;
  --ink: #1E1A16;
  --ink-2: #5F564C;
  --ink-3: #91877B;
  --line: #ECE5DA;
  --soft: #F3EEE6;
  --accent: #E5552A;
  --accent-ink: #B5401A;
  --accent-soft: #FCEBE3;
  --ok: #2E8B57;
  --ok-soft: #E2F2E8;
  --warn: #B7791F;
  --warn-soft: #FBF0DC;
  --map-land: #EFEAE1;
  --sab: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  font-feature-settings: "tnum" 0;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.ic { flex: none; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.press { transition: transform .16s var(--ease-out); }
.press:active:not(:disabled) { transform: scale(.97); }
.press-sm:active:not(:disabled) { transform: scale(.985); }

/* ---------- デモの外枠 ---------- */
.demo-head { display: flex; align-items: center; gap: 16px; padding: 14px 28px 12px; max-width: 1480px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo i { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 16px; font-weight: 800; letter-spacing: 0; }
.brand .sub { font-size: 13px; color: var(--ink-2); padding-left: 12px; border-left: 1px solid #D8CFC2; white-space: nowrap; }
.demo-tabs { display: none; margin: 0 auto; background: #E6DFD4; border-radius: 12px; padding: 3px; gap: 2px; }
.demo-tabs button { height: 34px; padding: 0 16px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ink-2); position: relative; white-space: nowrap; transition: background-color .2s, color .2s; }
.demo-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 40, 20, .12); }
.demo-tabs .dot { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: none; }
.demo-tabs .dot.on { display: block; }
.demo-ctl { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; white-space: nowrap; }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 99px; background: #CFC6B9; position: relative; cursor: pointer; transition: background-color .2s ease; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .22s var(--ease-out); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(16px); }
.btn-s { height: 34px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #DDD4C7; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.panes { display: grid; grid-template-columns: 406px minmax(420px, 1fr) 356px; gap: 28px; max-width: 1480px; margin: 0 auto; padding: 0 28px 28px; align-items: start; }
.pane-label { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px 8px; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.pane-label span { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 10.5px; letter-spacing: 0; }
.device { --dh: clamp(600px, calc(100vh - 118px), 844px); height: var(--dh); background: #161310; border-radius: 50px; padding: 8px; box-shadow: 0 40px 70px -30px rgba(70, 45, 20, .45), 0 0 0 1px rgba(0, 0, 0, .1); }
.device-in { height: 100%; border-radius: 42px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; position: relative; isolation: isolate; }
.device.tablet { border-radius: 30px; padding: 10px; }
.device.tablet .device-in { border-radius: 21px; background: #F5F1EB; }
.sbar { height: 42px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 28px 0 34px; font-size: 14.5px; font-weight: 700; background: #fff; position: relative; z-index: 80; }
.sbar.dark { background: #171412; color: #fff; }
.sbar svg { display: block; }
.sbar .glyphs { display: flex; gap: 6px; align-items: center; }
.app { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--cream); }

/* ---------- お客様アプリ ---------- */
.root { position: absolute; inset: 0; transition: transform .42s var(--ease-drawer); }
.root.behind { transform: translateX(-22%); }
.tabview { position: absolute; inset: 0 0 calc(62px + var(--sab)) 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.tabview::-webkit-scrollbar, .scr::-webkit-scrollbar, .sh-scroll::-webkit-scrollbar, .rail::-webkit-scrollbar, .cats::-webkit-scrollbar, .filters::-webkit-scrollbar, .st-tabs::-webkit-scrollbar, .promo-rail::-webkit-scrollbar, .tr-sheet::-webkit-scrollbar, .sp-body::-webkit-scrollbar { display: none; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(62px + var(--sab)); padding-bottom: var(--sab); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); z-index: 20; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--ink-3); position: relative; transition: color .15s ease; }
.tab.on { color: var(--ink); }
.tab .badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10px; display: grid; place-items: center; }
.stack { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.scr { position: absolute; inset: 0; background: var(--cream); overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; scrollbar-width: none; transition: transform .42s var(--ease-drawer); box-shadow: -10px 0 30px rgba(40, 25, 10, .08); }
.scr.enter { transform: translateX(100%); }
.scr.behind { transform: translateX(-22%); }
.scr.leaving { transition-duration: .32s; transform: translateX(100%); }

.h-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 2px; gap: 10px; }
.addr-btn { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.addr-btn small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.addr-btn b { font-size: 17px; display: flex; align-items: center; gap: 4px; letter-spacing: -.01em; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; flex: none; }
.icon-btn .badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--cream); }
.search-fake { margin: 10px 16px 4px; height: 46px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--ink-3); font-size: 14px; width: calc(100% - 32px); }
.cats { display: flex; gap: 2px; overflow-x: auto; padding: 12px 10px 4px; scrollbar-width: none; }
.cat { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.cat .ci { width: 62px; height: 62px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s ease, box-shadow .2s ease; overflow: hidden; }
.cat .ci img { width: 58px; }
.cat.on { color: var(--ink); }
.cat.on .ci { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.promo-rail { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px 4px; scroll-snap-type: x mandatory; scroll-padding: 16px; scrollbar-width: none; }
.promo { flex: none; width: 84%; height: 132px; border-radius: 20px; position: relative; overflow: hidden; scroll-snap-align: start; padding: 18px 18px; color: #fff; background: var(--accent); }
.promo h3 { font-size: 18px; line-height: 1.4; font-weight: 800; max-width: 62%; letter-spacing: -.01em; }
.promo p { font-size: 11.5px; opacity: .92; margin-top: 6px; max-width: 58%; line-height: 1.5; }
.promo img { position: absolute; right: -22px; bottom: -18px; width: 176px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .18)); }
.promo.p2 { background: #33402F; }
.promo.p3 { background: #3B2C22; }
.sec { padding: 22px 0 2px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px 10px; gap: 8px; }
.sec-h h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sec-h button { font-size: 12.5px; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding: 16px; scrollbar-width: none; }
.sc { flex: none; width: 252px; display: block; scroll-snap-align: start; position: relative; }
.sc-img { position: relative; height: 134px; border-radius: 16px; background: var(--tint); overflow: hidden; display: grid; place-items: center; }
.sc-img img { width: 76%; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sc:hover .sc-img img { transform: scale(1.04); } }
.sc-badge { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .95); font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.sc-badge.coupon { background: var(--accent); color: #fff; }
.fav { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .92); z-index: 2; transition: transform .16s var(--ease-out), color .15s; }
.fav:active { transform: scale(.88); }
.fav.on { color: var(--accent); }
.fav.on svg path { fill: currentColor; }
.sc-body { padding: 9px 2px 0; }
.sc-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.sc-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; background: var(--soft); border-radius: 99px; padding: 0 8px; height: 22px; }
.rate svg { color: #E8A317; }
.sc-meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.sc-meta .free { color: var(--ok); font-weight: 700; }
.list { padding-top: 2px; }
.list .sc { width: auto; margin: 0 16px 20px; }
.list .sc-img { height: 156px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 14px; scrollbar-width: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: background-color .15s ease, color .15s ease, transform .16s var(--ease-out); white-space: nowrap; border: 0; }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
select.chip { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E1A16' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.empty { text-align: center; color: var(--ink-2); font-size: 13.5px; padding: 28px 24px 36px; }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.float-wrap { position: absolute; left: 12px; right: 12px; bottom: calc(72px + var(--sab)); z-index: 19; pointer-events: none; }
.float-order { pointer-events: auto; width: 100%; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: 0 12px 28px -8px rgba(30, 20, 10, .45); text-align: left; transition: transform .16s var(--ease-out), opacity .25s ease; }
@starting-style { .float-order { opacity: 0; transform: translateY(12px); } }
.float-order .fo-img { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; flex: none; overflow: hidden; }
.float-order .fo-img img { width: 46px; }
.float-order div { flex: 1; min-width: 0; }
.float-order b { font-size: 14px; display: block; }
.float-order small { font-size: 12px; color: rgba(255, 255, 255, .72); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5BD18B; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(91, 209, 139, .6); animation: live 1.6s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 7px rgba(91, 209, 139, 0); } }

/* 検索 */
.page-h { padding: 16px 16px 6px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.search-box { margin: 8px 16px 6px; height: 46px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; }
.search-box button { color: var(--ink-3); }
.kw { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 4px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 16px 20px; }
.cat-tile { height: 86px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; padding: 12px 14px; font-weight: 800; font-size: 14.5px; text-align: left; }
.cat-tile img { position: absolute; right: -14px; bottom: -12px; width: 104px; }
.res-h { font-size: 13px; font-weight: 800; color: var(--ink-2); padding: 14px 16px 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; width: 100%; text-align: left; }
.row-img { width: 56px; height: 56px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; overflow: hidden; flex: none; }
.row-img img { width: 60px; }
.row-t { flex: 1; min-width: 0; }
.row-t b { display: block; font-size: 14.5px; }
.row-t small { font-size: 12px; color: var(--ink-2); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .pr { font-weight: 700; font-size: 13.5px; }

/* 注文履歴・アカウント */
.card { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); margin: 8px 16px; }
.ao { padding: 14px; }
.ao-top { display: flex; gap: 12px; align-items: center; }
.ao-top b { font-size: 15px; }
.ao-top small { font-size: 12px; color: var(--ink-2); display: block; }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0; }
.mini-steps i { height: 4px; border-radius: 9px; background: #EDE7DE; }
.mini-steps i.done, .mini-steps i.now { background: var(--accent); }
.mini-steps i.now { opacity: .45; }
.ho { display: flex; gap: 12px; padding: 14px; align-items: center; }
.ho + .ho { border-top: 1px solid var(--line); }
.ho .row-t small { white-space: normal; }
.ho-st { font-size: 11.5px; color: var(--ok); font-weight: 700; }
.btn-xs { height: 32px; padding: 0 12px; border-radius: 99px; background: var(--soft); font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; }
.prof { display: flex; align-items: center; gap: 14px; padding: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: #3A4757; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; flex: none; }
.prof b { font-size: 17px; display: block; }
.prof small { font-size: 12.5px; color: var(--ink-2); }
.menu-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; font-size: 14.5px; font-weight: 600; text-align: left; }
.menu-row + .menu-row { border-top: 1px solid var(--line); }
.menu-row .v { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.menu-row .switch { margin-left: auto; }
.sub-h { font-size: 12px; font-weight: 800; color: var(--ink-3); padding: 18px 20px 4px; letter-spacing: .04em; }
.note-s { font-size: 11.5px; color: var(--ink-3); padding: 8px 20px 24px; line-height: 1.7; }

/* お店の画面 */
.st-bar { position: sticky; top: 0; z-index: 6; height: 58px; margin-bottom: -58px; display: flex; align-items: center; gap: 10px; padding: 0 12px; transition: background-color .2s ease, box-shadow .2s ease; }
.st-bar .t { opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .25s var(--ease-out); font-weight: 800; font-size: 15.5px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar.on { background: #fff; box-shadow: 0 1px 0 var(--line); }
.st-bar.on .t { opacity: 1; transform: none; }
.st-bar.on .round-btn { box-shadow: inset 0 0 0 1px var(--line); }
.round-btn { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(40, 25, 10, .14); flex: none; color: var(--ink); transition: transform .16s var(--ease-out), box-shadow .2s; }
.round-btn:active { transform: scale(.92); }
.round-btn.fav-s.on { color: var(--accent); }
.round-btn.fav-s.on svg path { fill: currentColor; }
.st-hero { height: 230px; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.st-hero img { width: 300px; margin-top: 26px; filter: drop-shadow(0 14px 18px rgba(80, 50, 20, .14)); }
.st-head { padding: 16px 16px 6px; }
.st-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.st-meta { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.fact { background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.fact small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.fact b { font-size: 14.5px; }
.st-coupon { margin-top: 8px; display: flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 11px 12px; font-size: 13px; font-weight: 800; }
.st-tabs { position: sticky; top: 58px; z-index: 5; background: var(--cream); display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; border-bottom: 1px solid var(--line); margin-top: 14px; scrollbar-width: none; }
.st-tab { flex: none; height: 32px; padding: 0 13px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.st-tab.on { background: var(--ink); color: #fff; }
.st-sec { padding: 20px 16px 4px; scroll-margin-top: 108px; }
.st-sec h2 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.pop-grid { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 6px 16px 4px; scroll-snap-type: x mandatory; scroll-padding: 16px; scrollbar-width: none; }
.pop-grid::-webkit-scrollbar { display: none; }
.pop-grid .pc { flex: none; width: 156px; scroll-snap-align: start; }
.pc { text-align: left; position: relative; display: block; }
.pc-img { background: var(--tint); border-radius: 16px; aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden; position: relative; }
.pc-img img { width: 96%; }
.pc b { display: block; font-size: 13.5px; margin-top: 7px; line-height: 1.4; }
.pc .pr { font-size: 13px; color: var(--ink-2); }
.add { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(40, 25, 10, .18); display: grid; place-items: center; }
.qty-b { position: absolute; right: 8px; bottom: 8px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.mi { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; align-items: flex-start; }
.mi:last-child { border-bottom: 0; }
.mi-t { flex: 1; min-width: 0; }
.mi-t b { font-size: 15px; display: block; line-height: 1.4; }
.mi-t p { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.mi-t .pr { font-size: 14px; margin-top: 6px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.tag-pop { font-size: 10.5px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: 1px 7px; font-weight: 800; }
.tag-out { font-size: 10.5px; color: var(--ink-2); background: #EAE4DA; border-radius: 99px; padding: 1px 7px; font-weight: 800; }
.mi-img { flex: none; width: 104px; height: 86px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; position: relative; overflow: hidden; }
.mi-img img { width: 108px; }
.sold { opacity: .5; }
.sold img { filter: grayscale(.8); }
.cartbar { position: sticky; bottom: 0; padding: 18px 16px calc(16px + var(--sab)); background: linear-gradient(rgba(251, 248, 243, 0), var(--cream) 40%); z-index: 4; }
.cartbar button { width: 100%; height: 54px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(30, 20, 10, .6); }
.cartbar .n { min-width: 24px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cartbar .t { margin-left: auto; }
.st-foot { height: 24px; }

/* 共通のボタン */
.btn { height: 54px; border-radius: 16px; font-weight: 800; font-size: 15.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .16s var(--ease-out), background-color .2s ease, opacity .2s ease; padding: 0 18px; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: #fff; box-shadow: inset 0 0 0 1px #DDD4C7; }
.btn-ok { background: var(--ok); color: #fff; }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn.wide { width: 100%; }
.btn .bp { margin-left: auto; font-weight: 700; }
.btn.split { justify-content: flex-start; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stepper { display: inline-flex; align-items: center; height: 46px; border-radius: 99px; background: var(--soft); flex: none; }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: transform .16s var(--ease-out); }
.stepper button:active:not(:disabled) { transform: scale(.88); }
.stepper button:disabled { opacity: .3; }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper.sm { height: 34px; }
.stepper.sm button { width: 34px; height: 34px; }

/* シート・ダイアログ */
.layer { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
.layer.open { pointer-events: auto; }
.backdrop { position: absolute; inset: 0; background: rgba(25, 15, 5, .42); opacity: 0; transition: opacity .3s ease; }
.layer.open .backdrop { opacity: 1; }
.layer.closing .backdrop { transition-duration: .22s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .45s var(--ease-drawer); overflow: hidden; }
.layer.open .sheet { transform: translateY(0); }
.layer.closing .sheet { transition-duration: .28s; transform: translateY(100%); }
.sheet.dragging { transition: none; }
.sh-drag { position: absolute; top: 0; left: 0; right: 64px; height: 40px; z-index: 3; touch-action: none; cursor: grab; }
.sh-grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 9px; background: rgba(0, 0, 0, .2); z-index: 4; pointer-events: none; }
.sh-x { position: absolute; top: 12px; right: 12px; z-index: 4; }
.sh-scroll { overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; scrollbar-width: none; }
.sh-foot { flex: none; display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(14px + var(--sab)); border-top: 1px solid var(--line); background: #fff; }
.sh-foot .btn { flex: 1; }
.sh-title { padding: 22px 20px 8px; font-size: 18px; font-weight: 800; }
.it-img { background: var(--tint); height: 230px; display: grid; place-items: center; overflow: hidden; }
.it-img img { width: 330px; margin-top: 14px; filter: drop-shadow(0 14px 18px rgba(80, 50, 20, .14)); }
.it-body { padding: 18px 16px 8px; }
.it-body h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.it-body .pr { font-size: 16px; font-weight: 700; margin-top: 2px; }
.it-body p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.og { border: 0; padding: 16px 16px 6px; border-top: 8px solid #F6F2EC; margin-top: 14px; }
.og + .og { margin-top: 0; }
.og legend { float: left; display: flex; justify-content: space-between; align-items: center; width: 100%; font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 4px; }
.og legend + * { clear: both; }
.og .req { font-size: 11px; font-weight: 700; background: var(--soft); border-radius: 99px; padding: 2px 9px; color: var(--ink-2); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14.5px; }
.opt:last-of-type { border-bottom: 0; }
.opt input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CFC6B9; flex: none; transition: box-shadow .15s ease, background-color .15s ease; cursor: pointer; }
.opt input:checked { box-shadow: inset 0 0 0 7px var(--accent); }
.opt input[type=checkbox] { border-radius: 7px; }
.opt input[type=checkbox]:checked { box-shadow: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.opt .p { margin-left: auto; color: var(--ink-2); font-size: 13.5px; }
.req-note { display: block; padding: 0 16px 6px; }
.field { display: block; padding: 16px 16px 18px; border-top: 8px solid #F6F2EC; margin-top: 14px; }
.field span { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.field textarea, .field input { width: 100%; border: 0; border-radius: 12px; background: var(--soft); padding: 12px; font-size: 16px; resize: none; outline: 0; }
.field textarea:focus, .field input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dialog { position: absolute; left: 22px; right: 22px; top: 50%; background: #fff; border-radius: 22px; padding: 22px 20px 16px; transform: translateY(-46%) scale(.96); opacity: 0; transition: transform .22s var(--ease-out), opacity .22s ease; }
.layer.open .dialog { transform: translateY(-50%); opacity: 1; }
.layer.closing .dialog { transition-duration: .15s; opacity: 0; transform: translateY(-50%) scale(.97); }
.dialog h3 { font-size: 17px; font-weight: 800; }
.dialog p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.dialog .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.dialog .btn { height: 46px; font-size: 14.5px; border-radius: 14px; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 20px; text-align: left; font-size: 14.5px; }
.pick + .pick { border-top: 1px solid var(--line); }
.pick small { display: block; font-size: 12px; color: var(--ink-2); }
.pick .chk { margin-left: auto; color: var(--accent); }
.pick:disabled { opacity: .45; cursor: not-allowed; }
.toast { position: absolute; left: 50%; top: 14px; z-index: 90; transform: translate(-50%, -12px); opacity: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 99px; pointer-events: none; transition: opacity .2s ease, transform .3s var(--ease-out); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* カート・注文確認 */
.top-bar { position: sticky; top: 0; z-index: 5; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--cream); }
.top-bar.line { box-shadow: 0 1px 0 var(--line); }
.top-bar h1 { font-size: 16px; font-weight: 800; flex: 1; text-align: center; margin-right: 48px; }
.top-bar .round-btn { box-shadow: inset 0 0 0 1px var(--line); }
.cl { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; }
.cl + .cl { border-top: 1px solid var(--line); }
.cl .row-img { width: 60px; height: 60px; }
.cl .row-t b { font-size: 14.5px; }
.cl .row-t small { white-space: normal; }
.cl .row-t .pr { margin-top: 4px; font-size: 14px; font-weight: 700; display: block; }
.cl .stepper { align-self: center; }
.lnk { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); width: 100%; }
.sugg { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.sugg .pc { width: 128px; flex: none; }
.ck-sec { padding: 4px 0; }
.ck-h { font-size: 13px; font-weight: 800; color: var(--ink-2); padding: 18px 20px 6px; }
.ck-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; text-align: left; }
.ck-row .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; flex: none; }
.ck-row .row-t b { font-size: 14.5px; }
.ck-row .row-t small { white-space: normal; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 12px; padding: 3px; margin: 4px 16px 8px; }
.seg button { height: 38px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 6px; transition: background-color .2s ease, color .2s ease; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 40, 20, .14); }
.speed { display: grid; gap: 8px; padding: 4px 16px 8px; }
.speed button { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; text-align: left; transition: box-shadow .15s ease; }
.speed button.on { box-shadow: inset 0 0 0 2px var(--ink); }
.speed b { font-size: 14.5px; display: block; }
.speed small { font-size: 12px; color: var(--ink-2); }
.speed .p { margin-left: auto; font-weight: 700; font-size: 13.5px; }
.sum { padding: 8px 20px 4px; }
.sum div { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--ink-2); }
.sum div.minus span:last-child { color: var(--ok); font-weight: 700; }
.sum div.total { color: var(--ink); font-size: 17px; font-weight: 800; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.foot-fixed { position: sticky; bottom: 0; padding: 12px 16px calc(14px + var(--sab)); background: rgba(251, 248, 243, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 4; }
.foot-fixed small { display: block; text-align: center; font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.cutlery { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.cutlery .switch { margin-left: auto; }

/* 配達状況 */
.scr-track { display: flex; flex-direction: column; overflow: hidden; background: var(--map-land); }
.tr-map { flex: none; height: 48%; position: relative; overflow: hidden; background: var(--map-land); }
.tr-map > svg, .rd-map > svg { width: 100%; height: 100%; overflow: visible; display: block; }
.tr-map .round-btn { position: absolute; top: 12px; left: 12px; z-index: 3; }
.tr-sheet { flex: 1; min-height: 0; margin-top: -24px; background: #fff; border-radius: 24px 24px 0 0; position: relative; z-index: 2; overflow-y: auto; box-shadow: 0 -10px 30px rgba(40, 25, 10, .1); padding: 20px 18px calc(24px + var(--sab)); scrollbar-width: none; }
.tr-eta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tr-eta small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.tr-eta b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tr-eta .pill { font-size: 12.5px; font-weight: 800; background: var(--accent-soft); color: var(--accent-ink); border-radius: 99px; padding: 5px 11px; margin-bottom: 5px; white-space: nowrap; }
.tr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 14px; }
.tr-steps i { height: 5px; border-radius: 9px; background: #EDE7DE; overflow: hidden; position: relative; }
.tr-steps i.done { background: var(--accent); }
.tr-steps i.now::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: fill 1.8s var(--ease-io) infinite; }
@keyframes fill { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.tr-st b { font-size: 17px; font-weight: 800; display: block; }
.tr-st span { font-size: 13.5px; color: var(--ink-2); }
.rider-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #F7F3ED; margin-top: 16px; transition: opacity .3s ease, transform .4s var(--ease-out); }
.rider-card .avatar { width: 46px; height: 46px; font-size: 17px; }
.rider-card b { font-size: 15px; display: block; }
.rider-card small { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.rider-card .acts { margin-left: auto; display: flex; gap: 8px; }
.rider-card .acts button { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.tr-detail { margin-top: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tr-detail summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px; cursor: pointer; font-size: 14px; font-weight: 700; }
.tr-detail summary::-webkit-details-marker { display: none; }
.tr-detail summary .chev { margin-left: auto; transition: transform .2s var(--ease-out); }
.tr-detail[open] summary .chev { transform: rotate(180deg); }
.tr-detail ul { list-style: none; padding: 0 14px 6px; }
.tr-detail li { display: flex; gap: 10px; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.tr-detail li .q { font-weight: 800; min-width: 22px; }
.tr-detail li small { display: block; color: var(--ink-2); font-size: 12px; }
.tr-detail li .p { margin-left: auto; }
.tr-detail .tot { display: flex; justify-content: space-between; padding: 10px 14px 14px; font-weight: 800; border-top: 1px solid var(--line); margin: 0 0; }
.tr-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); padding: 14px 2px 0; }
.done-hero { text-align: center; padding: 6px 0 4px; }
.done-hero svg { margin: 0 auto 10px; }
.done-hero .c { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s var(--ease-out) forwards; }
.done-hero .k { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s var(--ease-out) .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-hero h2 { font-size: 22px; font-weight: 800; }
.done-hero p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.rate-box { margin-top: 18px; padding: 16px; border-radius: 18px; background: #F7F3ED; text-align: center; }
.rate-box p { font-size: 13.5px; font-weight: 700; }
.stars { display: flex; justify-content: center; gap: 6px; margin: 8px 0 12px; }
.stars button { width: 38px; height: 38px; display: grid; place-items: center; color: #D9D0C3; transition: transform .16s var(--ease-out), color .15s ease; }
.stars button:active { transform: scale(.85); }
.stars button.on { color: #E8A317; }
.stars button svg path { fill: currentColor; stroke: none; }
.thanks { font-size: 14px; font-weight: 700; color: var(--ok); padding: 10px 0 2px; }

/* 地図 */
.map .m-land { fill: var(--map-land); }
.map .m-block { fill: #E7E0D4; }
.map .m-bld { fill: #DFD6C8; }
.map .m-park { fill: #D2E3C3; }
.map .m-river { fill: none; stroke: #BFD9E6; stroke-width: 34; stroke-linecap: round; }
.map .m-road-o { stroke: #DDD4C6; stroke-width: 12; }
.map .m-road-o.main { stroke-width: 19; }
.map .m-road { stroke: #FFFFFF; stroke-width: 10; }
.map .m-road.main { stroke-width: 17; }
.map .m-lbl { font-size: 8.5px; fill: #A79D90; font-weight: 700; letter-spacing: .1em; }
.map .m-lbl.park { fill: #7FA06B; text-anchor: middle; }
.map .leg { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 5; opacity: 0; transition: opacity .4s ease; }
.map[data-leg=pre] .leg-b { opacity: .7; stroke: #9C9286; stroke-dasharray: 1 8; }
.map[data-leg=a] .leg-a { opacity: 1; stroke: var(--accent); }
.map[data-leg=a] .leg-b { opacity: .7; stroke: #9C9286; stroke-dasharray: 1 8; }
.map[data-leg=b] .leg-b { opacity: 1; stroke: var(--accent); }
.map .pin circle { stroke: #fff; stroke-width: 3; }
.map .pin-store circle { fill: var(--ink); }
.map .pin-home circle { fill: var(--accent); }
.map .glyph { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.map .m-pin-t { font-size: 10px; font-weight: 800; text-anchor: middle; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.map .rider { transition: opacity .3s ease; opacity: 0; }
.map .rider .body { fill: #fff; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.map .rider .glyph { stroke: var(--accent); }
.map .rider .pulse { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .35; } to { transform: scale(2.4); opacity: 0; } }

/* ---------- お店の管理画面 ---------- */
.sp { height: 100%; display: flex; flex-direction: column; }
.sp-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.sp-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; overflow: hidden; flex: none; }
.sp-logo img { width: 52px; }
.sp-top h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.sp-top p { font-size: 12px; color: var(--ink-2); }
.sp-open { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: 99px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.sp-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.sp-nav { flex: none; display: flex; gap: 4px; padding: 10px 18px 0; background: #fff; border-bottom: 1px solid var(--line); }
.sp-nav button { height: 38px; padding: 0 12px; font-size: 13.5px; font-weight: 800; color: var(--ink-3); border-bottom: 2.5px solid transparent; display: inline-flex; align-items: center; gap: 6px; transition: color .15s ease, border-color .15s ease; }
.sp-nav button.on { color: var(--ink); border-color: var(--ink); }
.sp-nav .cnt { min-width: 18px; height: 18px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 5px; }
.sp-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 20px; scrollbar-width: none; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.sp-stats div { background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.sp-stats small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 700; }
.sp-stats b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.sp-h { font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin: 4px 2px 8px; display: flex; align-items: center; gap: 8px; }
.so { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; margin-bottom: 12px; transition: box-shadow .3s ease; }
.so.is-new { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 0 rgba(229, 85, 42, .35); animation: ring 1.6s ease-out 3; }
@keyframes ring { to { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 10px rgba(229, 85, 42, 0); } }
.so-h { display: flex; align-items: center; gap: 8px; }
.so-h b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.so-h time { margin-left: auto; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.st-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.st-badge.new { background: var(--accent); color: #fff; }
.st-badge.cook { background: var(--warn-soft); color: var(--warn); }
.st-badge.ready { background: var(--ok-soft); color: var(--ok); }
.so-c { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.so ul { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed #E2DACE; }
.so li { display: flex; gap: 10px; font-size: 14px; padding: 3px 0; align-items: baseline; }
.so li .q { font-weight: 800; min-width: 26px; font-size: 15px; }
.so li small { display: block; font-size: 12px; color: var(--ink-2); }
.so-note { margin-top: 8px; font-size: 12.5px; background: var(--warn-soft); color: #7A5410; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.so-f { margin-top: 12px; display: grid; gap: 10px; }
.so-f .btn { height: 48px; font-size: 15px; border-radius: 14px; }
.prep { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.prep .seg3 { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; background: var(--soft); border-radius: 10px; padding: 3px; }
.prep .seg3 button { height: 32px; border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.prep .seg3 button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 40, 20, .14); }
.cook-bar { height: 6px; border-radius: 9px; background: var(--soft); overflow: hidden; }
.cook-bar i { display: block; height: 100%; background: var(--warn); transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }
.cook-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); font-weight: 700; }
.rider-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); background: #F7F3ED; border-radius: 12px; padding: 9px 10px; font-weight: 600; }
.rider-line .avatar { width: 26px; height: 26px; font-size: 11px; }
.sp-empty { text-align: center; padding: 26px 16px; color: var(--ink-3); font-size: 13px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.sp-empty b { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 2px; }
.done-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13px; background: #fff; }
.done-list { border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.done-row + .done-row { border-top: 1px solid var(--line); }
.done-row b { font-weight: 800; }
.done-row .p { margin-left: auto; font-weight: 700; }
.done-row .st-badge { min-width: 64px; text-align: center; }
.mm { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; }
.mm + .mm { border-top: 1px solid var(--line); }
.mm .row-img { width: 44px; height: 44px; border-radius: 10px; }
.mm .row-img img { width: 48px; }
.mm .row-t b { font-size: 14px; }
.mm .switch { margin-left: auto; font-size: 12px; color: var(--ink-2); }

/* ---------- 配達員アプリ ---------- */
.rd { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--map-land); }
.rd-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 12px; background: #171412; color: #fff; }
.rd-online { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 800; transition: background-color .2s ease; }
.rd-online i { width: 9px; height: 9px; border-radius: 50%; background: #8A8178; }
.rd-online.on i { background: #5BD18B; box-shadow: 0 0 0 3px rgba(91, 209, 139, .25); }
.rd-earn { margin-left: auto; text-align: right; }
.rd-earn small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.rd-earn b { font-size: 17px; font-weight: 800; }
.rd-map { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.rd-card { flex: none; background: #fff; border-radius: 22px 22px 0 0; margin-top: -20px; position: relative; z-index: 2; padding: 18px 16px calc(16px + var(--sab)); box-shadow: 0 -10px 30px rgba(40, 25, 10, .12); }
.rd-card h4 { font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.rd-card .big { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.rd-card .big small { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.rd-stops { margin: 12px 0 14px; display: grid; gap: 0; position: relative; }
.rd-stop { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.rd-stop .mk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--ink); }
.rd-stop .mk.home { background: var(--accent); }
.rd-stop b { font-size: 14px; display: block; line-height: 1.35; }
.rd-stop small { font-size: 12px; color: var(--ink-2); }
.rd-stop.dim { opacity: .5; }
.rd-wait { display: flex; align-items: center; gap: 14px; padding: 4px 0 2px; }
.radar { width: 46px; height: 46px; border-radius: 50%; background: var(--ok-soft); position: relative; flex: none; display: grid; place-items: center; color: var(--ok); }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: radar 2.2s ease-out infinite; }
.radar::after { animation-delay: 1.1s; }
@keyframes radar { from { transform: scale(.7); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.rd-wait b { font-size: 15px; display: block; }
.rd-wait small { font-size: 12.5px; color: var(--ink-2); }
.offer-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 99px; }
.rd-info { font-size: 12.5px; color: var(--ink-2); background: #F7F3ED; border-radius: 12px; padding: 9px 11px; margin-bottom: 12px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.rd-card .btn { width: 100%; }

/* ---------- 画面幅ごと ---------- */
@media (max-width: 1279px) {
  .demo-tabs { display: flex; }
  .demo-head { max-width: 760px; }
  .panes { grid-template-columns: minmax(0, 1fr); max-width: 760px; justify-items: center; }
  .pane { display: none; width: 100%; }
  .panes[data-pane=customer] .pane-c, .panes[data-pane=store] .pane-s, .panes[data-pane=rider] .pane-r { display: block; }
  .pane-c .device, .pane-r .device { width: 406px; margin: 0 auto; }
  .pane-r .device { width: 380px; }
  .pane-label { justify-content: center; margin-left: 0; }
  .brand .sub { display: none; }
}
@media (max-width: 640px) {
  body { background: var(--cream); }
  .demo-head { position: sticky; top: 0; z-index: 100; padding: 6px 10px; gap: 8px; height: 50px; background: #fff; border-bottom: 1px solid var(--line); }
  .brand { display: none; }
  .switch.auto .lg { display: none; }
  .switch.auto .sm { display: inline; }
  .demo-tabs { margin: 0; padding: 2px; border-radius: 10px; }
  .demo-tabs button { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
  .demo-ctl .btn-s { display: none; }
  .panes { padding: 0; gap: 0; }
  .pane-label { display: none; }
  .pane-c .device, .pane-r .device, .device { width: 100%; height: calc(100dvh - 50px); border-radius: 0; padding: 0; box-shadow: none; background: none; }
  .device-in, .device.tablet .device-in { border-radius: 0; }
  .sbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .scr, .root, .sheet, .dialog, .toast { transition-property: opacity !important; }
  .scr.enter, .scr.leaving { transform: none; opacity: 0; }
  .scr.behind, .root.behind { transform: none; }
}

/* 追加分 */
[hidden] { display: none !important; }
.switch.auto .sm { display: none; }
.sc-main { display: block; width: 100%; text-align: left; }
.fill { min-height: 100%; display: flex; flex-direction: column; }
.fill .foot-fixed { margin-top: auto; }
.pick span { min-width: 0; flex: 1; }
.pick b { display: block; font-size: 14.5px; }
.ck-row > .ic:last-child { color: var(--ink-3); }
.memo { width: 100%; height: 44px; border: 0; border-radius: 12px; background: var(--soft); padding: 0 12px; font-size: 16px; outline: 0; }
.memo:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.anim-rise { animation: rise .45s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.done-hero.static .c, .done-hero.static .k { animation: none; stroke-dashoffset: 0; }
.map .pin { transition: opacity .3s ease; }
.map[data-leg=none] .pin, .map[data-leg=none] .leg { opacity: 0; }
.map[data-leg=offer] .leg-a, .map[data-leg=offer] .leg-b { opacity: .7; stroke: #9C9286; stroke-dasharray: 1 8; }

@media (max-width: 640px) {
  .switch.auto .lg { display: none; }
  .switch.auto .sm { display: inline; font-size: 12.5px; }
  .device.tablet { padding: 0; border-radius: 0; }
  .device.tablet .device-in { border-radius: 0; }
}
.search-box input::-webkit-search-cancel-button, .search-box input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
