/* 機能詳細ページ（/features/qr-order など。Issue #606）。
   承認済みのデザイン（深緑 #20664f・本文幅 1120px）の値をそのまま使う。
   すべて .fp の中だけに効かせる：公開サイトの共通ヘッダー・フッターや管理画面に影響させない。
   レイアウト：〜760px は 1 カラム、761〜1023px は首屏だけ 1 カラム（主図は最大 620px）、1024px〜 は 2 カラム。 */
.fp {
    --fp-ink: #242c29;
    --fp-muted: #65706a;
    --fp-green: #20664f;
    --fp-line: #e4e8e3;
    --fp-paper: #f6f8f4;
    color: var(--fp-ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.75;
}
.fp *, .fp *::before, .fp *::after { box-sizing: border-box; }
.fp a { color: inherit; text-decoration: none; }
.fp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* パンくず */
.fp-crumb { font-size: 12px; color: var(--fp-muted); padding-top: 25px; }
.fp-crumb a { text-decoration: underline; text-underline-offset: 2px; }
.fp-crumb a:hover { color: var(--fp-green); }
.fp-crumb-sep { margin: 0 0.9em; }

/* 首屏 */
.fp-hero { display: grid; grid-template-columns: 1fr 1.17fr; gap: 50px; align-items: center; padding: 43px 0 54px; }
.fp-hero-copy { min-width: 0; }
.fp-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--fp-green); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin: 0; }
.fp-plan { border: 1px solid #c9dfd2; border-radius: 6px; padding: 2px 10px; background: #edf6ef; color: var(--fp-green); font-size: 12px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.fp-hero h1 { font-size: clamp(31px, 3.65vw, 48px); line-height: 1.38; letter-spacing: -.045em; margin: 17px 0; font-weight: 800; color: var(--fp-ink); }
.fp-hero h1 span { display: inline-block; }
.fp-lead { color: var(--fp-muted); margin: 0 0 20px; font-size: 15px; line-height: 1.95; }
.fp-minor { font-size: 12px; color: var(--fp-muted); margin: 10px 0 0; }
.fp a.fp-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--fp-green); color: #fff; font-weight: 700; padding: 11px 21px; border-radius: 9px; font-size: 14px; min-height: 44px; }
.fp a.fp-cta:hover { background: #18523f; }
.fp a.fp-cta:focus-visible, .fp a:focus-visible { outline: 2px solid var(--fp-green); outline-offset: 2px; }

/* 主図の枠（中身はページごと） */
.fp-visual { background: #f1f4ef; border: 1px solid #e5eae3; border-radius: 20px; padding: 24px; min-width: 0; margin: 0; }
.fp-visual-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 18px; }
.fp-visual-head strong { font-size: 15px; font-weight: 700; }
.fp-mock-label { font-size: 10px; color: #6b7770; white-space: nowrap; }
.fp-visual-note { text-align: center; font-size: 11px; color: #6b7770; margin: 15px 0 0; }
.fp-stepno { font-size: 10px; color: var(--fp-green); font-weight: 800; letter-spacing: .07em; }

/* 本文のセクション */
.fp-section { padding: 44px 0; border-top: 1px solid var(--fp-line); }
.fp-section h2 { font-size: 27px; line-height: 1.4; letter-spacing: -.03em; margin: 0 0 10px; font-weight: 700; color: var(--fp-ink); }
.fp-section-lead { color: var(--fp-muted); margin: 0 0 25px; }
.fp-section h2 + .fp-three { margin-top: 15px; }
.fp-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fp-step { border: 1px solid var(--fp-line); border-radius: 13px; padding: 22px; background: #fff; min-width: 0; }
.fp-step-num { font-size: 12px; color: var(--fp-green); font-weight: 800; letter-spacing: .08em; margin: 0; }
.fp-step h3 { font-size: 17px; font-weight: 700; margin: 8px 0; color: var(--fp-ink); }
.fp-step-num + h3 { margin-top: 8px; }
.fp-step > h3:first-child { margin-top: 0; }
.fp-step p { font-size: 13px; color: var(--fp-muted); margin: 0; }
.fp-callout { border-left: 3px solid var(--fp-green); background: var(--fp-paper); padding: 13px 18px; margin: 16px 0 0; font-size: 13px; color: #54635a; }
.fp-callout b { color: var(--fp-ink); }

/* お客様メニューの 5 レイアウトの画面（qr-order#feature-layouts）。スマホは 2 列、広い画面は 5 列 */
.fp-layout-shots { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 640px) { .fp-layout-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fp-layout-shots { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fp-layout-shots figure { margin: 0; }
.fp-layout-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--fp-line); border-radius: 10px; }
.fp-layout-shots figcaption { margin-top: 6px; font-size: 13px; color: var(--fp-ink); text-align: center; }

/* よくある質問 */
.fp-qa { border-bottom: 1px solid var(--fp-line); padding: 15px 0; }
.fp-qa h3 { font-size: 15px; font-weight: 700; margin: 0 0 5px; color: var(--fp-ink); }
.fp-qa p { font-size: 13px; color: var(--fp-muted); margin: 0; }

/* 関連ページ・終わりの CTA・機能一覧へ戻る */
.fp-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 22px 0 0; list-style: none; font-size: 13px; }
.fp .fp-links a, .fp .fp-back a { color: var(--fp-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 8px 0; }
.fp-end { background: var(--fp-paper); border-radius: 16px; padding: 30px; text-align: center; margin: 22px 0 0; }
.fp-end h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--fp-ink); }
.fp-end h2 span { display: inline-block; }
.fp-end p { margin: 0 0 18px; color: var(--fp-muted); font-size: 13px; }
.fp-back { margin: 0; padding: 18px 0 0; font-size: 13px; text-align: right; }

/* ===== 主図：店内QR注文 ===== */
.fp-flow { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; align-items: center; }
.fp-flow > div { min-width: 0; }
.fp-qrcol { display: grid; gap: 12px; justify-items: center; }
.fp-qrstand { background: #fff; border: 1px solid #dce3db; border-radius: 13px; padding: 12px; text-align: center; width: 100%; max-width: 175px; box-shadow: 0 5px 12px rgba(24, 62, 33, .06); }
.fp-qrstand small { display: block; font-size: 11px; color: var(--fp-muted); }
.fp-qrstand img { width: 100%; max-width: 106px; height: auto; display: block; margin: 6px auto; }
.fp-qrstand b { display: block; font-size: 13px; }
.fp-qrstand-note { font-size: 9px; color: #778078; }
.fp-flow-order { font-size: 11px; color: #63756a; text-align: center; }
.fp-kitchen { border: 1px solid #d7e0d8; background: #fff; border-radius: 10px; padding: 10px; width: 100%; max-width: 175px; box-shadow: 0 4px 10px rgba(25, 61, 35, .06); }
.fp-kitchen-title { margin: 0 0 5px; font-size: 11px; font-weight: 700; }
.fp-ticket { background: #f7f9f5; border: 1px solid #e2e8de; border-radius: 6px; padding: 7px; font-size: 10px; line-height: 1.5; }
.fp-ticket b { display: block; color: var(--fp-green); font-size: 10px; margin-bottom: 3px; }
.fp-ticket-line { display: flex; justify-content: space-between; gap: 5px; }
.fp-phone-label { text-align: center; margin-bottom: 7px; }
.fp-phone { border: 5px solid #26332e; border-radius: 22px; background: #f8f6f0; overflow: hidden; box-shadow: 0 8px 18px rgba(23, 62, 37, .13); max-width: 250px; width: 100%; margin: 0 auto; }
.fp-phone-head { background: #fff; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 800; }
.fp-phone-tabs { display: flex; gap: 7px; align-items: center; font-size: 9px; color: #6c655b; padding: 7px 6px; }
.fp-pill { border-radius: 18px; background: #f65c09; color: #fff; padding: 3px 9px; font-weight: 700; }
.fp-foodgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 6px 8px; }
.fp-food { background: #fff; border: 1px solid #e5dfd5; border-radius: 8px; overflow: hidden; min-width: 0; }
.fp-food img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fp-food-copy { padding: 5px; font-size: 9px; line-height: 1.4; }
.fp-food-copy b { display: block; font-size: 10px; }
.fp-food-price { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; color: #ed5b0d; margin-top: 3px; }
.fp-plus { background: #ed5b0d; border-radius: 50%; width: 16px; height: 16px; text-align: center; color: #fff; font-size: 12px; line-height: 16px; flex-shrink: 0; }
.fp-cartbar { background: #ed5b0d; color: #fff; display: flex; justify-content: space-between; gap: 6px; padding: 8px; font-size: 10px; font-weight: 700; }

/* ===== 主図：割り勘計算 ===== */
.fp-splitmock { background: #fff; border: 1px solid #dbe3d9; border-radius: 14px; padding: 18px; box-shadow: 0 5px 16px rgba(24, 62, 33, .06); }
.fp-mocktop { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--fp-line); padding-bottom: 10px; }
.fp-mocktop span:last-child { color: var(--fp-muted); font-weight: 500; }
.fp-amountrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--fp-line); font-size: 12px; }
.fp-amountrow strong { font-size: 27px; letter-spacing: -.04em; }
.fp-people { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 0; font-size: 12px; }
.fp-stepper { display: flex; align-items: center; gap: 13px; }
.fp-stepper b { font-size: 20px; }
.fp-fakebtn { border: 1px solid #dce3db; border-radius: 7px; padding: 2px 10px; color: #596860; font-size: 20px; line-height: 1.4; }
.fp-result { background: #eef6ef; border: 1px solid #dce9dc; border-radius: 11px; padding: 12px 16px; }
.fp-result-label { font-size: 11px; color: var(--fp-green); font-weight: 700; }
.fp-result-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 0; gap: 12px; }
.fp-result-row b { font-size: 29px; color: var(--fp-green); letter-spacing: -.035em; line-height: 1.3; }
.fp-result-row span { font-size: 14px; font-weight: 600; white-space: nowrap; }
.fp-splitnote { font-size: 11px; color: var(--fp-muted); margin: 11px 0 0; }
.fp-calc { display: flex; justify-content: center; gap: 7px; margin-top: 13px; flex-wrap: wrap; align-items: center; font-size: 11px; color: #607068; }
.fp-person { display: flex; align-items: center; gap: 5px; background: #fff; border: 1px solid #dce4da; border-radius: 7px; padding: 5px 8px; font-weight: 700; color: var(--fp-green); }
.fp-person svg { width: 16px; height: 16px; }
.fp-eq { font-weight: 800; }

/* ===== 図の共通部品（PR-2〜。説明用の画面・札・補足の枠） ===== */
.fp-screen { background: #fff; border: 1px solid #dbe3d9; border-radius: 13px; padding: 17px; box-shadow: 0 5px 16px rgba(24, 62, 33, .06); min-width: 0; }
.fp-screen .fp-screen { box-shadow: none; }
.fp-screen-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--fp-line); padding-bottom: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.fp-small { font-size: 12px; color: var(--fp-muted); font-weight: 400; }
.fp-tag { display: inline-block; border-radius: 5px; padding: 3px 8px; background: #eef3ef; color: #345e48; font-size: 11px; font-weight: 700; line-height: 1.65; white-space: nowrap; }
.fp-tag-blue { background: #eaf2fc; color: #28629a; }
.fp-tag-amber { background: #fff0d2; color: #875300; }
.fp-tag-gray { background: #f0f2f3; color: #5a636a; }
.fp-tag-green { background: #e6f3e9; color: #246744; }
.fp-tag-block { display: block; text-align: center; margin-top: 8px; }
.fp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fp-rule { border-top: 1px solid var(--fp-line); margin: 12px 0; }
.fp .fp-note { font-size: 12px; color: var(--fp-muted); margin: 12px 0 0; line-height: 1.85; }
.fp-ui-action { display: block; border-radius: 7px; background: var(--fp-green); color: #fff; text-align: center; padding: 10px 8px; font-size: 13px; font-weight: 700; }
.fp a.fp-linkline { display: inline-block; font-size: 13px; color: var(--fp-green); font-weight: 700; border-bottom: 1px solid #afcbb8; margin-top: 18px; padding: 4px 0; }
.fp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--fp-green); margin: 0; }
.fp-plan-standard { background: #eef2fa; border-color: #d4ddec; color: #365976; }
.fp-badge-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.fp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 15px; }
.fp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; margin-top: 15px; }
.fp-detail > div { min-width: 0; }
.fp-detail h3 { font-size: 19px; font-weight: 700; margin: 9px 0; color: var(--fp-ink); }
.fp-detail p { color: var(--fp-muted); font-size: 14px; margin: 0 0 10px; }
.fp-detailbox { border: 1px solid var(--fp-line); border-radius: 14px; padding: 25px; background: var(--fp-paper); min-width: 0; }
.fp-detailbox h3 { font-size: 17px; font-weight: 700; margin: 8px 0; color: var(--fp-ink); }
.fp-detailbox p { font-size: 13px; color: var(--fp-muted); margin: 0; }
.fp-detailbox-figure { margin: 16px 0; }
.fp-vis-caption { margin: 16px 0 0; color: var(--fp-muted); font-size: 12px; }
.fp-illust-label { text-align: center; font-size: 12px; color: var(--fp-green); font-weight: 700; margin: 10px 0; }
.fp-money { font-variant-numeric: tabular-nums; letter-spacing: -.04em; white-space: nowrap; }
.fp-negative { color: #a24526; font-weight: 700; }

/* ===== 主図：キッチン画面 ===== */
.fp-kticket { border: 1px solid #e3e7e2; border-radius: 9px; padding: 12px; margin-top: 10px; }
.fp-kticket-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.fp-tablebadge { display: inline-block; background: #e9f2fd; border: 1px solid #c8def9; color: #255b92; border-radius: 5px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.fp-foodrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid #edf0ec; align-items: center; font-size: 13px; }
.fp-foodrow b { font-size: 14px; }
.fp-foodrow small { display: block; font-size: 11px; color: #976120; }
.fp-statuspath { display: flex; align-items: center; gap: 5px; justify-content: center; flex-wrap: wrap; margin: 15px 0 0; font-size: 11px; }
.fp-pending-row { padding: 14px 0; border-top: 1px solid var(--fp-line); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.fp-pending-count { background: #fff0d2; color: #835000; border-radius: 8px; padding: 2px 12px; font-size: 25px; font-weight: 800; white-space: nowrap; }
.fp-pending-count small { font-size: 12px; margin-left: 3px; }
.fp-tablechips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }

/* ===== 主図：テイクアウト注文 ===== */
.fp-takeout-flow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 14px; }
.fp-takeout-flow > div { min-width: 0; }
.fp-takeout-phone { border: 5px solid #26332e; border-radius: 24px; background: #fff; padding: 14px 10px; box-shadow: 0 8px 18px rgba(23, 62, 37, .1); }
.fp-phonebrand { text-align: center; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--fp-line); padding-bottom: 9px; }
.fp-pickup-center { text-align: center; padding: 15px 0; }
.fp-pickup-center small { font-size: 12px; color: var(--fp-muted); }
.fp-pickup-number { font-size: 38px; letter-spacing: -.04em; font-weight: 800; color: var(--fp-green); line-height: 1.35; }
.fp-pickup-time { font-size: 12px; line-height: 1.8; margin-top: 6px; }
.fp-takeout-food { font-size: 12px; padding: 8px 0; border-top: 1px solid var(--fp-line); }
.fp-takeout-side .fp-screen { padding: 13px; }
.fp-takeout-side .fp-pickup-number { font-size: 28px; margin-top: 10px; }
.fp-takeout-side .fp-small { font-size: 11px; margin: 0; }
.fp-time-choice { display: flex; gap: 9px; flex-wrap: wrap; }
.fp-time-choice span { border: 1px solid #d5dfd4; background: #fff; border-radius: 8px; padding: 9px 13px; font-size: 14px; }
.fp-time-choice .fp-chosen { background: #eaf3ed; border: 2px solid var(--fp-green); color: var(--fp-green); font-weight: 700; }
.fp-pickup-display { background: #233d31; border-radius: 12px; padding: 24px; color: #fff; text-align: center; }
.fp-pickup-display small { font-size: 14px; }
.fp-pickup-display b { font-size: 43px; letter-spacing: .02em; display: block; margin: 8px 0; line-height: 1.3; }
.fp-pickup-display p { color: #dfebe2; font-size: 12px; margin: 0; }

/* ===== 主図：お会計 ===== */
.fp-checkout-total { background: #f6f8f4; border-radius: 9px; padding: 13px 15px; margin-bottom: 12px; }
.fp-checkout-total .fp-money { font-size: 33px; font-weight: 700; }
.fp-cash-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.fp-cash-layout > div { min-width: 0; }
.fp-cash-row { border: 1px solid #d8e2ed; background: #f3f7fc; border-radius: 8px; padding: 10px 12px; margin-bottom: 9px; }
.fp-cash-row span { font-size: 12px; display: block; }
.fp-cash-row b { font-size: 27px; display: block; line-height: 1.5; text-align: right; }
.fp-cash-change { background: #eef6ef; border-color: #d2e5d5; color: var(--fp-green); }
.fp-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; align-content: start; }
.fp-keys span { display: flex; justify-content: center; align-items: center; border: 1px solid #dfe5dc; background: #f8faf7; border-radius: 6px; font-size: 18px; font-weight: 600; min-height: 34px; }
.fp-methodrow { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.fp-methodrow span { font-size: 11px; border: 1px solid var(--fp-line); border-radius: 6px; padding: 6px 8px; }
.fp-methodrow .fp-selected { border-color: var(--fp-green); background: #eef6ef; color: var(--fp-green); font-weight: 700; }
.fp-square-flow { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; gap: 10px; }
.fp-square-flow > div { min-width: 0; }
.fp-square-flow .fp-screen { padding: 16px 10px; text-align: center; }
.fp-square-amount { font-size: 27px; font-weight: 800; margin: 10px 0; }
.fp-square-terminal { border: 5px solid #d7ddd8; border-radius: 16px; padding: 16px 10px; background: #fff; text-align: center; box-shadow: 0 5px 12px rgba(25, 62, 37, .06); }
.fp-square-terminal .fp-money { font-size: 30px; display: block; margin: 10px 0; }
.fp-square-terminal small { font-size: 12px; }
.fp-arrow-stack { color: var(--fp-green); font-size: 24px; text-align: center; line-height: 1.3; }
.fp-transfer-note { border-radius: 7px; background: #e9f3eb; padding: 7px; font-size: 12px; text-align: center; margin-top: 14px; color: var(--fp-green); }

/* ===== 主図：割引機能 ===== */
.fp-discount-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0 13px; }
.fp-discount-kind span { border: 1px solid #dce4da; border-radius: 7px; font-size: 12px; padding: 9px 5px; text-align: center; }
.fp-discount-kind .fp-selected { background: #eef6ef; border: 2px solid var(--fp-green); font-weight: 700; color: var(--fp-green); }
.fp-discount-field { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; padding: 8px 0; }
.fp-field-value { background: #f7f9f5; border: 1px solid var(--fp-line); border-radius: 6px; padding: 6px 11px; font-weight: 700; }
.fp-discount-value { font-size: 27px; line-height: 1.3; color: var(--fp-green); }
.fp-bill-result { background: #fff; border: 1px solid #dbe3d9; border-radius: 12px; padding: 14px 17px; margin-top: 12px; }
.fp-bill-result .fp-row, .fp-line-example .fp-row { font-size: 12px; margin: 6px 0; }
.fp-bill-result .fp-total { border-top: 1px solid var(--fp-line); padding-top: 10px; margin-top: 9px; }
.fp-bill-result .fp-total strong { font-size: 29px; color: var(--fp-green); }
.fp-example-math { font-size: 27px; font-weight: 800; color: var(--fp-green); letter-spacing: -.025em; margin: 13px 0; line-height: 1.6; }
.fp-example-math small { font-size: 14px; color: var(--fp-muted); font-weight: 500; }

/* ===== 首屏の補足の枠・小さなアイコン（PR-3） ===== */
.fp-hero-note { border-left: 3px solid var(--fp-green); background: var(--fp-paper); padding: 9px 14px; margin: 14px 0 0; font-size: 13px; color: #54635a; line-height: 1.8; }
.fp-icon { width: 28px; height: 28px; display: block; color: var(--fp-green); }
.fp-flow-arrow { color: var(--fp-green); font-weight: bold; font-size: 23px; text-align: center; }

/* ===== 主図：厨房伝票の自動印刷 ===== */
.fp-print-origin { display: grid; grid-template-columns: 1fr auto 1fr; gap: 9px; align-items: center; }
.fp-print-origin .fp-screen { padding: 12px; text-align: center; }
.fp-print-origin b { font-size: 13px; display: block; }
.fp-print-origin small { font-size: 11px; color: var(--fp-muted); }
.fp-print-origin .fp-icon { margin: 0 auto 7px; }
.fp-printer-assembly { max-width: 260px; margin: 6px auto 0; position: relative; padding-top: 13px; }
.fp-paper-ticket { background: #fff; border: 1px solid #dce0d7; border-bottom: 0; padding: 17px 21px 19px; position: relative; z-index: 2; margin: 0 21px; font-size: 12px; box-shadow: 0 4px 8px rgba(22, 54, 33, .04); }
.fp-paper-ticket::after { content: ''; position: absolute; bottom: -7px; left: 0; right: 0; height: 8px; background: linear-gradient(135deg, #fff 5px, transparent 0) 0 0 / 10px 10px, linear-gradient(225deg, #fff 5px, transparent 0) 0 0 / 10px 10px; }
.fp-paper-title { font-size: 17px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.fp-paper-table { font-size: 24px; text-align: center; font-weight: 800; border-bottom: 1px dashed #bfcabf; padding-bottom: 8px; margin-bottom: 10px; }
.fp-paper-time { text-align: center; margin-bottom: 8px; }
.fp-paper-ticket .fp-row { margin: 6px 0; }
.fp-printer-body { background: #e1e6e0; border: 1px solid #bec8bd; border-radius: 17px 17px 12px 12px; height: 74px; margin-top: -5px; position: relative; box-shadow: 0 9px 14px rgba(25, 56, 33, .08); }
.fp-printer-slot { height: 10px; position: absolute; background: #3b4b40; left: 14px; right: 14px; top: 8px; border-radius: 5px; }
.fp-printer-led { position: absolute; bottom: 14px; right: 19px; background: #398054; width: 7px; height: 7px; border-radius: 50%; }
.fp-printer-body small { position: absolute; bottom: 11px; left: 18px; font-size: 10px; color: #526655; }
.fp-print-foot { text-align: center; font-size: 12px; color: var(--fp-green); font-weight: 700; margin-top: 16px; }
.fp-compare { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 20px; table-layout: fixed; }
.fp-compare caption { text-align: left; margin-bottom: 9px; font-size: 12px; color: var(--fp-muted); }
.fp-compare th, .fp-compare td { text-align: left; border-bottom: 1px solid var(--fp-line); padding: 14px; vertical-align: top; overflow-wrap: anywhere; }
.fp-compare thead th { background: var(--fp-paper); font-weight: 700; }
.fp-compare th { font-weight: 700; }
.fp-compare th:first-child { width: 28%; }
.fp-compare small { display: block; color: var(--fp-muted); line-height: 1.75; margin-top: 5px; font-size: 12px; }
.fp-printer-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.fp-role-box { background: #fff; border: 1px solid var(--fp-line); border-radius: 9px; text-align: center; padding: 14px 9px; }
.fp-role-box .fp-icon { margin: 0 auto 8px; }
.fp-role-box b { font-size: 14px; display: block; }
.fp-role-box small { font-size: 11px; color: var(--fp-muted); }
.fp-detailbox p + p { margin-top: 12px; }

/* ===== 主図：予約管理 ===== */
.fp-reservation-inlets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp-inlet { background: #fff; border: 1px solid #dce4d9; border-radius: 10px; padding: 12px; text-align: center; min-width: 0; }
.fp-inlet .fp-icon { margin: 0 auto 6px; }
.fp-inlet b { font-size: 13px; display: block; }
.fp-inlet small { font-size: 11px; color: var(--fp-muted); }
.fp-reserve-date { background: #f6f8f4; border-radius: 6px; padding: 8px 10px; font-size: 12px; margin-bottom: 5px; }
.fp-reserve-row { border-top: 1px solid var(--fp-line); padding: 12px 0; display: grid; grid-template-columns: 47px 1fr auto; align-items: center; gap: 9px; font-size: 12px; }
.fp-reserve-row > strong { font-size: 14px; }
.fp-reserve-person b { font-size: 13px; display: block; }
.fp-reserve-person small { font-size: 11px; color: var(--fp-muted); }
.fp-reserve-end { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.fp-reserve-end .fp-ui-action { font-size: 12px; padding: 7px 11px; white-space: nowrap; }
.fp-form-label { display: block; font-size: 12px; color: var(--fp-muted); margin-bottom: 5px; }
.fp-form-value { padding: 10px 12px; background: #fff; border: 1px solid #dce4da; border-radius: 7px; font-size: 14px; }
.fp-form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp-form-group { margin-top: 13px; }
.fp-slotrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 7px; }
.fp-slotrow span { background: #fff; border: 1px solid #dce4da; border-radius: 7px; text-align: center; padding: 10px 2px; font-size: 13px; }
.fp-slotrow .fp-selected { background: #eaf3ec; border: 2px solid var(--fp-green); font-weight: 700; color: var(--fp-green); }
.fp-slotrow .fp-unavailable { background: #ecefeb; color: #737c74; }

/* ===== 画面幅 ===== */
@media (max-width: 1023px) {
    .fp-hero { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 44px; }
    .fp-visual { width: 100%; max-width: 620px; margin: 0 auto; }
    .fp-detail { gap: 25px; }
    .fp-square-terminal .fp-money, .fp-square-amount { font-size: 22px; }
    .fp-square-flow { gap: 7px; grid-template-columns: 1fr 27px 1fr; }
    .fp-square-terminal { padding: 12px 6px; }
}
@media (max-width: 760px) {
    .fp-wrap { padding: 0 18px; }
    .fp-hero { gap: 24px; padding: 27px 0 35px; }
    .fp-hero h1 { font-size: 35px; }
    .fp-visual { padding: 16px; }
    .fp-three { grid-template-columns: 1fr; gap: 10px; }
    .fp-section { padding: 29px 0; }
    .fp-section h2 { font-size: 23px; }
    .fp-step { padding: 16px; }
    .fp-end { padding: 24px 13px; }
    .fp-end h2 { font-size: 22px; }
    .fp-back { text-align: left; }
    .fp-flow { gap: 9px; }
    .fp-qrstand { padding: 8px; }
    .fp-kitchen { padding: 7px; }
    .fp-splitmock { padding: 14px; }
    .fp-result-row b { font-size: 25px; }
    .fp-two, .fp-detail { grid-template-columns: 1fr; gap: 15px; }
    .fp-screen { padding: 13px; }
    .fp-detail .fp-screen { padding: 17px; }
    .fp-screen-head { font-size: 12px; }
    .fp-detailbox { padding: 20px; }
    .fp-takeout-flow { gap: 10px; }
    .fp-takeout-phone { padding: 12px 8px; border-width: 4px; border-radius: 20px; }
    .fp-pickup-number { font-size: 32px; }
    .fp-takeout-side .fp-screen { padding: 10px; }
    .fp-takeout-side .fp-pickup-number { font-size: 25px; }
    .fp-cash-layout { gap: 9px; }
    .fp-cash-row { padding: 9px; }
    .fp-cash-row b { font-size: 25px; }
    .fp-checkout-total .fp-money { font-size: 30px; }
    .fp-keys span { font-size: 16px; }
    .fp-square-flow { gap: 7px; grid-template-columns: 1fr 27px 1fr; }
    .fp-square-terminal { padding: 12px 6px; }
    .fp-square-terminal .fp-money { font-size: 25px; }
    .fp-square-amount { font-size: 23px; }
    .fp-compare th, .fp-compare td { padding: 12px 8px; font-size: 12px; }
    .fp-compare th:first-child { width: 24%; }
    .fp-compare small { font-size: 11px; }
    .fp-reservation-inlets { gap: 8px; }
    .fp-inlet { padding: 11px 6px; }
    .fp-reserve-row { gap: 6px; grid-template-columns: 44px 1fr auto; }
    .fp-reserve-row .fp-tag { padding: 3px 6px; font-size: 10px; }
}
@media (max-width: 359px) {
    .fp-hero h1 { font-size: 27px; }
    .fp-visual { padding: 12px; }
    .fp-amountrow strong { font-size: 24px; }
    .fp-flow { grid-template-columns: 1fr 1.6fr; gap: 7px; }
    .fp-phone { border-width: 4px; }
    .fp-foodgrid { gap: 4px; padding: 0 4px 6px; }
    .fp-food-copy { padding: 4px; }
    .fp-food-price { font-size: 11px; }
    .fp-plus { width: 14px; height: 14px; line-height: 14px; font-size: 11px; }
    .fp-cartbar { padding: 7px 6px; font-size: 9px; }
    .fp-pickup-number { font-size: 27px; }
    .fp-takeout-side .fp-pickup-number { font-size: 22px; }
    .fp-cash-row b { font-size: 21px; }
    .fp-checkout-total .fp-money { font-size: 26px; }
    .fp-square-terminal .fp-money, .fp-square-amount { font-size: 17px; }
    .fp-square-flow .fp-screen { padding: 12px 6px; }
    .fp-square-terminal { border-width: 4px; }
    .fp-pickup-display b { font-size: 36px; }
    .fp-example-math { font-size: 24px; }
    .fp-compare th, .fp-compare td { padding: 10px 5px; font-size: 11px; }
    .fp-compare th:first-child { width: 22%; }
    .fp-paper-ticket { margin: 0 12px; padding: 14px 14px 16px; }
    .fp-reserve-end { flex-wrap: wrap; }
}

/* ===== 機能詳細ページの Phase 7 の節（Issue #621 PR-2）：/features/kitchen（待ち時間・売り切れ・注文受付）と /features/qr-order（呼び出し・おかわり）。
   #606 の部品（fp-detail・fp-screen・fp-foodrow・fp-tag）に、図に要る分だけ足す。ボタンに見える部分は span の .fp-fake（押せない）。
   待ち時間・呼び出しの図は、/features の 6 つの機能のカードと同じ .mo-six の部品を使う（ファイル末尾の .mo-six-embed）。 */
.fp-anchor { scroll-margin-top: 5rem; }
.fp-detail + .fp-detail { margin-top: 48px; padding-top: 40px; border-top: 1px dashed var(--fp-line); }
.fp-tag-red { background: #fdecea; color: #b42318; }
.fp-tag-solid-red { background: #c62828; color: #fff; }
.fp-headleft { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fp-fake { display: inline-block; border: 1px solid #d5ddd5; background: #f7f9f6; color: #3d4a43; border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.fp-fake-green { background: #e6f3e9; border-color: #bcd9c4; color: #246744; }
.fp-fake-red { background: #fff0ef; border-color: #f3c2bd; color: #a52420; }
.fp-fake-orange { background: #fff5eb; border-color: #e6b99b; color: #a14110; }
.fp-fake-off { background: #eceff0; border-color: #d9dee0; color: #6b7479; }
.fp-optrow:first-child { border-top: 0; }
.fp-state { display: block; font-size: 11px; font-weight: 700; color: #237047; }
.fp-state.is-red { color: #b42318; }
.fp .fp-subscreen-label { margin: 14px 0 6px; font-size: 11px; font-weight: 700; color: var(--fp-muted); }
.fp-guestbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--fp-line); background: var(--fp-paper); border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 700; }
.fp-cartnote { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; border: 1px solid #f6c9a8; background: #fff4ec; border-radius: 9px; padding: 8px 10px; font-size: 12px; }
.fp-cartnote b { color: #b2470b; }
.fp-cartnote span { color: var(--fp-muted); font-size: 11px; }
@media (max-width: 760px) {
    .fp-detail + .fp-detail { margin-top: 32px; padding-top: 28px; }
}

/* ===== /features「忙しいお店を支える、6つの便利な機能」（Issue #621・#528 Phase 7） =====
   GPT の最終デザイン（miseorder-phase7-six-features.html）の CSS をそのまま移植。すべて .mo-six の中だけに効かせる。
   列：〜639px は 1 列（スマホ）、640〜1199px は 2 列（iPad）、1200px〜 は 3 列（PC）。
   図は画面イメージ（押せる部品は置かない。ボタンに見える部分は span）。画像ファイル・CSS の背景画像は使わない。 */
.mo-six { --green:#20664f; --ink:#172b24; --muted:#53665d; --line:#e0e8e2; --paper:#f7f9f8; --blue:#2563eb; --orange:#f59e0b; color:var(--ink); background:var(--paper); padding:64px 0 72px; border-top:1px solid var(--line); line-height:1.65; }
.mo-six *, .mo-six *::before, .mo-six *::after { box-sizing:border-box; }
.mo-six .mo-wrap { max-width:1152px; margin:0 auto; padding:0 24px; }
.mo-six .mo-intro { max-width:720px; margin:0 auto 34px; text-align:center; }
.mo-six .mo-intro h2 { margin:0 0 10px; color:var(--green); font-size:clamp(23px,3vw,34px); line-height:1.45; letter-spacing:.015em; font-weight:800; }
.mo-six .mo-intro p { margin:0; font-size:15px; color:var(--muted); }
.mo-six .mo-intro .mo-free-line { margin-top:12px; color:var(--green); font-weight:700; font-size:15px; }
.mo-six .mo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.mo-six .mo-card { min-width:0; padding:17px; background:#fff; border:1px solid #dfe7e2; border-radius:17px; box-shadow:0 3px 12px #24443406; display:flex; flex-direction:column; scroll-margin-top:5rem; }
.mo-six .mo-figure { margin:0 0 17px; padding:13px; background:#f0f5f2; border:1px solid #e1e9e3; border-radius:12px; min-height:324px; display:flex; flex-direction:column; min-width:0; }
.mo-six .mo-fig-head { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:10px; color:#476257; font-size:12px; font-weight:700; }
.mo-six .mo-mock { white-space:nowrap; border:1px solid #cedbd1; border-radius:4px; padding:1px 6px; font-size:11px; font-weight:500; background:#fff; color:#57675e; }
.mo-six .mo-fig-body { display:flex; flex:1; flex-direction:column; justify-content:center; min-width:0; }
.mo-six .mo-card h3 { margin:0 0 8px; font-size:18px; line-height:1.55; font-weight:800; color:#183c30; overflow-wrap:anywhere; }
.mo-six .mo-copy { margin:0 0 15px; color:#47574f; font-size:14px; line-height:1.85; }
.mo-six .mo-foot { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:auto 0 0; padding-top:13px; border-top:1px solid #edf1ee; }
.mo-six .mo-plan { display:inline-block; color:#20664f; background:#edf6ef; border:1px solid #d9e9df; font-size:12px; padding:1px 9px; border-radius:5px; font-weight:700; }
.mo-six .mo-link { display:inline-flex; align-items:center; gap:5px; color:var(--green); font-size:13px; font-weight:700; text-decoration:none; padding:5px 0; }
.mo-six .mo-link:hover { text-decoration:underline; text-underline-offset:3px; }
.mo-six .mo-link:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.mo-six .mo-link svg { width:14px; height:14px; flex:none; }
.mo-six .mo-icon { width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mo-six .mo-panel { border:1px solid #dce6de; border-radius:10px; padding:12px; background:#fff; min-width:0; }
.mo-six .mo-panel-title { display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:14px; font-weight:800; margin:0 0 11px; line-height:1.35; }
.mo-six .mo-panel-title .mo-icon { width:16px; height:16px; color:#547667; }
.mo-six .mo-panel-title > span:first-child { display:flex; align-items:center; gap:6px; }
.mo-six .mo-sub { color:#62736a; font-size:11px; font-weight:500; }
.mo-six .mo-table { display:inline-flex; align-items:baseline; justify-content:center; gap:5px; background:#2563eb; color:#fff; border-radius:5px; padding:2px 8px; min-width:45px; line-height:1.2; font-weight:800; white-space:nowrap; font-variant-numeric:tabular-nums; }
.mo-six .mo-table small { font-size:12px; font-weight:650; }
.mo-six .mo-table b { font-size:21px; }
/* 1. Quantity first: large numeral, separate unit, blue table tag, independent quantities. */
.mo-six .mo-pending-head { display:flex; align-items:center; gap:12px; margin:2px 0 12px; }
.mo-six .mo-total { display:inline-flex; align-items:baseline; justify-content:center; gap:2px; padding:0 7px; min-width:65px; min-height:53px; border-radius:8px; background:#f59e0b; color:#171b20; font-variant-numeric:tabular-nums; flex:none; line-height:1.18; }
.mo-six .mo-total b { font-size:41px; letter-spacing:-.04em; font-weight:850; }
.mo-six .mo-total small { font-size:15px; font-weight:800; }
.mo-six .mo-dish { font-size:19px; line-height:1.45; font-weight:800; }
.mo-six .mo-breakdown { display:grid; gap:5px; }
.mo-six .mo-breakdown-row { display:flex; justify-content:space-between; align-items:center; padding:4px 8px; border:1px solid #e3eae4; background:#f8faf8; border-radius:7px; min-height:37px; }
.mo-six .mo-row-qty { display:inline-flex; align-items:baseline; gap:2px; color:#8a4d00; font-weight:800; font-variant-numeric:tabular-nums; line-height:1.1; }
.mo-six .mo-row-qty b { font-size:24px; } .mo-six .mo-row-qty small { font-size:13px; }
/* 2. Dark kitchen screen shows actual time alert contrast, not colored whole cards. */
.mo-six .mo-dark { background:#1f2937; border-color:#28384a; color:#f8fafc; padding:12px; }
.mo-six .mo-dark .mo-panel-title .mo-icon { color:#cbd5e1; }
.mo-six .mo-dark .mo-sub { color:#b7c4d5; }
.mo-six .mo-wait-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; padding:8px 8px 8px 10px; border-left:3px solid #64748b; border-radius:5px; background:#2b3748; margin-top:6px; min-height:44px; }
.mo-six .mo-wait-row .mo-food { font-size:13px; font-weight:700; }
.mo-six .mo-wait-row .mo-food small { display:block; font-size:11px; font-weight:500; color:#c4cfdd; }
.mo-six .mo-wait-time { display:inline-flex; align-items:baseline; gap:2px; font-size:24px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; color:#e2e8f0; }
.mo-six .mo-wait-time small { font-size:12px; }
.mo-six .mo-wait-row.is-warn { border-left-color:#f59e0b; } .mo-six .mo-wait-row.is-warn .mo-wait-time { color:#fbbf24; }
.mo-six .mo-wait-row.is-late { border-left-color:#ef4444; } .mo-six .mo-wait-row.is-late .mo-wait-time { color:#f87171; }
.mo-six .mo-legend { margin:10px 0 0; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; font-size:11px; color:#cbd5e1; }
.mo-six .mo-legend span { display:inline-flex; align-items:center; gap:5px; } .mo-six .mo-legend i { width:9px; height:9px; border-radius:2px; display:inline-block; }
/* 3 and 4. Visual-only action labels: no controls, no JS. */
.mo-six .mo-option { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:13px 0; border-top:1px solid #e7ede8; min-width:0; }
.mo-six .mo-option > div { min-width:0; }
.mo-six .mo-option b { display:block; font-size:15px; font-weight:800; line-height:1.4; }
.mo-six .mo-state { display:flex; align-items:center; gap:4px; margin-top:3px; font-size:12px; font-weight:650; color:#237047; }
.mo-six .mo-state i { width:7px; height:7px; background:currentColor; border-radius:50%; flex:none; }
.mo-six .mo-state.is-red { color:#b42318; }
.mo-six .mo-fake { display:inline-flex; align-items:center; justify-content:center; gap:4px; border:1px solid; border-radius:6px; padding:6px 8px; font-size:12px; font-weight:700; line-height:1.4; text-align:center; flex:none; white-space:nowrap; }
.mo-six .mo-fake.is-red { color:#a52420; background:#fff0ef; border-color:#f3c2bd; }
.mo-six .mo-fake.is-green { color:#14613e; background:#e8f6ec; border-color:#c6e6d1; }
.mo-six .mo-fake.is-neutral { color:#40554a; background:#f5f8f5; border-color:#d7e1d9; }
.mo-six .mo-paused { background:#a52420; color:#fff; font-size:11px; font-weight:700; border-radius:4px; padding:3px 6px; white-space:nowrap; }
.mo-six .mo-pause-note { color:#697a70; font-size:11px; margin:8px 0 0; }
.mo-six .mo-pause .mo-option { padding:10px 0; }
.mo-six .mo-pause .mo-option b { font-size:14px; }
.mo-six .mo-pause .mo-option .mo-sub { display:block; margin-top:2px; }
/* 5. Four choices, icons and two columns, followed by the received kitchen notification. */
.mo-six .mo-call-panel { padding:10px; }
.mo-six .mo-dialog-title { font-size:13px; font-weight:800; text-align:center; margin:0 0 9px; }
.mo-six .mo-call-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.mo-six .mo-call-choice { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-width:0; min-height:61px; gap:3px; padding:5px 2px; background:#fff; border:1px solid #dce6df; color:#342c25; border-radius:7px; font-size:12px; font-weight:700; line-height:1.3; }
.mo-six .mo-call-choice .mo-icon { width:23px; height:23px; color:#ea580c; }
.mo-six .mo-call-choice.is-selected { border:2px solid #f97316; background:#fff1e5; color:#9a3412; padding:4px 1px; }
.mo-six .mo-flow-arrow { display:flex; align-items:center; justify-content:center; height:23px; color:#ea580c; }
.mo-six .mo-flow-arrow .mo-icon { width:16px; height:16px; }
.mo-six .mo-call-received { background:#263346; color:#fff; border-left:4px solid #f59e0b; border-radius:7px; display:flex; gap:8px; align-items:center; padding:7px 8px; min-width:0; }
.mo-six .mo-call-received .mo-table { padding:2px 7px; } .mo-six .mo-call-received .mo-table b { font-size:19px; }
.mo-six .mo-call-received > b { font-size:14px; color:#fde7b3; }
.mo-six .mo-call-received > small { margin-left:auto; color:#cbd5e1; font-size:11px; text-align:right; }
/* 6. Cart, not an order: show the explicit unsent label. */
.mo-six .mo-reorder .mo-option { padding:11px 0; } /* v2 は 12px。小さなイラスト（44px）で図が 2px 高くなり、同じ行の見出しがずれるため 1px ずつ詰める（#621） */
.mo-six .mo-reorder .mo-option b { font-size:14px; }
.mo-six .mo-order-item { display:flex; align-items:center; gap:8px; min-width:0; }
.mo-six .mo-order-item b { overflow-wrap:anywhere; }
.mo-six .mo-food-thumb { display:block; flex:0 0 44px; width:44px; height:44px; border-radius:7px; overflow:hidden; background:#fbf6ec; }
@media(max-width:359px) { .mo-six .mo-food-thumb { flex-basis:36px; width:36px; height:36px; } .mo-six .mo-order-item { gap:5px; } }
.mo-six .mo-reorder .mo-fake { border-color:#e6b99b; color:#a14110; background:#fff5eb; }
.mo-six .mo-cart { display:flex; align-items:center; gap:8px; border:1px solid #e3e8e1; border-radius:8px; background:#f4f8f3; padding:9px 10px; margin-top:7px; color:#20664f; }
.mo-six .mo-cart .mo-icon { width:20px; height:20px; }
.mo-six .mo-cart b { display:block; font-size:15px; line-height:1.4; }
.mo-six .mo-cart small { display:block; font-size:11px; color:#596c61; line-height:1.5; }
.mo-six .mo-cart .mo-cart-count { font-size:20px; font-weight:850; font-variant-numeric:tabular-nums; }
@media(max-width:1199px) { .mo-six .mo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .mo-six .mo-wrap { max-width:900px; } }
@media(max-width:639px) { .mo-six { padding:40px 0 48px; } .mo-six .mo-wrap { padding:0 15px; max-width:460px; } .mo-six .mo-grid { grid-template-columns:minmax(0,1fr); gap:14px; } .mo-six .mo-intro { margin-bottom:24px; } .mo-six .mo-intro p { font-size:14px; } .mo-six .mo-card { padding:14px; } .mo-six .mo-figure { min-height:0; padding:12px; } .mo-six .mo-fig-body { min-height:210px; } .mo-six .mo-card h3 { font-size:18px; } }
@media(max-width:359px) { .mo-six .mo-wrap { padding:0 12px; } .mo-six .mo-card { padding:12px; } .mo-six .mo-figure { padding:9px; } .mo-six .mo-panel { padding:10px; } .mo-six .mo-fake { font-size:11px; padding:6px; } .mo-six .mo-option b { font-size:13px; } .mo-six .mo-call-choice { font-size:11px; } }
/* 移植時の追加：見本の style 属性をクラスに置き換え（値は同じ）・スタンダードの印（FeaturePagePlan で Free でなくなったとき） */
.mo-six .mo-legend i.is-warn { background:#f59e0b; } .mo-six .mo-legend i.is-late { background:#ef4444; }
.mo-six .mo-icon.is-amber { color:#fbbf24; }
.mo-six .mo-plan.is-standard { background:#eef2fa; border-color:#d4ddec; color:#365976; }
/* 機能詳細ページ（/features/kitchen の待ち時間・/features/qr-order の呼び出し。Issue #621 PR-2）で、上の .mo-six の図をそのまま使うための入れ物。
   .mo-six の節としての余白・背景・上の線だけを打ち消す。足すのは、伝票の「最長 ○分待ち」と、キッチンの通知の［対応しました］の見た目だけ。 */
.mo-six.mo-six-embed { padding:0; background:transparent; border-top:0; }
.mo-six .mo-ticket-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:2px 0 2px; }
.mo-six .mo-maxwait { background:#7f1d1d; color:#fecaca; border:1px solid #ef4444; border-radius:5px; padding:2px 7px; font-size:11px; font-weight:700; white-space:nowrap; }
.mo-six .mo-call-received .mo-ack { margin-left:auto; border:1px solid #64748b; background:#334155; color:#e2e8f0; border-radius:6px; padding:3px 8px; font-size:11px; font-weight:700; white-space:nowrap; }
.fp .mo-six-embed .fp-subscreen-label { margin:8px 0 6px; }

/* ===== /features 機能一覧の区画（Issue #704）。区画：メニューを作る・整える（#711）／お客様のメニュー画面（#715）／注文を受ける=====================================================
   見本 /Users/Shared/issue-704/menu-sample.html（GPT 視覚審査済み）を移植。最初の区画は「メニューを作る・整える」。
   以降の区画も同じ部品・基準を使う。すべて .mm-section の中だけに効かせる（Tailwind 2.2.19 の preflight の上に書く）。

   色      ブランドの青 #2563eb（アイコン線）/ スタンダードの印 字 #1d4ed8・下地 #eff6ff・枠 #bfdbfe / 見出し #111827
           本文 #374151 / 補足 #6b7280 / 区切り線 #e5e7eb / 図の下地 #f9fafb。状態色は意味のときだけ（売り切れ #dc2626・#fef2f2、文字も添える）
   グリッド 640px 以上 2 列（列間 40px、1023px 以下 32px）/ 639px 以下 1 列。3 列にはしない。どの幅も「左に図・アイコン、右に文」
           関係の深い項目は隣に置く（2 列で同じ行になる順に並べる）
   アイコン 44px・角丸 10px・薄い青の下地に、24px のインライン SVG（viewBox 0 0 24 24、線 1.8、丸い線端）。Font Awesome と混ぜない
   図解    幅 152px（1024px 以上）/ 116px（640〜1023px）/ 120px（スマホ）/ 108px（360px 以下）。中身に合う大きさだけ
           1 つの図で 1 つのことだけ。role="img"＋aria-label、中身は aria-hidden。a・button などフォーカスできるものを置かない
   文字    区画見出し 22px（スマホ 20px）＋32px の青いアイコン / 導入文 15px（スマホ 14px、区画の左端から全幅）
           項目見出し 16px / 説明 14px / 補足 13px / 図の注記 12px
   印      見出しの直後。Free＝灰、スタンダード＝青、文字で区別。どちらになるかは config/plans.php から（Blade に直書きしない） */
.mm-section { --mm-blue:#2563eb; --mm-blue-ink:#1d4ed8; --mm-blue-50:#eff6ff; --mm-blue-200:#bfdbfe; --mm-ink:#111827; --mm-text:#374151; --mm-muted:#6b7280; --mm-line:#e5e7eb; --mm-paper:#f9fafb; --mm-red:#dc2626; --mm-red-50:#fef2f2; --mm-fig-w:152px;
  color:var(--mm-text); line-height:1.75; text-align:left; padding:8px 0 40px; scroll-margin-top:5rem; }
.mm-section *, .mm-section *::before, .mm-section *::after { box-sizing:border-box; }
.mm-section .mm-head { display:flex; gap:10px; align-items:center; margin:0; }
.mm-section .mm-head h3 { margin:0; font-size:22px; line-height:1.5; font-weight:700; color:var(--mm-ink); }
.mm-section .mm-head-icon { flex:none; width:32px; height:32px; border-radius:8px; background:var(--mm-blue); color:#fff; display:flex; align-items:center; justify-content:center; }
.mm-section .mm-head-icon svg { width:20px; height:20px; }
.mm-section .mm-lead { margin:8px 0 0; font-size:15px; color:var(--mm-text); }
.mm-section .mm-nowrap { white-space:nowrap; }
.mm-section .mm-grid { list-style:none; margin:16px 0 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:40px; }
.mm-section .mm-item { display:flex; gap:16px; align-items:flex-start; padding:20px 0; border-top:1px solid var(--mm-line); min-width:0; }
.mm-section .mm-visual { flex:none; }
.mm-section .mm-text { min-width:0; flex:1; }
.mm-section .mm-text h4 { margin:0; font-size:16px; line-height:1.6; font-weight:700; color:var(--mm-ink); overflow-wrap:anywhere; }
.mm-section .mm-desc { margin:4px 0 0; font-size:14px; line-height:1.75; }
.mm-section .mm-note { margin:6px 0 0; font-size:13px; color:var(--mm-muted); line-height:1.7; }
.mm-section .mm-plan { display:inline-block; margin-left:6px; vertical-align:2px; font-size:12px; line-height:1.5; font-weight:700; padding:0 6px; border-radius:4px; white-space:nowrap; color:#4b5563; background:#f3f4f6; border:1px solid var(--mm-line); }
.mm-section .mm-plan.is-standard { color:var(--mm-blue-ink); background:var(--mm-blue-50); border-color:var(--mm-blue-200); }
.mm-section .mm-icon { width:44px; height:44px; border-radius:10px; background:var(--mm-blue-50); color:var(--mm-blue); display:flex; align-items:center; justify-content:center; }
.mm-section .mm-icon svg { width:24px; height:24px; }
.mm-section .mm-head-icon svg, .mm-section .mm-icon svg, .mm-section .mm-step svg { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mm-section .mm-fig { width:var(--mm-fig-w); margin:0; padding:8px; background:var(--mm-paper); border:1px solid var(--mm-line); border-radius:10px; font-size:12px; line-height:1.4; color:var(--mm-ink); }
.mm-section .mm-fig p { margin:0; }
.mm-section .mm-fig-label { font-size:11px; font-weight:700; color:var(--mm-muted); margin:0 0 6px !important; }
.mm-section .mm-choice { display:flex; align-items:center; gap:5px; padding:5px 6px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; }
.mm-section .mm-choice + .mm-choice { margin-top:4px; }
.mm-section .mm-choice i { flex:none; width:12px; height:12px; border-radius:50%; border:1.5px solid #9ca3af; background:#fff; }
.mm-section .mm-choice.is-on { border-color:var(--mm-blue-200); background:var(--mm-blue-50); font-weight:700; }
.mm-section .mm-choice.is-on i { border-color:var(--mm-blue); box-shadow:inset 0 0 0 2.5px #fff; background:var(--mm-blue); }
.mm-section .mm-choice > span { display:flex; flex-wrap:wrap; column-gap:6px; min-width:0; }
.mm-section .mm-choice span span, .mm-section .mm-choice b { white-space:nowrap; }
.mm-section .mm-choice b { font-weight:700; color:var(--mm-blue-ink); }
.mm-section .mm-stock { display:flex; flex-direction:column; align-items:stretch; gap:3px; text-align:center; }
.mm-section .mm-pill { display:block; padding:4px 6px; border-radius:6px; font-weight:700; background:#fff; border:1px solid var(--mm-line); }
.mm-section .mm-pill.is-out { color:var(--mm-red); background:var(--mm-red-50); border-color:#fecaca; }
.mm-section .mm-step { display:flex; align-items:center; justify-content:center; gap:3px; font-size:11px; color:var(--mm-muted); }
.mm-section .mm-step svg { width:12px; height:12px; stroke-width:2; }
.mm-section .mm-lang { display:flex; flex-direction:column; gap:6px; }
.mm-section .mm-lang p { display:flex; flex-direction:column; align-items:flex-start; gap:2px; }
.mm-section .mm-lang span { font-size:10px; font-weight:700; padding:1px 5px; border-radius:4px; background:#fff; border:1px solid var(--mm-line); color:var(--mm-muted); }
.mm-section .mm-lang b { font-weight:700; white-space:nowrap; }
.mm-section .mm-caption { margin:8px 0 0; font-size:12px; color:var(--mm-muted); }
/* 区画の中の本物のリンク（詳細ページへ。項目ごとに付けない。#704「お客様のメニュー画面」の見た目の項目だけ） */
.mm-section .mm-link { display:inline-block; margin:6px 0 0; padding:4px 0; font-size:14px; font-weight:700; color:var(--mm-blue-ink); text-decoration:underline; text-underline-offset:3px; }
.mm-section .mm-link:hover { color:#1e3a8a; }
.mm-section .mm-link:focus-visible { outline:2px solid var(--mm-blue); outline-offset:2px; border-radius:2px; }
/* 図：メニューの見た目（上部タブ／左右分割の骨組みだけ。5 つの画面を縮めて並べない） */
.mm-section .mm-layouts { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.mm-section .mm-screen { border:1px solid var(--mm-line); border-radius:6px; background:#fff; padding:4px; height:62px; display:flex; flex-direction:column; gap:3px; overflow:hidden; }
.mm-section .mm-screen.is-split { flex-direction:row; }
.mm-section .mm-screen-cats { display:flex; gap:2px; flex:none; }
.mm-section .mm-screen.is-split .mm-screen-cats { flex-direction:column; width:30%; }
.mm-section .mm-screen-cats i { display:block; height:7px; flex:1; border-radius:2px; background:var(--mm-blue-200); }
.mm-section .mm-screen-cats i:first-child { background:var(--mm-blue); }
.mm-section .mm-screen-items { display:flex; flex-direction:column; gap:3px; flex:1; min-width:0; }
.mm-section .mm-screen-items i { display:block; height:9px; border-radius:2px; background:#e5e7eb; }
.mm-section .mm-screen-label { display:block; margin-top:3px; font-size:10px; font-weight:700; color:var(--mm-muted); text-align:center; white-space:nowrap; }
/* 図：当店のおすすめ（先頭に入るカテゴリ） */
.mm-section .mm-reco-head { font-size:11px; font-weight:700; color:var(--mm-blue-ink); margin:0 0 4px !important; }
.mm-section .mm-dish { display:flex; align-items:center; gap:5px; padding:3px 5px; border:1px solid var(--mm-blue-200); background:var(--mm-blue-50); border-radius:5px; font-weight:700; white-space:nowrap; }
.mm-section .mm-dish + .mm-dish { margin-top:3px; }
.mm-section .mm-dish i { flex:none; width:12px; height:12px; border-radius:3px; background:var(--mm-blue-200); }
.mm-section .mm-reco-next { font-size:11px; font-weight:700; color:var(--mm-muted); margin:6px 0 3px !important; padding-top:4px; border-top:1px dashed var(--mm-line); }
.mm-section .mm-plain { display:block; height:9px; border-radius:2px; background:#e5e7eb; }
/* 図：バナー（カテゴリが上に並ぶ画面の上部） */
.mm-section .mm-banner-tabs { display:flex; gap:3px; margin:0 0 5px; }
.mm-section .mm-banner-tabs i { display:block; height:8px; flex:1; border-radius:2px; background:var(--mm-blue-200); }
.mm-section .mm-banner-tabs i:first-child { background:var(--mm-blue); }
.mm-section .mm-banner { display:flex; align-items:center; justify-content:center; height:40px; border-radius:6px; background:linear-gradient(135deg,#fde68a,#fdba74); color:#7c2d12; font-weight:700; font-size:12px; white-space:nowrap; }
.mm-section .mm-dots { display:flex; justify-content:center; gap:4px; margin-top:5px; }
.mm-section .mm-dots i { width:5px; height:5px; border-radius:50%; background:#d1d5db; }
.mm-section .mm-dots i:first-child { background:var(--mm-blue); }
/* 図：注文の入口（お客様のスマホ・スタッフの端末 → キッチン画面）。#704「注文を受ける」 */
.mm-section .mm-flow { display:flex; flex-direction:column; align-items:stretch; gap:3px; text-align:center; }
.mm-section .mm-flow-src { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.mm-section .mm-flow-box { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; min-height:30px; padding:3px 2px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; font-size:10px; font-weight:700; line-height:1.25; }
.mm-section .mm-flow-box span { white-space:nowrap; }
.mm-section .mm-flow-arrows { display:grid; grid-template-columns:1fr 1fr; color:var(--mm-muted); }
.mm-section .mm-flow-arrows svg { width:12px; height:12px; margin:0 auto; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.mm-section .mm-flow-box.is-kitchen { background:var(--mm-blue-50); border-color:var(--mm-blue-200); color:var(--mm-blue-ink); font-size:11px; }
/* #704「キッチン・伝票」 */
/* 項目の中の小さな補足のまとまり（見出し＋1 文。カードにしない） */
.mm-section .mm-subnote { margin:10px 0 0; padding:8px 0 0 10px; border-left:3px solid var(--mm-blue-200); }
.mm-section .mm-subnote b { display:block; font-size:13px; font-weight:700; color:var(--mm-ink); }
.mm-section .mm-subnote p { margin:2px 0 0; font-size:13px; color:var(--mm-text); line-height:1.7; }
/* 図：調理・提供の進み具合（2 行。1 行目の終わりから 2 行目の初めへ線でつなぐ） */
.mm-section .mm-steps { display:flex; flex-direction:column; gap:0; }
.mm-section .mm-steps-row { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:3px; }
.mm-section .mm-state { display:block; padding:4px 2px; border-radius:6px; text-align:center; font-weight:700; font-size:11px; white-space:nowrap; background:#f3f4f6; border:1px solid var(--mm-line); color:#4b5563; }
.mm-section .mm-state.is-now { background:var(--mm-blue); border-color:var(--mm-blue); color:#fff; }
.mm-section .mm-steps-row svg { width:10px; height:10px; fill:none; stroke:var(--mm-muted); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.mm-section .mm-steps-turn { display:block; width:100%; height:14px; }
.mm-section .mm-steps-turn path { fill:none; stroke:var(--mm-muted); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
/* 図：パソコンなしで自動印刷（注文 → Epson プリンター） */
.mm-section .mm-print { display:flex; flex-direction:column; align-items:stretch; gap:3px; text-align:center; }
.mm-section .mm-print-box { display:block; padding:5px 3px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; font-weight:700; font-size:11px; white-space:nowrap; }
.mm-section .mm-print-box.is-printer { background:var(--mm-blue-50); border-color:var(--mm-blue-200); color:var(--mm-blue-ink); }
.mm-section .mm-print > svg { width:12px; height:12px; margin:0 auto; fill:none; stroke:var(--mm-muted); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.mm-section .mm-print-tag { display:block; margin-top:2px; font-size:10px; font-weight:700; color:var(--mm-muted); }
/* 区画の下の、ページ内の既存の機能への入口（カードにしない） */
.mm-section .mm-more { margin:4px 0 0; padding:16px 0 0; border-top:1px solid var(--mm-line); }
.mm-section .mm-more-title { margin:0 0 6px; font-size:14px; font-weight:700; color:var(--mm-ink); }
.mm-section .mm-more ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:4px 20px; }
.mm-section .mm-more a { display:inline-block; padding:6px 0; font-size:14px; color:var(--mm-blue-ink); text-decoration:underline; text-underline-offset:3px; }
.mm-section .mm-more a:hover { color:#1e3a8a; }
.mm-section .mm-more a:focus-visible { outline:2px solid var(--mm-blue); outline-offset:2px; border-radius:2px; }
/* #704「テイクアウト」 */
/* 導入文のすぐ下の、外せない条件（小さめの 1 行。注記の色） */
.mm-section .mm-lead-note { margin:4px 0 0; font-size:13px; color:var(--mm-muted); }
/* 区画の終わりのリンク（詳細ページ 1 つだけのとき） */
.mm-section .mm-foot-link { margin:12px 0 0; }
/* 図：呼び出し画面（調理中・受取可の番号。番号を大きく） */
.mm-section .mm-pickup { display:flex; flex-direction:column; gap:4px; }
.mm-section .mm-pickup-group { display:flex; flex-direction:column; align-items:center; padding:4px 3px; border-radius:6px; border:1px solid var(--mm-line); background:#f3f4f6; }
.mm-section .mm-pickup-group.is-ready { background:var(--mm-blue-50); border-color:var(--mm-blue-200); }
.mm-section .mm-pickup-group small { font-size:10px; font-weight:700; color:var(--mm-muted); line-height:1.3; }
.mm-section .mm-pickup-group.is-ready small { color:var(--mm-blue-ink); }
.mm-section .mm-pickup-group b { font-size:18px; font-weight:800; letter-spacing:.02em; line-height:1.2; font-variant-numeric:tabular-nums; white-space:nowrap; color:var(--mm-ink); }
.mm-section .mm-pickup-group.is-ready b { color:var(--mm-blue-ink); }
/* #704「お会計・レシート」 */
.mm-section [id] { scroll-margin-top:5rem; }
/* 図：お釣り（3 行。最後の行を薄い青で） */
.mm-section .mm-change { display:flex; flex-direction:column; gap:3px; }
.mm-section .mm-change-row { display:flex; justify-content:space-between; align-items:baseline; gap:4px; padding:4px 6px; border-radius:5px; background:#fff; border:1px solid var(--mm-line); font-size:11px; }
.mm-section .mm-change-row b { font-size:12px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mm-section .mm-change-row span { white-space:nowrap; color:var(--mm-muted); font-weight:700; }
.mm-section .mm-change-row.is-result { background:var(--mm-blue-50); border-color:var(--mm-blue-200); }
.mm-section .mm-change-row.is-result span, .mm-section .mm-change-row.is-result b { color:var(--mm-blue-ink); }
/* 図：Square へ金額を送信（縦に 2 つの箱） */
.mm-section .mm-send { display:flex; flex-direction:column; align-items:stretch; gap:2px; text-align:center; }
.mm-section .mm-send-box { display:flex; flex-direction:column; align-items:center; padding:3px 3px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; }
.mm-section .mm-send-box small { display:flex; flex-wrap:wrap; justify-content:center; column-gap:3px; font-size:10px; font-weight:700; color:var(--mm-muted); line-height:1.3; }
.mm-section .mm-send-box small span { white-space:nowrap; }
.mm-section .mm-send-box b { font-size:13px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mm-section .mm-send-box.is-terminal { background:var(--mm-blue-50); border-color:var(--mm-blue-200); }
.mm-section .mm-send-box.is-terminal b, .mm-section .mm-send-box.is-terminal small { color:var(--mm-blue-ink); }
.mm-section .mm-send-step { display:flex; align-items:center; justify-content:center; gap:2px; font-size:10px; color:var(--mm-muted); white-space:nowrap; }
.mm-section .mm-send-step svg { width:11px; height:11px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.mm-section .mm-send-tag { display:block; margin-top:1px; font-size:10px; font-weight:700; color:var(--mm-muted); }
/* 区画の下の、小さな説明と条件（警告の色や大きな枠にしない） */
.mm-section .mm-more-text { margin:0; font-size:14px; }
.mm-section .mm-more-text a { padding:2px 0; }
.mm-section .mm-fine { margin:10px 0 0; font-size:13px; color:var(--mm-muted); line-height:1.7; }
.mm-section .mm-fine + .mm-fine { margin-top:2px; }
.mm-section .mm-more ul.mm-more-links { margin-top:10px; }
.mm-section .mm-plan.is-inline { margin-left:4px; vertical-align:1px; }
/* #704「予約・テーブル案内」：図 予約一覧（2 件。時刻・人数の下に受付の種類のラベル。どの幅でも同じ形） */
.mm-section .mm-resv-title { font-size:11px; font-weight:700; color:var(--mm-muted); margin:0 0 4px !important; }
.mm-section .mm-resv-row { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:4px 6px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; }
.mm-section .mm-resv-row + .mm-resv-row { margin-top:3px; }
.mm-section .mm-resv-row b { font-size:12px; font-weight:800; white-space:nowrap; font-variant-numeric:tabular-nums; }
.mm-section .mm-resv-tag { font-size:10px; font-weight:700; padding:0 5px; border-radius:4px; white-space:nowrap; background:#f3f4f6; border:1px solid var(--mm-line); color:#4b5563; }
.mm-section .mm-resv-tag.is-online { background:var(--mm-blue-50); border-color:var(--mm-blue-200); color:var(--mm-blue-ink); }
/* #704「メニュー・注文時間」：図 2 つ（縦に 2 段＋下向きの矢印。上段は時刻・数、下段は結果） */
.mm-section .mm-stack { display:flex; flex-direction:column; align-items:stretch; gap:2px; text-align:center; }
.mm-section .mm-stack-label { display:block; font-size:10px; font-weight:700; color:var(--mm-muted); text-align:left; margin-bottom:2px; }
.mm-section .mm-stack-box { display:flex; align-items:baseline; justify-content:center; flex-wrap:wrap; gap:0 6px; padding:5px 4px; border:1px solid var(--mm-line); border-radius:6px; background:#fff; font-size:12px; font-weight:700; }
.mm-section .mm-stack-box span { white-space:nowrap; }
.mm-section .mm-stack-box small { font-size:11px; font-weight:700; color:var(--mm-muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.mm-section .mm-stack-box.is-result { background:var(--mm-blue-50); border-color:var(--mm-blue-200); color:var(--mm-blue-ink); }
.mm-section .mm-stack-box.is-result small { color:var(--mm-blue-ink); }
.mm-section .mm-stack > svg { width:12px; height:12px; margin:0 auto; fill:none; stroke:var(--mm-muted); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:1023px) { .mm-section { --mm-fig-w:116px; } .mm-section .mm-grid { column-gap:32px; } }
@media (max-width:639px) {
  .mm-section { --mm-fig-w:120px; padding:0 0 32px; }
  .mm-section .mm-grid { grid-template-columns:minmax(0,1fr); }
  .mm-section .mm-item { gap:14px; padding:16px 0; }
  .mm-section .mm-head h3 { font-size:20px; }
  .mm-section .mm-lead { font-size:14px; }
}
@media (max-width:360px) {
  .mm-section { --mm-fig-w:108px; }
  /* 注文の入口の図：幅 108px では 2 つ並べると「スタッフの」が箱からはみ出すので、縦に重ねて矢印を 1 つに */
  .mm-section .mm-flow-src { grid-template-columns:1fr; gap:3px; }
  .mm-section .mm-flow-box { min-height:24px; }
  .mm-section .mm-flow-arrows { grid-template-columns:1fr; }
  .mm-section .mm-flow-arrows svg + svg { display:none; }
  .mm-section .mm-state { font-size:10px; padding:3px 1px; }
  .mm-section .mm-print-box { font-size:10px; }
  .mm-section .mm-pickup-group b { font-size:16px; }
  .mm-section .mm-fig { padding:7px; }
  .mm-section .mm-text h4 { font-size:15px; }
}

/* #704 最後の整理：機能一覧の各区画の下の「機能一覧の目次へ ↑」（小さな文字のリンク。区画の区切りの上に置く） */
.features-back-to-index { margin:-24px 0 24px; text-align:right; font-size:13px; }
.features-back-to-index a { display:inline-block; padding:6px 0; color:#1d4ed8; text-decoration:underline; text-underline-offset:3px; }
.features-back-to-index a:hover { color:#1e3a8a; }
.features-back-to-index a:focus-visible { outline:2px solid #2563eb; outline-offset:2px; border-radius:2px; }
@media (max-width:639px) { .features-back-to-index { margin:-16px 0 16px; } }
/* 区画の頭の、古い入口の id だけの印（高さ 0。ヘッダーに隠れないよう .mm-section [id] の scroll-margin が効く） */
.mm-section .mm-anchor { display:block; height:0; }

/* #753 機能一覧の区画をスマホ（639px 以下）で畳む。ボタン・.is-foldable は JS がスマホのときだけ付ける（640px 以上と JS 無しは今までどおり）。
   見出しの行全体（アイコン・見出し・矢印）を押せる。押せる高さはアイコン 32px の上下に 6px ずつ＝44px。線・余白・文字の大きさは区画の既存のまま */
.mm-section.is-foldable .mm-head { position:relative; }
.mm-section.is-foldable .mm-head h3 { flex:1; min-width:0; }
.mm-section .mm-toggle { display:flex; align-items:center; gap:4px; width:100%; padding:0; margin:0; border:0; background:none; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.mm-section .mm-toggle::after { content:''; position:absolute; inset:-6px 0; border-radius:8px; }
.mm-section .mm-toggle:focus { outline:none; }
.mm-section .mm-toggle:focus-visible::after { outline:2px solid var(--mm-blue); outline-offset:2px; }
.mm-section .mm-toggle-arrow { flex:none; margin-left:auto; width:20px; height:28px; display:flex; align-items:center; justify-content:center; color:var(--mm-muted); }
.mm-section .mm-toggle-arrow svg { width:20px; height:20px; }
.mm-section .mm-toggle[aria-expanded="true"] .mm-toggle-arrow svg { transform:rotate(180deg); }
/* 閉じた区画：見出し＋導入文だけ。区画どうしは既存の区切り線の色で 1 本ずつ分ける */
.mm-section.is-foldable:not(.is-open) { padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--mm-line); }
