/* =============================================================
   Root on LP 共通スタイル
   対象: /freelance/ (フリーランス向け) ・ /professional-talent/ (企業向け)
   ルール: 色・影・角丸・余白は必ず下のトークンを使う（docs/DESIGN.md 参照）
   ============================================================= */

/* ---- 1. デザイントークン ---- */
:root {
  /* ブランドカラー */
  --navy: #0d1b2a;        /* 見出し面・CTA面 */
  --navy-2: #14283f;      /* navyホバー */
  --blue: #2d7ff9;        /* プライマリCTA */
  --blue-dark: #1f69d5;   /* blueホバー */
  --cyan: #7ee4f2;        /* 暗面のアクセント */
  --ink: #172033;         /* 本文 */
  --ink-2: #41506b;       /* 準本文（チップ内文字など） */
  --nav-ink: #4f5b6e;     /* ナビリンク */
  --muted: #657083;       /* 補足文 */
  --line: #dfe7f1;        /* 罫線 */
  --line-soft: #eef2f7;   /* 淡い罫線 */
  --soft: #f4f8fd;        /* 交互背景 */
  /* 職種・領域アクセント（面積は常に小さく） */
  --mint: #dff7ef;   --mint-fg: #13835f;
  --lemon: #fff2bd;  --lemon-fg: #8a6a12;
  --lilac: #eee8ff;  --lilac-fg: #6a4fc7;
  --peach: #ffe9d9;  --peach-fg: #b05e1e;
  --blue-soft: #edf5ff;  --blue-soft-fg: #2a66ad;
  --blue-deep-bg: #dcecff; --blue-deep-fg: #1e5aa8;
  --indigo-bg: #e8f1fd;  --indigo-fg: #3b5bd6;
  --blue-strong-fg: #174d8f;
  --danger: #e0625c;      /* 必須バッジ */
  /* シャドウ（3段のみ） */
  --sh-card: 0 8px 20px rgba(26, 60, 103, .055);
  --sh-panel: 0 18px 60px rgba(19, 44, 82, .11);
  --sh-cta: 0 12px 28px rgba(45, 127, 249, .27);
  /* 角丸 */
  --r-pill: 999px;
  --r-input: 12px;
  --r-icon: 14px;
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-panel: 36px;
  /* 背景グラデーション */
  --grad-dark: linear-gradient(145deg, #0d1b2a, #173d68);
  --grad-cta: linear-gradient(135deg, #0d1b2a, #173c67);
  --grad-cta-corp: linear-gradient(135deg, #0b1b2c 0%, #173c68 60%, #245d9f 100%);
  --grad-soft-section: linear-gradient(180deg, rgba(244, 248, 253, .84), rgba(255, 255, 255, .95));
}

/* ---- 2. ベース ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 5%, rgba(45, 127, 249, .13), transparent 25rem),
    radial-gradient(circle at 2% 22%, rgba(126, 228, 242, .14), transparent 22rem),
    #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
input::placeholder, textarea::placeholder { color: #9aa7b8; }
:focus-visible { outline: 3px solid rgba(45, 127, 249, .5); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- 3. レイアウト ---- */
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.wrap--narrow { width: min(900px, calc(100% - 40px)); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section[id] { scroll-margin-top: 80px; }
.section--soft { background: var(--grad-soft-section); }
.section--dark { background: var(--grad-dark); color: #fff; }

/* セクション見出し（eyebrow + h2 + リード） */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 99px; }
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--cyan::before { background: var(--cyan); }
.sec-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(14px, 3vw, 56px); align-items: end; margin-bottom: 44px;
}
.sec-head h2, .sec-head--single h2 {
  font-size: clamp(29px, 3.9vw, 46px); line-height: 1.28; letter-spacing: -.03em;
  margin: 10px 0 0; text-wrap: pretty;
}
.sec-head .lead { color: var(--muted); margin: 0; text-wrap: pretty; }
.section--dark .sec-head .lead { color: #c3d0dd; }
.sec-head--single { margin-bottom: 36px; }
.note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.section--dark .note { color: #aabccc; }

/* ---- 4. ボタン・チップ ---- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  border-radius: var(--r-pill); padding: 12px 22px;
  border: 1px solid transparent; font-weight: 800; cursor: pointer;
  transition: .25s ease; font-family: inherit;
}
.btn--lg { padding: 16px 26px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-cta); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #b9c9de; box-shadow: 0 8px 30px rgba(19, 44, 82, .08); color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.btn--glass {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: 14px; padding: 13px 22px;
}
.btn--glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.text-link { color: var(--blue); font-weight: 800; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--blue-dark); }

/* 情報チップ（heroの下の羅列など） */
.chip-note {
  font-size: 12px; font-weight: 800; color: var(--ink-2);
  background: #f1f6fc; border: 1px solid #e3ecf6; border-radius: var(--r-pill); padding: 7px 12px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
/* タグ（カード内スキルなど） */
.tag {
  font-size: 11.5px; font-weight: 700; color: #526075;
  background: #f1f5fa; border-radius: var(--r-pill); padding: 6px 10px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-sample {
  font-size: 10px; background: var(--mint); color: #23775c;
  border-radius: var(--r-pill); padding: 5px 8px; font-weight: 900;
}

/* アイコンブロックの配色（tone: 単色面 / grad: グラデ面） */
.tone-blue   { background: var(--blue-soft);   color: var(--blue-soft-fg); }
.tone-bluedeep { background: var(--blue-deep-bg); color: var(--blue-deep-fg); }
.tone-indigo { background: var(--indigo-bg);   color: var(--indigo-fg); }
.tone-mint   { background: var(--mint);        color: var(--mint-fg); }
.tone-lemon  { background: var(--lemon);       color: var(--lemon-fg); }
.tone-lilac  { background: var(--lilac);       color: var(--lilac-fg); }
.tone-peach  { background: var(--peach);       color: var(--peach-fg); }
.grad-blue  { background: linear-gradient(135deg, #dcecff, #f2f7ff); color: var(--navy); }
.grad-mint  { background: linear-gradient(135deg, #dff7ef, #f4fffb); color: var(--navy); }
.grad-lemon { background: linear-gradient(135deg, #fff2bd, #fffaf0); color: var(--navy); }
.grad-lilac { background: linear-gradient(135deg, #eee8ff, #f9f6ff); color: var(--navy); }

/* ---- 5. ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 241, .75);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 19px; letter-spacing: -.03em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  box-shadow: 0 8px 24px rgba(45, 127, 249, .24);
}
.brand__service { font-size: 11px; color: var(--muted); font-weight: 800; border-left: 1px solid var(--line); padding-left: 11px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--nav-ink); font-size: 14px; font-weight: 700; }
.nav-links > a:not(.btn) { color: var(--nav-ink); }
.nav-links > a:not(.btn):hover { color: var(--blue-dark); }
.nav-links .btn { padding: 12px 22px; }
.nav-mobile-actions { display: none; align-items: center; gap: 10px; }
.nav-mobile-actions .btn { padding: 10px 16px; font-size: 13px; }
.menu-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer;
}
.menu-btn__bar {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}
.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: #fff; padding: 10px 20px 18px; flex-direction: column; gap: 2px; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid #f1f5fa; }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---- 6. ヒーロー ---- */
.hero { padding: clamp(56px, 7vw, 86px) 0 40px; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(36px, 5vw, 64px); align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border-radius: var(--r-pill); background: #eef5ff; border: 1px solid #d7e7ff;
  color: #225da7; font-size: 13px; font-weight: 800; margin-bottom: 22px;
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 5px rgba(45, 127, 249, .11);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.14; letter-spacing: -.045em;
  margin: 0 0 22px; text-wrap: pretty;
}
.hero-em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero-em > span { position: relative; z-index: 1; }
.hero-em::after {
  content: ""; position: absolute; left: 1%; right: 0; bottom: 6px; height: 8px;
  background: linear-gradient(90deg, var(--cyan), rgba(45, 127, 249, .18));
  border-radius: 50%; transform: rotate(-1deg);
}
.hero-lead { font-size: clamp(15px, 1.7vw, 19px); color: var(--muted); max-width: 640px; margin: 0 0 8px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }

/* ヒーロー右側ビジュアル */
.hero-visual { position: relative; min-height: 600px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb--one { width: 380px; height: 380px; right: -80px; top: -30px; background: linear-gradient(135deg, rgba(45, 127, 249, .2), rgba(126, 228, 242, .35)); }
.orb--two { width: 220px; height: 220px; left: 0; bottom: 0; background: linear-gradient(135deg, rgba(255, 242, 189, .76), rgba(255, 255, 255, 0)); }
.glass-board {
  position: absolute; inset: 24px 0 0 clamp(0px, 3vw, 34px);
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, .94); box-shadow: var(--sh-panel);
  border-radius: 32px; padding: clamp(16px, 2vw, 24px); transform: rotate(1.2deg);
}
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-top strong { font-size: 14px; }
.dots { display: flex; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #d9e3ef; }
.dots span:first-child { background: #86b6fb; }
.board-list { display: grid; gap: 10px; }

/* フリーランス版: 案件カード */
.pick-card { background: #fff; border: 1px solid #e5ecf5; border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-card); }
.pick-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pick-card__id { display: flex; gap: 11px; align-items: center; }
.pick-card__icon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 900;
}
.pick-card__title { display: block; font-size: 13.5px; line-height: 1.45; }
.pick-card__meta { font-size: 12px; color: var(--muted); }
.pick-card__amount { font-size: 11px; font-weight: 900; color: var(--blue); white-space: nowrap; }
.pick-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pick-card__tags span { font-size: 10px; font-weight: 900; padding: 5px 8px; border-radius: var(--r-pill); background: #f2f6fb; color: #59677a; }
.mini-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mini-duo__dark { border-radius: 16px; padding: 14px 16px; color: #fff; background: var(--navy); }
.mini-duo__light { border-radius: 16px; padding: 14px 16px; background: #e7f3ff; }
.mini-duo span { display: block; font-size: 11.5px; }
.mini-duo__dark span { opacity: .75; }
.mini-duo__light span { color: #4f6075; }
.mini-duo strong { font-size: 17px; line-height: 1.3; }

/* 企業版: 人材カード */
.talent-card {
  background: #fff; border: 1px solid #e5ecf5; border-radius: 18px; padding: 14px 16px;
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center;
  box-shadow: var(--sh-card);
}
.talent-card__icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.talent-card__role { display: block; font-size: 14px; font-weight: 700; }
.talent-card__meta { font-size: 12px; color: var(--muted); }
.talent-card__chip { font-size: 11px; font-weight: 800; padding: 6px 9px; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue-soft-fg); white-space: nowrap; }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; background: var(--navy); border-radius: 16px; padding: 12px 10px; }
.pipeline span { text-align: center; font-size: 10.5px; font-weight: 800; color: #fff; position: relative; }
.pipeline span:not(:last-child)::after { content: "→"; position: absolute; right: -7px; top: 1px; color: var(--cyan); }
.pipeline span:last-child { color: var(--cyan); }

.float-chip {
  position: absolute; right: -6px; padding: 12px 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 16px 44px rgba(16, 49, 87, .14); font-size: 13px; font-weight: 900;
  transform: rotate(-3deg); display: flex; align-items: center; gap: 7px;
}
.float-chip--top { top: -4px; }
.float-chip--mid { top: 96px; }
.check-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--mint-fg); }

/* ---- 7. 信頼バー（企業向け） ---- */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: #fff; box-shadow: 0 14px 50px rgba(26, 60, 103, .06);
}
.trust-item { padding: 24px 26px; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 22px; letter-spacing: -.03em; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---- 8. カードグリッド汎用 ---- */
.grid { display: grid; gap: 16px; }
.grid--tight { gap: 14px; }
.grid--loose { gap: 12px; }
.cols-190 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.cols-205 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.cols-215 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.cols-255 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.cols-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cols-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cols-320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cols-340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* ---- 9. 汎用カード類 ---- */
.icon-chip { display: grid; place-items: center; font-weight: 900; border-radius: var(--r-icon); }

/* チェック付きカード（フリーランス: For You） */
.check-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; background: #fff;
  display: flex; gap: 13px; align-items: flex-start;
}
.check-card__dot {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--mint-fg); font-weight: 900; font-size: 13px; margin-top: 2px;
}
.check-card strong { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.check-card span { font-size: 13px; color: var(--muted); }

/* 特徴: メイン暗色カード + サブカード */
.feature-hero {
  border-radius: 26px; padding: 30px; background: var(--grad-dark); color: #fff;
  grid-column: 1 / -1; position: relative; overflow: hidden;
}
.feature-hero .ring-1 { position: absolute; right: -10px; bottom: -30px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
.feature-hero .ring-2 { position: absolute; right: 30px; bottom: 10px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.feature-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 26px; align-items: center; position: relative; }
.feature-hero .icon-chip { width: 44px; height: 44px; background: rgba(255, 255, 255, .11); color: #fff; margin-bottom: 18px; }
.feature-hero h3 { font-size: clamp(20px, 2.6vw, 25px); margin: 0 0 10px; letter-spacing: -.02em; }
.feature-hero p { font-size: 14px; color: #c6d3df; }
.feature-card { border-radius: 26px; border: 1px solid var(--line); padding: 26px; background: #fff; }
.feature-card .icon-chip { width: 44px; height: 44px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.feature-card p { font-size: 13.5px; color: var(--muted); }

/* チェックリスト（暗面用・白面用） */
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-list--dark li { color: #dce6ef; }
.check-list .ck { color: var(--cyan); font-weight: 900; }
.check-list--tight li { margin: 0; }

/* 募集職種カード（フリーランス） */
.role-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: #fff; }
.role-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role-card__icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; font-size: 12.5px; }
.role-card h3 { font-size: 19px; margin: 0; letter-spacing: -.01em; }

/* 案件例カード（フリーランス） */
.job-card { border: 1px solid var(--line); border-radius: 26px; padding: 26px; background: #fff; display: flex; flex-direction: column; }
.job-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-card__type { font-size: 12px; font-weight: 900; color: var(--blue); letter-spacing: .08em; }
.job-card h3 { font-size: 20px; margin: 11px 0 8px; letter-spacing: -.01em; }
.job-card > p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.job-card .tag-row { margin: 0 0 16px; }
.spec-list { display: grid; grid-template-columns: 76px 1fr; gap: 6px; font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; margin: auto 0 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 800; }

/* 営業パートナー（暗面カード） */
.sales-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px; padding: 28px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sales-card__label {
  display: inline-flex; padding: 6px 10px; border-radius: var(--r-pill);
  background: rgba(126, 228, 242, .15); color: #9cebf4; font-size: 11px; font-weight: 900; letter-spacing: .08em;
}
.sales-card h3 { font-size: 24px; margin: 15px 0 8px; letter-spacing: -.02em; }
.sales-card > p { color: #c7d4df; font-size: 14px; margin: 0 0 18px; }
.sales-card .check-list { margin: 0 0 20px; }
.sales-card .check-list li { margin: 0; color: #e2ebf3; }
.reward { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; font-size: 13px; color: #bcd0df; }
.reward strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }

/* ステップカード（flow） */
.step-card { position: relative; padding: 22px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.step-card b { display: block; color: var(--blue); font-size: 11px; letter-spacing: .1em; }
.step-card h3 { font-size: 16px; margin: 8px 0 5px; letter-spacing: -.01em; }
.step-card p { font-size: 12px; color: var(--muted); }

/* ポリシーカード（フリーランス） */
.policy-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; }
.policy-card .icon-chip { width: 34px; height: 34px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-soft-fg); font-size: 12.5px; margin-bottom: 12px; }
.policy-card p { font-size: 14px; font-weight: 700; line-height: 1.65; }

/* 単価・マージン開示（フリーランス） */
.breakdown-card { border: 1px solid var(--line); border-radius: 26px; background: #fff; padding: 26px; display: flex; flex-direction: column; }
.breakdown-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.breakdown-card__head strong { font-size: 15px; }
.breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid #e5ecf5; border-radius: 14px; padding: 13px 16px; background: #f8fbff;
}
.breakdown-row span:first-child { font-size: 13px; font-weight: 800; }
.breakdown-row span:last-child { font-size: 15px; font-weight: 900; }
.breakdown-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.breakdown-split .plus { align-self: center; color: #9aa7b8; font-weight: 900; }
.breakdown-you { border: 1.5px solid var(--blue); border-radius: 14px; padding: 13px 16px; background: var(--blue-soft); }
.breakdown-you span { display: block; font-size: 12px; font-weight: 800; color: var(--blue-strong-fg); }
.breakdown-you strong { font-size: 19px; font-weight: 900; color: var(--blue-strong-fg); }
.breakdown-margin { border: 1px solid #e5ecf5; border-radius: 14px; padding: 13px 16px; background: #fff; }
.breakdown-margin span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.breakdown-margin strong { font-size: 19px; font-weight: 900; color: var(--ink-2); }
.breakdown-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin-top: 12px; }
.breakdown-bar .you { flex: 85; background: linear-gradient(90deg, var(--blue), #5ea0fb); }
.breakdown-bar .margin { flex: 15; background: var(--line); }
.breakdown-unit { font-size: 11px; font-weight: 700; color: var(--muted); }
.value-list { display: grid; gap: 10px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-soft); border-radius: 14px; padding: 13px 15px; }
.value-list .icon-chip { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 11px; font-size: 11.5px; }
.value-list .txt { font-size: 13.5px; }
.value-list .txt strong { font-weight: 800; }
.value-list .txt span { color: var(--muted); }

/* 課題カード（企業） */
.pain-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; background: #fff; position: relative; overflow: hidden; }
.pain-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -38px; bottom: -42px; background: var(--blue-soft); }
.pain-card__num { font-size: 12px; font-weight: 900; color: var(--blue); letter-spacing: .12em; }
.pain-card h3 { font-size: 19px; margin: 10px 0 8px; line-height: 1.45; letter-spacing: -.01em; }
.pain-card p { font-size: 14px; color: var(--muted); position: relative; }

/* ブリッジ（navy帯） */
.bridge {
  margin-top: 22px; border-radius: 28px; padding: clamp(26px, 4vw, 36px);
  background: var(--navy); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.bridge h3 { font-size: clamp(19px, 2.4vw, 24px); margin: 0; line-height: 1.5; }
.bridge p { margin: 5px 0 0; color: #b9c6d5; font-size: 14px; }

/* 支援方法カード（企業） */
.how-card { position: relative; padding: 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.how-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.how-card .icon-chip { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; }
.how-card h3 { font-size: 16.5px; margin: 0; letter-spacing: -.01em; }
.how-card p { font-size: 13px; color: var(--muted); }

/* プランカード（企業） */
.plan-card { border: 1px solid var(--line); border-radius: var(--r-card-lg); background: #fff; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan-card--featured { border: 2px solid var(--blue); box-shadow: 0 18px 50px rgba(45, 127, 249, .12); }
.plan-card__ribbon { position: absolute; right: 20px; top: 18px; background: var(--blue); color: #fff; border-radius: var(--r-pill); padding: 5px 10px; font-size: 11px; font-weight: 900; }
.plan-card__cat { font-size: 12px; color: var(--blue); font-weight: 900; letter-spacing: .1em; }
.plan-card h3 { font-size: 23px; margin: 8px 0; letter-spacing: -.02em; }
.plan-card__desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.plan-card .tag-row { margin-bottom: 18px; }
.plan-card .tag { font-size: 11px; font-weight: 800; padding: 6px 9px; }
.plan-list { margin: 0 0 22px; }
.plan-list li { font-size: 14px; border-top: 1px solid #edf1f6; padding: 10px 0; }
.plan-card__fit { margin-top: auto; border-radius: 16px; padding: 13px 15px; background: var(--soft); font-size: 13px; font-weight: 700; }

/* 対応領域（企業） */
.domain-item { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: #fff; display: flex; align-items: center; gap: 12px; }
.domain-item .icon-chip { width: 44px; height: 44px; flex: 0 0 44px; font-size: 12px; }
.domain-item strong { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.domain-item span { font-size: 11.5px; color: var(--muted); }

/* 人材プロフィール（企業） */
.profile-card { border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; padding: 22px; }
.profile-card__head { display: flex; align-items: center; gap: 13px; }
.profile-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: var(--navy); }
.profile-card h3 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.profile-card__field { font-size: 12px; color: var(--muted); }
.profile-card .tag-row { margin: 16px 0; }
.profile-card .tag { font-size: 11px; padding: 5px 9px; }
.profile-card .spec-list { border-top: 0; padding-top: 0; grid-template-columns: 76px 1fr; gap: 6px 8px; }
.profile-card .spec-list dd { font-weight: 700; }

/* 比較テーブル（企業） */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.compare-table { border-collapse: collapse; width: 100%; min-width: 720px; }
.compare-table th { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; background: #f6f9fd; }
.compare-table th.rooton { background: var(--navy); color: #fff; }
.compare-table td { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.compare-table td.item { font-size: 14px; font-weight: 700; }
.compare-table td.rooton { background: var(--blue-soft); font-weight: 800; color: var(--blue-strong-fg); }
.compare-table tr:last-child td { border-bottom: 0; }
.mark-ok { color: #167254; }
.mark-partial { color: #b28114; }
.mark-none { color: #9aa7b8; }

/* ---- 10. FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 19px 4px; font-weight: 800; font-size: 15.5px;
  display: flex; justify-content: space-between; gap: 24px; align-items: center; color: var(--ink);
}
.faq-q .faq-icon { color: var(--blue); font-size: 20px; flex: 0 0 auto; }
.faq-a { color: var(--muted); font-size: 14px; padding: 0 4px 20px; margin: 0; max-width: 780px; }
.faq-item:not(.is-open) .faq-a { display: none; }

/* ---- 11. 最終CTA + フォーム ---- */
.cta-section { padding: 0 0 clamp(72px, 9vw, 110px); }
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  background: var(--grad-cta); padding: clamp(30px, 5vw, 58px); color: #fff;
  box-shadow: 0 24px 80px rgba(13, 39, 74, .2);
}
.cta-panel--corp { background: var(--grad-cta-corp); }
.cta-panel__glow {
  position: absolute; width: 410px; height: 410px; border-radius: 50%;
  right: -160px; top: -210px;
  background: radial-gradient(circle, rgba(126, 228, 242, .25), rgba(45, 127, 249, 0));
}
.cta-panel__rings {
  position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 255, 255, .022);
}
.cta-panel__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 4vw, 52px); position: relative; }
.cta-panel h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.3; letter-spacing: -.03em; margin: 12px 0 14px; text-wrap: pretty; }
.cta-panel__lead { color: #c7d4df; max-width: 560px; margin: 0 0 22px; text-wrap: pretty; }
.cta-panel .check-list { margin: 0 0 26px; }

/* フォームカード */
.form-card { background: #fff; border-radius: 26px; padding: clamp(20px, 3vw, 30px); color: var(--ink); box-shadow: 0 20px 60px rgba(5, 20, 40, .35); }
.form-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.form-head strong { font-size: 16px; }
.form-step-label { font-size: 12px; color: var(--muted); font-weight: 700; }
.progress { display: flex; gap: 5px; margin-bottom: 20px; }
.progress span { height: 4px; flex: 1; border-radius: 99px; background: #e3ecf6; }
.progress span.is-on { background: var(--blue); }
.f-label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.f-group { margin-bottom: 0; }
.f-stack { display: grid; gap: 13px; }
.f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req { font-size: 10.5px; color: #fff; background: var(--danger); border-radius: 6px; padding: 2px 6px; vertical-align: 1px; font-weight: 700; }
.opt { font-size: 11px; color: var(--muted); font-weight: 700; }
.f-hint { font-size: 11px; color: var(--muted); font-weight: 700; margin-left: 8px; }
.f-input, .f-select, .f-textarea {
  width: 100%; box-sizing: border-box; padding: 12px 13px;
  border: 1px solid var(--line); border-radius: var(--r-input);
  font-family: inherit; font-size: 14px; background: #fff;
}
.f-select { padding: 12px 10px; font-size: 13.5px; }
.f-textarea { resize: vertical; }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(45, 127, 249, .15); }
.f-input.is-error, .f-textarea.is-error { border-color: var(--danger); }
.f-error { display: none; font-size: 11.5px; color: var(--danger); font-weight: 700; margin-top: 4px; }
.f-error.is-visible { display: block; }

/* 選択チップ（職種・相談内容） */
.chip-select { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.chip-select button {
  text-align: left; padding: 11px 12px; border-radius: var(--r-input);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font-weight: 700; font-size: 12.5px; cursor: pointer; font-family: inherit; line-height: 1.4;
  transition: .15s ease;
}
.chip-select button.is-on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-strong-fg); }
.chip-select--pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.chip-select--pills button { border-radius: var(--r-pill); padding: 9px 12px; font-size: 12px; border-color: #c9dcf3; }
.chip-select--pills button.is-on { border-color: var(--blue); background: #e3f0ff; color: var(--blue-strong-fg); }

/* 営業向け追加項目ボックス */
.sales-extra { border: 1px solid #d7e7ff; background: #f4f9ff; border-radius: 16px; padding: 16px; }
.sales-extra > strong { display: block; font-size: 13px; color: var(--blue-strong-fg); margin-bottom: 10px; }
.sales-extra .f-stack { gap: 10px; }
.sales-extra .f-label { font-size: 12.5px; margin-bottom: 5px; }
.sales-extra .f-input { padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.f-check { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.f-check input { width: 15px; height: 15px; }
.f-agree { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.f-agree input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.f-agree a { color: var(--blue); text-decoration: underline; }

/* ドロップゾーン（職務経歴書） */
.dropzone {
  border: 1.5px dashed #b9c9de; border-radius: 14px; padding: 18px; text-align: center;
  background: #f8fbff; font-size: 13px; color: var(--muted); cursor: pointer; display: block;
}
.dropzone strong { color: var(--blue); font-weight: 800; }
.dropzone small { font-size: 11px; }
.dropzone.has-file { border-style: solid; border-color: var(--blue); color: var(--ink-2); }

/* フォームナビゲーション */
.form-nav { display: flex; gap: 10px; margin-top: 4px; }
.btn-back { flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 14px 20px; background: #fff; font-weight: 800; cursor: pointer; font-family: inherit; }
.btn-next, .btn-submit {
  flex: 1; border: none; border-radius: var(--r-pill); padding: 14px;
  color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; font-family: inherit; transition: .25s ease;
}
.btn-next { background: var(--blue); box-shadow: var(--sh-cta); }
.btn-next:hover { background: var(--blue-dark); }
.btn-next--full { width: 100%; flex: none; padding: 15px; }
.btn-submit { background: var(--navy); }
.btn-submit:hover { background: var(--navy-2); }
.btn-submit[disabled], .btn-next[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 11px; color: #8a97a8; margin: 2px 0 0; }
.form-step[hidden] { display: none; }

/* 完了画面 */
.form-done { text-align: center; padding: 36px 10px; }
.form-done__mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mint); color: var(--mint-fg); font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.form-done h3 { font-size: 20px; margin: 0 0 10px; }
.form-done p { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; }

/* ---- 12. フッター ---- */
.site-footer { background: #f7f9fc; border-top: 1px solid var(--line); padding: 42px 0 100px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 19px; color: var(--ink); }
.footer-brand .brand__mark { box-shadow: none; }
.footer-copy { font-size: 13px; margin: 12px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-links a.accent { color: var(--blue); }
.footer-links a.accent:hover { color: var(--blue-dark); }
.copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e5ecf5; font-size: 12px; }
/* 企業向け: ダークフッター */
.site-footer--dark { background: #08131f; border-top: 0; color: #aeb9c6; }
.site-footer--dark .footer-brand { color: #fff; }
.site-footer--dark .brand__mark { background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.site-footer--dark .footer-links { font-weight: 400; }
.site-footer--dark .footer-links a { color: #aeb9c6; }
.site-footer--dark .footer-links a:hover { color: #fff; }
.site-footer--dark .footer-links a.accent { color: var(--cyan); }
.site-footer--dark .footer-links a.accent:hover { color: #fff; }
.site-footer--dark .copyright { border-top-color: rgba(255, 255, 255, .1); }

/* ---- 13. モバイル固定CTA ---- */
.mobile-cta {
  display: none; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 10px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 9px; border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: 0 14px 45px rgba(13, 39, 74, .18);
}
.mobile-cta .btn { width: 100%; padding: 13px; }

/* ---- 13b. ドキュメントページ（プライバシーポリシー等） ---- */
.doc-header { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.doc-header h1 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.3; letter-spacing: -.03em; margin: 10px 0 12px; }
.doc-header .lead { color: var(--muted); margin: 0; max-width: 780px; text-wrap: pretty; }
.doc { padding: clamp(32px, 5vw, 52px) 0 clamp(64px, 8vw, 96px); }
.doc-body { display: grid; gap: clamp(28px, 4vw, 38px); }
.doc-body section { scroll-margin-top: 80px; }
.doc-body h2 {
  font-size: clamp(18px, 2.2vw, 21px); letter-spacing: -.01em; margin: 0 0 12px;
  padding-left: 13px; border-left: 3px solid var(--blue); line-height: 1.5;
}
.doc-body p, .doc-body li, .doc-body dd { font-size: 14.5px; color: var(--ink-2); }
.doc-body p { margin: 0 0 12px; }
.doc-body p:last-child { margin-bottom: 0; }
.doc-body ul, .doc-body ol { padding-left: 1.4em; display: grid; gap: 7px; margin: 0 0 12px; }
.doc-body ul { list-style: disc; }
.doc-body ol { list-style: decimal; }
.doc-body ul ul { margin: 7px 0 0; list-style: circle; }
.doc-toc { border: 1px solid var(--line); border-radius: 20px; background: var(--soft); padding: 22px 26px; }
.doc-toc strong { display: block; font-size: 14px; margin-bottom: 12px; }
.doc-toc ol { columns: 2; column-gap: 32px; margin: 0; }
.doc-toc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.doc-toc a:hover { color: var(--blue-dark); }
.doc-info { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.doc-info dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; margin: 0; }
.doc-info dt {
  font-size: 13.5px; font-weight: 800; padding: 14px 20px;
  background: #f6f9fd; border-bottom: 1px solid var(--line-soft);
}
.doc-info dd { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
/* グリッド項目は既定で min-content 未満に縮まないため、長い値がカードからはみ出すのを防ぐ */
.doc-info dt, .doc-info dd { min-width: 0; overflow-wrap: anywhere; }
.doc-info dt:last-of-type, .doc-info dd:last-of-type { border-bottom: 0; }
.doc-date { font-size: 13px; color: var(--muted); text-align: right; }
/* 公開前に必ず埋める項目。validate.mjs が検出して公開ブロッカーとして警告する */
.todo {
  background: #fff2bd; color: #8a6a12; font-weight: 800;
  border-radius: 6px; padding: 1px 8px; font-size: .92em;
}
@media (max-width: 600px) {
  .doc-toc ol { columns: 1; }
  /* グリッドのままだと長い値が列幅を押し広げてカードからはみ出すため、ブロックに戻す */
  .doc-info dl { display: block; }
  .doc-info dt { padding-bottom: 4px; border-bottom: 0; background: #fff; }
  .doc-info dd { padding-top: 0; }
}

/* ---- 14. 出現アニメーション ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .chip-select button { transition: none; }
  .btn:hover { transform: none; }
}

/* ---- 15. レスポンシブ ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }
  .hero { padding-top: 48px; }
  .hero-visual { min-height: 540px; }
  .trust-item { border-bottom: 1px solid var(--line-soft); }
  .trust-item:last-child { border-bottom: 0; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav { height: 68px; }
  .brand__service { display: none; }
  .hero-visual { min-height: 505px; }
  .glass-board { inset: 8px -4px 0 7px; padding: 16px; border-radius: 27px; }
  .float-chip--top { right: -4px; top: -10px; font-size: 11px; }
  .float-chip--mid { right: -4px; top: 77px; font-size: 11px; }
  .pick-card { padding: 12px 13px; }
  .talent-card { padding: 12px 13px; }
  .trust-item { padding: 20px 16px; }
  .trust-item strong { font-size: 18px; }
  .bridge { align-items: flex-start; flex-direction: column; padding: 28px; }
  .cta-panel { padding: 34px 22px; border-radius: 28px; }
  .footer-grid { flex-direction: column; }
  .f-cols { grid-template-columns: 1fr; }
  .chip-select { grid-template-columns: 1fr; }
  /* iOSズーム防止: 入力は16px以上 */
  .f-input, .f-select, .f-textarea { font-size: 16px; }
}
