/* ============================================================
   住み込み工場求人ナビ LP v2
   tokens: ライト&ウォーム(暖白/深アンバー/暖スレート)。CV緑はボタン専用
   type  : Noto Sans JP + Barlow Condensed(数字専用)
   ============================================================ */
:root {
  /* 締め色(ブリッジ帯・最終CTA・会社情報フッターのダーク面に限定) */
  --navy: #3f4a5f;
  --navy-deep: #2b3442;
  /* アンバー: --accent は面・装飾・大見出し用、--accent-ink は明背景上の文字用 */
  --accent: #d97706;
  --accent-ink: #92400e;
  --accent-soft: #fdf1e0;
  /* CV緑は不変 */
  --green: #06c755;
  --green-deep: #05a648;
  --ink: #2b3442;
  --ink-sub: #6b7280;
  --line: #e7e2da;
  --bg: #faf8f5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(43, 52, 66, .08);
  --font-num: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
  --w: min(100%, 520px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.lp { width: 100%; overflow-x: hidden; }
.lp > section, .lp > footer { padding: 48px 20px; }
.lp > section > *, .lp > footer > * { max-width: var(--w); margin-left: auto; margin-right: auto; }

/* ---------- ミニヘッダー(jobs.html) ---------- */
.pagehead {
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 3px solid var(--accent);
}
.pagehead__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-sub);
}
.pagehead__back svg { width: 16px; height: 16px; }
.pagehead__name { font-size: 15px; font-weight: 900; }

/* ---------- セクション見出し ---------- */
.section__eyebrow {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.section__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 22px;
  color: var(--navy);
}
.section__note { font-size: 11px; color: var(--ink-sub); margin-top: 14px; }

/* accent-soft 面の上では --ink-sub が AA(4.5:1)に届かないため本文色に寄せる */
.couple .section__note,
.timeline__step--pay p,
.sim__housing-col--free .sim__housing-val small,
.sim__housing-col--free .sim__housing-sub,
.tier__row--s .tier__body p,
.tier__row--s .tier__wage small { color: var(--ink); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero { background: var(--bg); color: var(--ink); padding-bottom: 44px; }

/* 圧の帯: ＼ 最短即日入寮OK ／(静的・中央) */
.tape {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 0;
}

/* ヒーロー人物写真スロット(img優先・無ければSVGフォールバック表示) */
.hero__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 12px 0 2px;
}
.hero__photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__photo .hero__visual { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.hero__photo .hero__visual svg { width: 100%; height: 100%; }
.hero__photo--couple { aspect-ratio: 16 / 9; }

/* 写真スロット共通(img優先・無ければ下地/SVGフォールバック) */
.target__icon { position: relative; overflow: hidden; }
.target__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.voice__ava { display: block; position: relative; width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; }
.voice__ava .avatar { margin: 0; }
.voice__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.support { position: relative; overflow: hidden; }
.support__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; z-index: 0; pointer-events: none; }
.support > *:not(.support__bg) { position: relative; z-index: 1; }

/* ベネフィットバッジ 2x2 */
.hero__benefits {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 4px;
}
.hero__benefits li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
}

/* SUPPORT: 説明文削除し「規定あり」のみ */
.support__reg { font-size: 10px; color: var(--ink-sub); }

.tape--legacy {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.tape__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 7px 0 7px 16px;
  animation: tape-slide 22s linear infinite;
  width: max-content;
}
.tape__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
@keyframes tape-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero__body { max-width: var(--w); margin: 0 auto; padding: 34px 20px 0; }
.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-ink);
  border: 1px solid rgba(217, 119, 6, .55);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 14px;
}
.hero__catch { font-size: 34px; font-weight: 900; line-height: 1.3; letter-spacing: .01em; }
.hero__line { display: block; }
.hero__catch em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__catch em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 6px;
  background: rgba(217, 119, 6, .28);
  z-index: -1;
}
.hero__lead { font-size: 14px; color: var(--ink-sub); margin: 12px 0 20px; }
.hero__lead-note { display: block; font-size: 11px; margin-top: 6px; color: var(--ink-sub); }

/* ---------- pain行(ヒーロー内で目立たせる) ---------- */
.pain {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pain li {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 5px 12px 5px 10px;
  border-radius: 0 6px 6px 0;
}

/* ---------- CTA ---------- */
.cta { margin: 18px 0 8px; }
.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: var(--white);
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(6, 199, 85, .38);
  transition: transform .15s ease;
}
.cta__btn:active { transform: scale(.97); }
.cta__icon { width: 26px; height: 26px; flex: 0 0 auto; }
.cta__text { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.cta__text small { font-size: 11px; font-weight: 500; opacity: .85; }

/* ---------- stats(実数のみ) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 22px;
}
.stats__item { background: var(--white); text-align: center; padding: 14px 6px 12px; }
.stats__item dt { font-size: 11px; color: var(--ink-sub); font-weight: 500; }
.stats__item dd .num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: .02em;
}
.stats__item dd .unit { font-size: 12px; color: var(--ink-sub); margin-left: 2px; }

/* ============================================================
   タイプ別入口ナビ(ヒーロー内・ゾーン1への橋渡し)
   ============================================================ */
.segnav { margin-top: 22px; }
.segnav__lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-sub);
  margin-bottom: 10px;
}
.segnav__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(43, 52, 66, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.segnav__card:last-child { margin-bottom: 0; }
.segnav__card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(43, 52, 66, .12); }
.segnav__card:active { transform: translateY(0) scale(.99); }
/* 1枚目だけ最優先感を出す */
.segnav__card--top { border-left: 4px solid var(--accent); }
.segnav__icon {
  position: relative;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.segnav__icon svg { width: 26px; height: 26px; }
/* 実写を置いたらSVGの上に被さる(jobサムネと同じ構造) */
.segnav__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.segnav__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.segnav__title { font-size: 14px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.segnav__sub { font-size: 11px; color: var(--ink-sub); line-height: 1.5; margin-top: 2px; }
.segnav__arrow { width: 16px; height: 16px; flex: 0 0 auto; color: var(--navy); }

/* スクロール先はセクション見出しが画面上部に来る位置で止める */
#support, #couple { scroll-margin-top: 12px; }

/* ============================================================
   ヒーロービジュアル(インラインSVG)
   ============================================================ */
.hero__visual {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 12px 0 2px;
  line-height: 0;
}
.hero__visual svg { width: 100%; height: auto; display: block; }

/* ============================================================
   デザインサムネ(実画像があれば.thumb__photoが上に被さる)
   ============================================================ */
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
}
/* 暖スレート系グラデ4種(job.idハッシュで決定的に割当て) */
.thumb--g0 { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.thumb--g1 { background: linear-gradient(205deg, var(--navy-deep), var(--navy) 80%); }
.thumb--g2 {
  background:
    radial-gradient(120% 90% at 85% 95%, rgba(217, 119, 6, .34), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.thumb--g3 {
  background:
    radial-gradient(110% 80% at 12% 8%, rgba(217, 119, 6, .26), transparent 55%),
    linear-gradient(205deg, var(--navy-deep), var(--navy) 75%);
}
/* 右下の透かしストライプ(tape柄の再利用) */
.thumb::after {
  content: "";
  position: absolute;
  right: -12px; bottom: -12px;
  width: 84px; height: 52px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 7px, transparent 7px 14px);
  opacity: .14;
  border-radius: 4px;
}
.thumb__icon svg { width: 42px; height: 42px; }
.thumb__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* モーダルは県画像の焼き込み文字を切らない16:9。 */
.thumb--sheet { aspect-ratio: 16 / 9; max-height: 240px; border-radius: 0; flex: 0 0 auto; }
.thumb--sheet .thumb__icon svg { width: 48px; height: 48px; }

/* ============================================================
   条件フィルタ
   ============================================================ */
.filter { padding-bottom: 8px !important; }
.filter__lead { font-size: 14px; color: var(--ink-sub); line-height: 1.8; margin: -10px 0 14px; }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* 地理フィルタ(エリアチップ + 県チップ) */
.filter__geo { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
/* エリアチップはJS描画。描画分(375pxで約3行)を事前確保しCLSを防ぐ */
body[data-page="jobs"] #areaChips { min-height: 116px; }
.filter__geolabel { font-size: 12px; font-weight: 700; color: var(--ink-sub); margin-bottom: 8px; }
.filter__chips--pref { margin-top: 8px; }
.filter__chips--pref[hidden] { display: none; }
/* 県チップは小さめ・アンバー系で階層を示す */
.filter__chips--pref .chip { font-size: 12px; padding: 6px 13px; }
.filter__chips--pref .chip.is-on { background: var(--accent-ink); border-color: var(--accent-ink); }
/* 県カード(エリア選択時のみ・焼き込み画像+件数バッジ) */
.prefcards {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.prefcards[hidden] { display: none; }
.prefcard {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.prefcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* 県名は焼き込み画像に含まれるため、画像カードでは非表示。
   テキストフォールバック(is-fallback)時のみ表示する。 */
.prefcard__name {
  position: absolute;
  left: 7px;
  top: 6px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.prefcard:not(.is-fallback) .prefcard__name { display: none; }
/* 件数バッジは右下 */
.prefcard__count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
}
.prefcard__count small { font-size: 9px; font-weight: 700; margin-left: 1px; }
.prefcard.is-on { outline: 3px solid var(--accent); outline-offset: -3px; }
/* DL失敗の県はテキストチップ表示にフォールバック */
.prefcard.is-fallback {
  aspect-ratio: auto;
  background: var(--white);
  border: 1.5px solid var(--line);
  min-height: 44px;
}
.prefcard.is-fallback .prefcard__name {
  position: static;
  color: var(--ink);
  text-shadow: none;
  display: block;
  padding: 12px 8px 0;
}
.prefcard.is-fallback .prefcard__count {
  position: static;
  display: inline-block;
  margin: 4px auto 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.prefcard.is-fallback.is-on { outline-color: var(--accent-ink); }

.chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-sub);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all .15s ease;
}
.chip.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
/* エリア絞り込み中の表示チップ(タップでクリア) */
.chip--area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: var(--white);
}
.chip--area svg { width: 12px; height: 12px; }

/* ============================================================
   求人カード
   ============================================================ */
.jobs__head { position: relative; }
.jobs__count {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-sub);
  margin: -14px 0 16px;
  letter-spacing: .05em;
}
.jobs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* jobs.html: 描画前に高さを確保してCLSを防ぐ(描画後はapp.jsが解除) */
body[data-page="jobs"] .jobs__grid { min-height: 1100px; }
/* タグチップの0件自動非表示による行数変動のCLSを防ぐ高さ確保(全チップ表示時の最大行) */
body[data-page="jobs"] #filterChips { min-height: 120px; }
.jobs__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-sub);
  font-size: 13px;
  line-height: 1.9;
  padding: 32px 8px;
}
@media (min-width: 560px) { .jobs__grid { grid-template-columns: 1fr 1fr; } }

.job-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  animation: card-in .35s ease forwards;
}
@keyframes card-in { to { opacity: 1; transform: none; } }

.job-card__img { position: relative; }
/* 日払いバッジ: 写真左上・白地小 */
.job-card__ribbon {
  position: absolute;
  left: 8px; top: 8px;
  background: var(--white);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(43, 52, 66, .25);
}
.job-card__body { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
/* タイトルは最大2行(2行ルール) */
.job-card__title {
  font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.job-card__wage {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent-ink);
  line-height: 1.1;
  letter-spacing: .02em;
}
.job-card__wage small { font-size: 12px; font-weight: 600; color: var(--ink-sub); margin-left: 4px; font-family: 'Noto Sans JP', sans-serif; }
.job-card__bonus {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 900;
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 1px 7px;
}
.job-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.job-card__tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 2px 7px;
}
/* カップル可は塗り(navy)で他タグと差別化 */
.job-card__tag--couple {
  color: var(--white);
  background: var(--navy);
}
.job-card__btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  border-radius: 8px;
  padding: 9px 4px;
  transition: opacity .15s ease;
}
.job-card__btn:active { opacity: .8; }

.job-card { cursor: pointer; }

/* index: 求人一覧ページへの大きめリンク */
.jobs__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  border-radius: 999px;
  padding: 15px 20px;
  box-shadow: var(--shadow);
}
.jobs__all svg { width: 16px; height: 16px; flex: 0 0 auto; }

.jobs__more { text-align: center; margin-top: 18px; }
.more-btn {
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 34px;
}
.more-btn[hidden] { display: none; }
.jobs__note { font-size: 11px; color: var(--ink-sub); margin-top: 14px; }

/* ============================================================
   エリア
   ============================================================ */
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* エリアが奇数(7区分等)のとき最後の1枚を全幅にして孤立させない */
.area-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* 全カード共通: 高さ統一・テキスト下部寄せ(背景あり/なしで揃える) */
.area-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 11px;
  overflow: hidden;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}
.area-card::before {
  content: "";
  position: absolute;
  right: -18px; top: -18px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
}
/* 1行目: エリア名(大)+ 件数(アンバー・大)を同一行で主役に */
/* エリア名 + 件数 のみ(2要素)。県名・note・グルメは一覧から削除 */
.area-card__head {
  position: relative; z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.area-card__name { font-size: 19px; font-weight: 900; line-height: 1.15; }
.area-card__count {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  color: var(--accent-ink);
  letter-spacing: .02em;
  white-space: nowrap;
}
.area-card__count small { font-size: 11px; font-family: 'Noto Sans JP', sans-serif; margin-left: 1px; }
.area-card__zero { font-size: 11px; font-weight: 700; color: var(--accent-ink); white-space: nowrap; }

/* ---------- 背景画像対応(area-{code}.webp があるエリアのみ) ---------- */
.area-card--img { color: var(--white); }
.area-card--img::before { display: none; }   /* 装飾円は画像版では不要 */
.area-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: none;   /* 加工ゼロ: 素の写真 */
}
/* スクリム最小: 上65%完全透明(写真そのまま)、下35%のみ名前+件数の直下を濃く */
.area-card--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top,
    rgba(24, 30, 40, .90) 0%,
    rgba(24, 30, 40, .74) 22%,
    rgba(24, 30, 40, 0) 40%,
    rgba(24, 30, 40, 0) 100%);
}
/* 写真上は白で統一(件数もサイズで主役感を担保) */
.area-card--img .area-card__count { color: #fff; }
.area-card--img .area-card__count small { color: #ffd9a8; }
.area-card--img .area-card__zero { color: #ffd9a8; }

/* ============================================================
   流れ
   ============================================================ */
.flow__list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.flow__item { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.flow__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px; top: 38px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.flow__num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 17px;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
}
.flow__body h3 { font-size: 15px; font-weight: 900; color: var(--navy); }
.flow__body p { font-size: 13px; color: var(--ink-sub); margin-top: 2px; }

/* ============================================================
   こんな方へ
   ============================================================ */
.target__list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.target__item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; }
.target__icon {
  width: 92px; height: 92px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background:
    radial-gradient(90% 90% at 30% 25%, var(--white), transparent 70%),
    linear-gradient(135deg, var(--accent-soft), rgba(217, 119, 6, .38));
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.target__icon svg { width: 44px; height: 44px; }
.target__item h3 { font-size: 15px; font-weight: 900; color: var(--navy); grid-column: 2; }
.target__item p { font-size: 13px; color: var(--ink-sub); grid-column: 2; }
.target__item h3 + p { margin-top: 2px; }

/* ============================================================
   couple.html 専用ヒーロー
   ============================================================ */
.chero { background: var(--bg); color: var(--ink); }
.chero__catch { font-size: 28px; font-weight: 900; line-height: 1.35; margin-top: 4px; }
.chero__catch em { font-style: normal; color: var(--accent-ink); }
.chero__lead { font-size: 14px; color: var(--ink-sub); line-height: 1.8; margin: 12px 0 20px; }

/* ============================================================
   動画(YouTube facade)
   ============================================================ */
.video[hidden] { display: none; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.video__play {
  width: 64px; height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(43, 52, 66, .45);
  transition: transform .15s ease;
}
.video__play:hover { transform: scale(1.06); }
.video__play svg { width: 28px; height: 28px; margin-left: 3px; }
.video__iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   カップル・2人暮らし(accent-soft基調で差を付ける)
   ============================================================ */
.couple { background: var(--accent-soft); }
/* index の簡略版 */
.couple__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.couple__points li {
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, .3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.couple__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  border-radius: 999px;
  padding: 15px 20px;
  box-shadow: var(--shadow);
}
.couple__more svg { width: 16px; height: 16px; flex: 0 0 auto; }
.couple__lead { font-size: 13px; color: var(--ink); line-height: 1.8; margin: -10px 0 16px; }
.couple__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.couple__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, .3);
  border-radius: 10px;
  padding: 13px 14px;
}
.couple__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.couple__icon svg { width: 24px; height: 24px; }
.couple__body h3 { font-size: 14px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.couple__body p { font-size: 12px; color: var(--ink-sub); line-height: 1.6; margin-top: 2px; }
.couple__cta { margin-top: 16px; }

/* ============================================================
   声
   ============================================================ */
.voice__wrap { position: relative; }
.voice__slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  scrollbar-width: none;
}
.voice__slider::-webkit-scrollbar { display: none; }
.voice__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  text-align: center;
}
.avatar { width: 56px; height: 56px; display: block; margin: 0 auto 8px; }
.avatar--1 circle { fill: var(--navy); }
.avatar--2 circle { fill: var(--accent-ink); }
.avatar--3 circle { fill: var(--navy-deep); }
.avatar text {
  fill: var(--white);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 24px;
}
.voice__slide h3 { font-size: 13px; font-weight: 700; color: var(--navy); }
.voice__slide p { font-size: 13px; color: var(--ink-sub); margin-top: 6px; text-align: left; }
.voice__dots, .carousel__dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
/* 見た目8pxのまま28pxのタップ領域を確保 */
.dot {
  width: 28px; height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
}
.dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.dot.is-active::before { background: var(--accent-ink); }

/* ============================================================
   QA
   ============================================================ */
.qa__list { display: flex; flex-direction: column; gap: 10px; }
.qa__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.qa__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 13px 38px 13px 14px;
  position: relative;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.qa__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa__item p { font-size: 13px; color: var(--ink-sub); padding: 0 14px 14px; }

/* ============================================================
   最終CTA
   ============================================================ */
.last-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.last-cta__title { font-size: 24px; font-weight: 900; line-height: 1.45; }
.last-cta__lead { font-size: 13px; color: #c6cede; margin: 10px 0 20px; }

/* ============================================================
   会社情報
   ============================================================ */
.company { background: var(--navy-deep); color: #aeb8cb; }
.company__logo { font-weight: 900; font-size: 16px; color: var(--white); margin-bottom: 4px; }
.company__license { font-size: 11px; color: #aeb8cb; margin-bottom: 16px; }
.company__table { width: 100%; border-collapse: collapse; font-size: 12px; }
.company__table th, .company__table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  vertical-align: top;
}
.company__table th { width: 64px; color: #aeb8cb; font-weight: 500; }
.company__disclaimer { font-size: 11px; line-height: 1.8; margin-top: 16px; color: #aeb8cb; }
.company__copy { font-family: var(--font-num); font-size: 11px; margin-top: 18px; letter-spacing: .08em; color: #aeb8cb; }

/* ============================================================
   求人詳細モーダル(ボトムシート)
   ============================================================ */
body.is-locked { overflow: hidden; }

.sheet { position: fixed; inset: 0; z-index: 1000; }
.sheet[hidden] { display: none; }
.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 52, 66, .55);
  opacity: 0;
  transition: opacity .25s ease;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 520px);
  max-height: 88vh;
  background: var(--white);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(43, 52, 66, .3);
  transform: translate(-50%, 100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sheet.is-open .sheet__panel { transform: translate(-50%, 0); }
.sheet__close {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 2;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 52, 66, .6);
  color: var(--white);
  display: grid;
  place-items: center;
}
.sheet__close svg { width: 18px; height: 18px; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; }
.sheet__inner { padding: 16px 18px 22px; }
.sheet__title { font-size: 17px; font-weight: 900; color: var(--navy); line-height: 1.4; margin-top: 8px; }
.sheet__city { font-size: 12px; color: var(--ink-sub); margin-top: 2px; }
.sheet__table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.sheet__table th, .sheet__table td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.sheet__table th { width: 72px; color: var(--ink-sub); font-weight: 700; font-size: 12px; }
.sheet__table td { color: var(--ink); }
.sheet__table td small { font-size: 11px; color: var(--ink-sub); }
.sheet__wage {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-ink);
  letter-spacing: .02em;
  margin-right: 6px;
}
.sheet__note { font-size: 11px; color: var(--ink-sub); margin-top: 12px; }
.sheet__cta { margin-top: 14px; }
.sheet__alt {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
  border-radius: 999px;
  padding: 12px;
}

/* ============================================================
   追従LINEボタン
   ============================================================ */
.floating {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(120%);
  width: min(92vw, 420px);
  z-index: 999;
  transition: transform .3s ease;
}
.floating.is-show { transform: translateX(-50%) translateY(0); }
.floating__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  color: var(--white);
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(6, 199, 85, .45);
}
.floating__btn svg { width: 24px; height: 24px; }
.floating__btn span { display: flex; flex-direction: column; line-height: 1.25; }
.floating__btn small { font-size: 10px; font-weight: 500; opacity: .85; }

/* ============================================================
   共通カルーセル(docs/design-rules.md 2章)
   scroll-snap + 右端フェード + 末尾チラ見せ + ドット + 初回ヒント
   ============================================================ */
.carousel { position: relative; }
/* 右端フェード: --fade にセクション背景色を渡す */
.carousel::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 8px;
  width: 36px;
  background: linear-gradient(to left, var(--fade, var(--bg)), transparent);
  pointer-events: none;
  z-index: 1;
}
.carousel__track {
  list-style: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
/* 1画面に2.3枚(次カードの存在が常に見える) */
.carousel__track > * {
  flex: 0 0 calc((100% - 20px) / 2.3);
  scroll-snap-align: start;
}

/* 初回のみのスワイプヒント(1秒後に自動で消える) */
.carousel__hint {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  pointer-events: none;
  animation: hint-out .4s ease 1s forwards;
}
.carousel__hint svg { width: 14px; height: 14px; }
@keyframes hint-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .carousel__hint { display: none; } }

/* ============================================================
   当社を使う理由(ゾーン1)
   ============================================================ */
.reason__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.reason__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.reason__icon svg { width: 24px; height: 24px; }
.reason__item h3 { font-size: 14px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.reason__item p { font-size: 11px; color: var(--ink-sub); line-height: 1.55; margin-top: 3px; }

/* ============================================================
   中間CTA(ゾーン1の締め)
   ============================================================ */
.mid-cta { background: var(--white); text-align: center; }
.mid-cta__lead {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================================
   ブリッジ見出し(ゾーン2の頭)
   ============================================================ */
.bridge {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}
.bridge__title { font-size: 20px; font-weight: 900; line-height: 1.5; position: relative; padding-top: 14px; }
.bridge__title::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.bridge__sub { font-size: 12px; color: #c6cede; margin-top: 8px; line-height: 1.7; }

/* ============================================================
   [A] 日払いタイムライン
   ============================================================ */
.timeline { background: var(--white); }
.timeline__step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px 12px;
  text-align: center;
}
.timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px; top: 26px;
  width: 7px; height: 7px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
  z-index: 1;
}
.timeline__day {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.timeline__day small { font-size: 12px; letter-spacing: .06em; color: var(--ink-sub); }
.timeline__day b { font-size: 34px; }
.timeline__day b i { font-style: normal; font-size: 18px; }
.timeline__day--pay {
  font-size: 22px;
  color: var(--accent-ink);
  padding-top: 6px;
  display: inline-block;
}
.timeline__step h3 { font-size: 13px; font-weight: 900; color: var(--navy); margin-top: 6px; }
.timeline__step p { font-size: 10px; color: var(--ink-sub); line-height: 1.5; margin-top: 3px; }
.timeline__step--pay {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ============================================================
   [B] 手取りシミュレーション
   ============================================================ */
/* simはゾーン1のbg側(白い表・カードを浮かせる) */
.sim__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sim__table th {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 6px;
}
.sim__table th small { font-weight: 500; font-size: 10px; opacity: .8; }
.sim__table td {
  text-align: center;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.sim__table .num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
}
.sim__table td small { font-size: 11px; color: var(--ink-sub); margin-left: 2px; }
.sim__strong { background: var(--accent-soft); }
.sim__strong .num { color: var(--accent-ink); font-size: 24px; }

.sim__housing { margin-top: 18px; }
.sim__housing h3 { font-size: 14px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.sim__housing-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim__housing-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim__housing-col--free { background: var(--accent-soft); border-color: var(--accent); }
.sim__housing-label { font-size: 11px; font-weight: 700; color: var(--ink-sub); }
.sim__housing-col--free .sim__housing-label { color: var(--accent-ink); }
.sim__housing-val .num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 28px;
  color: var(--navy);
}
.sim__housing-col--free .sim__housing-val .num { color: var(--accent-ink); }
.sim__housing-val small { font-size: 11px; color: var(--ink-sub); margin-left: 2px; }
.sim__housing-sub { font-size: 10px; color: var(--ink-sub); line-height: 1.5; }

/* ============================================================
   [C] 時給Tier比較
   ============================================================ */
.tier__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tier__row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  box-shadow: var(--shadow);
}
.tier__row--s { border: 2px solid var(--accent); background: var(--accent-soft); }
.tier__rank {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 20px;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--line);
  color: var(--ink);
}
.tier__row--s .tier__rank { background: var(--accent-ink); color: var(--white); }
.tier__row--a .tier__rank { background: var(--navy); color: var(--white); }
.tier__body { flex: 1; min-width: 0; }
.tier__body h3 { font-size: 14px; font-weight: 900; color: var(--navy); }
.tier__body p { font-size: 11px; color: var(--ink-sub); line-height: 1.55; margin-top: 2px; }
.tier__wage {
  flex: 0 0 auto;
  text-align: right;
  color: var(--navy);
}
.tier__row--s .tier__wage { color: var(--accent-ink); }
.tier__wage .num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .02em;
}
.tier__wage .num i { font-style: normal; font-size: 14px; }
.tier__wage small { display: block; font-size: 10px; color: var(--ink-sub); }

/* ============================================================
   [D] 生活まるごと支援
   ============================================================ */
.support { background: var(--white); }
.support__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.support__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.support__icon svg { width: 24px; height: 24px; }
.support__item h3 { font-size: 13px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.support__item p { font-size: 11px; color: var(--ink-sub); line-height: 1.55; margin-top: 3px; }
.support__item p small { font-size: 10px; display: block; color: var(--ink-sub); }

/* ============================================================
   アクセシビリティ・PC微調整
   ============================================================ */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 720px) {
  .hero__catch { font-size: 42px; }
  .section__title { font-size: 28px; }
}

/* PC幅: 中央カラムを「画面」として浮かせる(レイアウトは変えない) */
@media (min-width: 900px) {
  /* color-mix 非対応ブラウザは --line そのままにフォールバック */
  body { background: var(--line); }
  body { background: color-mix(in srgb, var(--line) 45%, var(--bg)); }
  .lp {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg);
    box-shadow: 0 0 0 1px var(--line), 0 12px 48px rgba(43, 52, 66, .12);
  }
  .floating { width: min(92vw, 420px); }
}
