/* =============================================================
   アポまる LP 共通CSS
   ・全LP（A〜D）・フォーム・完了ページで共通
   ・色・余白・文字サイズは :root の変数で管理
   ・ブレークポイント：スマホ 〜767px／タブレット 768〜1023px／PC 1024px〜（1440px基準）
   ============================================================= */

:root {
  /* 色 */
  --c-ink: #1b2430;        /* 見出し */
  --c-text: #353f4a;       /* 本文 */
  --c-sub: #68727d;        /* 補足 */
  --c-line: #e1ddd5;       /* 罫線 */
  --c-white: #ffffff;
  --c-paper: #f6f4ef;      /* 生成り（交互背景） */
  --c-navy: #18324c;       /* ブランド色 */
  --c-navy-soft: #e8edf2;
  --c-accent: #d0562a;     /* CTA専用。ほかの用途には使わない */
  --c-accent-dark: #b2461f;
  --c-error: #c2361f;

  /* 文字 */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-h2: clamp(24px, 1.2rem + 1.6vw, 36px);
  --fs-h3: clamp(18px, 1rem + .3vw, 20px);

  /* 余白 */
  --container: 1120px;
  --gutter: 20px;
  --section-y: 72px;
  --radius: 4px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --section-y: 96px; }
}
@media (min-width: 1024px) {
  :root { --section-y: 120px; }
}

/* ---------- reset / base ---------- */
*, *::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;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  color: var(--c-ink);
  font-feature-settings: "palt";
  letter-spacing: .04em;
  word-break: auto-phrase; /* 対応ブラウザでは文節で改行 */
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 改行の出し分け */
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 768px) {
  .sp { display: none; }
  .pc { display: inline; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .15s;
}
.btn--cta {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 2px 0 var(--c-accent-dark);
}
.btn--cta:hover { background: var(--c-accent-dark); }
.btn--cta:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; box-shadow: none; }
.btn--block { width: 100%; }
.btn__arrow {
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.cta { margin-top: 36px; }
.cta--center { text-align: center; }
.cta__note { margin-top: 10px; font-size: 13px; color: var(--c-sub); }
@media (max-width: 767px) {
  .cta .btn { width: 100%; }
  .cta { text-align: center; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
@media (min-width: 768px) { .site-header__inner { height: 72px; } }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.logo__img { width: 40px; height: 40px; align-self: center; flex-shrink: 0; }
@media (min-width: 768px) { .logo__img { width: 48px; height: 48px; } }
.logo__name { font-weight: 700; font-size: 21px; color: var(--c-navy); letter-spacing: .08em; }
.logo__by { font-size: 11px; color: var(--c-sub); letter-spacing: .04em; }
@media (max-width: 479px) { .logo__by { display: none; } }
.site-header .btn--sm { white-space: nowrap; }
@media (max-width: 767px) { .site-header .btn--sm { padding: 8px 14px; font-size: 13px; } }

/* ---------- セクション共通 ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--c-paper); }
.section--white { background: var(--c-white); }

.section-head { margin-bottom: 48px; max-width: 760px; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; color: var(--c-navy);
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.section-label::before { content: ""; width: 24px; height: 1px; background: var(--c-navy); }
.section-title { font-size: var(--fs-h2); line-height: 1.5; font-weight: 700; }
.section-lead { margin-top: 20px; }
@media (max-width: 767px) { .section-head { margin-bottom: 36px; } }

/* ---------- SECTION 01：ファーストビュー ---------- */
.hero { padding: 40px 0 56px; background: var(--c-white); overflow: hidden; }
.hero__inner { display: grid; gap: 40px; }
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  font-size: 14px; color: var(--c-sub);
  margin-bottom: 20px;
}
.hero__eyebrow span {
  font-weight: 700; color: var(--c-navy);
  padding-right: 12px; border-right: 1px solid var(--c-line);
}
.hero__title {
  font-size: clamp(30px, 6.4vw + 6px, 50px);
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: .03em;
}
.hero__lead { word-break: auto-phrase; margin-top: 24px; font-size: clamp(16px, .9rem + .3vw, 19px); line-height: 1.85; color: var(--c-ink); }
.hero__points { margin-top: 24px; display: grid; gap: 6px; }
.hero__points li {
  position: relative; padding-left: 26px;
  font-size: 15px; font-weight: 500;
}
.hero__points li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
  transform: rotate(-45deg);
}
.hero .cta { margin-top: 32px; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }

/* LP-B：架電→アポ獲得→商談 の帯 */
.hero-flow {
  display: flex; align-items: stretch; flex-wrap: wrap;
  margin-top: 28px;
}
.hero-flow li {
  position: relative;
  display: flex; align-items: center;
  padding: 10px 18px 10px 30px;
  background: var(--c-navy-soft); color: var(--c-navy);
  font-weight: 700; font-size: clamp(15px, .85rem + .4vw, 19px);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
  margin-right: -6px;
}
.hero-flow li:first-child { padding-left: 18px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.hero-flow li.is-key { background: var(--c-navy); color: #fff; padding-right: 26px; }
.hero__lead--flow { margin-top: 12px; font-weight: 700; font-size: clamp(17px, .95rem + .4vw, 21px); }


/* メインLP：ターゲット設計→…→分析・改善 の工程帯 */
.hero-process {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0;
  margin-top: 24px;
}
.hero-process li {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
  color: var(--c-navy); background: var(--c-navy-soft); border-radius: 2px;
  white-space: nowrap;
}
.hero-process li.is-key { background: var(--c-navy); color: #fff; }
.hero-process li + li { position: relative; margin-left: 18px; }
.hero-process li + li::before {
  content: ""; position: absolute; left: -12px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border-top: 1.5px solid var(--c-sub); border-right: 1.5px solid var(--c-sub);
  transform: rotate(45deg);
}
@media (min-width: 768px) { .hero-process li { font-size: 14px; padding: 7px 12px; } }
@media (min-width: 1024px) {
  .hero-process li { padding: 6px 10px; font-size: 13.5px; }
  .hero-process li + li { margin-left: 15px; }
  .hero-process li + li::before { left: -10px; }
}

@media (min-width: 768px) {
  .hero { padding: 64px 0 80px; }
}
@media (min-width: 1024px) {
  .hero { padding: 72px 0 104px; }
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
  .hero__photo { margin-right: calc((100vw - min(100vw, var(--container) + var(--gutter) * 2)) / -2 - var(--gutter)); }
  .hero__photo img { aspect-ratio: 5 / 4; border-radius: var(--radius) 0 0 var(--radius); }
}
@media (max-width: 767px) {
  .hero__photo img { aspect-ratio: 16 / 10; }
}

/* ---------- SECTION 02：悩み ---------- */
.pain-list {
  display: grid; gap: 0 48px;
  border-top: 1px solid var(--c-line);
}
.pain-list li {
  position: relative;
  padding: 20px 0 20px 40px;
  border-bottom: 1px solid var(--c-line);
  font-size: 17px; font-weight: 500; color: var(--c-ink); line-height: 1.7;
}
.pain-list li::before {
  content: ""; position: absolute; left: 0; top: 23px;
  width: 20px; height: 20px;
  border: 1.5px solid var(--c-sub); border-radius: 2px;
  background: var(--c-white);
}
.pain-list li::after {
  content: ""; position: absolute; left: 5px; top: 27px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}
@media (min-width: 1024px) {
  .pain-list { grid-template-columns: 1fr 1fr; border-top: 0; }
  .pain-list li:nth-child(-n+2) { border-top: 1px solid var(--c-line); }
}
.pain-bridge {
  margin-top: 48px;
  font-size: clamp(18px, 1rem + .5vw, 22px); font-weight: 700; color: var(--c-navy);
  line-height: 1.7;
}

/* ---------- SECTION 03：アポまるとは ---------- */
.about__top, .reasons__top { display: grid; gap: 32px; margin-bottom: 56px; }
.about__top .section-head, .reasons__top .section-head { margin-bottom: 0; }
.about__photo img, .reasons__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) {
  .about__top, .reasons__top { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; margin-bottom: 72px; }
}

.flow { display: grid; gap: 0; counter-reset: flow; }
.flow__item {
  position: relative;
  padding: 24px 0 24px 64px;
  border-top: 1px solid var(--c-line);
}
.flow__item:last-child { border-bottom: 1px solid var(--c-line); }
.flow__num {
  position: absolute; left: 0; top: 24px;
  font-size: 14px; font-weight: 700; color: var(--c-navy); letter-spacing: .08em;
}
.flow__name { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.flow__text { margin-top: 6px; font-size: 15px; color: var(--c-text); }
.flow__item:nth-child(3) .flow__name { color: var(--c-navy); }
.flow__item:nth-child(3) .flow__name::after {
  content: "アポまるの特長"; display: inline-block; vertical-align: middle;
  margin-left: 10px; padding: 2px 8px;
  font-size: 11px; letter-spacing: .06em; color: #fff; background: var(--c-navy); border-radius: 2px;
}
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--c-navy); }
  .flow__item { padding: 28px 28px 0 0; border-top: 0; }
  .flow__item:last-child { border-bottom: 0; }
  .flow__item + .flow__item { padding-left: 28px; border-left: 1px solid var(--c-line); }
  .flow__num { position: static; display: block; margin-bottom: 8px; }
  .flow__item:not(:last-child)::after {
    content: ""; position: absolute; right: -6px; top: -7px;
    width: 12px; height: 12px; background: var(--c-navy); border-radius: 50%;
    z-index: 1;
  }
  .flow__item:nth-child(3) .flow__name::after { display: block; width: fit-content; margin: 6px 0 0; }
}
.about__note { margin-top: 28px; font-size: var(--fs-small); color: var(--c-sub); }

/* ---------- 比較 ---------- */
.compare__table { width: 100%; border-collapse: collapse; background: var(--c-white); table-layout: fixed; }
.compare__table thead td { width: 22%; }
.compare__table th, .compare__table td {
  padding: 20px 24px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px; line-height: 1.75;
}
.compare__table thead th { font-size: 15px; font-weight: 700; color: var(--c-sub); background: #efece6; border-bottom: 0; }
.compare__table thead th.is-ours { background: var(--c-navy); color: #fff; }
.compare__table tbody th { width: 20%; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.compare__table td { width: 40%; color: var(--c-sub); }
.compare__table td.is-ours { color: var(--c-ink); font-weight: 500; background: #f9fafb; border-left: 2px solid var(--c-navy); border-right: 2px solid var(--c-navy); }
.compare__table tbody tr:last-child td.is-ours { border-bottom: 2px solid var(--c-navy); }
.compare__note { margin-top: 16px; font-size: 13px; color: var(--c-sub); }

@media (max-width: 767px) {
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; width: auto; }
  .compare__table thead { display: none; }
  .compare__table tr {
    display: grid; grid-template-columns: 1fr 1fr;
    margin-bottom: 12px; border: 1px solid var(--c-line); background: var(--c-white);
  }
  .compare__table tbody th { grid-column: 1 / -1; width: auto; padding: 12px 16px; background: #efece6; border: 0; white-space: normal; font-size: 15px; }
  .compare__table td { padding: 12px 14px 16px; font-size: 14px; border: 0; }
  .compare__table td.is-ours { border: 0; border-left: 1px solid var(--c-line); background: var(--c-white); }
  .compare__table tbody tr:last-child td.is-ours { border-bottom: 0; }
  .compare__table td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--c-sub);
  }
  .compare__table td.is-ours::before { color: var(--c-navy); }
}

/* ---------- SECTION 04：選ばれる理由 ---------- */
.reason-list { display: grid; gap: 0; }
.reason { padding: 28px 0; border-top: 1px solid var(--c-line); }
.reason:last-child { border-bottom: 1px solid var(--c-line); }
.reason__num {
  display: block; margin-bottom: 10px;
  font-size: 14px; font-weight: 700; color: var(--c-accent); letter-spacing: .1em;
}
.reason__title { font-size: clamp(19px, 1rem + .5vw, 22px); font-weight: 700; line-height: 1.5; }
.reason__text { margin-top: 12px; font-size: 15px; }
@media (min-width: 768px) {
  .reason-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .reason { padding: 36px 0 40px; }
  .reason:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
}

/* ---------- サービス範囲 ---------- */
.scope { display: grid; gap: 12px; }
.scope__group { border-radius: var(--radius); padding: 16px; }
.scope__owner { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.scope__steps { display: grid; gap: 8px; }
.scope__steps li {
  display: grid; gap: 2px;
  padding: 14px 16px;
  background: var(--c-white); border-radius: 2px;
}
.scope__name { font-weight: 700; color: var(--c-ink); line-height: 1.5; }
.scope__note { font-size: 13px; color: var(--c-sub); line-height: 1.6; }
.scope__group.is-apomaru { background: var(--c-navy); }
.scope__group.is-apomaru .scope__owner { color: #fff; }
.scope__group.is-joint { background: var(--c-navy-soft); }
.scope__group.is-joint .scope__owner { color: var(--c-navy); }
.scope__group.is-client { background: transparent; border: 1px dashed #b9b4aa; }
.scope__group.is-client .scope__owner { color: var(--c-sub); }
.scope__group.is-client .scope__steps li { background: transparent; padding: 0; }
.scope__footnote { margin-top: 20px; font-size: 13px; color: var(--c-sub); }
@media (max-width: 1023px) {
  .scope__name br { display: none; }
}
@media (min-width: 1024px) {
  .scope { grid-template-columns: repeat(var(--steps), 1fr); gap: 10px; align-items: stretch; }
  .scope__group { grid-column: span var(--span); padding: 14px 10px 10px; display: flex; flex-direction: column; }
  .scope__owner { text-align: center; margin-bottom: 10px; }
  .scope__steps { grid-template-columns: repeat(var(--span), 1fr); gap: 10px; flex: 1; }
  .scope__steps li { padding: 20px 16px; align-content: start; }
  .scope__group.is-client .scope__steps li { padding: 20px 6px; }
}

/* ---------- 料金（オープニング価格の案内） ---------- */
/* 見出しを左、見積りの決め方とCTAを右に置く。金額を見せるデザインにはしない */
.opening { display: grid; gap: 32px; }
.opening__sub { margin-top: 20px; font-weight: 500; color: var(--c-ink); line-height: 1.8; }
.opening__lead { color: var(--c-ink); }
.opening__terms { margin-top: 28px; border-top: 2px solid var(--c-navy); }
.opening__terms > div { padding-block: 18px; border-bottom: 1px solid var(--c-line); }
.opening__terms dt { font-size: 15px; font-weight: 700; color: var(--c-navy); letter-spacing: .06em; }
.opening__terms dd { margin-top: 4px; font-size: 15px; line-height: 1.85; }
.opening .cta { margin-top: 32px; }
.opening .nowrap { white-space: nowrap; }
@media (max-width: 767px) {
  /* ボタン文言が長いため、スマホでは1行に収まるよう詰める */
  .opening .btn { gap: 10px; padding-inline: 16px; font-size: 16px; letter-spacing: .02em; }
}
@media (min-width: 768px) {
  .opening__terms > div { display: grid; grid-template-columns: 10em 1fr; gap: 24px; padding-block: 20px; }
  .opening__terms dd { margin-top: 0; }
}
@media (min-width: 1024px) {
  .opening { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .opening__head { position: sticky; top: 112px; }
}


/* =============================================================
   メインLP用コンポーネント
   ============================================================= */

/* ---------- Apomaruとは：対象企業 ---------- */
.fit { padding: 28px 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.section--white .fit { background: var(--c-paper); border-color: transparent; }
.fit__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.fit__list { margin-top: 16px; display: grid; gap: 4px 40px; }
.fit__list li { position: relative; padding-left: 26px; font-weight: 500; color: var(--c-ink); line-height: 1.7; }
.fit__list li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
  transform: rotate(-45deg);
}
@media (min-width: 768px) { .fit { padding: 36px 40px; } .fit__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Apomaruができること：営業プロセス ---------- */
.process { display: grid; gap: 16px; }
.process__phase { border-radius: var(--radius); background: var(--c-white); border: 1px solid var(--c-line); overflow: hidden; }
.section--white .process__phase { background: var(--c-paper); border-color: transparent; }
.process__phase-name {
  padding: 8px 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--c-navy); background: var(--c-navy-soft);
}
.process__phase.is-phase3 .process__phase-name { color: #fff; background: var(--c-navy); }
.process__steps { counter-reset: none; }
.process__step { position: relative; padding: 20px 20px 22px 64px; }
.process__step + .process__step { border-top: 1px solid var(--c-line); }
.process__num {
  position: absolute; left: 20px; top: 21px;
  font-size: 15px; font-weight: 700; color: var(--c-navy); letter-spacing: .06em;
}
.process__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.process__plan {
  padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--c-navy); border: 1px solid var(--c-navy); border-radius: 2px;
}
.process__text { margin-top: 6px; font-size: 15px; line-height: 1.8; }
.process__loop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px;
  font-size: 15px; font-weight: 700; color: var(--c-navy); text-align: center; line-height: 1.6;
  border: 1.5px dashed var(--c-navy); border-radius: var(--radius);
}
.process__loop span { font-size: 22px; line-height: 1; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process__phase { position: relative; overflow: visible; display: flex; flex-direction: column; }
  .process__phase-name { border-radius: var(--radius) var(--radius) 0 0; }
  .process__phase:not(:last-of-type)::after {
    /* フェーズ間の矢印 */
    content: ""; position: absolute; right: -16px; top: 50%; z-index: 1;
    width: 12px; height: 12px; margin-top: -6px;
    border-top: 2px solid var(--c-navy); border-right: 2px solid var(--c-navy);
    transform: rotate(45deg);
  }
  .process__step { padding: 24px 24px 26px; }
  .process__num { position: static; display: block; margin-bottom: 4px; }
  .process__loop { grid-column: 1 / -1; }
}

/* ---------- テレアポ代行との違い：図 ---------- */
.diff { display: grid; gap: 16px; margin-bottom: 40px; }
.diff__row { padding: 20px; border-radius: var(--radius); }
.diff__row.is-them { background: #efece6; }
.diff__row.is-us { background: var(--c-white); border: 2px solid var(--c-navy); }
.section--white .diff__row.is-us { background: #f9fafb; }
.diff__name { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--c-sub); margin-bottom: 12px; }
.diff__row.is-us .diff__name { color: var(--c-navy); font-size: 16px; }
.diff__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.diff__flow li {
  position: relative;
  padding: 6px 12px;
  font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  border-radius: 2px;
}
.diff__flow li + li { margin-left: 20px; }
.diff__flow li + li::before {
  content: ""; position: absolute; left: -14px; top: 50%;
  width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}
.diff__flow.is-them li { color: var(--c-text); background: var(--c-white); }
.diff__flow.is-them li.is-end { color: var(--c-sub); background: transparent; border: 1px dashed #b9b4aa; }
.diff__flow.is-us li { color: #fff; background: var(--c-navy); }
.diff__caption { margin-top: 12px; font-size: 14px; color: var(--c-sub); line-height: 1.7; }
.diff__row.is-us .diff__caption { color: var(--c-navy); font-weight: 700; }
@media (min-width: 768px) {
  .diff__row { padding: 24px 28px; }
  .diff__flow li { font-size: 15px; padding: 8px 16px; }
  .diff__flow li + li { margin-left: 24px; }
  .diff__flow li + li::before { left: -16px; }
}

/* ---------- 強みの下：AIによる改善サイクル（準備中） ---------- */
.ai-vision {
  margin-top: 56px; padding: 28px 24px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-white);
}
.section--white .ai-vision { background: var(--c-paper); border-color: transparent; }
.ai-vision__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--c-sub); }
.ai-vision__title { margin-top: 8px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; }
.ai-vision__text { margin-top: 10px; font-size: 15px; }
.ai-vision__cycle { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.ai-vision__cycle li {
  position: relative; padding: 5px 12px;
  font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  color: var(--c-navy); background: var(--c-navy-soft); border-radius: 2px;
}
.ai-vision__cycle li + li { margin-left: 20px; }
.ai-vision__cycle li + li::before {
  content: ""; position: absolute; left: -14px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border-top: 1.5px solid var(--c-sub); border-right: 1.5px solid var(--c-sub);
  transform: rotate(45deg);
}
.ai-vision__status { margin-top: 16px; font-size: 13px; color: var(--c-sub); line-height: 1.7; }
@media (min-width: 1024px) {
  .ai-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; align-items: center; padding: 36px 40px; }
  .ai-vision__cycle { margin-top: 0; }
  .ai-vision__status { grid-column: 1 / -1; }
}

/* ---------- 代表プロフィール ---------- */
.profile { display: grid; gap: 28px; }
.profile__id { display: flex; align-items: center; gap: 20px; }
.profile__photo { flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--c-navy); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__initial { display: grid; place-items: center; width: 100%; height: 100%; font-size: 28px; font-weight: 700; letter-spacing: .08em; color: #fff; }
.profile__position { font-size: 13px; color: var(--c-sub); line-height: 1.6; }
.profile__name { margin-top: 4px; font-size: 24px; font-weight: 700; color: var(--c-ink); letter-spacing: .1em; line-height: 1.4; }
.profile__name span { display: block; font-size: 12px; font-weight: 500; color: var(--c-sub); letter-spacing: .08em; }
.profile__message { font-size: 16px; color: var(--c-ink); }
.profile__strength { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--c-navy); font-size: 15px; font-weight: 500; color: var(--c-ink); line-height: 1.85; }
.profile__sub { margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--c-navy); letter-spacing: .08em; }
.profile__careers { margin-top: 10px; border-top: 1px solid var(--c-line); }
.profile__careers li { position: relative; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--c-line); font-size: 15px; line-height: 1.7; }
.profile__careers li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-navy); }
.profile__role { margin-top: 24px; padding: 18px 20px; font-size: 14px; line-height: 1.8; background: var(--c-navy-soft); border-radius: var(--radius); color: var(--c-ink); }
.profile__role-title { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--c-navy); }
.profile__role p + p { margin-top: 4px; }
@media (min-width: 1024px) {
  .profile { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
  .profile__id { flex-direction: column; align-items: flex-start; }
  .profile__photo { width: 160px; height: 160px; }
  .profile__initial { font-size: 44px; }
}

/* ---------- 導入事例（掲載予定） ---------- */
.cases-empty { padding: 32px 24px; text-align: center; border: 1px dashed #b9b4aa; border-radius: var(--radius); }
.cases-empty__text { font-weight: 700; color: var(--c-ink); }
.cases-empty__sub { margin-top: 8px; font-size: 14px; color: var(--c-sub); }
.cases-points { margin-top: 20px; display: grid; gap: 12px; }
.cases-points li { padding: 20px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.section--white .cases-points li { background: var(--c-paper); border-color: transparent; }
.cases-points h3 { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--c-navy); }
.cases-points p { margin-top: 6px; font-size: 14px; line-height: 1.8; }
@media (min-width: 768px) { .cases-points { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- ご利用の流れ ---------- */
.steps { display: grid; gap: 0; }
.step { position: relative; padding: 0 0 32px 32px; }
.step::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-navy);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 9px; top: 24px; bottom: 0;
  width: 1px; background: var(--c-line);
}
.step__num { display: block; font-size: 13px; font-weight: 700; color: var(--c-navy); letter-spacing: .1em; }
.step__name { margin-top: 2px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.step__text { margin-top: 6px; font-size: 14px; }
.step:last-child::before { background: var(--c-navy); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { padding: 32px 0 0; }
  .step::before { left: 0; top: 0; }
  .step:not(:last-child)::after { left: 18px; right: -20px; top: 7px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  position: relative;
  display: flex; gap: 16px; align-items: baseline;
  padding: 22px 44px 22px 0;
  cursor: pointer; list-style: none;
  font-weight: 700; color: var(--c-ink); line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 2px; }
.faq__q, .faq__mark { flex-shrink: 0; font-size: 18px; font-weight: 700; color: var(--c-navy); line-height: 1; }
.faq__mark { color: var(--c-accent); }
.faq__a { display: flex; gap: 16px; align-items: baseline; padding: 0 8px 24px 0; }
.faq__a p { font-size: 15px; }

/* ---------- 途中CTA ---------- */
.mid-cta { background: var(--c-navy-soft); padding-block: 48px; }
.mid-cta__inner { display: grid; gap: 4px; align-items: center; }
.mid-cta__text { font-size: clamp(18px, 1rem + .5vw, 22px); font-weight: 700; color: var(--c-navy); line-height: 1.7; }
.mid-cta .cta { margin-top: 20px; }
@media (min-width: 1024px) {
  .mid-cta__inner { grid-template-columns: 1fr auto; gap: 48px; }
  .mid-cta .cta { margin-top: 0; }
}
@media (max-width: 767px) { .mid-cta__text { text-align: center; } }

/* ---------- 最終CTA ---------- */
.final { background: var(--c-navy); color: #fff; padding-block: calc(var(--section-y) * .9); }
.final__inner { text-align: center; }
.final__title { color: #fff; font-size: clamp(26px, 1.3rem + 1.8vw, 40px); line-height: 1.5; }
.final__text { margin-top: 24px; color: rgba(255, 255, 255, .86); }
.final .cta { margin-top: 40px; }
.final .cta__note { color: rgba(255, 255, 255, .7); }
.final .btn--cta { box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.final .btn--cta:focus-visible { outline-color: #fff; }
@media (min-width: 768px) { .final .btn { min-width: 360px; } }

/* ---------- フッター ---------- */
.site-footer { padding: 40px 0; background: #111c27; color: rgba(255, 255, 255, .7); font-size: 13px; }
.site-footer__inner { display: grid; gap: 12px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.site-footer__brand img { width: 56px; height: 56px; padding: 4px; background: #fff; border-radius: 50%; flex-shrink: 0; }
.site-footer__brand span { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.site-footer__service { color: #fff; font-weight: 500; }
.site-footer__family a { text-decoration: underline; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.page-lp .site-footer { padding-bottom: 104px; } /* 追従CTAの分 */
@media (min-width: 1024px) { .page-lp .site-footer { padding-bottom: 40px; } }

/* ---------- 追従CTA（スマホ・タブレット） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta .btn { width: 100%; min-height: 52px; }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- フォーム ---------- */
.form-page { padding: 48px 0 var(--section-y); background: var(--c-paper); min-height: 70vh; }
.form-page__inner { max-width: 760px; }
.form-page__head { margin-bottom: 36px; }
.form-page__title { font-size: clamp(24px, 1.2rem + 1.2vw, 32px); line-height: 1.5; }
.form-page__lead { margin-top: 16px; font-size: 15px; }

.form { background: var(--c-white); padding: 28px 20px 32px; border: 1px solid var(--c-line); border-radius: var(--radius); }
@media (min-width: 768px) { .form { padding: 48px 56px; } .form-page { padding-top: 72px; } }
.form__row { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.form__row > label, .form__row legend {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px; padding: 0;
  font-weight: 700; font-size: 15px; color: var(--c-ink);
}
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 2px; letter-spacing: .04em; }
.req { color: #fff; background: var(--c-accent); }
.opt { color: var(--c-sub); background: #eeebe5; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%;
  padding: 14px 14px;
  font: inherit; font-size: 16px; /* iOSのズーム防止に16px以上 */
  color: var(--c-ink);
  background: #fbfaf8;
  border: 1px solid #cfcac1; border-radius: var(--radius);
  appearance: none;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--c-navy); outline-offset: 0; border-color: var(--c-navy); background: #fff; }
.form ::placeholder { color: #a7a39b; }
.form__hint { margin-top: 6px; font-size: 12px; color: var(--c-sub); }
.form__checks { display: grid; gap: 4px; }
.form__checks label, .form__agree label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.6; cursor: pointer; }
.form input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--c-navy); }
.form__agree { margin: 8px 0 24px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.form__agree a { color: var(--c-navy); }
.form .is-invalid { border-color: var(--c-error) !important; background: #fdf4f2 !important; }
.form__error { margin-bottom: 16px; padding: 12px 16px; font-size: 14px; color: var(--c-error); background: #fdf4f2; border-radius: var(--radius); }
.form__assure { margin-bottom: 16px; font-size: 14px; color: var(--c-sub); line-height: 1.7; }
.form__submit .btn { min-height: 64px; }
.form__submit .btn:disabled { opacity: .7; cursor: progress; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-page__inner--narrow { max-width: 640px; text-align: center; padding-block: 40px; }
.form-page__inner--narrow .section-label { justify-content: center; }
.form-page__inner--narrow .section-label::before { display: none; }
