/* ==========================================================================
   キャリ部 — 統合スタイルシート（デザイントークン方式）
   ========================================================================== */

/* ---------- Design Tokens ----------
   参考デザイン（syscom / gohp.jp）に合わせた青基調のコーポレートトーン。
   ・白 と 淡いブルーグレー のセクションを交互に配置
   ・見出しは英字ラベル（小）＋日本語見出し（大・太）の2段構成
   ・アクセントは1色（ブルー）に絞り、面で見せる
   -------------------------------------- */
:root {
  /* Brand (blue) */
  --c-brand: #0d63d0;
  --c-brand-d: #0a4ba3;
  --c-brand-l: #3b86e8;
  --c-brand-bg: #eaf2fd;

  /* Navy（フッター・ヒーロー） */
  --c-navy: #16233a;
  --c-navy-2: #1f3050;

  /* Accent（求職者向けの温かみを残す差し色。CTA以外では使わない） */
  --c-accent: #f5731f;
  --c-accent-d: #e05510;
  --c-accent-bg: #fff3e9;

  /* Teal (freelance / secondary) */
  --c-teal: #0f9b8e;
  --c-teal-d: #0b7d72;
  --c-teal-bg: #e6f6f4;

  /* Neutral / ink */
  --c-ink: #16202e;
  --c-ink-2: #45525f;
  --c-muted: #7d8996;
  --c-line: #e4eaf1;
  --c-line-2: #d5dee8;
  --c-bg: #f2f6fa;
  --c-white: #ffffff;

  /* Line brand */
  --c-line-brand: #06c755;

  /* Gradient（統計セクション・最終CTA用） */
  --grad-brand: linear-gradient(135deg, #0d63d0 0%, #1f7ae0 55%, #3b86e8 100%);
  --grad-navy: linear-gradient(135deg, #16233a 0%, #23375c 100%);

  /* Shadow（青みを帯びた影で全体を統一） */
  --shadow-sm: 0 2px 10px rgba(22, 35, 58, .06);
  --shadow-md: 0 10px 28px rgba(22, 35, 58, .10);
  --shadow-lg: 0 18px 44px rgba(22, 35, 58, .14);

  /* Radius（参考サイトに合わせて控えめに） */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Type */
  --font-head: 'Noto Sans JP', 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', 'Zen Maru Gothic', sans-serif;

  /* Spacing（参考サイトに合わせて縦の余白を広めに） */
  --sp-sm: 1rem;
  --sp-md: 1.75rem;
  --sp-lg: 3rem;
  --sp-xl: 5rem;
  --sp-2xl: 7rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container.narrow { max-width: 720px; }
.container.center { text-align: center; }

.section { padding: var(--sp-xl) 0; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--sp-sm);
  color: var(--c-ink);
}
.diag-intro {
  text-align: center;
  color: var(--c-ink-2);
  font-size: .92rem;
  max-width: 480px;
  margin: 0 auto var(--sp-md);
  line-height: 1.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn-md { padding: .7rem 1.5rem; font-size: .9rem; }
.btn-lg { padding: .95rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-d));
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(245, 115, 31, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 115, 31, .38); }

.btn-next {
  background: linear-gradient(135deg, var(--c-teal), var(--c-teal-d));
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(47, 182, 163, .3);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 182, 163, .38); }

.btn-white {
  background: var(--c-white);
  color: var(--c-brand-d);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }

.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, .7);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.btn-line {
  background: var(--c-line-brand);
  color: var(--c-white);
  box-shadow: 0 6px 16px rgba(6, 199, 85, .3);
}
.btn-line:hover { transform: translateY(-2px); }

.btn-header {
  padding: .55rem 1.3rem;
  font-size: .85rem;
  background: var(--c-brand);
  color: var(--c-white);
}
.btn-header:hover { background: var(--c-brand-d); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: var(--r-pill);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 244, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-icon { width: 30px; height: 30px; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--c-ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, #fff8f0 0%, #ffeedd 60%, #ffe3c9 100%);
  padding: 3.5rem 0 5.5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--c-white);
  color: var(--c-brand-d);
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}
.hero-title .hl { color: var(--c-brand-d); }
.hero-sub {
  font-size: .95rem;
  color: var(--c-ink-2);
  line-height: 1.9;
  margin-bottom: 1.3rem;
  max-width: 480px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.cta-note { margin-top: .8rem; font-size: .78rem; color: var(--c-muted); }
.hero-visual { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 380px; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- Value ---------- */
.section-value { background: var(--c-white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-card {
  background: var(--c-bg);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card--accent {
  background: var(--c-brand-bg);
  border-color: #f5c090;
}
.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-brand-d);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
  box-shadow: var(--shadow-sm);
}
.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  line-height: 1.5;
}
.value-card p { font-size: .86rem; color: var(--c-ink-2); line-height: 1.8; }

/* ---------- Pain ---------- */
.section-pain { background: var(--c-bg); }
.pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-bottom: var(--sp-md);
}
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: .88rem;
  line-height: 1.7;
}
.pain-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-cta { text-align: center; font-size: .88rem; color: var(--c-ink-2); font-weight: 700; }

/* ---------- Diagnosis ---------- */
.section-diagnosis { background: var(--c-white); }
.diag-wrap {
  max-width: 620px;
  margin-inline: auto;
  background: var(--c-bg);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .6rem;
  font-size: .8rem;
  color: var(--c-muted);
}
.progress-count { font-weight: 700; color: var(--c-ink); }
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--c-line);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 1.6rem;
}
#progress-fill, .progress-fill {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-d));
  border-radius: var(--r-pill);
  transition: width .3s ease;
}

.q-block { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.q-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.q-options { display: flex; flex-direction: column; gap: .7rem; }
.q-option {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: .95rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  text-align: left;
  transition: border-color .18s, background .18s, transform .15s;
}
.q-option:hover { border-color: var(--c-brand); background: var(--c-brand-bg); transform: translateX(2px); }
.q-option.selected { border-color: var(--c-brand); background: var(--c-brand-bg); color: var(--c-brand-d); font-weight: 700; }
.q-option-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-line);
  color: var(--c-ink-2);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.q-option:hover .q-option-badge,
.q-option.selected .q-option-badge { background: var(--c-brand); color: var(--c-white); }

.q-nav { display: flex; justify-content: space-between; margin-top: 1.2rem; }
.q-back {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: .85rem;
  font-weight: 700;
  padding: .5rem;
}
.q-back:hover { color: var(--c-ink); }

/* ---------- Result ---------- */
.result {
  text-align: center;
  padding: 1.6rem 0 .8rem;
  animation: fadeIn .3s ease;
}
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-d));
  color: var(--c-white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(245, 115, 31, .3);
}
.result-type {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: .7rem;
}
.result-desc {
  font-size: .88rem;
  color: var(--c-ink-2);
  line-height: 1.85;
  max-width: 460px;
  margin: 0 auto;
}

/* ---------- Route CTA ---------- */
.route-cta {
  background: var(--c-teal-bg);
  border: 1.5px solid #a8e0dc;
  border-radius: var(--r-lg);
  padding: 1.6rem;
  text-align: center;
  margin-top: 1.4rem;
}
.route-headline {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-teal-d);
  margin-bottom: .6rem;
}
.route-body { font-size: .86rem; color: var(--c-ink-2); line-height: 1.8; margin-bottom: 1.1rem; }
.route-points {
  text-align: left;
  max-width: 420px;
  margin: 0 auto 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.route-points li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .84rem;
  color: var(--c-ink-2);
  line-height: 1.6;
}
.route-points li i { color: var(--c-teal-d); margin-top: .2rem; flex-shrink: 0; }
.route-btn { display: inline-flex; }

/* ---------- Job Card ---------- */
.job-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  margin-top: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.job-card-header { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.job-badge {
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
}
.job-badge--remote { background: var(--c-teal-bg); color: var(--c-teal-d); display: inline-flex; align-items: center; gap: .3rem; }
.job-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.5; }
.job-company { font-size: .84rem; color: var(--c-muted); margin-bottom: 1rem; }
.job-meta { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.job-meta span { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--c-ink-2); }
.job-meta span i { color: var(--c-brand-d); width: 14px; flex-shrink: 0; }
.job-detail { border-top: 1px solid var(--c-line); padding-top: 1rem; margin-bottom: 1.3rem; }
.job-detail h4 { font-size: .85rem; font-weight: 700; margin-bottom: .4rem; margin-top: 1rem; }
.job-detail h4:first-child { margin-top: 0; }
.job-detail p, .job-detail li { font-size: .83rem; color: var(--c-ink-2); line-height: 1.8; }
.job-detail ul { padding-left: 1.1rem; list-style: disc; }
.job-apply-btn { width: 100%; }

/* ---------- Contact / Done section ---------- */
.contact-section {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-line);
}
.contact-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.contact-desc { font-size: .85rem; color: var(--c-ink-2); margin-bottom: 1.3rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: .45rem; }
.req { color: var(--c-brand-d); font-size: .72rem; font-weight: 700; margin-left: .4rem; }
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  background: var(--c-white);
  color: var(--c-ink);
  transition: border-color .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); }
.field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.field-note { font-size: .74rem; color: var(--c-muted); margin-top: .35rem; }

.line-box {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #eafcf1;
  border: 1.5px solid #b8ecc9;
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}
.line-box-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-line-brand);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.line-box-body strong { display: block; font-size: .86rem; margin-bottom: .3rem; }
.line-box-body p { font-size: .8rem; color: var(--c-ink-2); margin-bottom: .6rem; line-height: 1.6; }

.agree-box {
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.agree-box legend { font-size: .78rem; font-weight: 700; color: var(--c-muted); padding: 0 .3rem; }
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: var(--c-ink-2);
  padding: .5rem 0;
  cursor: pointer;
}
.checkbox-line input { margin-top: .2rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--c-brand); }

.form-error {
  color: #d63b3b;
  font-size: .82rem;
  font-weight: 700;
  margin-top: .8rem;
  text-align: center;
}
.consult-done {
  color: var(--c-teal-d);
  font-size: .88rem;
  font-weight: 700;
  margin-top: 1rem;
  text-align: center;
}

.done-section { text-align: center; padding: 1.6rem 0; animation: fadeIn .3s ease; }
.done-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-teal-bg);
  color: var(--c-teal-d);
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.done-section h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.done-section p { font-size: .87rem; color: var(--c-ink-2); margin-bottom: 1.2rem; }

/* ---------- Consult section ---------- */
.section-consult { background: var(--c-bg); }
.consult-wrap, .fl-form-wrap {
  max-width: 640px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}

/* TimeRex埋め込み（index.html / freelance.html 共通） */
.timerex-embed {
  border-radius: var(--r-md);
  overflow: hidden;
}
.timerex-embed iframe { display: block; }

/* 診断結果からの自動入力を知らせる注記（index.html / freelance.html 共通） */
.lead-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--c-teal-bg);
  color: var(--c-teal-d);
  border: 1.5px solid #a8e0dc;
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* ---------- Trust ---------- */
.section-trust { background: var(--c-white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.trust-card { text-align: center; padding: 1rem; }
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
}
.trust-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: .5rem; }
.trust-card p { font-size: .85rem; color: var(--c-ink-2); line-height: 1.8; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--c-bg); }
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  list-style: none;
  position: relative;
  padding-right: 1.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -.15rem;
  font-size: 1.3rem;
  color: var(--c-brand-d);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: .85rem; color: var(--c-ink-2); margin-top: .7rem; line-height: 1.8; }

/* ---------- Final CTA ---------- */
.section-final {
  background: linear-gradient(145deg, var(--c-brand-d), var(--c-brand));
  color: var(--c-white);
}
.final-eyebrow { font-size: .85rem; font-weight: 700; opacity: .9; margin-bottom: .8rem; }
.final-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}
.final-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.final-note { font-size: .8rem; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, .75); padding: 2.6rem 0 5rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.footer-logo-icon { width: 26px; height: 26px; }
.footer-logo-text { font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--c-white); }
.footer-desc { font-size: .8rem; }
.footer-copy { font-size: .75rem; opacity: .7; }

/* 事業者情報（許可番号）— 有料職業紹介事業の表示義務対応 */
.footer-legal {
  margin: 1.1rem 0 .3rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  width: 100%;
  max-width: 30rem;
}
.footer-legal-list { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .8rem; }
.footer-legal-row { display: flex; justify-content: center; gap: .6rem; font-size: .75rem; line-height: 1.6; }
.footer-legal-row dt { color: rgba(255, 255, 255, .55); white-space: nowrap; }
.footer-legal-row dd { color: rgba(255, 255, 255, .85); }
.footer-links { font-size: .75rem; }
.footer-links a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: var(--c-white); }
@media (max-width: 600px) {
  .footer-legal-row { flex-direction: column; gap: .1rem; }
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-d));
  color: var(--c-white);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: .95rem 1rem calc(.95rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-visual { order: 2; max-width: 320px; margin-inline: auto; }
  .hero-tags, .hero-sub { margin-inline: auto; }
  .hero-sub { max-width: none; }

  .value-grid, .trust-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pain-list { grid-template-columns: 1fr; }

  .sticky-cta { display: flex; }
  .section { padding: var(--sp-lg) 0; }
}

@media (max-width: 600px) {
  .header-inner { height: 56px; }
  .btn-header { padding: .5rem 1rem; font-size: .78rem; }
  .hero { padding: 2.4rem 0 4.5rem; }
  .diag-wrap, .consult-wrap, .fl-form-wrap { padding: 1.3rem 1rem; }
  .final-cta-group { flex-direction: column; align-items: stretch; }
  .final-cta-group .btn { width: 100%; max-width: 340px; margin-inline: auto; }
}

/* ==========================================================================
   フェーズ1改善：受け取り方法の選択・同意統合・Sticky CTA
   ========================================================================== */

/* スクリーンリーダー専用（視覚的に隠す） */
.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;
}

/* 同意ボックス内のリンク */
.agree-box a {
  color: var(--c-brand-d);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.agree-box a:hover { color: var(--c-brand); }

/* 任意項目の同意行は少し弱く見せる */
.checkbox-line--optional { color: var(--c-muted); }
.checkbox-line--optional span { font-size: .82rem; }

/* 受け取り方法の選択（LINEを主役に） */
.receive-choice { margin-top: 1.4rem; }
.receive-choice-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-muted);
  text-align: center;
  margin-bottom: .7rem;
}
.receive-choice .btn + .btn { margin-top: .7rem; }

/* ボタン内の補足テキスト（「最短・面談予約もそのまま」など） */
.btn-note {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  opacity: .85;
  margin-top: .15rem;
}

/* メールを選んだときに出る枠 */
#email-field-wrap { margin-top: 1.1rem; }

/* 副次的な選択肢用のアウトラインボタン */
.btn-outline {
  background: transparent;
  color: var(--c-ink-2);
  border: 1.5px solid var(--c-line-2);
}
.btn-outline:hover {
  background: var(--c-white);
  border-color: var(--c-muted);
  color: var(--c-ink);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .receive-choice-label { font-size: .78rem; }
  .btn-note { font-size: .68rem; }
}

/* ==========================================================================
   フェーズ2：診断結果の2段階化（無料パート／登録後の続きパート）
   ========================================================================== */

/* 「続きがある」ことを伝えるティザー行 */
.detail-tease {
  margin-top: 1rem;
  padding: .75rem .9rem;
  background: var(--c-bg);
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-md);
  color: var(--c-muted);
  font-size: .82rem;
  line-height: 1.75;
  text-align: left;
}
.detail-tease strong { color: var(--c-ink); font-weight: 700; }
.detail-tease i { color: var(--c-brand); margin-right: .3rem; }

/* 続きパート本体 */
.result-detail { margin-top: 1.3rem; text-align: left; }
.detail-block { margin-bottom: 1.25rem; }
.detail-block:last-child { margin-bottom: 0; }
.detail-h {
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: .45rem;
  padding-left: .55rem;
  border-left: 3px solid var(--c-brand);
}
.detail-p { font-size: .86rem; line-height: 1.9; color: var(--c-ink-2); }
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li {
  font-size: .86rem;
  line-height: 1.8;
  color: var(--c-ink-2);
  margin-bottom: .4rem;
  padding-left: 1.3rem;
  position: relative;
}
.detail-list li i {
  color: var(--c-brand);
  position: absolute;
  left: 0;
  top: .35rem;
  font-size: .78rem;
}
.detail-block--caution .detail-h { border-left-color: var(--c-muted); }
.detail-block--caution .detail-p { color: var(--c-muted); font-size: .82rem; }

/* 未登録のあいだはぼかしてロック
   ※ CSSのみのため開発者ツールで外せる。機密性のある内容は書かないこと。 */
.result-detail--locked {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  max-height: 190px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}

@media (max-width: 600px) {
  .result-detail--locked { max-height: 150px; }
  .detail-p, .detail-list li { font-size: .82rem; }
}

/* ==========================================================================
   参考デザイン（syscom / gohp.jp）に寄せたレイアウト調整
   ========================================================================== */

/* ---------- セクション見出し：英字ラベル＋日本語見出しの2段構成 ---------- */
.sec-label {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-brand);
  text-transform: uppercase;
  margin-bottom: .5rem;
  text-align: center;
}
.sec-label::before {
  content: "";
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--c-brand);
  vertical-align: middle;
  margin-right: .5rem;
}
.sec-label--left { text-align: left; }

/* 日本語の大見出し：太く・詰めて・左に青のアクセント無し（中央寄せ） */
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.45;
  color: var(--c-ink);
}

/* ---------- セクション背景の交互配置（白 ⇄ 淡いブルーグレー） ---------- */
.section { padding: var(--sp-xl) 0; }
.section--white { background: var(--c-white); }
.section--tint  { background: var(--c-bg); }
.section--navy  { background: var(--grad-navy); }
.section--navy .section-title,
.section--navy .diag-intro { color: var(--c-white); }

/* ---------- 実績・信頼を数値で見せるブロック ---------- */
.stats-band {
  background: var(--grad-brand);
  padding: var(--sp-lg) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::after {
  content: "CAREER";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  color: rgba(255, 255, 255, .07);
  letter-spacing: .12em;
  white-space: nowrap;
  pointer-events: none;
}
.stats-lead {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 3.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem;
}
.stat-cap { font-size: .8rem; font-weight: 500; opacity: .95; line-height: 1.5; margin-bottom: .3rem; }
.stat-num { font-family: var(--font-head); font-size: clamp(1.4rem, 4.5vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.stat-unit { font-size: .8rem; opacity: .95; margin-top: .25rem; }

/* ---------- お悩みカード（淡い背景に白いピル） ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.pain-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .87rem;
  line-height: 1.7;
  color: var(--c-ink-2);
  box-shadow: var(--shadow-sm);
}
.pain-card i { color: var(--c-brand); font-size: 1rem; flex-shrink: 0; }

/* ---------- 番号付きの「強み」リスト ---------- */
.strength-list { list-style: none; padding: 0; margin: 0; }
.strength-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-line);
}
.strength-item:last-child { border-bottom: none; }
.strength-num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--c-brand);
  flex-shrink: 0;
  min-width: 2rem;
  line-height: 1.7;
}
.strength-body { font-size: .88rem; line-height: 1.85; color: var(--c-ink-2); }
.strength-body strong { display: block; color: var(--c-ink); font-weight: 700; margin-bottom: .15rem; }

/* ---------- ヒーロー：ネイビー基調＋大きな見出し ---------- */
.hero { background: var(--grad-navy); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(59, 134, 232, .32) 0%, transparent 55%);
  pointer-events: none;
}
.hero-title { color: var(--c-white); font-weight: 900; line-height: 1.4; letter-spacing: .01em; }
.hero-title .accent { color: var(--c-brand-l); }
.hero-sub, .hero-lead { color: rgba(255, 255, 255, .82); }
.hero-note { color: rgba(255, 255, 255, .6); }

/* ---------- 最終CTA：ブルーの面で締める ---------- */
.section-final { background: var(--grad-brand); }
.section-final .section-title,
.section-final .final-lead { color: var(--c-white); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .pain-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: var(--sp-lg) 0; }
  .stats-grid { gap: .7rem; }
  .stat-item { border-radius: var(--r-md); aspect-ratio: auto; padding: .9rem .4rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .sec-label { font-size: .66rem; }
  .strength-item { gap: .7rem; }
}

/* ---------- ヒーロー内テキストの可読性（ネイビー背景に合わせた上書き） ---------- */
.hero-eyebrow {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}
.hero-title .hl {
  color: var(--c-brand-l);
  background: none;
}
.hero-tags .tag {
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}
.hero-tags .tag i { color: var(--c-brand-l); }
.hero .cta-note { color: rgba(255, 255, 255, .6); }
.hero-wave svg path { fill: var(--c-white); }

/* ヒーロー直下は診断セクション（白）。波形の色を合わせる */
.hero { padding-bottom: var(--sp-lg); }

/* モバイルでのみ改行させるヘルパー */
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: inline; } }

/* ---------- レンダリング確認で見つかった調整 ---------- */

/* 固定ヘッダーの下にアンカー先が潜り込まないようにする */
.section, .stats-band, .hero { scroll-margin-top: 76px; }

/* 統計の円が大きくなりすぎるのを抑える */
.stat-item {
  max-width: 190px;
  width: 100%;
  margin: 0 auto;
}
.stats-band { padding: var(--sp-xl) 0; }

/* お悩みカードと締めの一文の間に余白を入れる */
.pain-cta {
  margin-top: 1.8rem;
  text-align: center;
  font-size: .9rem;
  color: var(--c-ink-2);
  font-weight: 500;
}

@media (max-width: 600px) {
  .section, .stats-band, .hero { scroll-margin-top: 64px; }
  .stat-item { max-width: none; }
}

/* 小型端末（〜430px）で .line-box が横にはみ出す問題の修正
   flexの子要素は既定で min-width:auto のため縮まない。 */
.line-box-body { min-width: 0; }
.line-box-body .btn { max-width: 100%; white-space: normal; }
@media (max-width: 430px) {
  .line-box { flex-direction: column; align-items: stretch; }
  .line-box-icon { margin-bottom: .2rem; }
}

/* ルートCTAを新しいブルー基調に統一（ティール＝業務委託ルートの差し色として残す） */
.route-cta {
  background: var(--c-brand-bg);
  border-color: #bcd8f8;
}
.route-headline { color: var(--c-brand-d); }
.route-points li i { color: var(--c-brand); }

/* 診断結果のルートCTAボタンもブルーに統一 */
.btn-next {
  background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(13, 99, 208, .28);
}
.btn-next:hover { box-shadow: 0 12px 26px rgba(13, 99, 208, .36); }

/* ==========================================================================
   デザイン質感の調整（コーポレート青基調・参考: syscom / gohp.jp 系）
   構造は変えず、余白・タイポ・陰影・アクセントの整合性を寄せる
   ========================================================================== */

/* ---- Section labels（英字ラベル）を少し洗練 ---- */
.sec-label {
  display: inline-block;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--c-brand);
  text-transform: uppercase;
  margin-bottom: .6rem;
  padding: .2rem 0;
  position: relative;
}
.sec-label::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--c-brand);
  vertical-align: middle;
  margin-right: .55rem;
  transform: translateY(-2px);
}

/* ---- Section title（英字ラベルとの2段構成をきちんと見せる）---- */
.section-title {
  letter-spacing: .02em;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

/* ---- Section 交互配置の背景を整える ---- */
.section--white { background: var(--c-white); }
.section--tint  { background: var(--c-bg); }

/* ---- 陰影を青みで統一（オレンジ影を無効化）---- */
.btn-primary {
  box-shadow: 0 8px 20px rgba(13, 99, 208, .28);
}
.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(13, 99, 208, .38);
}

/* ---- Hero: 参考サイト寄りの落ち着いた見出しに ---- */
.hero-title {
  letter-spacing: .01em;
  line-height: 1.5;
}
.hero-eyebrow {
  letter-spacing: .18em;
  font-size: .72rem;
}

/* ---- Card 系の共通トーンを寄せる（見た目の統一）---- */
.card,
.value-item,
.pain-item,
.trust-item,
.faq-item,
.consult-wrap,
.contact-section,
.result-box {
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover,
.value-item:hover,
.pain-item:hover,
.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line-2);
}

/* ---- 数値ブロック（Trust セクション）を強調 ---- */
.trust-item strong,
.trust-num {
  color: var(--c-brand);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
}

/* ---- Footer / Navy 系を締める ---- */
.site-footer {
  background: var(--grad-navy);
  color: var(--c-white);
}

/* ---- Sticky CTA を控えめに（コーポレート寄り）---- */
.sticky-cta {
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-d));
  box-shadow: 0 10px 24px rgba(13, 99, 208, .35);
  letter-spacing: .02em;
}

/* ---- 診断結果カードの余白を広げて品を出す ---- */
.result-box {
  padding: 2rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--c-white);
}

/* ---- モバイルの詰めを緩める ---- */
@media (max-width: 600px) {
  .section { padding: var(--sp-lg) 0; }
  .sec-label { font-size: .68rem; letter-spacing: .18em; }
  .sec-label::before { width: 16px; margin-right: .4rem; }
}

/* ==========================================================================
   日本語の折り返し最適化（第17リクエスト対応）
   --------------------------------------------------------------------------
   ブラウザ標準の日本語改行は文節を無視して任意の位置で折り返すため、
   「1分診断。」が「1分診 ／ 断。」のように割れてしまう。
   以下の3点で文節単位の自然な改行に寄せる。

   - word-break: auto-phrase … 文節（形態素）単位で折り返す（Chrome / Edge）
   - line-break: strict       … 禁則処理を厳格に適用（行頭の「。」「」」等を防ぐ）
   - text-wrap: balance       … 見出しの各行長を均等化。末尾に1〜2文字だけ残るのを防ぐ
                                （auto-phrase 非対応のSafari / Firefoxでも効く）
   本文は balance ではなく pretty を使う（balanceは行数の多い段落では無効になるため）。
   ========================================================================== */

/* 見出し類：行長を均等化して尻切れを防ぐ */
h1, h2, h3, h4,
.hero-title,
.section-title,
.final-title,
.stats-lead,
.route-headline,
.result-title,
.contact-title,
.q-title,
.detail-h,
.faq-item summary,
.line-box-body strong,
.job-title {
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: balance;
}

/* 本文類：文節改行＋孤立行の抑制 */
p, li, dd, dt, figcaption, label, .field label, .checkbox-line span,
.hero-sub,
.diag-intro,
.detail-p,
.route-body,
.result-desc,
.detail-tease,
.contact-desc,
.pain-card span,
.value-card p,
.trust-card p,
.cta-note,
.final-note,
.footer-desc {
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}

/* 短い語句を絶対に途中で割らせないためのユーティリティ。
   .ph は「文節のかたまり」。inline-blockなので、かたまりの境界で改行され、
   かたまりの内部では（幅が足りる限り）改行されない。 */
.ph { display: inline-block; }

/* .nb は完全に改行を禁止する。ごく短い語句にのみ使うこと
   （長い文に付けると画面からはみ出す） */
.nb { white-space: nowrap; }

/* ==========================================================================
   合言葉ボックス（第17リクエスト対応 / LINE配信 案A）
   --------------------------------------------------------------------------
   LINEは友だち追加だけでは「誰がどの診断を受けたか」を紐付けられない。
   そこで診断タイプごとの合言葉を表示し、ユーザー自身にトークへ送ってもらう。
   LINE側は「キーワード応答」で該当タイプの結果を自動返信する（応答メッセージは
   配信通数にカウントされず無料）。
   ========================================================================== */
.keyword-box {
  margin-top: 1.4rem;
  padding: 1.3rem 1.2rem;
  background: #eafcf1;
  border: 1.5px solid #b8ecc9;
  border-radius: var(--r-lg);
  text-align: center;
}
.keyword-lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--c-ink);
  margin-bottom: .5rem;
}
.keyword-desc {
  font-size: .82rem;
  color: var(--c-ink-2);
  line-height: 1.8;
  margin-bottom: .9rem;
}
.keyword-chip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .9rem;
}
.keyword-chip {
  display: inline-block;
  background: var(--c-white);
  border: 2px dashed var(--c-line-brand);
  border-radius: var(--r-md);
  padding: .6rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--c-ink);
  white-space: nowrap;
}
.keyword-copy {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-pill);
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-ink-2);
  transition: background .18s, color .18s, border-color .18s;
}
.keyword-copy:hover { background: var(--c-bg); border-color: var(--c-line-brand); color: var(--c-ink); }
.keyword-copy.copied { background: var(--c-line-brand); border-color: var(--c-line-brand); color: var(--c-white); }

/* 迷惑メール注意の一文 */
.done-note {
  margin-top: .6rem;
  font-size: .8rem;
  color: var(--c-ink-2);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: .6rem .9rem;
  line-height: 1.7;
}
.done-note i { color: var(--c-accent-d); margin-right: .3rem; }

/* 続きはLINE・メールで届く旨のプレースホルダ（結果エリア下部） */
.detail-rest {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--c-brand-bg);
  border: 1.5px dashed var(--c-brand-l);
  border-radius: var(--r-md);
  font-size: .86rem;
  color: var(--c-ink-2);
  line-height: 1.8;
}
.detail-rest strong { color: var(--c-brand-d); }
.detail-rest i { color: var(--c-brand); margin-right: .35rem; }

@media (max-width: 600px) {
  .keyword-chip { font-size: 1.05rem; padding: .55rem 1.1rem; }
}

/* ---------- ヒーロー本文を2行に収める（第17リクエスト対応の追補） ----------
   「正社員で…診断サービス。」「営業専門アドバイザーとの…整理します。」を
   それぞれ1行で見せるため、テキスト列を広げて上限幅を外す。
   モバイルでは幅が足りないので、通常どおり折り返す（.phの境界で折り返る）。 */
@media (min-width: 901px) {
  .hero-inner { grid-template-columns: 1.35fr .65fr; }
  .hero-sub { max-width: none; font-size: .92rem; }
}

/* ==========================================================================
   診断結果サンプル（#result-sample）— 第19リクエストで追加
   ========================================================================== */
.sample-lead {
  text-align: center;
  color: var(--c-ink-2);
  font-size: .92rem;
  line-height: 1.9;
  margin-bottom: var(--sp-md);
}
.sample-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sample-card-head {
  background: var(--grad-brand);
  color: var(--c-white);
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
}
.sample-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .2);
  border-radius: var(--r-pill);
  padding: .18rem .8rem;
  font-size: .7rem;
  letter-spacing: .04em;
  margin-bottom: .6rem;
}
.sample-type {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  margin-bottom: .4rem;
}
.sample-oneline { font-size: .88rem; opacity: .92; line-height: 1.8; }
.sample-body { padding: var(--sp-md) var(--sp-sm) var(--sp-sm); }
.sample-body-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: var(--sp-sm);
}
.sample-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.sample-list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  background: var(--c-brand-bg);
  border-left: 3px solid var(--c-brand-l);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .7rem .9rem;
}
.sample-list li strong { font-size: .88rem; color: var(--c-ink); }
.sample-list li span { font-size: .78rem; color: var(--c-ink-2); line-height: 1.7; }
.sample-note {
  font-size: .76rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-top: var(--sp-sm);
}
.sample-cta { padding: 0 var(--sp-sm) var(--sp-md); text-align: center; }

/* ==========================================================================
   ご利用の流れ（#flow）— 第19リクエストで追加
   ========================================================================== */
.flow-lead {
  text-align: center;
  color: var(--c-ink-2);
  font-size: .92rem;
  line-height: 1.9;
  margin-bottom: var(--sp-md);
}
.flow-list {
  list-style: none;
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
}
.flow-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: var(--sp-md);
}
.flow-item:last-child { padding-bottom: 0; }
/* ステップをつなぐ縦線 */
.flow-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.05rem;
  top: 2.4rem;
  bottom: .4rem;
  width: 2px;
  background: var(--c-line-2);
}
.flow-num {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: var(--c-white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.flow-body { padding-top: .1rem; }
.flow-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
  margin-bottom: .3rem;
}
.flow-body p { font-size: .85rem; color: var(--c-ink-2); line-height: 1.9; }
.flow-note {
  text-align: center;
  font-size: .78rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-top: var(--sp-md);
}
@media (max-width: 600px) {
  .flow-item { gap: .8rem; }
  .flow-item:not(:last-child)::before { left: .95rem; }
  .flow-num { width: 1.9rem; height: 1.9rem; font-size: .85rem; }
}

/* ==========================================================================
   ハニーポット（スパム対策）— 第19リクエストで追加
   display:none は「非表示欄は無視する」bot に見抜かれやすいため、
   画面外へ飛ばす方式にする。スクリーンリーダーは aria-hidden で除外済み。
   ========================================================================== */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ==========================================================================
   A8提案ページ（proposal.html）— 第19リクエストで追加
   ========================================================================== */
/* 広告表示バンド：ページ最上部で必ず目に入る位置に置く（ステマ規制対応） */
.ad-notice-band {
  background: var(--c-accent-bg);
  border-bottom: 1px solid #f3d9c5;
  padding: var(--sp-sm) 0;
  margin-top: 3.6rem; /* 固定ヘッダー分 */
}
.ad-notice {
  border-left: 3px solid var(--c-accent);
  padding-left: .9rem;
}
.ad-notice-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--c-accent-d);
  margin-bottom: .5rem;
}
.ad-notice p {
  font-size: .76rem;
  line-height: 1.85;
  color: var(--c-ink-2);
}
.ad-notice p + p { margin-top: .5rem; }

.proposal-lead {
  font-size: .92rem;
  line-height: 1.95;
  color: var(--c-ink-2);
  margin-bottom: var(--sp-sm);
}
.proposal-lead-sub {
  font-size: .82rem;
  line-height: 1.9;
  color: var(--c-muted);
}

/* 選び方の観点 */
.point-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.point-card {
  display: flex;
  gap: .9rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-sm);
  box-shadow: var(--shadow-sm);
}
.point-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--c-brand-l);
  flex: 0 0 auto;
  line-height: 1.4;
}
.point-card h3 { font-size: .95rem; font-weight: 700; color: var(--c-ink); margin-bottom: .35rem; }
.point-card p { font-size: .82rem; line-height: 1.85; color: var(--c-ink-2); }

/* 提案カード */
.svc-list { display: flex; flex-direction: column; gap: var(--sp-md); }
.svc-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-sm);
  box-shadow: var(--shadow-sm);
}
.svc-card-head { margin-bottom: .7rem; }
.svc-tag {
  display: inline-block;
  background: var(--c-brand-bg);
  color: var(--c-brand-d);
  font-size: .7rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: .18rem .7rem;
  margin-bottom: .5rem;
}
.svc-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--c-ink);
}
.svc-desc { font-size: .85rem; line-height: 1.9; color: var(--c-ink-2); margin-bottom: .9rem; }
.svc-meta { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin-bottom: var(--sp-sm); }
.svc-meta li { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--c-ink-2); }
.svc-meta i { color: var(--c-brand-l); font-size: .75rem; }
.svc-note { font-size: .72rem; color: var(--c-muted); text-align: center; margin-top: .6rem; line-height: 1.7; }

.back-note { font-size: .85rem; color: var(--c-ink-2); margin-bottom: var(--sp-sm); }
