/* 求人サイト（モック）のスタイル。スマホ縦（幅375px前後）を主に設計する
   白ベース＋青1色。色は必ずトークン経由で使う */
:root {
  /* 主色（青） */
  --blue: #1570B9;
  --blue-800: #0F5689;
  --blue-400: #96BFE0;
  --blue-100: #CFE1F1;
  --blue-50: #E5F0F9;
  --blue-25: #F3F8FC;
  /* 文字 */
  --ink: #14202E;
  --ink-2: #44505E;
  --muted: #6B7684;
  /* 線と面 */
  --line: #E3E8EE;
  --line-2: #EEF1F5;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  /* 状態 */
  --ok: #0E7A55;
  --ok-bg: #E6F4EE;
  --warn: #9A4A0B;
  --warn-bg: #FFF4E5;
  --danger: #C2362B;
  --danger-bg: #FDF1F0;
  /* LINEの公式色（LINEボタンだけに使う） */
  --line-green: #06C755;
  --line-green-d: #05A848;
  /* 形 */
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .04), 0 4px 16px rgba(20, 32, 46, .05);
  --focus: 0 0 0 3px rgba(21, 112, 185, .22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.lang-ja { font-family: "Noto Sans JP", "Be Vietnam Pro", system-ui, -apple-system, sans-serif; }
[lang="ja"] { font-family: "Noto Sans JP", sans-serif; }
body.has-sticky { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
a { color: var(--blue); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 10px; }
img { max-width: 100%; }
svg { flex: none; }
[hidden] { display: none !important; }
.code { font-variant-numeric: tabular-nums; letter-spacing: .03em; white-space: nowrap; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 40px; }

/* ---------- ヘッダ（見本の帯と一緒に上に固定する） ---------- */
.top { position: sticky; top: 0; z-index: 10; }
.mockbar {
  margin: 0; padding: 4px 16px; text-align: center;
  font-size: 11.5px; font-weight: 600; line-height: 1.5;
  background: #FFF6D8; color: #6B4E00; border-bottom: 1px solid #F3E2A6;
}
.hd { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.hd-in {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 8px 16px;
}
.hd-logo {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.3;
}
.hd-logo span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-mark { width: 28px; height: 28px; }
.hd-lang { display: flex; gap: 2px; padding: 3px; background: var(--line-2); border-radius: 999px; flex: none; }
.hd-lang a {
  min-width: 34px; padding: 3px 8px; border-radius: 999px; text-align: center;
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.hd-lang a.on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(20, 32, 46, .12); }

/* ---------- 一覧の上の見出しブロック ---------- */
.hero { padding: 22px 2px 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px;
  font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .02em;
}
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-catch { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.32; letter-spacing: -.015em; color: var(--ink); }
.hero-sub { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.trust {
  list-style: none; margin: 14px 0 0; padding: 2px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.trust li {
  position: relative; padding: 9px 0 9px 32px; font-size: 14px; line-height: 1.45;
}
.trust li + li { border-top: 1px solid var(--line-2); }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' stroke='%231570B9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/14px no-repeat;
}
.trust b { display: block; font-weight: 700; color: var(--ink); }
.trust span { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }

/* ---------- 検索パネル ---------- */
.search {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; padding: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.s-row { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.s-row { min-width: 0; }
.s-row:nth-of-type(3), .btn-search { grid-column: 1 / -1; }
.s-row select { min-height: 46px; font-size: 15px; font-weight: 600; }
.btn-search { min-height: 48px; margin-top: 2px; gap: 8px; background: var(--blue); color: #fff; font-size: 16px; }
.btn-search svg { width: 18px; height: 18px; }
.btn-search:hover { background: var(--blue-800); }
.btn-search:active { background: var(--blue-800); }

select, input[type="text"], input[type="tel"], input[type="date"] {
  font: inherit; font-size: 16px; width: 100%; min-height: 48px;
  padding: 10px 12px; border: 1px solid #D3DAE3; border-radius: 10px;
  background-color: #fff; color: var(--ink);
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7684' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
}
select:focus, input:focus { outline: none; border-color: var(--blue); box-shadow: var(--focus); }
input::placeholder { color: #A2ABB6; }

/* ---------- 件数 ---------- */
.count { margin: 24px 2px 12px; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.count b { margin: 0 3px; font-size: 26px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; vertical-align: -1px; }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* ---------- タグ・小さな部品 ---------- */
.tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; line-height: 1.5;
  padding: 2px 9px; border-radius: 6px; white-space: nowrap;
}
.tag-food, .tag-construction, .tag-driver { background: var(--blue-50); color: var(--blue-800); }
.tag-new { background: var(--blue); color: #fff; letter-spacing: .02em; }
.tag-jlpt { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.card-id { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.ok {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--ok); line-height: 1.4;
}
.ok::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3L11.5 6' stroke='%230E7A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ok b { font-weight: 800; }
.chip {
  font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; flex: none;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--blue-400); background: #fff; color: var(--blue);
}

/* ---------- 求人カード ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; scroll-margin-top: 110px; }
.card a {
  display: block; height: 100%; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.card a:hover { border-color: var(--blue-400); box-shadow: 0 2px 4px rgba(20, 32, 46, .05), 0 10px 28px rgba(21, 112, 185, .10); }
.card a:active { background: var(--blue-25); }
.card a:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--blue); }
.thumb { aspect-ratio: 32 / 11; background: var(--blue-50); overflow: hidden; }
.thumb-svg, .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 0; }
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.card-tags .card-id { margin-left: auto; }
.card-title { margin-top: 9px; font-size: 16.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }

/* 手取り目安（カードと詳細の上で共通） */
.pay { margin-top: 12px; padding: 12px 14px 11px; background: var(--blue-25); border: 1px solid var(--blue-50); border-radius: var(--r); }
.pay p { margin: 0; }
.pay-l { font-size: 12px; font-weight: 700; color: var(--blue-800); letter-spacing: .02em; }
.pay-v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 3px; margin-top: 1px; color: var(--blue); line-height: 1.2; }
.pay-v b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pay-v small { font-size: 14px; font-weight: 700; }
.pay-v .pay-per { color: var(--ink-2); font-weight: 600; font-size: 13px; margin-left: 1px; }
.pay-sub { display: flex; flex-direction: column; gap: 0; margin-top: 6px !important; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.pay-sub b { color: var(--ink); font-weight: 700; }
.pay-sep { display: none; }

/* 住まい・日本語・勤務地 */
.facts { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--r); }
.fact { padding: 9px 12px; min-width: 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
.fact dt { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.fact dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.fact-big { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.fact-sub { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.card-ok, .dt-body .card-ok { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; }
.card-ok:empty { display: none; }
.card-more {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin: 14px -16px 0; padding: 12px 16px; border-top: 1px solid var(--line-2);
  color: var(--blue); font-size: 14.5px; font-weight: 700;
}
.card-more svg { width: 15px; height: 15px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 20px; border-radius: var(--r); border: 0;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-apply { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(15, 86, 137, .25); }
.btn-apply:hover, .btn-apply:active { background: var(--blue-800); }
.btn-line { background: #fff; color: var(--line-green-d); box-shadow: inset 0 0 0 1.5px var(--line-green); }
.btn-line:hover { background: #F3FCF6; }
/* LINEページの友だち追加ボタンだけは塗りで目立たせる（LINEの公式色） */
.btn-line-solid { background: var(--line-green); color: #fff; }
.btn-line-solid:hover, .btn-line-solid:active { background: var(--line-green-d); }
.line-consent { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.btn-main { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue-400); }
.btn-main:hover { background: var(--blue-25); }
.btn-block { display: flex; width: 100%; }
button:disabled { opacity: .45; cursor: not-allowed; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.sticky .btn { min-height: 52px; font-size: 15.5px; padding: 0 8px; }
@media (min-width: 720px) {
  .sticky { grid-template-columns: 220px 300px; justify-content: center; }
}

/* ---------- 求人詳細 ---------- */
.crumb { margin: 16px 0 12px; font-size: 13.5px; }
.crumb a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.crumb a:hover { color: var(--blue); }
.dt-head {
  overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dt-body { padding: 16px; }
.dt-head h1 { margin-top: 10px; font-size: 20px; font-weight: 800; line-height: 1.42; }
.dt-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
/* 詳細の各セクションは白いカードにする */
.wrap-detail > section:not(.dt-head):not(.closed),
.wrap-privacy > .blk, .wrap-guide > .blk {
  margin-top: 12px; padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.sec {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--ink);
}
.sec::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--blue); flex: none; }
.pg-lead { margin: 0 2px; font-size: 14px; color: var(--ink-2); }
.wrap-privacy > .sub { margin: 12px 2px 0; }
.lead-p { margin: 0; font-size: 15px; }
.lead-p .tag { margin-right: 4px; vertical-align: 1px; }
.dots { margin: 10px 0 0; padding: 0; list-style: none; }
.dots li { position: relative; margin: 6px 0; padding-left: 16px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }
.goods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.goods li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--blue-800); background: var(--blue-50); line-height: 1.4;
}
.goods li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.5 5.2' stroke='%231570B9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hl { margin-top: 14px; padding: 12px 14px; background: var(--bg); border-radius: var(--r); }
.hl h3 { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hl ul { margin: 6px 0 0; padding: 0; list-style: none; }
.hl li { position: relative; margin: 4px 0; padding-left: 16px; font-size: 14.5px; }
.hl li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* 表 */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; table-layout: fixed; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { width: 36%; padding-right: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tbl td { font-weight: 500; }
.tbl .sub, .sub { color: var(--muted); font-size: 12.5px; }
.tbl.tbl-pay { table-layout: auto; }
.tbl.tbl-pay th { width: auto; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.tbl.tbl-pay td { padding-left: 10px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-pay tr.sum th, .tbl-pay tr.sum td { color: var(--ink); font-weight: 800; }
.tbl-pay tr.sum:not(.ded) th, .tbl-pay tr.sum:not(.ded) td { border-bottom: 1px solid var(--line); }
.tbl-pay tr.grp th { padding-top: 16px; padding-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tbl-pay tr.ded th { padding-left: 10px; }
.tbl-pay tr.ded td { color: var(--danger); font-weight: 500; }
.tbl-pay tr.ded.sum td { color: var(--danger); font-weight: 700; }
.tbl-pay tr.take th, .tbl-pay tr.take td { background: var(--blue-50); color: var(--blue-800); font-size: 15px; font-weight: 800; border-bottom: 0; }
.tbl-pay tr.take th { padding-left: 12px; border-radius: 10px 0 0 10px; }
.tbl-pay tr.take td { padding-right: 12px; border-radius: 0 10px 10px 0; }
.tbl-cost th[scope="col"] { font-size: 11.5px; color: var(--muted); padding-top: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.payer { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 6px; }
.payer-company { background: var(--ok-bg); color: var(--ok); }
.payer-partial { background: var(--warn-bg); color: var(--warn); }
.payer-self, .payer-pending { background: var(--line-2); color: var(--ink-2); }
.wage-big { font-weight: 700; color: var(--blue); }
.wage-big b { font-size: 19px; font-weight: 800; }
.note { margin: 10px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.pending { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--warn); background: var(--warn-bg); padding: 1px 8px; border-radius: 6px; }

/* 面接までの流れ */
.flow { counter-reset: f; list-style: none; margin: 0; padding: 0; }
.flow li { counter-increment: f; position: relative; padding: 0 0 16px 40px; font-weight: 600; font-size: 14.5px; line-height: 1.55; min-height: 28px; }
.flow li::before {
  content: counter(f); position: absolute; left: 0; top: -2px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 2px; width: 1.5px; background: var(--blue-100); }
.flow-notes { margin: 0 0 12px; padding: 10px 12px 10px 30px; font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: var(--r); }
.flow-notes li { margin: 2px 0; }
.howto p { margin: 0 0 14px; font-size: 14.5px; }
.howto .btn + .btn { margin-top: 10px; }
.updated { margin: 16px 2px 0; font-size: 12.5px; color: var(--muted); text-align: right; }
.closed { margin-top: 32px; padding: 40px 20px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.closed h1 { margin: 8px 0; font-size: 20px; }
.closed .btn { margin-top: 8px; }

/* ---------- フォーム ---------- */
.form-head { padding: 24px 2px 4px; }
.form-head h1, .pg-title { font-size: 23px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pg-title { margin: 24px 2px 10px; }
.form-head p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.form {
  margin-top: 16px; padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.target {
  display: flex; flex-direction: column; gap: 1px;
  margin: 0 0 20px; padding: 11px 14px; border-radius: var(--r); background: var(--blue-25); border: 1px solid var(--blue-50);
}
.target-l { font-size: 11.5px; font-weight: 700; color: var(--blue-800); }
.target-v { font-size: 15px; font-weight: 700; color: var(--ink); }
.fld { margin-bottom: 18px; }
.ymd { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.ymd select { padding: 10px 24px 10px 10px; background-position: right 6px center; background-size: 14px; }
.fld > label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; }
.rq, .op { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; vertical-align: 2px; line-height: 1.5; }
.rq { background: var(--blue-50); color: var(--blue-800); }
.op { background: var(--line-2); color: var(--muted); }
.err { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--danger); }
.err:empty { display: none; }
.fld.bad input, .fld.bad select { border-color: var(--danger); background-color: var(--danger-bg); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.nocard { margin: 4px 0 18px; padding: 10px 12px; font-size: 12.5px; color: var(--ink-2); background: var(--bg); border-radius: var(--r); }
.out { margin: 0 0 18px; padding: 14px; border: 1px solid #F1D19A; border-radius: var(--r); background: #FFF9EE; }
.out-t { margin: 0 0 4px; font-weight: 800; color: var(--warn); }
.out p { margin: 0 0 10px; font-size: 14px; }
.done { margin-top: 16px; padding: 32px 18px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.done:focus { outline: none; }
.done h2 { font-size: 21px; color: var(--ok); }
.done p { margin-top: 8px; }
.done .btn { margin-top: 12px; width: 100%; }
.mock { font-size: 12px; color: var(--muted); }

/* ---------- LINE ---------- */
.wrap-line > p { margin: 0; }
.myjob {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 12px 0 16px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: 13.5px;
}
.myjob b { font-size: 21px; color: var(--blue); letter-spacing: .04em; }
.wrap-line .btn-line-solid { margin-top: 16px; }
.steps {
  counter-reset: s; list-style: none; margin: 20px 0 16px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.steps li { counter-increment: s; position: relative; margin: 0; padding: 0 0 12px 36px; font-size: 14.5px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-800); font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- ポリシー・運営者情報 ---------- */
.draft { margin: 16px 0 0; padding: 12px 14px; border: 1px dashed var(--danger); border-radius: var(--r); background: var(--danger-bg); color: #8E2219; font-weight: 700; font-size: 13.5px; }
.pp { padding-left: 1.2em; margin: 0; }
.pp li { margin: 6px 0; font-size: 14.5px; }
.wrap-privacy > .tbl, .wrap-about > .tbl {
  display: block; padding: 4px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.wrap-privacy > .tbl tbody, .wrap-about > .tbl tbody { display: table; width: 100%; table-layout: fixed; }

/* ---------- 言語選択トップ ---------- */
.root { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 32px; }
.root-card {
  width: 100%; max-width: 420px; padding: 32px 22px 24px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.root-card .hd-mark { width: 44px; height: 44px; }
.root h1 { margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--ink); }
.root p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.root-btns { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- フッタ ---------- */
.ft { margin-top: 24px; background: #fff; border-top: 1px solid var(--line); color: var(--ink-2); padding: 24px 16px 32px; font-size: 13px; }
.ft-in { max-width: 640px; margin: 0 auto; }
.ft-nogift { margin: 0; padding: 10px 12px; background: var(--bg); border-radius: var(--r); font-size: 12.5px; }
.ft-rec { margin: 16px 0 12px; }
.ft-rec dt { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ft-rec dd { margin: 2px 0; }
.ft-rec strong { color: var(--ink); font-weight: 700; }
.ft-ja { font-size: 12px; color: var(--muted); }
.ft a { color: var(--ink-2); }
.ft-links { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ft-links a { text-decoration: none; font-weight: 600; }
.ft-links a:hover { color: var(--blue); }

/* ---------- PC幅 ---------- */
@media (min-width: 900px) {
  body { font-size: 15.5px; }
  .wrap-index { max-width: 1040px; }
  .wrap-index .hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 40px; align-items: end; padding-top: 44px; }
  .wrap-index .hero-catch { font-size: 34px; }
  .wrap-index .hero-kicker, .wrap-index .hero-catch, .wrap-index .hero-sub { grid-column: 1; }
  .wrap-index .trust { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .wrap-index .search { grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 12px; margin-top: 28px; padding: 16px; }
  .wrap-index .s-row:nth-of-type(3), .wrap-index .btn-search { grid-column: auto; }
  .wrap-index .btn-search { margin-top: 0; padding: 0 28px; min-height: 46px; }
  .wrap-index .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .wrap-detail, .wrap-apply, .wrap-line, .wrap-privacy, .wrap-about { max-width: 720px; }
  .ft-in { max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .ft-nogift { grid-column: 1 / -1; }
  .ft-links { margin-top: 16px; padding-top: 0; border-top: 0; align-content: start; justify-content: flex-end; }
}
@media (min-width: 1200px) {
  .wrap-index .cards { grid-template-columns: repeat(2, 1fr); }
}

/* 日本語の見出しは文節で折り返す（対応ブラウザのみ） */
.lang-ja .card-title, .lang-ja .dt-head h1, .lang-ja .hero-catch { word-break: auto-phrase; }

/* PC幅で横に並んだカードの「詳細を見る」を下端にそろえる */
.card a { display: flex; flex-direction: column; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card .facts { margin-bottom: 14px; }
.card .card-ok { margin: -2px 0 14px; }
.card .card-more { margin: auto -16px 0; }

/* ---------- 絞り込み（スマホは折りたたみ、PCは開いて出す） ---------- */
.filter { margin: 16px 0 0; }
.filter-sum {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 700; color: var(--blue);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.filter-sum::-webkit-details-marker { display: none; }
.filter-sum svg { width: 18px; height: 18px; flex: none; }
.filter-sum::after {
  content: ""; margin-left: auto; width: 16px; height: 16px; flex: none; transition: transform .15s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231570B9' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.filter[open] .filter-sum::after { transform: rotate(180deg); }
.filter[open] .filter-sum { border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: none; }
.filter .search { margin: 0; border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.hd-logo span { white-space: nowrap; }
@media (max-width: 599px) {
  .hero-sub { display: none; }
  .hero { padding-top: 16px; }
  .hero-catch { font-size: 22px; }
  .trust li { padding-top: 6px; padding-bottom: 6px; }
}
@media (min-width: 900px) {
  .filter-sum { display: none; }
  .filter .search { border-top: 1px solid var(--line); border-radius: var(--r-lg); }
}

/* 読みもの（ガイド・都道府県と分野のまとめ） */
.gd-h { margin: 22px 2px 12px; }
.gd-p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.75; }
.gd-ol { margin: 6px 0 0; padding-left: 1.4em; }
.gd-ol li { margin: 6px 0; font-size: 14.5px; }
.gd-more { margin: 12px 0 0; font-size: 13.5px; font-weight: 600; }
.gd-more a { color: var(--blue); }
.gd-list { list-style: none; margin: 0; padding: 0; }
.gd-list li { border-bottom: 1px solid var(--line-2); }
.gd-list li:last-child { border-bottom: 0; }
.gd-list a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink); }
.gd-list b { display: block; font-size: 15px; font-weight: 700; }
.gd-list span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.gd-idx { margin-top: 28px; }
.gd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.gd-chips a:hover { color: var(--blue); border-color: var(--blue-400); }
.wrap-guide .cards { margin-top: 0; }
