/* AX Career β — 共通スタイル（白 × 濃紺 #16294D × クリアブルー #2B6CE6） */
:root {
  --navy: #16294D; --blue: #2B6CE6; --blue-light: #EAF1FD; --bg: #F7F9FC;
  --text: #1A2333; --muted: #6B7A90; --border: #E3E9F2; --white: #fff;
  --green: #1E9E6A; --red: #D64545; --amber: #C98A00;
  --radius: 12px; --shadow: 0 2px 12px rgba(22, 41, 77, .08);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 15px; }
a { color: var(--blue); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.brand .beta { font-size: 10px; background: var(--blue); color: #fff; border-radius: 4px; padding: 1px 6px; font-weight: 700; }
.gnav { display: flex; gap: 20px; flex: 1; }
.gnav a { color: var(--text); font-size: 14px; font-weight: 500; padding: 4px 2px; }
.gnav a.active { color: var(--blue); border-bottom: 2px solid var(--blue); }
.header-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 800px) { .gnav { display: none; } }

/* ---------- ボタン ---------- */
.btn { display: inline-block; border: none; cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 700;
  border-radius: 8px; padding: 10px 20px; line-height: 1.5; text-align: center; transition: .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1f5ac9; opacity: 1; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid var(--red); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #1d3a6e 60%, #24509e 100%); color: #fff; padding: 72px 0 64px; overflow: hidden; }
.hero h1 { font-size: 38px; line-height: 1.4; letter-spacing: .02em; }
.hero p.lead { margin-top: 14px; font-size: 16px; opacity: .9; max-width: 640px; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta-note { font-size: 12px; opacity: .75; margin-top: 10px; }
/* ヒーロー右側の写真（デスクトップのみ・グラデでテキストへ溶かす） */
.hero-photo { position: absolute; top: 0; right: 0; width: 46%; height: 100%; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(22,41,77,.75) 35%, rgba(22,41,77,.15) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero.has-photo h1, .hero.has-photo p.lead { max-width: 560px; }
@media (max-width: 900px) { .hero-photo { display: none; } }
.hero-search { margin-top: 26px; background: #fff; border-radius: 12px; padding: 8px; display: flex; gap: 8px; max-width: 720px; box-shadow: 0 8px 28px rgba(10, 20, 45, .28); }
.hero-search input[type=text] { flex: 1; border: none; padding: 10px 14px; font-size: 14.5px; }
.hero-search input[type=text]:focus { outline: none; }
.hero-search select { width: 160px; border: none; border-left: 1px solid var(--border); border-radius: 0; font-size: 13.5px; color: var(--navy); font-weight: 600; }
.hero-search select:focus { outline: none; }
@media (max-width: 640px) { .hero-search { flex-wrap: wrap; } .hero-search select { width: 48%; border-left: none; } }
.hero-tags { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-tags a { color: #cfdff8; font-size: 13px; font-weight: 600; }
.hero-tags a:hover { color: #fff; opacity: 1; }
@media (max-width: 640px) { .hero h1 { font-size: 27px; } }

/* ---------- セクション ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--white); }
.sec-label { color: var(--blue); font-weight: 800; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.sec-title { font-size: 26px; color: var(--navy); margin: 4px 0 26px; line-height: 1.4; }
.sec-more { text-align: center; margin-top: 26px; }

/* ---------- 数字バー ---------- */
.stats-bar { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: -30px; position: relative; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 34px; text-align: center; min-width: 170px; }
.stat-card .num { font-size: 30px; font-weight: 800; color: var(--navy); }
.stat-card .num span { font-size: 14px; margin-left: 2px; }
.stat-card .label { font-size: 12.5px; color: var(--muted); }

/* ---------- カード ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; transition: .15s; }
a.card { display: block; color: var(--text); }
a.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22, 41, 77, .13); opacity: 1; }
.card h3 { font-size: 16px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.card .meta { font-size: 12.5px; color: var(--muted); }
.feature-card { text-align: center; padding: 30px 22px; }
.feature-card .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 14px; }

/* ---------- バッジ・タグ ---------- */
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 5px; padding: 2px 9px; line-height: 1.7; }
.badge-fulltime { background: var(--navy); color: #fff; }
.badge-contract { background: var(--blue); color: #fff; }
.badge-sidejob { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.badge-cat-recruit { background: var(--navy); color: #fff; }
.badge-cat-career { background: var(--blue); color: #fff; }
.badge-cat-news { background: var(--blue-light); color: var(--navy); }
.badge-lv { background: linear-gradient(135deg, #2B6CE6, #16294D); color: #fff; }
.badge-quality { background: #FFF6E3; color: var(--amber); border: 1px solid #EFD9A0; }
.badge-status-open, .badge-status-approved, .badge-status-available, .badge-status-accepted, .badge-status-offer, .badge-status-published { background: #E6F6EE; color: var(--green); }
.badge-status-draft, .badge-status-pending, .badge-status-registered, .badge-status-sent, .badge-status-new { background: var(--blue-light); color: var(--blue); }
.badge-status-closed, .badge-status-suspended, .badge-status-paused, .badge-status-declined, .badge-status-rejected, .badge-status-withdrawn { background: #F1F3F7; color: var(--muted); }
.badge-status-screening { background: #FFF6E3; color: var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11.5px; background: var(--blue-light); color: var(--blue); border-radius: 20px; padding: 2px 11px; font-weight: 600; }

/* ---------- 求人・人材カード内 ---------- */
.job-salary { font-weight: 800; color: var(--navy); font-size: 15px; margin-top: 8px; }
.talent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), #cfdff8);
  color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.talent-rate { color: var(--navy); font-weight: 700; font-size: 13.5px; }

/* ---------- マッチ度 ---------- */
.match-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; border-radius: 100px; padding: 3px 12px; white-space: nowrap; }
.match-high { background: #E6F6EE; color: var(--green); border: 1px solid #b9e6cf; }
.match-mid { background: var(--blue-light); color: var(--blue); border: 1px solid #cfdff8; }
.match-low { background: #F1F3F7; color: var(--muted); border: 1px solid var(--border); }
.match-reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.match-reasons span { font-size: 11px; background: var(--bg); border: 1px solid var(--border); color: #47566d; border-radius: 5px; padding: 1px 8px; }
.match-meter { background: linear-gradient(135deg, var(--navy), #24509e); color: #fff; border-radius: var(--radius); padding: 16px 22px; display: flex; align-items: center; gap: 18px; }
.match-meter .pct { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.match-meter .pct small { font-size: 13px; font-weight: 600; }
.match-meter .rail { flex: 1; height: 9px; background: rgba(255,255,255,.22); border-radius: 5px; overflow: hidden; min-width: 120px; }
.match-meter .fill { height: 100%; background: linear-gradient(90deg, #6fa0f0, #9ec5ff); }

/* ---------- 特集（写真＋テキスト2カラム） ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.feature-split.reverse .fs-photo { order: 2; }
.feature-split .fs-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/2; }
.feature-split .fs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 800px) { .feature-split { grid-template-columns: 1fr; gap: 20px; } .feature-split.reverse .fs-photo { order: 0; } }

/* ---------- 帯CTA（写真背景オプション） ---------- */
.band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band-photo { position: relative; overflow: hidden; }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band-photo::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(22,41,77,.92) 0%, rgba(22,41,77,.78) 45%, rgba(22,41,77,.55) 100%); }
.band-photo > div, .band-photo > a { position: relative; z-index: 2; }
.band h2 { font-size: 22px; line-height: 1.5; }
.band p { opacity: .85; font-size: 14px; margin-top: 6px; }

/* ---------- フォーム ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--navy); }
.form-group label .req { color: var(--red); font-size: 11px; margin-left: 5px; }
.form-group .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; font-family: var(--font);
  font-size: 14px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 120px; resize: vertical; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
.skill-group { margin-bottom: 12px; }
.skill-group-title { font-size: 11.5px; font-weight: 800; color: var(--blue); letter-spacing: .06em; margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.skill-group .check-grid label { font-size: 13px; }
.check-grid label, .consent label { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.check-grid input, .consent input { margin-top: 4px; }
.consent { background: var(--bg); border-radius: 8px; padding: 14px 16px; display: grid; gap: 8px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--red); font-size: 13px; margin-top: 10px; min-height: 1em; }

/* ---------- タブ ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { background: none; border: none; font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--muted);
  padding: 10px 18px; cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -2px; }
.tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.tabs button .cnt { background: var(--blue); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; margin-left: 5px; }

/* ---------- テーブル ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
th { text-align: left; background: var(--bg); color: var(--muted); font-size: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }

/* ---------- 記事 ---------- */
.article-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; max-width: 760px; margin: 0 auto; }
.article-body h2 { color: var(--navy); font-size: 21px; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.article-body h3 { color: var(--navy); font-size: 17px; margin: 24px 0 8px; }
.article-body p { margin: 12px 0; }
.article-body ul, .article-body ol { margin: 12px 0 12px 24px; }
.article-body li { margin: 5px 0; }
.article-body strong { color: var(--navy); }
@media (max-width: 640px) { .article-body { padding: 24px 18px; } }

/* ---------- スキルチェック ---------- */
.quiz-progress { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress .bar { height: 100%; background: var(--blue); transition: width .3s; }
.quiz-choice { display: block; border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
  cursor: pointer; background: #fff; font-size: 14px; transition: .12s; }
.quiz-choice:hover { border-color: var(--blue); background: var(--blue-light); }
.quiz-choice.selected { border-color: var(--blue); background: var(--blue-light); font-weight: 700; }
.score-ring { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.score-ring .inner { width: 118px; height: 118px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .inner .sc { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.score-ring .inner .lb { font-size: 11px; color: var(--muted); }
.cat-bar { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.cat-bar .name { width: 110px; font-size: 13px; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.cat-bar .rail { flex: 1; height: 10px; background: var(--border); border-radius: 5px; overflow: hidden; }
.cat-bar .fill { height: 100%; background: linear-gradient(90deg, var(--blue), #6fa0f0); }
.cat-bar .pct { width: 44px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--navy); }

/* ---------- ダッシュボード ---------- */
.dash-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .dash-layout { grid-template-columns: 1fr; } }
.side-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 80px; }
.side-nav button { display: block; width: 100%; text-align: left; background: none; border: none; font-family: var(--font);
  font-size: 14px; font-weight: 600; color: var(--text); padding: 13px 18px; cursor: pointer; border-left: 3px solid transparent; }
.side-nav button.active { color: var(--blue); background: var(--blue-light); border-left-color: var(--blue); }
.side-nav button .cnt { background: var(--red); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; margin-left: 6px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.kpi .v { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.kpi .v span { font-size: 13px; }
.kpi .k { font-size: 12px; color: var(--muted); }

/* ---------- モーダル・トースト ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(22, 41, 77, .45); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 28px; }
.modal h3 { color: var(--navy); margin-bottom: 14px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff;
  border-radius: 10px; padding: 12px 26px; font-size: 14px; font-weight: 600; z-index: 200; box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--muted); padding: 44px 16px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---------- 補助 ---------- */
.notice { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 6px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; }
.notice.warn { background: #FFF6E3; border-left-color: var(--amber); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-title { font-size: 26px; color: var(--navy); margin: 34px 0 20px; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 22px; }
.filters .form-group { margin-bottom: 0; min-width: 150px; flex: 1; }
.filters .form-group.grow { flex: 2; }

/* ---------- ターゲット切替帯・LPパーツ ---------- */
.panel-switch { background: var(--paper, #fff); background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; box-shadow: var(--shadow); }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }
ul.tight { margin: 6px 0 0 20px; }
ul.tight li { margin: 3px 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: 72px; padding: 44px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 13px; opacity: .7; margin-bottom: 10px; }
.site-footer a { color: #fff; opacity: .85; display: block; font-size: 13.5px; margin: 5px 0; }
.site-footer .copy { text-align: center; font-size: 12px; opacity: .55; margin-top: 34px; }
