/* =====================================================================
   TechSuite LP Design System  —  techsuite-ds.css   （全社共通・全サイト同一）
   ---------------------------------------------------------------------
   構造・レイアウト・コンポーネント・レスポンシブを定義する唯一の共通CSS。
   このファイルは全サービスで **バイト同一** を保つ（各リポジトリに同一コピーを同期）。
   サービスごとに違うのは「配色（ブランドトークン）」だけ。→ 各 <service>.css で定義。

   ▼ 各テーマCSSが必ず定義するブランドトークン（“カラーコードだけ”がサービス差分）:
     --accent  --accent-2  --accent-soft  --accent-glow
     --teal  --teal-2            (CTA等グラデーションの開始/補助色)
     --dark  --dark-2            (ダークセクション)
     --accent-on-dark            (ダーク上のアクセント)
     --shadow-cta                (CTAの影)
     --glow-hero-1  --glow-hero-2  --glow-section   (装飾グラデの色)
   ===================================================================== */

:root {
  /* --- neutral surfaces（共通） --- */
  --bg: #ffffff;
  --bg-soft: #f3f8fb;
  --bg-2: #ffffff;
  /* --- foreground（共通） --- */
  --fg: #0e2a43;
  --fg-body: #3f5566;
  --fg-muted: #52697a;
  --fg-dim: #7a8b98;
  /* --- borders（共通） --- */
  --border: #e3eaf0;
  --border-strong: #c8d5df;
  /* --- on dark（共通） --- */
  --on-dark: #e8f0f6;
  --on-dark-dim: #9fb4c4;
  /* --- radius / shadow / layout / type（共通） --- */
  --r: 20px;
  --r-sm: 14px;
  --pill: 999px;
  --shadow-card: 0 30px 60px -30px rgba(11, 35, 56, .18);
  --maxw: 1120px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg-body);
  font-family: var(--font-jp); font-size: 15px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; }
[data-budoux] { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }

.wrap { width: min(var(--maxw), 89%); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }

/* ---------- scroll reveal（JSで .in を付与） ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* JS無効なら reveal を無効化して本文を必ず表示（透明のまま残さない） */
html.no-js .reveal { opacity: 1; transform: none; transition: none; }
.reveal[data-rd="1"] { transition-delay: .08s; }
.reveal[data-rd="2"] { transition-delay: .16s; }
.reveal[data-rd="3"] { transition-delay: .24s; }
.reveal[data-rd="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-en); font-weight: 500; font-size: 11.5px; letter-spacing: .19em; text-transform: uppercase; color: var(--fg-dim); }
.eyebrow .line { width: 26px; height: 1px; background: var(--border-strong); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.on-dark .eyebrow { color: var(--on-dark-dim); }
.on-dark .eyebrow .line { background: rgba(255, 255, 255, .28); }
.on-dark .eyebrow .dot { background: var(--accent-on-dark); }

/* ---------- headings ---------- */
h1, h2, h3, .serif { font-family: var(--font-serif); }
.h2 { margin: 20px 0 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(27px, 3.7vw, 43px); line-height: 1.4; letter-spacing: -.02em; color: var(--fg); }
.on-dark .h2 { color: #fff; }
.h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--accent); }
.on-dark .h2 em { color: var(--accent-on-dark); }
.lead { margin: 22px auto 0; max-width: 680px; font-size: clamp(15px, 1.6vw, 16.5px); color: var(--fg-muted); line-height: 1.95; }
.on-dark .lead { color: var(--on-dark-dim); }

.sec { padding: clamp(72px, 8.5vw, 128px) 0; }
.sec--soft { background: var(--bg-soft); }
.sec--dark { background: var(--dark); }
.sec_head { text-align: center; margin-bottom: clamp(44px, 5vw, 66px); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btns--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 230px; padding: 16px 30px; border-radius: var(--pill); font-family: var(--font-jp); font-weight: 700; font-size: 15px; letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--cv { color: #fff; background: linear-gradient(135deg, var(--teal) 0%, var(--accent) 62%); box-shadow: var(--shadow-cta); }
.btn--cv:hover { transform: translateY(-2px); box-shadow: 0 16px 32px var(--accent-glow); }
/* 主要CTA（塗り）には共通で「→」を付ける（各ボタンに書かない・全サービス共通） */
.btn--cv::after { content: "→"; font-weight: 700; line-height: 1; transition: transform .18s var(--ease); }
.btn--cv:hover::after { transform: translateX(3px); }
.btn--ghost { background: #fff; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.on-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.on-dark .btn--ghost:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }

/* ==================== HEADER ==================== */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.hd_inner { width: min(var(--maxw), 94%); margin-inline: auto; height: 70px; display: flex; align-items: center; gap: 34px; }
.hd_logo { flex: none; }
.hd_logo img { height: 30px; width: auto; }
.hd_nav { flex: 1; display: flex; align-items: center; gap: 30px; }
.hd_links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hd_links a { font-size: 14px; font-weight: 700; color: var(--fg-muted); transition: color .15s; }
.hd_links a:hover { color: var(--accent); }
.hd_actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hd_actions .txt { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.hd_actions .txt:hover { color: var(--accent); }
.hd_actions .btn { min-width: auto; padding: 10px 20px; font-size: 13.5px; }
/* 電話CV（サイト別・任意。markupがある時だけ表示） */
.hd_tel { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.12; text-decoration: none; }
.hd_tel__copy { font-size: 10px; font-weight: 700; color: var(--accent); }
.hd_tel__num { font-family: var(--font-en); font-size: 16px; font-weight: 800; color: var(--fg); letter-spacing: .01em; }
.hd_burger { display: none; width: 30px; height: 22px; position: relative; background: none; border: 0; cursor: pointer; }
.hd_burger span { position: absolute; left: 0; width: 100%; height: 2.5px; background: var(--fg); border-radius: 2px; transition: .25s; }
.hd_burger span:nth-child(1) { top: 1px; }
.hd_burger span:nth-child(2) { top: 10px; }
.hd_burger span:nth-child(3) { top: 19px; }
body.nav-open .hd_burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.nav-open .hd_burger span:nth-child(2) { opacity: 0; }
body.nav-open .hd_burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ==================== HERO ==================== */
.hero { position: relative; padding: clamp(22px, 2.4vw, 34px) 0 clamp(18px, 2.2vw, 30px);
  background: radial-gradient(70% 60% at 92% -6%, var(--glow-hero-1), transparent 60%), radial-gradient(55% 50% at 78% 4%, var(--glow-hero-2), transparent 60%); }
.hero_grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 4.5vw, 64px); align-items: center; }
.hero h1 { margin: 12px 0 0; font-weight: 600; font-size: clamp(29px, 4vw, 50px); line-height: 1.24; letter-spacing: -.025em; color: var(--fg); }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero .sub { margin: 15px 0 0; max-width: 544px; font-size: clamp(14.5px, 1.55vw, 16px); font-weight: 500; color: var(--fg-muted); line-height: 1.85; }
.hero_stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 40px); margin: 18px 0 20px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hstat .v { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--accent); font-size: clamp(28px, 3.3vw, 40px); line-height: 1; }
.hstat .v .u { font-family: var(--font-jp); font-style: normal; font-size: .38em; font-weight: 700; margin-left: 3px; color: var(--accent-2); }
.hstat .c { margin-top: 7px; font-size: 11.5px; font-weight: 700; color: var(--fg-muted); }
.hero_note { margin: 14px 0 0; max-width: 544px; font-size: 11.5px; color: var(--fg-dim); line-height: 1.75; }
.hero_photo { position: relative; margin: 0; }
.hero_photo svg { display: block; width: 100%; height: auto; }
.hero_photo img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-card); }

/* ---------- LOGO ROLL ---------- */
.logoroll { padding: 20px 0 16px; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-rows { display: flex; flex-direction: column; gap: 12px; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee-l 68s linear infinite; }
.marquee-track.rev { animation-name: marquee-r; }
.logoroll:hover .marquee-track { animation-play-state: paused; }
.logo-chip { flex: none; width: 158px; height: 60px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 7px 13px; overflow: hidden; }
.logo-chip img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-chip img.zoom { transform: scale(1.34); }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==================== CASE STUDY ==================== */
.case_hero { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; margin-bottom: 22px; box-shadow: var(--shadow-card); }
.case_hero .co { font-family: var(--font-serif); font-weight: 700; font-size: clamp(20px, 2.3vw, 26px); color: var(--fg); }
.case_hero .co small { display: block; margin-top: 8px; font-family: var(--font-jp); font-size: 12.5px; font-weight: 600; color: var(--fg-dim); line-height: 1.65; }
.case_hero .res { display: flex; gap: 34px; text-align: center; }
.case_hero .res b { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 700; color: var(--accent); font-size: clamp(28px, 3.6vw, 42px); line-height: 1; }
.case_hero .res span { font-size: 12px; font-weight: 700; color: var(--fg-muted); line-height: 1.4; }
.case_hero .photo { width: 150px; height: 150px; border-radius: 16px; object-fit: cover; }
.case_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 26px 26px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.case .ind { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); border-radius: 6px; padding: 4px 11px; margin-bottom: 14px; }
.case .r { font-family: var(--font-serif); font-weight: 600; font-size: clamp(15px, 1.7vw, 17px); line-height: 1.6; color: var(--fg); }
.case .r em { font-style: italic; color: var(--accent); font-weight: 600; }
/* case（詳細ブロック：引用+tips+リンク） */
.case_block { margin-bottom: 40px; }
.case_block:last-child { margin-bottom: 0; }
.case_no { display: inline-block; font-family: var(--font-en); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; color: var(--accent-2); background: var(--accent-soft); border-radius: 6px; padding: 4px 11px; margin-bottom: 14px; }
.case_quote { margin: 16px 0 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(15px, 1.9vw, 19px); line-height: 1.7; color: var(--fg); }
.case_quote span { display: block; margin-top: 10px; font-family: var(--font-jp); font-weight: 600; font-size: 12.5px; color: var(--fg-dim); line-height: 1.6; }
.case_tips { list-style: none; margin: 18px 0 0; padding: 22px 26px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-sm); }
.case_tips li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--fg-body); line-height: 1.8; margin-bottom: 8px; }
.case_tips li:last-child { margin-bottom: 0; }
.case_tips li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.case_more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--accent); transition: gap .18s var(--ease); }
.case_more:hover { gap: 13px; }

/* ==================== CASE STUDY v2（.cs：左ダーク[写真+タグ] / 右[引用+実績+成果]） ==================== */
.cs { display: grid; grid-template-columns: minmax(300px, 42%) 1fr; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 22px; }
.cs:last-child { margin-bottom: 0; }
/* 左：ダークパネル */
.cs__aside { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); padding: 32px 30px; display: flex; flex-direction: column; }
.cs__no { align-self: flex-start; font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: .12em; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.30); border-radius: 999px; padding: 5px 14px; margin-bottom: 16px; }
.cs__co { font-family: var(--font-serif); font-weight: 700; font-size: clamp(19px, 2.1vw, 25px); color: #fff; margin: 0; line-height: 1.35; }
.cs__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cs__tags span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.20); border-radius: 6px; padding: 4px 10px; }
.cs__photo { margin: 20px 0 0; border-radius: 12px; overflow: hidden; }
.cs__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* 右：白パネル */
.cs__body { padding: 34px 40px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cs__quote { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(16px, 2vw, 22px); line-height: 1.65; color: var(--fg); }
.cs__cite { margin: 14px 0 0; font-family: var(--font-jp); font-size: 12.5px; font-weight: 600; color: var(--fg-dim); line-height: 1.6; }
.cs__cite::before { content: "── "; }
.cs__stats { display: flex; gap: 44px; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--border); }
.cs__stat b { display: flex; align-items: baseline; gap: 3px; font-family: var(--font-serif); font-style: italic; font-weight: 700; color: var(--accent); font-size: clamp(40px, 4.4vw, 52px); line-height: 1; }
.cs__stat b i { font-style: normal; font-size: .36em; font-weight: 700; }
.cs__stat > span { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--fg-muted); line-height: 1.5; }
.cs__stat > span em { font-style: normal; color: var(--fg-dim); font-weight: 600; }
.cs__tips { list-style: none; margin: 22px 0 0; padding: 0; }
.cs__tips li { position: relative; padding-left: 28px; font-size: 13.5px; color: var(--fg-body); line-height: 1.7; }
.cs__tips li + li { margin-top: 10px; }
.cs__tips li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cs__more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent); align-self: flex-start; transition: gap .18s var(--ease); }
.cs__more:hover { gap: 13px; }
@media (max-width: 768px) {
  .cs { grid-template-columns: 1fr; }
  .cs__aside { padding: 26px 22px; }
  .cs__body { padding: 26px 22px; }
  .cs__stats { gap: 30px; }
}

/* ==================== MID CTA ==================== */
.midcta { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); border-radius: var(--r); padding: clamp(38px, 5vw, 56px) clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.midcta .t { font-family: var(--font-serif); font-weight: 600; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.5; color: #fff; }
.midcta .t em { font-style: italic; color: var(--accent-on-dark); }

/* ==================== DEFINITION ==================== */
.def_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.def { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 34px 30px; }
.def .n { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.def h3 { margin: 14px 0 10px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; color: var(--fg); }
.def p { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.9; }

/* ==================== COMPARE（ダーク2カラム） ==================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 32px 30px; }
.cmp.win { background: color-mix(in srgb, var(--teal-2) 12%, transparent); border-color: color-mix(in srgb, var(--accent-on-dark) 45%, transparent); }
.cmp .h { text-align: center; font-weight: 800; font-family: var(--font-jp); font-size: 15px; padding: 10px; border-radius: 10px; margin-bottom: 22px; }
.cmp.gen .h { background: rgba(255, 255, 255, .10); color: var(--on-dark-dim); }
.cmp.win .h { background: linear-gradient(135deg, var(--teal), var(--accent)); color: #fff; }
.cmp ul { list-style: none; margin: 0 0 22px; padding: 0; }
.cmp li { position: relative; padding-left: 26px; font-size: 14px; margin-bottom: 11px; color: var(--on-dark); line-height: 1.7; }
.cmp li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.cmp.gen li::before { content: "×"; color: var(--on-dark-dim); }
.cmp.win li::before { content: "✓"; color: var(--accent-on-dark); }
.cmp .cvr { text-align: center; border-top: 1px dashed rgba(255, 255, 255, .2); padding-top: 18px; }
.cmp .cvr .lbl { font-size: 12.5px; font-weight: 700; color: var(--on-dark-dim); }
.cmp.win .cvr .lbl { color: var(--accent-on-dark); }
.cmp .cvr .v { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); color: var(--on-dark-dim); line-height: 1.1; margin-top: 4px; }
.cmp.win .cvr .v { color: #fff; }
.cmp_note { text-align: center; margin-top: 26px; font-weight: 700; color: var(--on-dark); font-size: clamp(14px, 1.7vw, 18px); }
.cmp_note em { font-style: italic; font-family: var(--font-serif); color: var(--accent-on-dark); }
/* COMPARE（明るいテーブル：SEO vs AI） */
.cmp_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.cmp_table th, .cmp_table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.cmp_table thead th { background: var(--bg-soft); font-family: var(--font-serif); font-weight: 700; color: var(--fg); }
.cmp_table thead th:last-child { color: var(--accent); }
.cmp_table td:first-child { font-weight: 700; color: var(--fg-dim); width: 22%; }
.cmp_table td:last-child { color: var(--accent-2); font-weight: 600; }
.cmp_table tr:last-child td { border-bottom: 0; }
/* 多列比較で「自社列」を強調（.own を th/td に付与）。既定の last-child 着色を上書き */
.cmp_table th.own, .cmp_table td.own { background: var(--accent-soft); color: var(--accent-2); font-weight: 800; text-align: center; }
.cmp_table td:last-child:not(.own) { color: var(--fg-muted); font-weight: 400; }
.cmp_table.cmp_table--multi td { text-align: center; }
.cmp_table.cmp_table--multi td:first-child { text-align: left; }

/* ==================== FEATURES / PILLARS ==================== */
.pillars { display: grid; gap: 18px; }
.pillar { display: grid; grid-template-columns: 156px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pillar_no { background: linear-gradient(160deg, var(--teal) 0%, var(--accent) 90%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 12px; }
.pillar_no .n { font-family: var(--font-en); font-weight: 700; font-size: clamp(38px, 4.4vw, 52px); line-height: 1; }
.pillar_no .l { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .16em; opacity: .9; font-weight: 500; }
.pillar_body { padding: 30px 36px; }
.pillar_body h3 { margin: 0 0 10px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--fg); }
.pillar_body p { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.9; }
.pillar_body p em { font-style: italic; font-family: var(--font-serif); color: var(--accent); font-weight: 600; }
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--accent-soft); color: var(--accent-2); font-size: 12px; font-weight: 700; border-radius: 7px; padding: 6px 12px; }

/* ==================== FLOW ==================== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 28px 18px; text-align: center; }
.step .st { counter-increment: step; width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(160deg, var(--teal), var(--accent)); color: #fff; font-family: var(--font-en); font-weight: 700; display: grid; place-items: center; }
.step .st::before { content: counter(step); }
.step h4 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: var(--fg); }
.step p { margin: 0; font-size: 12.5px; color: var(--fg-muted); line-height: 1.75; }
/* flow--4 variant: 左寄せ＋サブ箇条書き */
.flow--4 .step { text-align: left; padding: 28px 20px; }
.flow--4 .step .st { margin: 0 0 14px; }
.flow--4 .step h4 { font-size: 15.5px; }
.flow--4 .step p { margin: 0 0 12px; }
.flow--4 .step ul { list-style: none; margin: 0; padding: 0; }
.flow--4 .step li { position: relative; padding-left: 16px; font-size: 12px; color: var(--fg-body); line-height: 1.7; margin-bottom: 4px; }
.flow--4 .step li::before { content: "●"; position: absolute; left: 0; color: var(--accent); font-size: 7px; top: 6px; }

/* ==================== LEAD MAGNET ==================== */
.lead_mag { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.lead_mag .txt h2 { margin: 14px 0 0; }
.lead_mag .txt .h2 { text-align: left; }
.lead_mag .txt p { margin: 16px 0 0; font-size: 14.5px; color: var(--fg-muted); line-height: 1.9; }
.lead_mag .act { display: flex; flex-direction: column; gap: 12px; }
.lead_mag ul { list-style: none; margin: 18px 0 0; padding: 0; }
.lead_mag li { position: relative; padding-left: 24px; font-size: 14px; color: var(--fg-body); margin-bottom: 8px; }
.lead_mag li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
/* lead_mag--cover variant: 書影 + テキスト */
.lead_mag--cover { grid-template-columns: auto 1fr; }
.lead_mag_cover img { width: 168px; border-radius: 8px; box-shadow: var(--shadow-card); }
.lead_mag_txt h3 { margin: 8px 0 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; color: var(--fg); }
.lead_mag_txt h3 em { font-style: italic; color: var(--accent); }
.lead_mag_txt p { margin: 14px 0 0; font-size: 14.5px; color: var(--fg-muted); line-height: 1.9; }
.lead_mag_txt .badge { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); border-radius: 7px; padding: 6px 13px; }
.lead_mag_txt .act { margin-top: 22px; }

/* ==================== IS-IT-POSSIBLE split ==================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.split_card { border-radius: var(--r); padding: 32px 30px; border: 1px solid var(--border); background: #fff; }
.split_card.no { background: var(--bg-soft); }
.split_card.yes { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 34%, transparent); }
.split_card .tag { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.split_card.no .tag { color: var(--fg-dim); }
.split_card.yes .tag { color: var(--accent-2); }
.split_card h3 { margin: 8px 0 10px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(17px, 2vw, 21px); color: var(--fg); }
.split_card p { margin: 0; font-size: 13.5px; color: var(--fg-muted); line-height: 1.85; }
.myth { margin-top: 16px; }
.myth dt { font-weight: 700; color: var(--fg); font-size: 14px; margin-top: 16px; }
.myth dd { margin: 6px 0 0; padding-left: 18px; position: relative; font-size: 13.5px; color: var(--fg-muted); line-height: 1.85; }
.myth dd::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ==================== WHY NOW (stat cards) ==================== */
.why_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; }
.why .n { font-family: var(--font-en); font-weight: 700; font-size: 12px; color: var(--fg-dim); letter-spacing: .1em; }
.why .big { font-family: var(--font-serif); font-style: italic; font-weight: 700; color: var(--accent); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 8px 0 2px; }
.why h4 { margin: 8px 0 8px; font-family: var(--font-serif); font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--fg); }
.why p { margin: 0; font-size: 12.5px; color: var(--fg-muted); line-height: 1.75; }
.why .src { margin-top: 12px; font-size: 10.5px; color: var(--fg-dim); }

/* ==================== FAQ ==================== */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 34px; position: relative; font-family: var(--font-serif); font-weight: 600; font-size: clamp(15.5px, 1.8vw, 18px); color: var(--fg); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 24px; font-family: var(--font-en); font-weight: 700; color: var(--accent); font-size: 17px; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--fg-dim); border-bottom: 2px solid var(--fg-dim); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 34px 26px 34px; font-size: 14px; color: var(--fg-muted); line-height: 1.95; }

/* ==================== CLOSING ==================== */
.closing { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); text-align: center; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 0%, var(--glow-section), transparent 60%); }
.closing .wrap { position: relative; }
.closing h2 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.4; letter-spacing: -.02em; color: #fff; }
.closing h2 em { font-style: italic; color: var(--accent-on-dark); }
.closing p { margin: 22px auto 0; max-width: 600px; font-size: clamp(14px, 1.6vw, 16.5px); color: var(--on-dark-dim); line-height: 1.95; }
.closing .btns { margin-top: 40px; }

/* ==================== RELATED SERVICES ==================== */
.rel { background: #fff; padding: clamp(60px, 7vw, 92px) 0; border-top: 1px solid var(--border); }
.rel_logo img { height: 24px; width: auto; margin: 0 auto 14px; opacity: .7; }
.rel h2 { text-align: center; font-family: var(--font-serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); color: var(--fg); margin: 0; }
.rel .div { text-align: center; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin: 36px 0 16px; }
.rel_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel_card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 22px 24px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.rel_card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.rel_card .d { font-size: 12.5px; color: var(--fg-muted); line-height: 1.7; margin: 0 0 8px; }
.rel_card .n { font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--fg); }

/* ==================== FOOTER ==================== */
.ft { background: var(--dark); color: var(--on-dark-dim); padding: 56px 0 84px; }
.ft_inner { width: min(var(--maxw), 89%); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.ft_info dt img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.ft_info dt.co { font-weight: 800; color: #fff; font-size: 15px; }
.ft_info dd { margin: 8px 0 0; font-size: 12.5px; line-height: 1.8; max-width: 340px; }
/* footer nav（バクヤス方式：2カラムのリンク一覧） */
.ft_nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.ft_nav a { font-size: 13px; color: var(--on-dark-dim); transition: color .15s; }
.ft_nav a:hover { color: var(--accent-on-dark); }
/* footer col（ai-search方式：SERVICE/CASE/COMPANY 列） */
.ft_col h5 { margin: 0 0 12px; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .12em; color: var(--on-dark); font-weight: 600; }
.ft_col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft_col a { font-size: 13px; color: var(--on-dark-dim); transition: color .15s; }
.ft_col a:hover { color: var(--accent-on-dark); }
.ft_copy { width: min(var(--maxw), 89%); margin: 40px auto 0; font-size: 12px; color: var(--fg-dim); }

/* sticky mobile CTA bar */
.sticky_cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--dark); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sticky_cta .btn { flex: 1; min-width: 0; padding: 13px 12px; font-size: 14px; }
.sticky_cta .btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .case_grid, .def_grid, .rel_grid { grid-template-columns: 1fr 1fr; }
  .flow, .flow--4 { grid-template-columns: 1fr 1fr 1fr; }
  .why_grid { grid-template-columns: 1fr 1fr; }
  .hero_grid { gap: 32px; }
}
@media (max-width: 720px) {
  .hero_grid { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero .sub, .hero_note { margin-inline: auto; }
  .hero_stats { justify-content: center; }
  .hero .btns { justify-content: center; }
  .hero_photo { max-width: 420px; margin: 4px auto 0; order: -1; }
}
@media (max-width: 640px) {
  .hd_nav { display: none; }
  .hd_burger { display: block; margin-left: auto; }
  .hd_nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 22px; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 26px 28px 32px; }
  .hd_nav.open .hd_links { flex-direction: column; gap: 18px; }
  .hd_nav.open .hd_actions { flex-direction: column; align-items: stretch; }
  .hd_nav.open .hd_tel { align-items: center; margin-bottom: 4px; }
  .hd_actions .btn { width: 100%; }
  .case_grid, .def_grid, .rel_grid, .compare, .flow, .flow--4, .split, .why_grid { grid-template-columns: 1fr; }
  .case_hero, .midcta, .lead_mag, .lead_mag--cover { grid-template-columns: 1fr; text-align: center; }
  .case_hero .res { justify-content: center; }
  .midcta .btns, .lead_mag .act { justify-content: center; }
  .lead_mag .txt .h2 { text-align: center; }
  .lead_mag ul { display: inline-block; text-align: left; }
  .lead_mag_cover img { margin: 0 auto; }
  .pillar { grid-template-columns: 84px 1fr; }
  .pillar_body { padding: 24px 22px; }
  .btn { width: 100%; min-width: 0; }
  .hero .btns .btn, .btns .btn { width: 100%; }
  .sticky_cta { display: flex; }
  body { padding-bottom: 72px; }
  .ft_nav { grid-template-columns: 1fr; }
  .plus_list { grid-template-columns: 1fr; }
}

/* ==================== WHAT: plus-list & 結び / HOW: YES（ai-search） ==================== */
.plus_list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.plus_list li { position: relative; padding-left: 30px; font-size: 14px; color: var(--fg-body); line-height: 1.75; }
.plus_list li::before { content: "＋"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.what_concl { text-align: center; margin: 40px 0 0; font-family: var(--font-serif); font-weight: 600; font-size: clamp(18px, 2.3vw, 26px); line-height: 1.6; color: var(--fg); }
.what_concl em { font-style: italic; color: var(--accent); }
.how_answer { margin: 18px 0 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 3vw, 34px); color: var(--fg); }
.how_answer em { font-style: italic; color: var(--accent); }
