/* 買う・売るの場（プラットフォーム）の見た目。flow.css のあとに読む。body に class="pf side-…" を付けた画面だけに効く。
   2026-11-15 中島「なんだよまた、お役所画面。白黒画面が楽しいか！」「白黒で四角四角でAI画面。わからない。入ってこない。もっとイラスト使え」:
   - 色で側を分ける: 買う＝青（side-buy）・売る＝橙（side-sell）・流れ＝紫（side-how）・トップ＝紺（side-home）。
   - 角を丸め、薄い影で浮かせる。絵は public/art.js。
   - 白抜きの字を載せる色は、字が読める濃さ（--acc-2）を使う。 */
body.pf { --r: 16px; --r-sm: 10px; background: #F6F8FC; }
body.pf.side-home { --acc: #1F2A48; --acc-2: #1F2A48; --acc-soft: #EAF0FB; --acc-line: #D5DCEA; }
body.pf.side-buy { --acc: #2563EB; --acc-2: #1D4ED8; --acc-soft: #EAF1FF; --acc-line: #C7D8FB; }
body.pf.side-sell { --acc: #EF7A1A; --acc-2: #C2560A; --acc-soft: #FFF1E3; --acc-line: #F8D2AE; }
body.pf.side-how { --acc: #7C4DDB; --acc-2: #5B32B5; --acc-soft: #F2EDFF; --acc-line: #D9CCF7; }

/* 入力の部品（丸み・色） */
body.pf .tile { border-radius: var(--r-sm); border-color: #DCE1EA; }
body.pf .tile:hover { border-color: var(--acc); }
body.pf .tile.on { background: var(--acc-2); border-color: var(--acc-2); }
body.pf .tile.on::before { color: #FFE08A; }
body.pf .fin { border-radius: var(--r-sm); border-color: #DCE1EA; }
body.pf .fin:focus { border-color: var(--acc); outline-color: var(--acc-line); }
body.pf .go { border-radius: 999px; background: var(--acc-2); border-color: var(--acc-2); box-shadow: 0 6px 16px rgba(31, 42, 72, .14); }
body.pf .go:hover { background: var(--acc); border-color: var(--acc); }
body.pf .go.ghost { background: #fff; color: var(--acc-2); border-color: var(--acc-2); box-shadow: none; }
body.pf .go.ghost:hover { background: var(--acc-soft); color: var(--acc-2); }
body.pf .go.buyc { background: #1D4ED8; border-color: #1D4ED8; } body.pf .go.buyc:hover { background: #2563EB; border-color: #2563EB; }
body.pf .go.sellc { background: #C2560A; border-color: #C2560A; } body.pf .go.sellc:hover { background: #EF7A1A; border-color: #EF7A1A; }
body.pf .go.white { background: #fff; color: var(--acc-2); border-color: #fff; }
body.pf .ms button:first-child, body.pf .seg3 button:first-child { border-radius: 999px 0 0 999px; }
body.pf .ms button:last-child, body.pf .seg3 button:last-child { border-radius: 0 999px 999px 0; }
body.pf .ms button.on, body.pf .seg3 button.on { background: var(--acc-2); border-color: var(--acc-2); }
body.pf .ms button.on.may, body.pf .seg3 button.on.may { background: var(--gold-soft); border-color: var(--gold-2); color: var(--gold-2); }
body.pf .seg3 button.on.off { background: #EEF1F6; border-color: #CBD2DE; color: var(--muted); }
body.pf .qtip { border-radius: 50%; border-color: var(--acc-2); color: var(--acc-2); }
body.pf .qtip:hover, body.pf .qtip[aria-expanded="true"] { background: var(--acc-2); color: #fff; }
body.pf .qtip-box, body.pf .qtip-box .qtip-a { background: var(--acc-2); }
body.pf .qtip-box { border-radius: 12px; }
body.pf .road li.done::before { background: var(--acc); }
body.pf .road li.cur::before { background: linear-gradient(var(--acc) 50%, #DEDEDA 50%); }
body.pf .road li.cur:last-child::before { background: var(--acc); }
body.pf .road li.done .rdot, body.pf .road li.cur .rdot { border-color: var(--acc-2); background: var(--acc-2); }
body.pf .road li.cur .rdot { box-shadow: 0 0 0 5px var(--acc-soft), 0 0 0 7px var(--acc); }
body.pf .road .here { border-radius: 999px; background: var(--acc-2); }

/* まとまり（丸み・色） */
body.pf .eyebrow { color: var(--acc-2); }
body.pf .eyebrow::before { background: var(--acc); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
body.pf .points { border-radius: var(--r); background: linear-gradient(100deg, var(--acc-2), var(--acc)); }
body.pf .stepbar { border-top-color: var(--acc-line); }
body.pf .stepbar .now::before { background: var(--acc); border-radius: 0 0 4px 4px; }
body.pf .stepbar .n::after { color: var(--acc); }
body.pf .rows { border-top-color: var(--acc); }
body.pf .q { background: #fff; border-radius: var(--r); padding: 24px 26px 20px; box-shadow: 0 2px 10px rgba(31, 42, 72, .05); margin-bottom: 18px; }
body.pf .peek { border-radius: var(--r); border-top: 0; background: #fff; box-shadow: 0 6px 22px rgba(31, 42, 72, .08); }
body.pf .peek .cap { color: var(--acc-2); }
body.pf .msg { border-radius: var(--r-sm); }
body.pf .fee { border-radius: var(--r); }
body.pf .ncard { border-radius: var(--r); border: 0; border-top: 6px solid var(--acc); box-shadow: 0 4px 18px rgba(31, 42, 72, .08); overflow: hidden; }
body.pf .ncard .no, body.pf .mrow .no { color: var(--acc-2); }
body.pf .doclist { border-top-color: var(--acc); }
body.pf .doclist li.have .ic { border-color: var(--acc-2); background: var(--acc-2); }
body.pf .doclist .ic { border-radius: 8px; }
body.pf .dropbig { border-radius: var(--r); border-color: var(--acc-line); background: var(--acc-soft); }
body.pf .panel { border-radius: var(--r); }
body.pf .minebox, body.pf .mylist { background: #fff; border-radius: var(--r); padding: 20px 24px; box-shadow: 0 2px 10px rgba(31, 42, 72, .05); }
body.pf .mrow { border-radius: var(--r-sm); }
body.pf .filters button { border-radius: 999px; }
body.pf .filters button.on { background: var(--acc-2); border-color: var(--acc-2); }
body.pf label.opt { border-radius: var(--r-sm); }
body.pf .tg { border-radius: 999px; }
body.pf .cchip b { border-radius: 4px; }

/* 絵入りの大きな帯（各画面のいちばん上） */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 18px 40px; margin: 0 0 30px; padding: 34px 40px; border-radius: 28px; background: var(--acc-soft); }
.phero .eyebrow { margin-bottom: 4px; }
.phero h1 { margin: 6px 0 12px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.22; letter-spacing: -.01em; color: var(--navy); }
.phero h1 { word-break: keep-all; overflow-wrap: anywhere; }   /* 読点で折り返す（「教え／てください」と切らない） */
.phero.slim h1 { font-size: clamp(26px, 3.6vw, 40px); }
.phero h1 .b { color: #1D4ED8; } .phero h1 .s { color: #C2560A; }
.phero p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--body); }
.phero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.phero .art { display: block; width: 100%; height: auto; max-height: 280px; }
.phero .points { margin: 18px 0 0; font-size: 15.5px; padding: 12px 18px; gap: 6px 22px; }
.phero.home { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding: 30px 30px 30px 44px; background: #fff; box-shadow: 0 10px 30px rgba(31, 42, 72, .08); }
.phero.home .art { max-height: 360px; }
.phero.slim { padding: 22px 32px; }
.phero.slim .art { max-height: 170px; }
@media (max-width: 860px) {
  .phero, .phero.home { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 22px; }
  .phero .art { max-height: 220px; order: -1; }
  .phero.slim .art { max-height: 130px; }
}

/* いまの動き（数の札） */
.pulse { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 40px; }
.pulse a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 2px solid transparent; box-shadow: 0 3px 12px rgba(31, 42, 72, .06); color: var(--navy); text-decoration: none; transition: border-color .12s, transform .12s; }
.pulse a:hover { border-color: var(--pc, var(--navy)); transform: translateY(-2px); }
.pulse .art { width: 52px; height: 52px; flex: 0 0 auto; }
.pulse b { display: block; font-family: var(--num); font-size: 32px; font-weight: 800; line-height: 1.05; color: var(--pc, var(--navy)); }
.pulse .k { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); }

/* 見出し */
.sec2 { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 16px; font-size: 24px; color: var(--navy); }
.sec2 small { font-size: 14px; font-weight: 500; color: var(--muted); }

/* 絵入りの入口の札 */
body.pf .doors { gap: 20px; }
body.pf .door { position: relative; gap: 6px; min-height: 0; padding: 14px 24px 22px; border: 2px solid transparent; border-radius: 22px; background: #fff; box-shadow: 0 6px 20px rgba(31, 42, 72, .08); color: var(--navy); transition: transform .15s, box-shadow .15s, border-color .15s; }
body.pf .door:hover { transform: translateY(-3px); border-color: var(--dc, var(--acc)); box-shadow: 0 14px 30px rgba(31, 42, 72, .14); }
body.pf .door .art { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto 2px; }
body.pf .door .dn { color: var(--dc, var(--acc-2)); }
body.pf .door b { font-size: 21px; color: var(--dc, var(--navy)); }
body.pf .door span.d { color: var(--body); }
body.pf .door .open { align-self: flex-start; margin-top: 8px; padding: 8px 18px; border-radius: 999px; background: var(--dc, var(--acc-2)); color: #fff; font-size: 14px; font-weight: 800; }
body.pf .door .open::after { content: " →"; font-family: var(--num); }
body.pf .door .cnt { margin-top: 2px; color: var(--dc, var(--acc-2)); }
body.pf .door.c-buy { --dc: #1D4ED8; } body.pf .door.c-sell { --dc: #C2560A; } body.pf .door.c-deal { --dc: #138A62; } body.pf .door.c-how { --dc: #5B32B5; } body.pf .door.c-q { --dc: #5B32B5; }
body.pf .door.main { background: #fff; color: var(--navy); border-color: var(--dc, var(--acc)); }

/* しくみの図（買主 ⇄ 当社 ⇄ 売主） */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 8px; margin: 0 0 22px; padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: 0 6px 20px rgba(31, 42, 72, .07); }
.loop .node { text-align: center; }
.loop .node .art { display: block; width: 104px; height: 104px; margin: 0 auto 6px; }
.loop .node b { display: block; font-size: 17px; color: var(--navy); }
.loop .node small { display: block; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.loop .lane { display: flex; flex-direction: column; gap: 10px; }
.loop .pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.loop .pill.r { background: #EAF1FF; color: #1D4ED8; }
.loop .pill.l { background: #FFF1E3; color: #B04F09; flex-direction: row-reverse; text-align: right; }
.loop .pill i { font-style: normal; font-family: var(--num); font-size: 18px; }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 40px; }
.promises div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px rgba(31, 42, 72, .05); font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--navy); }
.promises .art { width: 48px; height: 48px; flex: 0 0 auto; }
@media (max-width: 860px) {
  .loop { grid-template-columns: 1fr; gap: 14px; }
  .loop .lane { max-width: 360px; margin: 0 auto; width: 100%; }
}

/* 全体の流れ（色分けの2列） */
body.pf .flowmap > div { padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 6px 20px rgba(31, 42, 72, .07); }
body.pf .flowmap > div:first-child { --fc: #1D4ED8; } body.pf .flowmap > div:last-child { --fc: #C2560A; }
body.pf .flowmap h2 { display: flex; align-items: center; gap: 12px; color: var(--fc); }
body.pf .flowmap h2 .art { width: 64px; height: 64px; }
body.pf .flowmap ol { border-top-color: var(--fc); }
body.pf .flowmap li::before { border-radius: 50%; background: var(--fc); }
body.pf .flowmap li b { color: var(--navy); }
body.pf .go.ghost.buyc2 { color: #1D4ED8; border-color: #1D4ED8; } body.pf .go.ghost.buyc2:hover { background: #EAF1FF; }   /* 売る側の画面に置く、買う側への入口 */

/* 必ず入れる所の印と、足りない行（2026-11-15 中島「どれがマストなのかわからない。次に進まない時なにが不足か、その行全体を色変えて」） */
.req { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #D93025; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.5; vertical-align: 3px; white-space: nowrap; }
.rw > .lb .req { margin-left: 6px; vertical-align: 1px; }
body.pf .q.miss, body.pf .rw.miss { background: #FFF0EE; box-shadow: inset 5px 0 0 #D93025; }
body.pf .rw.miss { margin: 0 -14px; padding-left: 14px; padding-right: 14px; border-radius: 10px; }
body.pf .q.miss h2, body.pf .rw.miss > .lb > span:first-child { color: #B3261E; }

/* 案件一覧に載せる得（売る画面の届け方） */
.gain { margin: -2px 0 12px; padding: 14px 18px; border-radius: 14px; background: var(--acc-soft, #FFF1E3); }
.gain > b { display: block; margin-bottom: 6px; font-size: 14.5px; color: var(--acc-2, #C2560A); }
.gain ul { margin: 0; padding: 0; list-style: none; }
.gain li { position: relative; padding: 3px 0 3px 24px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.gain li::before { content: "✓"; position: absolute; left: 2px; top: 3px; font-weight: 900; color: var(--acc, #EF7A1A); }

/* 任意の印（必須は .req） */
.optm { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1.5px solid #B8BFCC; border-radius: 999px; color: #6B7385; font-size: 11.5px; font-weight: 700; line-height: 1.5; vertical-align: 3px; white-space: nowrap; }
.rw > .lb .optm { margin-left: 6px; vertical-align: 1px; }
/* 資料との食い違い（売る画面の「中身を確かめる」） */
.cfpanel { border: 2px solid #F3B4AE; background: #FFF8F7; }
.cfrow { padding: 12px 14px; margin: 0 -14px; border-radius: 10px; }
.cfrow > b { display: block; margin-bottom: 6px; font-size: 15px; color: var(--navy); }
.cfrow.miss { background: #FFF0EE; box-shadow: inset 5px 0 0 #D93025; }
.cfch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .cfch { grid-template-columns: 1fr; } }
.webopt { display: flex; align-items: flex-start; gap: 8px; margin: -4px 0 12px 46px; font-size: 14px; line-height: 1.6; color: var(--body); }
.webopt input { flex: 0 0 auto; margin-top: 4px; }
body.pf .ncard .toprow { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }   /* 長い札（サイエンスエックスがメールで聞いた内容…）を折り返す */
body.pf .ncard .hd > div:first-child { min-width: 0; }
body.pf .tg { white-space: normal; }

/* トップの「使い方」（買いたい／売りたい／両方・2026-11-15） */
.sidesw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -14px 0 24px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.sidesw button { padding: 6px 14px; border: 2px solid #DCE1EA; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; }
.sidesw button:hover { border-color: var(--navy); }
.sidesw button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sidesw button.on.buy { background: #1D4ED8; border-color: #1D4ED8; } .sidesw button.on.sell { background: #C2560A; border-color: #C2560A; }
.sidesw small { font-weight: 500; }
.doclist .ic.doc { border: 0; color: var(--acc, #EF7A1A); }   /* 上げてほしい資料の一覧は見るだけ（押す所に見せない） */
.doclist .ic.doc svg { width: 24px; height: 24px; }
.doclist li { grid-template-columns: 34px minmax(0, 1fr) auto; }

/* 今ある案件（/deals・緑）。一覧の表と絞り込みは前の動きのまま、見た目だけそろえる（2026-11-15） */
body.pf.side-deal { --acc: #19A16F; --acc-2: #0F7A52; --acc-soft: #E6F6EF; --acc-line: #BFE6D4; }
body.pf .eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; }
body.pf .eyebrow::before { content: ""; width: 11px; height: 11px; flex: 0 0 auto; }
.deals-hero { flex: 0 0 auto; margin: 16px 22px 10px; padding: 16px 28px; }
.deals-hero h1 { font-size: clamp(24px, 3vw, 34px) !important; margin: 4px 0 6px !important; }
.deals-hero p { font-size: 14.5px !important; line-height: 1.8 !important; }
.deals-hero .cta { margin-top: 12px !important; }
.deals-hero .art { max-height: 120px !important; }
body.pf.side-deal .btn-primary { background: var(--acc-2); border-color: var(--acc-2); border-radius: 999px; padding: 0 18px; }
body.pf.side-deal .btn-primary:hover { background: var(--acc); border-color: var(--acc); }
body.pf.side-deal .toolbar { background: transparent; border-bottom: 0; padding-top: 4px; }
body.pf.side-deal .seg { border-radius: 999px; }
body.pf.side-deal .seg button { border-radius: 999px; }
body.pf.side-deal .seg button.active { background: var(--acc-2); }
body.pf.side-deal .input, body.pf.side-deal .select, body.pf.side-deal .search-box { border-radius: 10px; }
body.pf.side-deal .table-card { border: 0; border-radius: 18px; box-shadow: 0 6px 20px rgba(31, 42, 72, .07); }
body.pf.side-deal .hint-bar { margin: 0 22px; border-radius: 14px; }
@media (max-width: 768px) { .deals-hero { margin: 10px 14px 8px; padding: 16px; } .deals-hero .art { max-height: 100px !important; } body.pf.side-deal .hint-bar { margin: 0 14px; } }

/* エリアの札（可・優先・不可・2026-11-15） */
.tiles.area3 .tile small { font-weight: 800; }
body.pf .tiles.area3 .tile.on.st-pri { background: #B7791F; border-color: #B7791F; }
body.pf .tiles.area3 .tile.on.st-pri::before { content: "★"; color: #fff; }
body.pf .tiles.area3 .tile.on.st-ng { background: #fff; border-color: #D93025; color: #B3261E; }
body.pf .tiles.area3 .tile.on.st-ng::before { content: "×"; color: #D93025; }
body.pf .tiles.area3 .tile.on.st-ng span > span:first-child { text-decoration: line-through; }


/* 公開の一覧（/catalog・/wanted）: 絞り込みの札と、1件1枚の札（2026-11-15 中島「独立サイトにする」） */
.ofilter { display: grid; gap: 10px; margin: 18px 0 6px; padding: 16px 18px; background: #fff; border: 1px solid #E3E8F2; border-radius: var(--r); }
.ofilter > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ofilter > div > span { min-width: 4.5em; font-weight: 800; color: var(--muted); font-size: 13px; }
.ochip { border: 1.5px solid #D5DCEA; background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; cursor: pointer; }
.ochip small { margin-left: 6px; color: var(--muted); font-weight: 700; }
.ochip.on { background: var(--acc-2); border-color: var(--acc-2); color: #fff; } .ochip.on small { color: #E2E8F0; }
.ocount { margin: 14px 2px 10px; color: var(--muted); } .ocount b { font-size: 22px; color: var(--navy); margin-right: 4px; }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ocard { background: #fff; border: 1px solid #E3E8F2; border-top: 5px solid var(--acc); border-radius: var(--r); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 4px 14px rgba(31, 42, 72, .05); }
.oc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.oc-pref { font-weight: 900; font-size: 17px; color: var(--navy); margin-right: 4px; }
.oc-ttl { margin: 0; font-size: 18px; font-weight: 800; color: var(--navy); } .oc-ttl b { font-size: 22px; }
.oc-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.oc-kv dt { color: var(--muted); font-weight: 700; } .oc-kv dd { margin: 0; font-weight: 700; color: var(--body); }
.oc-ft { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed #E3E8F2; }
.oc-no { color: var(--faint); font-size: 12.5px; font-weight: 700; }
.oside { margin: 34px 0 0; padding: 22px 24px; border-radius: var(--r); background: #FFF1E3; display: grid; gap: 8px; justify-items: start; }
.oside.buy { background: #EAF1FF; } .oside h2 { margin: 0; font-size: 20px; color: var(--navy); } .oside p { margin: 0; }
.anon-note { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--muted) !important; } .anon-note a { font-weight: 800; margin-left: 6px; }
body.pf.side-deal .ocard { --acc: #138A62; }

/* ---- 明るく（2026-11-15 中島「なんでいつもいつもドヨンとした画面。いやだ」「やる気を削ぐためのAI？」） ----
   地は温かい白、冒頭の帯は側ごとの色の重ね（青・橙・緑・紫）、札と入口は色の地、見出しは濃く。どの画面もこの層が最後に効く。 */
body.pf { background: #FFFCF5; }
body.pf.side-home { --h1: #C7D9FF; --h2: #FFE1EF; --h3: #FFE8B0; }
body.pf.side-buy { --h1: #BCD4FF; --h2: #DCEBFF; --h3: #FFF1C7; }
body.pf.side-sell { --h1: #FFC891; --h2: #FFE2C2; --h3: #FFF3B0; }
body.pf.side-deal { --h1: #9EEBC8; --h2: #DDF8EA; --h3: #FFF3B8; }
body.pf.side-how { --h1: #D4C6FF; --h2: #EFE8FF; --h3: #FFDDF0; }
.phero, .phero.home { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--h1) 0%, var(--h2) 52%, var(--h3) 100%); box-shadow: 0 16px 36px rgba(31, 42, 72, .12); border: 0; }
.phero::before { content: ''; position: absolute; left: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; }
.phero::after { content: ''; position: absolute; right: 22%; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .35); pointer-events: none; }
.phero > * { position: relative; z-index: 1; }
.phero h1 { color: #0B1530; }
.phero p { color: #24304A; }
body.pf .phero .eyebrow { display: inline-flex; background: rgba(255, 255, 255, .8); color: var(--acc-2); padding: 5px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(31, 42, 72, .08); }
body.pf .phero .eyebrow::before { display: none; }
/* 入口の札: 色の地＋太い色の縁 */
body.pf .door { border: 0; background: color-mix(in srgb, var(--dc, #1F2A48) 9%, #fff); box-shadow: 0 8px 22px rgba(31, 42, 72, .08); border-top: 6px solid var(--dc, #1F2A48); }
body.pf .door:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(31, 42, 72, .14); }
body.pf .pulse a { background: color-mix(in srgb, var(--pc, #1F2A48) 10%, #fff); }
/* 一覧の札: 上の色を太く、地をうっすら色に */
body.pf .ncard { border-top-width: 8px; }
.ocard { border-top-width: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 8%, #fff) 0, #fff 90px); }
.ofilter { background: #fff; box-shadow: 0 6px 18px rgba(31, 42, 72, .06); border: 0; }
.ochip { background: color-mix(in srgb, var(--acc) 6%, #fff); }

/* 電圧・買い方で出てくる問いのかたまり（2026-11-15 中島「権利渡し・完成渡し、高圧、特別高圧であとの設問が変わるほうがいい」）: 出てきたと分かる色の箱 */
.branch { margin: 16px 0 4px; padding: 14px 16px 6px; border-radius: 16px; border: 2px solid var(--bc); background: color-mix(in srgb, var(--bc) 7%, #fff); animation: brIn .25s ease-out; }
.branch .bh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.branch .bh b { font-size: 16px; font-weight: 900; color: var(--bc); }
.branch .bh span { font-size: 13px; color: var(--muted); }
.branch.ehv { --bc: #6D28D9; } .branch.kenri { --bc: #C2560A; } .branch.kansei { --bc: #1D4ED8; } .branch.hv { --bc: #0F7A52; }
@keyframes brIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.ocard.hit { box-shadow: 0 0 0 4px #FBBF24, 0 10px 26px rgba(31, 42, 72, .14); }   /* 直リンクで来た1件（scix.co.jp の案件の行から） */
/* 買主のリクエストの区分（need-kinds.js・2026-11-16） */
.kchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ochip.on { background: var(--acc-2, #1F2A48); border-color: var(--acc-2, #1F2A48); color: #fff; }
.ochip.on small { color: rgba(255, 255, 255, .85); }
.kgrp { margin-top: 26px; }
.kgrp .kh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 21px; color: var(--navy); }
.kgrp .kh small { font-size: 13px; font-weight: 700; color: var(--muted); }
.kgrp.k-built .kh { border-left: 6px solid #0F7A52; padding-left: 10px; }
.kgrp.k-rights .kh { border-left: 6px solid #C2560A; padding-left: 10px; }
.kgrp.k-any .kh { border-left: 6px solid #5B32B5; padding-left: 10px; }
.kgrp .nlist { display: grid; gap: 16px; }
body.pf main > .empty, body.pf #root > .empty { background: #fff; border-radius: var(--r); padding: 18px 22px; margin: 18px 0; box-shadow: 0 2px 10px rgba(31, 42, 72, .05); color: var(--body); }
/* ===== トップ（2026-11-16 作り直し・中島「画面スカスカ」）: 新着の案件と買主のリクエストを左右に・自社の状況・当社のやること ===== */
.home2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 8px; }
.hcol { background: #fff; border-radius: var(--r); box-shadow: 0 4px 18px rgba(31, 42, 72, .07); overflow: hidden; border-top: 6px solid var(--hc); }
.hcol.buy { --hc: #1D4ED8; } .hcol.sell { --hc: #C2560A; }
.hhd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 18px 10px; border-bottom: 1px solid #EDF1F7; }
.hhd h2 { margin: 0; font-size: 18px; color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.hhd h2 small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.hhd a { font-weight: 800; font-size: 13.5px; color: var(--hc); text-decoration: none; white-space: nowrap; }
.hrow { display: grid; grid-template-columns: 74px 1fr auto auto; align-items: center; gap: 4px 12px; padding: 11px 18px; border-bottom: 1px solid #F1F4F9; text-decoration: none; color: var(--body); }
.hrow:last-child { border-bottom: 0; }
.hrow:hover { background: color-mix(in srgb, var(--hc) 6%, #fff); }
.hrow .no { font-family: var(--num); font-weight: 800; font-size: 13px; color: var(--hc); }
.hrow .mid { display: flex; flex-direction: column; min-width: 0; }
.hrow .mid b { color: var(--navy); font-size: 14.5px; }
.hrow .mid span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrow .tg { font-size: 12px; }
.hrow .dt { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hcol.sell .hrow { grid-template-columns: 74px 1fr auto; }
.hempty { padding: 18px; color: var(--muted); }
.htodo, .hmine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; padding: 12px 18px; border-radius: var(--r); background: #fff; box-shadow: 0 2px 10px rgba(31, 42, 72, .06); text-decoration: none; color: var(--navy); }
.htodo { border-left: 6px solid #1F2A48; } .hmine { border-left: 6px solid #0F7A52; }
.htodo b, .hmine b { font-size: 14px; margin-right: 4px; }
.htodo span, .hmine a { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.htodo i, .hmine i { font-style: normal; font-family: var(--num); font-size: 22px; font-weight: 800; color: var(--navy); }
.htodo span.hot i { color: #C2560A; }
.htodo em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 13.5px; }
.hmine a:hover { color: var(--navy); }
@media (max-width: 900px) { .home2 { grid-template-columns: 1fr; } .hrow { grid-template-columns: 64px 1fr auto; } .hrow .tg { display: none; } }
/* 買主のリクエストの「当社だけに見える欄」（owner だけ）: 社内の札と分かる色 */
.ncard .own { background: #FFF8E6 !important; border: 1px dashed #E8B44A; border-radius: 12px; color: #5B4A1E !important; word-break: normal !important; }
.ncard .own b { display: block; font-size: 11.5px; color: #8A6A1E; margin-bottom: 2px; }
.ncard .own strong { color: #1F2A48; font-size: 14px; }
/* 案件を探す（/deals・表を画面の高さに合わせる作り）: 1行の見出し・下の帯と上の帯の件数は出さない（2026-11-16） */
.dhead { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 14px 22px 2px; }
.dhead h1 { margin: 0; font-size: 22px; color: var(--navy); }
.dhead .dsub { font-size: 13.5px; color: var(--muted); }
.dhead .go { margin-left: auto; }
body.app-fit footer.site-foot { display: none; }
body.app-fit header.appbar .meta { display: none; }
@media (max-width: 768px) { .dhead { margin: 10px 14px 0; } .dhead .go { margin-left: 0; } }
.ncard .own .own-act { display: inline-flex; gap: 12px; margin-left: 12px; }
.ncard .own .own-act a { font-weight: 800; color: #1D4ED8; }

/* ===== 案件ページ（deal.html）と質問と答え（questions.html）: 前の紺の四角い作りを、マーケットの丸み・色にそろえる（2026-11-16 中島「全面的に見直せ」）===== */
body.dealpg, body.qpg { background: var(--m-bg, #FFFCF5); }
body:is(.dealpg, .qpg) .card, body:is(.dealpg, .qpg) .kpis { border: 0 !important; border-top: 6px solid var(--cc, #1D4ED8) !important; border-radius: 18px !important; box-shadow: 0 4px 18px rgba(31, 42, 72, .07) !important; background: #fff; }
body.dealpg .card:nth-of-type(3n+2) { --cc: #0F7A52; } body.dealpg .card:nth-of-type(3n) { --cc: #C2560A; }
body:is(.dealpg, .qpg) .btn { border-radius: 999px !important; }
body:is(.dealpg, .qpg) :is(.btn-primary, .btn-gold, .btn-save) { background: #1D4ED8 !important; border-color: #1D4ED8 !important; color: #fff !important; border-radius: 999px !important; }
body:is(.dealpg, .qpg) :is(.btn-primary, .btn-gold, .btn-save):hover { background: #2563EB !important; border-color: #2563EB !important; }
body:is(.dealpg, .qpg) :is(.tag, .chip) { border-radius: 999px !important; }
body.dealpg .kpi { border-radius: 14px; }
body.dealpg .dc-launch { border-radius: 999px !important; background: #C2560A !important; border: 0 !important; box-shadow: 0 6px 16px rgba(194, 86, 10, .25) !important; }
body.dealpg .dc-launch .dc-launch-sub { color: rgba(255, 255, 255, .88) !important; }
body.dealpg .dc-panel, body.dealpg [class*="dc-panel"] { border-radius: 18px 18px 0 0 !important; }
body.dealpg :is(textarea, input[type="text"], select) { border-radius: 12px !important; }
body.qpg main, body.qpg #root { max-width: 1080px; margin: 0 auto; }
body.dealpg #qaSend { background: #1D4ED8 !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 10px 22px !important; font-weight: 900; }
body.dealpg #qaSend:hover { background: #2563EB !important; }
/* トップの行: 場所と中身が先、番号は日付の下に小さく（2026-11-16） */
.hrow { grid-template-columns: 1fr auto auto; }
.hcol.sell .hrow { grid-template-columns: 1fr auto; }
.hrow .dt { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.4; }
.hrow .dt small { font-family: var(--num); font-size: 11px; color: #9AA3B5; }
@media (max-width: 900px) { .hrow { grid-template-columns: 1fr auto; } }
/* 完成渡し・権利渡しの印（art.js の Art.kind・2026-11-16） */
.kb { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 7px; border-radius: 999px; font-size: 12.5px; font-weight: 800; line-height: 1.25; white-space: nowrap; vertical-align: middle; }
.kb + .kb { margin-left: 4px; }
.kb svg { width: 19px; height: 19px; flex: 0 0 auto; }
.kb small { font-size: 11px; font-weight: 700; opacity: .85; }
.kb-built { background: #E3F6EC; color: #0F7A52; }
.kb-rights { background: #FCEFD6; color: #8A5300; }
.oc-kind { margin: 2px 0 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.hrow .kcell { display: flex; flex-wrap: wrap; gap: 3px; justify-content: flex-end; }
.hrow .mid b .kb { margin-right: 4px; font-size: 11.5px; padding: 2px 8px 2px 5px; }
.hrow .mid b .kb svg { width: 15px; height: 15px; }
.kgrp .kh .kb { font-size: 12px; }
.ncard .ft .nid { margin-left: auto; font-family: var(--num); font-size: 11.5px; color: #9AA3B5; }
.ochip.kchip { padding: 3px 12px 3px 4px; }
.ochip.kchip.on { background: #fff; color: var(--navy); box-shadow: 0 0 0 3px var(--acc-2, #1F2A48) inset; }
/* 案件を探す: スマホは表でなく札（2026-11-16） */
.mcards { display: none; }
@media (max-width: 700px) {
  body.app-fit .table-card { display: none !important; }
  .mcards { display: grid; gap: 12px; }
  .mcard { display: block; background: #fff; border-radius: 18px; box-shadow: 0 4px 16px rgba(31, 42, 72, .08); border-top: 6px solid #10B981; padding: 14px 16px 12px; text-decoration: none; color: var(--body, #24304A); }
  .mc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  .mc-top b { font-size: 17px; color: #1F2A48; line-height: 1.4; }
  .mc-st { flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: #0F7A52; background: #E3F6EC; border-radius: 999px; padding: 2px 9px; }
  .mc-addr { font-size: 13px; color: #5B667A; margin: 2px 0 8px; }
  .mc-mid { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .mc-v { font-weight: 800; color: #1F2A48; font-size: 14px; }
  .mc-price { margin: 8px 0 4px; font-size: 18px; color: #1F2A48; }
  .mc-ft { display: flex; justify-content: space-between; font-size: 11.5px; color: #9AA3B5; border-top: 1px solid #F1F4F9; padding-top: 8px; margin-top: 6px; }
}
.mcard .mc-price .price-txt { font-size: 18px !important; }
/* 管理の各画面・質疑応答・売主の約束（body.legacy）: 前の紺の四角い部品をマーケットの丸み・色に（2026-11-16 中島「全部」） */
body.legacy { background: var(--m-bg, #FFFCF5) !important; }
body.legacy :is(.card, .panel, .box, .dtable-wrap, .table-card, .kpis, .item, section.blk) { border: 0 !important; border-radius: 18px !important; box-shadow: 0 4px 18px rgba(31, 42, 72, .07) !important; background: #fff; }
body.legacy :is(.card, .dtable-wrap, .table-card, .kpis) { border-top: 6px solid #1F2A48 !important; }
body.legacy :is(.btn, button:not(.lang-sw button):not(.logout-btn)) { border-radius: 999px !important; }
body.legacy :is(.btn-primary, .btn-gold, .btn-save, button[type="submit"]) { background: #1D4ED8 !important; border-color: #1D4ED8 !important; color: #fff !important; }
body.legacy :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border-radius: 12px !important; }
body.legacy :is(.tag, .chip, .badge, .pill) { border-radius: 999px !important; }
body.legacy table th { background: #F3F5FA; }

/* 一覧の SELLER の札の下の小さな字（売主欄の自由文＝窓口・筋のメモ・2026-11-16） */
.c-seller .c-sub { font-size: 11px; line-height: 1.35; color: #8A8F9B; margin-top: 2px; white-space: normal; }
