/* 株式会社シーエフオー HP 試作 — トークンは CFO-Color-Palette.xlsx（CFO Design System）に準拠
   2026-10-04 改訂：完全紹介制の強調、M&A・事業承継ページ、3プラン、法務ページ */
:root {
  --red-050: #fdf2f4;
  --red-100: #fbe0e5;
  --red-200: #f8c2cc;
  --red-400: #ee5d76;
  --red-600: #d80029;
  --red-700: #b80023;
  --red-800: #97001c;
  --gray-050: #f8f8f7;
  --gray-100: #f2f2f2;
  --gray-200: #e2e2e2;
  --gray-300: #c7c7c7;
  --gray-500: #898989;
  --gray-600: #595959;
  --gray-700: #3f3f3f;
  --gray-800: #262626;
  --gray-900: #1a1a1a;
  --rose-tint: #faf3f4;
  --rose-band: #f0e8e9;
  --rose-line: #e0ced1;
  --rose-deep: #a33756;
  --text-strong: var(--gray-900);
  --text-body: var(--gray-800);
  --text-muted: var(--gray-600);
  --text-subtle: var(--gray-500);
  --wrap: 1120px;
  --font: "游ゴシック体", YuGothic, "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text-body);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
}
/* ブランドの「左端の赤い縦ライン」 */
body::before {
  content: ""; position: fixed; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--red-600); z-index: 100;
}
@media (max-width: 719px) { body::before { width: 4px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-600); text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
:focus-visible { outline: 3px solid #ee5d76; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: 0.05em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px 0 24px; }
@media (min-width: 720px) { .wrap { padding: 0 36px 0 42px; } }

/* 試作バナー */
.proto-bar { background: var(--gray-900); color: #e6e6e6; font-size: 12px; line-height: 1.6; padding: 7px 0; letter-spacing: 0.03em; }
.proto-bar strong { color: #fff; margin-right: 10px; }
.tbd {
  display: inline-block; font-size: 0.72em; font-weight: 700; line-height: 1.55; padding: 0 0.55em; margin: 0 0.2em;
  border: 1.5px solid #c8912b; color: #8a5f12; background: #fbf4e6; border-radius: 999px; vertical-align: 0.12em;
  white-space: nowrap; letter-spacing: 0.03em;
}
.proto-bar .tbd { vertical-align: 0; }
@media (max-width: 719px) { .proto-bar .pb-long { display: none; } }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-200); }
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 30px; width: auto; }
@media (max-width: 719px) { .logo img { height: 24px; } .header-in { height: 62px; } }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 2px; }
.gnav a { display: block; padding: 8px 9px; color: var(--text-strong); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 4px; white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--red-600); background: var(--rose-tint); }
.gnav .nav-contact a { background: var(--red-600); color: #fff; margin-left: 8px; padding: 9px 16px; }
.gnav .nav-contact a:hover { background: var(--red-700); color: #fff; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 6px; border: 1px solid var(--gray-300); background: #fff; border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--text-strong); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1199px) {
  .menu-btn { display: inline-flex; }
  .gnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); display: none; }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; padding: 8px 20px 18px 24px; gap: 0; }
  .gnav a { padding: 13px 4px; border-bottom: 1px solid var(--gray-200); border-radius: 0; font-size: 15px; }
  .gnav .nav-contact a { margin: 14px 0 0; text-align: center; border-radius: 4px; border: 0; }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-decoration: none; border-radius: 3px; border: 1.5px solid transparent; line-height: 1.4; transition: background 0.15s ease, color 0.15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red-600); color: #fff; }
.btn-red:hover { background: var(--red-700); color: #fff; }
.btn-line { border-color: var(--gray-900); color: var(--gray-900); background: transparent; }
.btn-line:hover { background: var(--gray-900); color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--gray-900); }

/* セクション */
.section { padding: 96px 0; }
.section.subtle { background: var(--gray-050); }
.section.tint { background: var(--rose-tint); }
.section.ink { background: var(--gray-900); color: #d6d6d6; }
.section.ink h2, .section.ink h3 { color: #fff; }
@media (max-width: 719px) { .section { padding: 64px 0; } }
.label { display: block; color: var(--red-600); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; }
.sec-head { margin-bottom: 44px; max-width: 780px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); margin-top: 10px; }
.sec-head h2.h-oneline { font-size: clamp(21px, 2.6vw, 28px); }
.sec-head p { margin-top: 14px; color: var(--text-muted); }
.section.ink .sec-head p { color: #b5b5b5; }
.note { font-size: 13px; color: var(--text-subtle); margin-top: 18px; line-height: 1.7; }

/* ヒーロー */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.hero::after {
  content: ""; position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(52vw, 620px); aspect-ratio: 457 / 480; background: url("logo-mark.png") center / contain no-repeat; opacity: 0.06; pointer-events: none;
}
.hero-in { position: relative; z-index: 1; padding: 104px 0 96px; max-width: 820px; }
@media (max-width: 719px) { .hero-in { padding: 64px 0 60px; } .hero::after { width: 90vw; right: -30%; top: 30%; } }
.hero-ref { display: inline-flex; align-items: stretch; margin: 0; border: 1.5px solid var(--red-600); background: #fff; box-shadow: 6px 6px 0 var(--rose-band); }
.hero-seal { display: flex; flex-direction: column; justify-content: center; white-space: nowrap; background: var(--red-600); color: #fff; font-size: clamp(24px, 2.9vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: 0.2em; padding: 12px 22px 14px 26px; }
.hero-seal small { font-size: 10.5px; letter-spacing: 0.26em; font-weight: 700; opacity: 0.85; margin-bottom: 4px; }
.hero-ref-t { display: flex; align-items: center; padding: 10px 22px; font-size: 15px; font-weight: 700; color: var(--text-strong); line-height: 1.6; letter-spacing: 0.08em; }
@media (max-width: 559px) {
  .hero-ref { display: flex; flex-direction: column; }
  .hero-seal { padding: 12px 18px 14px; font-size: 30px; }
  .hero-ref-t { padding: 10px 18px; font-size: 14px; }
  .hero-ref-t br { display: none; }
}
.hero h1 { font-size: clamp(30px, 5.2vw, 54px); line-height: 1.45; margin-top: 34px; letter-spacing: 0.06em; }
.hero h1 .r { color: var(--red-600); }
.hero-lead { margin-top: 24px; font-size: 17px; color: var(--text-muted); max-width: 36em; }
.hero-dual { display: grid; gap: 10px; margin-top: 32px; max-width: 560px; }
.hero-dual div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--gray-200); }
.hero-dual div:last-child { border-bottom: 1px solid var(--gray-200); }
.hero-dual b { font-size: 17px; color: var(--text-strong); letter-spacing: 0.06em; }
.hero-dual b span { color: var(--red-600); }
.hero-dual small { font-size: 14px; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 559px) { .hero .hero-actions { gap: 10px; } .hero .hero-actions .btn { width: 100%; } }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gray-200); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 30px 20px 26px; border-bottom: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) { .stat:nth-child(2n) { border-right: 1px solid var(--gray-200); } .stat:last-child { border-right: 0; } }
.stat .k { font-size: 13px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.1em; }
.stat .v { display: block; color: var(--red-600); font-weight: 700; font-size: clamp(36px, 4.6vw, 48px); line-height: 1.2; margin-top: 6px; letter-spacing: 0.02em; }
.stat .v small { font-size: 0.42em; color: var(--text-strong); margin-left: 4px; letter-spacing: 0.06em; }
.stat .v small.pre { margin: 0 6px 0 0; font-size: 0.36em; }
.stat .d .tbd { font-size: 0.85em; }
.stat .d { font-size: 12.5px; color: var(--text-subtle); }

/* コンセプト（お金の循環） */
.concept { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .concept { grid-template-columns: 1fr 1fr; gap: 64px; } }
.concept h2 { font-size: clamp(24px, 3.2vw, 32px); margin-top: 10px; }
.concept p { margin-top: 18px; }
.quote { margin-top: 26px; padding: 18px 22px; border-left: 4px solid var(--red-600); background: var(--rose-tint); font-weight: 700; color: var(--text-strong); font-size: 17px; }
.cycle { max-width: 460px; margin: 0 auto; width: 100%; }

/* 3つの価値 */
.values { display: grid; gap: 20px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: #fff; border: 1px solid var(--gray-200); padding: 32px 28px 28px; position: relative; }
.value .kanji { font-size: 15px; font-weight: 700; color: #fff; background: var(--red-600); display: inline-grid; place-items: center; width: 44px; height: 44px; letter-spacing: 0; }
.value h3 { font-size: 19px; margin-top: 18px; }
.value p { font-size: 15px; margin-top: 12px; color: var(--text-muted); }
.checks { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-200); display: grid; gap: 6px; font-size: 14px; color: var(--text-body); }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--red-600); border-bottom: 2px solid var(--red-600); transform: rotate(-45deg); }

/* サービス */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { border-top: 3px solid var(--red-600); background: #fff; padding: 28px 26px; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.svc .no { font-size: 28px; font-weight: 700; color: var(--red-600); line-height: 1; }
.svc h3 { font-size: 19px; margin-top: 14px; }
.svc p { font-size: 14.5px; color: var(--text-muted); margin-top: 10px; }
.ind-grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 720px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
.ind { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--gray-200); text-decoration: none; color: var(--text-strong); transition: border-color 0.15s ease; }
.ind:hover { border-color: var(--red-600); color: var(--text-strong); }
.ind small { display: block; font-size: 12.5px; color: var(--red-600); font-weight: 700; letter-spacing: 0.14em; }
.ind b { display: block; font-size: 17px; margin-top: 2px; }
.ind span.t { font-size: 13.5px; color: var(--text-muted); display: block; margin-top: 4px; font-weight: 500; }
.ind svg { width: 22px; height: 22px; color: var(--red-600); flex-shrink: 0; }

/* 表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.table th, .table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-200); }
.table thead th { background: var(--rose-band); color: var(--text-strong); font-weight: 700; }
.table tbody th { width: 18%; color: var(--text-strong); font-weight: 700; background: var(--gray-050); }
.table td.us { background: var(--rose-tint); color: var(--text-strong); font-weight: 700; }
.table thead th.us { background: var(--red-600); color: #fff; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table-cmp { table-layout: fixed; }
.table-cmp thead th:first-child { width: 20%; }
.dl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-top: 2px solid var(--gray-900); }
.dl th, .dl td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-200); }
.dl th { width: 26%; color: var(--text-strong); font-weight: 700; white-space: nowrap; }
@media (max-width: 719px) { .dl th, .dl td { display: block; width: 100%; } .dl th { border-bottom: 0; padding-bottom: 2px; } .dl td { padding-top: 2px; } }

/* 代表者 */
.rep { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .rep { grid-template-columns: 340px 1fr; gap: 64px; } }
.rep-photo { position: relative; max-width: 340px; }
.rep-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--gray-100); }
.rep h3 { font-size: 26px; letter-spacing: 0.14em; }
.rep h3 small { display: block; font-size: 13px; color: var(--text-subtle); letter-spacing: 0.2em; margin-top: 4px; font-weight: 500; }
.rep .role { font-size: 14px; color: var(--red-600); font-weight: 700; letter-spacing: 0.1em; }
.quals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quals li { font-size: 13px; padding: 4px 12px; background: var(--rose-tint); border: 1px solid var(--rose-line); color: var(--text-strong); font-weight: 700; }
.rep p { margin-top: 18px; }

/* 紹介制 */
.ref { display: grid; gap: 40px; }
@media (min-width: 900px) { .ref { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.ref h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 10px; line-height: 1.55; }
.ref .lead { margin-top: 20px; color: #c9c9c9; }
.ref-steps { display: grid; gap: 14px; counter-reset: s; }
.ref-steps li { counter-increment: s; border: 1px solid rgba(255, 255, 255, 0.16); padding: 20px 22px 20px 70px; position: relative; }
.ref-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 18px; font-size: 22px; font-weight: 700; color: var(--red-600); }
.ref-steps b { color: #fff; display: block; font-size: 16px; }
.ref-steps span { font-size: 14px; color: #b5b5b5; display: block; margin-top: 4px; }
.mail-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mail-cta .addr { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0.06em; }

/* 下層ページ */
.page-head { border-bottom: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -40px; width: 300px; aspect-ratio: 457 / 480; background: url("logo-mark.png") center / contain no-repeat; opacity: 0.06; }
.page-head-in { padding-top: 64px; padding-bottom: 56px; position: relative; z-index: 1; }
.crumb { font-size: 12.5px; color: var(--text-subtle); margin-bottom: 26px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li + li::before { content: "／"; margin-right: 6px; color: var(--gray-300); }
.crumb a { color: var(--text-subtle); }
.page-head h1 { font-size: clamp(28px, 4.2vw, 40px); margin-top: 8px; }
.page-head .creds { margin-top: 22px; }
.page-head p { margin-top: 14px; color: var(--text-muted); max-width: 40em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { font-size: 13.5px; font-weight: 700; padding: 6px 14px; border: 1px solid var(--gray-300); color: var(--text-strong); text-decoration: none; }
.toc a:hover { border-color: var(--red-600); color: var(--red-600); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.pcf { display: grid; gap: 16px; }
@media (min-width: 900px) { .pcf { grid-template-columns: repeat(3, 1fr); } }
.pcf div { padding: 26px 24px; border: 1px solid var(--gray-200); background: #fff; }
.pcf b { font-size: 30px; color: var(--red-600); letter-spacing: 0.04em; }
.pcf h3 { font-size: 17px; margin-top: 4px; }
.pcf p { font-size: 14.5px; margin-top: 10px; color: var(--text-muted); }
.areas { display: grid; gap: 16px; }
@media (min-width: 720px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area { padding: 24px; background: #fff; border: 1px solid var(--gray-200); border-left: 3px solid var(--red-600); }
.area h3 { font-size: 17px; }
.area ul { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); display: grid; gap: 2px; }
.area li::before { content: "・"; }
.ind-block { padding-top: 8px; }
.ind-block + .ind-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--gray-200); }
.ind-head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 800px; }
.ind-head h3 { font-size: clamp(21px, 2.6vw, 26px); }
.ind-head p { color: var(--text-muted); }
.blind { display: grid; gap: 8px; counter-reset: b; }
@media (min-width: 720px) { .blind { grid-template-columns: 1fr 1fr; gap: 10px 18px; } }
.blind li { counter-increment: b; display: flex; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--gray-200); font-size: 14.5px; }
.blind li::before { content: counter(b); flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--rose-band); color: var(--rose-deep); font-weight: 700; font-size: 13px; }
.subsidy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.subsidy div { background: #fff; padding: 22px 18px; text-align: center; }
.subsidy b { display: block; font-size: clamp(30px, 4vw, 40px); color: var(--red-600); line-height: 1.2; }
.subsidy b small { font-size: 0.5em; margin-left: 2px; color: var(--text-strong); }
.subsidy span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 559px) { .subsidy { grid-template-columns: 1fr; } }
.steps3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { background: #fff; border: 1px solid var(--gray-200); padding: 26px 24px; }
.steps3 .n { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--red-600); }
.steps3 h3 { font-size: 18px; margin-top: 6px; }
.steps3 p { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; }
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border: 1px solid var(--gray-200); padding: 30px 26px 28px; position: relative; }
.plan-badge { position: absolute; top: -13px; right: 20px; background: var(--red-600); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; letter-spacing: 0.1em; }
.plan-en { display: block; color: var(--red-600); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; }
.plan-lead { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-top: 6px; }
.plan .checks { margin-top: 14px; }
.plan-price { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--text-strong); letter-spacing: 0.06em; }
.plan-price b { font-size: 40px; line-height: 1.1; color: var(--red-600); margin: 0 4px 0 8px; letter-spacing: 0.02em; }
.plan .price { margin-top: 2px; }
.plan-mode { display: inline-block; margin-top: 8px; padding: 2px 10px; font-size: 12.5px; font-weight: 700; color: var(--rose-deep); background: var(--rose-tint); border: 1px solid var(--rose-line); letter-spacing: 0.04em; }
.plan.rec { box-shadow: 0 10px 28px rgba(216, 0, 41, 0.08); }
.plan.rec { border: 2px solid var(--red-600); }
.plan h3 { font-size: 21px; }
.plan .price { font-size: 15px; color: var(--text-muted); margin-top: 6px; }
.plan .checks { border-top: 0; padding-top: 0; }

.timeline { border-left: 2px solid var(--rose-line); margin-left: 6px; display: grid; gap: 26px; padding: 4px 0; }
.timeline li { position: relative; padding-left: 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; background: var(--red-600); border-radius: 50%; }
.timeline time { font-size: 13.5px; font-weight: 700; color: var(--red-600); letter-spacing: 0.08em; }
.timeline b { display: block; color: var(--text-strong); font-size: 16px; }
.timeline p { font-size: 14.5px; color: var(--text-muted); margin-top: 4px; }
.pmv { display: grid; gap: 16px; }
@media (min-width: 900px) { .pmv { grid-template-columns: repeat(3, 1fr); } }
.pmv div { background: #fff; border: 1px solid var(--gray-200); padding: 26px 24px; }
.pmv small { color: var(--red-600); font-weight: 700; letter-spacing: 0.2em; font-size: 12.5px; }
.pmv h3 { font-size: 16px; margin-top: 2px; }
.pmv p { font-size: 15px; margin-top: 10px; color: var(--text-strong); }
.career { display: grid; gap: 18px; }
.career li { padding: 20px 22px; background: #fff; border: 1px solid var(--gray-200); }
.career b { color: var(--text-strong); }
.career p { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.prose p + p { margin-top: 1.2em; }
.prose h3 { font-size: 19px; margin: 2em 0 0.6em; padding-left: 14px; border-left: 4px solid var(--red-600); }
.prose .sign { text-align: right; margin-top: 2em; font-weight: 700; color: var(--text-strong); }
.rooms { display: grid; gap: 16px; }
@media (min-width: 720px) { .rooms { grid-template-columns: 1fr 1fr; } }
.room { background: #fff; border: 1px solid var(--gray-200); padding: 24px; }
.room h3 { font-size: 17px; }
.room p { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; }
.room { padding: 0 0 24px; overflow: hidden; }
.room h3, .room p { padding: 0 24px; }
.room-photo { aspect-ratio: 4 / 3; margin-bottom: 18px; background: var(--gray-100); overflow: hidden; min-height: 0; flex: none; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.room { display: flex; flex-direction: column; }
.room .room-addr { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--text-strong); }
.room .room-addr svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--red-600); }
.room > p:not(.room-addr) { margin-bottom: 4px; }
.access { display: grid; gap: 22px; align-content: start; align-self: start; background: #fff; border: 1px solid var(--gray-200); padding: 24px; }
@media (min-width: 560px) { .access { grid-template-columns: 180px 1fr; align-items: center; } }
.access img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--gray-100); }
@media (min-width: 560px) { .access img { aspect-ratio: 3 / 4; } }
.access h2 { font-size: 21px; margin-top: 8px; }
.access-addr { margin-top: 10px; font-size: 15px; color: var(--text-strong); }
.access-note { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.access-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; text-decoration: none; }
.access-map svg { width: 16px; height: 16px; }
.ph { display: grid; place-items: center; text-align: center; min-height: 170px; margin-bottom: 16px; background: repeating-linear-gradient(135deg, var(--gray-050) 0 10px, var(--gray-100) 10px 20px); border: 1px dashed var(--gray-300); color: var(--text-muted); font-size: 13px; font-weight: 700; }
.mail-box { background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--red-600); padding: 32px 28px; }
.mail-box h2 { font-size: 21px; }
.mail-box .addr { display: block; font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--text-strong); margin-top: 14px; letter-spacing: 0.04em; word-break: break-all; }
.mail-box ul { margin-top: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.mail-caution { margin-top: 16px; padding: 12px 14px; font-size: 13.5px; line-height: 1.7; color: var(--text-strong); background: var(--gray-050); border-left: 3px solid var(--gray-500); }
.section.ink .mail-caution { margin-top: 20px; color: #d6d6d6; background: rgba(255, 255, 255, 0.06); border-left-color: rgba(255, 255, 255, 0.4); }

/* フッター */
.site-footer { background: #fff; border-top: 1px solid var(--gray-200); padding: 56px 0 36px; font-size: 14px; color: var(--text-muted); }
.foot-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .logo img { height: 28px; }
.site-footer address { font-style: normal; margin-top: 18px; line-height: 1.9; }
.site-footer h3 { font-size: 13px; letter-spacing: 0.2em; color: var(--red-600); margin-bottom: 10px; }
.site-footer a { color: var(--text-body); text-decoration: none; }
.site-footer a:hover { color: var(--red-600); }
.foot-links { display: grid; gap: 4px; }
.copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--gray-200); font-size: 12px; color: var(--text-subtle); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* 登録・認定の並び（ヒーロー・M&Aページ見出し） */
.creds { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.creds li { position: relative; padding-left: 20px; font-size: 13.5px; font-weight: 700; color: var(--text-strong); letter-spacing: 0.05em; }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; background: var(--red-600); transform: rotate(45deg) scale(0.8); }
.creds small { font-size: 0.9em; font-weight: 500; color: var(--text-muted); }

/* サービスカード 02 → M&A ページ */
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 700; text-decoration: none; }
.svc-more svg { width: 16px; height: 16px; }
.ind-wide { margin-top: 20px; border-left: 3px solid var(--red-600); }
.h2 { font-size: clamp(24px, 3.2vw, 32px); margin-top: 10px; }

/* M&A：3つのフェーズ（白地が基本、.ma-feat 内は黒地） */
.ma-phases { display: grid; gap: 16px; counter-reset: ph; }
@media (min-width: 900px) { .ma-phases { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ma-phases > li { position: relative; padding: 28px 26px 26px; background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--red-600); }
@media (min-width: 900px) {
  .ma-phases > li:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--red-600); border-right: 2px solid var(--red-600); transform: translateY(-50%) rotate(45deg); }
}
.ph-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--red-600); }
.ph-no b { display: block; font-size: 28px; letter-spacing: 0.08em; color: var(--text-strong); line-height: 1.2; margin-top: 2px; }
.ma-phases h3 { font-size: 19px; margin-top: 10px; }
.ma-phases p { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; }
.ma-phases ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); display: grid; gap: 4px; font-size: 14px; }
.ma-phases ul li { position: relative; padding-left: 16px; }
.ma-phases ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 7px; height: 2px; background: var(--red-600); }

/* トップの M&A 特集（黒地） */
.ma-feat { position: relative; overflow: hidden; background: var(--gray-900); color: #cfcfcf; }
.ma-feat::before { content: "M&A"; position: absolute; right: -0.04em; top: -0.12em; font-size: clamp(160px, 27vw, 380px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07); pointer-events: none; }
.ma-feat .wrap { position: relative; }
.ma-feat .label { color: var(--red-400); }
.ma-feat-head { display: grid; gap: 18px; margin-bottom: 44px; max-width: 860px; }
.ma-feat h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; margin-top: 12px; }
.ma-feat-head p { color: #bdbdbd; font-size: 15.5px; max-width: 46em; }
.nw { display: inline-block; }
.ma-feat .ma-phases > li { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.16); border-top-color: var(--red-600); }
.ma-feat .ph-no { color: var(--red-400); }
.ma-feat .ph-no b, .ma-feat .ma-phases h3 { color: #fff; }
.ma-feat .ma-phases p { color: #b5b5b5; }
.ma-feat .ma-phases ul { border-top-color: rgba(255, 255, 255, 0.14); color: #e6e6e6; }
.ma-proof { display: grid; gap: 1px; margin-top: 28px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 900px) { .ma-proof { grid-template-columns: repeat(3, 1fr); } }
.ma-proof div { background: var(--gray-900); padding: 20px 22px; }
.ma-proof b { display: block; color: #fff; font-size: 16.5px; padding-left: 12px; border-left: 3px solid var(--red-600); line-height: 1.4; }
.ma-proof span { display: block; color: #b5b5b5; font-size: 13.5px; margin-top: 8px; }
.ma-feat .hero-actions { margin-top: 32px; }

/* M&A ページ */
.page-head.dark { background: var(--gray-900); color: #cfcfcf; border-bottom: 0; }
.page-head.dark::before { content: "M&A"; position: absolute; right: -0.04em; bottom: -0.2em; font-size: clamp(140px, 22vw, 320px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07); pointer-events: none; }
.page-head.dark::after { display: none; }
.page-head.dark .label { color: var(--red-400); }
.page-head.dark h1, .page-head.dark .creds li { color: #fff; }
.page-head.dark p { color: #c4c4c4; }
.page-head.dark .creds small { color: #a8a8a8; }
.page-head.dark .crumb, .page-head.dark .crumb a { color: #9a9a9a; }
.page-head.dark .toc a { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.page-head.dark .toc a:hover { border-color: var(--red-400); color: #fff; background: rgba(255, 255, 255, 0.06); }
.strengths { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 720px) { .strengths { grid-template-columns: 1fr 1fr; } }
.strength { background: #fff; border: 1px solid var(--gray-200); padding: 28px 28px 26px; }
.s-no { font-size: 34px; font-weight: 700; color: var(--red-600); line-height: 1; letter-spacing: 0.04em; }
.strength h3 { font-size: 18px; margin-top: 14px; }
.strength p { font-size: 15px; color: var(--text-muted); margin-top: 10px; }
.sides { display: grid; gap: 20px; }
@media (min-width: 900px) { .sides { grid-template-columns: 1fr 1fr; } }
.side { background: #fff; border: 1px solid var(--gray-200); border-top: 4px solid var(--red-600); padding: 30px 28px; }
.side + .side { border-top-color: var(--gray-900); }
.side small { color: var(--red-600); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; }
.side + .side small { color: var(--text-strong); }
.side h3 { font-size: 21px; margin-top: 4px; }
.side p { font-size: 15px; color: var(--text-muted); margin-top: 10px; }
.ma-flow { display: grid; gap: 12px; }
@media (min-width: 720px) { .ma-flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ma-flow { grid-template-columns: repeat(5, 1fr); } }
.ma-flow li { background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--red-200); padding: 20px 18px; }
.ma-flow li[data-phase="DEAL"] { border-top-color: var(--red-600); }
.ma-flow li[data-phase="AFTER"] { border-top-color: var(--gray-900); }
.f-ph { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--text-subtle); }
.f-no { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--red-600); margin-top: 2px; }
.ma-flow h3 { font-size: 16.5px; margin-top: 6px; }
.ma-flow p { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.8; }
.gl-box { display: grid; gap: 24px; margin-top: 32px; background: #fff; border: 1px solid var(--rose-line); padding: 30px 28px; }
@media (min-width: 900px) { .gl-box { grid-template-columns: 0.85fr 1.15fr; gap: 44px; } }
.gl-box h3 { font-size: 19px; margin-top: 8px; }
.gl-box p { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; }
.gl-box .btn { margin-top: 18px; padding: 11px 20px; font-size: 14px; }
.gl-box .checks { margin-top: 0; padding-top: 0; border-top: 0; gap: 10px; font-size: 14.5px; }
.sub-box { background: var(--rose-tint); border-left: 4px solid var(--red-600); padding: 28px 28px 24px; }
.sub-box p + p { margin-top: 1em; }
.sub-box .hl { background: #fff; border: 1px solid var(--rose-line); padding: 14px 16px; font-weight: 700; color: var(--text-strong); }
blockquote.pull { margin: 22px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red-600); font-size: 16.5px; font-weight: 700; color: var(--text-strong); line-height: 1.9; }
.faqs { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--gray-200); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 52px 18px 54px; font-weight: 700; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 16px; font-size: 18px; color: var(--red-600); }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--red-600); line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--rose-tint); }
.faq p { position: relative; padding: 0 24px 20px 54px; font-size: 15px; color: var(--text-muted); }
.faq p::before { content: "A"; position: absolute; left: 22px; top: -2px; font-size: 18px; font-weight: 700; color: var(--gray-500); }
.fee-box { margin-top: 40px; background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--gray-900); padding: 26px 26px 22px; }
.fee-box h3 { font-size: 18px; }
.fee-box p { font-size: 15px; margin-top: 10px; }

/* ウェルスマネジメント */
.sub-h { font-size: 17px; margin: 40px 0 16px; padding-left: 12px; border-left: 4px solid var(--red-600); }
.sec-head + .sub-h { margin-top: 0; }
.wm-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .wm-grid { grid-template-columns: 1fr 1fr; } }
.wm-box, .risk-box { padding: 30px 28px; border: 1px solid var(--gray-200); background: #fff; }
.wm-box { border-top: 3px solid var(--red-600); }
.risk-box { border-top: 3px solid var(--gray-900); background: var(--gray-050); }
.wm-box h3, .risk-box h3 { font-size: 19px; margin-top: 8px; }
.wm-box p { font-size: 15px; color: var(--text-muted); margin-top: 10px; }
.risk-box .label { color: var(--text-strong); }
.risks { margin-top: 16px; display: grid; gap: 10px; }
.risks li { display: grid; grid-template-columns: 5.2em 1fr; gap: 12px; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); }
.risks li:last-child { border-bottom: 0; padding-bottom: 0; }
.risks b { color: var(--text-strong); }
.risks span { color: var(--text-muted); }

/* 法務ページ */
.legal > * { max-width: 900px; }
.legal h2 { font-size: 19px; margin: 44px 0 12px; padding-left: 14px; border-left: 4px solid var(--red-600); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 18px 0 4px; }
.legal p + p { margin-top: 0.8em; }
.legal ol { margin: 12px 0; display: grid; gap: 8px; }
.legal ol.num { list-style: decimal; padding-left: 1.6em; }
.legal ol.paren { list-style: none; counter-reset: pr; margin: 8px 0 0; gap: 2px; }
.legal ol.paren li { counter-increment: pr; padding-left: 2.2em; text-indent: -2.2em; }
.legal ol.paren li::before { content: "(" counter(pr) ") "; }
.legal ol.circ li { padding-left: 1.4em; text-indent: -1.4em; }
.legal ol.circ li:nth-child(1)::before { content: "① "; }
.legal ol.circ li:nth-child(2)::before { content: "② "; }
.legal .dl th { white-space: normal; width: 30%; }
.legal-box { margin-top: 14px; padding: 20px 22px; background: var(--gray-050); border: 1px solid var(--gray-200); }
.legal-box p + p { margin-top: 6px; }
.legal-date { margin-top: 44px !important; text-align: right; font-weight: 700; color: var(--text-strong); }

br.sp { display: none; }
@media (max-width: 719px) { br.sp { display: inline; } }

/* ===== インフォグラフィック（2026-10-04 採用） =====
   色：強調 #D80029／強調しない系列 #898989／データ青 #285790・アンバー #C8912B（繰延べ図のみ）。
   赤×グレー、青×アンバーとも色覚シミュレーションで判別可（OKLab ΔE 12.1／29.1）。アンバーは白地で 3:1 未満のため必ずラベルを併記。 */
.ig-card { background: #fff; border: 1px solid var(--gray-200); padding: clamp(20px, 3.6vw, 36px); margin-bottom: 28px; }
.section.tint .ig-card { border-color: var(--rose-line); }
:root { --data-blue: #285790; --data-amber: #c8912b; }

.ig-title { font-size: 17px; font-weight: 700; color: var(--text-strong); margin: 0 0 18px; }
.ig-title.lg { font-size: 20px; line-height: 1.6; }
@media (max-width: 559px) { .ig-title.lg { font-size: 18px; } }
.ig-note { font-size: 12.5px; color: var(--text-subtle); margin-top: 16px; line-height: 1.7; }
.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; }

/* 数字のタイル（トップ「数字で見る」） */
.kpi { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gray-200); }
@media (min-width: 900px) { .kpi { grid-template-columns: repeat(4, 1fr); } }
.kpi-tile { display: flex; flex-direction: column; gap: 10px; padding: 26px 20px 24px; border-bottom: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); }
.kpi-tile:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) { .kpi-tile:nth-child(2n) { border-right: 1px solid var(--gray-200); } .kpi-tile:last-child { border-right: 0; } }
.kpi-tile .v { white-space: nowrap; }
@media (max-width: 559px) { .kpi-tile { padding: 22px 14px 20px; } .kpi-tile .v { font-size: 30px; } }
.kpi-tile .k { font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; }
.kpi-tile .v { color: var(--red-600); font-size: clamp(34px, 4.4vw, 46px); font-weight: 700; line-height: 1.15; letter-spacing: 0.02em; }
.kpi-tile .v small { font-size: 0.42em; color: var(--text-strong); margin-left: 4px; letter-spacing: 0.06em; }
.kpi-tile .v small.pre { margin: 0 6px 0 0; font-size: 0.36em; }
.kpi-tile .viz { min-height: 34px; display: flex; align-items: center; }
.kpi-tile .d { font-size: 12.5px; color: var(--text-subtle); line-height: 1.7; }
.kpi-tile .d b { color: var(--text-strong); }
.seats { display: grid; grid-template-columns: repeat(6, 14px); gap: 5px; }
.seat { width: 14px; height: 14px; border-radius: 3px; background: var(--red-600); }
.seat.open { background: #fff; box-shadow: inset 0 0 0 1.5px var(--red-300, #f493a3); }
.meter { position: relative; width: 100%; max-width: 180px; height: 10px; border-radius: 5px; background: var(--red-100); }
.meter > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--red-600); border-radius: 5px; }
.kpi-icon { width: 34px; height: 34px; color: var(--red-600); }

/* 過去と未来の時間軸（トップ「会計事務所との違い」） */
.tl { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 14px; }
.tl-axis { grid-column: 1 / -1; position: relative; height: 50px; }
.tl-axis::before { content: ""; position: absolute; left: 0; right: 12px; top: 14px; height: 3px; background: var(--gray-300); }
.tl-axis::after { content: ""; position: absolute; right: 0; top: 8px; border-left: 14px solid var(--gray-300); border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; }
.tl-axis span { position: absolute; top: 24px; font-size: 16px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; transform: translateX(-50%); white-space: nowrap; }
.tl-axis span.s { left: 0; transform: none; }
.tl-axis span.m { left: 50%; color: var(--red-600); }
.tl-axis span.e { left: auto; right: 0; transform: none; }
.tl-axis i { position: absolute; top: 8.5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--gray-500); transform: translateX(-50%); }
.tl-axis i.m { left: 50%; background: var(--red-600); box-shadow: 0 0 0 3px #fff; }
.tl-now { position: absolute; left: 50%; top: 26px; bottom: 34px; width: 0; border-left: 2px solid var(--red-200); z-index: 0; }
.tl-band, .tl-link { z-index: 1; }
.tl-link { position: relative; }
.tl-band { position: relative; padding: 20px 24px; border-radius: 4px; }
.tl-band.past { grid-column: 1 / 8; background: var(--gray-100); border-left: 4px solid var(--gray-500); }
.tl-band.future { grid-column: 6 / 13; background: var(--red-050); border-left: 4px solid var(--red-600); }
.tl-band small { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-subtle); }
.tl-band.future small { color: var(--red-600); }
.tl-band b { display: block; font-size: 19px; color: var(--text-strong); margin-top: 4px; }
.tl-band ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--text-body); }
.tl-band li { position: relative; padding-left: 14px; }
.tl-band li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--gray-500); }
.tl-band.future li::before { background: var(--red-600); }
.tl-link { grid-column: 4 / 10; text-align: center; font-size: 14px; font-weight: 700; color: var(--text-muted); }
.tl-link > span { display: inline-block; padding: 4px 16px; border: 1px solid var(--gray-300); border-radius: 999px; background: #fff; }
.tl-msg { margin-top: 26px; font-size: 18px; font-weight: 700; color: var(--text-strong); text-align: center; }
@media (max-width: 559px) { .tl-axis span { font-size: 14px; } .tl-band { padding: 14px 12px; } .tl-band b { font-size: 16.5px; } .tl-band small { font-size: 12px; } .tl-band ul { font-size: 13.5px; gap: 2px 10px; } .tl-link { font-size: 12.5px; } .tl-msg { font-size: 16px; } .tl-band.past { grid-column: 1 / 9; } .tl-band.future { grid-column: 5 / 13; } .tl-link { grid-column: 2 / 12; } }

/* 経営チームの空席（サービス「CFOの役割」） */
.org { max-width: 860px; margin: 0 auto; }
.org-boss { width: fit-content; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 22px; border: 1px solid var(--gray-300); border-radius: 999px; font-weight: 700; color: var(--text-strong); background: #fff; }
.org-boss svg { width: 22px; height: 22px; color: var(--gray-500); }
.org-lines { display: block; width: 100%; height: 36px; }
.org-seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 20px); }
.org-seat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 12px 18px; background: var(--gray-050); border: 1px solid var(--gray-200); border-radius: 6px; }
.org-seat .role { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: 0.06em; color: var(--text-strong); line-height: 1.2; }
.org-seat .who { display: inline-block; margin-top: 8px; padding: 2px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; background: var(--gray-200); color: var(--text-muted); }
.org-seat p { margin-top: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.org-seat.cfo { background: var(--red-600); border-color: var(--red-600); color: #fff; box-shadow: 0 10px 24px rgba(216, 0, 41, 0.18); }
.org-seat.cfo .role { color: #fff; }
.org-seat.cfo .who { background: #fff; color: var(--red-700); }
.org-seat.cfo p { color: rgba(255, 255, 255, 0.92); }
.org-gap { margin-top: 18px; display: flex; justify-content: flex-end; }
.org-gap p { max-width: 34em; font-size: 13.5px; color: var(--text-muted); text-align: right; }
.org-gap b { color: var(--red-600); }
@media (max-width: 559px) { .org-seat { padding: 14px 6px; } .org-seat p { font-size: 11.5px; } .org-seat .who { font-size: 10.5px; padding: 2px 6px; } }

/* 年間コストの比較（サービス「顧問契約」） */
.cost { margin: 0; }
.cost-rows { display: grid; gap: 18px; }
.cost-row { display: grid; grid-template-columns: 13em 1fr; gap: 14px; align-items: center; }
@media (max-width: 719px) { .cost-row { grid-template-columns: 1fr; gap: 6px; } }
.cost-row .lbl { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.cost-row .lbl small { display: block; font-size: 12px; font-weight: 500; color: var(--text-subtle); }
.bar-line { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.bar { display: block; height: 24px; border-radius: 0 4px 4px 0; width: calc((100% - 8em) * var(--w)); min-width: 6px; }
.bar.gray { background: var(--gray-500); }
.bar.red { background: var(--red-600); }
.bar-line .val { font-size: 15px; font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.cost-row.us .val { color: var(--text-strong); }
.cost-axis { margin: 8px 0 0 calc(13em + 14px); height: 1px; background: var(--gray-200); }
@media (max-width: 719px) { .cost-axis { margin-left: 0; } }
.cost-call { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 20px; background: var(--rose-tint); border-left: 4px solid var(--red-600); }
.cost-call b { font-size: clamp(26px, 3.4vw, 34px); color: var(--red-600); line-height: 1.1; }
.cost-call span { font-size: 15px; font-weight: 700; color: var(--text-strong); }

/* 導入前→導入後（サービス「ご支援の流れ」） */
.ba { display: grid; gap: 10px; }
.ba-row, .ba-headrow { display: grid; grid-template-columns: 8.5em 1fr 36px 1.25fr; gap: 10px; align-items: stretch; }
.ba-headrow span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; padding: 0 4px; }
.ba-headrow .bh { color: var(--text-subtle); }
.ba-headrow .ah { color: var(--red-600); }
.ba-item { display: flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--text-strong); }
.ba-before, .ba-after { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 4px; font-size: 14.5px; }
.ba-before { background: var(--gray-100); color: var(--text-muted); }
.ba-after { background: var(--red-050); color: var(--text-strong); font-weight: 700; box-shadow: inset 3px 0 0 var(--red-600); }
.ba-after svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--red-600); }
.ba-arrow { display: grid; place-items: center; color: var(--red-600); }
.ba-arrow svg { width: 22px; height: 22px; }
@media (max-width: 719px) {
  .ba-headrow { display: none; }
  .ba-row { grid-template-columns: 1fr 26px 1.15fr; gap: 6px; }
  .ba-item { grid-column: 1 / -1; font-size: 13px; margin-top: 6px; }
  .ba-before, .ba-after { padding: 10px 10px; font-size: 13px; }
}

/* 課税の繰延べのイメージ（サービス「ウェルスマネジメント」） */
.defer { width: 100%; height: auto; display: block; }
.defer text { font-family: inherit; }
.ig-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; font-size: 13px; color: var(--text-body); }
.ig-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ig-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.ig-badge { display: inline-block; margin-left: 10px; padding: 1px 10px; font-size: 11.5px; font-weight: 700; color: var(--text-muted); border: 1px solid var(--gray-300); border-radius: 999px; vertical-align: 2px; }
.defer-m, .defer-notes { display: none; }
.defer-notes p { display: flex; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.defer-notes i { flex-shrink: 0; width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; }
.defer-notes b { display: block; color: var(--text-strong); font-size: 13.5px; }
@media (max-width: 559px) { .defer-d { display: none; } .defer-m { display: block; } .defer-notes { display: block; } .ig-legend { display: none; } }
.defer-em { display: block; margin-top: 2px; font-style: normal; font-weight: 700; color: var(--red-600); }

/* 著書（画像なし・文字とリンク） */
.book { margin-top: 12px; padding: 18px 20px; background: var(--gray-050); border: 1px solid var(--gray-200); border-left: 3px solid var(--red-600); }
.book-title { font-size: 17px; font-weight: 700; color: var(--text-strong); line-height: 1.6; }
.book-title small { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.book-meta { margin-top: 8px !important; font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.book-links { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 700; }
.book-links a { text-decoration: none; }
.book-links a:hover { text-decoration: underline; }
.rep-book { margin-top: 14px !important; font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.rep-book span { display: inline-block; margin-right: 8px; padding: 0 8px; font-size: 12px; font-weight: 700; color: #fff; background: var(--gray-700); vertical-align: 1px; }

/* 米国不動産投資（ウェルスマネジメント内） */
.usre-lead { max-width: 52em; color: var(--text-muted); margin-bottom: 16px; }
.areas.usre + .note { margin-top: 12px; }

/* 米国不動産の仕組み（インフォグラフィック） */
.re-step { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; }
.re-step:first-of-type { margin-top: 0; }
.re-step span { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red-600); color: #fff; font-size: 13px; font-weight: 700; }
.re-step b { font-size: 15px; color: var(--text-strong); }
.re-compare { display: grid; gap: 12px; }
.re-row { display: grid; grid-template-columns: 7.5em 1fr 10.5em; gap: 14px; align-items: center; }
.re-row .lbl { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.re-bar { display: flex; gap: 2px; height: 30px; }
.re-bar span { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.re-bar .b { background: var(--red-600); color: #fff; border-radius: 4px 0 0 4px; }
.re-bar .l { background: var(--gray-300); color: var(--text-strong); border-radius: 0 4px 4px 0; }
.re-bar em { font-style: normal; font-weight: 500; }
.re-row .val { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.re-row .val b { display: block; font-size: 17px; color: var(--text-strong); }
.re-row.us .val b { color: var(--red-600); }
.re-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 16px; background: var(--gray-050); border: 1px solid var(--gray-200); border-radius: 4px; font-size: 14px; }
.re-formula span { padding: 3px 10px; background: #fff; border: 1px solid var(--gray-300); border-radius: 4px; font-weight: 700; color: var(--text-strong); }
.re-formula i { font-style: normal; font-weight: 700; color: var(--text-subtle); }
.re-formula b { padding: 3px 12px; background: var(--red-600); color: #fff; border-radius: 4px; }
.re-formula small { flex-basis: 100%; font-size: 12px; color: var(--text-subtle); }
.usre-chart { width: 100%; height: auto; display: block; }
.usre-chart text { font-family: inherit; }
.usre-m, .usre-notes { display: none; }
@media (max-width: 719px) {
  .re-row { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .re-row .re-bar { grid-column: 1 / -1; grid-row: 2; }
  .re-row .val { text-align: right; }
  .re-row .val b { display: inline; margin-left: 6px; }
}
@media (max-width: 559px) {
  .re-bar em { display: none; }
  .usre-d { display: none; }
  .usre-m { display: block; }
  .usre-notes { display: block; }
}

/* 国の認定・登録（経済産業省の写真つき） */
.cert { display: grid; gap: 28px; }
@media (min-width: 900px) { .cert { grid-template-columns: 0.9fr 1.1fr; grid-template-areas: ". head" "visual list"; column-gap: 48px; row-gap: 0; align-items: stretch; } .cert-head { grid-area: head; } .cert-list { grid-area: list; } .cert-visual { grid-area: visual; align-content: center; margin-top: 20px; } }
.cert-photo { margin: 0; }
.cert-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.cert-photo figcaption { margin-top: 8px; font-size: 12px; color: var(--text-subtle); }
.cert-lead { margin-top: 14px; color: var(--text-muted); }
.cert-list { margin-top: 20px; display: grid; gap: 8px; }
.cert-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid var(--gray-200); border-left: 3px solid var(--red-600); }
.cert-list b { font-size: 15px; color: var(--text-strong); }
.cert-list small { grid-column: 1; font-size: 12.5px; color: var(--text-muted); }
.cert-list a { grid-column: 2; grid-row: 1 / span 2; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cert-list a:hover { text-decoration: underline; }
@media (max-width: 559px) { .cert-list li { grid-template-columns: 1fr; } .cert-list a { grid-column: 1; grid-row: auto; margin-top: 4px; } }
.cert-visual { display: grid; place-items: center; text-align: center; gap: 6px; padding: 40px 24px; background: #fff; border: 1px solid var(--rose-line); border-radius: 6px; }
.cert-visual svg { width: 64px; height: 64px; color: var(--red-600); }
.cert-visual p { display: flex; align-items: baseline; gap: 6px; }
.cert-visual b { font-size: 64px; line-height: 1; color: var(--red-600); }
.cert-visual span { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.cert-visual small { font-size: 13px; color: var(--text-muted); }
@media (max-width: 559px) { .cert-visual { padding: 28px 16px; } .cert-visual b { font-size: 52px; } }

/* フッターの関連リンク（経済産業省のリンク用バナーは、利用規約ページ配布の画像を加工せずリンクにのみ使用。
   天地15mm以上用の画像なので、シンボルマークが15mm（約57px）以上になる高さ80pxで表示） */
.foot-ext { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.foot-ext-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.meti-banner { display: inline-block; line-height: 0; }
.meti-banner img { height: 80px; width: auto; }
.foot-ext ul { display: grid; gap: 4px; font-size: 13.5px; }
/* 中小企業庁のリンク用バナー（利用規約ページ配布の chushobanner30080.png を加工せず、中小企業庁ウェブサイトへのリンクにのみ使用） */
.foot-banners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.chusho-banner { display: inline-block; line-height: 0; }
.chusho-banner img { width: 300px; max-width: 100%; height: auto; }

/* 対応エリア（都道府県タイルマップ。実績＝#D80029、本社＝#97001C、その他＝#ECECEC） */
.reach { display: grid; gap: 28px; }
@media (min-width: 900px) { .reach { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; } }
.area-lead { margin-top: 14px; color: var(--text-muted); }
.area-lead b { color: var(--text-strong); }
.area-count { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.area-count b { font-size: 56px; line-height: 1; color: var(--red-600); }
.area-count span { font-size: 17px; font-weight: 700; color: var(--text-strong); }
.area-regions { margin-top: 14px; display: grid; gap: 6px; }
.area-regions li { display: grid; grid-template-columns: 3.2em 1fr; gap: 10px; align-items: baseline; padding: 8px 12px; background: var(--gray-050); border-left: 3px solid var(--red-600); font-size: 14px; }
.area-regions b { color: var(--text-strong); }
.area-regions span { color: var(--text-muted); }
.area-legend { margin-top: 16px; }
.area-map-wrap { background: #fff; border: 1px solid var(--gray-200); border-radius: 6px; padding: clamp(12px, 2.4vw, 24px); }
.area-map { display: block; width: 100%; height: auto; }
.area-map text { font-family: inherit; }
.reach .area-legend { display: flex; }

/* 業種別支援ページ（2026-10-05） */
.ind-head h2 { font-size: clamp(22px, 2.8vw, 28px); }
.ind-sub { font-size: 17px; margin: 44px 0 14px; }
.ind-head + .ind-sub { margin-top: 0; }
.ind-grid-flush { margin-top: 0; }
.ks-bar { display: flex; gap: 3px; height: 96px; }
.ks-seg { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 6px 4px; min-width: 0; border-radius: 3px; }
.ks-seg b { font-size: 22px; line-height: 1.1; }
.ks-seg span { font-size: 12.5px; font-weight: 700; line-height: 1.35; margin-top: 4px; }
.ks-seg em { font-style: normal; font-size: 13px; font-weight: 700; margin-top: 2px; }
.ks-seg.fin { background: var(--red-600); color: #fff; }
.ks-seg.oth { background: var(--gray-200); color: var(--text-strong); }
.ks-brace { display: flex; gap: 3px; margin-top: 10px; }
.ks-brace span { position: relative; padding-top: 16px; text-align: center; font-size: 14px; font-weight: 700; }
.ks-brace span::before { content: ""; position: absolute; left: 2px; right: 2px; top: 0; height: 9px; border: 2px solid currentColor; border-top: 0; }
.ks-brace .fin { color: var(--red-600); }
.ks-brace .oth { color: var(--text-subtle); }
.ks-brace b { font-size: 20px; margin-left: 6px; }
.ks-legend { display: none; }
.ks-formula { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--text-muted); letter-spacing: 0.04em; }
.ks-y { margin-top: 26px; padding: 20px 22px; background: var(--rose-tint); }
.ks-y p { font-size: 14.5px; color: var(--text-body); }
.ks-y ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.ks-y li { padding: 5px 12px; background: #fff; border: 1px solid var(--rose-line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--text-strong); }
@media (max-width: 719px) {
  .ks-bar { height: 64px; }
  .ks-seg span { display: none; }
  .ks-seg b { font-size: 17px; }
  .ks-seg em { font-size: 12px; }
  .ks-brace span { font-size: 12px; }
  .ks-brace b { display: block; font-size: 16px; margin-left: 0; }
  .ks-legend { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 16px; font-size: 13.5px; }
  .ks-legend li { display: flex; gap: 8px; align-items: baseline; }
  .ks-legend b { min-width: 1.8em; color: var(--red-600); }
  .ks-legend li.oth b { color: var(--text-subtle); }
  .ks-legend em { font-style: normal; margin-left: auto; font-weight: 700; color: var(--text-muted); }
  .ks-y { padding: 16px; }
}

/* 製造業のインフォグラフィック（2026-10-05） */
.pl-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 18px; margin-bottom: 14px; background: var(--gray-050); border-left: 4px solid var(--gray-500); }
.pl-total span { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.pl-total b { font-size: 26px; color: var(--text-strong); line-height: 1.2; font-variant-numeric: tabular-nums; }
.pl-total b small { font-size: 13px; margin-left: 4px; color: var(--text-muted); }
.pl-total em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--gray-200); color: var(--text-strong); }
.pl { position: relative; --pl-n: 72px; --pl-v: 64px; }
.plr { display: grid; grid-template-columns: var(--pl-n) 1fr var(--pl-v); align-items: center; height: 42px; }
.plr-n { font-size: 14.5px; font-weight: 700; color: var(--text-strong); }
.plr-t { position: relative; height: 100%; }
.plr-t i { position: absolute; top: 9px; bottom: 9px; border-radius: 2px; }
.plr.pos i { background: var(--gray-300); }
.plr.neg i { background: var(--red-600); }
.plr-v { text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.plr.neg .plr-n, .plr.neg .plr-v { color: var(--red-600); }
.plr-head { height: 26px; }
.plr-head .plr-t b { position: absolute; top: 3px; font-size: 12px; padding: 0 8px; }
.plr-head .plr-t b.l { color: var(--red-600); }
.plr-head .plr-t b.r { color: var(--text-subtle); }
.plr-head .plr-v { font-size: 11.5px; font-weight: 500; color: var(--text-subtle); }
.pl-zero { position: absolute; top: 26px; bottom: 0; width: 2px; margin-left: -1px; background: var(--gray-500); }
.cg-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 18px 0; }
.cg-row + .cg-row { border-top: 1px dashed var(--gray-300); }
.cg-step { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--red-600); }
.cg-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cg-box { display: inline-flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 14px; background: var(--gray-100); border-radius: 4px; text-align: center; }
.cg-box b { font-size: 15.5px; color: var(--text-strong); }
.cg-box small { font-size: 11.5px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.cg-box.u { width: 164px; height: 64px; }
.cg-box.u b { line-height: 1.4; }
.cg-box small { line-height: 1.45; }
.cg-box.key { background: var(--red-050); box-shadow: inset 0 0 0 1.5px var(--red-200); }
.cg-box.res { background: var(--red-600); }
.cg-box.res b { color: #fff; }
.cg-box.res small { color: rgba(255, 255, 255, 0.88); }
.cg-op { font-size: 20px; font-weight: 700; color: var(--text-subtle); }
.cg-pair { display: inline-flex; align-items: center; gap: 8px; }
.flow4 { display: grid; gap: 14px; }
@media (min-width: 720px) { .flow4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .flow4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .flow4 li:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 46px; border-left: 11px solid var(--red-200); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
}
.flow4 li { position: relative; background: #fff; border: 1px solid var(--gray-200); border-top: 3px solid var(--red-600); padding: 22px 20px; }
.f4-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red-050); color: var(--red-600); }
.f4-ic svg { width: 24px; height: 24px; }
.flow4 small { display: block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--red-600); }
.flow4 b { display: block; font-size: 17px; margin-top: 4px; color: var(--text-strong); }
.flow4 p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
@media (max-width: 559px) {
  .pl { --pl-n: 58px; --pl-v: 50px; }
  .plr-n { font-size: 13px; }
  .plr-v { font-size: 13.5px; }
  .cg-row { grid-template-columns: 1fr; gap: 8px; }
  .cg-eq { gap: 6px; }
  .cg-pair { gap: 6px; }
  .cg-box { min-height: 52px; padding: 6px 10px; }
  .cg-box b { font-size: 14px; }
  .cg-box.u { width: 116px; height: 74px; }
  .cg-box.u small { font-size: 11px; }
  .cg-op { font-size: 17px; }
}

/* 建設業のインフォグラフィック（2026-10-05） */
.ig-card-gap { margin-top: 32px; }
.db-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: -4px 0 12px; font-size: 13px; color: var(--text-muted); }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-legend s, .dbr-t s { display: inline-block; width: 14px; height: 14px; border-radius: 50%; text-decoration: none; }
.db-legend s.p, .dbr-t s.p { background: #fff; box-shadow: inset 0 0 0 2.5px var(--gray-500); }
.db-legend s.a, .dbr-t s.a { background: var(--red-600); }
.db { position: relative; --db-n: 64px; --db-v: 116px; }
.dbr { display: grid; grid-template-columns: var(--db-n) 1fr var(--db-v); align-items: center; height: 44px; }
.dbr-n { font-size: 14.5px; font-weight: 700; color: var(--text-strong); }
.dbr-t { position: relative; height: 100%; }
.dbr-t i { position: absolute; top: 50%; height: 4px; margin-top: -2px; background: var(--gray-300); }
.dbr.bad .dbr-t i { background: var(--red-200); }
.dbr-t s { position: absolute; top: 50%; margin: -7px 0 0 -7px; z-index: 1; }
.dbr-v { text-align: right; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-strong); white-space: nowrap; }
.dbr.bad .dbr-n, .dbr.bad .dbr-v { color: var(--red-600); }
.dbr-head { height: 24px; }
.dbr-head .dbr-t b { position: absolute; top: 4px; transform: translateX(-50%); font-size: 11.5px; font-weight: 500; color: var(--text-subtle); }
.dbr-head .dbr-v { font-size: 11.5px; font-weight: 500; color: var(--text-subtle); }
.db-zero { position: absolute; top: 24px; bottom: 0; width: 0; border-left: 1.5px dashed var(--gray-500); }
.cf-cap { margin: -6px 0 16px; font-size: 13px; color: var(--text-muted); }
.cf-plot { position: relative; height: 250px; }
.cf-band { position: absolute; top: 0; bottom: 0; background: var(--red-050); border-radius: 4px; }
.cf-band b { position: absolute; top: 6px; left: 0; right: 0; text-align: center; font-size: 12.5px; letter-spacing: 0.1em; color: var(--red-600); }
.cf-zero { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px solid var(--gray-500); }
.cf-col { position: absolute; top: 0; bottom: 0; }
.cf-col i { position: absolute; left: 22%; right: 22%; border-radius: 2px; }
.cf-col.pos i { background: var(--gray-300); }
.cf-col.neg i { background: var(--red-600); }
.cf-col em { position: absolute; left: 0; right: 0; text-align: center; font-style: normal; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.cf-col.neg em { color: var(--red-600); }
.cf-x { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 8px; text-align: center; }
.cf-x b { display: block; font-size: 13px; color: var(--text-strong); }
.cf-x small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 559px) {
  .db { --db-n: 50px; --db-v: 86px; }
  .dbr-n { font-size: 13px; }
  .dbr-v { font-size: 12.5px; }
  .cf-plot { height: 210px; }
  .cf-col i { left: 18%; right: 18%; }
  .cf-col em { font-size: 12px; }
  .cf-band b { font-size: 11.5px; }
  .cf-x b { font-size: 11px; }
  .cf-x small { font-size: 10.5px; }
}

/* 顧問先さま特典：支援ツール（2026-10-05） */
.perk { background: #fff; border: 1px solid var(--gray-200); border-top: 4px solid var(--red-600); padding: clamp(22px, 4vw, 40px); }
.perk-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.perk-ic { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red-600); color: #fff; }
.perk-ic svg { width: 30px; height: 30px; }
.perk-head h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: 6px; }
.perk-head p { margin-top: 10px; color: var(--text-muted); max-width: 760px; }
.tools { display: grid; gap: 14px; }
@media (min-width: 720px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(3, 1fr); } }
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--gray-050); border: 1px solid var(--gray-200); }
.tool-th { flex-shrink: 0; width: 82px; height: 52px; background: #fff; border: 1px solid var(--gray-200); border-radius: 3px; }
.tool-th svg { display: block; width: 100%; height: 100%; }
.tool b { font-size: 15.5px; color: var(--text-strong); }
.tool .tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--rose-band); color: var(--rose-deep); font-size: 11px; font-weight: 700; vertical-align: 2px; }
.tool p { margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.perk-banner { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 20px 24px; background: #fff; border: 1px solid var(--gray-200); border-left: 4px solid var(--red-600); color: var(--text-strong); text-decoration: none; transition: border-color 0.15s ease; }
.perk-banner:hover { border-color: var(--red-600); color: var(--text-strong); }
.perk-banner .perk-ic { width: 52px; height: 52px; }
.perk-banner .perk-ic svg { width: 24px; height: 24px; }
.perk-b { flex: 1; min-width: 0; }
.perk-b small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--red-600); }
.perk-b b { display: block; margin-top: 2px; font-size: 17px; }
.perk-b .t { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); }
.perk-banner > svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--red-600); }
.perk-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 16px; background: var(--rose-tint); font-size: 14px; font-weight: 700; color: var(--text-strong); }
.perk-note svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--red-600); }
@media (max-width: 559px) {
  .perk-head { flex-direction: column; gap: 14px; }
  .perk-head > .perk-ic { width: 48px; height: 48px; }
  .perk-head > .perk-ic svg { width: 24px; height: 24px; }
  .perk-banner { gap: 12px; padding: 16px; }
  .perk-banner .perk-ic { width: 42px; height: 42px; }
  .perk-banner .perk-ic svg { width: 20px; height: 20px; }
  .perk-b b { font-size: 15.5px; }
  .tool { padding: 14px 12px; }
  .tool-th { width: 70px; height: 45px; }
}
