/* ============================================================
   外国人材採用支援サービス モック  共通スタイル
   B2B採用SaaS調 / ネイビー × ティール
   ============================================================ */

:root {
  --navy:        #0f2748;
  --navy-700:    #1b3a63;
  --navy-50:     #eef3fa;
  --teal:        #11b3a3;
  --teal-600:    #0d9a8c;
  --teal-50:     #e6f7f5;
  --accent:      #f4a23b;
  --ink:         #1a2433;
  --ink-soft:    #50607a;
  --ink-mute:    #8593a8;
  --line:        #e3e9f2;
  --bg:          #f6f8fc;
  --white:       #ffffff;
  --ok:          #1faa6c;
  --warn:        #d9822b;
  --danger:      #d6455d;
  --radius:      14px;
  --radius-sm:   10px;
  --shadow-sm:   0 1px 2px rgba(15,39,72,.06), 0 1px 3px rgba(15,39,72,.08);
  --shadow:      0 6px 24px rgba(15,39,72,.10);
  --shadow-lg:   0 18px 48px rgba(15,39,72,.18);
  --maxw:        1180px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; letter-spacing: .02em; }
p { margin: 0; }

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

/* ---------- モック注記バー ---------- */
.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); }
.industry .ic { font-size: 26px; }
.industry b { display: block; margin-top: 8px; font-size: 14px; color: var(--navy); }

.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 { display: none; }
.toggle .track { position: absolute; inset: 0; background: #cdd6e4; border-radius: 999px; transition: background .2s; }
.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); }
.toggle input:checked + .track { background: var(--teal); }
.toggle input:checked + .track + .thumb { transform: translateX(18px); }

/* 管理：登録フォーム */
.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; }
  .price-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .nav-links { 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; }
}
