@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Manrope:wght@500;600;700;800&display=swap');

/* ============================================================
   Kakehashi プレミアム版  共通スタイル
   一流SaaS基準 / 白基調 × ネイビー × ティール（PeopleX寄り）
   ============================================================ */

:root {
  --navy:        #0d2340;
  --navy-700:    #17385f;
  --navy-50:     #eef3fa;
  --teal:        #0fb5a4;
  --teal-600:    #0a9587;
  --teal-50:     #e6f8f5;
  --accent:      #f4a23b;
  --ink:         #16202e;
  --ink-soft:    #52627a;
  --ink-mute:    #8a97ab;
  --line:        #e7ecf3;
  --line-2:      #eef2f8;
  --bg:          #ffffff;
  --bg-soft:     #f6f9fc;
  --white:       #ffffff;
  --ok:          #1faa6c;
  --warn:        #d9822b;
  --danger:      #d6455d;
  --radius:      16px;
  --radius-sm:   12px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 2px rgba(13,35,64,.04), 0 2px 6px rgba(13,35,64,.05);
  --shadow:      0 8px 30px rgba(13,35,64,.08);
  --shadow-lg:   0 24px 60px rgba(13,35,64,.14);
  --shadow-teal: 0 12px 30px rgba(15,181,164,.28);
  --maxw:        1200px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Manrope", "Zen Kaku Gothic New", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.38; font-weight: 700; letter-spacing: 0; }
/* 見出しのみバランス折り返し（和文はフレーズ単位の .nb で制御） */
h1, h2, .section-title, .hero-pro h1, .cta-band h2 { text-wrap: balance; }
p { margin: 0; }

.container { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
.section { padding: 96px 0; }
.center { text-align: center; }
.mute { color: var(--ink-mute); }
.soft { color: var(--ink-soft); }

/* 改行の整流ヘルパー */
.nb { display: inline-block; }             /* フレーズ単位で折り返し（語中で割れない） */
.br-pc { display: inline; }
.br-sp { display: none; }
@media (max-width: 720px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }
}

/* ---------- モック注記バー ---------- */
.mockbar {
  background: repeating-linear-gradient(135deg,#fff5e6,#fff5e6 14px,#fdedd5 14px,#fdedd5 28px);
  color: #8a5a1a;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid #f0dcbd;
  letter-spacing: .04em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand small { display:block; font-size: 10px; color: var(--ink-mute); font-weight: 600; letter-spacing:.08em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .03em;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(17,179,163,.32); }
.btn-primary:hover { background: var(--teal-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c7d4e6; }
.btn-line { background: transparent; color: var(--teal-600); border-color: var(--teal); }
.btn-line:hover { background: var(--teal-50); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- バッジ / チップ ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 4px 11px; border-radius: 999px;
  background: var(--navy-50); color: var(--navy-700);
}
.badge-teal { background: var(--teal-50); color: var(--teal-600); }
.badge-accent { background: #fef0dc; color: #b06d18; }
.badge-ok { background: #e4f6ec; color: var(--ok); }
.badge-jp { background: #eef0ff; color: #4a52c9; }
.chip {
  display: inline-flex; align-items: center; gap:6px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}

/* ---------- 候補者アバター（イニシャル） ---------- */
.avatar {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px;
  letter-spacing: .04em; box-shadow: var(--shadow-sm);
}
.av-1 { background: linear-gradient(135deg,#11b3a3,#0e7d8f); }
.av-2 { background: linear-gradient(135deg,#5b7cf0,#3a55c9); }
.av-3 { background: linear-gradient(135deg,#f4a23b,#e0792a); }
.av-4 { background: linear-gradient(135deg,#e06aa0,#b8458a); }
.av-5 { background: linear-gradient(135deg,#46b06a,#2c8d56); }
.av-6 { background: linear-gradient(135deg,#7a6cf0,#5a45c9); }

/* ============================================================
   トップページ
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(17,179,163,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(91,124,240,.12), transparent 55%),
    linear-gradient(180deg, #fff, var(--bg));
  padding: 84px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.25; color: var(--navy); letter-spacing: .01em; }
.hero h1 .hl { color: var(--teal-600); }
.hero .lead { margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 30em; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-mute); font-size: 13px; }
.hero-meta b { color: var(--navy); font-size: 18px; }

/* ヒーロー内の擬似検索カード */
.hero-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 22px; border: 1px solid var(--line);
}
.hero-card .searchbox {
  display: flex; gap: 8px; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 8px 8px 14px; align-items: center; background: var(--bg);
}
.hero-card .searchbox input { border: 0; background: transparent; flex: 1; font-size: 15px; font-family: inherit; outline: none; }
.hero-card .mini-cards { margin-top: 16px; display: grid; gap: 10px; }
.mini-card {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.mini-card .av-sm { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; }
.mini-card .mc-body { flex: 1; min-width: 0; }
.mini-card .mc-body b { font-size: 14px; color: var(--navy); }
.mini-card .mc-body span { display: block; font-size: 12px; color: var(--ink-mute); }

/* 業種 / フロー */
.industry-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 34px; }
.industry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 12px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe6e2; }
.industry .ic { font-size: 26px; }
.industry b { display: block; margin-top: 10px; font-size: 14px; color: var(--navy); }

/* ---- オリジナル・ラインアイコン（絵文字を置換） ---- */
.ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; stroke: currentColor; }
.ico-chip {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 14px;
  display: grid; place-items: center; color: var(--teal-600);
  background: linear-gradient(150deg, var(--teal-50), #eef4ff);
  border: 1px solid #dbeeeb;
}
.ico-chip .ico { width: 26px; height: 26px; }
.industry:hover .ico-chip { color: var(--navy); }

/* ---- 選ばれる理由（価値訴求） ---- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.why-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(17,179,163,.10), transparent 70%);
}
.why-card .ico-chip { margin: 0; }
.why-card h3 { font-size: 18px; color: var(--navy); margin-top: 16px; }
.why-card p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; line-height: 1.85; }
.why-card .pt { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.why-card .pt span { font-size: 13px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.why-card .pt span::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px var(--teal-50);
}

/* ---- 信頼ストリップ（対応国・言語など） ---- */
.trust-strip {
  margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.trust-strip .tchip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; box-shadow: var(--shadow-sm);
}
.trust-strip .tchip .ico { width: 18px; height: 18px; color: var(--teal-600); }

.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 34px; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; box-shadow: var(--shadow-sm);
}
.flow-step .num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy-50); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.flow-step h4 { color: var(--navy); font-size: 16px; }
.flow-step p { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-mute); font-size: 18px; z-index: 2;
}

.eyebrow { color: var(--teal-600); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section-title { font-size: 30px; color: var(--navy); margin-top: 8px; }
.section-sub { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price-card.feat { border-color: var(--teal); box-shadow: 0 12px 32px rgba(17,179,163,.18); position: relative; }
.price-card.feat::before {
  content: "人気"; position: absolute; top: -12px; right: 22px;
  background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.price-card h3 { color: var(--navy); font-size: 18px; }
.price-card .price { margin: 12px 0; font-size: 34px; font-weight: 800; color: var(--navy); }
.price-card .price small { font-size: 14px; color: var(--ink-mute); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 6px 0 22px; display: grid; gap: 10px; }
.price-card li { font-size: 14px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 800; }
.price-card .btn { margin-top: auto; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #c8d3e6; padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8fa3c4; }
.footer-note { margin-top: 14px; font-size: 12px; color: #8fa3c4; max-width: 30em; }
.footer-links { display: flex; gap: 40px; }
.footer-col h5 { color: #fff; font-size: 13px; margin: 0 0 10px; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13px; color: #aab9d4; margin-bottom: 7px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 34px; border-top: 1px solid #243a5e; padding-top: 18px; font-size: 12px; color: #7e93b6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   検索 + 一覧
   ============================================================ */
.search-hero { background: linear-gradient(180deg,#fff,var(--bg)); border-bottom: 1px solid var(--line); padding: 30px 0; }
.search-hero h1 { font-size: 24px; color: var(--navy); }
.search-bar {
  margin-top: 16px; display: flex; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 8px 8px 8px 18px; align-items: center; box-shadow: var(--shadow);
}
.search-bar input {
  border: 0; background: transparent; flex: 1; font-size: 16px; font-family: inherit; outline: none; color: var(--ink);
}
.search-hint { margin-top: 10px; font-size: 12px; color: var(--ink-mute); }
.search-hint b { color: var(--teal-600); cursor: pointer; }

.search-layout { display: grid; grid-template-columns: 268px 1fr; gap: 28px; align-items: start; padding: 30px 0 70px; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 86px;
}
.filters h3 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group > label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: .04em; }
.filter-group select {
  width: 100%; font-family: inherit; font-size: 13px; color: var(--ink);
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); outline: none;
}
.filter-group select:focus { border-color: var(--teal); }
.filters .btn { margin-top: 14px; }

.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.results-head .count b { color: var(--navy); font-size: 20px; }
.results-head .count { color: var(--ink-soft); font-size: 14px; }
.sort select { font-family: inherit; font-size: 13px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; }

.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.cand-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.cand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdcec; }
.cand-top { display: flex; gap: 14px; align-items: center; }
.cand-id { flex: 1; min-width: 0; }
.cand-id .name { font-size: 17px; font-weight: 800; color: var(--navy); }
.cand-id .sub { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.cand-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.cand-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.cand-meta .row { font-size: 13px; }
.cand-meta .row .k { color: var(--ink-mute); font-size: 11px; display: block; }
.cand-meta .row .v { color: var(--ink); font-weight: 600; }
.cand-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.cand-foot .start { font-size: 12px; color: var(--ink-soft); }
.cand-foot .start b { color: var(--teal-600); }

.empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-mute);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty .ic { font-size: 40px; }

/* ============================================================
   プロフィール詳細
   ============================================================ */
.profile-wrap { padding: 30px 0 70px; }
.breadcrumb { font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--teal-600); }
.profile-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }

.pf-head {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.pf-head .avatar { width: 76px; height: 76px; border-radius: 20px; font-size: 27px; }
.pf-head .h-body { flex: 1; min-width: 200px; }
.pf-head .h-body h1 { font-size: 26px; color: var(--navy); }
.pf-head .h-body .meta { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.pf-head .h-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.pf-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); margin-top: 18px; position: relative;
}
.pf-block h3 { font-size: 16px; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pf-block h3 .ic { color: var(--teal-600); }
.kv { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 24px; }
.kv .row .k { font-size: 12px; color: var(--ink-mute); }
.kv .row .v { font-size: 15px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.timeline { display: grid; gap: 14px; }
.timeline .item { padding-left: 20px; border-left: 2px solid var(--teal-50); position: relative; }
.timeline .item::before { content:""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.timeline .item .when { font-size: 12px; color: var(--ink-mute); }
.timeline .item .what { font-size: 14px; color: var(--ink); font-weight: 600; }
.timeline .item .desc { font-size: 13px; color: var(--ink-soft); }
.self-intro { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* ロック表現 */
.lockable.locked .lock-content { filter: blur(7px); pointer-events: none; user-select: none; opacity: .65; }
.lock-overlay {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.92) 55%);
  border-radius: var(--radius);
}
.lockable.locked .lock-overlay { display: flex; }
.lock-overlay .ic { font-size: 30px; }
.lock-overlay p { font-size: 14px; color: var(--ink-soft); max-width: 24em; }
.lock-overlay .btn { margin-top: 6px; }

/* サイド：CTAパネル */
.cta-panel {
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff;
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 86px;
}
.cta-panel h3 { font-size: 18px; }
.cta-panel p { font-size: 13px; color: #c4d2e8; margin-top: 8px; }
.cta-panel .actions { display: grid; gap: 10px; margin-top: 18px; }
.cta-panel .lock-note { margin-top: 14px; font-size: 12px; color: #9fb2d2; display: flex; gap: 6px; align-items: flex-start; }
.cta-panel .price-line { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2a416a; font-size: 13px; color: #c4d2e8; }
.cta-panel .price-line b { color: #fff; font-size: 20px; }

/* ============================================================
   モーダル
   ============================================================ */
.modal-back {
  position: fixed; inset: 0; background: rgba(15,39,72,.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 80; padding: 20px;
}
.modal-back.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: min(480px, 100%); box-shadow: var(--shadow-lg);
  overflow: hidden; animation: pop .2s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-head h3 { font-size: 18px; color: var(--navy); }
.modal-head .x { cursor: pointer; color: var(--ink-mute); font-size: 22px; line-height: 1; background: none; border: 0; }
.modal-body { padding: 22px 24px; }
.modal-body p { font-size: 14px; color: var(--ink-soft); }
.plan-list { display: grid; gap: 10px; margin: 16px 0; }
.plan-opt {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.plan-opt:hover, .plan-opt.sel { border-color: var(--teal); background: var(--teal-50); }
.plan-opt .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink-mute); flex: none; }
.plan-opt.sel .radio { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px #fff; }
.plan-opt .po-body { flex: 1; }
.plan-opt .po-body b { font-size: 14px; color: var(--navy); }
.plan-opt .po-body span { display: block; font-size: 12px; color: var(--ink-mute); }
.plan-opt .po-price { font-weight: 800; color: var(--navy); }
.modal-foot { padding: 0 24px 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 14px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); outline: none; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.modal .note-mock { font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 12px; }

/* ============================================================
   管理画面
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--navy); color: #c8d3e6; padding: 22px 16px; }
.admin-side .brand { color: #fff; margin-bottom: 26px; }
.admin-side .brand small { color: #8fa3c4; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: #aab9d4;
  padding: 10px 12px; border-radius: 10px; font-weight: 600;
}
.admin-nav a:hover { background: #1b3358; color: #fff; }
.admin-nav a.active { background: var(--teal); color: #fff; }
.admin-nav .sep { border-top: 1px solid #243a5e; margin: 14px 6px; }
.admin-main { padding: 26px 30px; background: var(--bg); }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 22px; color: var(--navy); }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.stat .k { font-size: 12px; color: var(--ink-mute); }
.stat .v { font-size: 26px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.stat .v small { font-size: 13px; color: var(--ok); font-weight: 700; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.panel-head h2 { font-size: 16px; color: var(--navy); }
table.adt { width: 100%; border-collapse: collapse; }
table.adt th, table.adt td { text-align: left; padding: 13px 20px; font-size: 13px; border-bottom: 1px solid var(--line); }
table.adt th { color: var(--ink-mute); font-weight: 700; background: #fafcff; font-size: 12px; letter-spacing: .04em; }
table.adt tr:last-child td { border-bottom: 0; }
table.adt td .av-sm { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.td-cand { display: flex; align-items: center; gap: 10px; }
.td-cand b { color: var(--navy); }
.status-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.st-public { background: #e4f6ec; color: var(--ok); }
.st-private { background: #f0f2f6; color: var(--ink-mute); }
.st-review { background: #fef0dc; color: var(--warn); }

/* トグル（チェックボックスはフォーカス可能なまま視覚的に隠す） */
.toggle { position: relative; width: 42px; height: 24px; display: inline-block; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle .track { position: absolute; inset: 0; background: #cdd6e4; border-radius: 999px; transition: background .2s; pointer-events: none; }
.toggle .thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: var(--shadow-sm); pointer-events: none; }
.toggle input:checked ~ .track { background: var(--teal); }
.toggle input:checked ~ .thumb { transform: translateX(18px); }
.toggle input:focus-visible ~ .track { outline: 2px solid var(--navy); outline-offset: 2px; }

/* 管理：登録フォーム */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.upload-box {
  border: 2px dashed var(--line); border-radius: 12px; padding: 26px; text-align: center; color: var(--ink-mute);
  background: var(--bg); font-size: 13px; cursor: pointer;
}
.upload-box .ic { font-size: 28px; display: block; margin-bottom: 6px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .profile-grid { grid-template-columns: 1fr; }
  .cta-panel { position: static; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .industry-grid { grid-template-columns: repeat(3,1fr); }
  .flow { grid-template-columns: repeat(2,1fr); }
  .flow-step:not(:last-child)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  /* 管理サイドナビ：モバイルでは上部の横スクロールバーに */
  .admin-side { padding: 12px 16px; }
  .admin-side .brand { margin-bottom: 12px; }
  .admin-nav { display: flex; overflow-x: auto; gap: 6px; }
  .admin-nav a { white-space: nowrap; }
  .admin-nav .sep { display: none; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  /* ナビはモバイルでも横スクロールで表示（隠さない） */
  .nav { height: auto; flex-wrap: wrap; gap: 8px 14px; padding: 10px 0; }
  .nav-links { width: 100%; margin-left: 0; overflow-x: auto; gap: 14px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .nav-links a { white-space: nowrap; font-size: 13px; }
  .nav-links .btn { display: none; }
  .hero h1 { font-size: 34px; }
  .section { padding: 50px 0; }
  .cards { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   アクセシビリティ：フォーカス表示（キーボード操作時のみ）
   ============================================================ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.lang-pill:focus-visible,
.plan-opt:focus-visible,
.upload-box:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 6px;
}
.upload-box { cursor: pointer; }

/* ============================================================
   v2 追加：新バッジ / 言語切替 / 登録ページ / 企業マイページ
   ============================================================ */

/* 付加価値バッジ */
.badge-trained { background: #eaf7ef; color: #1c9e63; }
.badge-housing { background: #eef2ff; color: #4a52c9; }
.badge-lang    { background: #f3eefe; color: #7a45c9; }
.badge-soon    { background: #f0f2f6; color: var(--ink-mute); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* 記入率メーター */
.fill-badge { flex: none; text-align: center; line-height: 1.1; }
.fill-badge .fill-pct { display: block; font-size: 18px; font-weight: 800; color: var(--teal-600); }
.fill-badge .fill-pct small { font-size: 11px; font-weight: 700; }
.fill-badge .fill-cap { font-size: 10px; color: var(--ink-mute); letter-spacing: .04em; }
.fill-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fill-bar > span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--accent)); transition: width .5s ease; }
.fill-bar.lg { height: 10px; }
.fill-row .fill-label { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.fill-row .fill-label b { color: var(--teal-600); font-size: 16px; }

/* 法務注記 */
.legal-note {
  font-size: 11px; color: var(--ink-mute); line-height: 1.7;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}

/* ---------- 言語切替ピル ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lang-switch .globe { font-size: 15px; margin-right: 2px; }
.lang-pill {
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
  transition: all .15s ease; font-family: inherit;
}
.lang-pill:hover { border-color: var(--teal); color: var(--teal-600); }
.lang-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-pill.soon { opacity: .8; }
.lang-soon-note {
  font-size: 12px; color: var(--warn); margin-left: 8px; display: none;
}

/* 登録ページ：記入率の追従バー */
#fill-sticky {
  position: sticky; top: 66px; z-index: 30;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.fill-sticky-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fill-sticky-label { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.fill-sticky-label b { color: var(--teal-600); font-size: 17px; }
.upload-box.uploaded { border-style: solid; border-color: var(--teal); background: var(--teal-50); color: var(--teal-600); }

/* ---------- 登録ページ（外国人本人） ---------- */
.reg-hero {
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(17,179,163,.16), transparent 60%),
    linear-gradient(180deg,#fff,var(--bg));
  border-bottom: 1px solid var(--line); padding: 28px 0;
}
.reg-hero h1 { font-size: 26px; color: var(--navy); }
.reg-hero p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; max-width: 40em; }
.reg-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.reg-step {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.reg-step b { color: var(--teal-600); }
.reg-wrap { padding: 30px 0 70px; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.reg-grid .full { grid-column: 1 / -1; }
.reg-section-title {
  grid-column: 1 / -1; font-size: 15px; font-weight: 800; color: var(--navy);
  border-left: 3px solid var(--teal); padding-left: 10px; margin: 8px 0 2px;
}
.opt-card {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg);
}
.opt-card input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); }
.opt-card .oc-body b { font-size: 14px; color: var(--navy); }
.opt-card .oc-body span { display: block; font-size: 12px; color: var(--ink-mute); }

/* ---------- 企業マイページ ---------- */
.company-wrap { padding: 26px 0 70px; }
.company-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.company-head h1 { font-size: 24px; color: var(--navy); }
.company-head .who { font-size: 13px; color: var(--ink-mute); }
.company-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }

.plan-status {
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff;
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.plan-status .label { font-size: 12px; color: #9fb2d2; letter-spacing: .06em; }
.plan-status h3 { font-size: 20px; margin: 4px 0 12px; }
.plan-status .pmeta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.plan-status .pmeta .k { font-size: 11px; color: #9fb2d2; }
.plan-status .pmeta .v { font-size: 16px; font-weight: 800; margin-top: 2px; }
.plan-status .pmeta .v small { font-size: 11px; font-weight: 600; color: #c4d2e8; }

.mini-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.mini-stat { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; box-shadow:var(--shadow-sm); }
.mini-stat .k { font-size: 11px; color: var(--ink-mute); }
.mini-stat .v { font-size: 22px; font-weight: 800; color: var(--navy); }

.meet-status { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.st-apply  { background:#eef2ff; color:#4a52c9; }
.st-adjust { background:#fef0dc; color:var(--warn); }
.st-fixed  { background:#e6f7f5; color:var(--teal-600); }
.st-hired  { background:#e4f6ec; color:var(--ok); }

@media (max-width: 980px) {
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .plan-status .pmeta { grid-template-columns: repeat(3,1fr); }
}

/* ============================================================
   ★ PRO LAYER ― 一流SaaS化（モーション / ヒーロー / 帯 / polish）
   ============================================================ */

/* ---- スクロールリベール（motion.js が .is-in を付与） ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .floaty { animation: none !important; }
}

/* ---- 見出しの上品化 ---- */
.eyebrow { color: var(--teal-600); font-weight: 800; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); color: var(--navy); margin-top: 12px; line-height: 1.3; font-weight: 900; }
.section-sub { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.section.tint { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- ヘッダー：スクロールで縮む＆影 ---- */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,35,64,.07); background: rgba(255,255,255,.92); }
.site-header .nav { transition: height .25s ease; }
.site-header.scrolled .nav { height: 60px; }

/* ---- ボタン：微シャイン & 上質シャドウ ---- */
.btn { position: relative; overflow: hidden; letter-spacing: .04em; }
.btn-primary { background: linear-gradient(135deg, var(--teal), #0aa091); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: linear-gradient(135deg, #12c1b0, var(--teal-600)); transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 999px; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-primary:hover::after, .btn-navy:hover::after { animation: shine .8s ease; }
@keyframes shine { from { left: -120%; } to { left: 130%; } }

/* ---- プレミアム・ヒーロー ---- */
.hero-pro { position: relative; overflow: hidden; padding: 92px 0 84px; background: var(--bg); }
.hero-pro .mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0; pointer-events: none; filter: blur(10px);
  background:
    radial-gradient(420px 320px at 78% 12%, rgba(15,181,164,.22), transparent 60%),
    radial-gradient(460px 360px at 12% 8%, rgba(91,124,240,.16), transparent 62%),
    radial-gradient(520px 420px at 60% 78%, rgba(15,181,164,.10), transparent 60%);
  animation: meshFloat 16s ease-in-out infinite alternate;
}
@keyframes meshFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,-18px,0) scale(1.05); } }
.hero-pro .container { position: relative; z-index: 1; }
.hero-pro-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero-pro h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.16; color: var(--navy); font-weight: 900; letter-spacing: .005em; }
.hero-pro h1 .hl { position: relative; color: var(--teal-600); white-space: nowrap; }
.hero-pro h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--teal-50); z-index: -1; border-radius: 4px; }
.hero-pro .lead { margin-top: 24px; font-size: 17px; color: var(--ink-soft); max-width: 30em; line-height: 1.95; }
.hero-pro .hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ヒーロー統計（カウントアップ） */
.hero-stats { margin-top: 30px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats .st .n { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-stats .st .n small { font-size: 15px; }
.hero-stats .st .l { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.hero-stats .st + .st { padding-left: 30px; border-left: 1px solid var(--line); }

/* ヒーロー右：フロートするプレビューカード */
.hero-panel { position: relative; }
.hero-panel .glass {
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px;
}
.hero-panel .g-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; }
.hero-panel .g-head .search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink-soft); }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.f2 { animation-delay: 1.2s; }
.floaty.f3 { animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.mini-card { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.mini-card + .mini-card { margin-top: 10px; }
.mini-card .mc-body { flex: 1; min-width: 0; }
.mini-card .mc-body b { font-size: 14px; color: var(--navy); }
.mini-card .mc-body span { display: block; font-size: 12px; color: var(--ink-mute); }
.hero-panel .float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.hero-panel .fb-1 { top: -18px; right: 18px; }
.hero-panel .fb-2 { bottom: -16px; left: -14px; }
.hero-panel .float-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,170,108,.16); }

/* ---- ロゴ/信頼マーキー ---- */
.marquee { overflow: hidden; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track .m-item { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-track .m-item .ico { width: 20px; height: 20px; color: var(--teal-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 数字バンド ---- */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-band .sb { text-align: center; }
.stat-band .sb .n { font-family: var(--font-num); font-size: clamp(30px,4vw,44px); font-weight: 800; color: var(--navy); line-height: 1; }
.stat-band .sb .n small { font-size: 18px; color: var(--teal-600); }
.stat-band .sb .l { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-600); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }

/* ---- CTAバンド ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 80% -20%, rgba(15,181,164,.5), transparent 60%), linear-gradient(135deg, var(--navy), #12406b); box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: clamp(24px,3vw,34px); font-weight: 900; }
.cta-band p { margin-top: 14px; color: #c4d6ea; font-size: 15px; }
.cta-band .hero-cta { margin-top: 26px; justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---- カード/バッジの微調整（全体を上質に） ---- */
.industry, .why-card, .price-card, .cand-card, .flow-step, .pf-block, .filters, .form-card { border-color: var(--line); }
.cand-card:hover, .industry:hover, .why-card:hover { box-shadow: var(--shadow); }
.badge { font-weight: 700; }
.hero { display: none; } /* 旧ヒーローは非表示（.hero-pro を使用） */

/* ---- レスポンシブ ---- */
@media (max-width: 980px) {
  .hero-pro-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-band { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  .cta-band { padding: 40px 24px; }
  .hero-stats .st + .st { padding-left: 20px; }
}

/* ============================================================
   ★ CodeXレビュー反映（polish / a11y / responsive）
   ============================================================ */
/* モックバーを落ち着いた中立トーンに（premium感を下げない） */
.mockbar { background: #f4f6fa; color: #6b7688; border-bottom: 1px solid var(--line); }

/* ナビ アクティブ表示を明確化 */
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--teal); }

/* 入力フォーカスリング（フォームの一貫性） */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.filter-group select:focus-visible, .search-bar input:focus-visible {
  border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); outline: none;
}

/* タッチターゲット最小サイズ */
.modal-head .x { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border-radius: 10px; }
.modal-head .x:hover { background: var(--bg-soft); }
.lang-pill { min-height: 40px; }
.lang-pill[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* 人気の検索チップ（button化しても見た目維持） */
.search-hint button.samp { font: inherit; color: var(--teal-600); font-weight: 700; background: none; border: 0; padding: 0 2px; cursor: pointer; }
.search-hint button.samp:hover { text-decoration: underline; }

/* マーキーはホバー/フォーカスで一時停止 */
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

/* 記入率バー：モバイルでは固定しない（ヘッダー折返しでの被り回避） */
@media (max-width: 620px) {
  .nb { display: inline; }                 /* 和文の細切れ改行を防ぐ */
  #fill-sticky { position: static; }
}
/* 企業マイページ：中列内のカードは1列、プラン指標も詰まり回避 */
@media (max-width: 900px) {
  .company-grid .cards { grid-template-columns: 1fr; }
  .plan-status .pmeta { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
