/* 越境社員ドットコム 新サイト 共通CSS
   値の正本：共通仕様/design-regulation.md（v1.18 で照合 2026-10-09）
   §1-1 色は7色のみ（＋ホバー・押下色は §3-2 の規定値）／§1-2 書体 Noto Sans JP／§3-2 CTA／§3-5 本文16px・行間1.7以上
   見た目の参考：広報PR/06_配布物/サイト改訂/完成イメージ_v0.6.html */
:root{
  --white:#FFFFFF; --light:#EEF3FB; --blue:#2F72C0; --gold:#F4C933;
  --ink:#27313D; --mute:#5E6B7B; --line:#DCE5F0;
  --blue-hover:#2861A3; --blue-active:#215086;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);
  font-family:"Noto Sans JP","游ゴシック","Yu Gothic",YuGothic,sans-serif;
  font-size:16px;line-height:1.8;font-feature-settings:"palt" 0}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
a:hover{color:var(--blue-hover)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:var(--white);padding:8px;z-index:20}

/* ヘッダー（§3-1 ロゴB 左上） */
.site-header{border-bottom:1px solid var(--line);background:var(--white);position:sticky;top:0;z-index:10}
.site-header .wrap{display:flex;align-items:center;gap:20px;min-height:72px;max-width:1200px}
.logo{display:block;flex:0 0 auto;padding:8px 0}
.logo img{display:block;width:180px;height:auto}
.gnav{flex:1;display:flex;justify-content:flex-end;gap:16px;font-size:14px;white-space:nowrap}
.gnav a{color:var(--ink);text-decoration:none;padding:4px 0;border-bottom:2px solid transparent}
.gnav a:hover,.gnav a[aria-current=page]{border-bottom-color:var(--blue);color:var(--ink)}
.hbtn{display:flex;gap:8px;flex:0 0 auto}
.hbtn a{font-size:14px;font-weight:700;padding:8px 16px;border-radius:8px;text-decoration:none;white-space:nowrap}
.hbtn .sub{border:2px solid var(--blue);color:var(--blue);background:var(--white)}
.hbtn .main{background:var(--blue);color:var(--white);border:2px solid var(--blue)}
.hbtn .main:hover{background:var(--blue-hover);border-color:var(--blue-hover)}

/* お知らせ帯 */
.notice{background:var(--ink);color:var(--white);font-size:14px;padding:10px 0}
.notice a{color:var(--white);margin-left:8px;font-weight:700}

/* ファーストビュー */
.hero{background:var(--light);padding:64px 0;border-top:6px solid transparent}
.role-home .hero{border-top-color:var(--blue)}
.role-host .hero{border-top-color:var(--gold)}
.eb{color:var(--blue);font-weight:700;letter-spacing:.3em;font-size:12px;margin:0}
.role-home .eb::before,.role-host .eb::before{content:'';display:inline-block;width:24px;height:4px;border-radius:2px;margin-right:10px;vertical-align:middle}
.role-home .eb::before{background:var(--blue)}
.role-host .eb::before{background:var(--gold)}
.role-host .eb{color:var(--ink)}
h1{font-size:32px;line-height:1.4;margin:8px 0 16px;font-weight:700}
.hero p{max-width:760px}
.lic{font-size:13px;color:var(--mute);margin-top:24px}

/* 見出し（§1-2 H1 2.0／H2 1.5／H3 1.25） */
h2{font-size:24px;line-height:1.5;margin:0 0 24px;font-weight:700}
h3{font-size:20px;line-height:1.5;margin:0 0 8px;font-weight:700}
section{padding:64px 0}
section.alt{background:var(--light)}
section p{margin:0 0 16px}

/* CTA（§3-2） */
.ctas{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 8px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 32px;
  background:var(--blue);color:var(--white);font-weight:700;text-decoration:none;border-radius:8px}
.btn:hover{background:var(--blue-hover);color:var(--white)}
.btn:active{background:var(--blue-active)}
.hint{font-size:13px;color:var(--mute)}
.lk{margin:8px 0}
.lk a::after{content:" →"}

/* 箇条（・名前　本文） */
.pts{display:grid;grid-template-columns:minmax(10em,15em) 1fr;column-gap:32px;margin:8px 0 24px;border-top:1px solid var(--line)}
.pts dt{font-weight:700;color:var(--blue);padding:16px 0;border-bottom:1px solid var(--line)}
.pts dd{margin:0;padding:16px 0;border-bottom:1px solid var(--line)}

/* カード */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin:8px 0 24px}
.cards:has(> .card:nth-child(4):last-child){grid-template-columns:repeat(2,1fr)}
.card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px}
.role-home .card{border-top:4px solid var(--blue)}
.role-host .card{border-top:4px solid var(--gold)}
.card h3{color:var(--blue);font-size:18px}
.card p{margin:0 0 8px}
.card ul{margin:0;padding-left:1.2em}.card li{margin:4px 0}
.row{display:grid;grid-template-columns:6em 1fr;column-gap:12px}
.row b{color:var(--blue)}
.note{font-size:13px;color:var(--mute);line-height:1.6}

/* 図版 */
figure{margin:0 0 32px}
figure img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
figcaption{font-size:13px;color:var(--mute);margin-top:8px}

/* 手順 */
.steps{list-style:none;padding:0;margin:8px 0 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:24px}
.steps li{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px}
.steps span{display:inline-block;background:var(--blue);color:var(--white);font-size:12px;font-weight:700;padding:2px 12px;border-radius:12px;margin-bottom:8px}
.steps h3{font-size:18px}
.steps p{margin:0}

/* 質問リスト */
.qs{list-style:none;padding:0;margin:8px 0 24px;border-top:1px solid var(--line)}
.qs li{display:grid;grid-template-columns:3.5em 1fr;column-gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.qs li>span{color:var(--blue);font-weight:700}
/* /service S-D：Q0・Q1＝あなたが入力（青）／AIが下書き（濃紺に金のAI。/system の図の AI 札と同じ作り）2026-10-21 */
.qs .qt{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;border-radius:4px;padding:2px 8px;margin:0 8px 4px 0;vertical-align:2px;white-space:nowrap}
.qs .qt-in{background:var(--blue);color:var(--white)}
.qs .qt-ai{background:var(--ink);color:var(--white)}
.qs .qt-ai b{color:var(--gold);margin-right:2px}
.qs .qt-opt{background:var(--white);color:var(--ink);border:1px solid var(--mute);padding:1px 7px}
.qs-in{margin-bottom:0;border-top:2px solid var(--blue)}
.qs li.qin{background:var(--white);font-weight:700;padding-left:12px;padding-right:12px;grid-template-columns:2.6em 1fr}
.qs li.qin>span{color:var(--blue)}
.qs-sep{margin:20px 0 4px;padding-left:12px;border-left:4px solid var(--gold);font-weight:700;font-size:15px}
.qs-rest{margin-top:8px}
.flow{font-weight:700;color:var(--blue)}

/* FAQ */
details{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:16px 24px;margin-bottom:12px}
summary{font-weight:700;cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
summary::before{content:"Q. ";color:var(--blue)}
details p{margin:12px 0 0}
details p::before{content:"A. ";font-weight:700;color:var(--blue)}
.fg{margin:8px 0 16px;color:var(--blue)}

/* 表 */
.tbl{overflow-x:auto;margin:8px 0 24px}
table{border-collapse:collapse;width:100%;background:var(--white)}
.tbl table{min-width:560px}
th,td{border:1px solid var(--line);padding:12px 16px;text-align:left;vertical-align:top}
th{background:var(--light);font-weight:700}

/* 最後のCTA帯（2026-10-12 宮川さん決定6：ボタンは作業指示書 P2-00 どおり「青地に白文字」）
   青い帯の上では青いボタンが埋もれるため、帯をライトブルー面にし、中に白いパネル（上辺4pxの青い線）を置く。
   文字はすべて白の上に載る：ボタン 白/#2F72C0＝4.90:1、見出し・本文 #27313D/白＝13.18:1、
   注釈 #5E6B7B/白＝5.43:1、リンク #2F72C0/白＝4.90:1（いずれも WCAG AA 4.5:1 以上）。
   ライトブルー面は前の節（section.alt）と同色になることがあるため、パネルの枠と青い線で区切りを見せる。 */
.cta{background:var(--light);text-align:center}
.cta .wrap{background:var(--white);border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:16px;
  padding:40px 24px 32px;max-width:880px}
.cta h2{color:var(--ink)}
.cta p{color:var(--ink)}
.cta .ctas{justify-content:center}
.cta .hint{color:var(--mute)}
.cta .lk a{color:var(--blue)}

/* 文書ページ（会社概要・プライバシーポリシー等） */
.doc{padding:48px 0 64px}
.doc .wrap{max-width:840px}
.doc h1{font-size:32px;margin-bottom:32px}
.doc h2{font-size:22px;margin:48px 0 16px;padding-top:16px;border-top:1px solid var(--line)}
.doc h3{font-size:18px;margin:24px 0 8px}
.doc ol.plain,.doc ul.plain{list-style:none;padding-left:1em;margin:0 0 16px}
.doc ol.plain ol{list-style:none;padding-left:1.5em}
.doc .kv th{width:9em;white-space:nowrap}
.mvv .eb{margin-bottom:4px}
.quote{border-left:4px solid var(--line);padding:4px 0 4px 20px;margin:0 0 16px}

/* フォームページ */
.formbox{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px;min-height:320px}

.upd{font-size:13px;color:var(--mute);padding-top:16px;padding-bottom:16px}

/* フッター */
.site-footer{background:var(--ink);color:var(--white);padding:40px 0;font-size:14px}
.site-footer a{color:var(--white)}
.site-footer .fname{font-weight:700;font-size:16px;margin:0 0 4px}
.site-footer .flic{margin:0 0 24px}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 24px}
.site-footer .copy{margin:24px 0 0;color:var(--white)}

/* スマホのメニュー */
.spmenu{display:none;position:relative}
.spmenu summary{list-style:none;cursor:pointer;width:48px;height:48px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:1px solid var(--line);border-radius:8px}
.spmenu summary::-webkit-details-marker{display:none}
.spmenu summary span{display:block;width:22px;height:2px;background:var(--ink);border-radius:1px}
.spmenu nav{position:absolute;right:0;top:56px;width:min(300px,calc(100vw - 32px));background:var(--white);border:1px solid var(--line);border-radius:12px;padding:8px 0;box-shadow:0 8px 24px rgba(39,49,61,.12)}
.spmenu nav a{display:block;padding:12px 20px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.spmenu nav a:last-child{border-bottom:0}
@media (max-width:1100px){
  .gnav{display:none}
  .spmenu{display:block}
  .site-header .wrap{justify-content:space-between}
  .hbtn{margin-left:auto}
}
@media (max-width:720px){
  h1{font-size:26px} h2{font-size:21px}
  .logo img{width:150px}
  .hbtn .sub{display:none}
  .hero{padding:40px 0}
  section{padding:48px 0}
  .pts{grid-template-columns:1fr}.pts dt{border-bottom:0;padding-bottom:0}.pts dd{padding-top:4px}
  .row{grid-template-columns:1fr}
  .cards:has(> .card:nth-child(4):last-child){grid-template-columns:1fr}
  .btn{width:100%}
  .cta .wrap{margin:0 16px;padding:32px 16px 24px}
}

/* 上書き：メニューの details は FAQ の見た目を引き継がない／会社概要などの2列表は横スクロールさせない */
.spmenu{background:none;border:0;padding:0;margin:0;border-radius:0}
.spmenu summary::before{content:none}
.tbl table.kv{min-width:0}

/* 記事（news・posts・article・case）と一覧（色は :root の7色だけを使う） */
.post .crumb{font-size:13px;color:var(--mute);margin:0 0 8px}
.post h1{margin-bottom:8px}
.meta{font-size:13px;color:var(--mute);margin:0 0 24px;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center}
.tag{display:inline-block;font-size:12px;color:var(--blue);background:var(--light);border-radius:12px;padding:0 10px;text-decoration:none;margin-right:6px}
.post p{margin:0 0 16px}
.post h4{font-size:16px;margin:20px 0 8px}
.post ul,.post ol{margin:0 0 16px;padding-left:1.5em}.post li{margin:4px 0}
.post figure{margin:24px 0}
.post figure img{width:auto;max-width:100%;margin:0 auto}
.post hr{border:0;border-top:1px solid var(--line);margin:32px 0}
.post blockquote{border-left:4px solid var(--line);margin:0 0 16px;padding:4px 0 4px 20px;color:var(--ink)}
.post .back{margin-top:48px}
.post .dl{margin-top:48px}
.posts{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.posts li{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--white)}
.posts li a{text-decoration:none;color:var(--ink);display:block}
.posts li a:hover .t{color:var(--blue-hover);text-decoration:underline}
.posts img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:12px;background:var(--light)}
.posts .t{display:block;font-weight:700;line-height:1.5}
.posts .meta{margin:8px 0 4px}
.posts .ex{font-size:14px;color:var(--mute);margin:0;line-height:1.6;overflow-wrap:anywhere}
.tags{margin:0 0 8px}
.post a{overflow-wrap:anywhere}

/* ───── サービス概要資料に寄せた飾り（2026-10-19。文面は変えず、並べ方とアイコンだけ）─────
   移植元：広報PR/06_配布物/gen_service_deck.js（icon()・header()・threeCards・caseCard・flowSteps・roadmap・concerns）
   色は :root の変数だけ。金（--gold）は線・面・図形だけに使い、文字には使わない（白地で 1.6:1 のため）。
   淡い面（--light）の上の青い文字は 4.39:1 で AA に届かないため、--blue-hover（4.5:1 以上＝5.66:1）にする。 */

/* アイコン（src/icons.py）：円い淡色の背景＋青、所々に金 */
.ic{display:block;flex:0 0 auto;width:48px;height:48px}
.ic .bg{fill:var(--light)}
.ic .a{fill:var(--blue)}
.ic .g{fill:var(--gold)}
.ic .w{fill:var(--white)}
.ic .h{fill:var(--white);stroke:var(--blue);stroke-width:3}
.ic .h2{fill:var(--white);stroke:var(--blue);stroke-width:3.5}
.ic text{font-family:"Noto Sans JP","游ゴシック","Yu Gothic",YuGothic,sans-serif}

/* 見出し（資料の header()：英字の小見出し＋金の短線／青の縦棒＋見出し） */
.eye{display:flex;align-items:center;gap:12px;margin:0 0 8px;color:var(--blue);font-size:13px;font-weight:700;letter-spacing:.2em;line-height:1.4}
.eye::before{content:'';flex:0 0 24px;height:3px;border-radius:2px;background:var(--gold)}
section.alt .eye{color:var(--blue-hover)}
h2.hd{position:relative;padding-left:20px}
h2.hd::before{content:'';position:absolute;left:0;top:.2em;bottom:.2em;width:6px;border-radius:3px;background:var(--blue)}

/* カードの見出し行（アイコン＋見出し） */
.card .ch{display:flex;align-items:center;gap:16px;margin:0 0 12px}
.card .ch h3{margin:0}
.cards .card{display:flex;flex-direction:column}

/* 事例カード（資料の caseCard：CASE 01／課題・やったこと・結果にアイコン） */
.ceye{margin:0 0 4px;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.2em}
.card.case .row{align-items:start;padding:10px 0;border-top:1px solid var(--line);margin:0;grid-template-columns:8.5em 1fr}
.card.case .row b{display:flex;align-items:center;gap:8px}
.card.case .row .ic{width:32px;height:32px}
.card.case .row.hot{background:var(--light);border-radius:8px;padding:10px 12px;margin-top:4px;border-top:0}
.card.case .row.hot b{color:var(--blue-hover)}
.card.case .row.hot span{font-weight:700}
.card.case .note{margin-top:12px}

/* 3点（資料の WHAT IS IT／EVIDENCE：アイコンつきのカード） */
.pts.pts-ic{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;border-top:0}
.pts-ic>div{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px}
.pts-ic>div .ic{margin:0 0 12px}
.pts.pts-ic dt{padding:0 0 8px;border-bottom:0;color:var(--ink);font-size:18px}
.pts.pts-ic dd{padding:0;border-bottom:0}
section.alt .pts dt{color:var(--blue-hover)}
section.alt .pts.pts-ic dt{color:var(--ink)}

/* 当社が行うこと／行わないこと（比較：行うことを青で強調） */
.card.do{border:2px solid var(--blue)}
.card.dont{border-top:1px solid var(--line)}
.card.dont h3{color:var(--ink)}
.card.do ul,.card.dont ul{list-style:none;padding:0}
.card.do li,.card.dont li{display:flex;gap:8px;align-items:flex-start;padding:6px 0;border-bottom:1px solid var(--line)}
.card.do li:last-child,.card.dont li:last-child{border-bottom:0}
.ic.li{width:24px;height:24px;margin-top:2px}
.card.dont li::before{content:'';flex:0 0 12px;height:2px;margin:13px 6px 0;background:var(--mute)}

/* 手順：flow＝資料の画面の流れ（番号の丸＋金の ›）／road＝資料の「はじめ方」（線でつないだ番号の丸） */
.steps-flow,.steps-road{counter-reset:st}
.steps-flow li,.steps-road li{counter-increment:st;position:relative}
.steps-flow li::before,.steps-road li::before{content:counter(st);display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;font-weight:700;font-size:16px;margin:0 0 12px}
.steps-flow span,.steps-road span{background:none;color:var(--mute);padding:0;font-size:12px;letter-spacing:.1em;border-radius:0;margin-bottom:4px}
.steps-flow li::before{background:var(--blue);color:var(--white)}
.steps-flow li:not(:last-child)::after{content:'›';position:absolute;right:-20px;top:50%;transform:translateY(-50%);
  font-size:32px;font-weight:700;line-height:1;color:var(--gold);width:16px;text-align:center}
.steps-road{gap:24px}
.steps-road li{background:none;border:0;padding:0}
.steps-road li::before{background:var(--light);color:var(--blue-hover);border:2px solid var(--blue);position:relative;z-index:1}
.steps-road li:first-child::before{background:var(--blue);color:var(--white)}
.steps-road li:not(:last-child)::after{content:'';position:absolute;left:44px;right:-24px;top:20px;height:2px;background:var(--blue)}
section.alt .steps-road li::before{background:var(--white)}
section.alt .steps-road li:first-child::before{background:var(--blue)}

/* 画面の流れの札（回答 → プレビュー → 編集して確定） */
.flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.flow span{display:inline-block;background:var(--blue);color:var(--white);border-radius:20px;padding:4px 16px;font-size:15px}
section.alt .flow{color:var(--blue-hover)}

/* 面（資料の T.panel の帯：アイコン＋本文） */
.panel{display:flex;gap:24px;align-items:flex-start;background:var(--light);border-left:6px solid var(--gold);border-radius:12px;padding:24px}
.panel .ic .bg{fill:var(--white)}
.panel .pb{flex:1;min-width:0}
.panel .pb>*:last-child{margin-bottom:0}
section.alt .panel{background:var(--white)}
section.alt .panel .ic .bg{fill:var(--light)}

/* よくある質問：Q は金の丸＋濃紺の文字（8.32:1）、A は青の丸＋白（4.90:1）。気になるところ（.cq）は資料どおり ✓ */
summary{display:flex;align-items:flex-start;gap:12px}
summary::before{content:"Q";flex:0 0 28px;height:28px;border-radius:50%;background:var(--gold);color:var(--ink);
  display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;margin-top:1px}
/* 答えの中にリンク（用語のリンクなど）があっても1行に流れるよう、flex をやめて「A」を左に固定する（2026-11-05 立道さん指摘：FAQの「越境社員」が縦に並ぶ） */
details p{display:block;position:relative;padding-left:40px}
details p::before{content:"A";position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--blue);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;margin-top:1px}
details.cq summary::before{content:none}
.ic.q{width:28px;height:28px}
.ic.q .a{fill:var(--blue)}

/* 表：見出し行を資料の比較表と同じ青に（白文字 4.90:1）。1列目のアイコン */
.tbl thead th{background:var(--blue);color:var(--white);border-color:var(--blue)}
.t-ic td:first-child{font-weight:700}
.t-ic td:first-child .ic{width:40px;height:40px;margin:0 0 8px}

/* 淡い面の上のリンク・小見出し（AA） */
.hero a:not(.btn),section.alt a:not(.btn),.panel a{color:var(--blue-hover)}
.role-home .hero .eb{color:var(--blue-hover)}

@media (max-width:720px){
  .ic{width:44px;height:44px}
  .steps-flow li:not(:last-child)::after{content:'›';right:auto;left:50%;top:auto;bottom:-24px;transform:translateX(-50%) rotate(90deg)}
  .steps-road li:not(:last-child)::after{left:19px;right:auto;top:44px;bottom:-24px;width:2px;height:auto}
  .steps-road li{display:grid;grid-template-columns:40px 1fr;column-gap:16px}
  .steps-road li::before{grid-row:1/span 3;margin:0}
  .panel{flex-direction:column;gap:12px;padding:20px 16px}
  .card.case .row{grid-template-columns:1fr}
  .pts-ic>div{padding:20px}
}

/* ───── ファーストビューの図（2026-10-20 宮川さん決定。src/hero_figs.py）─────
   見本：hero/A.html・gen2.py。PC は2列（左＝今の文、右＝図）、狭い画面は文の下に図。
   色は :root の変数だけ。金は面・図形に使い、金の上の文字は濃紺（--ink）。淡い面の上の青い文字は --blue-hover。
   見本の淡い金の面（#FFF7D6）は、--gold を白に 20% 混ぜた色（color-mix）にした。 */
.hero.has-fig .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:center}
.hero.has-fig .hero-txt{min-width:0}
.hfig{margin:0;background:var(--white);border-radius:16px;padding:26px;box-shadow:0 6px 24px rgba(39,49,61,.08);color:var(--ink);line-height:1.5}
.hero .hfig p{margin:0;max-width:none}
.hf-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.hf-head .ic{width:56px;height:56px}
.hf-t{font-weight:700;font-size:16px}
.hero .hfig .hf-s{font-size:12px;color:var(--mute);margin-top:2px}
.hero .hfig .hf-cap{font-size:12px;color:var(--mute);text-align:center;margin-top:12px;text-wrap:balance}
.ic.gold .bg{fill:var(--gold)}
.ic.gold .a{fill:var(--ink)}

/* 1週間（人事部・地方企業・自治体） */
.hf-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.hf-d{text-align:center}
.hero .hfig .hf-dn{font-size:13px;color:var(--mute);margin-bottom:6px}
.hf-c{height:118px;border-radius:10px;background:var(--blue);color:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-weight:700;font-size:12px;line-height:1.4;padding:0 4px}
.hf-c .ic{width:40px;height:40px}
.hf-c .ic .bg{fill:var(--white);fill-opacity:.18}
.hf-c .ic .a{fill:var(--white)}
.hf-c .ic .w{fill:var(--blue)}
.hero .hfig .hf-c p{margin-top:6px}
.hf-c.hot{background:var(--gold);color:var(--ink)}
.hf-c.hot .ic .bg{fill:var(--white);fill-opacity:.5}
.hf-c.hot .ic .a{fill:var(--ink)}
.hf-leg{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;margin-top:14px;font-size:13px;font-weight:700}
.hero .hfig .hf-leg .l{color:var(--blue-hover)}
.hf-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.hf-pill{background:var(--light);border-radius:999px;padding:4px 12px;font-size:12px}

/* マッチングシステム */
.hf-panes{display:flex;gap:10px;align-items:stretch}
.hf-pane{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.hero .hfig .hf-ph{font-size:12px;font-weight:700;padding:6px 10px}
.hf-pane.host .hf-ph{background:var(--gold);color:var(--ink)}
.hf-pane.home .hf-ph{background:var(--blue);color:var(--white)}
.hf-pane ol{list-style:none;margin:0;padding:6px 10px 12px}
.hf-pane li{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;line-height:1.4}
.hf-pane .n{flex:none;width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.hf-pane.host .n{background:var(--gold);color:var(--ink)}
.hf-pane.home .n{background:var(--blue);color:var(--white)}
.hf-ai{display:inline-block;background:var(--ink);color:var(--gold);border-radius:4px;padding:0 6px;font-size:10px;font-weight:700;margin-left:4px;line-height:1.6;vertical-align:1px}
.hf-x{align-self:center;flex:none;display:block;width:22px;height:22px}
.hf-x path{fill:none;stroke:var(--blue);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.hero .hfig .hf-band{margin-top:14px;display:flex;align-items:center;gap:10px;background:var(--ink);color:var(--white);border-radius:10px;padding:10px 14px;font-size:13px}
.hf-ai2{flex:none;background:var(--gold);color:var(--ink);border-radius:6px;padding:2px 8px;font-weight:700}
.hf-tiles2{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;text-align:center}
.hero .hfig .hf-tiles2 p{background:var(--light);border-radius:8px;padding:8px}

/* よくある質問 */
.hf-chip{border:1.5px solid var(--blue);color:var(--blue-hover);border-radius:999px;padding:2px 12px;font-size:12px;font-weight:700;background:var(--white)}
.hfig .hf-pills:has(.hf-chip){margin:0 0 12px}
.hf-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hf-tp{background:var(--light);border-radius:10px;padding:12px 6px;text-align:center;font-size:12px;font-weight:700}
.hf-tp .ic{width:44px;height:44px;margin:0 auto 6px}
.hf-tp .ic .bg{fill:var(--white)}

/* 事例 */
.hf-flow{display:flex;gap:6px}
.hf-st{flex:1;min-width:0;text-align:center;background:var(--light);border-radius:10px;padding:12px 4px;font-weight:700;font-size:13px}
.hf-st.last{background:color-mix(in srgb,var(--gold) 20%,var(--white))}
.hf-st .ic{width:48px;height:48px;margin:0 auto 6px}
.hf-st .ic .bg{fill:var(--white)}
.hf-ar{align-self:center;color:var(--mute);font-weight:700}
.hf-name{background:var(--light);border-radius:6px;padding:4px 10px;font-size:12px}
a.hf-link{color:var(--blue-hover);font-weight:700;text-decoration:underline;text-underline-offset:3px;border:1px solid transparent}
a.hf-link:hover{background:var(--blue-hover);color:var(--white)}
a.hf-link:active{background:var(--blue-active);color:var(--white)}
.hfig .hf-flow + .hf-pills{margin-top:14px}
/* 活用シミュレーターの図（2026-10-25）：入力の札＋試算例の横棒。③（当社）だけ青、①②は灰 */
.hfig .hf-head + .hf-pills{margin:0 0 14px}
.hero .hfig .hf-bh{font-size:13px;font-weight:700;margin-bottom:8px}
.hf-bars{display:grid;gap:10px}
.hf-br{display:grid;grid-template-columns:7.5em minmax(0,1fr) 4.5em;align-items:center;gap:8px;font-size:12px}
.hf-br b{text-align:right;font-variant-numeric:tabular-nums}
.hf-bt{height:14px;background:var(--light);border-radius:7px;overflow:hidden}
.hf-bf{display:block;height:100%;background:var(--mute);border-radius:7px}
.hf-br.us{font-weight:700}
.hf-br.us .hf-bf{background:var(--blue)}
.hf-br.us b{color:var(--blue-hover)}

@media (max-width:900px){
  .hero.has-fig .wrap{grid-template-columns:minmax(0,1fr);gap:32px}
}
@media (max-width:720px){
  .hfig{padding:20px 16px}
  .hf-head .ic{width:48px;height:48px}
  .hf-c{height:104px;font-size:11.5px}
  .hf-c .ic{width:34px;height:34px}
  .hf-panes{gap:6px}
  .hf-x{width:18px;height:18px}
  .hf-pane ol{padding:4px 8px 10px}
  .hf-pane li{gap:6px}
  .hf-br{grid-template-columns:8.2em minmax(0,1fr) 4.2em;gap:6px;font-size:11.5px}
}
/* 記事の監修者（2026-10-21 AIO・SEO総合提案 ②） */
.supv{display:flex;gap:16px;align-items:flex-start;margin:40px 0 24px;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--light)}
.supv img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.supv p{margin:0}
.supv-h{font-size:12px;color:var(--mute);letter-spacing:.08em}
.supv-n{font-weight:700;margin:2px 0 6px!important}
.supv-n span{display:block;font-weight:400;font-size:13px;color:var(--mute)}
.supv-t{font-size:14px;line-height:1.7}
/* 会社概要：代表プロフィール・MVV・行動指針・応援者コメント（2026-10-21 宮川さん依頼「黒だけでなくカラーも適切に」。金は線と札だけ＝2026-10-05 配色A-1） */
.page-company h2{color:var(--blue);border-top:0;padding-top:0;display:flex;align-items:center;gap:12px}
.page-company h2::before{content:"";width:6px;height:1.1em;background:var(--gold);border-radius:3px;flex:none}
.page-company .sec-prof h3{color:var(--blue)}
.page-company .sec-prof figure.ph{float:right;width:min(280px,40%);margin:0 0 16px 24px}
.page-company .sec-prof figure.ph img{width:100%;height:auto;border-radius:12px}
.page-company .sec-prof::after{content:"";display:block;clear:both}
.page-company .sec-mvv{background:var(--light);border-radius:12px;padding:8px 28px 20px;margin:40px 0}
.page-company .sec-mvv h2{margin-top:24px}
.page-company .sec-mvv h3{font-size:24px;line-height:1.5;color:var(--blue);margin:8px 0 16px}
.page-company .values{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;counter-reset:v}
.page-company .values li{counter-increment:v;border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:8px;padding:16px 18px;background:#fff}
.page-company .values li::before{content:counter(v);display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--gold);color:var(--ink);font-weight:700;font-size:14px;margin-bottom:8px}
.page-company .values h3{margin:0 0 6px;font-size:17px;color:var(--blue)}
.page-company .values p{margin:0;font-size:14px;color:var(--mute)}
.page-company .cheers{display:grid;gap:24px;margin-top:16px}
.page-company .cheer{border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;display:grid;grid-template-columns:96px 1fr;column-gap:20px}
.page-company .cheer h3{grid-column:2;margin:0 0 8px;color:var(--blue);font-size:19px}
.page-company .cheer figure.ph{grid-column:1;grid-row:1/span 2;margin:0}
.page-company .cheer figure.ph img{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:50% 25%}
.page-company .cheer blockquote{grid-column:2;margin:0 0 12px;padding:4px 0 4px 16px;border-left:4px solid var(--gold);font-weight:700;color:var(--blue);line-height:1.7}
.page-company .cheer blockquote p{margin:0}
.page-company .cheer > p{grid-column:1/-1;font-size:15px}
@media (max-width:640px){
  .page-company .sec-prof figure.ph{float:none;width:200px;margin:0 0 16px}
  .page-company .sec-mvv{padding:4px 18px 16px}
  .page-company .sec-mvv h3{font-size:20px}
  .page-company .cheer{grid-template-columns:72px 1fr;column-gap:14px;padding:18px}
  .page-company .cheer figure.ph img{width:72px;height:72px}
  .page-company .cheer blockquote{grid-column:1/-1;margin-top:12px}
}
.page-company h2{margin-top:40px}
.page-company section{margin-top:8px}
.page-company .cheer > p a{font-weight:700}
/* フッターのサイトマップ（2026-10-21） */
.site-footer nav{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:0 0 24px}
.site-footer .fgrp{display:flex;flex-direction:column;gap:8px}
.site-footer .fgh{margin:0 0 4px;padding-bottom:6px;font-weight:700;font-size:13px;color:var(--white);letter-spacing:.04em;border-bottom:2px solid var(--gold);align-self:flex-start}
.site-footer .fgrp a{text-decoration:none;opacity:.92}
.site-footer .fgrp a:hover{text-decoration:underline;opacity:1}
@media (max-width:800px){.site-footer nav{grid-template-columns:repeat(2,1fr)}}
