/* 担当者レンタル — 配色はA4チラシ（2026年9月版）に合わせる */
:root {
  color-scheme: light;

  --navy: #183b50;        /* 見出し */
  --ink: #203c4c;         /* 本文 */
  --ink-2: #526874;       /* 補足の文字（白地 5.85、灰地 5.27） */
  --pink: #c64f7b;        /* チラシのアクセント。飾り・大きな数字・図の線に限る（白地 4.37） */
  --pink-text: #b03f6a;   /* 小さな文字とボタンのピンク（白地 5.58、淡ピンク地 4.89） */
  --pink-hover: #963459;
  --pink-bg: #f9edf2;
  --gray-bg: #eff4f6;
  --line: #d6e1e6;
  --white: #ffffff;
  --chart-rental: #c64f7b;  /* 図A：担当者レンタル（検証済みの組み合わせ） */
  --chart-hire: #2a78d6;    /* 図A：専任を雇う */

  --radius: 12px;
  --gutter: 16px;
  --max: 1080px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  border-top: 6px solid var(--pink);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-text); }
a:hover { color: var(--pink-hover); }
:focus-visible { outline: 3px solid var(--pink-text); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.45; margin: 0; letter-spacing: 0.01em; }
h1, h2, h3, .conclusion__main, .founder__motive, .voice blockquote, .contact__title { word-break: auto-phrase; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { color: var(--navy); }

@media (max-width: 767px) { .br-pc { display: none; } }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white); padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; flex-direction: column; text-decoration: none; border-left: 4px solid var(--pink); padding-left: 12px; }
.brand__name { color: var(--navy); font-weight: 700; font-size: 18px; line-height: 1.3; }
.brand__sub { color: var(--ink-2); font-size: 11px; line-height: 1.4; }
.site-nav { display: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: var(--pink-text); }
@media (min-width: 960px) {
  .site-nav { display: flex; gap: 24px; align-items: center; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  background: var(--pink-text); color: var(--white);
  font-weight: 700; font-size: 16px; text-decoration: none;
  border-radius: 999px; border: 0;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--pink-hover); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 36px; font-size: 18px; }
.btn--light { background: var(--white); color: var(--pink-text); }
.btn--light:hover { background: var(--pink-bg); color: var(--pink-hover); }
.btn__arrow { font-size: 0.9em; }

/* ---------- セクション共通 ---------- */
.section { padding: 64px 0; }
.section--gray { background: var(--gray-bg); }
.section--pink { background: var(--pink-bg); }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.section__label {
  display: inline-block; margin-bottom: 12px;
  color: var(--pink-text); font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
}
.section__title { font-size: 24px; font-weight: 700; }
@media (min-width: 768px) { .section__title { font-size: 32px; } }
.section__lead { margin-top: 16px; color: var(--ink-2); max-width: 44em; }
.section__head { margin-bottom: 40px; }

/* ---------- 0. ヒーロー ---------- */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%); }
@media (min-width: 768px) { .hero { padding: 80px 0 104px; } }
.hero__inner { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr auto; grid-template-areas: "eyebrow badge" "title title" "body body"; align-items: start; column-gap: 32px; }
  .hero__eyebrow { grid-area: eyebrow; align-self: center; }
  .badge { grid-area: badge; }
  .hero__title { grid-area: title; }
  .hero__body { grid-area: body; max-width: 760px; }
}
.hero__eyebrow { color: var(--ink-2); font-size: 14px; font-weight: 700; }
.hero__title { margin-top: 8px; font-size: 28px; font-weight: 700; line-height: 1.45; }
@media (min-width: 768px) { .hero__title { font-size: 44px; } }
@media (min-width: 1024px) { .hero__title { font-size: 50px; } }
.hero__pains { margin-top: 20px; color: var(--ink-2); font-size: 16px; }
@media (min-width: 768px) { .hero__pains { font-size: 18px; } }
.hero__what {
  margin-top: 28px; padding: 20px 24px;
  background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--pink);
  box-shadow: 0 1px 2px rgba(24, 59, 80, 0.06);
}
.hero__what-label { color: var(--pink-text); font-weight: 700; font-size: 14px; }
.hero__what p { margin-top: 4px; color: var(--navy); font-weight: 700; font-size: 17px; }
@media (min-width: 768px) { .hero__what p { font-size: 20px; } }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__note { color: var(--ink-2); font-size: 14px; }

.badge {
  justify-self: start; margin: 0;
  background: var(--pink-bg); border-radius: var(--radius);
  padding: 10px 18px; text-align: left;
}
.badge__small { display: block; color: var(--pink-text); font-size: 13px; font-weight: 700; }
.badge__big { display: block; color: var(--pink-text); font-size: 18px; font-weight: 700; line-height: 1.3; }
.badge__big span { font-size: 24px; }
@media (min-width: 768px) { .badge { padding: 14px 22px; } .badge__big { font-size: 22px; } .badge__big span { font-size: 28px; } }

/* ---------- 1. 課題 ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card__title { font-size: 18px; font-weight: 700; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.card__num { display: block; color: var(--pink); font-weight: 700; font-size: 28px; line-height: 1; margin-bottom: 12px; }

/* ---------- 2. 三者の声 ---------- */
.voices { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .voices { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.voice {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 24px 24px 24px 28px; border-left: 4px solid var(--pink);
}
.voice__who { color: var(--pink-text); font-weight: 700; font-size: 14px; }
.voice blockquote { margin: 8px 0 0; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.7; }
.conclusion { margin-top: 40px; text-align: left; }
.conclusion p { color: var(--ink-2); }
.conclusion__main { margin-top: 12px !important; color: var(--navy) !important; font-size: 20px; font-weight: 700; line-height: 1.6; }
@media (min-width: 768px) { .conclusion { text-align: center; } .conclusion__main { font-size: 26px; } }

/* ---------- 3. 特長 ---------- */
.features { display: grid; gap: 32px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.feature__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); }
.feature__num { flex: none; color: var(--pink); font-size: 32px; font-weight: 700; line-height: 1; }
.feature__title { font-size: 18px; }
.feature p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }

/* ---------- 3.5 役割分担 ---------- */
.roles-lead { margin-bottom: 32px; font-size: 17px; }
.roles { display: grid; gap: 12px; }
.roles__head {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; border-radius: var(--radius); font-weight: 700; font-size: 17px; color: var(--navy);
}
.roles__head--company { background: var(--gray-bg); }
.roles__head--rental { background: var(--pink-bg); }
.roles__contract { display: none; }
.role {
  border-radius: var(--radius); padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line);
}
.role--rental { border-color: #ecc9d7; }
.role__title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.role ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: 15px; }
.role__tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--pink-text);
  background: var(--pink-bg); border-radius: 999px; padding: 2px 10px;
}
.roles__down { color: var(--ink-2); font-size: 14px; padding-left: 22px; }
.roles__link { display: none; }
.roles__spacer { display: none; }

/* スマホ：企業 → 担当者レンタルの順に縦に並べる */
.roles > .roles__head--company { order: 1; }
.roles > .role--company-top { order: 2; }
.roles > .roles__down { order: 3; }
.roles > .role--company-bottom { order: 4; }
.roles > .roles__head--rental { order: 5; margin-top: 20px; }
.roles > .role--rental-top { order: 6; }
.roles > .role--rental-bottom { order: 7; }

@media (min-width: 900px) {
  .roles {
    grid-template-columns: 1fr 150px 1fr;
    grid-template-areas:
      "hc   contract hr"
      "ct   link1    rt"
      "down .        ."
      "cb   link2    rb";
    align-items: center;
    column-gap: 0; row-gap: 12px;
  }
  .roles > * { order: 0 !important; margin-top: 0 !important; }
  .roles__head--company { grid-area: hc; }
  .roles__head--rental { grid-area: hr; }
  .role--company-top { grid-area: ct; align-self: stretch; }
  .role--company-bottom { grid-area: cb; align-self: stretch; }
  .role--rental-top { grid-area: rt; align-self: stretch; }
  .role--rental-bottom { grid-area: rb; align-self: stretch; }
  .roles__down { grid-area: down; text-align: center; padding: 0; }
  .roles__contract, .roles__link {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: var(--pink-text); font-size: 13px; font-weight: 700; text-align: center;
  }
  .roles__contract { grid-area: contract; }
  .roles__link--1 { grid-area: link1; }
  .roles__link--2 { grid-area: link2; }
  .roles__arrow { color: var(--pink); display: block; }
  .role__tag { display: none; }
}

/* ---------- 4. コスト ---------- */
.cost { display: grid; gap: 32px; }
.cost__text { max-width: 46em; }
.cost__text p { font-size: 16px; }
.cost__text strong { background: linear-gradient(transparent 62%, var(--pink-bg) 62%); }
.figure { margin: 0; max-width: 900px; background: var(--white); border-radius: var(--radius); padding: 16px 8px 16px; border: 1px solid var(--line); }
.chart--wide { display: none !important; }
@media (min-width: 768px) { .chart--wide { display: block !important; } .chart--narrow { display: none !important; } }
@media (min-width: 768px) { .figure { padding: 28px 24px 20px; } }
.figure svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.figure figcaption { margin-top: 12px; padding: 0 8px; color: var(--navy); font-weight: 700; font-size: 15px; }
.cost__after { max-width: 46em; }
.cost__after p { font-size: 15px; }
.cost__price { margin-top: 16px !important; color: var(--ink-2); font-size: 14px !important; }

/* ---------- 5. 目指す姿 ---------- */
.goal-lead { font-size: 17px; margin-bottom: 32px; }
.growth { background: var(--white); border-radius: var(--radius); padding: 8px 24px; }
.growth__row { display: grid; gap: 8px; padding: 24px 0; }
.growth__row + .growth__row { border-top: 1px solid var(--line); }
@media (min-width: 768px) { .growth__row { grid-template-columns: 200px 1fr; gap: 24px; } }
.growth__who { color: var(--pink-text); font-weight: 700; font-size: 15px; }
.growth__title { font-size: 18px; }
.growth__row p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.fineprint { margin-top: 16px; color: var(--ink-2); font-size: 13px; }

/* ---------- 6. 支援の段階 ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.step__head { background: var(--navy); color: var(--white); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.step__num { font-size: 24px; font-weight: 700; line-height: 1; }
.step__title { color: var(--white); font-size: 16px; }
.step ul { margin: 0; padding: 16px 18px 20px 2.2em; color: var(--ink); font-size: 14px; line-height: 1.8; }
.step li + li { margin-top: 4px; }

/* ---------- 7. 最初の8週間 ---------- */
.weeks { display: grid; gap: 40px; }
@media (min-width: 960px) { .weeks { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.weeks__intro { font-size: 16px; margin-bottom: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--navy);
}
.timeline__when { display: block; font-weight: 700; color: var(--navy); font-size: 15px; }
.timeline__what { display: block; color: var(--ink-2); font-size: 15px; }
.timeline li.is-key::before { background: var(--pink); border-color: var(--pink); }
.timeline li.is-key .timeline__when { color: var(--pink-text); }
.timeline li.is-key .timeline__what { color: var(--navy); font-weight: 700; }
.deliverables { background: var(--gray-bg); border-radius: var(--radius); padding: 24px; }
.deliverables h3 { font-size: 17px; }
.deliverables ol { margin: 12px 0 0; padding-left: 1.6em; font-size: 15px; columns: 2; column-gap: 24px; }
@media (max-width: 380px) { .deliverables ol { columns: 1; } }
.callout {
  margin-top: 32px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--pink-bg); border-left: 4px solid var(--pink);
}
.callout p { color: var(--navy); font-weight: 700; }
.callout p + p { font-weight: 400; color: var(--ink); margin-top: 8px; }
.pace { margin-top: 16px; color: var(--ink-2); font-size: 14px; }

/* ---------- 8. 向いている会社 ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .checks { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.checks li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 20px; font-weight: 700; color: var(--navy);
}
.checks svg { flex: none; margin-top: 3px; }

/* ---------- 9. 代表 ---------- */
.founder { display: grid; gap: 32px; }
@media (min-width: 900px) { .founder { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; } }
.founder__motive {
  margin: 0 0 28px; color: var(--navy); font-size: 21px; font-weight: 700; line-height: 1.7;
  padding-left: 20px; border-left: 4px solid var(--pink);
}
@media (min-width: 768px) { .founder__motive { font-size: 26px; } }
.founder__story p { font-size: 16px; }
.founder__photo { border-radius: var(--radius); overflow: hidden; background: var(--gray-bg); max-width: 300px; }
.founder__profile { margin-top: 20px; }
.founder__name { font-size: 24px; font-weight: 700; color: var(--navy); }
.founder__role { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.founder__cred { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.founder__career { margin-top: 12px; font-size: 14px; }
/* スマホ：写真と名前を先に、横並びで小さく出す */
@media (max-width: 899px) {
  .founder__aside { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .founder__profile { margin-top: 0; }
  .founder__name { font-size: 20px; }
  .founder__role { display: block; margin-left: 0; }
}

/* ---------- 10. 保証 ---------- */
.promise { display: grid; gap: 16px; }
@media (min-width: 768px) { .promise { grid-template-columns: 1fr 1fr; gap: 24px; } }
.promise__box { border-radius: var(--radius); padding: 24px; background: var(--white); border: 1px solid var(--line); }
.promise__box--yes { border-top: 4px solid var(--navy); }
.promise__box--no { border-top: 4px solid var(--ink-2); }
.promise__box h3 { font-size: 17px; }
.promise__box ul { margin: 12px 0 0; padding-left: 1.3em; font-size: 15px; }
.promise__close { margin-top: 32px; font-size: 16px; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--pink-text); margin-right: 8px; }
.faq summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--pink-text); font-size: 18px;
}
.faq details[open] summary::after { content: "－"; }
.faq__a { padding: 0 20px 20px 20px; color: var(--ink); font-size: 15px; }

/* ---------- 12. お問い合わせ ---------- */
.contact { background: var(--navy); color: var(--white); padding: 64px 0; }
@media (min-width: 768px) { .contact { padding: 88px 0; } }
.contact__title { color: var(--white); font-size: 24px; }
@media (min-width: 768px) { .contact__title { font-size: 32px; } }
.contact p { color: #dbe7ee; margin-top: 16px; }
.contact__free { margin-top: 24px !important; color: var(--white) !important; font-weight: 700; font-size: 18px; }
.contact__cta { margin-top: 28px; }
.contact__privacy { font-size: 13px; }
.contact__privacy a { color: var(--white); }

/* ---------- フッター ---------- */
.site-footer { background: #10293a; color: #c9d7df; padding: 32px 0 40px; font-size: 13px; }
.site-footer a { color: #ffffff; }
.site-footer__inner { display: grid; gap: 12px; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer__name { color: var(--white); font-weight: 700; font-size: 15px; }

/* ---------- 追加：ヒーローの具体的な仕事 ---------- */
.hero__scope { margin-top: 20px; color: var(--ink); font-size: 15px; }
@media (min-width: 768px) { .hero__scope { font-size: 16px; } }

/* ---------- 追加：業務ごとの分担表 ---------- */
.tasks__title { margin-top: 48px; font-size: 18px; }
.tasks { width: 100%; margin-top: 16px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.tasks th, .tasks td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tasks tbody tr:last-child th, .tasks tbody tr:last-child td { border-bottom: 0; }
.tasks thead th { background: var(--navy); color: var(--white); font-size: 14px; }
.tasks thead th:nth-child(2) { background: var(--pink-text); }
.tasks tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; }
.tasks__note { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 767px) {
  .tasks thead { display: none; }
  .tasks, .tasks tbody, .tasks tr, .tasks th, .tasks td { display: block; width: 100%; }
  .tasks tr { border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .tasks tbody tr:last-child { border-bottom: 0; }
  .tasks th, .tasks td { padding: 0; border: 0; white-space: normal; }
  .tasks tbody th { font-size: 16px; margin-bottom: 6px; }
  .tasks td { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; font-size: 14px; }
  .tasks td + td { margin-top: 4px; }
  .tasks td::before { content: attr(data-label); color: var(--ink-2); font-weight: 700; }
  .tasks td:first-of-type::before { color: var(--pink-text); }
}

/* ---------- 追加：料金の仕組み ---------- */
.pricing { max-width: 900px; background: var(--gray-bg); border-radius: var(--radius); padding: 24px; }
@media (min-width: 768px) { .pricing { padding: 32px; } }
.pricing__title { font-size: 18px; }
.pricing__list { margin: 16px 0 0; display: grid; gap: 0; }
.pricing__list > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .pricing__list > div { grid-template-columns: 11em 1fr; gap: 16px; } }
.pricing__list dt { color: var(--navy); font-weight: 700; font-size: 15px; }
.pricing__list dd { margin: 0; font-size: 15px; }
.pricing__note { margin-top: 16px; color: var(--ink-2); font-size: 14px; }

/* ---------- 追加：進めるうえでのお願い ---------- */
.request { margin-top: 24px; background: var(--white); border-radius: var(--radius); padding: 20px 24px; border-left: 4px solid var(--navy); }
.request__title { font-size: 16px; }
.request p { margin-top: 6px; font-size: 15px; color: var(--ink); }
@media (min-width: 768px) { .checks { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 追加：お問い合わせの補足 ---------- */
.contact__em { color: var(--white); }
.contact__details { margin: 16px 0 0; padding-left: 1.3em; color: #dbe7ee; font-size: 15px; }
.contact__details strong { color: var(--white); }

/* ---------- 追加（第4稿）：境界の説明・段階の注記・問い合わせの流れ ---------- */
.btn--wrap { white-space: normal; text-align: center; line-height: 1.5; word-break: auto-phrase; }
@media (max-width: 767px) { .btn--wrap.btn--lg { font-size: 16px; padding: 14px 24px; } }
.roles-boundary { margin: -16px 0 32px; color: var(--ink); font-size: 15px; }
.steps__notes { margin-top: 24px; display: grid; gap: 8px; font-size: 15px; }
.steps__notes p + p { margin-top: 0; color: var(--ink-2); font-size: 14px; }
.contact__flow-title { margin-top: 32px; color: var(--white); font-size: 17px; }
.contact__flow { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: flow; display: grid; gap: 8px; }
@media (min-width: 768px) { .contact__flow { grid-template-columns: repeat(6, 1fr); } }
.contact__flow li {
  counter-increment: flow; position: relative;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px; padding: 10px 12px 10px 44px; color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.contact__flow li::before {
  content: counter(flow); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--white); color: var(--navy);
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) {
  .contact__flow li { padding: 36px 10px 12px; text-align: center; }
  .contact__flow li::before { left: 50%; top: 10px; transform: translateX(-50%); }
}
.doc__part { margin-top: 48px !important; padding: 10px 14px !important; border-left: 0 !important; background: var(--gray-bg); border-radius: 8px; font-size: 17px !important; }

/* ---------- 追加：代表の事例 ---------- */
.case { margin-top: 32px; background: var(--gray-bg); border-radius: var(--radius); padding: 20px 20px 8px; }
@media (min-width: 768px) { .case { padding: 28px 28px 12px; } }
.case__title { font-size: 17px; }
.case__list { margin: 12px 0 0; }
.case__list > div { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .case__list > div { grid-template-columns: 8.5em 1fr; gap: 16px; } }
.case__list dt { color: var(--pink-text); font-weight: 700; font-size: 14px; }
.case__list dd { margin: 0; font-size: 15px; }

/* ---------- 下層ページ（個人情報の取り扱い） ---------- */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: 26px; margin-bottom: 24px; }
.doc h2 { font-size: 18px; margin: 36px 0 10px; padding-left: 12px; border-left: 4px solid var(--pink); }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 1.3em; margin: 8px 0 0; }
.doc__date { margin-top: 40px; color: var(--ink-2); font-size: 14px; }
.doc__back { margin-top: 32px; }

/* 導入支援報告書の見本（/sample/report.html） */
.sample h3 { font-size: 16px; margin: 20px 0 8px; }
.sample ul, .sample ol { padding-left: 1.4em; margin: 8px 0; }
.sample blockquote { margin: 0; }
.sample__badge { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--pink-bg); color: var(--pink-text); font-size: 14px; font-weight: 700; }
.sample__lead { color: var(--ink-2); }
.sample__links { margin-top: 12px; font-size: 15px; }
.sample__verdict { display: flex; align-items: baseline; gap: 16px; margin: 12px 0 16px; padding: 14px 20px; border: 2px solid var(--pink); border-radius: var(--radius); background: var(--pink-bg); color: var(--navy); font-size: 24px !important; font-weight: 700; }
.sample__verdict span { font-size: 14px; color: var(--pink-text); }
.sample__table { overflow-x: auto; margin: 10px 0 8px; -webkit-overflow-scrolling: touch; }
.sample table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.sample th, .sample td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.sample th { background: var(--gray-bg); color: var(--navy); white-space: nowrap; }

/* 見本：相談ルートの図 */
.route { list-style: none; margin: 12px 0 8px; padding: 0; display: grid; gap: 28px; }
.route__step { position: relative; display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.route__step + .route__step::before { content: "↓"; position: absolute; left: 50%; top: -26px; transform: translateX(-50%); color: var(--pink); font-weight: 700; font-size: 18px; line-height: 24px; }
.route__step--self { background: var(--navy); border-color: var(--navy); }
.route__step--self .route__who { color: var(--white); }
.route__num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pink-text); color: var(--white); font-size: 13px; font-weight: 700; }
.route__who { color: var(--navy); font-weight: 700; font-size: 15px; }
.route__when { color: var(--ink-2); font-size: 13px; }
.route__support { margin-top: 12px !important; padding: 10px 14px; border: 1px dashed var(--pink); border-radius: 8px; font-size: 14px; }
@media (min-width: 768px) {
  .route { grid-template-columns: 0.7fr 1fr 1fr 1fr; gap: 32px; align-items: stretch; }
  .route__step + .route__step::before { content: "→"; left: -24px; top: 50%; transform: translateY(-50%); }
  .route__step--self { place-content: center; text-align: center; }
}

/* 見本：最下部の簡易診断への案内 */
.sample__next { margin-top: 56px; padding: 28px 24px; border-radius: var(--radius); background: var(--pink-bg); text-align: center; }
.sample__next-title { color: var(--navy); font-weight: 700; font-size: 20px !important; word-break: auto-phrase; margin-bottom: 8px; }
.sample__next-btns { margin-top: 18px !important; }
.sample__next-sub { margin-top: 12px !important; font-size: 14px !important; }

@media print {
  @page { size: A4; margin: 14mm; }
  body { border-top: 0; font-size: 12px; }
  .skip, .site-header, .site-footer, .sample__links, .sample__next { display: none !important; }
  .route { grid-template-columns: 0.7fr 1fr 1fr 1fr; gap: 24px; }
  .route__step + .route__step::before { content: "→"; left: -20px; top: 50%; transform: translateY(-50%); }
  .doc { padding: 0; }
  .sample table { min-width: 0; font-size: 11px; }
  .sample__table { overflow: visible; }
  .sample h2 { break-after: avoid; }
  .sample tr { break-inside: avoid; }
}
@media screen and (max-width: 767px) {
  .sample table { min-width: 0; }
  .sample thead { display: none; }
  .sample table, .sample tbody, .sample tr, .sample td { display: block; width: 100%; }
  .sample tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .sample td { border: 0; border-bottom: 1px solid var(--line); padding: 6px 12px; }
  .sample td:last-child { border-bottom: 0; }
  .sample td:empty { display: none; }
  .sample td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); }
  .sample td:first-child { background: var(--gray-bg); color: var(--navy); font-weight: 700; }
}

/* ==========================================================
   フォームの部品（どのページでも使える共通部品）
   ========================================================== */
:root {
  --field-border: #8fa5b1;     /* 入力欄の枠（白地 3.0 以上） */
  --field-focus: var(--navy);
  --error: #b42318;            /* エラーの文字（白地 6.5） */
  --error-bg: #fdf0ef;
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field + .field { margin-top: 28px; }
.field__label { display: flex; align-items: flex-start; gap: 10px; padding: 0; color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.6; }
.field__hint { color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.field__error { display: none; color: var(--error); font-size: 14px; font-weight: 700; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .choice__box { border-color: var(--error); }

.input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--white);
  color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus { outline: none; border-color: var(--field-focus); box-shadow: 0 0 0 3px rgba(24, 59, 80, 0.18); }
.input::placeholder { color: #7d909b; }

/* 選択肢（ラジオボタンをカードとして見せる） */
.choices { display: grid; gap: 10px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--white);
  color: var(--ink); font-size: 15px; line-height: 1.55;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice__box::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--field-border); background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.choice:hover .choice__box { border-color: var(--navy); }
.choice__input:checked + .choice__box { border-color: var(--navy); background: #e8f0f4; color: var(--navy); font-weight: 700; }
.choice__input:checked + .choice__box::before { border-color: var(--navy); box-shadow: inset 0 0 0 5px var(--navy); }
.choice__input:focus-visible + .choice__box { outline: 3px solid var(--pink-text); outline-offset: 2px; }

/* はい／途中／いいえ（3つ並びの切り替え） */
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--field-border); border-radius: 10px; overflow: hidden; background: var(--white); }
.segmented .choice + .choice { border-left: 1.5px solid var(--field-border); }
.segmented .choice__box { justify-content: center; min-height: 48px; padding: 10px 6px; border: 0; border-radius: 0; font-size: 15px; }
.segmented .choice__box::before { display: none; }
.segmented .choice__input:checked + .choice__box { background: var(--navy); color: var(--white); }
.segmented .choice__input:focus-visible + .choice__box { outline-offset: -4px; }
.field.is-invalid .segmented { border-color: var(--error); }

.qnum { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; line-height: 1; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-box { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.6; }
.check-box input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }

/* ==========================================================
   簡易診断（/check/）— 1画面に1つのまとまり。質問が先、送り先は最後
   ========================================================== */
.diag { padding: 32px 0 88px; background: var(--gray-bg); min-height: calc(100vh - 70px); }
.diag__wrap { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.diag__card { padding: 28px 20px 24px; border-radius: 16px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 41, 58, 0.06), 0 8px 24px rgba(16, 41, 58, 0.06); }
@media (min-width: 640px) { .diag__card { padding: 40px 44px 36px; } .diag { padding-top: 48px; } }
.diag__eyebrow { color: var(--pink-text); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.diag__title { margin-top: 6px !important; color: var(--navy); font-size: 24px; line-height: 1.45; word-break: auto-phrase; }
@media (min-width: 640px) { .diag__title { font-size: 28px; } }
.diag__lead { margin-top: 12px !important; color: var(--ink-2); font-size: 15px; }
.diag__body { margin-top: 28px; }
.diag__title:focus { outline: none; }

/* 進み具合 */
.progress { margin-bottom: 24px; }
.progress__text { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.progress__bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 8px; }
.progress__seg { height: 6px; border-radius: 3px; background: var(--line); }
.progress__seg.is-done { background: var(--navy); }
.progress__seg.is-current { background: var(--pink); }

/* 質問のまとまり（任せる業務 など） */
.qgroup + .qgroup { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.qgroup__title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px !important; color: var(--navy); font-size: 18px; }
.qgroup__title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--pink); }

/* 下部の操作 */
.diag__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.diag__nav .btn { min-width: 160px; }
.diag__back { min-height: 48px; padding: 8px 4px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.diag__back:hover { color: var(--navy); }
.diag__nav-spacer { flex: 1; }
.diag__summary-error { margin-top: 16px !important; padding: 12px 16px; border-radius: 10px; background: var(--error-bg); color: var(--error); font-size: 14px; font-weight: 700; }
.diag__note { margin-top: 16px !important; color: var(--ink-2); font-size: 13px; text-align: center; }
.diag .btn { border: 0; font-family: inherit; cursor: pointer; }
.diag .btn:disabled { opacity: 0.6; cursor: progress; }

/* はじめの画面 */
.diag-intro__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.diag-intro__list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.diag-intro__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink-bg); color: var(--pink-text); font-weight: 700; font-size: 14px; }
.diag-intro__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.diag-intro__meta span { padding: 4px 12px; border-radius: 999px; background: var(--gray-bg); color: var(--navy); font-size: 13px; font-weight: 700; }
.diag-intro__start { margin-top: 32px; text-align: center; }
.diag-intro__start .btn { width: 100%; max-width: 360px; }

/* 結果 */
.diag-result__h { margin: 36px 0 14px !important; color: var(--navy); font-size: 18px; }
.diag-result__h:first-child { margin-top: 0 !important; }
.diag-note { margin: 0 0 20px !important; padding: 12px 16px; border-radius: 10px; background: var(--gray-bg); font-size: 14px; }
.diag-alert { margin: 0 0 24px; padding: 16px 18px; border: 2px solid var(--pink); border-radius: 12px; background: var(--pink-bg); }
.diag-alert p { font-size: 15px; }
.result-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result-area { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name status" "meter meter" "flag flag"; gap: 8px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.result-area.is-weakest { border: 2px solid var(--pink); background: var(--pink-bg); }
.result-area__name { grid-area: name; color: var(--navy); font-weight: 700; font-size: 16px; }
.result-area__status { grid-area: status; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.result-area--done .result-area__status { background: var(--navy); color: var(--white); }
.result-area--part .result-area__status { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.result-area--none .result-area__status { background: var(--white); color: var(--pink-text); border: 1px solid var(--pink-text); }
.result-area .meter { grid-area: meter; }
.result-area__flag { grid-area: flag; color: var(--pink-text); font-weight: 700; font-size: 13px; }
.meter { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.meter__seg { display: inline-block; height: 12px; border-radius: 3px; border: 1px solid var(--navy); background: var(--white); }
.meter__seg--2 { background: var(--navy); }
.meter__seg--1 { background: repeating-linear-gradient(135deg, var(--navy) 0 3px, var(--white) 3px 7px); }
.result-legend { margin-top: 10px !important; color: var(--ink-2); font-size: 13px; }
.result-legend .meter__seg { width: 22px; vertical-align: -1px; margin-right: 2px; }
.result-list { margin: 8px 0; padding-left: 1.2em; }
.result-list li { margin-bottom: 12px; font-size: 15px; }
.result-more { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; }
.result-more summary { cursor: pointer; color: var(--navy); font-weight: 700; font-size: 15px; }
.result-meta { margin-top: 28px !important; color: var(--ink-2); font-size: 13px; }
.diag .sample__next { margin-top: 36px; }

/* 最初の8週間：報告書の見本への案内 */
.btn--outline { background: var(--white); color: var(--pink-text); border: 2px solid var(--pink-text); }
.btn--outline:hover { background: var(--pink-bg); color: var(--pink-hover); }
.flow-sample { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; align-items: center; }
.flow-sample__text { font-size: 15px; word-break: auto-phrase; }
@media (min-width: 768px) { .flow-sample { grid-template-columns: 1fr auto; } }
