/* 届いた提案を比べて、1社に決める（動画⑩）専用の見た目。動画⑦の after.css を元に、cp- で始まる部品を足した。deck.css / manual.css / board.css の上に重ねる */

/* ---------- 全体の流れ ---------- */
.af-flow { margin-top: 44px; display: flex; gap: 18px; }
.af-fstep { position: relative; width: 300px; padding: 30px 22px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(0,25,158,.1);
  box-shadow: 0 16px 40px rgba(20,30,90,.1); text-align: left; box-sizing: border-box; }
.af-fstep .no { position: absolute; left: -12px; top: -14px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #5b6cff, #00199E);
  color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }
.af-fstep b { display: block; font-size: 28px !important; font-weight: 800; color: #141a3a; }
.af-fstep p { margin: 10px 0 0; font-size: 20px !important; line-height: 1.6; color: #3b4166; }
.af-fstep.is-goal { border: 2.5px solid #d77bcb; }
.af-fstep.is-goal .no { background: linear-gradient(135deg, #d77bcb, #a43f98); }
.af-lanes { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; width: 1580px; }
.af-lane { display: flex; align-items: center; gap: 18px; padding: 14px 24px; border-radius: 18px; background: #fff; text-align: left; box-shadow: 0 10px 26px rgba(20,30,90,.08); }
.af-lane img { width: 58px; height: 58px; max-width: none !important; border-radius: 50%; }
.af-lane b { flex: none; width: 150px; font-size: 24px !important; font-weight: 800; }
.af-lane p { margin: 0; font-size: 21px !important; line-height: 1.5; color: #24294a; }
.af-lane.s { border-left: 8px solid #a43f98; } .af-lane.s b { color: #a43f98; }
.af-lane.b { border-left: 8px solid #1f39d8; } .af-lane.b b { color: #1f39d8; }

/* ---------- 2列（提供者・取得者） ---------- */
.af-two { margin-top: 40px; display: flex; gap: 34px; text-align: left; }
.af-col { width: 740px; padding: 28px 34px; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(20,30,90,.1); box-sizing: border-box; }
.af-col.s { border: 2.5px solid #e6b3df; } .af-col.b { border: 2.5px solid #b3c0ff; }
.af-col h3 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 28px; font-weight: 800; }
.af-col.s h3 { color: #a43f98; } .af-col.b h3 { color: #1f39d8; }
.af-col h3 img { width: 56px; height: 56px; max-width: none !important; border-radius: 50%; }
.af-col ul { margin: 6px 0 0; padding: 0; list-style: none; }
.af-col li { margin-top: 14px; list-style: none; }
.af-col li b { display: block; font-size: 24px !important; font-weight: 800; color: #141a3a; }
.af-col li span { display: block; margin-top: 3px; font-size: 20px !important; line-height: 1.5; color: #3b4166; }
.af-col p { margin: 10px 0 0; font-size: 22px !important; line-height: 1.6; color: #24294a; }
.af-two-sm { margin-top: 30px; }
.af-two-sm .af-col { padding: 22px 30px; }
.af-tip { margin-top: 30px; max-width: 1500px; padding: 18px 28px; border-radius: 16px; background: #fdf1fb; border: 1.5px solid #e6b3df;
  font-size: 22px !important; line-height: 1.6; color: #4a2045; text-align: left; }
.af-tip b { display: block; font-size: 20px !important; color: #a43f98; margin-bottom: 4px; }
.af-tip-gray { background: #f3f5fb; border-color: #cfd5ea; color: #2b3150; }
.af-tip-gray b { color: #4b5170; }
.af-law { max-width: 1500px; }

/* ---------- 契約 ---------- */
.af-pair { margin-top: 36px; display: flex; align-items: center; gap: 40px; }
.af-who { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 200px; }
.af-who img { width: 96px; height: 96px; max-width: none !important; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 10px 22px rgba(20,30,90,.16); }
.af-who b { font-size: 22px !important; font-weight: 800; }
.af-who small { font-size: 17px !important; color: #4b5170; font-weight: 700; }
.af-who.s b { color: #a43f98; } .af-who.b b { color: #1f39d8; } .af-who.o b { color: #2f8a5f; }
.af-doc { display: flex; flex-direction: column; align-items: center; padding: 18px 40px; border-radius: 18px; background: #fff; border: 2.5px solid #9aa6ff; box-shadow: 0 14px 34px rgba(0,25,158,.14); }
.af-doc-ic { font-size: 40px; }
.af-doc b { font-size: 28px !important; font-weight: 800; color: #00199E; }
.af-doc small { font-size: 18px !important; color: #3b4166; }
.af-three { margin-top: 34px; }
.af-three .bd-card { width: 500px; }
.af-three .bd-card b { font-size: 28px !important; }
.af-three .bd-card p { font-size: 22px !important; }
.af-three .bd-card .no { background: linear-gradient(135deg, #5b6cff, #00199E); }
.af-warn { color: #8a3a00 !important; font-weight: 700; }

.af-tri { margin-top: 44px; display: flex; align-items: center; gap: 10px; }
.af-tri .af-who img.g { display: none; }
.af-tri .af-who.is-gray img.n { display: none; }
.af-tri .af-who.is-gray img.g { display: block; }
.af-tri .af-who.is-gray b, .af-tri .af-who.is-gray small { color: #a9adc2; }
.af-line { position: relative; width: 300px; height: 0; border-top: 5px solid #2f8a5f; }
.af-line.dot { border-top: 5px dashed #c9a3c4; width: 220px; }
.af-line span { position: absolute; left: 50%; top: -48px; transform: translateX(-50%); white-space: nowrap; padding: 4px 16px; border-radius: 999px; font-size: 20px; font-weight: 800; background: #fff; }
.af-line.solid span { color: #1d6b45; border: 2px solid #8fd1ad; }
.af-line.dot span { color: #8a4f84; border: 2px dashed #d9b3d4; }

/* ---------- お金のタイミング ---------- */
.af-money { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; width: 1500px; }
.af-mrow { display: flex; gap: 22px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(20,30,90,.1); text-align: left; }
.af-mrow.is-close { border: 2.5px solid #d77bcb; }
.af-mwhen { width: 360px; flex: none; padding: 6px 10px; }
.af-mwhen span { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #00199E; color: #fff; font-size: 17px; font-weight: 800; }
.af-mrow.is-close .af-mwhen span { background: #a43f98; }
.af-mwhen b { display: block; margin-top: 10px; font-size: 28px !important; font-weight: 800; color: #141a3a; line-height: 1.35; }
.af-mwhen small { display: block; margin-top: 6px; font-size: 19px !important; color: #4b5170; }
.af-mitems { flex: 1; display: flex; gap: 18px; }
.af-mi { flex: 1; padding: 18px 22px; border-radius: 16px; background: #f5f7fc; }
.af-mi b { display: block; font-size: 26px !important; font-weight: 800; color: #141a3a; }
.af-mi p { margin: 8px 0 0; font-size: 22px !important; font-weight: 700; color: #1f39d8; }
.af-mi small { display: block; margin-top: 8px; font-size: 19px !important; line-height: 1.5; color: #3b4166; }
.af-mrow.is-close .af-mi p { color: #a43f98; }

/* ---------- まとめ（3列） ---------- */
.af-sum { gap: 26px; }
.af-sum .hfx-check, .af-sum .hfx-status { width: 540px; padding: 28px 30px; }
.af-sum .hfx-check li { font-size: 20px !important; padding-left: 38px; }
.af-check.s h3 { color: #a43f98; } .af-check.b h3 { color: #1f39d8; }
.af-check.b li::before { color: #1f39d8; }

/* ---------- 画面の再現：提案詳細・連絡先・確認ダイアログ ---------- */
.hfx-page .floating-negotiate-box { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; bottom: auto !important; top: auto !important; margin: 26px auto 0; width: 760px; transform: none !important; }
.hfx-page .floating-negotiate-box__inner p { font-size: 13px; line-height: 1.6; margin-top: 10px; }
.hfx-ctable { width: 100%; border-collapse: collapse; }
.hfx-ctable th, .hfx-ctable td { border: 1px solid #e3e6f0; padding: 10px 16px; text-align: left; vertical-align: top; font-size: 16px !important; line-height: 1.6; }
.hfx-ctable th { width: 180px; background: #f5f7fc; color: #4b5170; font-weight: 700; }
.hfx-ctable td { color: #222; font-weight: 700; }
.af-contact { max-width: 760px; margin: 26px auto 0; padding: 20px 24px 18px; border-radius: 14px; background: #fff; border: 2px solid #e55a8f; box-shadow: 0 10px 26px rgba(229,90,143,.16); }
.af-contact-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border-radius: 10px; background: #fdeaf2; color: #b8336a; font-size: 17px; font-weight: 800; }
.af-ok { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #e55a8f; color: #fff; align-items: center; justify-content: center; font-size: 15px; }
.af-contact-n { margin: 12px 0 0; font-size: 14px; color: #4b5170; }
.af-confirm { position: absolute; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(20,28,80,.35); }
.af-confirm.on { display: flex; }
.af-confirm-box { width: 560px; padding: 28px 30px 22px; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.af-confirm-box p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.6; color: #141a3a; }
.af-confirm-box small { font-size: 15px; font-weight: 500; color: #4b5170; }
.af-confirm-btns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.af-cbtn { padding: 9px 26px; border-radius: 8px; border: 1.5px solid #cfd5ea; font-size: 16px; font-weight: 700; color: #4b5170; }
.af-cbtn.is-ok { background: #a43f98; border-color: #a43f98; color: #fff; }
.af-bhero { max-width: 760px; margin: 10px auto 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(20,30,90,.08); }
.af-bcase { margin: 0; font-size: 18px; font-weight: 800; color: #141a3a; }
.af-bsum { max-width: 760px; margin: 16px auto 0; display: flex; gap: 16px; }
.af-bsum div { flex: 1; padding: 14px 18px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(20,30,90,.08); }
.af-bsum span { display: block; font-size: 14px; color: #4b5170; font-weight: 700; }
.af-bsum b { display: block; margin-top: 4px; font-size: 22px; color: #141a3a; }
.af-bsum small { font-size: 14px; }
.hfx-stage .badge { white-space: nowrap; }

.af-col p b, .af-tip b.in, .bd-link p b { font-size: inherit !important; }
.af-col p b { font-weight: 800; color: #141a3a; }

/* ---------- まとめ：マニュアル用の終わり方（全マニュアル動画で統一） ---------- */
#scene-after .hfx-title { margin-top: 0; }
#scene-after .af-sum { margin-top: 30px; }
.af-rel { display: flex; flex-direction: column; gap: 4px; }
.af-rel a.bd-nx { text-decoration: none; color: inherit; cursor: pointer; padding: 8px 10px; margin-top: 8px; border-radius: 14px; }
.af-rel a.bd-nx:hover { background: #f5f7fc; }
.af-endbtns { margin-top: 34px; display: flex; gap: 26px; justify-content: center; }
.af-endbtn { width: 420px; padding: 20px 0; border-radius: 999px; font: inherit; font-size: 26px; font-weight: 800; cursor: pointer;
  border: 2.5px solid #a43f98; background: #fff; color: #a43f98; box-shadow: 0 12px 28px rgba(164,63,152,.16); }
.af-endbtn.is-main { background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; border-color: transparent; }
.af-foot { margin: 26px 0 0; font-size: 17px !important; color: #626789; }
.af-foot a { color: #1a33c8; font-weight: 700; }

/* まとめ：チェックリスト2列 → 主ボタン → 関連する動画（横1列） → 小さな案内 */
.af-sum .hfx-check { width: 760px; }
.af-rel { margin-top: 26px; display: flex; flex-direction: row; align-items: center; gap: 18px; justify-content: center; }
.af-rel-h { font-size: 19px; font-weight: 800; color: #4b5170; }
.af-rel a.bd-nx { margin-top: 0; display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #fff; border: 1px solid #e3e6f0; border-radius: 999px; }
.af-rel a.bd-nx p { font-size: 18px !important; white-space: nowrap; }
.af-rel a.bd-nx p b { font-size: 19px !important; }
.af-foot { margin-top: 20px; }

/* 前の場面の要素が、表示中の場面のボタンのクリックを横取りしないように */
.scene-frame:not(.is-active), .scene-frame:not(.is-active) * { pointer-events: none !important; }

/* ==================== 動画⑩で足した部品（cp-） ==================== */
/* 全体の流れ（4つ） */
.cp-flow .af-fstep { width: 360px; }
.cp-maptip { margin-left: auto; margin-right: auto; }

/* 金額だけで選ばない：3社の見比べ */
.cp-cards { margin-top: 40px; display: flex; gap: 28px; }
.cp-co { position: relative; width: 470px; padding: 30px 28px 24px; border-radius: 22px; background: #fff; border: 2px solid rgba(0,25,158,.1);
  box-shadow: 0 16px 40px rgba(20,30,90,.1); text-align: left; box-sizing: border-box; transition: border-color .3s, box-shadow .3s; }
.cp-co-n { display: inline-block; padding: 3px 14px; border-radius: 999px; background: #eef1ff; color: #1f39d8; font-size: 18px; font-weight: 800; }
.cp-co b { display: block; margin-top: 10px; font-size: 28px !important; font-weight: 800; color: #141a3a; }
.cp-amt { margin: 10px 0 0; font-size: 22px !important; font-weight: 700; line-height: 1.5; color: #24294a; }
.cp-co ul { margin: 14px 0 0; padding: 0; list-style: none; }
.cp-co li { position: relative; margin-top: 8px; padding-left: 34px; font-size: 20px; line-height: 1.5; color: #24294a; list-style: none; }
.cp-co li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.cp-co li.ok::before { content: "○"; color: #1f7a45; }
.cp-co li.ng::before { content: "△"; color: #c0392b; }
.cp-co li.mid::before { content: "・"; color: #4b5170; }
.cp-top { position: absolute; right: 18px; top: -18px; padding: 6px 16px; border-radius: 999px; background: #a43f98; color: #fff; font-size: 18px; font-weight: 800; }
.cp-co.is-flag { border-color: #e0a12b; box-shadow: 0 0 0 6px rgba(224,161,43,.22), 0 16px 40px rgba(20,30,90,.1); }

/* できること・できないこと */
.cp-two .af-col h3 { gap: 12px; }
.cp-mark { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; }
.cp-ok { border: 2.5px solid #9fd9b5 !important; } .cp-ok h3 { color: #1f7a45 !important; } .cp-ok .cp-mark { background: #2f9a5c; }
.cp-ng { border: 2.5px solid #f0b2aa !important; } .cp-ng h3 { color: #c0392b !important; } .cp-ng .cp-mark { background: #d1503f; }
.cp-phone { margin-left: auto; margin-right: auto; }

/* チェックリスト（提供者だけ） */
#scene-after .cp-check { width: 980px; }
#scene-after .cp-check li { font-size: 24px !important; }

/* ---------- 画面の再現 ---------- */
.cp-max { font-size: 13px; line-height: 1.5; color: #444; }
.cp-sug { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cp-sugn { font-size: 12px; font-weight: 700; color: #d0559a; }
.cp-sugbtn { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #d0559a; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cp-coname { font-weight: 700; color: #141a3a; }
.cp-amts { display: flex; flex-direction: column; font-size: 13px; line-height: 1.6; color: #444; }
.cp-declinewrap { margin-top: 34px; text-align: center; }
.cp-decline { display: inline-block; padding: 18px 40px; border-radius: 999px; background: #fff; color: #d077c4; font-size: 17px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(20,30,90,.08); }
.cp-contact { max-width: 900px; margin: 10px auto 24px; padding: 22px 26px; border-radius: 14px; background: #f3dcee; border: 2px solid #e2a9d6; }
.cp-contact-lead { margin: 0 0 14px; text-align: center; font-size: 15px; line-height: 1.8; color: #2b2b2b; }
.cp-contact .hfx-ctable { background: #fff; }
.cp-files { max-width: 760px; margin: 22px auto 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: #fff;
  border: 1px solid #e3e6f0; }
.cp-files-h { font-size: 14px; font-weight: 800; color: #4b5170; }
.cp-file { flex: 1; font-size: 15px; font-weight: 700; color: #141a3a; }
.cp-dl { padding: 6px 16px; border-radius: 999px; background: #6c63ff; color: #fff; font-size: 13px; font-weight: 700; }
.cp-msgwrap { margin: 26px 0 10px; text-align: center; }
.cp-msgbtn { display: inline-block; padding: 18px 44px; border-radius: 999px; background: #d48fcf; color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(164,63,152,.2); }
.cp-chat { max-width: 900px; margin: 10px auto 0; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(20,30,90,.08); overflow: hidden; }
.cp-chat-h { display: flex; align-items: baseline; gap: 16px; padding: 16px 22px; border-bottom: 1px solid #e3e6f0; }
.cp-chat-h b { font-size: 18px; color: #141a3a; }
.cp-chat-h span { font-size: 13px; color: #6b7090; }
.cp-chat-body { min-height: 230px; padding: 22px; background: #f7f8fc; display: flex; flex-direction: column; justify-content: flex-end; }
.cp-chat-empty { margin: auto; text-align: center; font-size: 15px; line-height: 1.8; color: #6b7090; }
.cp-bubble { align-self: flex-end; max-width: 520px; padding: 14px 18px; border-radius: 16px 16px 4px 16px; background: #a43f98; color: #fff; font-size: 15px; line-height: 1.7; }
.cp-chat-in { display: flex; gap: 12px; align-items: flex-end; padding: 16px 22px; border-top: 1px solid #e3e6f0; }
.cp-chat-in textarea { flex: 1; resize: none; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cfd5ea; font: inherit; font-size: 15px; line-height: 1.6; }
.cp-send { padding: 12px 28px; border-radius: 999px; background: #a43f98; color: #fff; font-size: 16px; font-weight: 700; }
.cp-oops ol { margin: 16px 0 0; padding-left: 28px; }
.cp-oops li { margin-top: 8px; font-size: 19px; line-height: 1.6; color: #24294a; }
.cp-oops li b { font-size: inherit; color: #a43f98; }

/* 2026-11-06 STG実画面に合わせた追加 */
.cp-target { text-align: center; font-size: 14px; font-weight: 600; color: #444; margin: -6px 0 14px; }
.cp-conamecell { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 14px; justify-content: center; white-space: nowrap; }
.cp-dlink { font-size: 13px; font-weight: 700; color: #3b4bd8; text-decoration: underline; white-space: nowrap; }
.cp-attach { padding: 11px 18px; border-radius: 999px; border: 1.5px solid #cfd5ea; color: #444; font-size: 14px; font-weight: 700; background: #fff; }
.cp-chat-empty:empty { display: none; }
/* 「この会社に売却を依頼する」は実画面と同じく右下に固定（画面の拡大・移動に付いていかない） */
.hfx-floatwrap .floating-negotiate-box { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; bottom: auto !important; top: auto !important; transform: none !important; width: 560px; margin: 0; }
.hfx-floatwrap .floating-negotiate-box__inner p { font-size: 13px; line-height: 1.6; margin-top: 10px; }
