/* =========================================================
   hojokin.css  補助金ポータル（/hojokin 配下）の全ページ共通の見た目
   デザイン: Figma「修正案3（PC）写真版」（TOP 375:670 / 02 診断結果 345:313 / 02b 補助金一覧 345:734 / 03 補助金の詳細 345:1145）
   PC（1200px 以上）は Figma の位置・大きさ・余白・文字の数値をそのまま使っている（デザインは幅 1366px、中身の幅 1166px）。
   数値を変えるときは、必ず Figma の値を確かめてから。コメントの「Figma y=…」はデザイン上の縦の位置
   スマホ版はデザインが無いので、同じ部品を縦に並べている（左右の余白 16px、押せる所は高さ 44px 以上。いちばん下の @media）
   部品の名前は hp-（hojokin portal）で始まる。外枠は hp-root（hp だけだと base.css の迷惑投稿よけのクラスと重なる）
   ========================================================= */
:root {
  --hp-navy: #2B609E;
  --hp-blue: #5197D6;
  --hp-primary: #1B5FAE;
  --hp-yellow: #E4B93C;
  --hp-ink: #211715;
  --hp-sub: #454B53;
  --hp-line: #E3E7ED;
  --hp-pale: #EDF2F8;
  --hp-gray: #F5F5F5;
  --hp-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ---- 土台 ---- */
.hp-root { width: 100%; align-items: stretch; background: var(--hp-gray); }
.hp-root > * { flex: none; } /* 縦に並べたヘッダー・本文・フッターが縮まないように */
.hp-root, .hp-root * { font-family: 'Noto Sans JP', sans-serif; color: #000; letter-spacing: 0; line-height: normal; }
.hp-root .ic.mi { font-family: 'Material Icons'; line-height: 1; letter-spacing: normal; color: inherit; font-weight: 400; }
.hp-main { display: block; width: 100%; }
.hp-in { width: 100%; max-width: 1198px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; position: relative; }
.hp-root a { color: inherit; }
.hp-root img { display: block; max-width: 100%; }
.hp-sample { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 4px; background: #FFF3D6; color: #8A5A00 !important; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: middle; }
.hp-attr { margin-top: 24px; font-size: 12px; color: var(--hp-sub) !important; line-height: 1.7; }
.hp-attr a { color: var(--hp-navy) !important; text-decoration: underline; }
.hp-root a:hover { opacity: .85; }

/* =========================================================
   ヘッダー（Figma Group 5：高さ 110px）
   ========================================================= */
.hp-hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: flex-start; width: 100%; height: 110px; padding: 0 25px; box-sizing: border-box; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .05); }
.hp-hd-logo { display: flex; flex-direction: column; align-items: flex-start; flex: none; width: 197px; margin-top: 34px; }
.hp-hd-logo img { width: 197px; height: 28.24px; }
.hp-hd-logo span { margin: 2.64px 0 0 20.5px; font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--hp-sub); white-space: nowrap; }
.hp-hd-nav { display: flex; align-items: flex-start; gap: 25px; margin-left: auto; }
.hp-hd-nav ul { display: flex; justify-content: center; gap: 20px; width: 516px; margin-top: 45px; } /* Figma のナビの枠（516px）の中で中央に（インタビューとコラムを 1 つにしたので並べ直し） */
.hp-hd-nav li a { display: block; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; color: #000; }
.hp-hd-contact { display: flex; align-items: center; gap: 5px; width: 150px; height: 40px; margin-top: 35px; padding-left: 25.5px; box-sizing: border-box; border-radius: 4px; background: #000; color: #fff !important; font-size: 13px; font-weight: 700; line-height: 1.5; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.hp-hd-contact .ic { font-size: 16px; color: #fff; }
.hp-hd-btns { display: flex; gap: 5px; flex: none; margin: 17px 0 0 25px; }
.hp-hd-btn { position: relative; display: block; width: 130px; height: 75px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.hp-hd-btn img { position: absolute; }
.hp-hd-btn span { position: absolute; left: 26px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-hd-btn--diag { background: var(--hp-yellow); }
.hp-hd-btn--diag img { left: 53px; top: 14px; width: 24px; height: 24px; }
.hp-hd-btn--diag span { top: 41px; }
.hp-hd-btn--expert { background: var(--hp-navy); }
.hp-hd-btn--expert img { left: 49px; top: 10px; width: 32px; height: 32px; }
.hp-hd-btn--expert span { top: 45px; }
.hp-hd-menu { display: none; }

/* =========================================================
   フッター（Figma Group 22：高さ 320px。水色＋街並みの写真を乗算 15%）
   ========================================================= */
.hp-ft { position: relative; width: 100%; height: 320px; background: var(--hp-blue); overflow: hidden; }
.hp-ft::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/hojokin/hp-footer-bg.webp) center bottom / 100% 100% no-repeat; mix-blend-mode: multiply; opacity: .15; pointer-events: none; }
.hp-ft * { color: #fff; }
.hp-ft-in { position: relative; height: 100%; max-width: 1198px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.hp-ft-brand { position: absolute; left: 15.15px; top: 77px; }
.hp-ft-logo { display: flex; flex-direction: column; align-items: flex-start; width: 197.29px; }
.hp-ft-logo img { width: 195px; height: 28px; }
.hp-ft-logo span { margin: 2.88px 0 0 20.5px; font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.hp-ft-op { position: absolute; top: 73px; left: 0; font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.hp-ft-sns { position: absolute; top: 105.99px; left: 0; display: flex; gap: 10px; }
.hp-ft-sns a, .hp-ft-sns img { display: block; width: 30px; height: 30px; }
.hp-ft-copy { position: absolute; top: 167px; left: 0; font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.hp-ft-cols { position: absolute; left: 616px; top: 68px; display: flex; }
.hp-ft-col:nth-child(1) { width: 205px; }
.hp-ft-col:nth-child(2) { width: 195px; }
.hp-ft-h { display: inline-block; padding-bottom: 11px; border-bottom: 1px solid #fff; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-ft-col ul { margin-top: 13.5px; }
.hp-ft-col li { height: 32px; }
.hp-ft-col li a { display: block; font-size: 13px; font-weight: 500; line-height: 1.7; white-space: nowrap; }
.hp-ft-col li a:hover { text-decoration: underline; }

/* =========================================================
   見出し（左に縦の棒 10×60。Figma Rectangle 11 など）
   ========================================================= */
.hp-sec { width: 100%; box-sizing: border-box; }
.hp-h { display: flex; gap: 24px; min-height: 60px; }
.hp-h::before { content: ""; flex: none; width: 10px; height: 60px; border-radius: 2px; background: var(--hp-navy); }
.hp-h-txt { padding-top: 1px; }
.hp-h-t { font-size: 25px; font-weight: 700; line-height: 1.3; color: var(--hp-ink); white-space: nowrap; }
.hp-h-s { margin: 4.5px 0 0 1.11px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--hp-ink); }
.hp-h--white::before { background: #fff; }
.hp-h--white .hp-h-t, .hp-h--white .hp-h-s { color: #fff; }
.hp-h-row { display: flex; justify-content: space-between; align-items: flex-start; }
.hp-linkbtn { word-spacing: -.5px; display: inline-flex; padding: 10px 18px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: pre; }
.hp-h-row .hp-linkbtn { margin-top: 8px; }

/* =========================================================
   トップ：FV（Figma FV/パターンB 375:1368。ヘッダーの下 y=110〜779）
   ========================================================= */
.hp-fv { position: relative; width: 100%; height: 669px; background: var(--hp-blue); overflow: hidden; }
/* 写真（Rectangle 114）を乗算 25%。Figma では幅 1366・高さ 106.89%・上から 13.22%（ヘッダーの下からは -7px） */
.hp-fv::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/hojokin/hp-hero.webp) 0 -7px / 100% auto no-repeat; mix-blend-mode: multiply; opacity: .25; pointer-events: none; }
/* 方眼（Rectangle 115 の方眼の画像）を「輝度」15%。Figma 上の方眼の間隔は 18.55px */
.hp-fv::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect width='9' height='9' fill='%23fff'/%3E%3Crect width='1' height='9' fill='%23dadada'/%3E%3Crect width='9' height='1' fill='%23dadada'/%3E%3C/svg%3E") 6.45px 0.45px / 18.55px 18.55px repeat; mix-blend-mode: luminosity; opacity: .15; pointer-events: none; }
.hp-fv-in { height: 100%; z-index: 1; }
.hp-fv-left { position: absolute; left: 16px; top: 0; width: 551px; height: 100%; }
.hp-fv-label { position: absolute; left: 1px; top: 101px; padding: 6px 14px; border-radius: 4px; background: var(--hp-primary); color: #fff !important; font-size: 16px; font-weight: 700; white-space: nowrap; }
.hp-fv-circle { position: absolute; left: 364px; top: 58px; width: 155px; height: 155px; border-radius: 50%; background: var(--hp-primary); box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
.hp-fv-spark { position: absolute; left: 122px; top: -10px; width: 30px; height: 24px; overflow: visible; }
.hp-fv-circle-t { position: absolute; left: 19px; top: 43px; width: 117px; color: #fff !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hp-fv-circle-n { position: absolute; left: 20px; top: 62px; width: 99px; text-align: center; color: #fff !important; font-family: 'Roboto', sans-serif !important; font-size: 50px; font-weight: 800; letter-spacing: -1.5px; }
.hp-fv-circle-u { position: absolute; left: 116px; top: 88px; color: #fff !important; font-size: 18px; font-weight: 700; }
.hp-fv-h1 { position: absolute; left: 1px; top: 155px; color: #fff; font-size: 50px; font-weight: 700; line-height: 1.3; letter-spacing: 1px; white-space: nowrap; }
.hp-fv-h1 span { display: block; color: #fff; line-height: 1.3; letter-spacing: 1px; }
.hp-fv-lead { position: absolute; left: 1px; top: 365px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.8; white-space: nowrap; }
.hp-fv-deadline { position: absolute; left: 0; top: 479px; width: 220px; height: 93.83px; border-radius: 5px; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
.hp-fv-deadline-badge { position: absolute; left: 14px; top: 9.38px; display: flex; align-items: center; height: 24.63px; padding: 2px 8px; box-sizing: border-box; border-radius: 3px; background: var(--hp-primary); color: #fff !important; font-size: 12px; font-weight: 700; }
.hp-fv-deadline-t { position: absolute; left: 90px; top: 10.56px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hp-fv-deadline-n { position: absolute; left: 70px; top: 35px; width: 75px; text-align: center; color: var(--hp-navy) !important; font-family: 'Roboto', sans-serif !important; font-size: 43px; font-weight: 800; }
.hp-fv-deadline-u { position: absolute; left: 150px; top: 54.94px; color: #1D2B3A !important; font-size: 18px; font-weight: 700; }
.hp-fv-expert { position: absolute; left: 230px; top: 478px; display: flex; align-items: center; gap: 12px; width: 286px; height: 94px; padding: 14px 10px; box-sizing: border-box; border-radius: 6px; background: #fff; box-shadow: 0 10px 28px rgba(28, 59, 94, .16); overflow: hidden; }
.hp-fv-faces { display: flex; flex: none; }
.hp-fv-faces img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.hp-fv-faces img + img { margin-left: -20px; }
.hp-fv-expert-t { display: flex; flex-direction: column; align-items: center; white-space: nowrap; }
.hp-fv-expert-t1 { font-size: 13px; font-weight: 700; }
.hp-fv-expert-t2 { display: flex; align-items: baseline; gap: 3px; }
.hp-fv-expert-t2 b { color: var(--hp-navy) !important; font-family: 'Roboto', 'Noto Sans JP', sans-serif !important; font-size: 35px; font-weight: 800; }
.hp-fv-expert-t2 span { color: #1D2B3A !important; font-size: 18px; font-weight: 700; }

/* 診断パネル（Figma SearchPanel/FV_compact 420:4086：幅 615・高さ 486） */
.hp-panel { position: absolute; left: 567px; top: 87px; width: 615px; }
.hp-tabs { display: flex; gap: 5px; }
.hp-tab { display: flex; align-items: center; gap: 8px; width: 244px; height: 44px; box-sizing: border-box; border-radius: 6px 6px 0 0; color: #fff !important; font-size: 16px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-tab img { width: 24px; height: 24px; }
.hp-tab--diag { padding-left: 34px; background: var(--hp-yellow); }
.hp-tab--expert { padding-left: 55px; background: #B3B3B3; }
.hp-diag { position: relative; min-height: 442px; box-sizing: border-box; padding: 33px 4px 21px 32px; border-radius: 0 6px 6px 6px; background: #fff; filter: drop-shadow(0 4px 8px rgba(15, 41, 74, .08)); }
/* 行は上から順に並べる（選んだチップが増えても行が重ならない）。間の余白は Figma の位置（33 / 122 / 211 / 265 / 379px）から */
.hp-q { display: flex; align-items: center; gap: 20px; min-width: 0; }
.hp-q--2 { margin-top: 20.56px; } .hp-q--3 { margin-top: 20.56px; height: 34px; } .hp-q--4 { margin-top: 20px; }
.hp-q-label { flex: none; display: flex; flex-direction: column; gap: 3px; width: 90px; padding: 2px 0 0; float: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hp-q-label small { font-size: 12px; font-weight: 400; color: var(--hp-sub); }
/* fieldset の legend は flex に入らないので、ラベルの列は ::before の代わりに legend を絶対配置しない形にする */

.hp-q--1 .hp-chips { width: 408px; } .hp-q--2 .hp-chips { width: 383px; } .hp-q--4 .hp-chips { width: 362px; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hp-chip { position: relative; display: inline-flex; }
.hp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hp-chip span { position: relative; display: inline-flex; padding: 4px 9px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-navy); font-size: 15px; font-weight: 500; line-height: 1.448; white-space: nowrap; cursor: pointer; }
/* 選んだチップ：幅を変えないよう、文字は太字にせず（線を足して太く見せる）、✓ は右上の丸に出す */
.hp-chip input:checked + span { background: var(--hp-navy); color: #fff; -webkit-text-stroke: .35px #fff; }
.hp-chip input:checked + span::after { content: "✓"; position: absolute; top: -7px; right: -6px; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--hp-yellow); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; -webkit-text-stroke: 0; z-index: 1; }
.hp-chip input:focus-visible + span { outline: 2px solid var(--hp-yellow); outline-offset: 2px; }
.hp-select { position: relative; width: 220px; height: 34px; }
.hp-select select { width: 100%; height: 34px; padding: 0 36px 0 16px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #F5F7FA; font-size: 15px; font-weight: 500; line-height: 1.7; color: #000; cursor: pointer; }
.hp-select::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; line-height: 1.7; color: var(--hp-sub); pointer-events: none; }
.hp-diag-foot { display: flex; justify-content: flex-end; margin: 8.84px 23px 0 0; }
.hp-diag-btn { display: flex; align-items: center; justify-content: center; width: 170px; padding: 10px 22px; border: 0; border-radius: 4px; background: var(--hp-yellow); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 3px 6px rgba(0, 0, 0, .12); cursor: pointer; }

/* =========================================================
   トップ：条件から補助金を探す（Figma y=779〜1351。白）
   ========================================================= */
.hp-sec--conds { padding: 69px 0 78px; background: #fff; }
.hp-conds { display: grid; grid-template-columns: repeat(3, 372px); gap: 24px; align-items: start; margin-top: 26px; }
.hp-cond { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; border-radius: 6px; background: var(--hp-pale); }
.hp-cond-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-cond-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.hp-cond-chips a { display: inline-flex; align-items: center; height: 45px; box-sizing: border-box; padding: 10px 18px; border: 1px solid var(--hp-ink); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-cond-chips--s { margin-top: 12px; }
.hp-cond-chips--s a { padding: 6px 12px; font-size: 14px; }
.hp-cond-all, .hp-cond-more summary { word-spacing: -.5px; display: inline-flex; color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: pre; cursor: pointer; list-style: none; }
.hp-cond-more summary::-webkit-details-marker { display: none; }
.hp-cond-more { width: 100%; }
.hp-cond-more summary { display: flex; width: max-content; }

/* =========================================================
   トップ：締切が近い補助金（Figma y=1351〜2395。水色）
   ========================================================= */
.hp-sec--near { padding: 55px 0 60px; background: var(--hp-blue); }
.hp-near-bar { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 37px; }
.hp-near-sort { display: flex; gap: 8px; margin-left: 4px; }
.hp-near-sort button { padding: 10px 18px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; color: var(--hp-navy); font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; cursor: pointer; }
.hp-near-sort button[aria-pressed="true"] { background: var(--hp-navy); border-color: var(--hp-navy); color: #fff; }
.hp-cards { display: grid; grid-template-columns: repeat(3, 380px); gap: 12px; margin-top: 20px; }
.hp-sec--near .hp-card { min-height: 378px; }

/* 補助金カード（Figma Card/Subsidy 375:770：幅 380） */
.hp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .08)); }
.hp-card > span { display: flex; }
.hp-card-badges { gap: 5px; }
.hp-card-badge { padding: 3px 10px; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-card-badge--y { background: var(--hp-yellow); color: var(--hp-ink) !important; }
.hp-card-badge--n { background: var(--hp-navy); color: #fff !important; }
.hp-card-title { width: 100%; font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-card-agency { font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--hp-sub) !important; }
.hp-card-line { width: 100%; height: 1px; background: #B3B3B3; }
.hp-card-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 16px; width: 100%; }
.hp-card-grid > span { display: flex; flex-direction: column; min-width: 0; }
.hp-card-lb { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--hp-sub) !important; }
.hp-card-lb .ic { font-size: 15px; color: var(--hp-navy) !important; }
.hp-card-amount { font-size: 22px; font-weight: 900; line-height: 1.3; color: var(--hp-navy) !important; }
.hp-card-v { font-size: 18px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.hp-card-tags { gap: 6px; padding-top: 10px; }
.hp-card-tag { padding: 6px 14px; border: 1px solid var(--hp-ink); border-radius: 4px; background: var(--hp-gray); color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-card-more { margin-top: auto; color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.5; }
/* 詳細ページの「関連する補助金」（Figma 03：影あり・黄色のバッジは白文字・バッジの間 8px） */
.hp-card--related { filter: none; box-shadow: var(--hp-shadow); }
.hp-card--related .hp-card-badges { gap: 8px; }
.hp-card--related .hp-card-badge--y { color: #fff !important; }

/* =========================================================
   トップ：新着通知のバナー（Figma y=2395〜2635。白）
   ========================================================= */
.hp-banner-wrap { width: 100%; padding: 47px 0; background: #fff; }
.hp-banner { display: flex; align-items: center; gap: 28px; height: 146px; box-sizing: border-box; padding: 32px 40px; border-radius: 6px; background: var(--hp-navy); }
.hp-banner * { color: #fff; }
.hp-banner-bell { width: 64px; height: 64px; flex: none; }
.hp-banner-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.hp-banner-h { display: flex; align-items: center; gap: 10px; }
.hp-banner-h, .hp-banner-h * { line-height: 1.2; } /* Figma の「自動」の行の高さ（文字の大きさ × 1.2） */
.hp-banner-h em { padding: 3px 10px; border-radius: 4px; background: var(--hp-yellow); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap; }
.hp-banner-h span { font-size: 22px; font-weight: 700; white-space: nowrap; }
.hp-banner-t { width: 560px; max-width: 100%; font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-banner-btns { display: flex; gap: 12px; flex: none; }
.hp-banner-btns a { display: inline-flex; align-items: center; gap: 8px; padding: 16px 24px; border-radius: 4px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hp-banner-mail { background: #fff; color: var(--hp-navy) !important; }
.hp-banner-mail img { width: 20px; height: 20px; }
.hp-banner-line { background: #06C755; color: #fff !important; }
.hp-banner-line img { width: 22px; height: 22px; }

/* =========================================================
   トップ：無料相談の流れ（Figma y=2635〜3335。薄い青）
   ========================================================= */
.hp-sec--steps { padding: 55px 0 55px; background: var(--hp-pale); text-align: center; }
.hp-steps-t { color: var(--hp-ink); font-size: 25px; font-weight: 700; line-height: 1.4; }
.hp-steps-s { margin-top: 8px; color: var(--hp-ink); font-size: 13px; font-weight: 500; line-height: 1.8; }
.hp-steps { display: grid; grid-template-columns: 340px 70px 340px 76px 340px; margin-top: 58.2px; text-align: left; }
.hp-step { position: relative; height: 315px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-step-no { position: absolute; left: calc(50% - 35px + var(--dx)); top: -13px; width: 70px; height: 27px; padding-left: 14px; box-sizing: border-box; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-family: 'Roboto', sans-serif !important; font-size: 13px; font-weight: 700; line-height: 27px; white-space: nowrap; }
.hp-step-t { position: absolute; left: var(--dx); right: calc(0px - var(--dx)); top: 33px; text-align: center; font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-step img { position: absolute; left: 19px; top: 73px; width: 300px; height: 150px; object-fit: cover; border-radius: 4px; }
.hp-step-d { position: absolute; left: var(--dx); right: calc(0px - var(--dx)); top: 244px; text-align: center; color: var(--hp-ink); font-size: 14px; font-weight: 700; line-height: 1.7; }
.hp-step-arrow { position: relative; }
.hp-step-arrow::before { content: ""; position: absolute; left: 22px; top: 131px; width: 30px; height: 35px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='35' viewBox='0 0 30 35'%3E%3Cpath transform='matrix(0 1 -1 0 28.42 4.1)' d='M11.7415 0.882677C12.5342 -0.294227 14.2663 -0.294225 15.0591 0.882679L26.456 17.8027C27.3508 19.1311 26.3989 20.92 24.7972 20.92H2.00339C0.401672 20.92 -0.550218 19.1311 0.344596 17.8027L11.7415 0.882677Z' fill='%232B609E'/%3E%3C/svg%3E") no-repeat; }
.hp-steps-cta { display: flex; align-items: center; gap: 14px; width: 370px; height: 80px; margin: 47px auto 0; padding-left: 45px; box-sizing: border-box; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-size: 18px; font-weight: 700; line-height: 1.5; text-align: left; }
.hp-steps-cta img { width: 24px; height: 24px; }

/* =========================================================
   トップ：補助金に詳しい専門家（Figma y=3335〜4063。グレー）
   ========================================================= */
.hp-sec--experts { position: relative; padding: 64px 0 64px; background: var(--hp-gray); }
.hp-experts { display: grid; grid-template-columns: repeat(3, 380px); gap: 15px; align-items: stretch; margin: 32px 0 0 -1px; }
.hp-expert { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-expert-head { display: flex; align-items: center; gap: 16px; }
.hp-expert-head img { width: 72px; height: 72px; border-radius: 36px; object-fit: cover; }
.hp-expert-head > div { display: flex; flex-direction: column; gap: 2px; }
.hp-expert-name { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-expert-office { font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--hp-sub) !important; }
.hp-expert-quals { display: flex; gap: 6px; }
.hp-expert-quals span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.5; }
.hp-expert-reg { color: var(--hp-ink); font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-expert-line { height: 1px; background: var(--hp-line); }
.hp-expert dl { display: flex; flex-direction: column; gap: 8px; }
.hp-expert dl > div { display: flex; align-items: center; gap: 8px; }
.hp-expert dt { display: flex; align-items: center; gap: 4px; flex: none; width: 84px; color: var(--hp-sub); font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.hp-expert dt .ic { font-size: 15px; color: var(--hp-navy) !important; }
.hp-expert dd { font-size: 14px; font-weight: 500; line-height: 24px; }
.hp-expert-t { color: var(--hp-sub); font-size: 14px; font-weight: 500; line-height: 24px; }
.hp-expert-btns { display: flex; gap: 8px; margin-top: auto; }
.hp-expert-btn { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 28px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-expert-btn--fill { background: var(--hp-navy); color: #fff !important; }
.hp-sample-note { position: absolute; left: 16px; right: 16px; bottom: -38px; color: var(--hp-sub); font-size: 12px; }

/* =========================================================
   トップ：インタビュー（Figma y=4063〜4703。白）・コラム（y=4703〜5173。薄い青）
   カードの並びは画面の右端まではみ出す（デザインどおり）
   ========================================================= */
.hp-sec--iv { padding: 80px 0 79px; background: #fff; }
.hp-sec--col { padding: 64px 0; background: var(--hp-pale); }
.hp-carousel { position: relative; margin-right: calc((1166px - 100vw) / 2); }
.hp-carousel--iv { margin-top: 32px; }
.hp-carousel--col { margin-top: 40px; }
.hp-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hp-carousel--iv .hp-track { padding-top: 8px; padding-bottom: 12px; margin-bottom: -12px; }
.hp-track::-webkit-scrollbar { display: none; }
.hp-track > * { scroll-snap-align: start; flex: none; }
.hp-cnav { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 24px; color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; }
.hp-cnav--prev { left: -24px; background: #D9DBE0; }
.hp-cnav--next { right: 22px; background: var(--hp-navy); }
.hp-carousel--iv .hp-cnav { top: 174px; }
.hp-carousel--col .hp-cnav { top: 53px; }
.hp-iv { display: flex; flex-direction: column; width: 371px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); overflow: hidden; }
.hp-iv img { width: 100%; height: 200px; object-fit: cover; }
.hp-iv-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 24px; }
.hp-iv-tags { display: flex; gap: 6px; }
.hp-iv-tags span { line-height: 1.2; padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; }
.hp-iv-tags span:first-child { background: var(--hp-navy); color: #fff !important; }
.hp-iv-t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.hp-iv-by { line-height: 1.27; color: var(--hp-sub) !important; font-size: 13px; font-weight: 400; white-space: nowrap; }
.hp-iv-more { line-height: 1.27; color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; }
.hp-col { display: flex; flex-direction: column; gap: 10px; width: 273px; }
.hp-col img { width: 273px; height: 154px; object-fit: cover; border-radius: 4px; }
.hp-col-meta { display: flex; align-items: center; gap: 8px; }
.hp-col-meta time { color: var(--hp-sub) !important; font-family: 'Roboto', sans-serif !important; font-size: 13px; font-weight: 700; }
.hp-col-meta span { line-height: 1.2; padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; }
.hp-col-t { font-size: 15px; font-weight: 500; line-height: 1.6; }

/* =========================================================
   トップ：企業の方へ・専門家の方へ（Figma y=5173〜5704。グレー）
   ========================================================= */
.hp-sec--ctas { padding: 85px 0 69px; /* 丸い写真を外したので、上の余白は「企業の方へ」の札（カードの上に 16px はみ出す）＋下と同じ 69px */ background: var(--hp-gray); }
.hp-ctas { display: grid; grid-template-columns: 558px 558px; gap: 48px; padding-left: 17px; }
.hp-cta { position: relative; height: 300px; box-sizing: border-box; border-radius: 6px; box-shadow: var(--hp-shadow); text-align: center; }
.hp-cta--company { background: #FBF6E8; border: 1px solid var(--hp-yellow); }
.hp-cta--expert { background: var(--hp-pale); border: 1px solid var(--hp-navy); }
.hp-cta-label { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); height: 30px; border-radius: 4px; color: #fff !important; font-family: 'Roboto', 'Noto Sans JP', sans-serif !important; font-size: 15px; font-weight: 700; line-height: 1.5; padding-top: 4px; box-sizing: border-box; white-space: nowrap; }
.hp-cta--company .hp-cta-label { width: 120px; background: var(--hp-yellow); }
.hp-cta--expert .hp-cta-label { width: 150px; background: var(--hp-navy); }
.hp-cta-h { position: absolute; left: 0; right: 0; top: 49px; color: var(--hp-ink); font-size: 20px; font-weight: 700; line-height: 1.45; }
.hp-cta-t { position: absolute; left: 0; right: 0; top: 115px; color: var(--hp-ink); font-size: 14px; font-weight: 500; line-height: 1.7; }
.hp-cta-btn { position: absolute; left: calc(50% - 150px); top: 180px; display: flex; align-items: center; width: 300px; height: 70px; box-sizing: border-box; border-radius: 4px; color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1.5; text-align: left; }
.hp-cta-btn img { width: 24px; height: 24px; }
.hp-cta--company .hp-cta-btn { background: var(--hp-yellow); padding-left: 46px; gap: 16.5px; }
.hp-cta--expert .hp-cta-btn { background: var(--hp-navy); padding-left: 37px; gap: 11.5px; }

/* =========================================================
   補助金一覧・診断結果：上の帯（Figma Hero/写真＋オーバーレイ：y=0〜560、ヘッダーの下は 450px）
   ========================================================= */
.hp-band { position: relative; width: 100%; height: 450px; background: #1D3A5F url(/assets/img/hojokin/hp-band.webp) center / cover no-repeat; }
.hp-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 58, 95, .92) 0%, rgba(36, 73, 122, .84) 55%, rgba(43, 96, 158, .66) 100%); pointer-events: none; }
.hp-band > .hp-in { height: 100%; }
.hp-bc { position: absolute; left: 16px; top: 29px; }
.hp-bc ol { display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-bc li { white-space: nowrap; line-height: 1.6; }
.hp-bc li + li::before { content: "　＞　"; }
.hp-band .hp-bc * { color: #fff; }
.hp-band-h { position: absolute; left: 16px; top: 95px; display: flex; align-items: center; gap: 24px; height: 35px; color: #fff; font-size: 25px; font-weight: 700; line-height: 1.3; }
.hp-band-h::before { content: ""; width: 10px; height: 35px; border-radius: 2px; background: #fff; flex: none; }
/* 件数のカード（Figma ResultSummary：y=263、幅 1166） */
.hp-stats { position: absolute; left: 16px; right: 16px; top: 153px; display: flex; align-items: flex-start; gap: 32px; padding: 32px 36px; border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-stats-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hp-stats-col--1 { width: 350px; flex: none; }
.hp-stats-col--3 { flex: 1; min-width: 0; gap: 12px; height: 150px; }
.hp-stats-sep { width: 2px; height: 150px; flex: none; background: var(--hp-line); }
.hp-pill { display: inline-flex; padding: 5px 16px; border-radius: 999px; background: var(--hp-navy); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hp-stats-num { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.hp-stats-num small { font-size: 18px; font-weight: 700; color: #000; }
.hp-stats-num b { color: var(--hp-navy) !important; font-family: 'Roboto', sans-serif !important; font-size: 56px; font-weight: 800; }
.hp-stats-num span { color: var(--hp-navy) !important; font-size: 22px; font-weight: 700; }
.hp-stats-note, .hp-stats-text { font-size: 13px; font-weight: 500; line-height: 1.6; }
.hp-ypill { display: inline-flex; align-items: center; height: 25px; padding: 3px 10px; box-sizing: border-box; border-radius: 4px; background: var(--hp-yellow); color: #fff !important; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hp-stats-btn { display: inline-flex; padding: 10px 20px; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hp-answers { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.hp-answers span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* 一覧・診断結果の本体（左 764px・右 340px。Figma y=620〜） */
.hp-body { width: 100%; padding: 60px 0 76px; background: var(--hp-gray); }
.hp-2col { display: grid; grid-template-columns: 764px 340px; gap: 60px; align-items: start; }
.hp-sortbar { display: flex; align-items: center; gap: 185px; height: 37.5px; margin: 0 0 22.5px 2px; }
.hp-count { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.hp-count b { color: var(--hp-navy) !important; font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-count span { font-size: 16px; font-weight: 500; line-height: 1.8; }
.hp-sort { display: flex; gap: 8px; }
.hp-sort button { padding: 8px 16px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; color: #000; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; cursor: pointer; }
.hp-sort button[aria-pressed="true"] { background: var(--hp-navy); color: #fff; }
.hp-sort--result button[aria-pressed="true"] { border-color: var(--hp-navy); }
.hp-sort--list button[data-sort="new"]:not([aria-pressed="true"]) { border-color: var(--hp-navy); } /* デザイン 02b どおり */
.hp-list { display: flex; flex-direction: column; gap: 16px; }
.hp-loadmore { display: flex; width: 100%; justify-content: center; margin-top: 16px; padding: 14px 32px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-navy); font-size: 15px; font-weight: 700; white-space: pre; cursor: pointer; }
.hp-empty { padding: 32px 24px; border-radius: 6px; background: #fff; text-align: center; font-size: 15px; line-height: 1.8; }
.hp-filtered { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -10px 0 18px 2px; font-size: 13px; font-weight: 500; }
.hp-filtered span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-weight: 700; }
.hp-filtered a { color: var(--hp-navy) !important; font-weight: 700; text-decoration: underline; }

/* 横長の補助金カード（Figma Card/Result：幅 764） */
.hp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 28px; border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-row-badges { display: flex; align-items: center; gap: 6px; }
.hp-row-badge { padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hp-row-badge--y { background: #FFF4D6; color: #B07D00 !important; }
.hp-row-badge--n { background: var(--hp-pale); color: var(--hp-navy) !important; }
.hp-row-rank { display: inline-flex; align-items: baseline; gap: 2px; padding: 2px 10px; border-radius: 4px; background: var(--hp-navy); white-space: nowrap; }
.hp-row-rank.is-top { background: var(--hp-yellow); }
.hp-row-rank span { color: #fff !important; font-size: 11px; font-weight: 700; }
.hp-row-rank b { color: #fff !important; font-family: 'Roboto', sans-serif !important; font-size: 18px; font-weight: 800; }
.hp-row-title { font-size: 20px; font-weight: 700; }
.hp-row-title a:hover { text-decoration: underline; }
.hp-row-agency { color: var(--hp-sub) !important; font-size: 12px; font-weight: 400; }
.hp-row-line { width: 100%; height: 1px; background: var(--hp-line); }
.hp-row-grid { display: grid; grid-template-columns: 240px 150px 170px 120px; width: 100%; }
.hp-row-grid > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp-row-lb { display: flex; align-items: center; gap: 4px; color: var(--hp-sub) !important; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hp-row-lb .ic { font-size: 15px; color: var(--hp-navy) !important; }
.hp-row-amount { color: var(--hp-navy) !important; font-size: 24px; font-weight: 700; white-space: nowrap; }
.hp-row-v { font-size: 18px; font-weight: 700; }
.hp-reason { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 12px 16px; box-sizing: border-box; border-radius: 4px; background: var(--hp-pale); }
.hp-reason[hidden] { display: none; }
.hp-reason-h { color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; }
.hp-reason ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hp-reason li { font-size: 13px; font-weight: 500; white-space: nowrap; }
.hp-reason li::before { content: "✓ "; }
.hp-row-foot { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.hp-row-more { color: var(--hp-navy) !important; font-size: 14px; font-weight: 700; }
.hp-row-btn { display: inline-flex; padding: 12px 22px; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* 右の列（Figma サイドバー：幅 340、間 10px） */
.hp-aside { display: flex; flex-direction: column; gap: 10px; }
.hp-aside-cta { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--hp-line); border-radius: 6px; background: var(--hp-navy); }
.hp-aside-cta * { color: #fff; }
.hp-aside-cta-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-aside-cta-t { font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-aside-cta-btn { display: flex; justify-content: center; height: 55px; padding: 14px 20px; box-sizing: border-box; border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; }
.hp-aside-experts { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border: 1px solid var(--hp-line); border-radius: 6px; background: var(--hp-pale); }
.hp-aside-h { font-size: 18px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-aside-h .hp-sample { margin-left: 6px; }
.hp-aside-sub { color: var(--hp-sub) !important; font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-mini { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; }
.hp-mini-head { display: flex; align-items: center; gap: 12px; }
.hp-mini-head img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.hp-mini-head > div { display: flex; flex-direction: column; gap: 2px; }
.hp-mini-name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.hp-mini-office { color: var(--hp-sub) !important; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-mini-area { color: var(--hp-sub) !important; font-size: 12px; font-weight: 700; line-height: 1.6; }
.hp-mini-tags { display: flex; gap: 6px; }
.hp-mini-tags span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 500; line-height: 1.5; }
.hp-mini-btns { display: flex; gap: 8px; }
.hp-mini-btn { flex: 1; display: flex; justify-content: center; padding: 10px 12px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-primary) !important; font-size: 13px; font-weight: 700; line-height: 1.5; }
.hp-mini-btn--fill { background: var(--hp-navy); color: #fff !important; border-color: var(--hp-navy); }
.hp-aside-more { align-self: stretch; text-align: right; color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.5; }
.hp-aside-notify { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; }
.hp-aside-notify-h { color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; }
.hp-aside-notify-t { color: var(--hp-ink) !important; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-aside-notify-btn { display: flex; align-items: center; justify-content: center; height: 55px; padding: 14px 28px; box-sizing: border-box; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-primary) !important; font-size: 15px; font-weight: 700; line-height: 1.5; }

/* =========================================================
   補助金の詳細（Figma 03 345:1145）
   ========================================================= */
.hp-detail { background: var(--hp-gray); }
.hp-detail-top { padding-top: 29px; }
.hp-detail-top .hp-bc { position: static; }
.hp-detail-top .hp-bc * { color: #6B737D; }
.hp-detail-badges { display: flex; gap: 6px; margin-top: 52.8px; }
.hp-detail-badges span { padding: 3px 10px; border-radius: 4px; color: #fff !important; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-detail-badges .is-g { background: #858585; } .hp-detail-badges .is-y { background: var(--hp-yellow); } .hp-detail-badges .is-n { background: var(--hp-navy); }
.hp-detail-h1 { margin-top: 12.5px; font-size: 32px; font-weight: 700; line-height: 1.4; }
.hp-detail-catch { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.hp-detail-meta { margin-top: 5.2px; color: var(--hp-sub) !important; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-detail-body { padding: 38.8px 0 69px; }
.hp-detail-body .hp-2col { grid-template-columns: 766px 340px; }
.hp-detail-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.hp-table { border: 1px solid var(--hp-line); border-radius: 6px; overflow: hidden; background: #fff; }
.hp-table > div { display: flex; }
.hp-table > div + div { border-top: 1px solid var(--hp-line); }
.hp-table dt { display: flex; align-items: center; gap: 6px; flex: none; width: 180px; padding: 16px 20px; box-sizing: border-box; background: var(--hp-pale); color: var(--hp-sub); font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-table dt .ic { font-size: 17px; color: var(--hp-navy) !important; }
.hp-table dd { flex: 1; min-width: 0; padding: 16px 20px; font-size: 15px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.hp-table dd small { display: block; color: var(--hp-sub) !important; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-table dd a:hover { text-decoration: underline; }
.hp-prose { display: flex; flex-direction: column; gap: 12px; }
.hp-prose h2 { font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-prose p { font-size: 15px; font-weight: 500; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
/* 本文の中の URL・メールアドレス（ビルド時にリンクにしたもの） */
.hp-prose p a, .hp-table dd[style] a { color: var(--hp-navy) !important; text-decoration: underline; overflow-wrap: anywhere; word-break: break-all; }
.hp-sched { display: flex; align-items: center; gap: 7px; }
.hp-sched-item { display: flex; flex-direction: column; gap: 4px; width: 170px; padding: 16px; box-sizing: border-box; border-radius: 4px; background: #fff; white-space: nowrap; }
.hp-sched-item b { font-size: 17px; font-weight: 700; line-height: 1.5; }
.hp-sched-item span { font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-sched-item.is-now { background: var(--hp-pale); }
.hp-sched-item.is-now b { color: var(--hp-navy) !important; }
.hp-sched-arrow { flex: none; width: 15px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 15 20'%3E%3Cpath transform='matrix(0 .5694 -.5694 0 14.36 2.37)' d='M11.7415 0.882677C12.5342 -0.294227 14.2663 -0.294225 15.0591 0.882679L26.456 17.8027C27.3508 19.1311 26.3989 20.92 24.7972 20.92H2.00339C0.401672 20.92 -0.550218 19.1311 0.344596 17.8027L11.7415 0.882677Z' fill='%232B609E'/%3E%3C/svg%3E") no-repeat center; }
.hp-detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-detail-cta a { display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.hp-detail-cta .is-fill { background: var(--hp-navy); color: #fff !important; }
.hp-detail-cta .is-line { border: 1px solid var(--hp-navy); background: #fff; color: var(--hp-primary) !important; }
/* 主要な補助金の「シャチョウ補助金の解説ページを見る」（特集ページ＝LP へ）。公式ページより目立たせない：灰色の細い枠・小さめの文字 */
.hp-detail-cta .is-sub { padding: 14px 20px; border: 1px solid var(--hp-line); background: #fff; color: var(--hp-sub) !important; font-size: 13px; font-weight: 500; }
.hp-related { width: 100%; padding: 73px 0 58px; background: var(--hp-pale); }
.hp-related-h { display: flex; align-items: center; gap: 24px; height: 35px; margin-left: 5px; font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-related-h::before { content: ""; width: 10px; height: 35px; border-radius: 2px; background: var(--hp-navy); flex: none; }
.hp-related .hp-cards { gap: 10px; margin: 51px 0 0 -1px; }

/* =========================================================
   画面が狭いとき（デザインは PC だけ。同じ部品を縦に並べる）
   ========================================================= */
@media (max-width: 1240px) {
  .hp-hd { padding: 0 16px; }
  .hp-hd-nav { gap: 16px; }
  .hp-hd-nav ul { gap: 14px; }
  .hp-hd-btns { margin-left: 16px; }
  .hp-hd-btn { width: 110px; }
  .hp-hd-btn--diag img { left: 43px; } .hp-hd-btn--expert img { left: 39px; }
  .hp-hd-btn span { left: 0; right: 0; text-align: center; }
}
@media (max-width: 1100px) {
  .hp-hd { height: 72px; align-items: center; }
  .hp-hd-logo { margin-top: 0; width: auto; }
  .hp-hd-logo img { width: 160px; height: auto; }
  .hp-hd-logo span { margin-left: 16px; font-size: 10px; }
  .hp-hd-btns { margin: 0 8px 0 auto; }
  .hp-hd-btn { width: 96px; height: 52px; }
  .hp-hd-btn img { top: 6px !important; width: 22px !important; height: 22px !important; left: calc(50% - 11px) !important; }
  .hp-hd-btn span { top: 30px !important; font-size: 12px; }
  .hp-hd-menu { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 4px; background: #fff; cursor: pointer; }
  .hp-hd-menu .ic { font-size: 30px; color: #000; }
  .hp-hd-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }
  .hp-hd.is-open .hp-hd-nav { display: flex; }
  .hp-hd-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .hp-hd-nav li a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--hp-line); font-size: 15px; }
  .hp-hd-contact { width: 100%; height: 48px; margin-top: 16px; justify-content: center; padding: 0; font-size: 15px; }

  .hp-ft { height: auto; padding: 48px 0 40px; }
  .hp-ft-in { display: flex; flex-direction: column; gap: 32px; }
  .hp-ft-brand, .hp-ft-op, .hp-ft-sns, .hp-ft-copy, .hp-ft-cols { position: static; }
  .hp-ft-brand { order: 2; display: flex; flex-direction: column; gap: 16px; }
  .hp-ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .hp-ft-col:nth-child(n) { width: auto; }
  .hp-ft-col li { height: auto; }
  .hp-ft-col li a { display: flex; align-items: center; min-height: 44px; white-space: normal; }
  .hp-ft-sns a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

  /* FV：左の文字・カード → 診断パネルの順に縦に並べる */
  .hp-fv { height: auto; padding: 40px 0 48px; }
  .hp-fv::before { background-size: cover; background-position: center; }
  .hp-fv-left, .hp-panel { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .hp-fv-left { display: flex; flex-direction: column; align-items: flex-start; }
  .hp-fv-left > * { position: relative !important; left: auto !important; top: auto !important; }
  .hp-fv-label { order: 1; }
  .hp-fv-circle { order: 2; margin-top: 20px; display: flex; align-items: center; gap: 10px; width: auto; height: auto; padding: 8px 22px; border-radius: 999px; }
  .hp-fv-circle > * { position: static !important; width: auto !important; }
  .hp-fv-spark { display: none; }
  .hp-fv-circle-n { font-size: 36px; }
  .hp-fv-h1 { order: 3; margin-top: 20px; font-size: 40px; white-space: normal; }
  .hp-fv-lead { order: 4; margin-top: 16px; white-space: normal; }
  .hp-fv-deadline { order: 5; margin-top: 24px; }
  .hp-fv-expert { order: 6; margin-top: 10px; }
  .hp-panel { margin-top: 32px; max-width: 615px; }
  .hp-tab { width: 50%; }
  .hp-diag { height: auto; padding: 28px 24px; }
  .hp-q { height: auto !important; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hp-q + .hp-q { margin-top: 22px; }
  .hp-q > .hp-q-label { flex-direction: row; align-items: baseline; gap: 8px; width: auto; }
  .hp-q .hp-chips { width: auto !important; }
  .hp-diag-foot { margin: 26px 0 0; }

  .hp-conds { grid-template-columns: 1fr; gap: 16px; }
  .hp-near-bar { flex-wrap: wrap; gap: 12px; }
  .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-sec--near .hp-card { min-height: 0; }
  .hp-banner { flex-wrap: wrap; height: auto; padding: 28px 24px; gap: 18px; }
  .hp-banner-body { height: auto; }
  .hp-banner-btns { width: 100%; }
  .hp-banner-btns a { flex: 1; justify-content: center; }
  .hp-banner-h span { white-space: normal; }
  .hp-steps { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hp-step-arrow { height: 48px; }
  .hp-step-arrow::before { left: calc(50% - 15px); top: 7px; transform: rotate(90deg); }
  .hp-step { --dx: 0px !important; }
  .hp-step img { left: calc(50% - 150px); }
  .hp-experts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; }
  .hp-carousel { margin-right: -16px; }
  .hp-cnav--prev { left: 0; } .hp-cnav--next { right: 16px; }
  .hp-ctas { grid-template-columns: 1fr; gap: 48px; padding: 0 16px; max-width: 590px; margin: 0 auto; }
  .hp-sec--ctas { padding-top: 72px; }

  .hp-band { height: auto; padding: 24px 0 40px; }
  .hp-bc, .hp-band-h, .hp-stats { position: relative; left: auto; right: auto; top: auto; }
  .hp-band-h { margin: 28px 0 24px; }
  .hp-stats { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .hp-stats-col--1 { width: auto; flex: 1 1 260px; }
  .hp-stats-col--3 { flex: 1 1 100%; height: auto; }
  .hp-stats-sep { display: none; }
  .hp-2col, .hp-detail-body .hp-2col { grid-template-columns: minmax(0, 1fr); }
  .hp-sortbar { height: auto; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; margin-left: 0; }
  .hp-related .hp-cards { margin-left: 0; }
}
@media (max-width: 760px) {
  .hp-sec--conds { padding: 48px 0 56px; }
  .hp-sec--near, .hp-sec--steps, .hp-sec--experts, .hp-sec--iv, .hp-sec--col { padding-top: 48px; padding-bottom: 56px; }
  .hp-sec--experts { padding-bottom: 80px; }
  .hp-h { gap: 14px; min-height: 48px; }
  .hp-h::before { width: 6px; height: auto; min-height: 48px; }
  .hp-h-t { font-size: 20px; white-space: normal; }
  .hp-h-row { flex-direction: column; gap: 16px; }
  .hp-h-row .hp-linkbtn { margin-top: 0; }
  .hp-linkbtn { min-height: 44px; box-sizing: border-box; align-items: center; }
  .hp-steps-t { font-size: 21px; }
  .hp-steps-s br { display: none; }
  .hp-cards, .hp-experts { grid-template-columns: 1fr; }
  .hp-cond-chips a { min-height: 44px; box-sizing: border-box; align-items: center; }
  .hp-cond-all, .hp-cond-more summary { min-height: 44px; align-items: center; }
  .hp-near-sort { margin-left: 0; width: 100%; }
  .hp-near-sort button { flex: 1; padding: 10px 6px; font-size: 13px; min-height: 44px; }
  .hp-near-bar .hp-linkbtn { width: 100%; justify-content: center; }
  .hp-cards[data-near-list] > :nth-child(n+4) { display: none; } /* スマホのトップは 3 件まで（すべては一覧で） */
  .hp-banner { flex-direction: column; align-items: flex-start; }
  .hp-banner-body { align-self: stretch; width: 100%; }
  .hp-banner-t { width: auto; }
  .hp-banner-h span { white-space: normal; }
  .hp-banner-bell { width: 48px; height: 48px; }
  .hp-banner-h { flex-wrap: wrap; }
  .hp-banner-h span { font-size: 19px; }
  .hp-banner-btns { flex-direction: column; }
  .hp-banner-btns a { min-height: 48px; }
  .hp-row { padding: 20px 16px; }
  .hp-row-title { font-size: 18px; }
  .hp-row-grid { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .hp-row-amount { font-size: 20px; white-space: normal; }
  .hp-row-v { font-size: 16px; }
  .hp-row-foot { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .hp-row-btn { justify-content: center; min-height: 44px; box-sizing: border-box; align-items: center; }
  .hp-row-more { display: flex; justify-content: center; align-items: center; min-height: 44px; }
  .hp-reason li { white-space: normal; }
  .hp-bc li { white-space: normal; }
  .hp-sort { width: 100%; }
  .hp-sort button { flex: 1; min-height: 44px; padding: 6px 4px; }
  .hp-detail-h1 { font-size: 24px; }
  .hp-detail-badges { margin-top: 24px; }
  .hp-table > div { flex-direction: column; }
  .hp-table dt { width: auto; padding: 10px 16px; font-size: 14px; }
  .hp-table dd { padding: 12px 16px 16px; }
  .hp-prose h2 { font-size: 20px; }
  .hp-sched { flex-direction: column; align-items: stretch; }
  .hp-sched-item { width: auto; }
  .hp-sched-arrow { align-self: center; transform: rotate(90deg); }
  .hp-detail-cta a { width: 100%; justify-content: center; }
  .hp-mini-btn, .hp-expert-btn, .hp-aside-more { min-height: 44px; box-sizing: border-box; align-items: center; }
  .hp-aside-h { white-space: normal; }
}
@media (max-width: 540px) {
  .hp-hd { height: 64px; }
  .hp-hd-nav { top: 64px; }
  .hp-hd-logo img { width: 128px; }
  .hp-hd-logo span { display: none; }
  .hp-hd-btn { width: 64px; height: 48px; }
  .hp-hd-btn img { top: 5px !important; width: 20px !important; height: 20px !important; left: calc(50% - 10px) !important; }
  .hp-hd-btn span { top: 28px !important; font-size: 10px; }
  .hp-hd-menu { width: 44px; }
  .hp-fv { padding: 28px 0 40px; }
  .hp-fv-label { font-size: 13px; padding: 4px 10px; }
  .hp-fv-h1 { font-size: 30px; }
  .hp-fv-lead { font-size: 14px; }
  .hp-fv-lead br { display: none; }
  .hp-fv-circle-n { font-size: 32px; }
  .hp-fv-deadline, .hp-fv-expert { width: 100%; }
  .hp-fv-deadline-t { left: auto; right: 14px; }
  .hp-tab { height: 48px; font-size: 14px; padding-left: 0 !important; justify-content: center; gap: 6px; }
  .hp-tab img { width: 20px; height: 20px; }
  .hp-diag { padding: 22px 16px; }
  .hp-chip span { min-height: 44px; box-sizing: border-box; align-items: center; padding: 6px 12px; font-size: 14px; }
  .hp-select, .hp-select select { width: 100%; height: 48px; }
  .hp-diag-btn { width: 100%; min-height: 52px; }
  .hp-steps-cta { width: 100%; height: 64px; padding-left: 0; justify-content: center; font-size: 16px; }
  .hp-iv { width: 82vw; max-width: 340px; }
  .hp-iv img { height: 170px; }
  .hp-col { width: 64vw; max-width: 273px; }
  .hp-col img { width: 100%; height: auto; aspect-ratio: 273 / 154; }
  .hp-cnav { display: none; }
  .hp-cta { height: auto; padding: 46px 16px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .hp-cta-h, .hp-cta-t, .hp-cta-btn { position: static; }
  .hp-cta-t br { display: none; }
  .hp-cta-btn { width: 100%; justify-content: center; padding-left: 0 !important; height: 60px; }
  .hp-cta--expert .hp-cta-label { width: auto; padding: 4px 14px 0; }
  .hp-band-h { font-size: 22px; gap: 14px; }
  .hp-band-h::before { width: 6px; }
  .hp-stats { padding: 22px 18px; }
  .hp-stats-num b { font-size: 44px; }
  .hp-stats-btn { width: 100%; justify-content: center; min-height: 44px; box-sizing: border-box; align-items: center; }
}

/* ---------------------------------------------------------
   Figma で行の高さが「自動」の文字は、文字の大きさ × 1.2（Figma の値を確かめた）。一覧・診断結果のカードと件数のカード
   --------------------------------------------------------- */
.hp-row *, .hp-stats .hp-pill, .hp-stats-num span, .hp-stats-num small, .hp-stats-btn, .hp-answers span, .hp-reason * { line-height: 1.2; }
.hp-row-lb { line-height: 15px; }
.hp-row-lb .ic { line-height: 15px; }

.hp-q--4 .hp-q-label { margin-top: 6px; } /* Figma の「やりたいこと」の位置に合わせる */
@media (max-width: 1100px) { .hp-q--4 .hp-q-label { margin-top: 0; } }

/* =========================================================
   第 2 段のページ（2026-10）。デザイン: Figma 04・04b 専門家一覧 / 05 専門家の詳細 / 06 新着通知 / 07 専門家の方へ / 08 運営会社 /
   09 相談フォーム / 11・13 記事 / 12 一覧（インタビュー・コラム） / 14a〜c 送信完了 / 15 プライバシーポリシー
   コメントの「Figma y=…」はデザイン上の縦の位置（ヘッダー 110px を含む）
   ========================================================= */
:root { --hp-orange: #F5A800; --hp-dark: #12305C; --hp-red: #D0342C; }
.hp-page { width: 100%; }
.hp-sample--chip { margin-left: 0; padding: 3px 8px; font-size: 11px; line-height: 1.5; }
.hp-root [hidden] { display: none !important; }

/* トップ：専門家を探すタブ・インタビュー・コラムの「一覧を見る」・専門家 0 人のとき */
.hp-tab[aria-current="false"] { background: #B3B3B3; }
.hp-tab--expert[aria-current="true"] { background: var(--hp-navy); }
.hp-diag-btn--navy { background: var(--hp-navy); }
/* 専門家を探すタブの中身（デザインは無いので、診断と同じ部品で並べた。ラベルの幅は「相談したいこと」が入る 105px） */
.hp-diag--expert .hp-q { margin-top: 22px; }
.hp-diag--expert .hp-q:first-child { margin-top: 0; }
.hp-diag--expert .hp-q-label { width: 105px; }
.hp-diag--expert .hp-chips { flex: 1; width: auto !important; min-width: 0; }
.hp-diag--expert .hp-diag-foot { margin-top: 28px; }
.hp-iv-all { display: flex; justify-content: center; margin-top: 32px; }
.hp-iv-all-btn { word-spacing: -.5px; display: inline-flex; padding: 10px 18px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: pre; }
.hp-preparing { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; padding: 40px 24px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; text-align: center; font-size: 15px; line-height: 1.8; }
.hp-preparing--col { margin-top: 0; }
.hp-preparing-t { font-size: 20px; font-weight: 700; line-height: 1.5; }
.hp-preparing-btn { display: inline-flex; margin-top: 6px; padding: 12px 28px; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-weight: 700; }

/* ---- 写真の帯が無いページの上（Figma パンくず y=139・見出し y=205） ---- */
.hp-ph { padding-top: 29px; }
.hp-ph-bc ol { display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 500; line-height: 1.6; }
.hp-ph-bc li, .hp-ph-bc a { color: #6B737D; line-height: 1.6; }
.hp-ph-bc li + li::before { content: "　＞　"; }
.hp-page--expert .hp-ph-bc, .hp-page--contact .hp-ph-bc { padding-top: 29px; }
.hp-ph-h { position: relative; margin-top: 46.8px; padding-left: 34px; }
.hp-ph-h::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 35px; border-radius: 2px; background: var(--hp-navy); }
.hp-ph-h--yellow::before { background: var(--hp-orange); }
.hp-ph-h--dark::before { background: var(--hp-dark); }
.hp-ph-t { color: var(--hp-ink); font-size: 25px; font-weight: 700; line-height: 1.3; }
.hp-ph-h--sub { margin-top: 44.8px; }
.hp-ph-h--sub::before { top: 2px; height: 60px; }
.hp-ph-s { margin: 7.5px 0 0 1px; color: var(--hp-sub); font-size: 14px; font-weight: 400; line-height: 1.448; }
.hp-narrow { width: 800px; max-width: calc(100% - 32px); margin: 0 auto; }

/* ---- 08 運営会社・免責事項 ---- */
.hp-page--about { padding-bottom: 100px; }
.hp-about-role { display: flex; flex-direction: column; gap: 10px; margin-top: 59.5px; padding: 28px 32px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; }
.hp-about-role h2 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-about-role p { font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-h2 { font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-about-company { display: flex; flex-direction: column; gap: 16px; margin-top: 46px; }
.hp-dtable { border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; overflow: hidden; }
.hp-dtable > div { display: flex; }
.hp-dtable > div + div { border-top: 1px solid var(--hp-line); }
.hp-dtable dt { flex: none; width: 200px; padding: 16px 24px; box-sizing: border-box; background: #F5F7FA; color: var(--hp-sub); font-size: 15px; font-weight: 500; line-height: 1.5; }
.hp-dtable dd { flex: 1; min-width: 0; padding: 16px 24px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-dtable dd a { color: var(--hp-navy) !important; text-decoration: underline; }
.hp-about-disc { display: flex; flex-direction: column; gap: 20px; margin-top: 48px; }
.hp-about-disc > div { display: flex; flex-direction: column; gap: 6px; }
.hp-about-disc h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-about-disc p { color: var(--hp-sub); font-size: 15px; font-weight: 500; line-height: 1.8; }

/* ---- 15 プライバシーポリシー ---- */
.hp-page--privacy { padding-bottom: 160px; }
.hp-policy { display: flex; flex-direction: column; gap: 28px; margin-top: 59.5px; padding: 48px 56px; border-radius: 6px; background: #fff; }
.hp-policy-sec { display: flex; flex-direction: column; gap: 10px; }
.hp-policy-sec h2 { color: #1F1714; font-size: 16px; font-weight: 700; line-height: 1.2; }
.hp-policy-sec.is-big h2 { color: var(--hp-navy); font-size: 18px; }
.hp-policy-sec p { color: #1F1714; font-size: 15px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }

/* ---- 14a〜c 送信完了 ---- */
.hp-page--thanks { padding-bottom: 160px; }
.hp-done { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 59.5px; padding: 56px 64px; border-radius: 6px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); text-align: center; }
.hp-done-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 36px; background: var(--hp-pale); }
.hp-done-icon img { width: 34px; height: 34px; }
.hp-done-t { color: #1F1714; font-size: 26px; font-weight: 700; line-height: 1.2; }
.hp-done-s { color: #454A52; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-done-next { display: flex; flex-direction: column; gap: 8px; align-self: stretch; padding: 20px 28px; border-radius: 4px; background: var(--hp-pale); text-align: left; }
.hp-done-next-t { color: var(--hp-navy); font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-done-next-s { color: #1F1714; font-size: 14px; font-weight: 500; line-height: 1.8; }
.hp-done-btns { display: flex; gap: 16px; margin-top: 2px; }
.hp-done-btn { display: flex; align-items: center; justify-content: center; width: 240px; padding: 12.5px 0; box-sizing: border-box; border: 1.5px solid var(--hp-navy); border-radius: 6px; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-done-btn--fill { padding: 14px 0; border-width: 0; background: var(--hp-navy); color: #fff !important; }
.hp-done-btn--line { background: #fff; color: var(--hp-navy) !important; }
.hp-done-btn--line-green { padding: 14px 0; border-width: 0; background: #06C755; color: #fff !important; }
.hp-done--dark .hp-done-icon, .hp-done--dark .hp-done-next { background: #EDF1F7; }
.hp-done--dark .hp-done-next-t { color: var(--hp-dark); }
.hp-done--dark .hp-done-btn { border-color: var(--hp-dark); }
.hp-done--dark .hp-done-btn--fill { background: var(--hp-dark); }
.hp-done--dark .hp-done-btn--line { color: var(--hp-dark) !important; }
.hp-done--yellow .hp-done-icon, .hp-done--yellow .hp-done-next { background: #FFF9E6; }
.hp-done--yellow .hp-done-next-t { color: var(--hp-orange); }
.hp-done--yellow .hp-done-btn--line { border-color: var(--hp-orange); color: var(--hp-orange) !important; }

/* ---- 写真の大きな帯（06 新着通知・07 専門家の方へ：Figma y=0〜595、ヘッダーの下 485px） ---- */
.hp-hero { position: relative; display: flex; flex-direction: column; align-items: center; height: 485px; box-sizing: border-box; padding-top: 83px; background: #1D3A5F center / cover no-repeat; text-align: center; }
.hp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 58, 95, .92) 0%, rgba(36, 73, 122, .84) 55%, rgba(43, 96, 158, .66) 100%); pointer-events: none; }
.hp-hero > * { position: relative; }
.hp-hero--notify { background-image: url(/assets/img/hojokin/hp-hero-notify.webp); }
.hp-hero--fe { background-image: url(/assets/img/hojokin/hp-hero-for-experts.webp); }
.hp-hero-tag { padding: 3px 10px; border-radius: 2px; background: #fff; color: var(--hp-orange) !important; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-hero--fe .hp-hero-tag { color: var(--hp-dark) !important; }
.hp-hero-h { margin-top: 9.5px; color: #fff; font-size: 45px; font-weight: 700; line-height: 1.3; }
.hp-hero-h span { display: block; color: #fff; line-height: 1.3; white-space: nowrap; }
.hp-hero-s { margin-top: 10px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.8; }
.hp-hero--fe .hp-hero-s { color: #D9E3F2; }
.hp-hero-btn { display: flex; align-items: center; justify-content: center; width: 350px; height: 80px; margin-top: 35px; border-radius: 4px; background: var(--hp-orange); color: #fff !important; font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-hero--fe .hp-hero-btn { background: #fff; color: var(--hp-dark) !important; }

/* 見出し（左に縦の棒 10×35。06 はオレンジ、07 は濃い紺） */
.hp-h3 { position: relative; padding-left: 34px; color: var(--hp-ink); font-size: 25px; font-weight: 700; line-height: 1.3; }
.hp-h3::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 35px; border-radius: 2px; background: var(--hp-navy); }
.hp-page--notify .hp-h3::before { background: var(--hp-orange); }
.hp-page--fe .hp-h3::before { background: var(--hp-dark); }
.hp-h3--sub h2 { padding-top: 2px; color: var(--hp-ink); font-size: 25px; font-weight: 700; line-height: 1.3; }
.hp-h3--sub::before { height: 60px; }
.hp-h3--sub p { margin: 4.5px 0 0 1px; color: var(--hp-ink); font-size: 13px; font-weight: 500; line-height: 1.5; }
.hp-fe-about .hp-h3, .hp-fe-flow .hp-h3 { color: #000; }

/* メリットの 3 枚（Figma y=749：幅 373・高さ 230） */
.hp-nt-merits, .hp-fe-merits { padding-top: 83px; }
.hp-merits { display: flex; gap: 24px; margin-top: 37.5px; }
.hp-merit { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 373px; height: 230px; padding: 28px; box-sizing: border-box; border-radius: 6px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .08); text-align: center; }
.hp-fe-merits .hp-merit { flex: 1; width: auto; min-width: 0; }
.hp-merit img { width: 55px; height: 55px; }
.hp-merit-h { font-size: 18px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-merit-t { color: var(--hp-sub); font-size: 14px; font-weight: 400; line-height: 1.7; }

/* ---- 06 新着通知 ---- */
.hp-nt-merits { padding-bottom: 103px; }
.hp-nt-faq { padding: 80px 0 79px; background: #fff; }
.hp-faq { display: flex; flex-direction: column; gap: 12px; width: 760px; max-width: 100%; margin: 42.5px auto 0; }
.hp-faq > div { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border-radius: 6px; background: #FFF9E6; }
.hp-faq dt { color: var(--hp-orange); font-size: 15px; font-weight: 700; line-height: 1.54; }
.hp-faq dd { font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-nt-form { padding: 80px 0 80px; background: #FFF9E6; }
.hp-nt-form .hp-form { margin-top: 44px; }

/* ---- 07 専門家の方へ ---- */
.hp-fe-merits { padding-bottom: 78px; }
.hp-fe-about { padding: 70px 0 70px; background: #EDF1F7; }
.hp-price { display: flex; gap: 48px; margin-top: 35.5px; padding: 48px 56px; border-radius: 6px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.hp-price-l { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: none; width: 260px; margin-top: 10px; }
.hp-price-l * { color: var(--hp-dark); }
.hp-price-lb { font-size: 16px; font-weight: 700; line-height: 1.2; }
.hp-price-v { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hp-price-v b { font-size: 80px; font-weight: 900; line-height: 1.3; }
.hp-price-v span { font-size: 26px; font-weight: 700; line-height: 1.2; }
.hp-price-t { color: #454A52 !important; font-size: 14px; font-weight: 500; line-height: 1.7; }
.hp-price-badge { padding: 5px 12px; border-radius: 4px; background: #EDF1F7; font-size: 12px; font-weight: 700; line-height: 1.2; }
.hp-price-sep { flex: none; width: 1px; background: #E0E5ED; }
.hp-price-rows { flex: 1; min-width: 0; }
.hp-price-rows > div { display: flex; align-items: center; gap: 24px; padding: 10px 0; border-bottom: 1px solid #E0E5ED; }
.hp-price-rows > div:last-child { border-bottom: 0; }
.hp-price-rows dt { flex: none; width: 140px; padding: 7px 10px; box-sizing: border-box; border-radius: 6px; background: var(--hp-dark); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; }
.hp-price-rows dd { flex: 1; min-width: 0; color: #1F1714; font-size: 15px; font-weight: 500; line-height: 1.6; }
.hp-fe-flow { padding: 85px 0 84px; background: #E3E7ED; }
.hp-flow { position: relative; display: flex; justify-content: center; gap: 10px; margin-top: 51.5px; padding-top: 49px; }
.hp-flow::before { content: ""; position: absolute; left: calc(50% - 250px); top: 16px; width: 500px; height: 3px; background: url(/assets/img/hojokin/hp-fe-line.svg) 0 0 / 100% 100%; }
.hp-flow li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; width: 250px; height: 300px; padding: 28px; box-sizing: border-box; border-radius: 6px; background: #F5F7FA; box-shadow: 0 0 20px rgba(0, 0, 0, .08); text-align: center; }
.hp-flow li:first-child { background: #F5F5FA; }
.hp-flow-n { position: absolute; left: calc(50% - 17.5px); top: -49px; display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background: var(--hp-dark); color: #fff !important; font-size: 15px; font-weight: 500; line-height: 1.5; }
.hp-flow li:nth-child(2) .hp-flow-n { background: #33578C; }
.hp-flow li:nth-child(3) .hp-flow-n { background: #6B8AB8; }
.hp-flow-h { color: var(--hp-dark); font-size: 18px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-flow li img { width: 55px; height: 55px; }
.hp-flow-t { width: 200px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.hp-fe-form { padding: 83px 0 60px; }
.hp-fe-form .hp-form { margin-top: 62.5px; }

/* ---- フォームの部品（06・07・09。入力欄 高さ 52・枠 #E3E7ED・角 4px） ---- */
.hp-form { width: 760px; max-width: 100%; margin: 0 auto; padding: 40px 48px; box-sizing: border-box; border-radius: 6px; background: #fff; }
.hp-form-inputs { display: flex; flex-direction: column; gap: 20px; }
.hp-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp-f--chips, .hp-f[role="radiogroup"] { gap: 8px; }
.hp-f-lb { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.hp-f-lb:has(.hp-req) { min-height: 26.5px; }
.hp-req { padding: 3px 10px; border-radius: 4px; background: var(--hp-red); color: #FDEDEC !important; font-size: 13px; font-weight: 500; line-height: 1.5; }
.hp-f-in { width: 100%; height: 52px; padding: 0 16px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; color: #000; font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-f-in::placeholder { color: var(--hp-sub); opacity: 1; }
.hp-f-in:focus { outline: 2px solid var(--hp-blue); outline-offset: -1px; }
.hp-f-in[readonly] { background: #F5F7FA; }
.hp-f-ta { height: 140px; padding: 14px 16px; resize: vertical; }
.hp-f-ta--s { height: 120px; }
.hp-f-sel { position: relative; display: block; }
.hp-f-sel select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.hp-f-sel select:invalid { color: var(--hp-sub); }
.hp-f-sel::after { content: ""; position: absolute; right: 18px; top: calc(50% - 3px); border: 4px solid transparent; border-top: 7px solid #454B53; pointer-events: none; }
.hp-f-note { color: var(--hp-sub); font-size: 12px; font-weight: 400; line-height: 1.2; }
.hp-f-note2 { color: var(--hp-sub); font-size: 12px; font-weight: 400; line-height: 1.6; }
.hp-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-fchip span { padding: 8px 16px; font-size: 14px; line-height: 1.2; }
.hp-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.hp-check input, .hp-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--hp-navy); }
.hp-agree { display: flex; align-items: flex-start; gap: 10px; color: var(--hp-sub); font-size: 14px; font-weight: 400; line-height: 1.6; cursor: pointer; }
.hp-agree input { margin-top: 3px; width: 16px; height: 16px; }
.hp-agree a { color: var(--hp-navy) !important; text-decoration: underline; }
.hp-fbtn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px 28px; border: 0; border-radius: 4px; background: var(--hp-navy); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.hp-fbtn--orange { background: var(--hp-orange); }
.hp-fbtn--dark { background: var(--hp-dark); }
.hp-fbtn--line { padding: 13px 28px; border: 1px solid var(--hp-navy); background: #fff; color: var(--hp-navy); }
.hp-fbtn--line-orange { border-color: var(--hp-orange); color: #B07D00; }
.hp-fbtn--line-dark { border-color: var(--hp-dark); color: var(--hp-dark); }
.hp-confirm { display: flex; flex-direction: column; gap: 20px; }
.hp-confirm-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-confirm dl { border: 1px solid var(--hp-line); border-radius: 4px; }
.hp-confirm dl > div { display: flex; }
.hp-confirm dl > div + div { border-top: 1px solid var(--hp-line); }
.hp-confirm dt { flex: none; width: 200px; padding: 14px 20px; box-sizing: border-box; background: #F5F7FA; color: var(--hp-sub); font-size: 14px; font-weight: 700; line-height: 1.6; }
.hp-confirm dd { flex: 1; min-width: 0; padding: 14px 20px; font-size: 15px; font-weight: 500; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.hp-confirm-btns { display: flex; gap: 12px; }

/* ---- 09 無料相談（Figma：見出し y=227・入力欄の枠 y=414、幅 1206 の中で フォーム＋右 360） ---- */
.hp-fhead { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 68.8px; padding: 0 16px; text-align: center; }
.hp-fhead h1 { font-size: 32px; font-weight: 700; line-height: 1.4; }
.hp-fhead p { color: var(--hp-sub); font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-fsteps { display: flex; gap: 12px; }
.hp-fsteps li { padding: 8px 18px; border-radius: 4px; background: #fff; color: var(--hp-sub); font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.hp-fsteps li[aria-current="step"] { background: var(--hp-navy); color: #fff; }
.hp-fwrap { display: flex; align-items: flex-start; gap: 40px; max-width: 1206px; margin: 55.7px auto 0; padding: 0 16px 163px; box-sizing: content-box; }
.hp-form--contact { flex: 1; width: auto; min-width: 0; margin: 0; padding-bottom: 45px; }
.hp-form--contact .hp-form-inputs { gap: 24px; }
.hp-form--contact .hp-f[role="radiogroup"] { gap: 10px; }
.hp-frow { display: flex; gap: 16px; }
.hp-frow .hp-f { flex: 1; }
.hp-radios { display: flex; flex-direction: column; gap: 10px; }
.hp-radio { position: relative; display: block; cursor: pointer; }
.hp-radio input { position: absolute; opacity: 0; }
.hp-radio span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-radio span::before { content: ""; flex: none; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid #B3B3B3; border-radius: 50%; background: #fff; }
.hp-radio input:checked + span { border-color: var(--hp-navy); background: var(--hp-pale); }
.hp-radio input:checked + span::before { border: 5px solid var(--hp-navy); }
.hp-radio input:focus-visible + span { outline: 2px solid var(--hp-blue); }
.hp-form--contact .hp-agree { align-items: center; color: #000; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-form--contact .hp-agree input { width: 20px; height: 20px; margin: 0; }
.hp-fside { display: flex; flex-direction: column; gap: 14px; flex: none; width: 360px; padding: 24px; box-sizing: border-box; border-radius: 6px; background: #fff; }
.hp-fside-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-fside ol { display: flex; flex-direction: column; gap: 14px; }
.hp-fside li { min-height: 26px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-fside li span { flex: none; padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 13px; font-weight: 500; line-height: 1.5; }

/* ---- 04・04b 専門家一覧（Figma：見出し y=207・件数のカード y=290・一覧 y=680） ---- */
.hp-band--ex { height: 485px; background-image: url(/assets/img/hojokin/hp-hero-experts.webp); }
.hp-band-h--sub { display: block; top: 97px; height: auto; padding-left: 34px; }
.hp-band-h--sub::before { position: absolute; left: 0; top: 0; height: 60px; }
.hp-band-h--sub h1 { color: #fff; font-size: 25px; font-weight: 700; line-height: 1.3; }
.hp-band-h--sub p { margin: 4.5px 0 0 1.11px; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }
.hp-stats--ex { top: 180px; }
.hp-stats--ex.is-f { right: 22px; } /* Figma 04 の検索結果は幅 1160 */
.hp-ypill span { margin-left: .3em; color: #fff !important; }
.hp-stats-text--b { color: var(--hp-sub); font-weight: 700; }
.hp-stats-col--cond { gap: 16px; }
.hp-ex-body { padding: 85px 0 96px; }
.hp-ex-bar { display: flex; align-items: center; justify-content: space-between; margin-left: 1px; }
.hp-ex-count { display: flex; align-items: baseline; gap: 4px; font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-ex-count { position: relative; top: 2px; }
.hp-ex-count span, .hp-ex-count b { color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; }
.hp-ex-count span { margin-left: 15px; } /* Figma は件数の前に全角の空き */
.hp-sort--ex button[aria-pressed="true"] { border-color: var(--hp-navy); }
.hp-experts--list { margin: 29.5px 0 0 -1px; gap: 15px; }
.hp-ex-empty { margin-top: 29.5px; }
.hp-pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.hp-pager button, .hp-pager span { padding: 8px 14px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; color: #000; font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.hp-pager button[aria-current="page"] { border-color: var(--hp-navy); background: var(--hp-navy); color: #fff; }
.hp-ex-cta { display: flex; align-items: center; justify-content: space-between; width: 1169px; max-width: 100%; height: 145px; margin-top: 74.5px; padding: 0 46px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 6px; background: var(--hp-navy); box-shadow: var(--hp-shadow); }
.hp-ex-cta > div { display: flex; flex-direction: column; gap: 6px; }
.hp-ex-cta * { color: #fff; }
.hp-ex-cta-h { font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-ex-cta-t { font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-ex-cta-btn { display: flex; align-items: center; justify-content: center; width: 250px; padding: 16px 32px; box-sizing: border-box; border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }

/* ---- 05 専門家の詳細（Figma：プロフィール y=191 高さ 280・左の列 786・右の列 340） ---- */
.hp-xp-prof { position: relative; display: flex; align-items: flex-start; height: 280px; margin-top: 32.8px; padding-left: 36px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; }
.hp-xp-photo { flex: none; width: 170px; height: 170px; margin-top: 54px; box-sizing: border-box; border: 1px solid var(--hp-line); border-radius: 100px; object-fit: cover; }
.hp-xp-info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 50px 0 0 25px; }
.hp-xp-name { display: flex; align-items: baseline; gap: 12px; font-size: 32px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.hp-xp-name span { color: var(--hp-sub); font-size: 14px; font-weight: 500; line-height: 1.7; }
.hp-xp-office { font-size: 16px; font-weight: 500; line-height: 1.8; white-space: nowrap; }
.hp-xp-facts { display: flex; gap: 16px; }
.hp-xp-facts > div { display: flex; flex-direction: column; gap: 6px; }
.hp-xp-facts dt { color: var(--hp-sub); font-size: 12px; font-weight: 700; line-height: 1.6; }
.hp-xp-facts dd { font-size: 18px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-xp-vline { position: absolute; left: 660px; top: 39px; width: 1px; height: 200px; background: var(--hp-line); }
.hp-xp-intro { position: absolute; left: 716px; top: 41px; width: 389px; }
.hp-xp-intro h2 { font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-xp-intro p { margin-top: 20.65px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-xp-intro a { display: inline-block; margin-top: 8px; color: var(--hp-navy) !important; font-size: 14px; font-weight: 700; line-height: 1.2; }
.hp-xp-cols { display: flex; align-items: flex-start; gap: 40px; margin-top: 40px; padding-bottom: 87px; }
.hp-xp-main { display: flex; flex-direction: column; gap: 15px; flex: none; width: 786px; }
.hp-xp-box { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 32px; box-sizing: border-box; border-radius: 6px; background: #fff; }
.hp-xp-box--fee { margin-top: 5px; }
.hp-xp-h { font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-xp-tags { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hp-xp-lb { display: flex; align-items: center; gap: 4px; color: var(--hp-sub); font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-xp-lb .ic { color: var(--hp-navy) !important; font-size: 15px; }
.hp-xp-tags > p:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-xp-tags span { padding: 3px 10px; border-radius: 4px; background: var(--hp-line); color: var(--hp-ink) !important; font-size: 13px; font-weight: 500; line-height: 1.5; }
.hp-xp-table { width: 100%; border: 1px solid var(--hp-line); border-radius: 4px; background: #fff; overflow: hidden; }
.hp-xp-table > div { display: flex; }
.hp-xp-table > div + div { border-top: 1px solid var(--hp-line); }
.hp-xp-table dt { display: flex; align-items: center; gap: 6px; flex: none; width: 160px; padding: 14px 20px; box-sizing: border-box; background: #F5F7FA; color: var(--hp-sub); font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.hp-xp-table--fee dt { background: var(--hp-pale); }
.hp-xp-table dt .ic { color: var(--hp-navy) !important; font-size: 17px; }
.hp-xp-table dd { flex: 1; min-width: 0; padding: 14px 20px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-xp-note { font-size: 12px; font-weight: 400; line-height: 1.6; }
.hp-xp-stats { display: flex; gap: 10px; }
.hp-xp-stats p { display: flex; align-items: center; justify-content: center; gap: 10px; width: 200px; height: 61px; border-radius: 4px; background: #F5F7FA; }
.hp-xp-stats .hp-xp-lb { line-height: 1.6; }
.hp-xp-stats b { color: var(--hp-navy) !important; font-size: 22px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.hp-xp-cases li { font-size: 15px; font-weight: 500; line-height: 1.8; }
.hp-xp-box--office { min-height: 400px; }
.hp-xp-btn { display: flex; align-items: center; justify-content: center; align-self: stretch; height: 55px; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-size: 15px; font-weight: 500; line-height: 1.5; }
.hp-xp-side { display: flex; flex-direction: column; gap: 16px; flex: none; width: 340px; }
.hp-xp-consult { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 2px solid var(--hp-navy); border-radius: 6px; background: #fff; }
.hp-xp-consult-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-xp-consult p { color: var(--hp-sub); font-size: 14px; font-weight: 400; line-height: 1.7; }
.hp-xp-iv { display: flex; flex-direction: column; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; overflow: hidden; }
.hp-xp-iv img { width: 100%; height: 170px; object-fit: cover; }
.hp-xp-iv-b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px 20px; }
.hp-xp-iv-chip { padding: 3px 10px; border-radius: 4px; background: var(--hp-navy); color: #fff !important; font-size: 12px; font-weight: 700; line-height: 1.2; }
.hp-xp-iv-t { font-size: 16px; font-weight: 700; line-height: 1.5; }
.hp-xp-iv-s { color: var(--hp-sub) !important; font-size: 12px; font-weight: 400; line-height: 1.6; }
.hp-xp-iv-btn { align-self: stretch; padding: 12px 20px; border: 1px solid var(--hp-navy); border-radius: 4px; color: var(--hp-navy) !important; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; }
.hp-xp-near { padding: 73px 0 81px; background: var(--hp-pale); }
.hp-xp-near-h { position: relative; margin-left: 5px; padding-left: 34px; font-size: 23px; font-weight: 700; line-height: 1.45; }
.hp-xp-near-h::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 35px; border-radius: 2px; background: var(--hp-navy); }
.hp-xp-near .hp-experts--list { margin-top: 47.65px; }

/* ---- 12 インタビュー・コラム一覧（Figma：分類 y=310・一覧 y=390・右の列 340） ---- */
.hp-page--columns { padding-bottom: 99px; }
.hp-cat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 46.7px; }
.hp-cat button { padding: 10px 18px; border: 1px solid #D6DDE6; border-radius: 4px; background: #fff; color: var(--hp-navy); font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.hp-cat button[aria-pressed="true"] { border-color: var(--hp-navy); background: var(--hp-navy); color: #fff; }
.hp-col2 { display: flex; align-items: flex-start; gap: 40px; margin-top: 42.5px; }
.hp-col2 > :first-child { flex: none; width: 786px; min-width: 0; }
.hp-clist { display: flex; flex-direction: column; gap: 16px; }
.hp-ccard { display: flex; align-items: center; gap: 20px; padding: 20px 24px 20px 20px; border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-ccard img { flex: none; width: 180px; height: 120px; border-radius: 4px; object-fit: cover; }
.hp-ccard-b { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.hp-ccard-m { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hp-ccard-m time { color: var(--hp-sub) !important; font-family: 'Roboto', sans-serif !important; font-size: 13px; font-weight: 700; line-height: 1.2; }
.hp-ccard-m span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; line-height: 1.2; }
.hp-ccard-m .hp-ccard-type { background: var(--hp-navy); color: #fff !important; }
.hp-ccard-m .hp-sample { background: #FFF3D6; color: #8A5A00 !important; }
.hp-ccard-t { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-ccard-s { color: var(--hp-sub) !important; font-size: 13px; font-weight: 400; line-height: 1.7; }
.hp-cside { display: flex; flex-direction: column; gap: 16px; flex: none; width: 340px; }
.hp-cside-diag { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 6px; background: var(--hp-navy); }
.hp-cside-diag * { color: #fff; }
.hp-cside-diag-h { font-size: 18px; font-weight: 700; line-height: 1.5; }
.hp-cside-diag-t { font-size: 13px; font-weight: 400; line-height: 1.7; }
.hp-cside-diag-btn { display: flex; justify-content: center; padding: 14px 0; border-radius: 4px; background: var(--hp-yellow); font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-cside-rank { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 6px; background: #fff; }
.hp-cside-rank-h { font-size: 16px; font-weight: 700; line-height: 1.2; }
.hp-cside-rank a { display: flex; align-items: flex-start; gap: 10px; }
.hp-cside-rank b { color: var(--hp-navy) !important; font-family: 'Roboto', sans-serif !important; font-size: 18px; font-weight: 700; line-height: 1.2; }
.hp-cside-rank b.is-top { color: #B07D00 !important; }
.hp-cside-rank span { width: 250px; font-size: 13px; font-weight: 500; line-height: 1.6; }
.hp-cside-notify { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 6px; background: #fff; }
.hp-cside-notify-h { color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-cside-notify-t { font-size: 12px; font-weight: 400; line-height: 1.7; }
.hp-cside-notify-btn { display: flex; justify-content: center; padding: 14px 28px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-page--columns .hp-pager { margin-top: 16px; }
.hp-page--columns .hp-pager button { border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.2; }

/* ---- 11・13 記事（Figma：写真 y=300 1166×360・本文 y=700 幅 786） ---- */
.hp-page--article { padding-bottom: 101px; }
.hp-art-cover { width: 100%; height: 360px; margin-top: 36.7px; border-radius: 6px; object-fit: cover; }
.hp-col2--art { margin-top: 40px; }
.hp-art { display: flex; flex-direction: column; align-items: flex-start; gap: 19px; /* Figma は 20px だが、Figma の文字の枠の高さの丸めの分を詰めて全体の高さを合わせた */ padding: 40px 48px 48px; box-sizing: border-box; border-radius: 6px; background: #fff; }
.hp-art-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-art-chips span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; line-height: 1.2; }
.hp-art-chips span.is-main { background: var(--hp-navy); color: #fff !important; }
.hp-art-chips .hp-sample, .hp-ccard-m .hp-sample, .hp-iv-tags .hp-sample { padding: 3px 8px; background: #FFF3D6; color: #8A5A00 !important; font-size: 11px; line-height: 1.2; }
.hp-art-h { width: 690px; max-width: 100%; font-size: 28px; font-weight: 700; line-height: 1.5; }
.hp-art-by { color: var(--hp-sub); font-size: 13px; font-weight: 400; line-height: 1.2; }
.hp-art-by time { color: inherit; }
.hp-art-p { width: 690px; max-width: 100%; font-size: 15px; font-weight: 400; line-height: 1.9; }
.hp-art-h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.hp-art-h2::before { content: ""; flex: none; width: 6px; height: 28px; background: var(--hp-navy); }
.hp-art-who { color: var(--hp-sub); font-size: 13px; font-weight: 400; line-height: 1.2; } /* インタビューの「インタビュイー」（Figma 11 に無い行。元の記事にあるので出す） */
.hp-art-q { width: 690px; max-width: 100%; color: var(--hp-navy); font-size: 15px; font-weight: 700; line-height: 1.9; }
.hp-art-a { display: flex; flex-direction: column; gap: 12px; width: 690px; max-width: 100%; }
.hp-art-sp { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 12px; font-weight: 700; line-height: 1.2; }
.hp-art-img { width: 690px; max-width: 100%; height: auto; border-radius: 6px; }
.hp-art-note { align-self: stretch; padding: 20px 24px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy); font-size: 17px; font-weight: 700; line-height: 1.6; }
.hp-art-prof { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: none; width: 340px; padding: 24px; box-sizing: border-box; border-radius: 6px; background: #fff; box-shadow: var(--hp-shadow); }
.hp-art-prof-lb { color: var(--hp-sub); font-size: 13px; font-weight: 700; line-height: 1.2; }
.hp-art-prof-head { display: flex; align-items: center; gap: 14px; }
.hp-art-prof-head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.hp-art-prof-head > div { display: flex; flex-direction: column; gap: 2px; }
.hp-art-prof-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.hp-art-prof-office { color: var(--hp-sub); font-size: 13px; font-weight: 400; line-height: 1.2; }
.hp-art-prof-quals { display: flex; gap: 6px; }
.hp-art-prof-quals span { padding: 3px 10px; border-radius: 4px; background: var(--hp-pale); color: var(--hp-navy) !important; font-size: 13px; font-weight: 700; line-height: 1.2; }
.hp-art-prof-t { font-size: 13px; font-weight: 400; line-height: 1.7; }
.hp-art-prof-btn { display: flex; justify-content: center; align-self: stretch; padding: 14px 28px; border: 1px solid var(--hp-navy); border-radius: 4px; background: #fff; color: var(--hp-navy) !important; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hp-art-prof-btn--fill { background: var(--hp-navy); color: #fff !important; }
.hp-art-rel { margin-top: 80px; }
.hp-art-rel h2 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.hp-art-rel-list { display: flex; gap: 24px; margin-top: 27.2px; }
.hp-art-rel-list .hp-iv { width: 372.66px; }

/* ---- 第 2 段のページ：画面が狭いとき（デザインは PC だけ。同じ部品を縦に並べる。左右の余白 16px、押せる所は高さ 44px 以上） ---- */
@media (max-width: 1240px) {
  .hp-hd-nav ul { width: auto; }
}
@media (max-width: 1100px) {
  .hp-band--ex { height: auto; }
  .hp-band-h--sub, .hp-stats--ex { top: auto; }
  .hp-band-h--sub { margin: 28px 0 24px; }
  .hp-stats--ex.is-f { right: auto; }
  .hp-ex-cta { flex-direction: column; align-items: flex-start; gap: 20px; height: auto; padding: 32px 28px; }
  .hp-experts--list { margin-left: 0; }
  .hp-xp-prof { flex-wrap: wrap; height: auto; padding: 28px; gap: 20px 24px; }
  .hp-xp-photo { width: 140px; height: 140px; margin: 0; }
  .hp-xp-info { margin: 0; }
  .hp-xp-vline { display: none; }
  .hp-xp-intro { position: static; width: 100%; padding-top: 20px; border-top: 1px solid var(--hp-line); }
  .hp-xp-cols, .hp-col2, .hp-fwrap { flex-direction: column; align-items: stretch; }
  .hp-xp-main, .hp-xp-side, .hp-col2 > :first-child, .hp-cside, .hp-art-prof, .hp-fside { width: auto; }
  .hp-form--contact { flex: none; }
  .hp-fwrap { padding-bottom: 96px; }
  .hp-merits { flex-direction: column; }
  .hp-merit { width: auto; height: auto; }
  .hp-merit-h { white-space: normal; }
  .hp-price { flex-direction: column; gap: 24px; padding: 32px 28px; }
  .hp-price-sep { width: auto; height: 1px; }
  .hp-art-rel-list { flex-direction: column; }
  .hp-art-rel-list .hp-iv { width: auto; }
}
@media (max-width: 760px) {
  .hp-ph-h { margin-top: 32px; }
  .hp-ph-t { font-size: 22px; }
  .hp-ph-bc li, .hp-ph-bc a { white-space: normal; }
  .hp-narrow { max-width: calc(100% - 32px); }
  .hp-about-role, .hp-about-company, .hp-policy, .hp-done { margin-top: 32px; }
  .hp-about-role { padding: 24px 20px; }
  .hp-dtable > div, .hp-xp-table > div, .hp-confirm dl > div { flex-direction: column; }
  .hp-dtable dt, .hp-xp-table dt, .hp-confirm dt { width: auto; padding: 10px 16px; }
  .hp-dtable dd, .hp-xp-table dd, .hp-confirm dd { padding: 12px 16px 14px; }
  .hp-policy { padding: 32px 20px; }
  .hp-page--about, .hp-page--privacy, .hp-page--thanks { padding-bottom: 64px; }
  .hp-done { padding: 40px 20px; }
  .hp-done-t { font-size: 21px; line-height: 1.4; }
  .hp-done-s { text-align: left; }
  .hp-done-s br { display: none; }
  .hp-done-next { padding: 18px 16px; }
  .hp-done-btns { flex-direction: column; align-self: stretch; }
  .hp-done-btn { width: auto; min-height: 48px; }
  .hp-hero { height: auto; padding: 48px 16px 56px; }
  .hp-hero-h { font-size: 24px; }
  .hp-hero-h span { white-space: normal; }
  .hp-hero-s { font-size: 14px; }
  .hp-hero-s br { display: none; }
  .hp-hero-btn { width: 100%; max-width: 350px; height: 64px; margin-top: 24px; font-size: 17px; }
  .hp-h3, .hp-h3--sub h2 { font-size: 21px; }
  .hp-h3::before { width: 6px; height: 30px; }
  .hp-h3--sub::before { height: 52px; }
  .hp-h3 { padding-left: 20px; }
  .hp-nt-merits, .hp-fe-merits { padding-top: 48px; padding-bottom: 56px; }
  .hp-merits { margin-top: 24px; gap: 16px; }
  .hp-merit { padding: 24px 20px; }
  .hp-nt-faq, .hp-nt-form, .hp-fe-about, .hp-fe-flow, .hp-fe-form { padding-top: 48px; padding-bottom: 56px; }
  .hp-faq { margin-top: 24px; }
  .hp-faq > div { padding: 18px 16px; }
  .hp-nt-form .hp-form, .hp-fe-form .hp-form { margin-top: 24px; }
  .hp-price-rows > div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hp-flow { flex-direction: column; align-items: center; gap: 48px; padding-top: 0; margin-top: 48px; }
  .hp-flow::before { display: none; }
  .hp-flow li { width: 100%; max-width: 340px; height: auto; padding: 36px 20px 28px; }
  .hp-flow-n { top: -17.5px; }
  .hp-form { padding: 28px 16px; }
  .hp-frow { flex-direction: column; gap: 20px; }
  .hp-f-in { height: 52px; font-size: 16px; } /* スマホで入力欄を拡大させない */
  .hp-f-ta { height: 140px; }
  .hp-fchip span { min-height: 44px; box-sizing: border-box; align-items: center; }
  .hp-agree, .hp-check { min-height: 44px; align-items: center; }
  .hp-fbtn { min-height: 52px; }
  .hp-confirm-btns { flex-direction: column-reverse; }
  .hp-fhead { margin-top: 32px; }
  .hp-fhead h1 { font-size: 24px; }
  .hp-fhead p { text-align: left; }
  .hp-fsteps { gap: 8px; }
  .hp-fsteps li { padding: 8px 12px; }
  .hp-fwrap { margin-top: 28px; padding-bottom: 64px; }
  .hp-ex-body { padding: 48px 0 64px; }
  .hp-ex-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hp-sort--ex { width: 100%; }
  .hp-ex-cta-h { font-size: 20px; }
  .hp-ex-cta-btn { width: 100%; }
  .hp-pager button, .hp-pager span { min-width: 44px; min-height: 44px; box-sizing: border-box; }
  .hp-xp-prof { margin-top: 20px; padding: 24px 20px; }
  .hp-xp-photo { width: 110px; height: 110px; }
  .hp-xp-name { flex-wrap: wrap; font-size: 26px; white-space: normal; }
  .hp-xp-office { white-space: normal; }
  .hp-xp-facts { flex-wrap: wrap; gap: 12px 20px; }
  .hp-xp-cols { margin-top: 24px; padding-bottom: 56px; }
  .hp-xp-box { padding: 24px 20px; }
  .hp-xp-box--office { min-height: 0; }
  .hp-xp-stats { flex-direction: column; align-self: stretch; }
  .hp-xp-stats p { width: auto; }
  .hp-xp-near { padding: 48px 0 56px; }
  .hp-xp-near .hp-experts--list { margin-top: 24px; }
  .hp-cat { margin-top: 28px; }
  .hp-cat button { min-height: 44px; }
  .hp-col2 { margin-top: 24px; }
  .hp-ccard { align-items: flex-start; gap: 14px; padding: 16px; }
  .hp-ccard img { width: 104px; height: 78px; }
  .hp-ccard-t { font-size: 16px; }
  .hp-ccard-s { display: none; }
  .hp-page--columns, .hp-page--article { padding-bottom: 64px; }
  .hp-art-cover { height: auto; aspect-ratio: 1166 / 360; margin-top: 24px; }
  .hp-col2--art { margin-top: 24px; }
  .hp-art { padding: 28px 20px 32px; }
  .hp-art-h { font-size: 22px; }
  .hp-art-h br { display: none; }
  .hp-art-h2 { align-items: flex-start; font-size: 18px; line-height: 1.5; }
  .hp-art-h2::before { height: 27px; }
  .hp-art-note { padding: 18px 16px; font-size: 16px; }
  .hp-art-rel { margin-top: 48px; }
  .hp-art-rel h2 { font-size: 21px; }
  .hp-art-rel-list { margin-top: 20px; }
  .hp-iv-all-btn { min-height: 44px; box-sizing: border-box; align-items: center; }
}
@media (max-width: 540px) {
  .hp-xp-prof { flex-direction: column; align-items: flex-start; }
  .hp-xp-iv img { height: auto; aspect-ratio: 2 / 1; }
}

/* 専門家の掲載申込フォームの「顔写真」（ファイルを選ぶ欄）。ボタンと「選択されていません」の文字を、枠の上下の真ん中にそろえる */
.hp-f-in.hp-f-file { padding: 8px 12px; line-height: 34px; cursor: pointer; }
.hp-f-file::file-selector-button { height: 34px; margin: 0 12px 0 0; padding: 0 14px; border: 1px solid var(--hp-line); border-radius: 4px; background: #f3f6fa; color: #000; font: inherit; font-size: 14px; cursor: pointer; }
.hp-f-file::file-selector-button:hover { background: #e6edf6; }
