/* ==========================================================================
   ChinaBox 2026 リニューアル 共通スタイル
   正本：ChinaBox ブランドガイドライン Ver.1.1
   https://share.bad-corp.com/brand_guideline/chinabox/
   - 色は必ずこの :root の変数経由で使う（ハードコード禁止）
   - 既存セレクタを末尾で再定義しない。直すときは該当ブロックを直す
   - 旧テーマ（/wp-content/themes/chinabox/）のCSSとは併用しない
   ========================================================================== */

:root {
  /* ブランド */
  --cb-coral: #EC6D5E;       /* 装飾・罫線・大きな数値のみ（対白3.04） */
  --cb-coral-txt: #C64D3F;   /* 通常サイズのCoral文字（対白4.63） */
  --cb-sumi: #231815;        /* 見出し */
  --cb-ink: #16283F;         /* 濃色モジュール（FAQ・フッター） */
  /* 操作 */
  --cb-blue: #004DA0;        /* 主要CTA・リンク・セカンダリ（形で区別） */
  --cb-blue-hover: #00438C;
  --cb-blue-active: #003C7C;
  /* 背景・文字 */
  --cb-white: #FFFFFF;
  --cb-cool: #F5F7FC;
  --cb-paleblue: #BBDFF6;
  --cb-text: #1A1A1A;
  --cb-text2: #4A4A4A;
  --cb-text3: #4F4F4F;
  --cb-line: #D8DEE8;
  --cb-on-dark: #C9D3E0;     /* 濃色背景上の補助文字（対ink 10.6） */
  --cb-coral-tint: #FFF6F4;  /* 「御社」の行・アイコンの下地など、Coral系のごく淡い面 */
  --cb-coral-soft: rgba(236, 109, 94, .28);   /* 見出しのマーカー */
  --cb-coral-dot: rgba(236, 109, 94, .30);    /* ドット装飾 */
  --cb-shadow: 0 8px 28px rgba(22, 40, 63, .10);
  --cb-on-dark-line: rgba(255, 255, 255, .16); /* 濃色背景上の区切り線 */
  --cb-footer-bg: #1A1A1A;   /* フッター（既存サイトの黒） */
  --cb-footer-link: #B3B3B3; /* フッターのリンク（対#1A1A1A 8.6） */
  --cb-header-shadow: 0 0 10px rgba(31, 31, 31, .15);
  /* 寸法 */
  --cb-w: 1080px;
  --cb-gutter: 28px;
  --cb-header-h: 116px;     /* PC：ツール行＋ナビ行の2段（既存サイトの見た目） */
  --cb-radius: 4px;
  --cb-focus: 3px solid var(--cb-blue);
}

/* --------------------------------------------------------------------------
   ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cb-header-h) + 16px); }
body {
  margin: 0;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  font-size: 1rem;           /* 16px。ユーザー設定を尊重するため rem */
  line-height: 1.8;
  color: var(--cb-text);
  background: var(--cb-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cb-blue); }
:focus-visible { outline: var(--cb-focus); outline-offset: 3px; }

.cb-wrap { max-width: calc(var(--cb-w) + var(--cb-gutter) * 2); margin: 0 auto; padding: 0 var(--cb-gutter); }
.cb-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.cb-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cb-white); color: var(--cb-blue); font-weight: 700;
  padding: 10px 16px; border: 2px solid var(--cb-blue); border-radius: var(--cb-radius);
}
.cb-skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   ボタン・リンク（ガイドライン §07：色が同じなので形で主従をつける）
   -------------------------------------------------------------------------- */
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 15px 32px;
  font-size: 1rem; font-weight: 700; letter-spacing: .03em; line-height: 1.4;
  text-decoration: none; border-radius: var(--cb-radius);
  border: 2px solid var(--cb-blue);
  transition: background-color .15s, color .15s;
}
.cb-btn--primary { background: var(--cb-blue); color: var(--cb-white); }
.cb-btn--primary::after { content: "›"; font-size: 1.2em; line-height: 1; }
.cb-btn--primary:hover { background: var(--cb-white); color: var(--cb-blue); }
.cb-btn--primary:active { background: var(--cb-blue-active); color: var(--cb-white); border-color: var(--cb-blue-active); }
.cb-btn--secondary { background: var(--cb-white); color: var(--cb-blue); }
.cb-btn--secondary:hover { background: var(--cb-cool); }
.cb-btn--sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.cb-btn img { flex: none; }

/* 線アイコン（装飾。alt=""）。旧サイトのCoral線アイコン＋円弧の意匠を引き継ぐ */
.cb-ico { display: block; width: 100%; height: auto; }

.cb-link {
  color: var(--cb-blue); font-weight: 700;
  text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px;
}
.cb-link:hover { text-decoration-thickness: 2px; }
.cb-link--arrow::after { content: " →"; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.cb-header { position: sticky; top: 0; z-index: 100; background: var(--cb-white); box-shadow: var(--cb-header-shadow); }
.cb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
/* ロゴ：最小160px（§02） */
.cb-header__logo { flex: none; display: block; line-height: 0; }
.cb-header__logo img { width: 220px; height: auto; }
.cb-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cb-header__tools { display: flex; align-items: center; gap: 14px; }
.cb-header__tel { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 700; line-height: 1; color: var(--cb-sumi); text-decoration: none; }
.cb-header__tel img, .cb-header__icon img { display: block; width: 34px; height: 34px; }
.cb-header__icon { display: block; transition: transform .15s; }
.cb-header__icon:hover { transform: translateY(-3px); }
.cb-header__cta { flex: none; }
.cb-header__ctaico { display: none; }
.cb-nav__list { display: flex; align-items: center; }
.cb-nav__list > li { position: relative; padding-right: 36px; }
.cb-nav__list > li::after { content: "／"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--cb-coral); font-weight: 700; }
.cb-nav__list > li:nth-last-child(3) { padding-right: 0; }  /* 最後の表示項目（後ろ2つはスマホ専用） */
.cb-nav__list > li:nth-last-child(3)::after, .cb-nav__sp { display: none; }
.cb-nav__list a { display: block; padding: 4px 0; font-size: 1rem; font-weight: 700; color: var(--cb-sumi); text-decoration: none; white-space: nowrap; }
.cb-nav__list a:hover, .cb-nav__list a[aria-current="page"] { color: var(--cb-coral-txt); }
.cb-menu-btn { display: none; flex: none; }

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.cb-sec { padding: 88px 0; }
.cb-sec--cool { position: relative; overflow: hidden; background: var(--cb-cool); }
.cb-sec--cool::before {
  content: ""; position: absolute; right: -30px; top: 32px; width: 200px; height: 140px;
  background: radial-gradient(var(--cb-coral-dot) 1.6px, transparent 1.8px) 0 0 / 14px 14px;
}
.cb-sec--cool > .cb-wrap { position: relative; z-index: 1; }
.cb-sec__head { margin-bottom: 44px; }
.cb-sec__head--center { text-align: center; }
.cb-eyebrow {
  display: block; margin-bottom: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; color: var(--cb-coral-txt);
}
.cb-h2 {
  font-size: 1.875rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--cb-sumi);
  text-wrap: balance; /* 見出し末尾の1〜2文字だけの改行を防ぐ（未対応ブラウザは通常の折り返し） */
  word-break: auto-phrase; /* 日本語を文節で折り返す（「た／め」のような語中改行を防ぐ。未対応ブラウザは無視） */
}
.cb-h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 16px;
  background: var(--cb-coral); border-radius: 2px;
}
.cb-sec__head--center .cb-h2::after { margin-left: auto; margin-right: auto; }
.cb-lead { margin-top: 20px; max-width: 46em; color: var(--cb-text2); }
.cb-sec__head--center .cb-lead { margin-left: auto; margin-right: auto; }
.cb-sec__more { margin-top: 36px; }
.cb-sec__more--center { text-align: center; }

/* --------------------------------------------------------------------------
   ファーストビュー
   -------------------------------------------------------------------------- */
.cb-fv { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--cb-cool); }
/* ドットと円弧（旧サイトの意匠）。トップ・下層のFVで共通 */
.cb-fv::before, .cb-pagefv::before {
  content: ""; position: absolute; left: -40px; top: 24px; width: 220px; height: 180px;
  background: radial-gradient(var(--cb-coral-dot) 1.6px, transparent 1.8px) 0 0 / 14px 14px;
}
.cb-fv::after, .cb-pagefv::after {
  content: ""; position: absolute; right: -160px; top: -120px; width: 560px; height: 560px;
  border: 2px solid var(--cb-coral); border-radius: 50%;
  border-left-color: transparent; border-bottom-color: transparent; opacity: .5;
}
.cb-fv > .cb-wrap, .cb-pagefv > .cb-wrap { position: relative; z-index: 1; }
.cb-fv__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cb-fv__eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .08em; color: var(--cb-coral-txt); }
.cb-fv__title {
  margin-top: 14px;
  font-size: 2.625rem; font-weight: 900; line-height: 1.45; letter-spacing: .03em; color: var(--cb-sumi);
  text-wrap: balance; word-break: auto-phrase;
  overflow-wrap: anywhere; /* 文節が画面幅より長いとき（長い事例名など）は文節の途中でも折る。はみ出して切れるのを防ぐ（2026-09-24 /qc で検出） */
}
/* 見出しの文節のまとまり：途中で折り返さない（auto-phrase 未対応の環境向けの確実な手段） */
.cb-ph { display: inline-block; }
.cb-fv__title em { font-style: normal; background: linear-gradient(transparent 68%, var(--cb-coral-soft) 68%); }
.cb-fv__lead { margin-top: 22px; color: var(--cb-text); }
.cb-fv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.cb-fv__figure { margin: 0; }
.cb-fv__figure img { display: block; width: 100%; border-radius: 8px; box-shadow: var(--cb-shadow); }
.cb-fv__figure figcaption { margin-top: 10px; font-size: .75rem; color: var(--cb-text3); text-align: right; }

/* 実績数値（§07：白背景・横並び・淡色の縦罫線・数値はCoral） */
.cb-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
}
.cb-stats__item { padding: 18px 12px; text-align: center; }
.cb-stats__item + .cb-stats__item { border-left: 1px solid var(--cb-line); }
.cb-stats__num { display: block; font-size: 2.125rem; font-weight: 900; line-height: 1.2; color: var(--cb-coral); white-space: nowrap; }
.cb-stats__num small { margin-left: 2px; font-size: .9375rem; font-weight: 700; color: var(--cb-text); }
.cb-stats__label { display: block; margin-top: 4px; font-size: .8125rem; color: var(--cb-text3); }

/* 下層ページのFV（LP型：画像なし・1画面1目的） */
.cb-pagefv { position: relative; overflow: hidden; padding: 20px 0 48px; background: var(--cb-cool); }
.cb-pagefv__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 20px; }
.cb-pagefv__grid--single { grid-template-columns: minmax(0, 760px); }  /* 右カラムを持たないページ（/expo/・/business/・/reason/） */
.cb-pagefv__body { min-width: 0; }  /* grid の子は既定で最小幅＝中身の最小幅になり、長い見出しで枠が押し広げられるため */
.cb-pagefv__name { font-size: .9375rem; font-weight: 700; letter-spacing: .06em; color: var(--cb-coral-txt); }
.cb-pagefv .cb-fv__title { margin-top: 8px; font-size: 2.25rem; }
.cb-pagefv .cb-fv__lead { margin-top: 16px; }
.cb-pagefv__cta { margin-top: 24px; }
/* 右側：そのサービスがやることを3段で（本文の要約。画像にしないのでAIにも読める） */
.cb-pagefv__points {
  display: grid; gap: 0; padding: 8px 24px; counter-reset: pt;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: 8px; box-shadow: var(--cb-shadow);
}
.cb-pagefv__points li { display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: .875rem; line-height: 1.6; color: var(--cb-text2); }
.cb-pagefv__points li + li { border-top: 1px dashed var(--cb-line); }
.cb-pagefv__points b { display: block; font-size: 1rem; color: var(--cb-sumi); word-break: auto-phrase; }
.cb-pagefv__pico {
  flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-pagefv__pico .cb-ico { width: 32px; }

/* パンくず */
.cb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .8125rem; color: var(--cb-text3); }
.cb-breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.cb-breadcrumb a { display: inline-block; padding: 4px 0; color: var(--cb-text3); }  /* タップ領域24px以上（WCAG 2.5.8） */

/* --------------------------------------------------------------------------
   3つの入口（カード全体をクリック可能に：リンクは見出し内の1つだけ）
   -------------------------------------------------------------------------- */
.cb-entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cb-entry--2 { grid-template-columns: repeat(2, 1fr); }
.cb-entry__card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 26px; background: var(--cb-white);
  border: 1px solid var(--cb-line); border-top: 4px solid var(--cb-coral); border-radius: var(--cb-radius);
  transition: box-shadow .15s, border-color .15s;
}
.cb-entry__card:hover { border-color: var(--cb-blue); border-top-color: var(--cb-coral); box-shadow: var(--cb-shadow); }
.cb-entry__card:focus-within { outline: var(--cb-focus); outline-offset: 3px; }
.cb-entry__icon {
  display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-entry__icon .cb-ico { width: 40px; }
.cb-entry__situation { font-size: 1.1875rem; font-weight: 700; line-height: 1.6; color: var(--cb-sumi); }
.cb-entry__name { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cb-line); font-size: 1rem; font-weight: 700; color: var(--cb-coral-txt); }
.cb-entry__name a { color: inherit; text-decoration: none; }
.cb-entry__name a:focus-visible { outline: none; }
.cb-entry__name a::after { content: ""; position: absolute; inset: 0; }
.cb-entry__text { margin-top: 8px; font-size: .9375rem; color: var(--cb-text2); flex: 1; }
.cb-entry__text strong { color: var(--cb-text); }
.cb-entry__go { margin-top: 18px; font-size: .9375rem; font-weight: 700; color: var(--cb-blue); text-decoration: underline; text-underline-offset: .25em; }

/* --------------------------------------------------------------------------
   体制図（左→右、御社に戻る一方向の流れ）
   -------------------------------------------------------------------------- */
.cb-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: flow; }
.cb-flow__step {
  position: relative; padding: 24px 20px; background: var(--cb-white);
  border: 1px solid var(--cb-line); border-radius: var(--cb-radius); text-align: center;
}
.cb-flow__step + .cb-flow__step::before {
  content: ""; position: absolute; top: 50%; left: -28px;
  width: 20px; height: 20px; margin-top: -10px;
  border-top: 3px solid var(--cb-coral); border-right: 3px solid var(--cb-coral);
  transform: rotate(45deg) scale(.7);
}
.cb-flow__step--us { border: 2px solid var(--cb-ink); }
.cb-flow__icon { display: block; width: 44px; margin: 0 auto 10px; }
.cb-flow__who { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-flow__tag {
  display: inline-block; margin-top: 6px; padding: 1px 10px;
  font-size: .75rem; font-weight: 700; color: var(--cb-white); background: var(--cb-ink); border-radius: 2px;
}
.cb-flow__what { display: block; margin-top: 10px; font-size: .875rem; line-height: 1.7; color: var(--cb-text2); text-align: left; }
/* 戻りの矢印：「中国のお客様」から「御社」へU字で戻る。上の流れの矢印と同じCoralの線で描き、流れの一部として読ませる
   （独立した帯にすると流れから切れて見える。2026-09-24 五月女） */
.cb-flow__return { position: relative; margin: 0; padding-top: 30px; text-align: center; }
.cb-flow__return::before {
  content: ""; position: absolute; top: 0; height: 44px;
  left: calc((100% - 108px) / 8); right: calc((100% - 108px) / 8);  /* 4列・gap36px×3 の1列目と4列目の中心 */
  border: 2px solid var(--cb-coral); border-top: 0; border-radius: 0 0 12px 12px;
}
.cb-flow__return::after {  /* 1列目（御社）へ向かう上向きの矢じり */
  content: ""; position: absolute; top: 0; left: calc((100% - 108px) / 8 - 6px);
  width: 14px; height: 14px; border-top: 2px solid var(--cb-coral); border-left: 2px solid var(--cb-coral);
  transform: rotate(45deg);
}
.cb-flow__return-label {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px; background: var(--cb-cool);
  font-weight: 700; color: var(--cb-sumi);
}
.cb-flow__return-label b { color: var(--cb-coral-txt); }
.cb-flow__return-label { text-wrap: balance; }

/* --------------------------------------------------------------------------
   5つの仕事
   -------------------------------------------------------------------------- */
.cb-jobs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: job; }
.cb-jobs--4 { grid-template-columns: repeat(4, 1fr); }
.cb-jobs__item {
  counter-increment: job; position: relative; padding: 28px 18px 24px; text-align: center;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
}
.cb-jobs__item::before {
  content: counter(job, decimal-leading-zero); position: absolute; left: 14px; top: 10px;
  font-size: .8125rem; font-weight: 900; color: var(--cb-coral-txt);
}
/* 円弧つきアイコン（旧 idx_business の意匠） */
.cb-jobs__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin: 0 auto; }
.cb-jobs__icon::before {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--cb-coral); border-radius: 50%;
  border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg);
}
.cb-jobs__icon .cb-ico { width: 44px; }
.cb-jobs__name { margin-top: 12px; font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-jobs__text { margin-top: 8px; font-size: .875rem; line-height: 1.7; color: var(--cb-text2); text-align: left; }

/* --------------------------------------------------------------------------
   単品リスト
   -------------------------------------------------------------------------- */
.cb-single { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--cb-line); }
.cb-single__item { position: relative; min-height: 96px; padding: 22px 0 22px 68px; border-bottom: 1px solid var(--cb-line); }
.cb-single__icon { position: absolute; left: 0; top: 22px; width: 48px; }
.cb-single__name { font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-single__text { margin-top: 4px; font-size: .9375rem; color: var(--cb-text2); }

/* --------------------------------------------------------------------------
   選ばれる理由
   -------------------------------------------------------------------------- */
.cb-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: reason; }
.cb-reasons__item {
  counter-increment: reason; position: relative; padding: 28px 26px;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
}
.cb-reasons__item::before {
  content: counter(reason, decimal-leading-zero); position: absolute; right: 22px; top: 20px;
  font-size: .875rem; font-weight: 900; letter-spacing: .08em; color: var(--cb-coral-txt);
}
.cb-reasons__icon {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-reasons__icon .cb-ico { width: 36px; }
.cb-reasons__title { margin-top: 14px; font-size: 1.125rem; font-weight: 700; line-height: 1.6; color: var(--cb-sumi); }
.cb-reasons__text { margin-top: 8px; font-size: .9375rem; color: var(--cb-text2); }
.cb-reasons__item--key { border: 2px solid var(--cb-ink); }

/* --------------------------------------------------------------------------
   導入事例
   -------------------------------------------------------------------------- */
.cb-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cb-cases--list { grid-template-columns: repeat(2, 1fr); gap: 28px; }  /* 導入事例一覧（4件）は2列 */
.cb-cases__card {
  position: relative; overflow: hidden; background: var(--cb-white);
  border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
}
.cb-cases__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--cb-line); }
.cb-cases__body { padding: 20px 22px 24px; }
.cb-cases__card:hover { border-color: var(--cb-blue); }
.cb-cases__card:focus-within { outline: var(--cb-focus); outline-offset: 3px; }
.cb-cases__tag {
  display: inline-block; padding: 1px 10px; font-size: .75rem; font-weight: 700;
  color: var(--cb-coral-txt); border: 1px solid var(--cb-coral-txt); border-radius: 2px;
}
.cb-cases__name { margin-top: 12px; font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-cases__name a { color: inherit; text-decoration: none; }
.cb-cases__name a:focus-visible { outline: none; }
.cb-cases__name a::after { content: ""; position: absolute; inset: 0; }
.cb-cases__text { margin-top: 8px; font-size: .9375rem; color: var(--cb-text2); }

/* --------------------------------------------------------------------------
   FAQ：白いカード＋Q/Aの印
   濃紺の一枚板はコントラストが強すぎるため淡色に変更（2026-09-24 五月女）
   details/summary＝JS不要・閉じていても本文はHTMLにある
   -------------------------------------------------------------------------- */
.cb-faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.cb-faq__item { background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-faq__item[open] { border-color: var(--cb-coral); }
.cb-faq__q {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  color: var(--cb-sumi); font-weight: 700; cursor: pointer; list-style: none;
}
.cb-faq__q::-webkit-details-marker { display: none; }
.cb-faq__q::before, .cb-faq__a::before {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; font-weight: 900; font-size: .9375rem; line-height: 1;
}
.cb-faq__q::before { content: "Q"; color: var(--cb-white); background: var(--cb-coral-txt); }
.cb-faq__q::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-left: auto; margin-right: 4px;
  border-right: 2px solid var(--cb-blue); border-bottom: 2px solid var(--cb-blue);
  transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.cb-faq__item[open] .cb-faq__q::after { transform: translateY(3px) rotate(-135deg); }
.cb-faq__a { position: relative; min-height: 52px; padding: 4px 22px 20px 68px; color: var(--cb-text); font-size: .9375rem; }
.cb-faq__a::before { content: "A"; position: absolute; left: 22px; top: 0; color: var(--cb-coral-txt); background: var(--cb-coral-tint); }

/* --------------------------------------------------------------------------
   問い合わせ帯
   -------------------------------------------------------------------------- */
.cb-contact { padding: 80px 0; background: var(--cb-cool); text-align: center; border-top: 1px solid var(--cb-line); }
.cb-contact__title { font-size: 1.75rem; font-weight: 700; line-height: 1.5; color: var(--cb-sumi); }
.cb-contact__text { max-width: 40em; margin: 16px auto 0; color: var(--cb-text2); }
.cb-contact__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 32px; }
.cb-contact__tel { margin-top: 24px; font-size: .9375rem; color: var(--cb-text2); }
.cb-contact__tel a { font-size: 1.25rem; font-weight: 700; color: var(--cb-sumi); text-decoration: none; }

/* --------------------------------------------------------------------------
   Desk：対象・STEP・約束・範囲表・プラン・体制
   -------------------------------------------------------------------------- */
.cb-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cb-checks--2 { grid-template-columns: repeat(2, 1fr); }
.cb-checks__item {
  display: flex; align-items: center; gap: 16px; padding: 22px 22px;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
  font-weight: 700; color: var(--cb-sumi); text-wrap: pretty;
}
.cb-checks__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-checks__icon .cb-ico { width: 34px; }

.cb-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.cb-steps__item { position: relative; padding: 30px 30px 32px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-steps__item + .cb-steps__item::before {  /* 体制図の矢印（.cb-flow__step::before）と同じ形 */
  content: ""; position: absolute; top: 50%; left: -34px; width: 20px; height: 20px; margin-top: -10px;
  border-top: 3px solid var(--cb-coral); border-right: 3px solid var(--cb-coral); transform: rotate(45deg) scale(.7);
}
.cb-steps__head { display: flex; align-items: center; gap: 16px; }
.cb-steps__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-steps__icon .cb-ico { width: 34px; }
.cb-steps__item--first { border: 2px solid var(--cb-ink); }
.cb-steps__label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--cb-coral-txt); }
.cb-steps__title { margin-top: 0; font-size: 1.375rem; font-weight: 700; color: var(--cb-sumi); }
.cb-steps__title small { margin-left: 8px; font-size: .9375rem; color: var(--cb-text2); }
.cb-steps__text { margin-top: 18px; }
.cb-steps__note { margin-top: 16px; padding: 16px 18px; background: var(--cb-cool); border-radius: var(--cb-radius); font-size: .9375rem; }
.cb-steps__ends { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cb-steps__ends li { padding: 4px 12px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: 2px; font-weight: 700; font-size: .875rem; }

.cb-promise {
  display: flex; gap: 32px; align-items: flex-start;
  max-width: 880px; margin: 0 auto; padding: 40px 44px;
  background: var(--cb-white); border-left: 6px solid var(--cb-coral); border-radius: var(--cb-radius);
  box-shadow: 0 1px 0 var(--cb-line), 0 0 0 1px var(--cb-line);
}
.cb-promise__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-promise__icon .cb-ico { width: 48px; }
.cb-promise .cb-h2 { font-size: 1.625rem; }
.cb-promise p { margin-top: 18px; }

.cb-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cb-table { width: 100%; border-collapse: collapse; background: var(--cb-white); font-size: .9375rem; }
.cb-table caption { text-align: left; font-size: .8125rem; color: var(--cb-text3); padding-bottom: 10px; }
.cb-table th, .cb-table td { padding: 16px 18px; border: 1px solid var(--cb-line); text-align: left; vertical-align: top; }
.cb-table thead th { background: var(--cb-ink); color: var(--cb-white); font-size: .875rem; }
.cb-table tbody th { background: var(--cb-cool); color: var(--cb-sumi); white-space: nowrap; }
.cb-table__num { display: block; font-size: .75rem; font-weight: 900; color: var(--cb-coral-txt); }
.cb-table__owner { white-space: nowrap; font-weight: 700; text-align: center !important; vertical-align: middle !important; }
/* !important：.cb-table td の左寄せ・上揃えより優先させたい1列のみ */
.cb-owner { display: inline-block; min-width: 52px; padding: 2px 10px; font-size: .8125rem; color: var(--cb-white); background: var(--cb-ink); border-radius: 2px; }
.cb-owner--client { background: var(--cb-coral-txt); }
/* !important：.cb-table td の text-align:left より優先させたい1列のみ。詳細度を上げるより意図が読める */
.cb-table tr.is-client th, .cb-table tr.is-client td { background: var(--cb-coral-tint); }
.cb-table__after { margin-top: 20px; }

.cb-plan th[scope="col"] { width: 36%; text-align: center; }
.cb-plan th[scope="col"]:first-child { width: 28%; }
.cb-plan td { text-align: center; }
.cb-plan th.is-main, .cb-plan td.is-main { border-left: 2px solid var(--cb-blue); border-right: 2px solid var(--cb-blue); }
.cb-plan thead th.is-main { background: var(--cb-blue); }
.cb-plan tr:last-child td.is-main { border-bottom: 2px solid var(--cb-blue); }
.cb-plan__price { font-size: 1.75rem; font-weight: 900; color: var(--cb-sumi); line-height: 1.3; }
.cb-plan__price small { font-size: .9375rem; font-weight: 700; }
.cb-plan__sub { display: block; font-size: .8125rem; color: var(--cb-text3); }
.cb-plan__ask { font-size: 1.0625rem; font-weight: 700; color: var(--cb-text); }  /* 金額（スタンダード）より目立たせない */
.cb-note { margin-top: 16px; font-size: .875rem; color: var(--cb-text3); }

.cb-make { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cb-make__item { position: relative; padding: 26px 24px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-make__item--main { border: 2px solid var(--cb-ink); }
.cb-make__icon { display: block; width: 48px; }
.cb-make__tag {
  position: absolute; right: 18px; top: 18px; padding: 1px 10px;
  font-size: .75rem; font-weight: 700; color: var(--cb-white); background: var(--cb-ink); border-radius: 2px;
}
.cb-make__name { margin-top: 14px; font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-make__text { margin-top: 6px; font-size: .875rem; line-height: 1.7; color: var(--cb-text2); }

.cb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cb-two__item { position: relative; padding: 30px 28px 30px 108px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-two__icon {
  position: absolute; left: 28px; top: 30px; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-two__icon .cb-ico { width: 34px; }
.cb-two__title { font-size: 1.1875rem; font-weight: 700; color: var(--cb-sumi); }
.cb-two__title span { display: block; font-size: .8125rem; letter-spacing: .1em; color: var(--cb-coral-txt); }
.cb-two__text { margin-top: 12px; color: var(--cb-text2); }

.cb-prose { max-width: 46em; }
.cb-prose p + p { margin-top: 1em; }
.cb-prose strong { background: linear-gradient(transparent 68%, var(--cb-coral-soft) 68%); }

/* --------------------------------------------------------------------------
   下層ページ用の部品（2026-09-24 追加：Expo・Check・単品・理由）
   -------------------------------------------------------------------------- */
/* FV右の「費用の目安」カード */
.cb-pricecard {
  padding: 28px 28px 24px; background: var(--cb-white);
  border: 1px solid var(--cb-line); border-top: 4px solid var(--cb-coral); border-radius: 8px; box-shadow: var(--cb-shadow);
}
.cb-pricecard__label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--cb-coral-txt); }
.cb-pricecard__row + .cb-pricecard__row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--cb-line); }
.cb-pricecard__name { display: block; margin-top: 6px; font-size: .9375rem; font-weight: 700; color: var(--cb-sumi); }
.cb-pricecard__price { display: block; font-size: 2rem; font-weight: 900; line-height: 1.3; color: var(--cb-sumi); }
.cb-pricecard__price small { font-size: 1rem; font-weight: 700; }
.cb-pricecard__note { display: block; font-size: .8125rem; color: var(--cb-text3); }
.cb-pricecard__more { display: inline-block; margin-top: 14px; font-size: .875rem; }

/* 前・当日・後などの段階ごとの中身（見出し＋箇条書き） */
.cb-phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cb-phases__item { padding: 26px 26px 24px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-phases__head { display: flex; align-items: center; gap: 14px; }
.cb-phases__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-phases__icon .cb-ico { width: 30px; }
.cb-phases__title { font-size: 1.125rem; font-weight: 700; color: var(--cb-sumi); }
.cb-phases__title small { margin-left: 6px; font-size: .8125rem; color: var(--cb-text2); }
.cb-bullets { margin-top: 14px; }
.cb-bullets li { position: relative; padding-left: 18px; font-size: .9375rem; line-height: 1.7; }
.cb-bullets li + li { margin-top: 8px; }
.cb-bullets li::before {
  content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--cb-coral);
}
.cb-bullets--muted li { color: var(--cb-text2); font-size: .875rem; }

/* 進め方（縦のタイムライン） */
.cb-process { position: relative; max-width: 880px; counter-reset: proc; }
.cb-process::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 2px dashed var(--cb-coral);
}
.cb-process__item { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 0 20px; padding: 14px 0; counter-increment: proc; }
.cb-process__item::before {
  content: counter(proc); display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--cb-white); border: 2px solid var(--cb-coral);
  font-weight: 900; color: var(--cb-coral-txt); position: relative; z-index: 1;
}
.cb-process__body { padding: 8px 0 0; }
.cb-process__title { font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-process__text { margin-top: 4px; font-size: .9375rem; color: var(--cb-text2); }
.cb-process__when {
  align-self: start; margin-top: 12px; padding: 2px 12px; white-space: nowrap;
  font-size: .8125rem; font-weight: 700; color: var(--cb-ink); background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: 2px;
}
.cb-process__after { margin-top: 20px; max-width: 880px; padding: 16px 20px; background: var(--cb-white); border-left: 4px solid var(--cb-coral); border-radius: var(--cb-radius); }

/* 2段階（無料／有料）・2軸（広告／運用）のカード */
.cb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cb-split__item { display: flex; flex-direction: column; padding: 30px 28px 26px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-split__item--main { border: 2px solid var(--cb-coral); }
.cb-split__head { display: flex; align-items: center; gap: 14px; }
.cb-split__icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  background: var(--cb-coral-tint); border-radius: 50%;
}
.cb-split__icon .cb-ico { width: 34px; }
.cb-split__title { font-size: 1.25rem; font-weight: 700; color: var(--cb-sumi); }
.cb-split__sub { display: block; font-size: .8125rem; font-weight: 700; color: var(--cb-coral-txt); }
.cb-split__body { flex: 1; }
.cb-split__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--cb-line); font-weight: 700; color: var(--cb-sumi); }
.cb-split__foot strong { font-size: 1.25rem; font-weight: 900; }
.cb-dl { margin-top: 16px; }
.cb-dl dt { font-weight: 700; color: var(--cb-sumi); }
.cb-dl dd { margin: 2px 0 0; font-size: .9375rem; color: var(--cb-text2); }
.cb-dl dd + dt { margin-top: 12px; }

/* 別のサービスへの一言の導線（1本だけ） */
.cb-callout {
  display: flex; align-items: center; gap: 20px; max-width: 880px; margin: 0 auto; padding: 24px 28px;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-left: 6px solid var(--cb-coral); border-radius: var(--cb-radius);
}
.cb-callout__icon { flex: none; width: 48px; }
.cb-callout__title { font-size: 1.125rem; font-weight: 700; color: var(--cb-sumi); }
.cb-callout__text { margin-top: 4px; font-size: .9375rem; color: var(--cb-text2); }

/* 比較表（ChinaBox の列を青の枠で示す）・○△— の記号 */
.cb-compare th[scope="col"] { text-align: center; }
.cb-compare td { text-align: center; vertical-align: middle; }
.cb-compare .is-main { border-left: 2px solid var(--cb-blue); border-right: 2px solid var(--cb-blue); background: var(--cb-white); }
.cb-compare thead th.is-main { background: var(--cb-blue); }
.cb-compare tbody tr:last-child .is-main { border-bottom: 2px solid var(--cb-blue); }
.cb-mark { display: block; font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.cb-mark--yes { color: var(--cb-coral-txt); }
.cb-mark--mid { color: var(--cb-text2); }
.cb-mark--no { color: var(--cb-text3); font-weight: 400; }
.cb-mark + small { display: block; font-size: .8125rem; color: var(--cb-text2); }
.cb-source { margin-top: 12px; font-size: .8125rem; color: var(--cb-text3); }
/* 列の多い比較表：狭い画面では潰さず横スクロールにし、観点の列を左に固定する */
.cb-compare--wide { min-width: 760px; }
.cb-compare--wide tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; }
.cb-scroll-hint { display: none; margin-bottom: 8px; font-size: .8125rem; color: var(--cb-text3); }

/* 表の見出し行を左の列に持つ、費用の表 */
.cb-cost th[scope="row"] { width: 32%; }
.cb-cost td strong { font-size: 1.125rem; font-weight: 900; color: var(--cb-sumi); }

/* 導入事例の詳細・プライバシーポリシー（2026-09-24 追加） */
.cb-casehead { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; padding: 32px; background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.cb-casehead__logo { display: block; width: 100%; height: auto; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); background: var(--cb-white); }
.cb-casehead__name { font-size: 1.25rem; font-weight: 700; color: var(--cb-sumi); }
.cb-casehead__desc { margin-top: 8px; color: var(--cb-text2); font-size: .9375rem; }
.cb-casehead__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: .9375rem; }
.cb-casehead__meta dt { font-weight: 700; color: var(--cb-sumi); }
.cb-casehead__meta dd { margin: 0; }
/* 単独で置いた外部リンク：タップ領域24px以上（WCAG 2.5.8）・長いURLは折り返す */
.cb-casehead__meta a, .cb-shot figcaption a { display: inline-block; padding: 2px 0; overflow-wrap: anywhere; }
.cb-shot { margin: 0; }
.cb-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); box-shadow: var(--cb-shadow); }
.cb-shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--cb-text3); }
.cb-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cb-highlight__text { font-size: 1.25rem; font-weight: 700; line-height: 1.7; color: var(--cb-sumi); }
.cb-highlight__text::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 18px; background: var(--cb-coral); border-radius: 2px; }
.cb-interview { max-width: 880px; }
.cb-interview dt { position: relative; padding-left: 48px; font-size: 1.0625rem; font-weight: 700; color: var(--cb-sumi); }
.cb-interview dd { position: relative; margin: 12px 0 0; padding: 0 0 28px 48px; border-bottom: 1px solid var(--cb-line); }
.cb-interview dd + dt { margin-top: 28px; }
.cb-interview dt::before, .cb-interview dd::before {
  position: absolute; left: 0; top: -2px; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; font-weight: 900; font-size: .9375rem; line-height: 1;
}
.cb-interview dt::before { content: "Q"; color: var(--cb-white); background: var(--cb-coral-txt); }
.cb-interview dd::before { content: "A"; top: 0; color: var(--cb-coral-txt); background: var(--cb-coral-tint); }
.cb-policy { max-width: 880px; counter-reset: pol; }
.cb-policy__item { padding: 28px 0; border-top: 1px solid var(--cb-line); }
.cb-policy__item:last-child { border-bottom: 1px solid var(--cb-line); }
.cb-policy__title { font-size: 1.1875rem; font-weight: 700; color: var(--cb-sumi); }
.cb-policy__num { display: block; font-size: .8125rem; font-weight: 900; letter-spacing: .1em; color: var(--cb-coral-txt); }
.cb-policy p, .cb-policy ul { margin-top: 12px; }
.cb-policy .cb-bullets { margin-top: 12px; }
.cb-policy__links li + li { margin-top: 4px; }
.cb-policy__contact { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 16px 0 0; padding: 20px 24px; background: var(--cb-cool); border-radius: var(--cb-radius); }
.cb-policy__contact dt { font-weight: 700; color: var(--cb-sumi); }
.cb-policy__contact dd { margin: 0; }

/* お問い合わせ（2026-09-24）：既存の badform.css の上に、ChinaBox 固有の部分だけを足す */
.cb-pagefv--short { padding-bottom: 36px; }
.cb-contactpage { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cb-form.badform { max-width: none; }
.cb-form [hidden] { display: none !important; }
.cb-form__types { margin: 0 0 22px; padding: 0; border: 0; }
.cb-form__types legend { padding: 0; margin-bottom: 10px; }
.cb-form__choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cb-form__choice {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; cursor: pointer;
  background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: var(--cb-radius);
  font-size: .9375rem; line-height: 1.5;
}
.cb-form__choice:hover { border-color: var(--cb-blue); }
.cb-form__choice:has(input:checked) { border: 2px solid var(--cb-blue); padding: 11px 13px; background: var(--cb-cool); }
.cb-form__choice input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cb-blue); }
.cb-form__choice input:focus-visible { outline: var(--cb-focus); outline-offset: 2px; }
.cb-form__choice b { display: block; color: var(--cb-sumi); }
.cb-form__choice small { display: block; font-size: .8125rem; color: var(--cb-text3); }
.cb-form__extra { margin-bottom: 18px; padding: 18px 18px 2px; background: var(--cb-cool); border-left: 4px solid var(--cb-coral); border-radius: var(--cb-radius); }
.cb-form__extra-title { margin-bottom: 12px; font-size: .875rem; font-weight: 700; color: var(--cb-coral-txt); }
.cb-form__opt {
  display: inline-block; margin-left: 6px; padding: 1px 6px; vertical-align: 2px;
  font-size: 11px; font-weight: 700; color: var(--cb-text2); background: var(--cb-white); border: 1px solid var(--cb-line); border-radius: 2px;
}
.cb-form .badform__submit { min-height: 56px; border-radius: var(--cb-radius); }
.cb-form .bad-turnstile { margin: 4px 0 14px; }
.cb-contactpage__side { display: grid; gap: 16px; position: sticky; top: calc(var(--cb-header-h) + 16px); }
.cb-sidebox { padding: 22px 22px 20px; background: var(--cb-cool); border-radius: var(--cb-radius); }
.cb-sidebox__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--cb-white); border-radius: 50%; }
.cb-sidebox__icon .cb-ico { width: 30px; }
.cb-sidebox__title { margin-top: 10px; font-weight: 700; color: var(--cb-sumi); }
.cb-sidebox__text { margin-top: 4px; font-size: .875rem; color: var(--cb-text2); }
.cb-sidebox__tel { display: inline-block; padding: 2px 0; font-size: 1.25rem; font-weight: 700; color: var(--cb-sumi); text-decoration: none; }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.cb-footer { font-size: .875rem; }
.cb-footer__body { background: var(--cb-footer-bg); color: var(--cb-white); }
.cb-footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 1056px; padding-top: 72px; padding-bottom: 72px; }
.cb-footer__brand { text-align: center; }
.cb-footer__brand > a { display: inline-block; line-height: 0; }
.cb-footer__brand img { width: 174px; height: auto; }
.cb-footer__company { margin-top: 26px; font-size: 1.25rem; font-weight: 700; }
.cb-footer__company span { display: inline-block; font-size: .875rem; font-weight: 400; }
.cb-footer address { margin-top: 10px; font-style: normal; line-height: 2; }
.cb-footer address a { display: inline-block; padding: 2px 0; color: var(--cb-white); }
.cb-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.cb-footer__nav a { display: inline-block; padding: 4px 0; color: var(--cb-footer-link); text-decoration: none; }
.cb-footer__nav a:hover, .cb-footer__nav a[aria-current="page"] { color: var(--cb-white); text-decoration: underline; }
.cb-footer__nav > ul > li + li { margin-top: 4px; }
.cb-footer__sub li a::before { content: "›"; margin-right: 6px; color: var(--cb-coral); }
.cb-footer a:focus-visible { outline-color: var(--cb-white); }
.cb-footer__copy { margin: 0; padding: 18px 0; background: var(--cb-white); color: var(--cb-text); font-size: .75rem; text-align: center; }

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
/* ヘッダー・フッター（既存サイトの見た目） */
@media (max-width: 1239px) {
  .cb-header__logo img { width: 190px; }
  .cb-nav__list > li { padding-right: 28px; }
  .cb-nav__list > li::after { right: 6px; }
  .cb-nav__list a { font-size: .9375rem; }
}
@media (max-width: 1099px) {
  :root { --cb-header-h: 68px; }
  .cb-header__inner { gap: 10px; padding: 10px 0; }
  .cb-header__logo img { width: 160px; }
  .cb-header__right { flex-direction: row; align-items: center; margin-left: auto; gap: 10px; }
  .cb-header__tools { gap: 10px; }
  /* 既存サイトのスマホ：Coral枠の電話ボタン */
  .cb-header__tel { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--cb-coral); border-radius: 8px; }
  .cb-header__tel img { width: 26px; height: 26px; }
  .cb-header__tel span, .cb-header__icon { display: none; }
  /* 既存サイトのスマホ：青い四角のメニューボタン */
  .cb-menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; background: var(--cb-blue); border: 0; border-radius: 8px; color: var(--cb-white); cursor: pointer;
  }
  .cb-menu-btn__bar, .cb-menu-btn__bar::before, .cb-menu-btn__bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
  .cb-menu-btn__bar::before, .cb-menu-btn__bar::after { content: ""; position: absolute; left: 0; }
  .cb-menu-btn__bar::before { top: -7px; }
  .cb-menu-btn__bar::after { top: 7px; }
  .cb-menu-btn[aria-expanded="true"] .cb-menu-btn__bar { background: transparent; }
  .cb-menu-btn[aria-expanded="true"] .cb-menu-btn__bar::before { top: 0; transform: rotate(45deg); }
  .cb-menu-btn[aria-expanded="true"] .cb-menu-btn__bar::after { top: 0; transform: rotate(-45deg); }
  .cb-menu-btn:focus-visible { outline-color: var(--cb-sumi); }
  /* JSが動くときだけ畳む（JSが無ければナビは常に表示＝行き止まりを作らない） */
  .cb-header__inner { flex-wrap: wrap; }
  .js .cb-header__inner { flex-wrap: nowrap; }
  .cb-nav { width: 100%; background: var(--cb-blue); }
  .js .cb-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; box-shadow: 0 12px 24px rgba(22, 40, 63, .18); }
  .js .cb-nav.is-open { display: block; }
  .cb-nav__list { display: block; padding: 0; }
  .cb-nav__list > li, .cb-nav__list > li:nth-last-child(3) { padding-right: 0; border-top: 1px solid var(--cb-on-dark-line); }
  .cb-nav__list > li::after { display: none; }
  .cb-nav__sp { display: block; }
  .cb-nav__list a { padding: 16px var(--cb-gutter); color: var(--cb-white); font-size: 1rem; }
  .cb-nav__list a:hover, .cb-nav__list a[aria-current="page"] { color: var(--cb-white); background: var(--cb-blue-hover); }
  .cb-nav__list a:focus-visible { outline-color: var(--cb-white); outline-offset: -4px; }
}
@media (max-width: 1023px) {
  .cb-footer__main { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .cb-footer__nav { max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
  .cb-header__logo img { width: 150px; }  /* ロゴ最小160px（§02）を下回る：既存サイトのスマホも150px。ロゴ・電話・相談・メニューの4点を並べるための例外 → 要確認 */
  .cb-header__inner, .cb-header__right, .cb-header__tools { gap: 6px; }
  .cb-header__tel { width: 40px; height: 40px; }
  .cb-menu-btn { width: 40px; height: 40px; }
  /* 既存サイトのスマホと同じ、青い四角のメールアイコン（「相談する」は読み上げ用に残す） */
  .cb-header__cta { width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 8px; }
  .cb-header__cta::after { display: none; }
  .cb-header__ctaico { display: block; }
  .cb-header__ctatxt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1023px) {
  :root { --cb-gutter: 20px; }

  .cb-fv__grid { grid-template-columns: 1fr; gap: 32px; }
  .cb-entry, .cb-cases, .cb-cases--list, .cb-checks { grid-template-columns: 1fr; }
  .cb-reasons { grid-template-columns: repeat(2, 1fr); }
  .cb-jobs { grid-template-columns: repeat(2, 1fr); }
  .cb-jobs__item:last-child { grid-column: 1 / -1; }
  .cb-flow { grid-template-columns: 1fr; gap: 28px; }
  .cb-flow__step + .cb-flow__step::before { top: -26px; left: 50%; margin: 0 0 0 -10px; transform: rotate(135deg) scale(.7); }
  /* 縦並びではU字を描けないため、最後のカードから下向きの矢印でつなぎ、文言だけを置く */
  .cb-flow__return { padding-top: 36px; }
  .cb-flow__return::before { display: none; }
  /* カード間の矢印（.cb-flow__step::before）と同じ形にそろえる */
  .cb-flow__return::after { top: 6px; left: calc(50% - 10px); width: 20px; height: 20px; border: 0; border-top: 3px solid var(--cb-coral); border-right: 3px solid var(--cb-coral); transform: rotate(135deg) scale(.7); }
  .cb-flow__return-label { flex-direction: column; gap: 2px; padding: 14px 20px; background: var(--cb-white); border: 2px solid var(--cb-coral); border-radius: var(--cb-radius); }
  .cb-steps, .cb-two { grid-template-columns: 1fr; }
  .cb-steps { gap: 40px; }
  .cb-steps__item + .cb-steps__item::before { top: -32px; left: 50%; margin: 0 0 0 -10px; transform: rotate(135deg) scale(.7); }
  .cb-pagefv__grid { grid-template-columns: 1fr; gap: 28px; }
  .cb-entry--2, .cb-checks--2, .cb-phases, .cb-split { grid-template-columns: 1fr; }
  .cb-jobs--4 { grid-template-columns: repeat(2, 1fr); }
  .cb-jobs--4 .cb-jobs__item:last-child { grid-column: auto; }
  .cb-make { grid-template-columns: 1fr; }
  .cb-casehead, .cb-highlight { grid-template-columns: 1fr; }
  .cb-contactpage { grid-template-columns: 1fr; gap: 36px; }
  .cb-contactpage__side { position: static; }
  .cb-casehead__logo { max-width: 280px; }
}
@media (max-width: 767px) {
  .cb-sec { padding: 60px 0; }
  .cb-sec__head { margin-bottom: 32px; }
  .cb-h2 { font-size: 1.5rem; }
  .cb-fv { padding: 32px 0 44px; }
  .cb-fv__title { font-size: 1.75rem; }
  .cb-pagefv .cb-fv__title { font-size: 1.5625rem; }  /* 「日本と中国の両方に置く。」12字が360px幅で1行に収まる大きさ */
  .cb-fv__lead { margin-top: 16px; font-size: .9375rem; }
  .cb-fv__actions { margin-top: 24px; }
  .cb-fv__actions .cb-btn { width: 100%; }
  .cb-stats { margin-top: 32px; }
  .cb-stats__item { padding: 14px 4px; }
  .cb-stats__num { font-size: 1.625rem; }
  .cb-stats__num small { font-size: .75rem; }
  .cb-stats__label { font-size: .75rem; }
  .cb-pagefv { padding: 16px 0 40px; }
  .cb-pagefv__grid { margin-top: 16px; }
  .cb-pagefv__cta .cb-btn { width: 100%; }
  /* スマホではFVを伸ばさないよう、3段を「アイコン＋短い見出し」の横3列に縮める（説明文は隠す） */
  .cb-pagefv__points { grid-template-columns: repeat(3, 1fr); padding: 14px 8px; }
  .cb-pagefv__points li { flex-direction: column; gap: 6px; padding: 0 4px; text-align: center; }
  .cb-pagefv__pdesc { display: none; }
  .cb-pagefv__points li + li { border-top: 0; border-left: 1px dashed var(--cb-line); }
  .cb-pagefv__points b { font-size: .8125rem; line-height: 1.5; }
  .cb-pagefv__pico { width: 44px; height: 44px; }
  .cb-pagefv__pico .cb-ico { width: 26px; }
  .cb-pagefv::after { width: 320px; height: 320px; right: -140px; top: -90px; }
  .cb-checks__item { padding: 18px 16px; }
  .cb-checks__icon { width: 52px; height: 52px; }
  .cb-promise { flex-direction: column; gap: 16px; }
  .cb-casehead { padding: 22px 18px; gap: 20px; }
  .cb-form__choices { grid-template-columns: 1fr; }
  .cb-casehead__meta, .cb-policy__contact { grid-template-columns: 1fr; gap: 2px; }
  .cb-casehead__meta dd + dt, .cb-policy__contact dd + dt { margin-top: 8px; }
  .cb-highlight__text { font-size: 1.0625rem; }
  .cb-interview dt, .cb-interview dd { padding-left: 42px; }
  .cb-process__item { grid-template-columns: 48px 1fr; }
  .cb-process__when { grid-column: 2; justify-self: start; margin-top: 8px; }
  .cb-callout { flex-direction: column; align-items: flex-start; }
  .cb-pricecard { padding: 22px 20px 20px; }
  .cb-scroll-hint { display: block; }
  .cb-compare--wide tbody th[scope="row"] { min-width: 140px; }
  .cb-pricecard__price { font-size: 1.625rem; }
  .cb-promise__icon { width: 64px; height: 64px; }
  .cb-promise__icon .cb-ico { width: 36px; }
  .cb-two__item { padding: 96px 22px 24px; }
  .cb-two__icon { left: 22px; top: 24px; }
  .cb-reasons, .cb-jobs, .cb-single { grid-template-columns: 1fr; }
  .cb-jobs__item:last-child { grid-column: auto; }
  .cb-entry__card { padding: 24px 20px 22px; }
  .cb-faq__q { padding: 16px 14px; gap: 10px; }
  .cb-faq__a { padding: 4px 14px 18px 56px; }
  .cb-faq__a::before { left: 14px; }
  .cb-fv::after { width: 320px; height: 320px; right: -140px; top: -90px; }
  .cb-contact { padding: 56px 0; }
  .cb-contact__title { font-size: 1.375rem; }
  .cb-contact__actions .cb-btn { width: 100%; }
  .cb-promise { padding: 28px 22px; }
  .cb-promise .cb-h2 { font-size: 1.375rem; }
  .cb-table th, .cb-table td { padding: 12px; }
  .cb-plan__price { font-size: 1.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
