/* 追加動画② 案件の情報を購入する：再現画面の部品。一覧は動画⑥ prep.css、購入後の詳細は動画2 board.css から写した（2026-11-06） */
/* ---------- 再現画面（STGの見た目に寄せた簡易版） ---------- */
.pp-page { background: #f1f0fa; min-height: 1600px; font-family: "Noto Sans JP", sans-serif; }
.pp-body { position: relative; padding: 36px 110px 80px 330px; }
.pp-page .mk-header { z-index: 10; }
#v-area { font-size: 19px !important; }
.pp-title { margin: 6px 0 26px; text-align: left; font-size: 26px !important; font-weight: 800; color: #3b2fb0; letter-spacing: .06em; }
.pp-sec { margin-top: 30px; }
.pp-h { margin: 0 0 14px; font-size: 26px !important; font-weight: 800; color: #1b1f3d; }
.pp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 #e3e2ef; }
.pp-table th, .pp-table td { border-bottom: 1px solid #ebeaf3; padding: 16px 22px; text-align: left; vertical-align: middle; font-size: 19px !important; line-height: 1.6; color: #24294a; }
.pp-table th { width: 300px; background: #faf9fd; font-weight: 700; color: #3b4166; }
.pp-table td b { font-weight: 800; font-size: inherit !important; }
.pp-edit { display: flex; justify-content: flex-end; margin-top: 14px; }
.pp-edit.is-top { margin: 0 0 16px; }
.pp-btn-sm { display: inline-flex; align-items: center; padding: 10px 26px; border-radius: 999px; background: #fff; color: #c35aa9; font-size: 17px !important; font-weight: 700; box-shadow: 0 4px 12px rgba(80,60,160,.12); border: 1.5px solid #f0d6ea; }
.pp-btn-sm.is-fill { background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; border: 0; }
.pp-btn-sm.is-del { color: #b4384a; border-color: #f2cfd5; }
.pp-btn { display: inline-flex; justify-content: center; align-items: center; min-width: 260px; padding: 18px 40px; border-radius: 999px; background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; font-size: 21px !important; font-weight: 800; }
.pp-btn.is-ghost { background: #fff; color: #c35aa9; }
.pp-btn.is-save { margin-top: 18px; background: #fff; color: #c35aa9; border: 1.5px solid #f0d6ea; min-width: 220px; }
.pp-btn.is-main { min-width: 420px; }
.pp-actions { display: flex; gap: 22px; justify-content: center; margin-top: 30px; }
.pp-confirm { display: flex; justify-content: center; margin: 48px 0 30px; }
.pp-form td { padding: 12px 22px; }
.pp-page .c-form-input { width: 100%; box-sizing: border-box; font-size: 18px !important; padding: 12px 16px; border: 1.5px solid #dcdbea; border-radius: 8px; background: #fff; color: #1b1f3d; font-family: inherit; line-height: 1.6; height: auto; }
.pp-page textarea.c-form-input.pp-ta { min-height: 128px; resize: none; }
.pp-page textarea.c-form-input.pp-ta-s { min-height: 76px; resize: none; }
.pp-photo { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 12px; background: #eceaf6; vertical-align: middle; overflow: hidden; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; max-width: none !important; }
.pp-noimg { font-size: 14px !important; color: #8a8fac; }
.pp-file { margin-left: 18px; padding: 8px 16px; border: 1px solid #c9c8d8; border-radius: 6px; background: #f6f6f9; font-size: 16px !important; color: #3b4166; }
.pp-drop { border: 2px dashed #cfcde2; border-radius: 10px; background: #f8f8fc; padding: 18px; text-align: center; font-size: 16px !important; color: #5b6086; text-decoration: underline; }
.pp-page .c-form-group { margin-bottom: 18px; }
.pp-page .c-form-group label { display: block; margin-bottom: 8px; font-size: 18px !important; font-weight: 700; color: #1b1f3d; }
.pp-page .c-form-group label small { font-size: 14px !important; color: #c0267a; margin-left: 8px; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pp-note { margin: 6px 0 0; font-size: 16px !important; color: #5b6086; }
.pp-badges { display: flex; gap: 10px; margin-bottom: 14px; }
.pp-badge { padding: 4px 14px; border-radius: 6px; background: #7b5ce0; color: #fff; font-size: 17px !important; font-weight: 700; }
.pp-badge.is-gray { background: #8c90a8; }
.pp-intro { background: #fff; border-radius: 14px; padding: 26px 30px; box-shadow: 0 1px 0 #e3e2ef; }
.pp-list thead th { background: #faf9fd; }
.pp-list td, .pp-list th { width: auto; }
.pp-role { display: inline-block; padding: 3px 12px; border-radius: 6px; background: #eef0f8; color: #3b4166; font-weight: 700; font-size: 16px !important; }
.pp-role.is-owner { background: #fde8f5; color: #a43f98; }
.pp-ops { display: flex; gap: 10px; justify-content: flex-end; }

/* 右上メニュー（引き出し） */
.pp-drawer { display: none; position: absolute; right: 0; top: 0; width: 560px; min-height: 1200px; background: #fff; box-shadow: -20px 0 50px rgba(30,30,90,.18); padding: 40px 44px; z-index: 20; }
.pp-drawer.on { display: block; }
.pp-drawer-co { font-size: 18px !important; font-weight: 700; color: #3b4166; margin-bottom: 24px; }
.pp-drawer-main { font-size: 28px !important; font-weight: 800; color: #8d90a8; padding: 16px 0; border-bottom: 1px solid #ecebf3; }
.pp-drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; margin-top: 30px; }
.pp-drawer-sub a { font-size: 21px !important; color: #6b6f8c; padding: 4px 8px; }
#dr-company, #dr-users { color: #1b1f3d; font-weight: 700; }

/* 提供者：提案詳細 */
.pp-sum { display: grid; gap: 14px; }
.pp-sum-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 22px 28px; box-shadow: 0 1px 0 #e3e2ef; }
.pp-sum-row > div { display: flex; align-items: baseline; gap: 18px; }
.pp-sum-l { font-size: 18px !important; font-weight: 700; color: #6b6f8c; }
.pp-sum-row b { font-size: 26px !important; font-weight: 800; color: #1b1f3d; }
.pp-sum-row b small { font-size: 16px !important; }
.pp-sum-row > div > small { font-size: 18px !important; color: #3b4166; }
.pp-text { background: #fff; border-radius: 12px; padding: 20px 26px; font-size: 19px !important; line-height: 1.7; color: #24294a; margin: 0; }
.pp-modal { display: none; position: absolute; left: 0; right: 0; top: -150px; bottom: 0; background: rgba(20,28,80,.35); z-index: 1000; padding: 60px 110px 30px 330px; }
.pp-modal.on { display: block; }
.pp-panel { background: #fff; border-radius: 18px; padding: 30px 38px; box-shadow: 0 30px 70px rgba(10,20,80,.3); }
.pp-ptitle { margin: 0 0 8px; font-size: 26px !important; font-weight: 800; color: #3b2fb0; }
.pp-psub { margin: 18px 0 10px; font-size: 21px !important; font-weight: 800; color: #1b1f3d; }
.pp-panel .pp-table th { width: 230px; }

/* ---------- 実画面（再現）の部品 ---------- */
.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; }

/* 実画面合わせ（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; }

