/* Signal by 43 Sunsets — 共通の意匠(2026-09-07 見直し・CEO 承認)。各ページの inline CSS の後に読む。
   原則: 枠を減らす・文字の段を増やす・色の札は 2 個まで・青は押せるものだけ・事実は緑の罫線・推論は茶の地 */
:root{ --paper:#F7F7F4; --card:#FFFFFF; --ink:#1F252C; --ink-2:#3B444E; --sub:#6B737C; --mute:#9AA1A9; --line:#DCDFDB; --line-soft:#ECEEEA; --ai-accent:#2F5D8A; --accent:#2F5D8A; --fact:#2E6E4E; --fact-bg:#EEF4EF; --infer:#8A5A2F; --infer-bg:#F8F2EA; --infer-line:#D9C6A8; --stamp:#B54434; --warn:#B54434; --chip-bg:#ECEEEA; --jp:#8A2F55; --jp-bg:#F6E9EF; --pill:#FFFFFF; --tile:#FFFFFF; --tile-line:#DCDFDB; --rule:#1F252C; --head-border:1px solid #DCDFDB; --bg-extra:none; }
:root[data-theme="dark"]{ --paper:#12161C; --card:#1A2028; --ink:#E8EBEE; --ink-2:#C9CFD5; --sub:#9AA4AE; --mute:#6F7882; --line:#2A323B; --line-soft:#232A33; --ai-accent:#8FB4DA; --accent:#8FB4DA; --fact:#7CC49C; --fact-bg:#1E2A24; --infer:#D8A96B; --infer-bg:#241F17; --infer-line:#5A4A32; --stamp:#E08A78; --warn:#E08A78; --chip-bg:#232A33; --jp:#D07FA5; --jp-bg:#2E1F27; --pill:#1A2028; --tile:#1A2028; --tile-line:#2A323B; --rule:#2A323B; --head-border:1px solid #2A323B; --bg-extra:none; }
body{ font-size:15px; line-height:1.7; font-variant-numeric:tabular-nums; }
body header{ border-top:0; border-bottom:1px solid var(--line); padding:12px 40px; }
body header .brand .btag{ display:none; }
body header .brand .bword{ font-size:23px; }
.cnav{ display:flex; align-items:center; gap:20px; margin-left:26px; font-size:13.5px; white-space:nowrap; }
.cnav a{ color:var(--ink-2); text-decoration:none; padding:2px 0; border-bottom:2px solid transparent; letter-spacing:.02em; }
.cnav a:hover{ color:var(--accent); } .cnav a[aria-current="page"]{ color:var(--ink); font-weight:700; border-color:var(--ink); }
.cnav a.sol{ margin-left:8px; padding-left:18px; border-left:1px solid var(--line); border-bottom-color:transparent; }
body header .masthead .kicker .cnav{ margin-left:14px; letter-spacing:0; text-transform:none; font-family:"Zen Kaku Gothic New",-apple-system,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; font-size:13.5px; }
body header .masthead h1{ font-size:19px; }
body header .masthead .kicker{ white-space:nowrap; flex-wrap:nowrap; }
body header .masthead .kicker .cock{ display:none; }
body header .masthead .kicker a.brandlink{ letter-spacing:.22em; }
body header .kicker .cnav{ margin-left:14px; letter-spacing:0; text-transform:none; font-family:"Zen Kaku Gothic New",-apple-system,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; font-size:13.5px; }
@media (max-width:1100px){ .cnav{ gap:12px; font-size:12.5px; } .cnav a.sol{ padding-left:12px; } }
@media (max-width:820px){ .cnav{ display:none; } }
/* ── 固定ヘッダー(全ページ同一・9/7 CEO) ── */
body header.site-head{ display:flex; align-items:center; gap:24px; padding:10px 40px; position:sticky; top:0; z-index:40; background:var(--paper); border-top:0; border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(32,38,46,.06), 0 8px 24px -18px rgba(0,0,0,.35); }   /* 9/7 CEO: 重厚感 — 帯を少し高く、下に薄い影 */
.site-head .logo{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); flex:none; }
.site-head .bmark{ width:42px; height:42px; }
/* 9/7 CEO 採択: ロゴタイプ B-2(印+Signal・線の下段に by 43 Sunsets を右端揃え)。高さ 50px = 語が約 29px(旧 27px より一回り大) */
.site-head .logo svg.lockup{ height:50px; width:auto; display:block; overflow:visible; }
@media (max-width:900px){ .site-head .logo svg.lockup{ height:42px; } }
@media (max-width:600px){ .site-head .logo svg.lockup{ height:34px; } body header.site-head{ padding:10px 12px; gap:10px; } }  /* 375px 実測: 34px(幅 164)で 右ボタン群 164 と合わせ 364px に収める */
.site-head .bword{ font-family:var(--serif, "Shippori Mincho", serif); font-size:27px; font-weight:700; letter-spacing:.01em; line-height:1; }
.site-head .bby{ font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--sub); align-self:flex-end; margin-bottom:2px; }
/* 9/7 CEO「細字のメニューでなく重厚感・高級感を」: 見出しと同じ明朝の太字・字間を広げ・墨色。現在地は墨の下線 */
body header.site-head .cnav, body header.site-head .kicker .cnav{ margin-left:26px; gap:28px; font-size:16px; font-family:var(--serif, "Shippori Mincho", serif); font-weight:700; letter-spacing:.07em; text-transform:none; }
body header.site-head .cnav a{ color:var(--ink); border-bottom:2px solid transparent; padding-bottom:5px; font-weight:700; }
body header.site-head .cnav a[aria-current="page"]{ color:var(--ink); border-color:var(--ink); }
/* 9/7 CEO: ホバーをもう少し派手に(参考 = Mitutoyo PMN の「色が変わり下線が左から伸びる」)。当サイトでは下線を青→緑→黄土の 3 色(ヒーローの 3 円)で左から掃き、離れると右へ抜ける。文字はわずかに浮く。 */
.site-head .cnav a{ position:relative; display:inline-block; transform-origin:center; transition:transform .22s cubic-bezier(.2,.8,.2,1), color .18s ease; padding:4px 0; }
.site-head .cnav a::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:2.5px; border-radius:2px; background:linear-gradient(90deg, var(--accent) 0%, var(--fact) 55%, var(--infer) 100%); transform:scaleX(0); transform-origin:right center; transition:transform .32s cubic-bezier(.2,.8,.2,1); }
.site-head .cnav a:hover{ transform:translateY(-2px) scale(1.06); color:var(--accent); }
.site-head .cnav a:hover::after{ transform:scaleX(1); transform-origin:left center; }
.site-head .cnav a[aria-current="page"]::after{ display:none; }
.site-head .cnav a.sol::after{ left:22px; }
.site-head .cnav a[aria-current="page"]{ border-bottom-width:2px; }
.site-head .cnav a.sol{ margin-left:8px; padding-left:22px; border-left:1px solid var(--line); }
.site-head .hdr-right{ margin-left:auto; display:flex; align-items:center; gap:12px; flex:none; }
.site-head .beta{ font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:10.5px; letter-spacing:.18em; color:var(--sub); border:1px solid var(--line); border-radius:999px; padding:3px 9px; }
.site-head .theme-btn{ font-size:12.5px; border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:999px; padding:4px 11px; font-family:inherit; cursor:pointer; }
@media (prefers-reduced-motion: reduce){ .site-head .cnav a, .site-head .cnav a::after{ transition:none; } .site-head .cnav a:hover{ transform:none; } }
@media (max-width:1180px){ body header.site-head .cnav, body header.site-head .kicker .cnav{ gap:18px; font-size:14.5px; letter-spacing:.04em; } }
@media (max-width:900px){ .site-head .cnav{ display:none; } .site-head .bmark{ width:34px; height:34px; } .site-head .bword{ font-size:22px; } }
.facehead{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 0 12px; margin-bottom:16px; border-bottom:1px solid var(--line); }
.facehead .meta{ font-size:13px; color:var(--sub); }
.facehead .pagetitle{ margin:0; font-family:var(--serif, "Shippori Mincho", serif); font-size:24px; white-space:nowrap; flex:none; }
.facehead--plain .meta{ flex:1 1 auto; min-width:0; }
.facehead--plain{ padding:22px 40px 12px; margin:0; }
/* ── 企業カルテ: ヘッダーなし・本体上部の細い帯(配色切り替え+閉じる) ── */
.kbar{ max-width:940px; margin:0 auto; padding:16px 24px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.kbar .meta{ font-size:13px; color:var(--sub); }
.kbar-right{ display:flex; align-items:center; gap:8px; flex:none; }
.kbar .theme-btn, .kbar .close-btn{ font-size:12.5px; border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:999px; padding:5px 12px; font-family:inherit; cursor:pointer; }
.kbar .close-btn{ border-color:var(--ink); font-weight:600; }
.kbar .close-btn:hover, .kbar .theme-btn:hover{ color:var(--accent); border-color:var(--accent); }
@media (max-width:760px){ .kbar{ padding:12px 16px 0; flex-wrap:wrap; } }
/* ── トップ ── */
body main{ padding-left:40px; padding-right:40px; }
body .lede h1{ font-size:clamp(26px, 2.9vw, 40px); line-height:1.28; }
body .lede p{ font-size:16px; line-height:1.85; color:var(--ink-2); max-width:60ch; }
body .lede p.srcs{ font-size:12.5px; color:var(--sub); }
.tiles-cap{ display:flex; justify-content:space-between; margin:26px 0 0; padding:8px 0 6px; border-top:2px solid var(--ink); font-family:var(--mono); font-size:11px; letter-spacing:.16em; color:var(--sub); text-transform:uppercase; }
.tiles-cap .ed{ color:var(--ink); font-weight:600; }
.tiles{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:10px; }
.tiles .hb-link{ text-decoration:none; color:inherit; display:block; }
body .hb.hb-tile{ display:flex; flex-direction:column; gap:5px; padding:13px 15px 12px; background:var(--card); border:1px solid var(--line); border-radius:6px; white-space:normal; cursor:pointer; font-size:11.5px; color:var(--sub); }
body .hb.hb-tile .hb-dot{ animation:none; box-shadow:none; }
.hb-link:hover .hb.hb-tile{ border-color:var(--accent); box-shadow:none; }
body .hb.hb-tile.hb-ok{ border-color:var(--line); } body .hb.hb-tile.hb-fail{ border-color:var(--warn); color:var(--sub); }
.hb-tile .t-top{ display:flex; align-items:center; gap:8px; } .hb-tile .t-top b{ font-family:var(--serif); font-size:15.5px; font-weight:700; color:var(--ink); } .hb-tile .t-top .go{ margin-left:auto; color:var(--accent); font-size:13px; }
.hb-tile .t-st{ color:var(--fact); font-weight:700; } .hb-tile.hb-wait .t-st{ color:var(--infer); } .hb-tile.hb-fail .t-st{ color:var(--warn); }
.hb-tile .t-sub .mono{ color:var(--ink); }
@media (max-width:820px){ .tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
body .rule{ height:1px; background:var(--line); margin:36px 0 0; }
body .sec{ margin:36px 0 14px; } body .sec h2{ font-size:22px; }
body .picks{ gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
body .pick{ background:transparent; border:0; border-right:1px solid var(--line-soft); border-radius:0; padding:18px 20px 18px 0; margin-right:20px; }
body .pick:last-child{ border-right:0; margin-right:0; }
body .pick h3{ font-size:17.5px; line-height:1.45; }
body .pick h3 .companylink{ text-decoration:none; border-bottom:1px solid var(--line); }
body .pick p{ font-size:13.5px; }
@media (max-width:900px){ body .pick{ border-right:0; margin-right:0; border-bottom:1px solid var(--line-soft); } }
body .ai{ border:0; border-left:3px solid var(--infer); border-radius:0 4px 4px 0; padding:12px 16px; }
body .ai p{ font-family:var(--sans); font-size:14.5px; color:var(--ink-2); }
body .macro{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.macro-more{ margin:12px 0 0; font-size:13px; } .macro-more a{ color:var(--accent); text-decoration:none; font-weight:700; }
body .faces{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
body .face{ padding:18px 18px 14px; gap:6px; min-height:150px; }
body .face h3{ font-size:18px; } body .face .upd{ display:none; }
body .face .nums{ font-size:12px; } body .face p{ font-size:13px; line-height:1.65; color:var(--ink-2); flex:1; }
body .face .go svg{ display:none; } body .face .go span::after{ content:" ›"; }
@media (max-width:900px){ body .faces{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
body .cta{ margin-top:36px; padding:26px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; grid-template-columns:minmax(0,1fr) 300px; gap:40px; align-items:start; }
body .cta h2{ font-size:22px; } body .cta p{ font-size:14px; color:var(--ink-2); max-width:62ch; } body .cta ul{ font-size:13px; }
body .cta .act{ padding-top:6px; } body .btn{ padding:10px 16px; }
body footer{ padding-left:40px; padding-right:40px; }
@media (max-width:900px){ body main, body footer, body header{ padding-left:22px; padding-right:22px; } body .cta{ grid-template-columns:1fr; } }
/* ── 検出面(建設許可・UCC・補助金・採用) ── */
body aside{ padding:24px 22px 40px 40px; }
body .fgroup h2{ font-family:inherit; font-size:15px; letter-spacing:.04em; text-transform:none; color:var(--ink); font-weight:700; border-bottom:1px solid var(--line); padding-bottom:6px; margin:0 0 8px; }
body .fitem.unc-toggle{ margin:6px 0 14px; padding:8px 10px; border:1px dashed var(--line); border-radius:6px; color:var(--sub); font-size:13px; background:transparent; }
body .fitem.unc-toggle input{ accent-color:var(--sub); }
body .fgroup{ margin-bottom:22px; }
body .fitem{ font-size:13.5px; padding:4px 0; } body .fitem:hover{ background:transparent; color:var(--accent); }
body .fitem .cnt{ color:var(--mute); }
body .fitem.jp-toggle{ background:transparent; padding:6px 0; font-weight:500; white-space:nowrap; }
body .clearbtn{ background:transparent; }
body .fnote{ margin-top:18px; }
body .toolbar{ border-bottom:2px solid var(--ink); }
body .hitcount{ font-size:20px; } body .hitcount .num{ font-size:22px; font-weight:500; }
body .seg{ border:0; background:transparent; } body .seg button{ border-radius:999px; }
body .exportbtn{ border:0; padding:6px 0; }
body .grid{ grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:16px; }
body .card{ padding:18px 20px 16px; gap:9px; border-radius:6px; }
body .card .srcline{ margin:0; line-height:1.3; }
body .card .srcline .chip.src{ border:0; padding:0; font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:11px; letter-spacing:.04em; color:var(--mute); background:transparent; }
body .card h3{ font-family:"Shippori Mincho",serif; font-size:19px; line-height:1.4; }
body .card h3 .companylink{ text-decoration:none; border-bottom:1px solid var(--line); color:var(--ink); }
body .card h3 .companylink:hover{ color:var(--accent); border-color:var(--accent); }
body .card .head .chip.inv{ background:transparent; padding:0; font-size:12px; }
body .chip{ background:transparent; padding:0; margin-right:12px; font-size:12.5px; color:var(--sub); }
body .chip.jp{ background:var(--jp-bg); padding:0 7px; font-size:11.5px; }
body .chip.newchip{ border:0; padding:0; }
body .chip.kind, body .chip.type, body .chip.stage{ background:transparent; padding:0; color:var(--ink); }
body .chip.cross{ border:0; padding:0; }
body .card .loc{ font-size:12px; color:var(--sub); }
body .card .summary{ font-size:14px; line-height:1.75; color:var(--ink-2); }
body .fact{ background:transparent; border-left:3px solid var(--fact); padding:2px 0 2px 12px; font-size:12.5px; color:var(--sub); border-radius:0; }
body .fact .flabel{ display:inline; margin-right:8px; font-family:"IBM Plex Mono",ui-monospace,monospace; letter-spacing:.18em; }
body .infer{ border:0; background:var(--infer-bg); padding:8px 12px; font-size:13px; color:var(--ink-2); }
body .badge-infer, body .badge-ai, body .badge-rule{ font-family:"IBM Plex Mono",ui-monospace,monospace; }
body .parties, body .card .who{ border-top:1px solid var(--line-soft); padding-top:8px; font-size:12px; }
body .roles span{ background:transparent; padding:0; margin-right:10px; }
body .unknown-inv{ font-weight:500; }
body .karte-top h2, body .kprof h2{ font-size:24px; }

/* 9/7 CEO: フィルター切替時のカードの入れ替え演出(assets/cards.js の swapCards と対) */
.grid.is-leaving > *{ animation:cardOut .17s ease forwards; }
.grid > .enter{ animation:cardIn .42s cubic-bezier(.2,.8,.2,1) backwards; animation-delay:calc(var(--i,0) * 32ms); }   /* backwards = 終了後は通常表示に戻る(アニメが動かない環境でもカードが消えない) */
@keyframes cardIn{ from{ opacity:0; transform:translateY(12px) scale(.965); } to{ opacity:1; transform:none; } }
@keyframes cardOut{ to{ opacity:0; transform:scale(.965); } }
@media (prefers-reduced-motion: reduce){ .grid.is-leaving > *, .grid > .enter{ animation:none; } }

/* ---- 会社のファビコン(9/7 CEO 採用・assets/favi.js と対): 社名の左に 20px・加工なし。取れない社は頭文字 ---- */
.favi{ width:20px; height:20px; border-radius:4px; vertical-align:-3px; margin-right:8px; border:1px solid var(--line); background:#fff; object-fit:contain; padding:1px; box-sizing:border-box; flex:none; }
.favi-ini{ display:inline-flex; width:20px; height:20px; border-radius:4px; vertical-align:-3px; margin-right:8px; background:var(--chip-bg); color:var(--sub); font:700 10.5px "IBM Plex Mono",ui-monospace,monospace; align-items:center; justify-content:center; letter-spacing:0; flex:none; }
.card h3 .favi, .card h3 .favi-ini{ vertical-align:-4px; }
.kprof h2 .favi, .kprof h2 .favi-ini{ width:26px; height:26px; vertical-align:-4px; margin-right:10px; font-size:12px; }

/* ---- 携帯(9/7 CEO「携帯の確認は?」の点検で 4 件): ヘッダー右の収まり・折り畳み導線・期間ボタンの折返し ---- */
.site-head .menu-btn{ display:none; font-size:12.5px; border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:999px; padding:4px 11px; font-family:inherit; cursor:pointer; white-space:nowrap; }
@media (max-width:900px){
  body header.site-head{ position:sticky; }
  .site-head .menu-btn{ display:inline-flex; align-items:center; }
  .site-head.nav-open .cnav{ display:flex; position:absolute; left:0; right:0; top:100%; margin:0; flex-direction:column; gap:0; padding:6px 16px 10px; background:var(--card); border-bottom:1px solid var(--line); box-shadow:0 12px 24px rgba(0,0,0,.10); }
  .site-head.nav-open .cnav a{ display:block; padding:11px 4px; font-size:15px; border-bottom:1px solid var(--line-soft); transform:none !important; }
  .site-head.nav-open .cnav a::after{ display:none; }
  .site-head.nav-open .cnav a:last-child{ border-bottom:0; }
  .site-head.nav-open .cnav a.sol{ margin:0; padding-left:4px; border-left:0; }
  .site-head.nav-open .cnav a[aria-current="page"]{ border-bottom:1px solid var(--line-soft); color:var(--accent); }
}
@media (max-width:600px){
  body header.site-head{ padding:10px 16px; gap:12px; }
  .site-head .bby, .site-head .beta{ display:none; }
  .site-head .hdr-right{ gap:8px; }
  .site-head .theme-btn, .site-head .menu-btn{ padding:4px 9px; font-size:12px; }
  .seg{ flex-wrap:wrap; border-radius:12px; }
  .seg button{ padding:4px 9px; font-size:11.5px; }
}

/* ---- 社名は 1 行(9/7 CEO): 縮小は cards.js の fitTitles・残りは省略記号。全名は title と企業カルテで ---- */
.card .head{ flex-wrap:nowrap; }
.card h3{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.card h3 .companylink{ white-space:nowrap; }
/* 9/7 CEO: Signal から会社サイト(/)へ戻るリンク */
.hdr-right .corp, .kbar .corp{ font-family:var(--serif, "Shippori Mincho", serif); font-weight:700; font-size:13.5px; letter-spacing:.06em; color:var(--sub); text-decoration:none; margin-right:8px; white-space:nowrap; }
.hdr-right .corp:hover, .kbar .corp:hover{ color:var(--ink); }
@media (max-width:600px){ .hdr-right .corp{ display:none; } }
