/* [読み込み] 英語ラベル用のセリフ体（Playfair Display）。@import は先頭に置く必要がある。 */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap");
/* =====================================================================
   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: 1240px;   /* コンテンツ最大幅。CV遷移ページ（cta-page.css の --wrap）と揃えている */
  --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;
  --font-en-serif: "Playfair Display", "Noto Serif JP", "Hiragino Mincho ProN", 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-serif, 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 のまま）。2026-10-13 追加 */
.sec--tight { padding-top: clamp(20px, 2.6vw, 32px); }
.sec_head { text-align: center; margin-bottom: clamp(44px, 5vw, 66px); }

/* BREADCRUMB（下層ページのパンくず。2026-10-13 追加）
   JSON-LD の BreadcrumbList は apply-llmo.mjs が出すので、ここは見た目だけを持つ
   （microdata は付けない＝同じ内容を二重に出さない）。 */
.breadcrumb { margin: 0 0 clamp(20px, 3vw, 36px); font-size: 12.5px; line-height: 1.6; color: var(--fg-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 7px; }
.breadcrumb li + li::before { content: "›"; color: var(--border-strong); font-size: 13px; }
.breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.breadcrumb [aria-current="page"] { color: var(--fg); font-weight: 700; }
.on-dark .breadcrumb, .on-dark .breadcrumb a { color: var(--on-dark-dim); }
.on-dark .breadcrumb [aria-current="page"] { color: #fff; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--btns-mt, 0); }
.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); }
/* カード内など幅の狭い場所用。既定の min-width:230px では収まらず語中で折り返す */
.btn--compact { width: 100%; min-width: 0; padding: 13px 14px; font-size: 13.5px; white-space: nowrap; }
.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; display: block; }
.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); }

/* ---------- ボタンの平面版（body.ui-flat）: 角丸4px・濃色の塗り・太すぎない文字・矢印は「>」（CSSで描くシェブロン）。
   効果（浮き・影・グラデーション）は付けず、ホバーで色を反転するだけにする ---------- */
.ui-flat .btn { min-width: 0; padding: 12px 26px; border-width: 1px; border-radius: 4px; font-weight: 500; font-size: 15px; box-shadow: none; gap: 10px; transition: background-color .25s, color .25s, border-color .25s; }
.ui-flat .hd .btn { padding: 8px 16px; font-size: 14px; }
.ui-flat .btn--cv { background: var(--btn-bg, var(--dark)); border-color: var(--btn-bg, var(--dark)); color: #fff; box-shadow: none; }
.ui-flat .btn--cv:hover { background: #fff; color: var(--btn-bg, var(--dark)); transform: none; box-shadow: none; }
.ui-flat .btn--ghost { background: #fff; border-color: var(--border-strong); color: var(--fg); }
.ui-flat .btn--ghost:hover { background: var(--fg); border-color: var(--fg); color: #fff; transform: none; }
.ui-flat .btn--cv::after { content: ""; flex: none; width: 7px; height: 7px; margin-left: 2px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.ui-flat .btn--cv:hover::after { transform: translateX(3px) rotate(45deg); }
.ui-flat .on-dark .btn--cv, .ui-flat .hd--dark .btn--cv { background: #fff; border-color: #fff; color: var(--dark); }
.ui-flat .on-dark .btn--cv:hover, .ui-flat .hd--dark .btn--cv:hover { background: transparent; color: #fff; }
.ui-flat .hd--dark .btn--cv { box-shadow: none; }

/* ---------- ホバーの統一（body.ui-flat）: 文字リンクは暗い色（濃色背景では白）、ボタンは色の反転、カードは持ち上げず枠線だけ濃く。
   アクセント色（紫）や浮き上がり・影の変化は使わない ---------- */
.ui-flat .hd_links a:hover, .ui-flat .hd_actions .txt:hover { color: var(--dark); }
.ui-flat .hd--dark .hd_links a:hover, .ui-flat .hd--dark .hd_actions .txt:hover { color: #fff; }
.ui-flat .hd_dropdown_menu a:hover { color: var(--dark); background: var(--bg-soft); }
.ui-flat .ft_nav a:hover, .ui-flat .ft_col a:hover { color: #fff; }
.ui-flat .btn--ghost:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
/* 濃色面（.on-dark）のゴーストは素の指定だと白塗りになるので、透明＋白枠にする（2026-10-11） */
.ui-flat .on-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.ui-flat .on-dark .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--dark); }
.ui-flat .case:hover, .ui-flat .pillar:hover, .ui-flat .rel_card:hover { transform: none; box-shadow: none; border-color: var(--dark); }
.ui-flat .case_more:hover, .ui-flat .cs__more:hover { color: var(--dark); }

/* ---------- タイポグラフィの統一（body.ui-flat）: 書体は「ゴシック（日本語）＋数字だけInter」、太さは400／500／700の3段階。明朝は使わない ---------- */
.ui-flat h1, .ui-flat h2, .ui-flat h3, .ui-flat h4, .ui-flat h5, .ui-flat h6, .ui-flat .serif { font-family: var(--font-jp); }
.ui-flat h1, .ui-flat h2, .ui-flat h3 { font-weight: 700; }
.ui-flat h4, .ui-flat h5, .ui-flat h6 { font-weight: 500; }
.ui-flat .rel h2, .ui-flat .rel_card .n, .ui-flat .ft_info dt.co { font-family: var(--font-jp); font-weight: 700; }
.ui-flat .rel .div, .ui-flat .ft_col h5 { font-family: var(--font-en); font-weight: 500; }
.ui-flat .logoroll { background: #fff; border-top: 0; border-bottom: 0; }   /* ロゴ帯は白地・FVとの境目の線は無し */

/* ---------- ナビの現在位置（body.ui-flat）: 今いるセクションのリンクを暗い色＋下線で示す ---------- */
.ui-flat .hd_links a { position: relative; padding-block: 6px; color: var(--hd-fg, var(--fg-muted)); }
.ui-flat .hd_links a[aria-current="true"] { color: var(--dark); }
.ui-flat .hd_links a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; }
.ui-flat .hd--dark .hd_links a[aria-current="true"] { color: #fff; }

/* ---------- 中くらいの幅（641〜1100px）ではナビのリンクを隠し、CTAだけにする（リンクが多いサービスで横にはみ出さないように） ---------- */
@media (min-width: 641px) and (max-width: 1100px) { .ui-flat .hd_links { display: none; } .ui-flat .hd_actions { margin-left: auto; } }

/* ---------- 上でリンクを隠した帯（641〜1100px）は、バーガーで開けるようにする。
   隠す側は1100pxまでなのに、バーガーが出るのは640px以下（下の .hd_burger 規則）だけだったため、
   その帯だけナビに到達できなかった（2026-10-11 修正。ui-flat のページだけが対象）。
   ロゴとCTAはそのまま出し、隠したリンクだけをバーガーの中に入れる。 ---------- */
@media (min-width: 641px) and (max-width: 1100px) {
  .ui-flat .hd_burger { display: block; margin-left: auto; }
  .ui-flat .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;
    /* 画面より高くなるので、ドロワー自身をスクロールさせる（下が見切れて到達できないのを防ぐ）。
       ヘッダーが sticky なので、はみ出した分はページスクロールでは見えない。 */
    max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .ui-flat .hd_nav.open .hd_links { display: flex; flex-direction: column; gap: 18px; }
  .ui-flat .hd_nav.open .hd_actions { flex-direction: column; align-items: stretch; margin-left: 0; }
}

/* ---------- ヘッダー全幅版（.hd--wide）: ロゴを左端・CTAを右端に寄せ、左右の余白をなくす（本文幅の制限を外す） ---------- */
.hd--wide .hd_inner { width: 100%; max-width: none; padding-inline: clamp(20px, 3vw, 48px); box-sizing: border-box; }
.hd--wide { border-bottom: 0; }   /* FVとの境目の線は無し */

/* ---------- ヘッダー濃色版（.hd--dark）: 濃色のFVを持つLP用。ロゴは濃色用（文字が白）のものに差し替える ---------- */
.hd--dark { background: color-mix(in srgb, var(--dark) 94%, transparent); border-bottom-color: rgba(255, 255, 255, .12); }
.hd--dark .hd_links a { color: rgba(255, 255, 255, .84); }
.hd--dark .hd_links a:hover { color: var(--accent-on-dark); }
.hd--dark .hd_actions .txt { color: #fff; }
.hd--dark .hd_actions .txt:hover { color: var(--accent-on-dark); }
.hd--dark .hd_burger span { background: #fff; }
.hd--dark .btn--cv { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }

/* ---------- ヘッダーナビ折り返し防止（項目数が多いサービスで2行化するのを防ぐ） ---------- */
.hd_nav { flex-wrap: nowrap; min-width: 0; }
.hd_links { flex-wrap: nowrap; justify-content: flex-start; }
.hd_links li { flex: 0 0 auto; list-style: none; }
.hd_links a { white-space: nowrap; }
.hd_tel { flex: 0 0 auto; }
.hd_tel__num, .hd_tel__copy { white-space: nowrap; }
.hd_actions { flex: 0 0 auto; }
.hd_actions .txt { white-space: nowrap; }
.hd .btn { white-space: nowrap; }

/* ---------- ヘッダーナビのホバードロップダウン（項目をまとめて折り返しを防ぐ場合に使用） ---------- */
.hd_links li.hd_dropdown { position: relative; }
.hd_links li.hd_dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.hd_links li.hd_dropdown > a::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .55; }
/* トリガーとメニューの間の余白は見た目だけの隙間で、その部分にカーソルを置くとホバーが外れてメニューが閉じてしまう。
   実際にホバー判定される透明ブリッジを敷いて、隙間を移動中もドロップダウンが開いたままになるようにする。 */
.hd_links li.hd_dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.hd_dropdown_menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-card); padding: 8px; min-width: 120px; list-style: none; margin: 8px 0 0; z-index: 60; }
.hd_links li.hd_dropdown:hover > .hd_dropdown_menu,
.hd_links li.hd_dropdown:focus-within > .hd_dropdown_menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.hd_dropdown_menu li { white-space: nowrap; }
.hd_dropdown_menu a { display: block; padding: 6px 10px; font-size: 13.5px; font-weight: 700; color: var(--fg-muted); white-space: nowrap; }
.hd_dropdown_menu a:hover { color: var(--accent); background: var(--bg-soft); }
@media (max-width: 640px) {
  .hd_links li.hd_dropdown { position: static; }
  .hd_links li.hd_dropdown::after { content: none; }
  .hd_dropdown_menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 0; padding: 8px 0 0 14px; margin: 6px 0 0; }
}

/* ---------- sub-brand chip（本体サービスと誤認防止・派生LP用。使う場合のみ任意で追加） ---------- */
.hd_brand { display: flex; align-items: center; gap: 10px; flex: none; }
.hd_subbrand { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--pill); font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--accent-2); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); white-space: nowrap; }
@media (max-width: 640px) { .hd_subbrand { font-size: 10px; padding: 3px 9px; } }

/* ==================== 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; }

/* INFO TABLE（「項目＋値」の定義テーブル。会社概要 /company で使う。2026-10-13 追加） */
.info_table { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.info_table th, .info_table td { padding: 20px 26px; text-align: left; font-size: 15px; line-height: 1.9; border-bottom: 1px solid var(--border); vertical-align: top; }
.info_table th { width: 22%; min-width: 150px; background: var(--bg-soft); font-weight: 700; color: var(--fg-dim); }
.info_table td { color: var(--fg-body); }
.info_table tr:last-child th, .info_table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .info_table, .info_table tbody, .info_table tr, .info_table th, .info_table td { display: block; width: auto; }
  .info_table th { padding: 18px 20px 4px; border-bottom: 0; }
  .info_table td { padding: 0 20px 18px; }
}
/* 本文中のテキストリンク。DSの a{color:inherit;text-decoration:none} を打ち消す */
.tlink, .info_table a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.tlink:hover, .info_table a:hover { color: var(--accent-2); }

/* ==================== 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; text-align: var(--why-align, inherit); }
.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; }

/* 書体の既定（footer.css と同じ）。.ft/.rel 配下で書体を宣言していない要素が body に落ちないように */
.rel, .ft { font-family: var(--font-jp); }

/* ==================== RELATED SERVICES ==================== */
.rel { background: #fff; padding: clamp(60px, 7vw, 92px) 0; border-top: 1px solid var(--border); }
.rel_logo { text-align: center; }
.rel_logo img { height: 24px; width: auto; margin: 0 auto 14px; opacity: .7; display: block; }
.rel h2 { text-align: center; font-family: var(--font-jp); font-weight: 700; 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 { border-color: var(--accent); }   /* 浮き上がらせない（footer.css と同じ） */
.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-jp); 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--dark .hd_nav.open { background: var(--dark); border-bottom-color: rgba(255, 255, 255, .12); }
  .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;
    /* 画面より高くなるので、ドロワー自身をスクロールさせる（下が見切れて到達できないのを防ぐ）。
       ヘッダーが sticky なので、はみ出した分はページスクロールでは見えない。 */
    max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .hd_nav.open .hd_links { flex-direction: column; gap: 18px; }
  .hd_nav.open .hd_actions { flex-direction: column; align-items: stretch; margin-left: 0; }
  .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); }

/* ============ ヒーロー：エンブレム（受賞バッジ／実績数値） ============
   骨格は全サービス共通。サービスごとの差（色・寸法）は theme.css のトークンで吸収する。
   既定値は ai-search（＝正）の値。実績数値を複数並べる型は .hero_stats--emblem--multi を併用。
   詳細は guidelines/02-lp.md「CSSの3層」。 */
.hero_emblems { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--border); }
.hero_emblems .hero_note { max-width: var(--emb-note-w, 760px); margin: clamp(14px, 2vw, 18px) auto 0; text-align: center; font-size: var(--emb-note-size, 11px); line-height: var(--emb-note-line, 1.85); color: var(--fg-dim); }
.hero_stats--emblem { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--emb-gap, clamp(32px, 6vw, 80px)); margin: 0; padding: 0; border: 0; }
.hero_stats--emblem .emb { display: flex; align-items: center; justify-content: center; gap: var(--emb-inner-gap, 8px); }
.hero_stats--emblem .lrl { height: var(--emb-laurel, clamp(62px, 7.5vw, 84px)); width: auto; flex: none; }
.hero_stats--emblem .emb_in { text-align: center; line-height: var(--emb-line, 1.2); padding: 0 2px; width: var(--emb-w, clamp(128px, 15vw, 178px)); }
.hero_stats--emblem .emb_v { font-family: var(--font-serif); font-style: italic; font-weight: 700; color: var(--emb-num, #a6842a); font-size: var(--emb-num-size, clamp(30px, 4vw, 40px)); margin-bottom: var(--emb-v-gap, 4px); }
.hero_stats--emblem .emb_lead { font-size: var(--emb-lead-size, 12px); font-weight: 700; color: var(--fg-muted); margin-bottom: var(--emb-lead-gap, 0); }
.hero_stats--emblem .emb_lead .ast { font-weight: 600; color: var(--fg-dim); }
@media (max-width: 560px) {
  .hero_stats--emblem { gap: var(--emb-gap-sp, 22px); }
  .hero_stats--emblem .lrl { height: var(--emb-laurel-sp, 54px); }
  .hero_stats--emblem .emb_in { width: var(--emb-w-sp, 118px); }
  .hero_stats--emblem .emb_lead { font-size: var(--emb-lead-size-sp, 11px); }
}
/* 実績数値を複数並べる型（ラベルが上・高さ揃え・単位付き・横長の1件を許容） */
.hero_stats--emblem--multi .emb_in { flex: 0 0 var(--emb-w); }
.hero_stats--emblem--multi .emb_v { white-space: nowrap; }
.hero_stats--emblem--multi .emb_v .u { font-family: var(--font-jp); font-style: normal; font-size: .38em; font-weight: 700; color: var(--accent-2); margin-left: 2px; }
.hero_stats--emblem--multi .emb_lead { white-space: nowrap; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.hero_stats--emblem--multi .emb_lead small { display: inline; font-size: 9.5px; font-weight: 600; color: var(--fg-dim); margin-left: 2px; }
.hero_stats--emblem--multi .emb--wide .emb_in { flex-basis: auto; width: auto; max-width: 190px; }
.hero_stats--emblem--multi .emb--wide .emb_lead { white-space: normal; line-height: 1.35; }
@media (max-width: 560px) { .hero_stats--emblem--multi .emb_lead small { display: block; margin: 2px 0 0; } }

/* ヒーローCTAのビューポート出し分け。
   トラストバッジ/エンブレムがある場合、SPでは信頼訴求の下にCTAを置く（guidelines/02-lp.md）。 */
.hero_copy .btns { margin-top: var(--hero-btns-mt, 0); }
.btns--hero-mobile { display: none; }
@media (max-width: 760px) {
  .btns--hero-desktop { display: none; }
  .btns--hero-mobile { display: flex; margin-top: clamp(20px, 4vw, 28px); }
}

/* 電話CV（.hd_tel を持つサービスのみ）。ナビが詰まる幅で畳む。 */
@media (max-width: 1000px) { .hd_tel { display: none; } }

/* ---- ヘッダーナビのメガメニュー（baigie.me のサービスメニューを参考。header.css / techsuite-ds.css と同一仕様） ----
   ・「サービス」「お役立ち情報」のように項目をまとめる場合に使う。列組み（.hd_mega_cols）で中見出し＋リンクを並べる
   ・トリガーの丸い「＋」は、ホバー/フォーカスで縦棒が回って「−」になる
   ・リンクは .hd_mega_ic（丸い矢印）付き。ホバーで反転する */
/* 項目の文字を上下中央に揃える（素のリンクは行ボックスで上に寄り、ドロップダウンとずれるため）。
   メガメニューを持つヘッダー＝ai-search だけに効かせる（他サービスの見た目を変えない）。 */
/* PC幅だけ。モバイル（ハンバーガー展開）は li をブロックのままにして、
   メガメニューのパネルがトリガーの下に積まれるようにする。 */
@media (min-width: 641px) {
  .hd:has(.hd_mega) .hd_links > li { display: flex; align-items: center; }
  .hd:has(.hd_mega) .hd_links > li > a { display: inline-flex; align-items: center; }
  /* バーガーを開いたときは縦積みに戻す（横並びのままだとパネルがトリガーの横に付く） */
  .hd:has(.hd_mega) .hd_nav.open .hd_links > li { display: block; }
}
/* パネルはトリガーの真下に開く（li を基準にし、左端をトリガーに揃える）。
   left:50% の中央寄せだと、左寄りのトリガーでパネルが画面外へはみ出すため。
   li をヘッダーの高さ（.hd_links を100%）まで伸ばし、top:100% がヘッダー下端に来るようにする。 */
.hd:has(.hd_mega) .hd_nav { align-self: stretch; }
.hd:has(.hd_mega) .hd_links { height: 100%; align-items: stretch; }
.hd:has(.hd_mega) .hd_links > li.hd_mega { position: relative; }
/* display:inline-block が必須。素の <i> はインラインなので width/height が効かず、
   モバイル（ハンバーガー内＝ <a> が flex でない）で円が潰れて滲んでいた。
   寸法は 17px（border-box）＝中身15px。バーを 7×1 の整数座標に置くと、回転後も
   輪郭が整数に乗って滲まない（50%＋translate だと 0.5px ずれて滲む）。 */
.hd_mega_i { display: inline-block; vertical-align: middle; position: relative; flex: none; width: 17px; height: 17px; margin-left: 7px; border: 1px solid var(--border-strong); border-radius: 50%; }
.hd_mega_i::before, .hd_mega_i::after { content: ""; position: absolute; top: 7px; left: 4px; width: 7px; height: 1px; background: currentColor; transition: transform .3s cubic-bezier(.215, .61, .355, 1); }
.hd_mega_i::after { transform: rotate(90deg); }
.hd_links li.hd_mega:hover .hd_mega_i::after,
.hd_links li.hd_mega:focus-within .hd_mega_i::after { transform: rotate(0); }

.hd_mega_panel { position: absolute; top: calc(100% - 4px); left: 0; z-index: 110; width: max-content; max-width: min(1080px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 18px 40px rgba(14, 42, 67, .14); opacity: 0; visibility: hidden; pointer-events: none; transition: visibility .2s, opacity .2s; }
/* トリガーとパネルの隙間を渡るときに閉じないよう、透明のブリッジを敷く（.hd_dropdown と同じ考え方） */
.hd_mega_panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hd_links li.hd_mega:hover > .hd_mega_panel,
.hd_links li.hd_mega:focus-within > .hd_mega_panel { opacity: 1; visibility: visible; pointer-events: auto; }
.hd_mega_in { padding: 34px 38px 38px; }
.hd_mega_cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 34px; }
.hd_mega_head { margin: 0; font-family: var(--font-jp); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--fg); }
.hd_mega_sub { display: block; margin-top: 6px; font-family: var(--font-en-serif, var(--font-en)); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); }
.hd_mega_list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.hd_mega_list a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--fg-body); white-space: nowrap; }
.hd_mega_list a:hover { color: var(--accent); }
.hd_mega_ic { position: relative; flex: none; width: 17px; height: 17px; border: 1px solid var(--border-strong); border-radius: 50%; transition: border-color .15s, background-color .15s, color .15s; }
.hd_mega_ic::before { content: ""; position: absolute; left: 5px; top: 5px; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.hd_mega_list a:hover .hd_mega_ic { border-color: var(--accent); background: var(--accent); color: #fff; }

/* 1100px以下（ui-flat のナビが隠れる帯）はパネルを画面幅に合わせ、列を縦に積む */
@media (max-width: 1100px) {
  .hd_mega_panel { left: 0; transform: none; width: 100%; max-width: none; }
  .hd_mega_cols { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 22px; }
  .hd_mega_in { padding: 24px 22px 28px; }
}
/* ハンバーガー内のメガメニューはアコーディオン（タップで開閉）。
   以前は「常時開いて見せる」だったため、ドロワーが長くなり中見出しも重複していた。
   ホバーでは開かない（タッチで意図せず開くため）。開閉は JS が付ける li.on だけで決める。
   ui-flat のページは 641〜1100px でもバーガーになるので、その帯も含める。 */
@media (max-width: 1100px) {
  .hd_nav.open .hd_mega_panel { position: static; display: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 0; width: auto; max-width: none; margin: 0; }
  .hd_nav.open li.hd_mega.on > .hd_mega_panel { display: block; }
  .hd_nav.open .hd_mega_in { padding: 12px 0 2px 14px; }
  /* 中見出しの1列目はトリガーと同じ文言なので出さない（2列目以降は小見出しとして残す） */
  .hd_nav.open .hd_mega_col:first-child .hd_mega_head { display: none; }
  .hd_nav.open .hd_mega_cols { gap: 18px; }
  .hd_nav.open .hd_mega_list { margin-top: 0; gap: 14px; }
  .hd_nav.open .hd_mega_list a { white-space: normal; }
  /* 開閉アイコン: 閉=＋ / 開=−（ホバー・フォーカスでは動かさない） */
  .hd_nav.open li.hd_mega.on .hd_mega_i::after,
  .hd_nav.open li.hd_mega.on:hover .hd_mega_i::after,
  .hd_nav.open li.hd_mega.on:focus-within .hd_mega_i::after { transform: rotate(0); }
  .hd_nav.open li.hd_mega:not(.on):hover .hd_mega_i::after,
  .hd_nav.open li.hd_mega:not(.on):focus-within .hd_mega_i::after { transform: rotate(90deg); }
}
