/* mochikomi Biz お金のしくみ：体験デモ（deck.css）に足す部品。1920×1080 の画面の中で使う */
:root {
  --mk-ink: #141a3a; --mk-sub: #5b6185; --mk-line: #dde1f0;
  --mk-buyer: #1f3fd1; --mk-buyer-soft: #e8edff;
  --mk-seller: #b0479f; --mk-seller-soft: #fbe9f7;
  --mk-gold: #a87a22; --mk-gold-soft: #fbf3df;
  --mk-ng: #c2410c; --mk-ng-soft: #fff1e8; --mk-ok: #0f766e; --mk-ok-soft: #e6f6f3;
}
.hfx-center .hfx-title em { font-style: normal; }

/* はじめに：報酬を受け取らない設定 */
.mk-optout-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; width: 1500px; margin-top: 36px; text-align: left; }
.mk-lead { font-size: 30px; line-height: 1.7; color: var(--mk-ink); margin: 0 0 26px; }
.mk-lead b { color: var(--mk-seller); }
.mk-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.mk-steps li { display: flex; align-items: center; gap: 16px; font-size: 27px; color: var(--mk-ink); }
.mk-steps li span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mk-seller); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 22px; }
.mk-steps b { color: var(--mk-seller); }
.mk-note { font-size: 21px; color: var(--mk-sub); margin: 0; }
.mk-mock { background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 26, 58, .14); overflow: hidden; border: 2px solid var(--mk-seller-soft); }
.mk-mock-bar { background: linear-gradient(90deg, #d77bcb, #a43f98); color: #fff; font-weight: 700; font-size: 22px; padding: 16px 24px; }
.mk-mock-row { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--mk-line); font-size: 20px; align-items: center; }
.mk-mock-row span { color: var(--mk-sub); font-weight: 700; }
.mk-mock-row b { color: var(--mk-ink); font-weight: 500; }
.mk-mock-row .mk-dim { color: #9aa0bf; }
.mk-mock-row label { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--mk-ink); }
.mk-mock-row label i { width: 28px; height: 28px; border-radius: 6px; border: 2px solid #9aa0bf; display: grid; place-items: center; font-style: normal; font-size: 20px; color: #fff; }
.mk-mock-row label i.on { background: var(--mk-seller); border-color: var(--mk-seller); }
.mk-mock-row label i.on::after { content: "✓"; }
.mk-mock-row.is-target { background: var(--mk-seller-soft); }

/* お金の全体図 */
.mk-timeline { position: relative; display: flex; justify-content: space-between; width: 1400px; margin: 34px 0 30px; padding-top: 6px; }
.mk-timeline span { position: relative; z-index: 1; background: #fff; border: 2px solid var(--mk-line); color: var(--mk-sub); border-radius: 999px; padding: 8px 26px; font-size: 22px; font-weight: 700; }
.mk-timeline span.is-on { border-color: var(--mk-buyer); color: var(--mk-buyer); }
.mk-timeline span.is-on.s { border-color: var(--mk-seller); color: var(--mk-seller); }
.mk-tl-line { position: absolute; left: 40px; right: 40px; top: 30px; height: 3px; background: var(--mk-line); z-index: 0; }
.mk-money3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; width: 1500px; }
.mk-m { background: #fff; border-radius: 22px; padding: 26px 28px; text-align: left; box-shadow: 0 16px 40px rgba(20, 26, 58, .08); border-top: 8px solid var(--mk-buyer); }
.mk-m.s { border-top-color: var(--mk-seller); }
.mk-m.s2 { border-top-color: var(--mk-gold); }
.mk-m-no { font-size: 32px; font-weight: 900; margin: 0 0 6px; color: var(--mk-ink); }
.mk-m-flow { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: var(--mk-sub); }
.mk-m-flow b { color: var(--mk-ink); margin: 0 4px; }
.mk-m dl { display: grid; grid-template-columns: 88px 1fr; gap: 10px 12px; margin: 0; font-size: 21px; line-height: 1.5; }
.mk-m dt { color: var(--mk-sub); font-weight: 700; }
.mk-m dd { margin: 0; color: var(--mk-ink); font-weight: 500; }

/* インセンティブの計算例 */
.mk-calc { width: 1400px; margin-top: 30px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(20, 26, 58, .08); font-size: 24px; }
.mk-calc th, .mk-calc td { padding: 18px 22px; border-bottom: 1px solid var(--mk-line); text-align: right; font-variant-numeric: tabular-nums; }
.mk-calc th:first-child, .mk-calc td:first-child { text-align: left; }
.mk-calc thead th { background: #f4f6fc; color: var(--mk-sub); font-size: 20px; }
.mk-calc tbody tr:last-child td { border-bottom: 0; }
.mk-calc .mk-yen { font-weight: 900; color: var(--mk-seller); font-size: 30px; }
.mk-calc b { color: var(--mk-seller); }

/* 出ない・返すケース */
.mk-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 1560px; margin-top: 34px; }
.mk-case { background: #fff; border-radius: 18px; padding: 24px 26px; text-align: left; border-left: 8px solid var(--mk-ng); box-shadow: 0 14px 34px rgba(20, 26, 58, .07); }
.mk-case .h { font-size: 26px; font-weight: 900; color: var(--mk-ng); margin: 0 0 10px; }
.mk-case p { font-size: 20px; line-height: 1.65; color: var(--mk-ink); margin: 0; }
.mk-oks { display: flex; gap: 22px; margin-top: 26px; }
.mk-ok { display: flex; align-items: center; gap: 12px; background: var(--mk-ok-soft); color: var(--mk-ok); border-radius: 999px; padding: 14px 28px; font-size: 23px; font-weight: 700; margin: 0; }
.mk-ok b { font-size: 26px; }

/* パターン診断 */
.mk-pick { display: flex; gap: 46px; margin-top: 22px; }
.mk-pick-g { display: flex; align-items: center; gap: 12px; }
.mk-pick-l { font-size: 22px; font-weight: 700; color: var(--mk-sub); margin-right: 6px; }
.mk-tg { border: 2px solid var(--mk-line); background: #fff; color: var(--mk-ink); font: inherit; font-size: 24px; font-weight: 700; padding: 10px 30px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mk-tg:hover { border-color: var(--mk-gold); }
.mk-tg.on { background: var(--mk-ink); color: #fff; border-color: var(--mk-ink); }
.mk-result { margin-top: 18px; width: 1300px; background: #fff; border-radius: 22px; padding: 22px 30px; border: 3px solid var(--mk-gold); box-shadow: 0 18px 44px rgba(168, 122, 34, .14); }
.mk-r-cond { margin: 0; font-size: 22px; color: var(--mk-sub); font-weight: 700; }
.mk-r-val { margin: 6px 0; font-size: 42px; font-weight: 900; color: var(--mk-ink); }
.mk-r-val b { color: var(--mk-gold); }
.mk-r-note { margin: 0; font-size: 20px; color: var(--mk-sub); }
.mk-grid { width: 1300px; margin-top: 10px; border-collapse: separate; border-spacing: 10px; font-size: 24px; }
.mk-grid th { color: var(--mk-sub); font-size: 21px; font-weight: 700; }
.mk-grid td { background: #fff; border-radius: 14px; padding: 16px 18px; font-weight: 900; color: var(--mk-ink); border: 2px solid transparent; transition: border-color .25s, background .25s; }
.mk-grid td small { display: block; font-size: 17px; font-weight: 500; color: var(--mk-sub); margin-top: 4px; }
.mk-grid td.on { border-color: var(--mk-gold); background: var(--mk-gold-soft); }

/* 計算例（棒） */
.mk-bars { width: 1500px; margin-top: 34px; display: grid; gap: 16px; }
.mk-bar { display: grid; grid-template-columns: 420px 1fr 190px; gap: 20px; align-items: center; font-size: 23px; }
.mk-bar .l { text-align: left; color: var(--mk-ink); font-weight: 700; }
.mk-bar .t { height: 34px; background: #eef0f8; border-radius: 999px; overflow: hidden; }
.mk-bar .t i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #d4a94e, #a87a22); }
.mk-bar .v { text-align: right; font-weight: 900; font-size: 30px; color: var(--mk-ink); font-variant-numeric: tabular-nums; }
.mk-bar.is-note .t { background: none; height: auto; }
.mk-t-text { text-align: left; color: var(--mk-sub); font-weight: 700; font-size: 22px; }
.mk-caution { margin-top: 28px; width: 1500px; text-align: left; background: var(--mk-gold-soft); border-left: 8px solid var(--mk-gold); border-radius: 14px; padding: 18px 26px; font-size: 22px; line-height: 1.6; color: var(--mk-ink); }
.mk-caution b { color: var(--mk-gold); }

/* よくある質問 */
.mk-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; width: 1560px; margin-top: 34px; text-align: left; }
.mk-qa { background: #fff; border-radius: 18px; padding: 24px 28px; box-shadow: 0 14px 34px rgba(20, 26, 58, .07); }
.mk-qa .q { margin: 0 0 10px; font-size: 25px; font-weight: 900; color: var(--mk-ink); }
.mk-qa .q::before { content: "Q. "; color: var(--mk-buyer); }
.mk-qa .a { margin: 0; font-size: 21px; line-height: 1.65; color: var(--mk-ink); }
.mk-qa .a::before { content: "A. "; color: var(--mk-seller); font-weight: 900; }
.mk-qa .a b { color: var(--mk-seller); }

/* まとめ */
.mk-sum { display: grid; gap: 12px; margin: 26px 0 30px; }
.mk-sum p { margin: 0; font-size: 26px; color: var(--mk-ink); display: flex; align-items: center; gap: 18px; }
.mk-sum span { display: inline-block; min-width: 250px; text-align: center; border-radius: 999px; padding: 6px 18px; font-weight: 900; color: #fff; background: var(--mk-buyer); }
.mk-sum span.s { background: var(--mk-seller); }
.mk-sum span.s2 { background: var(--mk-gold); }

/* STG画面用CSSの「* { font-size: 14px }」を、この説明の部品では打ち消す（詳細度0なので個別の指定が優先） */
:where(.hfx-center) :where(b, strong, em, span, i, dd, dt, li, label, small, p) { font-size: inherit; }
.mk-calc th, .mk-calc td { font-size: 24px; }
.hfx .mk-calc thead th { font-size: 20px !important; }
.mk-calc td.mk-yen { font-size: 30px; }
.mk-grid td { font-size: 24px; }
.hfx .mk-grid th { font-size: 21px !important; }
.mk-grid td small { font-size: 17px; }
.mk-bar .l, .mk-bar .v, .mk-t-text { font-size: 23px; }
.mk-bar .v { font-size: 30px; }
.mk-sum span { font-size: 22px; }
.mk-r-val b { font-size: inherit; }
#scene-patterns .hfx-center { transform: translateY(-34px); }
.mk-steps li { line-height: 1.45; }
.mk-steps li > div { font-size: inherit; }

/* インセンティブ表のはみ出し対策（2026-10-13） */
#scene-inc .mk-calc { width: 1500px; margin-top: 20px; }
#scene-inc .mk-calc th, #scene-inc .mk-calc td { padding: 12px 20px; white-space: nowrap; }
#scene-inc .hfx-center { transform: translateY(-20px); }

/* 利用料の料金表（全体） */
.mk-feeall { width: 1560px; margin-top: 28px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(20, 26, 58, .08); font-variant-numeric: tabular-nums; }
.hfx .mk-feeall th, .hfx .mk-feeall td { font-size: 22px !important; padding: 12px 14px; border-bottom: 1px solid var(--mk-line); text-align: center; white-space: nowrap; }
.hfx .mk-feeall thead th { background: #f4f6fc; color: var(--mk-sub); font-size: 18px !important; }
.hfx .mk-feeall thead th.gb { background: var(--mk-buyer); color: #fff; font-size: 22px !important; }
.hfx .mk-feeall thead th.gk { background: var(--mk-seller); color: #fff; font-size: 22px !important; }
.mk-feeall tbody th { color: var(--mk-ink); font-weight: 900; background: #f9faff; }
.mk-feeall td { color: var(--mk-ink); font-weight: 700; }
.mk-feeall td.k { background: #fdf7fc; }
.mk-feeall tbody tr:last-child th, .mk-feeall tbody tr:last-child td { border-bottom: 0; }
#scene-reward .hfx-rules { width: 1400px; margin-left: auto; margin-right: auto; }

/* ---------- 登場人物の顔（体験デモ 2026-10-14 の見せ方を採用） ---------- */
.hfx-top { gap: 22px; }
.hfx-cast { display: flex; gap: 18px; align-items: flex-start; flex: none; padding-top: 6px; }
.hfx-person { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 72px; }
.hfx .hfx-person img { width: 72px; height: 72px; max-width: none; border-radius: 50%; display: block; box-shadow: 0 6px 16px rgba(20,30,90,.16); }
.hfx .hfx-person b { font-size: 16px !important; font-weight: 800; line-height: 1.25; color: #3b4470; white-space: nowrap; padding: 1px 9px; border-radius: 999px; }
.hfx .hfx-person.op img { box-shadow: 0 0 0 4px #fff, 0 0 0 9px var(--c), 0 8px 18px rgba(20,30,90,.2); }
.hfx .hfx-person.op b { background: var(--c); color: #fff; }
.hfx .hfx-person.with img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c), 0 6px 16px rgba(20,30,90,.16); }
.hfx .hfx-person.with b { color: var(--c); }
.hfx .hfx-person.off img { box-shadow: none; opacity: .75; }
.hfx .hfx-person.off b { color: #a9adc2; }
.hfx-head { white-space: nowrap; }

/* 表紙：2者の紹介 */
.hfx-castintro { margin-top: 30px; display: flex; gap: 80px; justify-content: center; }
.hfx-ci { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hfx .hfx-ci img { width: 104px; height: 104px; max-width: none; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 12px 26px rgba(20,30,90,.16); }
.hfx .hfx-ci b { margin-top: 6px; font-size: 24px !important; font-weight: 800; }
.hfx .hfx-ci small { font-size: 17px !important; font-weight: 700; color: #4b5170; }
.hfx-ci.s b { color: #a43f98; } .hfx-ci.b b { color: #1f39d8; }

/* はじめに：対象の表示 */
.mk-for { display: inline-flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 6px 22px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(20,26,58,.08); }
.hfx .mk-for img { width: 52px; height: 52px; max-width: none; border-radius: 50%; }
.hfx .mk-for span { font-size: 22px !important; font-weight: 800; color: var(--mk-seller); }
.mk-optout-body { margin-top: 24px; }

/* 全体図・報酬・料金表・パターン・登録：顔を添える */
.mk-m-no { display: flex; align-items: center; gap: 12px; }
.hfx .mk-mface { width: 52px; height: 52px; max-width: none; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20,30,90,.14); }
.mk-mfaces { display: inline-flex; flex: none; }
.mk-mfaces .mk-mface + .mk-mface { margin-left: -14px; }
.hfx-party { position: relative; }
.hfx .mk-pf { position: absolute; left: -30px; top: 50%; width: 80px; height: 80px; max-width: none; margin-top: -40px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(20,30,90,.2); }
#scene-reward .hfx-party { padding-left: 70px; }
.hfx .hfx-mini { display: inline-block !important; width: 34px !important; height: 34px !important; max-width: none; border-radius: 50%; vertical-align: middle; margin: -4px 10px 0 0; }
.hfx .hfx-ctaface { width: 72px; height: 72px; max-width: none; border-radius: 50%; margin-bottom: 10px; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(20,30,90,.14); }
.hfx .mk-pick-l .hfx-mini { width: 44px !important; height: 44px !important; }

/* お金の全体図（2026-10-14 改）：払うお金（取得者）ともらうお金（提供者）を行で分ける */
.mk-ledger { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 16px 20px; width: 1560px; margin-top: 30px; text-align: left; }
.mk-lg-h { font-size: 24px; font-weight: 800; color: var(--mk-ink); padding: 0 6px; align-self: end; }
.hfx .mk-lg-h span { display: inline-block; margin-right: 12px; padding: 4px 14px; border-radius: 999px; background: var(--mk-ink); color: #fff; font-size: 18px !important; }
.hfx .mk-lg-h small { font-size: 18px !important; color: var(--mk-sub); font-weight: 700; margin-left: 6px; }
.mk-lg-who { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-content: center; padding: 18px 20px; border-radius: 20px; color: #fff; }
.mk-lg-who.b { background: linear-gradient(135deg, #2f4ee0, #1730b8); }
.mk-lg-who.s { background: linear-gradient(135deg, #c35db4, #93358a); }
.hfx .mk-lg-who img { grid-row: 1 / 4; width: 76px; height: 76px; max-width: none; border-radius: 50%; box-shadow: 0 0 0 3px #fff; align-self: center; }
.hfx .mk-lg-who b { font-size: 26px !important; font-weight: 900; }
.hfx .mk-lg-who small { font-size: 15px !important; font-weight: 700; opacity: .9; }
.hfx .mk-lg-who i { font-style: normal; justify-self: start; margin-top: 6px; padding: 3px 14px; border-radius: 999px; background: #fff; font-size: 19px !important; font-weight: 900; }
.hfx .mk-lg-who.b i { color: var(--mk-buyer); } .hfx .mk-lg-who.s i { color: var(--mk-seller); }
.mk-lg-cell { background: #fff; border-radius: 20px; padding: 18px 24px; border-left: 10px solid var(--mk-buyer); box-shadow: 0 14px 34px rgba(20,26,58,.08); }
.mk-lg-cell.s { border-left-color: var(--mk-seller); }
.mk-lg-cell.g { border-left-color: var(--mk-gold); background: #fffdf7; }
.mk-lg-cell p { margin: 0; }
.hfx .mk-lg-cell .n { font-size: 27px !important; font-weight: 900; color: var(--mk-ink); }
.hfx .mk-lg-cell .f { font-size: 19px !important; font-weight: 800; color: var(--mk-sub); margin-top: 2px; }
.hfx .mk-lg-cell .v { font-size: 25px !important; font-weight: 900; margin-top: 8px; color: var(--mk-buyer); }
.hfx .mk-lg-cell.s .v { color: var(--mk-seller); } .hfx .mk-lg-cell.g .v { color: var(--mk-gold); }
.hfx .mk-lg-cell .t { font-size: 18px !important; line-height: 1.55; color: var(--mk-ink); margin-top: 6px; }
#scene-map .hfx-small { margin-top: 22px; }

/* 監査での修正（2026-10-14・1366×768でも重ならないように） */
.hfx .hfx-head { white-space: normal; font-size: 32px !important; line-height: 1.3; }
.hfx-card .row strong { font-size: 34px; }
#scene-fee .hfx-center { transform: translateY(-46px); }
#scene-reward .hfx-center { transform: translateY(-34px); }
#scene-refund .mk-case p { font-size: 19px; }
.hfx-side { top: 86px; height: 860px; }

/* お金の全体図（2026-10-14 第3版）：タイミングごとに「誰から誰へ」を矢印で見せる */
.mk-flows { display: grid; gap: 22px; width: 1600px; margin-top: 26px; }
.mk-fl { background: rgba(255,255,255,.75); border-radius: 24px; padding: 18px 28px 22px; box-shadow: 0 14px 34px rgba(20,26,58,.07); }
.hfx .mk-fl-when { margin: 0 0 10px; text-align: left; font-size: 25px !important; font-weight: 900; color: var(--mk-ink); }
.hfx .mk-fl-when span { display: inline-block; margin-right: 14px; padding: 4px 16px; border-radius: 999px; background: var(--mk-ink); color: #fff; font-size: 19px !important; }
.mk-fl-row { display: grid; grid-template-columns: 190px 1fr 190px 1fr 190px; align-items: center; gap: 8px; }
.mk-fl:last-child .mk-fl-row { grid-template-columns: 190px 1fr 190px; }
.mk-fl-p { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hfx .mk-fl-p img { width: 92px; height: 92px; max-width: none; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 10px 22px rgba(20,30,90,.16); }
.hfx .mk-fl-p.m img { width: 150px; height: 92px; border-radius: 18px; background: #fff; object-fit: contain; padding: 10px 14px; box-sizing: border-box; }
.hfx .mk-fl-p b { font-size: 22px !important; font-weight: 900; color: var(--mk-ink); }
.mk-fl-p.b b { color: var(--mk-buyer); } .mk-fl-p.s b { color: var(--mk-seller); }
.hfx .mk-fl-p i { font-style: normal; padding: 2px 16px; border-radius: 999px; color: #fff; font-size: 18px !important; font-weight: 900; }
.mk-fl-p.b i { background: var(--mk-buyer); } .mk-fl-p.s i { background: var(--mk-seller); }
.mk-fl-a { position: relative; text-align: center; padding: 0 10px; transition: transform .3s; }
.mk-fl-a p { margin: 0; }
.hfx .mk-fl-a .n { font-size: 24px !important; font-weight: 900; color: var(--mk-ink); }
.hfx .mk-fl-a .n small { margin-left: 10px; font-size: 17px !important; color: var(--mk-sub); font-weight: 700; }
.hfx .mk-fl-a .v { margin-top: 8px; font-size: 21px !important; font-weight: 900; color: var(--mk-buyer); }
.hfx .mk-fl-a .v small { font-size: 18px !important; color: var(--mk-ink); font-weight: 700; }
.mk-fl-a.s .v { color: var(--mk-seller); } .mk-fl-a.g .v { color: var(--mk-gold); }
.mk-fl-a .line { display: block; position: relative; height: 8px; margin: 10px 18px 0 6px; border-radius: 999px; background: var(--mk-buyer); }
.mk-fl-a.s .line { background: var(--mk-seller); }
.mk-fl-a.g .line { background: linear-gradient(90deg, var(--mk-buyer), var(--mk-seller)); }
.mk-fl-a .line::after { content: ""; position: absolute; right: -20px; top: -10px; border: 14px solid transparent; border-right: 0; border-left: 22px solid var(--mk-buyer); }
.mk-fl-a.s .line::after, .mk-fl-a.g .line::after { border-left-color: var(--mk-seller); }
.mk-fl-a.is-hot { transform: scale(1.06); }
.mk-fl-a.is-hot .line { box-shadow: 0 0 0 5px rgba(255,215,106,.85); }
#scene-map .hfx-small { margin-top: 20px; }

/* 場面の終わりの合図（案件登録マニュアル動画と同じ） */
.hfx-endcue { position: absolute; right: 40px; bottom: 136px; z-index: 101; display: none; max-width: 450px; padding: 14px 24px; border-radius: 16px; background: #141a3a; color: #fff;
  font-size: 20px !important; font-weight: 700; line-height: 1.5; box-shadow: 0 16px 40px rgba(20,30,90,.35); }
.hfx-endcue.on { display: block; }
.hfx-endcue b { color: #ffd76a; font-size: inherit !important; }
.hfx-endcue::after { content: ""; position: absolute; right: 70px; bottom: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: #141a3a; }
.hfx-endcue.is-last::after { display: none; }
.hfx-navbtn.is-next.is-cue { animation: hfx-cue 1.1s ease-in-out infinite; box-shadow: 0 0 0 4px #ffd76a, 0 8px 20px rgba(20,30,90,.2) !important; }
@keyframes hfx-cue { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.mk-ask { margin: 14px 0 0; display: inline-block; padding: 10px 26px; border-radius: 999px; background: var(--mk-buyer-soft); color: var(--mk-buyer); font-size: 22px; font-weight: 800; }
#scene-fee-all .hfx-center { transform: translateY(-30px); }
#scene-map .hfx-center { transform: translateY(-56px); }
.mk-fl-p.m i { background: #6b7090; }
.hfx .mk-fl-p.m img { width: 170px; height: 80px; }

/* ===================== 選ばれる査定・提案の書き方（2026-10-17） ===================== */
/* 何を見て選ぶ？ */
.pg-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 1560px; margin-top: 34px; text-align: left; }
.pg-c { background: #fff; border-radius: 22px; padding: 24px 26px; box-shadow: 0 14px 34px rgba(20,26,58,.08); border-top: 8px solid var(--mk-buyer); }
.hfx .pg-c .pg-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mk-buyer); color: #fff; font-size: 22px !important; font-weight: 900; }
.hfx .pg-c b { display: block; margin-top: 12px; font-size: 27px !important; font-weight: 900; color: var(--mk-ink); }
.hfx .pg-c p { margin: 8px 0 0; font-size: 20px !important; line-height: 1.6; color: var(--mk-sub); }
.pg-owner { display: flex; align-items: center; gap: 18px; margin-top: 30px; background: #fff; border-radius: 999px; padding: 10px 34px 10px 12px; box-shadow: 0 10px 26px rgba(20,26,58,.08); text-align: left; }
.hfx .pg-owner img { width: 64px; height: 64px; max-width: none; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.hfx .pg-owner img + img { margin-left: -28px; }
.hfx .pg-owner p { margin: 0; font-size: 22px !important; line-height: 1.55; color: var(--mk-ink); }
.hfx .pg-owner b { color: #2f8a5f; font-size: inherit !important; }

/* 流れ */
.pg-road { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; width: 1700px; }
.pg-road li { position: relative; background: #fff; border-radius: 18px; padding: 18px 14px 20px; box-shadow: 0 12px 30px rgba(20,26,58,.08); border-top: 6px solid var(--mk-buyer); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pg-road li.s { border-top-color: var(--mk-seller); background: #fdf6fb; }
.pg-road li:not(:last-child)::after { content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); font-size: 34px; color: #9aa0bf; z-index: 1; }
.hfx .pg-road span { font-size: 16px !important; font-weight: 800; color: #fff; background: var(--mk-buyer); border-radius: 999px; padding: 1px 12px; }
.hfx .pg-road li.s span { background: var(--mk-seller); }
.hfx .pg-road b { font-size: 21px !important; font-weight: 900; color: var(--mk-ink); line-height: 1.35; }
.hfx .pg-road small { font-size: 16px !important; color: var(--mk-sub); line-height: 1.45; }

/* 会社PRのひな形 */
.pg-tpl { display: grid; grid-template-columns: 520px 120px 760px; align-items: center; margin-top: 30px; text-align: left; }
.pg-tpl-src, .pg-tpl-c { background: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: 0 14px 34px rgba(20,26,58,.08); }
.pg-tpl-src { border: 3px dashed #9aa6e8; }
.hfx .pg-tpl .h { margin: 0 0 8px; font-size: 22px !important; font-weight: 900; color: var(--mk-buyer); }
.hfx .pg-tpl .h small { display: block; font-size: 17px !important; color: var(--mk-sub); font-weight: 700; }
.hfx .pg-tpl .t { margin: 0; font-size: 20px !important; line-height: 1.65; color: var(--mk-ink); }
.pg-tpl-out { display: grid; gap: 18px; }
.pg-tpl-c { border-left: 8px solid var(--mk-buyer); }
.hfx .pg-tpl-c .h { color: var(--mk-ink); }
.hfx .pg-tpl-c mark { background: linear-gradient(transparent 55%, #ffe58f 55%) no-repeat; background-size: 100% 100%; color: inherit; font-size: inherit !important; }
.pg-tpl-arrows { display: grid; gap: 70px; justify-items: center; }
.pg-tpl-arrows i { display: block; width: 70px; height: 8px; border-radius: 999px; background: var(--mk-buyer); position: relative; }
.pg-tpl-arrows i::after { content: ""; position: absolute; right: -14px; top: -9px; border: 13px solid transparent; border-right: 0; border-left: 18px solid var(--mk-buyer); }
.pg-tpl-arrows i:first-child { transform: rotate(-16deg); }
.pg-tpl-arrows i:last-child { transform: rotate(16deg); }
.pg-rules { display: grid; gap: 10px; margin-top: 26px; width: 1460px; text-align: left; }
.hfx .pg-rules p { margin: 0; display: flex; gap: 12px; align-items: baseline; background: var(--mk-ok-soft); border-radius: 14px; padding: 12px 22px; font-size: 21px !important; line-height: 1.55; color: var(--mk-ink); }
.hfx .pg-rules p b { color: var(--mk-ok); font-size: inherit !important; }

/* 提案の形 */
.pg-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 1500px; margin-top: 30px; text-align: left; }
.pg-t { background: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: 0 14px 34px rgba(20,26,58,.08); border-top: 8px solid var(--mk-buyer); }
.pg-t.k { border-top-color: #0f766e; }
.pg-t.m { border-top-color: var(--mk-gold); }
.hfx .pg-t .h { margin: 0; font-size: 32px !important; font-weight: 900; color: var(--mk-ink); }
.hfx .pg-t .w { margin: 6px 0 10px; font-size: 22px !important; font-weight: 800; color: var(--mk-buyer); }
.hfx .pg-t.k .w { color: #0f766e; }
.hfx .pg-t.m .w { color: var(--mk-gold); }
.hfx .pg-t .s { margin: 0; font-size: 19px !important; line-height: 1.6; color: var(--mk-ink); }
.hfx .pg-t .s b { color: var(--mk-gold); font-size: inherit !important; }
#scene-types .mk-caution { width: 1500px; }

/* 金額と根拠 */
.pg-ngok { display: grid; grid-template-columns: 560px 70px 860px; align-items: stretch; margin-top: 24px; text-align: left; }
.pg-ng, .pg-ok { border-radius: 20px; padding: 18px 24px; }
.pg-ng { background: var(--mk-ng-soft); border: 2px solid #f6c7ad; }
.pg-ok { background: var(--mk-ok-soft); border: 2px solid #9bd8cd; }
.pg-arrow { display: grid; place-items: center; font-size: 44px; font-weight: 900; color: var(--mk-sub); }
.hfx .pg-ngok .tag { display: inline-block; margin: 0 0 8px; padding: 2px 14px; border-radius: 999px; font-size: 17px !important; font-weight: 900; color: #fff; background: var(--mk-ng); }
.hfx .pg-ok .tag { background: var(--mk-ok); }
.hfx .pg-ngok .ex { margin: 0; font-size: 22px !important; line-height: 1.6; font-weight: 700; color: var(--mk-ink); }
.hfx .pg-ngok .why { margin: 8px 0 0; font-size: 18px !important; color: var(--mk-sub); }

/* 提案内容の例 */
.pg-sample { width: 1400px; margin-top: 28px; background: #fff; border-radius: 22px; padding: 22px 30px; box-shadow: 0 14px 34px rgba(20,26,58,.08); text-align: left; display: grid; gap: 12px; }
.hfx .pg-sample-h { margin: 0 0 4px; font-size: 20px !important; font-weight: 900; color: var(--mk-sub); }
.hfx .pg-line { margin: 0; display: flex; gap: 16px; align-items: baseline; font-size: 24px !important; line-height: 1.55; color: var(--mk-ink); }
.hfx .pg-line b { color: var(--mk-buyer); font-size: inherit !important; }
.hfx .pg-line .k { flex: none; min-width: 120px; text-align: center; padding: 2px 14px; border-radius: 999px; font-size: 18px !important; font-weight: 900; color: #fff; }
.pg-line .k.r { background: var(--mk-buyer); }
.pg-line .k.s { background: #0f766e; }
.pg-line .k.v { background: var(--mk-seller); }
.pg-line .k.q { background: #6b5bd2; }
.pg-line .k.f { background: var(--mk-gold); }

/* 査定書 */
.pg-report { display: grid; grid-template-columns: 640px 760px; gap: 40px; margin-top: 30px; text-align: left; align-items: center; }
.pg-doc { background: #fff; border-radius: 14px; padding: 26px 34px; box-shadow: 0 18px 44px rgba(20,26,58,.12); border-top: 10px solid var(--mk-buyer); }
.hfx .pg-doc-h { margin: 0 0 12px; font-size: 24px !important; font-weight: 900; color: var(--mk-ink); }
.pg-doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.hfx .pg-doc li { font-size: 22px !important; color: var(--mk-ink); }
.pg-tips { display: grid; gap: 14px; }
.hfx .pg-tips p { margin: 0; background: #fff; border-radius: 16px; padding: 16px 22px; font-size: 23px !important; font-weight: 800; color: var(--mk-ink); box-shadow: 0 10px 26px rgba(20,26,58,.06); }
.hfx .pg-tips b { color: var(--mk-ok); margin-right: 8px; font-size: inherit !important; }
.hfx .pg-tips small { display: block; margin-top: 4px; font-size: 18px !important; font-weight: 500; color: var(--mk-sub); }

/* 7つのポイント */
.pg-seven { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; width: 1500px; text-align: left; }
.hfx .pg-seven li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 16px 22px; box-shadow: 0 10px 26px rgba(20,26,58,.06); font-size: 24px !important; font-weight: 700; color: var(--mk-ink); }
.hfx .pg-seven li span { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mk-buyer); color: #fff; font-size: 22px !important; font-weight: 900; }
.pg-seven li:last-child { grid-column: 1 / -1; justify-self: center; width: 737px; }

/* 選ばれたら・まとめ */
#scene-after .hfx-rules { width: 1440px; margin-left: auto; margin-right: auto; }
#scene-after .pg-rules { width: 1440px; }
.pg-related { display: flex; gap: 18px; margin-top: 22px; }
.hfx .pg-related a { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 2px solid var(--mk-line); border-radius: 16px; padding: 12px 24px; font-size: 21px !important; font-weight: 800; color: var(--mk-buyer); text-align: left; }
.hfx .pg-related a small { font-size: 16px !important; color: var(--mk-sub); font-weight: 600; }

/* 追加した画面（自社情報・担当者・確認） */
.pg-fnote { margin-left: 10px; font-size: 12px; color: #1f3fd1; font-weight: 700; }
.pg-prof { display: flex; gap: 28px; align-items: flex-start; }
.pg-avatar { flex: none; width: 120px; height: 120px; border-radius: 50%; background: #eef1fb; border: 2px dashed #9aa6e8; display: grid; place-items: center; text-align: center; color: #5b6185; font-size: 12px; line-height: 1.4; }
.pg-prof-fields { flex: 1; }
.pg-form textarea.c-form-input { min-height: 96px; }
.pg-cf-note { margin: 18px 0 0; color: #c2410c; font-weight: 700; font-size: 14px; }
.pg-cf-btns { display: flex; gap: 18px; align-items: center; justify-content: center; margin: 20px 0 40px; }
.pg-cf-btns .vc-summary__buy { width: 320px; }
/* STG照合（2026-10-16）：提案入力の「保存する」、確認画面のリンクと注記 */
.pg-save { justify-content: flex-start; margin-top: 6px; }
.pg-save .c-button.is-outline { background: #fff; color: #d16ba5; border: 1px solid #f0c6dd; width: 240px; }
.pg-cf-link { display: inline-block; margin-left: 10px; padding: 4px 14px; border-radius: 999px; background: #7c5cff; color: #fff; font-size: 13px; font-weight: 700; }
#cf-buy .pg-cf-link { background: #f0609e; }
.pg-cf-small dd { font-size: 12px; color: #6b7280; line-height: 1.7; }

/* 監査での修正（2026-10-17）：太字の前後に空きが出る・言葉の途中で折り返す */
.hfx .pg-rules p { display: block; position: relative; padding-left: 52px; }
.hfx .pg-rules p > b:first-child { position: absolute; left: 22px; top: 12px; }
.hfx .pg-line { display: block; position: relative; padding-left: 140px; }
.hfx .pg-line .k { position: absolute; left: 0; top: 4px; }
.pg-road { width: 1760px; gap: 16px; }
.hfx .pg-road b { font-size: 19px !important; word-break: keep-all; overflow-wrap: anywhere; }
.pg-seven { width: 1640px; }
.hfx .pg-seven li { font-size: 23px !important; }
.pg-seven li:last-child { width: 812px; }
.hfx .pg-cf-title { margin-top: 56px !important; }
.hfx .pg-save .c-button.is-outline { background: #fff !important; color: #d16ba5 !important; border: 1px solid #f0c6dd !important; }

/* 最後の画面：マニュアル用に統一（2026-10-16 高村さん指示） */
.hfx .pg-end-btns { display: flex; gap: 28px; justify-content: center; margin: 40px 0 0; }
.hfx .pg-end-btn { display: inline-flex; align-items: center; justify-content: center; width: 460px; height: 96px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-size: 30px !important; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(90deg, #7c5cff, #d16ba5); box-shadow: 0 10px 28px rgba(124, 92, 255, .28); }
.hfx .pg-end-btn:hover { filter: brightness(1.06); }
.hfx .pg-end-related { display: flex; gap: 18px; align-items: center; justify-content: center; margin: 44px 0 0; }
.hfx .pg-end-related .h { margin: 0; font-size: 18px !important; font-weight: 700; color: #6b7280; }
.hfx .pg-end-related a { padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid #e5e0f5; color: #4b3fa8; font-size: 19px !important; font-weight: 700; text-decoration: none; }
.hfx .pg-end-foot { margin: 46px 0 0; font-size: 16px !important; color: #6b7280; text-align: center; }
.hfx .pg-end-foot a { font-size: 16px !important; color: #4b3fa8; text-decoration: underline; }
/* 2026-10-29 最後の画面の統一：「マニュアルに戻る」を主、「もう一度」は白い縁取り */
.hfx #end-again.pg-end-btn { background: #fff; color: #4b3fa8; border: 2px solid #d6d0f5; box-shadow: 0 10px 24px rgba(20,30,90,.1); }
