/* 動画②「掲示板で質問して案件を知る」専用の見た目。実画面用CSSの文字サイズ指定に負けないよう、文字サイズは !important で固定する */

/* ---------- 実画面（再現）の部品 ---------- */
.bb-ask { margin-left: auto; border: 0; border-radius: 999px; background: #00199e; color: #fff; font-weight: 700; font-size: 15px !important; padding: 10px 26px; }
.bb-para { margin: 0; font-size: 14px !important; line-height: 1.8; color: #374151; }
.bb-files { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bb-files li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: #f5f7fc; font-size: 14px !important; color: #111827; font-weight: 600; }
.bb-files .ic { display: inline-grid; place-items: center; width: 40px; height: 24px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 11px !important; font-weight: 800; }
.bb-files li:first-child .ic { background: #2563eb; }
.bb-dl { margin-left: auto; font-size: 13px !important; color: #00199e; font-weight: 700; }
.bb-dl-all { display: inline-block; border-radius: 8px; border: 1.5px solid #00199e; color: #00199e; padding: 8px 18px; font-size: 14px !important; font-weight: 700; }
.bb-lead { margin: 6px 0 16px; font-size: 14px !important; color: #4b5170; }
.bb-table { width: 100%; border-collapse: collapse; background: #fff; }
.bb-table th, .bb-table td { border-bottom: 1px solid #e6e9f5; padding: 14px 16px; text-align: left; font-size: 14px !important; }
.bb-table th { background: #f5f7fc; color: #4b5170; font-weight: 700; }
.bb-table tr.bb-hot td { background: #fff1f1; color: #b42318; font-weight: 700; }
.bb-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e02424; margin-right: 10px; vertical-align: 1px; }
.bb-open { padding: 6px 18px !important; font-size: 13px !important; }

#board { max-width: 900px; margin: 18px auto 0 60px; }
#message-list { display: grid; gap: 12px; }
.message { background: #fff; border: 1px solid #e3e6f0; border-radius: 12px; padding: 12px 16px; }
.message.other { background: #f6f8ff; border-color: #d6ddf7; }
.message.is-pending { border: 2px dashed #f0a43a; background: #fffaf0; }
.message .info { display: flex; gap: 10px; align-items: center; }
.message .icon img { width: 28px; height: 28px; }
.message .name { margin: 0; font-size: 14px !important; font-weight: 700; color: #111827; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.message .time { margin: 0; font-size: 12px !important; color: #6b7280; }
.message-id { font-size: 12px !important; color: #8a8fa8; font-weight: 500; }
.message .text { margin-top: 8px; }
.message .bubble { font-size: 14px !important; line-height: 1.75; color: #1f2937; }
.reply-ref { color: #2563eb; font-size: 13px !important; }
.bb-pending { font-size: 12px !important; font-weight: 800; color: #9a5b00; background: #ffedc7; border-radius: 999px; padding: 1px 10px; }
.bb-mine { font-size: 12px !important; font-weight: 800; color: #00199e; background: #e9edff; border-radius: 999px; padding: 1px 10px; }
.bb-approve { margin-top: 10px; border: 0; border-radius: 8px; background: #a43f98; color: #fff; font-weight: 700; font-size: 14px !important; padding: 8px 18px; }
.bb-approve.is-done { background: #9ca3af; }
.bb-form { max-width: 900px; margin: 16px auto 40px 60px; display: grid; gap: 10px; }
.bb-form textarea { width: 100%; min-height: 96px; border: 1.5px solid #cfd5ea; border-radius: 10px; padding: 12px 14px; font-size: 15px !important; font-family: inherit; line-height: 1.7; resize: none; background: #fff; }
.bb-send { justify-self: end; border: 0; border-radius: 999px; background: #00199e; color: #fff; font-weight: 700; font-size: 15px !important; padding: 10px 30px; }

/* ---------- 中央の場面 ---------- */
.bb-cover-title { font-size: 76px !important; }
.bb-note { margin: 26px 0 0; max-width: 1300px; font-size: 21px !important; line-height: 1.7; color: #4b5170; }
.bb-reasons { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 440px); gap: 28px; text-align: left; }
.bb-reason { background: #fff; border-radius: 22px; padding: 30px 30px 32px; box-shadow: 0 16px 40px rgba(20,30,90,.1); display: grid; gap: 10px; align-content: start; }
.bb-reason .no { width: 46px; height: 46px; border-radius: 50%; background: #00199e; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px !important; }
.bb-reason b { font-size: 28px !important; line-height: 1.4; color: #141a3a; }
.bb-reason p { margin: 0; font-size: 21px !important; line-height: 1.7; color: #3b4166; }

.bb-steps { margin-top: 40px; display: flex; align-items: stretch; gap: 18px; }
.bb-step { width: 400px; background: #fff; border-radius: 24px; padding: 26px 24px; box-shadow: 0 16px 40px rgba(20,30,90,.1); display: grid; justify-items: center; gap: 6px; }
.bb-step img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(20,30,90,.15); }
.bb-step b { margin-top: 8px; font-size: 30px !important; color: #141a3a; }
.bb-step p { margin: 0; font-size: 19px !important; font-weight: 700; color: #4b5170; }
.bb-step span { font-size: 19px !important; color: #3b4166; line-height: 1.6; }
.bb-step.b { border-top: 6px solid #2f4dff; } .bb-step.s { border-top: 6px solid #a43f98; } .bb-step.all { border-top: 6px solid #2f9e57; }
.bb-group { display: flex; }
.bb-group img { width: 72px; height: 72px; margin-left: -14px; }
.bb-group img:first-child { margin-left: 0; }
.bb-arr { align-self: center; font-style: normal; font-size: 40px !important; color: #8a90ac; }
.bb-facts { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 420px); gap: 18px; text-align: left; }
.bb-facts div { background: #f5f7fc; border-radius: 16px; padding: 16px 20px; font-size: 19px !important; line-height: 1.6; color: #3b4166; }
.bb-facts b { display: block; font-size: 21px !important; color: #141a3a; margin-bottom: 4px; }

.bb-ex { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 700px); gap: 16px 22px; text-align: left; }
.bb-ex div { background: #fff; border-radius: 18px; padding: 18px 24px; box-shadow: 0 10px 28px rgba(20,30,90,.08); display: grid; gap: 6px; }
.bb-ex .k { justify-self: start; font-size: 17px !important; font-weight: 800; border-radius: 999px; padding: 2px 14px; }
.bb-ex.good .k { background: #e3f3ea; color: #1f7a4c; }
.bb-ex.bad .k { background: #fde8e8; color: #b42318; }
.bb-ex p { margin: 0; font-size: 21px !important; line-height: 1.6; color: #24294a; }
.bb-ex.good div { border-left: 6px solid #2f9e57; }
.bb-ex.bad div { border-left: 6px solid #e02424; }
.bb-tips { margin-top: 24px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.bb-tips span { font-size: 21px !important; font-weight: 700; color: #1f7a4c; }

.bb-time { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 440px); gap: 0; }
.bb-time .seg { padding: 28px 30px; display: grid; gap: 10px; text-align: left; color: #fff; }
.bb-time .seg:first-child { border-radius: 22px 0 0 22px; }
.bb-time .seg:last-child { border-radius: 0 22px 22px 0; }
.bb-time .a { background: linear-gradient(135deg, #2f4dff, #00199e); }
.bb-time .b { background: linear-gradient(135deg, #8a63d2, #5b3db0); }
.bb-time .c { background: linear-gradient(135deg, #d77bcb, #a43f98); }
.bb-time b { font-size: 30px !important; }
.bb-time p { margin: 0; font-size: 21px !important; line-height: 1.6; }

.bb-four { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 330px); gap: 18px; text-align: left; }
.bb-four div { background: #fff; border-radius: 22px; padding: 26px 24px; box-shadow: 0 14px 36px rgba(20,30,90,.08); display: grid; gap: 8px; align-content: start; }
.bb-four div.on { box-shadow: 0 0 0 4px #2f4dff, 0 18px 40px rgba(0,25,158,.2); }
.bb-four .no { width: 42px; height: 42px; border-radius: 50%; background: #e9edff; color: #00199e; display: grid; place-items: center; font-weight: 800; font-size: 20px !important; }
.bb-four div.on .no { background: #00199e; color: #fff; }
.bb-four b { font-size: 28px !important; color: #141a3a; }
.bb-four p { margin: 0; font-size: 20px !important; line-height: 1.6; color: #3b4166; }

.bb-next { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 460px); gap: 22px; text-align: left; }
.bb-next div { background: #fff; border-radius: 22px; padding: 24px 26px; box-shadow: 0 14px 36px rgba(20,30,90,.08); display: grid; gap: 6px; align-content: start; }
.bb-next .k { justify-self: start; font-size: 16px !important; font-weight: 800; color: #00199e; background: #e9edff; border-radius: 999px; padding: 2px 12px; }
.bb-next b { font-size: 27px !important; color: #141a3a; }
.bb-next p { margin: 0; font-size: 19px !important; line-height: 1.6; color: #3b4166; }
.bb-table { table-layout: fixed; }
.bb-open { display: inline-block; border-radius: 999px; background: #00199e; color: #fff !important; font-weight: 700; text-align: center; white-space: nowrap; }
.bb-table td:last-child { text-align: center; }

/* 実画面合わせ（2026-10-17 STG確認） */
.bb-st { display: inline-block; border-radius: 4px; background: #9aa0b4; color: #fff !important; font-size: 12px !important; font-weight: 700; padding: 3px 8px; white-space: nowrap; }
.bb-st.live { background: #e5007f; }
.bb-table td, .bb-table th { font-size: 13px !important; }
.bb-open { background: #e5007f !important; }
.bb-photos { display: flex; gap: 10px; }
.bb-photos span { width: 150px; height: 96px; border-radius: 6px; background: linear-gradient(135deg, #cfd6e6, #eef1f7); }
.bb-note { margin: 8px 0 0; font-size: 12px !important; color: #4b5170; }
.bb-doctabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bb-doctab { border: 1px solid #c9cfe0; border-radius: 6px; padding: 5px 10px; font-size: 12px !important; color: #9aa0b4; background: #fff; }
.bb-doctab.has { color: #00199e; border-color: #00199e; }
.bb-doctab.is-on { background: #00199e; color: #fff !important; }
.bb-docbox { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: #f5f7fc; font-size: 14px !important; font-weight: 600; color: #111827; margin-bottom: 12px; }
.bb-docbox .ic { display: inline-grid; place-items: center; width: 40px; height: 24px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 11px !important; font-weight: 800; }
.bb-rules { display: inline-block; border: 1.5px solid #e5007f; border-radius: 999px; color: #e5007f !important; font-size: 12px !important; padding: 4px 14px; }
.bb-caution { margin: 6px 0 16px; padding: 10px 14px; border-radius: 8px; background: #fff7e6; border: 1px solid #f3c56b; font-size: 13px !important; color: #5b4300; line-height: 1.6; }
.bb-caution b { display: block; font-size: 13px !important; }
.bb-table { width: 100% !important; }
.bb-table td { padding-top: 12px !important; padding-bottom: 12px !important; }
.bb-table th { color: #111827 !important; font-weight: 700; }
.bb-open { padding: 4px 18px !important; line-height: 1.4 !important; }
.c-table { width: 100% !important; max-width: none !important; }
.bb-rules { white-space: nowrap; }

.bb-open { position: relative; overflow: visible !important; }
.bb-new { position: absolute; top: -9px; right: -9px; min-width: 20px; height: 20px; border-radius: 999px; background: #e02424; color: #fff !important; font-size: 12px !important; font-weight: 800; line-height: 20px !important; text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }
.bb-new { top: -11px !important; right: -11px !important; min-width: 24px !important; height: 24px !important; line-height: 24px !important; font-size: 14px !important; }

.vc-hero { display: flex; align-items: center; gap: 24px; }
.bb-actions { margin-left: auto; display: grid; gap: 8px; width: 260px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(0,25,158,.12); }
.bb-limit { margin: 0 0 4px; font-size: 12px !important; color: #4b5170; text-align: center; }
.bb-limit b { display: block; font-size: 16px !important; color: #a43f98; }
.bb-act { display: block; text-align: center; border-radius: 999px; border: 1.5px solid #a43f98; color: #a43f98 !important; font-size: 14px !important; font-weight: 700; padding: 8px 0; }
.bb-act.main { background: #a43f98; color: #fff !important; padding: 12px 0; font-size: 16px !important; }

/* 最後のページ（マニュアル用の統一形） */
.bb-end-lead { margin: 10px 0 0; font-size: 26px !important; font-weight: 700; color: #3b4166; }
.bb-end-main { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 440px); gap: 28px; justify-content: center; }
.bb-end-btn { display: block; box-sizing: border-box; border: 0; border-radius: 999px; padding: 26px 0; text-align: center; font-size: 30px !important; font-weight: 800; color: #fff !important; background: linear-gradient(135deg, #a43f98, #00199e); box-shadow: 0 14px 30px rgba(20,30,90,.18); cursor: pointer; text-decoration: none; font-family: inherit; }
.bb-end-rel { margin-top: 40px; display: flex; align-items: stretch; gap: 18px; justify-content: center; }
.bb-end-rel .k { align-self: center; font-size: 18px !important; font-weight: 800; color: #00199e; background: #e9edff; border-radius: 999px; padding: 6px 16px; }
.bb-end-rel a { display: grid; gap: 4px; width: 400px; text-align: left; background: #fff; border-radius: 18px; padding: 16px 22px; box-shadow: 0 10px 26px rgba(20,30,90,.08); font-size: 17px !important; color: #3b4166 !important; text-decoration: none; line-height: 1.5; }
.bb-end-rel a b { font-size: 22px !important; color: #141a3a; }
.bb-end-foot { margin-top: 36px; font-size: 17px !important; color: #626789; }
.bb-end-foot a { color: #00199e !important; text-decoration: underline; }
/* 2026-10-29 最後の画面の統一：「マニュアルに戻る」を主、「もう一度」は白い縁取り */
#end-replay.bb-end-btn { background: #fff; color: #00199e !important; border: 2px solid #c9cde6; box-shadow: 0 10px 24px rgba(20,30,90,.1); }
