/* ビズタク フロント（土台）
 * 元はデザイン見本 docs/design-mockups の案F。見本を直したら scratchpad の export_css.py で書き出し直すか、ここを直接直す。
 */
:root {
  --navy: #0B2545; --navy-2: #13355F; --navy-80: #24406A; --ink: #111827; --sub: #5F6B7D; --mute: #9AA3B2;
  --line: #E1E6ED; --pale: #EAF0F7; --pale-2: #F5F8FB; --gold: #C9A227; --silver: #9AA5B1; --bronze: #B07A4A;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Noto Sans JP", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.8; -webkit-font-smoothing: antialiased; font-feature-settings: "palt"; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.num { font-family: Inter, "Noto Sans JP", sans-serif; font-feature-settings: "tnum"; letter-spacing: -.02em; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 46px; padding: 0 24px; border-radius: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; border: 1px solid transparent; transition: background .15s, transform .15s; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-80); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-xl { height: 64px; padding: 0 56px; border-radius: 999px; font-size: 18px; box-shadow: 0 10px 24px rgba(11,37,69,.22); }
.btn-xl:hover { transform: translateY(-2px); }
.btn-xl .chev { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.btn-white { background: #fff; color: var(--navy); }

/* ---------- ヘッダー ---------- */
header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 2px 12px rgba(11,37,69,.08); }
.hd { display: flex; align-items: stretch; height: 76px; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: .1em; color: var(--navy); margin-right: auto; }
.logo i { width: 34px; height: 22px; display: inline-block; background: var(--navy); clip-path: polygon(0 100%, 0 45%, 50% 0, 100% 45%, 100% 100%, 78% 100%, 78% 58%, 50% 34%, 22% 58%, 22% 100%); }
.gnav { display: flex; align-items: stretch; }
.gnav a { display: flex; align-items: center; padding: 0 22px; font-weight: 700; font-size: 14.5px; color: var(--navy); position: relative; }
.gnav a:hover { background: var(--pale-2); }
.gnav a .new { position: absolute; top: 12px; right: 8px; font-size: 9px; font-weight: 900; color: #fff; background: var(--navy); border-radius: 999px; padding: 0 6px; font-family: Inter, sans-serif; }
.hd-right { display: flex; align-items: center; gap: 10px; padding-left: 24px; font-size: 13px; }
.hd-right .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }

/* ヘッダー：最初は白、スクロールすると紺（header.is-solid は下の script が付け外しする） */
header, header .logo, header .logo i, .gnav a, .gnav a .new, .hd-right .plan, .hd-right .btn, .menu-btn { transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
/* 料金プランはメニューと同じ見た目（高さいっぱい・ホバーで背景） */
.hd-right .plan { align-self: stretch; display: flex; align-items: center; padding: 0 22px; margin-left: -24px; color: var(--navy); font-weight: 700; font-size: 14.5px; }
.hd-right .plan:hover { background: var(--pale-2); }
header.is-solid .hd-right .plan { color: #fff; }
header.is-solid .hd-right .plan:hover { background: rgba(255,255,255,.08); }
header.is-solid { background: var(--navy); box-shadow: 0 2px 16px rgba(11,37,69,.3); }
header.is-solid .logo { color: #fff; }
header.is-solid .logo i { background: #fff; }
header.is-solid .gnav a { color: #fff; }
header.is-solid .gnav a:hover { background: rgba(255,255,255,.08); }
header.is-solid .gnav a .new { background: #fff; color: var(--navy); }
header.is-solid .hd-right .btn-navy { background: #fff; color: var(--navy); }
header.is-solid .hd-right .btn-navy:hover { background: var(--pale); }
header.is-solid .hd-right .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
header.is-solid .hd-right .btn-line:hover { border-color: #fff; }
header.is-solid .menu-btn { color: #fff; }
footer { background: var(--navy); color: #9FB0C8; padding: 56px 0 28px; font-size: 13px; }
.ft { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.ft .logo { color: #fff; } .ft .logo i { background: #fff; }
.ft h5 { color: #fff; margin: 0 0 12px; font-size: 13.5px; }
.ft a { display: block; padding: 3px 0; } .ft a:hover { color: #fff; }
.ft p { margin: 12px 0 0; font-size: 12.5px; max-width: 300px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.gnav a.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--navy); border-radius: 3px 3px 0 0; }
header.is-solid .gnav a.on::after { background: #fff; }
.hd-right .plan.on { position: relative; }
.hd-right .plan.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--navy); border-radius: 3px 3px 0 0; }
header.is-solid .hd-right .plan.on::after { background: #fff; }
@media (max-width: 1180px) { .hd-right .plan.on::after { left: 12px; right: 12px; } }
@media (max-width: 1080px) { .hd-right .plan.on::after { left: 9px; right: 9px; } }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--sub); padding: 18px 0; }
.crumb a:hover { color: var(--navy); text-decoration: underline; }
.crumb span { color: var(--mute); }
.kind-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 4px; padding: 2px 10px; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--navy); background: var(--pale); border-radius: 999px; padding: 3px 12px; }
.btn-lg { height: 56px; font-size: 16px; border-radius: 999px; }
.btn-lg .arr { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost.saved { background: var(--pale-2); color: var(--sub); }
@media (max-width: 1080px) { .gnav a.on::after { left: 9px; right: 9px; } }
@media (max-width: 900px) {
  .gnav, .hd-right .btn-line, .hd-right .plan { display: none; }
  .menu-btn { display: flex; }
  .hd { height: 64px; padding: 0 12px 0 20px; }
  .hd-right { padding-left: 0; }
  .wrap { padding: 0 20px; }
  .ft { grid-template-columns: 1fr; }
}
.gnav a { white-space: nowrap; }
@media (max-width: 1180px) { .gnav a, .hd-right .plan { padding: 0 12px; font-size: 13.5px; } }
@media (max-width: 1080px) { .gnav a, .hd-right .plan { padding: 0 9px; font-size: 13px; } }

/* ---------- お役立ち記事のカード ---------- */
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.acards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acard { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.acard:hover { box-shadow: 0 16px 36px rgba(11,37,69,.12); transform: translateY(-3px); }
.acard .ph { aspect-ratio: 16 / 9; background: var(--pale) center / cover; }
.acard .bd { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard .meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sub); }
.acat { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--pale); border-radius: 4px; padding: 1px 8px; white-space: nowrap; }
.acard h3 { margin: 0; font-size: 15.5px; line-height: 1.6; }
.acard:hover h3 { color: var(--navy); }
.acard p { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.alist a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alist .ph { aspect-ratio: 16 / 9; border-radius: 8px; background: var(--pale) center / cover; }
.alist b { display: block; font-size: 14px; line-height: 1.55; }
.alist a:hover b { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.alist small { font-size: 11.5px; color: var(--sub); }
@media (max-width: 1080px) { .acards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .acards, .acards.four { grid-template-columns: minmax(0, 1fr); } }

/* ---------- スマホのメニュー ---------- */
.menu-btn { position: relative; }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .shade { position: absolute; inset: 0; background: rgba(11,37,69,.45); opacity: 0; transition: opacity .25s; }
.drawer.open .shade { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -12px 0 40px rgba(11,37,69,.2); }
.drawer.open .panel { transform: none; }
.dw-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.dw-head .logo { font-size: 20px; margin: 0; color: var(--navy); }
.dw-head .logo i { background: var(--navy); }
.dw-close { width: 44px; height: 44px; border: 0; background: none; color: var(--navy); display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
.dw-close:hover { background: var(--pale-2); }
.dw-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 28px; }
.dw-search { display: flex; align-items: center; gap: 8px; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; color: var(--mute); background: var(--pale-2); }
.dw-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.dw-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.dw-acts .btn { height: 46px; border-radius: 999px; font-size: 14px; padding: 0 10px; }
.dw-sec { margin-top: 22px; }
.dw-sec > small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mute); letter-spacing: .08em; margin-bottom: 6px; }
.dw-link, .dw-sec summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; }
.dw-sec summary::-webkit-details-marker { display: none; }
.dw-link::after { content: "›"; color: var(--mute); font-size: 20px; font-weight: 400; }
.dw-sec summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; flex: none; margin-right: 6px; }
.dw-sec details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.dw-sec summary small { font-size: 11px; font-weight: 700; color: var(--navy); background: var(--pale); border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.dw-sec summary .lbl { display: flex; align-items: center; }
.dw-sub { padding: 10px 4px 16px; border-bottom: 1px solid var(--line); }
.dw-sub .dw-main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.dw-sub .dw-main a { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 0 6px; }
.dw-sub .dw-main a + a { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.dw-sub > span { display: block; font-size: 12px; color: var(--sub); margin-bottom: 8px; }
.dw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dw-chips a { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--pale); color: var(--navy); font-weight: 500; }
.dw-link.is-on, .dw-sec summary.is-on { color: var(--navy); }
.dw-foot { flex: none; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.dw-foot a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: var(--pale-2); border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 14px; }
.dw-foot b { font-family: Inter, sans-serif; background: var(--navy); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
body.dw-lock { overflow: hidden; }
@media (min-width: 901px) { .drawer { display: none; } }

/* hidden を付けた要素は、display を指定したクラスより優先して隠す */
[hidden] { display: none !important; }

/* ---------- ヘッダーの検討リスト ---------- */
.hd-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--navy); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.hd-cart:hover { background: var(--pale-2); }
.hd-cart .cart-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--sub); font-family: Inter, sans-serif; font-size: 11.5px; display: inline-grid; place-items: center; transition: background .2s, color .2s; }
.hd-cart .cart-badge.has { background: #D92D20; color: #fff; }
header.is-solid .hd-cart { color: #fff; }
header.is-solid .hd-cart:hover { background: rgba(255,255,255,.08); }
header.is-solid .hd-cart .cart-badge:not(.has) { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 1280px) { .hd-cart .lbl { display: none; } .hd-cart { padding: 0 8px; } }
/* 検討リストを足した分、ヘッダーが1行に収まるように幅に合わせて詰める */
.hd-right .plan { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1181px) {
  .gnav a, .hd-right .plan { padding: 0 16px; }
  .gnav a.on::after, .hd-right .plan.on::after { left: 16px; right: 16px; }
}
@media (max-width: 1180px) and (min-width: 901px) { .hd { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 1080px) and (min-width: 901px) {
  .hd-right { padding-left: 12px; gap: 8px; }
  .hd-right .btn { padding: 0 14px; }
  .hd .logo { font-size: 20px; }
}
@media (max-width: 1000px) and (min-width: 901px) {
  .gnav a, .hd-right .plan { padding: 0 7px; font-size: 12.5px; }
  .gnav a.on::after, .hd-right .plan.on::after { left: 7px; right: 7px; }
  .hd-right .btn { padding: 0 12px; font-size: 12.5px; }
}
@media (max-width: 900px) {
  .hd-cart { height: 44px; padding: 0 6px; }
  .hd-cart .cart-badge { position: absolute; top: 2px; right: -2px; min-width: 18px; height: 18px; font-size: 10.5px; padding: 0 5px; }
  .hd-cart .cart-badge:not(.has) { display: none; }
}

/* ---------- 追ってくる資料請求バー ---------- */
.fbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 0 16px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; }
.fbar.is-visible { opacity: 1; transform: none; }
.fbar.is-visible.is-down { opacity: 0; transform: translateY(16px); }
.fbar.is-visible:not(.is-down) .fbar-in { pointer-events: auto; }
.fbar-in { max-width: 920px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 10px 10px 28px; box-shadow: 0 16px 40px rgba(11,37,69,.35); }
.fbar-txt { margin: 0; font-size: 14px; line-height: 1.5; }
.fbar-txt span { color: #C9D6EA; }
.fbar-txt b { color: #fff; }
.fbar-txt span b { font-family: Inter, sans-serif; font-size: 17px; margin: 0 2px; }
.fbar-acts { display: flex; gap: 8px; flex: none; }
.fbar-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s; }
.fbar-btn:hover { transform: translateY(-1px); }
.fbar-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.fbar-add { height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.fbar-add.is-added { background: rgba(255,255,255,.12); }
@media (max-width: 760px) {
  .fbar { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .fbar-in { border-radius: 16px; padding: 10px 10px 10px 16px; gap: 10px; }
  .fbar-txt { font-size: 12px; }
  .fbar-txt > span { display: block; }
  .fbar-btn { height: 42px; padding: 0 14px; font-size: 13px; gap: 6px; }
  .fbar-add { height: 42px; padding: 0 10px; font-size: 12px; }
  .fbar[data-mode="detail"] .fbar-txt { display: none; }
  .fbar[data-mode="detail"] .fbar-acts { width: 100%; }
  .fbar[data-mode="detail"] .fbar-btn { flex: 1; justify-content: center; }
}

/* ---------- 追加ボタン ---------- */
[data-cart-id].is-added { background: var(--pale-2); color: var(--navy); border-color: var(--line); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 96px; transform: translate(-50%, 12px); background: #111827; color: #fff; font-size: 13.5px; padding: 10px 18px; border-radius: 999px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 入力すると候補が出る検索 ---------- */
.sg-wrap { position: relative; }
.sg-box { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(11,37,69,.16); padding: 6px; display: none; text-align: left; max-height: 360px; overflow-y: auto; }
.sg-box.open { display: block; }
.sg-box small { display: block; font-size: 11px; font-weight: 700; color: var(--mute); padding: 8px 10px 4px; letter-spacing: .06em; }
.sg-box a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.sg-box a:hover, .sg-box a.on { background: var(--pale-2); color: var(--navy); }
.sg-box a em { font-style: normal; font-size: 11px; color: var(--navy); background: var(--pale); border-radius: 4px; padding: 0 6px; margin-left: auto; white-space: nowrap; }
.sg-box a mark { background: none; color: var(--navy); font-weight: 700; }
.sg-box .sg-none { padding: 12px 10px; font-size: 13px; color: var(--sub); }

/* ---------- 再掲載のお知らせ（掲載終了の案件） ---------- */
.ended-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: #6B7280; border-radius: 4px; padding: 2px 8px; }
.btn-notify { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.btn-notify:hover { background: var(--pale-2); }
.btn-notify.is-done { border-color: var(--line); background: var(--pale-2); color: var(--sub); cursor: default; }
.nmodal { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; padding: 16px; }
.nmodal.open { display: flex; }
.nmodal .shade { position: absolute; inset: 0; background: rgba(11,37,69,.5); }
.nmodal .box { position: relative; width: min(460px, 100%); background: #fff; border-radius: 18px; padding: 30px 28px 26px; box-shadow: 0 24px 60px rgba(11,37,69,.3); }
.nmodal .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; color: var(--sub); cursor: pointer; border-radius: 8px; font-size: 22px; }
.nmodal .x:hover { background: var(--pale-2); }
.nmodal .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--pale); color: var(--navy); display: grid; place-items: center; margin-bottom: 12px; }
.nmodal h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.nmodal p { margin: 0 0 14px; font-size: 14px; color: #374151; line-height: 1.8; }
.nmodal p b { color: var(--ink); }
.nmodal input[type=email] { width: 100%; height: 50px; border: 1px solid #CBD5E1; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; }
.nmodal input[type=email]:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,37,69,.12); }
.nmodal label.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 12px 0 16px; color: #374151; cursor: pointer; }
.nmodal label.chk input { width: 17px; height: 17px; accent-color: var(--navy); margin-top: 2px; }
.nmodal .go { width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.nmodal .err { color: #B42318; font-size: 12.5px; margin: 6px 0 0; display: none; }
.nmodal .note { font-size: 12px; color: var(--sub); margin: 14px 0 0; }
.nmodal .note a { color: var(--navy); font-weight: 700; }

/* ---------- 最近見た案件 ---------- */
.hist { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 18px; }
.hist h4 { margin: 0 0 10px; font-size: 14px; color: var(--navy); display: flex; justify-content: space-between; align-items: baseline; }
.hist h4 a { font-size: 12px; font-weight: 700; }
.hist-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.hist-list a:first-child { border-top: 0; }
.hist-list span.ph { aspect-ratio: 16 / 9; border-radius: 6px; background: var(--pale) center / cover; }
.hist-list a:hover b { color: var(--navy); text-decoration: underline; }
.hist-list b { font-weight: 500; }
