/* ==========================================================================
   クラベルAI トップ v28 — ヒーロー刷新・固定スクロール演出版（2026-09-14）
   ・v10〜v18 の積み重ねを廃止し、この1ファイルだけで構成
   ・フル幅（1680px上限・左右5vw）／白×明るい青／罫線と余白で区切る
   ・見出しのメリハリはヒーローと主要H2のみ（ひらがな .82em、色は同じ）
   ・スクロールを固定しない。動きは transform / opacity と背景キャンバスのみ
   ========================================================================== */

:root {
  --ink: #0e2b44;
  --text: #2b4d66;
  --muted: #5f7d90;
  --blue: #1a8fd0;
  --blue-deep: #0d6fb0;
  --blue-soft: #e6f4fc;
  --blue-line: rgba(26, 143, 208, 0.22);
  --line: rgba(14, 43, 68, 0.12);
  --paper: #ffffff;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1680px;
  --gutter: clamp(20px, 5vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -0.02em; }
p { margin: 0; }
small { font-size: 13.5px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- 背景：常に動くキャンバス＋薄いグリッド ---- */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .4;
  image-rendering: auto;
}
.bg-stars { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(26,143,208,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,143,208,.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, transparent);
}
body > *:not(.bg-canvas):not(.bg-stars):not(.bg-grid):not(.bg-lines) { position: relative; z-index: 1; }

/* ---- 出現 ---- */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1.5s cubic-bezier(.16,.84,.3,1), transform 1.5s cubic-bezier(.16,.84,.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* 対応ブラウザでは、スクロール量に連動して連続的に現れる（唐突さがない） */
@supports (animation-timeline: view()) {
  .has-view-timeline .reveal { opacity: 1; transform: none; transition: none; animation: viewIn cubic-bezier(.2,.6,.3,1) both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
  .has-view-timeline .step.reveal { animation-range: entry 0% entry 95%; }
  .has-view-timeline .hero-steps .step.reveal { transition: none; }
}
@keyframes viewIn { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
.motion-lite .reveal { opacity: 1; transform: none; transition: none; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--r); border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(26,143,208,.24); }
.btn-primary:hover { background: var(--blue-deep); transform: translate3d(0,-2px,0); box-shadow: 0 18px 36px rgba(26,143,208,.28); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translate3d(0,-2px,0); }

/* ---- トップバー ---- */
.topbar { background: var(--ink); color: #dbe9f3; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a:hover { color: #fff; }

/* ---- ヘッダー ---- */
body > header.site#siteHeader {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 0;
  transition: box-shadow .3s ease;
}
header.site.is-scrolled { box-shadow: 0 10px 30px rgba(14,43,68,.08); background: rgba(255,255,255,.98); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 82px; }
.logo { flex: 0 0 auto; }
.logo img { height: 34px; width: auto; }
.header-search { display: flex; align-items: center; width: 250px; height: 44px; padding: 0 4px 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14.5px; color: var(--ink); background: transparent; }
.header-search button { width: 36px; height: 34px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
nav.main { display: flex; align-items: center; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
nav.main > a, .nav-trigger { position: relative; padding: 8px 0; }
nav.main > a::after, .nav-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav.main > a:hover::after, .nav-item:hover .nav-trigger::after { transform: scaleX(1); }
.nav-item { position: relative; }
.chev { font-size: 11px; }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 640px;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 28px 60px rgba(14,43,68,.14);
  opacity: 0; pointer-events: none; transform: translate(-50%, 10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-title { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-link { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); transition: background .2s; font-weight: 700; font-size: 15px; }
.mega-link:hover { background: var(--blue-soft); }
.mega-link img { width: 74px; height: 52px; object-fit: cover; border-radius: var(--r); }
.mega-link small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone { text-align: right; line-height: 1.25; }
.phone b { display: block; font-size: 19px; letter-spacing: .01em; }
.phone span { font-size: 12.5px; color: var(--muted); }
.header-inquiry { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: var(--r); background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(26,143,208,.22); transition: background .25s, transform .3s var(--ease); }
.header-inquiry:hover { background: var(--blue-deep); transform: translate3d(0,-2px,0); }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.hamburger span { display: block; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mnav { display: none; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(var(--scroll-ratio, 0)); transform-origin: left; }

/* ---- ニュースティッカー ---- */
.news-digest { background: rgba(255,255,255,.94); }
.news-digest .wrap { display: flex; align-items: center; gap: 20px; height: 54px; }
.news-label { font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--blue-deep); padding: 4px 10px; border: 1.5px solid var(--blue-line); border-radius: var(--r); }
.news-rotator { position: relative; flex: 1; min-width: 0; height: 100%; }
.news-rotator-item { position: absolute; inset: 0; display: flex; align-items: center; gap: 16px; min-width: 0; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.news-rotator-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.news-rotator-item time { font-size: 13px; color: var(--muted); font-weight: 700; flex: 0 0 auto; }
.news-rotator-item strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-rotator-item a { flex: 0 0 auto; color: var(--blue-deep); font-weight: 700; font-size: 14px; }
.news-rotator-controls { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.news-rotator-controls button { width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; color: var(--ink); }
.news-rotator-controls button:hover { border-color: var(--blue); color: var(--blue); }

/* ---- ヒーロー：全面が流れる画像の背景、左は白の膜で文字を守る ---- */
.hero { position: relative; padding: clamp(56px, 6.5vw, 120px) 0 0; overflow: hidden; background: transparent; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; contain: strict; }
.flow-wall {
  position: absolute; inset: -12% -4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; contain: paint;
  transform: rotate(-7deg) scale(1.06); transform-origin: center;
}
.flow-col { overflow: hidden; }
.flow-track { display: flex; flex-direction: column; will-change: transform; animation: flowDown 70s linear infinite; }
.flow-col.up .flow-track { animation-name: flowUp; animation-duration: 78s; }
.flow-col.slow .flow-track { animation-duration: 92s; }
.flow-set { display: flex; flex-direction: column; gap: 22px; padding-bottom: 22px; }
.flow-card { margin: 0; border-radius: var(--r); overflow: hidden; }
.flow-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@keyframes flowDown { from { transform: translate3d(0,-50%,0); } to { transform: translate3d(0,0,0); } }
@keyframes flowUp { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-50%,0); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0, rgba(255,255,255,.95) 38%, rgba(255,255,255,.74) 52%, rgba(255,255,255,.3) 68%, rgba(255,255,255,.16) 100%),
    linear-gradient(180deg, rgba(255,255,255,.9), transparent 22%, transparent 58%, rgba(255,255,255,.96) 100%);
}
.flow-card { opacity: .62; }
.hero-veil::after { content: ""; position: absolute; right: 8%; bottom: 0; width: 46%; height: 70%; background: radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.75), rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4vw, 70px); align-items: end; }
.hero-copy { padding-bottom: clamp(24px, 3vw, 48px); }
.eyebrow { display: inline-block; font-weight: 700; color: var(--blue-deep); font-size: 15.5px; margin-bottom: 18px; }
.hero-title { font-size: clamp(46px, 5.8vw, 92px); line-height: 1.14; letter-spacing: -0.04em; }
.hero-title .line { display: block; }
.kana { font-size: .82em; }
.hero-title .kana { font-size: .78em; }
.marker { background: linear-gradient(transparent 62%, rgba(26,143,208,.22) 62%); padding: 0 .04em; }
.hero-lead { margin-top: 28px; max-width: 620px; font-size: 17.5px; line-height: 2.05; color: var(--text); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 34px; }
.hero-action .btn { padding: 18px 30px; font-size: 17px; }
.hero-action small { flex-basis: 100%; color: var(--muted); }
.trust { display: flex; gap: clamp(24px, 3vw, 48px); margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust .n { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.trust .n em { font-style: normal; color: var(--blue-deep); }
.trust .l { font-size: 13.5px; color: var(--muted); }

/* あいちゃん：流れの手前に立つ */
.hero-visual { position: relative; height: clamp(420px, 40vw, 600px); }
.aichan { position: absolute; left: 50%; bottom: 0; width: min(520px, 86%); transform: translateX(-50%); z-index: 2; text-align: center; }
.aichan::before { content: none; }
.aichan .stage { position: relative; padding: 4% 4% 0; }
.aichan .stage::before { content: ""; position: absolute; left: 50%; top: 56%; width: 150%; height: 140%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(255,255,255,.96) 0, rgba(255,255,255,.9) 30%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 70%); z-index: 0; }
.aichan img { position: relative; z-index: 1; width: 100%; height: auto; animation: aichanFloat 7s ease-in-out infinite; will-change: transform; }
.aichan .ground { position: absolute; left: 20%; right: 20%; bottom: 7%; height: 26px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(14,43,68,.16), rgba(14,43,68,.06) 50%, rgba(14,43,68,0) 72%); z-index: 0; animation: groundPulse 7s ease-in-out infinite; }
@keyframes groundPulse { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.86); opacity: .6; } }
@keyframes aichanFloat { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }
.bubble {
  position: absolute; left: 50%; top: -9%; transform: translateX(-50%);
  padding: 12px 22px; background: var(--ink); color: #fff; border-radius: 8px;
  font-weight: 900; font-size: 16px; white-space: nowrap; box-shadow: 0 14px 30px rgba(14,43,68,.22);
  animation: bubblePop 7s ease-in-out infinite; z-index: 3;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
@keyframes bubblePop { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

/* 3ステップ：縦線ではなく、余白と白いカードで区切る */
.hero-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(28px, 3vw, 48px); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero-steps::before { content: ""; position: absolute; left: 50%; top: -120px; width: 100vw; height: 200px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.85) 55%, rgba(255,255,255,.95)); pointer-events: none; z-index: -1; }
.step.reveal { transform: translate3d(0, 34px, 0) scale(.985); transition-duration: 1.3s; }
.step.reveal.in { transform: none; }
.step:nth-child(2).reveal { transition-delay: .18s !important; }
.step:nth-child(3).reveal { transition-delay: .36s !important; }
.step { position: relative; padding: 0 0 30px; background: rgba(255,255,255,.96); border-radius: var(--r); box-shadow: 0 18px 44px rgba(14,43,68,.08); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translate3d(0,-6px,0); box-shadow: 0 28px 60px rgba(14,43,68,.13); }
.step-img { width: 100%; height: 150px; object-fit: cover; }
.step .num { position: absolute; left: 22px; top: 122px; padding: 6px 12px; background: #fff; color: var(--blue-deep); font-size: 22px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; border-radius: var(--r); box-shadow: 0 8px 18px rgba(14,43,68,.1); }
.step strong { display: block; margin: 34px 26px 0; font-size: 21px; line-height: 1.55; }
.step p { margin: 12px 26px 0; color: var(--text); font-size: 15.5px; }

/* ---- 第一相談所：文字が途切れず流れる帯 ---- */
.whatis { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.whatis::before, .whatis::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; pointer-events: none; }
.whatis::before { top: -26px; background: linear-gradient(180deg, rgba(14,43,68,0), rgba(14,43,68,.12)); }
.whatis::after { bottom: -26px; background: linear-gradient(180deg, rgba(14,43,68,.12), rgba(14,43,68,0)); }
.ticker { overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; width: max-content; will-change: transform; animation: flowLeft 70s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.tk-item { display: inline-flex; align-items: center; }
.tk-item b { color: #9ed4f6; }
.tk-sep { color: #7fb7dc; }
.badge { display: inline-block; margin-right: 12px; padding: 5px 12px; background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 700; border-radius: var(--r); }
.ticker .num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; background: #fff; color: var(--ink); border-radius: var(--r); font-size: 13px; }
.whatis:hover .ticker-track { animation-play-state: paused; }

/* ---- セクション共通 ---- */
.section { padding: clamp(72px, 8vw, 136px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(28px, 3vw, 48px); }
.sec-head h2 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.25; }
.sec-head p { margin-top: 12px; color: var(--text); font-size: 16px; }
.sec-head .count { display: inline-block; margin-bottom: 10px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); border-radius: var(--r); }
.more-link { flex: 0 0 auto; font-weight: 700; font-size: 15px; color: var(--blue-deep); padding-bottom: 4px; border-bottom: 2px solid var(--blue); transition: gap .2s; }
.more-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---- 専門家マーキー ---- */
.experts { padding-bottom: clamp(48px, 5vw, 90px); background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.6) 20%, rgba(255,255,255,.6) 80%, rgba(255,255,255,0)); }
.expert-marquees { position: relative; display: grid; gap: 18px; overflow: hidden; padding: 8px 0 14px; }
.expert-marquees::before, .expert-marquees::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none; }
.expert-marquees::before { left: 0; background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.expert-marquees::after { right: 0; background: linear-gradient(270deg, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.expert-marquee { overflow: hidden; }
.expert-track { display: flex; width: max-content; will-change: transform; animation: flowLeft 44s linear infinite; }
.expert-marquee.reverse .expert-track { animation: flowRight 50s linear infinite; }
.expert-set { display: flex; gap: 18px; padding-right: 18px; }
.expert-logo-card { display: flex; align-items: center; gap: 16px; width: 290px; min-height: 100px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.expert-logo-card:hover { transform: translate3d(0,-4px,0); box-shadow: 0 18px 38px rgba(14,43,68,.1); border-color: var(--blue-line); }
.logo-mark { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--r); color: #fff; font-weight: 900; font-size: 17px; }
.expert-logo-card b { display: block; font-size: 16px; line-height: 1.4; }
.expert-logo-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.expert-marquees:hover .expert-track { animation-play-state: paused; }
@keyframes flowLeft { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes flowRight { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

/* ---- 無料相談だからこそ ---- */
.why { background: linear-gradient(180deg, rgba(247,251,253,0), rgba(247,251,253,.7) 14%, rgba(247,251,253,.7) 86%, rgba(247,251,253,0)); }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.why-intro h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.3; }
.why-intro > p { margin-top: 18px; color: var(--text); }
.why-intro .consult-action { margin-top: 26px; }
.micro { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.assurance { margin-top: 28px; border-top: 1px solid var(--line); }
.assurance-lead { padding: 18px 0 6px; }
.assurance-lead strong { font-size: 20px; }
.assurance-item { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.assurance-item b { font-size: 16.5px; }
.assurance-item small { font-size: 14.5px; color: var(--text); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proof-card { padding: 30px 28px 30px; background: #fff; border-radius: var(--r); box-shadow: 0 16px 40px rgba(14,43,68,.07); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.proof-card:hover { transform: translate3d(0,-4px,0); box-shadow: 0 26px 54px rgba(14,43,68,.12); }
.proof-card .check { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--blue); color: #fff; font-weight: 900; border-radius: var(--r); }
.proof-card b { display: block; margin: 16px 0 8px; font-size: 19px; }
.proof-card p { color: var(--text); font-size: 15.5px; }

/* ---- 検索・課題から探す ---- */
.discover-section { padding-top: clamp(48px, 5vw, 80px); background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.72) 18%, rgba(255,255,255,.72) 82%, rgba(255,255,255,0)); }
.quick-search-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 22px 50px rgba(14,43,68,.08); }
.q-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--blue-deep); white-space: nowrap; }
.quick-search-box input { flex: 1; min-width: 240px; height: 52px; padding: 0 16px; border: 0; border-bottom: 2px solid var(--line); background: #f6fafd; font: inherit; font-size: 16px; outline: 0; }
.quick-search-box input:focus { border-color: var(--blue); background: #fff; }
.quick-search-box .btn { padding: 15px 28px; }
.search-result { display: none; flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--muted); }
.disc-card { margin-top: 26px; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 16px 28px; font-weight: 700; font-size: 16px; color: var(--muted); cursor: pointer; transition: color .2s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab.active { color: var(--ink); }
.tab.active::after { transform: scaleX(1); }
.tab-panel { display: none; padding-top: 22px; }
.tab-panel.show { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0,8px,0); } to { opacity: 1; transform: none; } }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.chip { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: 15.5px; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.chip:hover { transform: translate3d(0,-3px,0); box-shadow: 0 14px 30px rgba(14,43,68,.1); border-color: var(--blue-line); }
.chip .ar { color: var(--blue-deep); }

/* ---- カテゴリ ---- */
.categories { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.72) 14%, rgba(255,255,255,.72) 86%, rgba(255,255,255,0)); }
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.catgrid a { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.catgrid a.in:hover { transform: translate3d(0,-6px,0); box-shadow: 0 26px 50px rgba(14,43,68,.12); border-color: var(--blue-line); }
.catimg { width: 100%; height: 200px; object-fit: cover; transition: transform .9s var(--ease); }
.catgrid a:hover .catimg { transform: scale(1.06); }
.catgrid .idx { position: absolute; left: 0; top: 0; padding: 5px 11px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 900; letter-spacing: .04em; }
.catgrid .n { display: block; padding: 18px 20px 20px; font-size: 17.5px; font-weight: 900; line-height: 1.4; }
.catgrid .n small { display: block; margin-top: 6px; color: var(--muted); font-weight: 500; font-size: 13px; }
.cat-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--blue-deep); font-weight: 900; transition: transform .35s var(--ease); }
.catgrid a:hover .cat-arrow { transform: translateX(4px); }
.catgrid .all-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.catgrid .all-card .n small { color: #a9cde6; }
.catgrid .all-card .cat-arrow { color: #fff; }
.catgrid .all-card .idx { background: var(--blue); }
@media (min-width: 1500px) { .catgrid { grid-template-columns: repeat(6, 1fr); } .catimg { height: 170px; } }

/* ---- ニュース ---- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; }
.mbig, .mcard, .mrow { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mbig:hover, .mcard:hover { transform: translate3d(0,-5px,0); box-shadow: 0 24px 50px rgba(14,43,68,.12); }
.thumb { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--blue-soft); }
.mcard .thumb { aspect-ratio: 16 / 9; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mbig:hover .thumb img, .mcard:hover .thumb img { transform: scale(1.05); }
.thumb .cat { position: absolute; left: 16px; bottom: 16px; padding: 5px 12px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: var(--r); }
.mbig .b { padding: 22px 26px 26px; }
.date { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.mbig h3 { margin-top: 8px; font-size: 23px; line-height: 1.55; }
.mbig p { margin-top: 10px; color: var(--text); font-size: 15.5px; }
.mlist { display: grid; gap: 12px; }
.mrow { display: grid; grid-template-columns: 26px 110px 1fr; gap: 16px; align-items: center; padding: 12px 16px 12px 14px; }
.mrow:hover { border-color: var(--blue-line); box-shadow: 0 14px 30px rgba(14,43,68,.08); }
.mrow .rk { font-size: 16px; font-weight: 900; color: var(--blue-deep); }
.mrow-thumb { width: 110px; height: 74px; object-fit: cover; border-radius: var(--r); }
.mrow h4 { margin-top: 2px; font-size: 15.5px; font-weight: 700; line-height: 1.6; }

/* ---- お役立ち記事 ---- */
.useful { background: linear-gradient(180deg, rgba(247,251,253,0), rgba(247,251,253,.7) 14%, rgba(247,251,253,.7) 86%, rgba(247,251,253,0)); }
.useful-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mcard .b { padding: 18px 20px 22px; }
.mcard h3 { margin-top: 8px; font-size: 16.5px; font-weight: 700; line-height: 1.65; }

/* ---- 用語集 ---- */
.glossary-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.glossary-intro { position: relative; padding: 0 36px 36px; }
.glossary-visual { width: calc(100% + 72px); height: 200px; margin: 0 -36px 24px; object-fit: cover; }
.glossary-intro .eyebrow { margin-bottom: 10px; }
.glossary-intro h3 { font-size: 30px; line-height: 1.4; }
.glossary-intro p { margin-top: 12px; color: var(--text); }
.gloss { padding: 36px; border-left: 1px solid var(--line); }
.g-search { display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: #f6fafd; border-bottom: 2px solid var(--line); color: var(--muted); }
.g-search input { flex: 1; height: 44px; border: 0; background: transparent; font: inherit; font-size: 15.5px; outline: 0; color: var(--ink); }
.lbl { margin: 22px 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.gterms { display: flex; flex-wrap: wrap; gap: 10px; }
.gterm { padding: 9px 14px; background: var(--blue-soft); border-radius: var(--r); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.gterm b { color: var(--blue-deep); }

/* ---- 掲載・協業 ---- */
.partner-invite { background: var(--ink); color: #fff; }
.partner-invite .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: 0; padding-bottom: 0; }
.partner-visual { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.partner-invite h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.4; }
.partner-invite p { margin: 18px 0 26px; color: #c7dcea; max-width: 720px; }
.partner-invite .wrap > div { padding: 48px 0; }
.partner-invite .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.partner-invite .btn-outline:hover { background: #fff; color: var(--ink); }

/* ---- FAQ ---- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-intro h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.3; }
.faq-intro p { margin: 18px 0 26px; color: var(--text); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue-deep); transition: transform .3s var(--ease); }
.faq-list details.is-open summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-body-inner { overflow: hidden; }
.faq-list details.is-open .faq-body { grid-template-rows: 1fr; }
.faq-list details p { padding: 0 0 22px; color: var(--text); opacity: 0; transform: translate3d(0,-6px,0); transition: opacity .4s var(--ease) .1s, transform .4s var(--ease) .1s; }
.faq-list details.is-open p { opacity: 1; transform: none; }
.faq-list summary:hover { color: var(--blue-deep); }

/* ---- 問い合わせ ---- */
.consult-section { padding: 0 0 clamp(64px, 7vw, 120px); }
.consult-dock { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(14,43,68,.1); padding: 0; }
.dock-head { position: relative; padding: 56px 48px 0; background: linear-gradient(160deg, #e6f4fc, #f7fbfe 70%); display: flex; flex-direction: column; }
.dock-head .free { align-self: flex-start; padding: 6px 12px; background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 700; border-radius: var(--r); }
.dock-head h2 { margin-top: 16px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.35; }
.dock-head p { margin-top: 14px; color: var(--text); }
.dock-aichan { position: relative; margin: auto auto 0; width: min(320px, 90%); padding-top: 60px; }
.dock-aichan img { width: 100%; height: auto; margin-bottom: -6px; filter: drop-shadow(0 18px 24px rgba(26,143,208,.18)); animation: aichanFloat 7s ease-in-out infinite; }
.dock-aichan .bubble { top: 6px; font-size: 14px; }
.dock-form { padding: 44px 48px 48px; }
.dock-form label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 14.5px; }
.dock-form label:first-child { margin-top: 0; }
.req { margin-left: 8px; padding: 2px 7px; background: #fdecec; color: #c0392b; font-size: 11.5px; border-radius: var(--r); }
.opt { margin-left: 6px; font-weight: 500; color: var(--muted); font-size: 13px; }
.dock-form input, .dock-form select, .dock-form textarea { width: 100%; padding: 14px 14px; border: 0; border-bottom: 2px solid var(--line); border-radius: var(--r) var(--r) 0 0; background: #f6fafd; font: inherit; font-size: 16px; color: var(--ink); outline: 0; transition: border-color .2s, background .2s; }
.dock-form input:focus, .dock-form select:focus, .dock-form textarea:focus { border-color: var(--blue); background: #fff; }
.dock-form textarea { min-height: 120px; resize: vertical; }
.dock-check { display: flex !important; align-items: center; gap: 10px; margin-top: 20px !important; font-weight: 500 !important; }
.dock-check input { width: auto; }
.dock-submit { width: 100%; margin-top: 20px; padding: 18px; font-size: 17px; }
.dock-safe { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.dock-success { display: none; margin-top: 14px; padding: 12px 16px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; border-radius: var(--r); text-align: center; }

/* ---- フッター ---- */
footer.site { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92) 20%); padding: 64px 0 28px; color: var(--text); }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.fmark img { height: 32px; width: auto; }
.f-brand p { margin-top: 16px; font-size: 14.5px; max-width: 420px; }
.f-contact { margin-top: 16px; font-size: 14px; }
.f-contact b { font-size: 20px; color: var(--ink); }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); transition: background .2s, color .2s; }
.f-social a:hover { background: var(--ink); color: #fff; }
.f-col h4 { font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.f-col a:hover { color: var(--blue-deep); }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; }
.f-bottom .links { display: flex; gap: 20px; }

/* ---- 固定要素 ---- */
.totop { position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: 0 10px 24px rgba(14,43,68,.12); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.mcta { display: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1280px) {
  .header-search { width: 200px; }
  nav.main { gap: 18px; }
  .phone { display: none; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .catgrid { grid-template-columns: repeat(3, 1fr); }
  .useful-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .glossary-panel, .consult-dock, .faq-layout, .why-grid, .partner-invite .wrap { grid-template-columns: 1fr; }
  .gloss { border-left: 0; border-top: 1px solid var(--line); }
  .partner-visual { min-height: 0; height: 220px; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); }
  .partner-invite .wrap > div { padding: 28px 0 44px; }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 15.5px; }
  .topbar .wrap { height: auto; padding-top: 6px; padding-bottom: 6px; font-size: 12.5px; }
  .topbar-links { display: none; }
  header.site .wrap { height: 68px; gap: 12px; }
  .logo img { height: 28px; } .logo-svg { height: 26px; }
  .header-search { flex: 1; width: auto; min-width: 0; height: 40px; }
  nav.main, .header-inquiry { display: none; }
  .hamburger { display: flex; }
  .mnav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14,43,68,.12); }
  .mnav.open { display: block; }
  .mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
  .mnav .m-in { padding-top: 16px; }
  .mnav .m-in a { border: 0; padding: 16px; }
  .news-digest .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .news-rotator { height: 44px; }
  .news-rotator-item { gap: 8px 12px; flex-wrap: wrap; align-content: center; }
  .news-rotator-item strong { white-space: normal; font-size: 13.5px; line-height: 1.45; }
  .news-rotator-item time { display: none; }
  .news-rotator-item a { display: none; }
  .news-rotator-controls span { display: none; }
  .hero { padding-top: 36px; }
  .hero-title { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-action .btn { width: 100%; }
  .trust { gap: 20px; flex-wrap: wrap; }
  .trust .n { font-size: 26px; }
  .hero-visual { max-width: 380px; }
  .hero-visual { height: 300px; }
  .flow-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .flow-col:nth-child(n+4) { display: none; }
  .flow-set { gap: 10px; padding-bottom: 10px; }
  .hero-veil { background: linear-gradient(180deg, rgba(255,255,255,.96) 0, rgba(255,255,255,.9) 40%, rgba(255,255,255,.62) 62%, rgba(255,255,255,.22) 100%); }
  .aichan { width: 82%; }
  .bubble { font-size: 13.5px; padding: 9px 16px; top: -6%; }
  .ticker-set { font-size: 15px; gap: 22px; }
  .hero-visual .links { display: none; }
  .bubble { font-size: 13px; padding: 8px 14px; }
  .hero-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; padding-bottom: 40px; }
  .step-img { height: 120px; }
  .step .num { top: 96px; left: 18px; font-size: 18px; }
  .step strong { margin: 28px 20px 0; font-size: 19px; }
  .step p { margin: 10px 20px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .expert-logo-card { width: 240px; min-height: 88px; padding: 16px 18px; }
  .assurance-item { grid-template-columns: 1fr; gap: 4px; }
  .proof-grid { grid-template-columns: 1fr; }
  .quick-search-box .btn { width: 100%; }
  .tabs { overflow-x: auto; }
  .tab { padding: 14px 16px; white-space: nowrap; font-size: 15px; }
  .chips { grid-template-columns: 1fr; }
  .catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .catimg { height: 120px; }
  .catgrid .n { padding: 12px 12px 14px; font-size: 14.5px; }
  .catgrid .n small { font-size: 12px; }
  .cat-arrow { right: 12px; bottom: 12px; }
  .useful-grid { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 22px 84px 1fr; gap: 10px; }
  .mrow-thumb { width: 84px; height: 58px; }
  .glossary-intro { padding: 0 22px 26px; }
  .glossary-visual { width: calc(100% + 44px); margin: 0 -22px 20px; height: 150px; }
  .gloss { padding: 24px 22px; }
  .dock-head { padding: 36px 24px 0; }
  .dock-aichan { width: min(240px, 80%); padding-top: 50px; }
  .dock-form { padding: 28px 22px 32px; }
  .f-top { grid-template-columns: 1fr; gap: 26px; }
  footer.site { padding-bottom: 96px; }
  .totop { right: 14px; bottom: 82px; }
  .mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(14,43,68,.1); }
  .mcta .call { display: grid; place-items: center; width: 54px; border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 20px; }
  .mcta .free { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: var(--blue); color: #fff; font-weight: 900; border-radius: var(--r); }
  .mcta .free small { font-weight: 500; opacity: .9; }
  .bg-grid { background-size: 64px 64px; }
}

/* ---- 動きを抑える設定 ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bg-canvas { display: none; }
}


/* ==========================================================================
   v26 — クライアント再FB反映（2026-09-13）
   テイストは「ビジネスライク・プロ調」で統一。あいちゃんはカテゴリ案内と問い合わせ面のみ。
   ========================================================================== */
:root { --wrap: 1440px; }
body { font-size: 15.5px; }
.section { padding: clamp(56px, 6vw, 104px) 0; }
.sec-head { margin-bottom: clamp(22px, 2.4vw, 36px); }
.sec-head h2 { font-size: clamp(28px, 2.8vw, 42px); }
.sec-head p { font-size: 15px; margin-top: 8px; }
.sec-foot { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.sec-foot .btn { min-width: 260px; padding: 15px 28px; font-size: 15px; }
.more-link { display: none; }

/* ---- 最上部は白。ヘッダーは下スクロールで隠れ、上スクロールで戻る ---- */
.topbar { display: none; }
body > header.site#siteHeader { transition: transform .45s var(--ease), box-shadow .3s ease, background .3s ease; will-change: transform; }
body > header.site#siteHeader.is-hidden { transform: translateY(-100%); }
header.site .wrap { height: 74px; }
.news-digest .wrap { height: 46px; }
.news-rotator-item strong { font-size: 14.5px; }

/* ---- ヒーロー：ヘッダーとの間を詰め、背景は抽象的な光・線・ネットワーク ---- */
.hero { padding: clamp(28px, 3.5vw, 56px) 0 0; }
.hero-grid { align-items: center; gap: clamp(24px, 3vw, 56px); }
.hero-copy { padding-bottom: clamp(16px, 2vw, 32px); }
.hero-title { font-size: clamp(42px, 5vw, 80px); }
.hero-lead { font-size: 16.5px; margin-top: 22px; }
.hero-action { margin-top: 28px; }
.hero-action .btn { padding: 16px 26px; font-size: 16px; }
.trust { display: none; }
.hb-net { position: absolute; inset: -10% -6%; background: none center / cover no-repeat; opacity: .16; will-change: transform; animation: netDrift 60s ease-in-out infinite alternate; }
@keyframes netDrift { from { transform: translate3d(-2%, -1%, 0) scale(1.02); } to { transform: translate3d(2%, 1.5%, 0) scale(1.08); } }
.hb-shape { position: absolute; border-radius: 50%; will-change: transform; }
.hb-s1 { width: 46vw; height: 46vw; right: -12vw; top: -18vw; background: radial-gradient(circle, rgba(26,143,208,.16), rgba(26,143,208,.04) 55%, transparent 70%); animation: shapeA 26s ease-in-out infinite; }
.hb-s2 { width: 30vw; height: 30vw; right: 18vw; bottom: -14vw; background: radial-gradient(circle, rgba(120,190,240,.18), rgba(120,190,240,.04) 55%, transparent 70%); animation: shapeB 32s ease-in-out infinite; }
.hb-s3 { width: 22vw; height: 22vw; left: 30vw; top: -8vw; background: radial-gradient(circle, rgba(200,236,250,.5), rgba(200,236,250,.08) 55%, transparent 70%); animation: shapeA 38s ease-in-out infinite reverse; }
@keyframes shapeA { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-3vw, 2vw, 0); } }
@keyframes shapeB { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(2vw, -3vw, 0); } }
.hb-line { position: absolute; left: -10%; width: 120%; height: 1px; background: linear-gradient(90deg, transparent, rgba(26,143,208,.35), transparent); transform-origin: left center; will-change: transform; }
.hb-l1 { top: 28%; transform: rotate(-7deg); animation: lineSlide 22s linear infinite; }
.hb-l2 { top: 56%; transform: rotate(-7deg); animation: lineSlide 30s linear infinite; animation-delay: -12s; }
.hb-l3 { top: 78%; transform: rotate(-7deg); animation: lineSlide 26s linear infinite; animation-delay: -5s; opacity: .6; }
@keyframes lineSlide { from { transform: translate3d(-18%, 0, 0) rotate(-7deg); } to { transform: translate3d(18%, 0, 0) rotate(-7deg); } }
.hero-veil { background: linear-gradient(90deg, rgba(255,255,255,.92) 0, rgba(255,255,255,.7) 40%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,.6), transparent 30%, transparent 70%, rgba(255,255,255,.96) 100%); }
.hero-veil::after { content: none; }
.flow-wall { display: none; }
/* 右側：数値カード（あいちゃんはヒーローから外す） */
.hero-visual { height: clamp(300px, 30vw, 420px); }
.aichan { display: none; }
.hv-card { position: absolute; padding: 18px 22px 16px; background: rgba(255,255,255,.92); border-radius: var(--r); box-shadow: 0 22px 50px rgba(14,43,68,.1), 0 2px 6px rgba(14,43,68,.05); will-change: transform; animation: hvFloat 8s ease-in-out infinite; }
.hv-card .hv-k { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.hv-card b { display: block; margin-top: 4px; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.hv-card b i { font-style: normal; font-size: .42em; margin-left: 4px; color: var(--blue-deep); }
.hv-1 { left: 8%; top: 10%; }
.hv-2 { right: 6%; top: 32%; animation-delay: -3s; }
.hv-3 { left: 26%; bottom: 8%; animation-delay: -5.5s; }
@keyframes hvFloat { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }

/* ---- 3ステップ：横に流れるティッカー ---- */
.hero-steps { display: block; overflow: hidden; margin-top: clamp(18px, 2vw, 32px); padding: 8px 0 clamp(40px, 5vw, 72px); }
.hero-steps::before { content: none; }
.steps-track { display: flex; width: max-content; will-change: transform; animation: flowLeft 56s linear infinite; }
.hero-steps:hover .steps-track { animation-play-state: paused; }
.steps-set { display: flex; gap: 20px; padding-right: 20px; }
.step { width: 372px; padding-bottom: 24px; }
.step-img { height: 128px; }
.step .num { top: 104px; left: 18px; font-size: 18px; }
.step strong { margin: 26px 22px 0; font-size: 18.5px; }
.step p { margin: 10px 22px 0; font-size: 14.5px; }
.step-btn { margin: 16px 22px 0; padding: 12px 20px; font-size: 14.5px; }
.step.reveal, .step.reveal.in { opacity: 1; transform: none; animation: none; transition: none; }

/* ---- 専門家：ロゴ風ワードマーク＋問い合わせボタン ---- */
.expert-logo-card { width: 300px; min-height: 96px; padding: 16px 18px; gap: 14px; }
.logo-mark { width: 44px; height: 44px; font-size: 15px; }
.expert-name { flex: 1; min-width: 0; }
.expert-name b { font-size: 15px; letter-spacing: -.01em; }
.expert-name small { font-size: 12px; white-space: normal; }
.expert-btn { flex: 0 0 auto; padding: 8px 12px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12.5px; font-weight: 700; border-radius: var(--r); transition: background .2s, color .2s; }
.expert-logo-card:hover .expert-btn { background: var(--blue); color: #fff; }

/* ---- 知っておいてほしいこと：横からスライドイン ---- */
.why-intro h2 { font-size: clamp(28px, 2.8vw, 42px); }
.proof-card { padding: 24px 22px; }
.proof-card b { font-size: 17px; }
.proof-card p { font-size: 14.5px; }
.slide-l.reveal { transform: translate3d(-48px, 0, 0); }
.slide-l.reveal:nth-child(2) { transition-delay: .15s !important; }
.slide-l.reveal:nth-child(3) { transition-delay: .3s !important; }
.slide-l.reveal:nth-child(4) { transition-delay: .45s !important; }
@supports (animation-timeline: view()) {
  .has-view-timeline .slide-l.reveal { animation-name: slideInL; animation-range: entry 0% entry 90%; }
  .has-view-timeline .slide-l.reveal:nth-child(2) { animation-range: entry 10% entry 100%; }
  .has-view-timeline .slide-l.reveal:nth-child(3) { animation-range: entry 20% cover 10%; }
  .has-view-timeline .slide-l.reveal:nth-child(4) { animation-range: entry 30% cover 20%; }
}
@keyframes slideInL { from { opacity: 0; transform: translate3d(-56px, 0, 0); } to { opacity: 1; transform: none; } }

/* ---- 検索：見出しを付けて唐突さをなくす ---- */
.search-head { margin-bottom: 18px; }
.search-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.search-head p { margin-top: 8px; color: var(--text); font-size: 15px; }
.quick-search-box { padding: 14px 18px; }
.quick-search-box input { height: 48px; }

/* ---- カテゴリ：あいちゃんが案内（アニメ調の吹き出し） ---- */
.sec-head-guide { align-items: flex-end; }
.guide { position: relative; display: flex; align-items: flex-end; gap: 14px; flex: 0 0 auto; }
.guide img { width: 150px; height: auto; animation: aichanFloat 7s ease-in-out infinite; }
.guide-bubble { position: relative; margin-bottom: 40px; padding: 12px 18px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; font-weight: 900; font-size: 14.5px; line-height: 1.5; color: var(--ink); white-space: nowrap; box-shadow: 0 12px 28px rgba(14,43,68,.1); animation: bubblePop 7s ease-in-out infinite; }
.guide-bubble::after { content: ""; position: absolute; right: -12px; bottom: 16px; width: 14px; height: 14px; background: #fff; border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: rotate(45deg); }
.guide-name { position: absolute; right: 0; bottom: -4px; padding: 3px 9px; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.95); border-radius: var(--r); }
.catgrid { gap: 18px; }
.catimg { height: 170px; }
.catgrid .n { padding: 14px 16px 16px; font-size: 16px; }
@media (min-width: 1500px) { .catimg { height: 160px; } }

/* ---- ニュース・記事・用語集：ひと回り小さく ---- */
.news-grid { gap: 22px; }
.mbig h3 { font-size: 20px; }
.mbig .b { padding: 18px 22px 22px; }
.mrow { grid-template-columns: 24px 96px 1fr; padding: 10px 14px 10px 12px; }
.mrow-thumb { width: 96px; height: 64px; }
.mrow h4 { font-size: 14.5px; }
.useful-grid { gap: 20px; }
.mcard h3 { font-size: 15.5px; }
.glossary-intro { padding: 0 30px 30px; }
.glossary-visual { width: calc(100% + 60px); height: auto; aspect-ratio: 16 / 9; margin: 0 -30px 20px; object-fit: cover; object-position: center 40%; }
.glossary-intro h3 { font-size: 26px; }
.gloss { padding: 30px; }
.partner-invite .wrap > div { padding: 40px 0; }
.partner-visual { min-height: 260px; }
.faq-section { padding: clamp(56px, 6vw, 104px) 0; }
.faq-intro h2 { font-size: clamp(28px, 2.8vw, 42px); }
.faq-list summary { padding: 18px 44px 18px 0; font-size: 16px; }

/* ---- フォーム：1画面に収まるコンパクトな2列 ---- */
.consult-dock { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.dock-head { padding: 40px 36px 0; }
.dock-head h2 { font-size: clamp(26px, 2.4vw, 34px); }
.dock-head p { margin-top: 10px; font-size: 15px; }
.dock-aichan { width: min(230px, 80%); padding-top: 44px; }
.dock-aichan .bubble { font-size: 13px; padding: 9px 14px; top: 2px; }
.dock-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; padding: 32px 36px 34px; align-content: start; }
.dock-form label { margin: 10px 0 5px; font-size: 13.5px; }
.dock-form label:first-child { margin-top: 0; }
.dock-form label[for="dockName"], .dock-form label[for="dockCompany"], .dock-form label[for="dockEmail"], .dock-form label[for="dockPhone"] { }
.dock-form label[for="dockType"], #dockType, .dock-form label[for="dockMessage"], #dockMessage, .dock-check, .dock-submit, .dock-safe, .dock-success { grid-column: 1 / -1; }
.dock-form input, .dock-form select, .dock-form textarea { padding: 11px 12px; font-size: 15px; }
.dock-form textarea { min-height: 84px; }
.dock-check { margin-top: 14px !important; }
.dock-submit { margin-top: 14px; padding: 15px; font-size: 16px; }
.dock-safe { margin-top: 8px; }

/* ---- 固定要素：汎用ルールより優先して fixed に ---- */
button#totop { position: fixed; right: 26px; bottom: 26px; z-index: 40; }
div#mcta { position: fixed; }

/* ---- ロゴ ---- */
.logo-svg { height: 32px; width: auto; display: block; }
.fmark .logo-svg { height: 30px; }

@media (max-width: 900px) {
  .hero { padding-top: 22px; }
  .hero-visual { height: 220px; }
  .hv-card { padding: 12px 14px 10px; }
  .hv-card b { font-size: 28px; }
  .hv-1 { left: 0; top: 6%; }
  .hv-2 { right: 0; top: 30%; }
  .hv-3 { left: 22%; bottom: 4%; }
  .hb-line { display: none; }
  .steps-set { gap: 12px; padding-right: 12px; }
  .step { width: 300px; }
  .sec-head-guide { flex-direction: column; align-items: flex-start; }
  .guide { align-self: flex-end; margin-top: -6px; }
  .guide img { width: 110px; }
  .guide-bubble { font-size: 12.5px; padding: 9px 12px; margin-bottom: 28px; }
  .consult-dock { grid-template-columns: 1fr; }
  .dock-form { grid-template-columns: 1fr; padding: 24px 20px 28px; }
  .dock-head { padding: 30px 22px 0; }
  .dock-aichan { width: min(200px, 70%); padding-top: 40px; }
  div#mcta { display: flex; }
  button#totop { right: 14px; bottom: 82px; }
}

/* ヘッダー1行に収める */
nav.main { gap: 20px; font-size: 14.5px; white-space: nowrap; }
.header-cta { gap: 14px; white-space: nowrap; }
.header-inquiry { padding: 12px 20px; font-size: 14.5px; }
.header-search { width: 210px; }
@media (max-width: 1500px) { .phone { display: none; } }
@media (max-width: 1180px) { .header-search { width: 170px; } nav.main { gap: 14px; font-size: 14px; } }
@media (max-width: 900px) {
  .hero-visual { height: auto; display: flex; gap: 10px; margin-top: 6px; }
  .hv-card { position: static; flex: 1; padding: 12px 10px 10px; animation: none; text-align: center; }
  .hv-card .hv-k { font-size: 11px; }
  .hv-card b { font-size: 26px; }
  .quick-search-box input { min-width: 0; width: 100%; }
}
@media (max-width: 900px) {
  .header-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .news-digest .wrap { height: auto; min-height: 48px; }
  .news-rotator { height: 42px; }
  .news-rotator-item strong { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}


/* ==========================================================================
   v27 — モーション強化（2026-09-14）
   ========================================================================== */
/* ヒーロー：画像の流れを復活（新しい抽象タイル）。右側は注目分野カード＋数値 */
.flow-wall { display: grid; }
.hb-net, .hb-shape, .hb-line { display: none; }
.flow-card { opacity: .9; }
.hero-veil { background: linear-gradient(90deg, rgba(255,255,255,.96) 0, rgba(255,255,255,.86) 36%, rgba(255,255,255,.45) 58%, rgba(255,255,255,.18) 100%), linear-gradient(180deg, rgba(255,255,255,.7), transparent 26%, transparent 70%, rgba(255,255,255,.98) 100%); }
.hero-visual { height: clamp(360px, 34vw, 480px); }
.hv-feature { position: absolute; right: 2%; top: 2%; width: 58%; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(14,43,68,.14), 0 2px 6px rgba(14,43,68,.05); will-change: transform; animation: hvFloat 9s ease-in-out infinite; }
.hv-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: opacity .42s ease, transform .9s var(--ease); }
.hv-feature.is-switching img, .hv-feature.is-switching b { opacity: 0; }
.hv-feature b { transition: opacity .42s ease; }
.hv-feature-b { padding: 12px 16px 14px; }
.hv-feature-b .hv-k { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.hv-feature-b b { display: block; margin-top: 2px; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.hv-dots { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 5px; }
.hv-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(14,43,68,.18); transition: background .3s, transform .3s; }
.hv-dots i.on { background: var(--blue); transform: scale(1.3); }
.hv-1 { left: 2%; top: 22%; }
.hv-2 { left: 8%; bottom: 6%; }
.hv-3 { right: 4%; bottom: 0; }
.hv-card { padding: 14px 18px 12px; }
.hv-card b { font-size: clamp(30px, 2.6vw, 40px); }

/* 3ステップ：流れを速く（気づける速度） */
.steps-track { animation-duration: 30s; }

/* 「知っておいてほしいこと」：4枚が順番に、横から大きくスライドイン */
.slide-l.reveal { transform: translate3d(-110px, 0, 0); transition-duration: 1s; }
.proof-grid .slide-l.reveal:nth-child(1) { transition-delay: 0s !important; }
.proof-grid .slide-l.reveal:nth-child(2) { transition-delay: .35s !important; }
.proof-grid .slide-l.reveal:nth-child(3) { transition-delay: .7s !important; }
.proof-grid .slide-l.reveal:nth-child(4) { transition-delay: 1.05s !important; }
@supports (animation-timeline: view()) {
  .has-view-timeline .slide-l.reveal { animation-name: slideInL; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
  .has-view-timeline .proof-grid .slide-l.reveal:nth-child(1) { animation-range: entry 0% entry 45%; }
  .has-view-timeline .proof-grid .slide-l.reveal:nth-child(2) { animation-range: entry 20% entry 70%; }
  .has-view-timeline .proof-grid .slide-l.reveal:nth-child(3) { animation-range: entry 40% cover 20%; }
  .has-view-timeline .proof-grid .slide-l.reveal:nth-child(4) { animation-range: entry 60% cover 40%; }
  .has-view-timeline .faq-list .slide-l.reveal { animation-range: entry 0% entry 80%; }
  .has-view-timeline .faq-list .slide-l.reveal:nth-child(2) { animation-range: entry 10% entry 90%; }
  .has-view-timeline .faq-list .slide-l.reveal:nth-child(3) { animation-range: entry 20% entry 100%; }
  .has-view-timeline .faq-list .slide-l.reveal:nth-child(4) { animation-range: entry 30% cover 10%; }
  .has-view-timeline .faq-list .slide-l.reveal:nth-child(5) { animation-range: entry 40% cover 20%; }
  .has-view-timeline .faq-list .slide-l.reveal:nth-child(6) { animation-range: entry 50% cover 30%; }
}
@keyframes slideInL { from { opacity: 0; transform: translate3d(-120px, 0, 0); } to { opacity: 1; transform: none; } }
.faq-list .slide-l.reveal { transform: translate3d(-60px, 0, 0); }
.faq-list .slide-l.reveal:nth-child(n) { transition-delay: calc((var(--i, 1) - 1) * .12s); }

/* 見出し：左からせり出し、説明文は遅れて浮き上がる */
.reveal-h .l h2 { opacity: 0; transform: translate3d(-40px, 0, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-h .l p { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 1s var(--ease) .25s, transform 1s var(--ease) .25s; }
.reveal-h.in .l h2, .reveal-h.in .l p { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .has-view-timeline .reveal-h .l h2 { opacity: 1; transform: none; transition: none; animation: headIn cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .has-view-timeline .reveal-h .l p { opacity: 1; transform: none; transition: none; animation: viewIn cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
}
@keyframes headIn { from { opacity: 0; transform: translate3d(-48px, 0, 0); } to { opacity: 1; transform: none; } }

/* カテゴリ・記事カード：少し小さい状態から浮き上がる（順番に） */
.pop.reveal { transform: translate3d(0, 30px, 0) scale(.96); }
@supports (animation-timeline: view()) {
  .has-view-timeline .pop.reveal { animation-name: popIn; }
  .has-view-timeline .catgrid .pop.reveal:nth-child(4n+2) { animation-range: entry 8% entry 93%; }
  .has-view-timeline .catgrid .pop.reveal:nth-child(4n+3) { animation-range: entry 16% cover 1%; }
  .has-view-timeline .catgrid .pop.reveal:nth-child(4n+4) { animation-range: entry 24% cover 9%; }
  .has-view-timeline .useful-grid .mcard.reveal:nth-child(3n+2) { animation-range: entry 10% entry 95%; }
  .has-view-timeline .useful-grid .mcard.reveal:nth-child(3n+3) { animation-range: entry 20% cover 5%; }
  /* サムネイルの軽いパララックス */
  .has-view-timeline .mbig .thumb img, .has-view-timeline .mcard .thumb img, .has-view-timeline .glossary-visual, .has-view-timeline .partner-visual { animation: thumbDrift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  .has-view-timeline .mbig .thumb img, .has-view-timeline .mcard .thumb img { height: 116%; top: -8%; }
}
@keyframes popIn { from { opacity: 0; transform: translate3d(0, 36px, 0) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes thumbDrift { from { transform: translate3d(0, -4%, 0); } to { transform: translate3d(0, 4%, 0); } }

/* CTA：呼吸するように影が広がる */
.hero-action .btn-primary, .dock-submit, .faq-intro .btn-primary { animation: ctaBreath 3.6s ease-in-out infinite; }
@keyframes ctaBreath { 0%, 100% { box-shadow: 0 12px 28px rgba(26,143,208,.24); } 50% { box-shadow: 0 18px 44px rgba(26,143,208,.42); } }

/* チップ・専門家カード：順番に浮き上がる */
.chips .chip { animation: chipIn .6s var(--ease) both; }
.chips .chip:nth-child(1) { animation-delay: .05s } .chips .chip:nth-child(2) { animation-delay: .12s } .chips .chip:nth-child(3) { animation-delay: .19s } .chips .chip:nth-child(4) { animation-delay: .26s } .chips .chip:nth-child(5) { animation-delay: .33s } .chips .chip:nth-child(6) { animation-delay: .4s } .chips .chip:nth-child(7) { animation-delay: .47s }
@keyframes chipIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-visual { display: block; height: 300px; }
  .hv-feature { right: 0; top: 0; width: 66%; animation: none; }
  .hv-card { position: absolute; animation: none; padding: 10px 12px 8px; }
  .hv-1 { left: 0; top: 4%; }
  .hv-2 { left: 0; bottom: 34%; }
  .hv-3 { right: 0; bottom: 0; }
  .hv-card b { font-size: 24px; }
}
/* 位置の整理（v26の指定をリセット） */
.hv-feature { right: 0; top: 0; width: 56%; }
.hv-1 { left: 0; top: 10%; right: auto; bottom: auto; }
.hv-2 { left: 6%; top: auto; right: auto; bottom: 10%; }
.hv-3 { left: auto; top: auto; right: 6%; bottom: 0; }
@media (max-width: 900px) {
  .hv-feature { width: 64%; }
  .hv-1 { left: 0; top: 2%; }
  .hv-2 { left: 0; bottom: 30%; }
  .hv-3 { right: 0; bottom: 0; }
}


/* ==========================================================================
   v28 — ヒーロー刷新・固定スクロール演出・常時モーション（2026-09-14）
   ・ヒーローは中央寄せのメインコピーのみ。背景タイルはCSSだけで描く（画像ファイル不要）
   ・3ステップ／4つの約束は「画面固定＋スクロールで1つずつ」
   ・出現アニメは時間ベース（IntersectionObserver）に統一し、横スライドを大きく
   ========================================================================== */
:root { --header-h: 74px; }

/* ---- 背景：漂う光の線を全ページに ---- */
.bg-lines { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-lines i { position: absolute; left: -20%; width: 140%; height: 1px; background: linear-gradient(90deg, transparent, rgba(26,143,208,.38), transparent); will-change: transform; }
.bg-lines i:nth-child(1) { top: 24%; animation: lineSlide 26s linear infinite; }
.bg-lines i:nth-child(2) { top: 52%; animation: lineSlide 34s linear infinite; animation-delay: -14s; opacity: .7; }
.bg-lines i:nth-child(3) { top: 80%; animation: lineSlide 30s linear infinite; animation-delay: -6s; opacity: .55; }
.bg-canvas { opacity: .62; }
.bg-stars { opacity: 1; }

/* ---- 出現：時間ベースに統一（スクロール量連動は使わない） ---- */
.reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); will-change: transform, opacity; }
.reveal.slide-l { transform: translate3d(-140px, 0, 0); }
.reveal.slide-r { transform: translate3d(140px, 0, 0); }
.reveal.rise { transform: translate3d(0, 60px, 0) scale(.97); }
.reveal.pop { transform: translate3d(0, 44px, 0) scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.reveal-h .l h2 { opacity: 0; transform: translate3d(-90px, 0, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-h .l p { transition-delay: .3s; }
.reveal-h .l .count { display: inline-block; opacity: 0; transform: translate3d(-30px,0,0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-h.in .l h2, .reveal-h.in .l p, .reveal-h.in .l .count { opacity: 1; transform: none; }
.reveal-h .l h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .5s; }
.reveal-h.in .l h2::after { transform: scaleX(1); }
.motion-lite .reveal, .motion-lite .reveal-h .l h2, .motion-lite .reveal-h .l p, .motion-lite .reveal-h .l .count { opacity: 1; transform: none; transition: none; }

/* ---- ヒーロー：中央にメインコピー、背景は全面に流れるタイル ---- */
.hero-simple { padding: clamp(40px, 5.5vw, 96px) 0 clamp(56px, 7vw, 120px); min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: center; }
.hero-simple .hero-bg { contain: paint; }
.hero-simple .flow-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; inset: -14% -6%; transform: rotate(-8deg) scale(1.08); }
.hero-simple .flow-track { animation-duration: 74s; }
.hero-simple .flow-col.up .flow-track { animation-duration: 84s; }
.hero-simple .flow-col.slow .flow-track { animation-duration: 96s; }
.hero-simple .flow-set { gap: 22px; padding-bottom: 22px; }
.hero-simple .flow-card { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; opacity: 1; box-shadow: 0 18px 40px rgba(14,43,68,.08); }
.hero-simple .flow-card i { position: absolute; inset: 0; }
/* タイル8種（CSSのみ・画像ファイル不要） */
.flow-card.t1 { background: linear-gradient(135deg, #e9f5fd, #bfe0f7); }
.flow-card.t1 i { background: radial-gradient(circle at 30% 35%, rgba(26,143,208,.55), transparent 42%), radial-gradient(circle, rgba(26,143,208,.55) 1.5px, transparent 2px) 0 0 / 22px 22px; }
.flow-card.t2 { background: linear-gradient(160deg, #0e2b44, #164a72); }
.flow-card.t2 i { background: repeating-linear-gradient(115deg, rgba(255,255,255,0) 0 18px, rgba(255,255,255,.08) 18px 19px), radial-gradient(circle at 75% 30%, rgba(120,190,240,.5), transparent 45%); }
.flow-card.t3 { background: #ffffff; }
.flow-card.t3 i { background: repeating-radial-gradient(circle at 50% 50%, rgba(26,143,208,.32) 0 1px, transparent 1px 22px); }
.flow-card.t4 { background: linear-gradient(135deg, #1a8fd0, #6cc0ec); }
.flow-card.t4 i { background: repeating-linear-gradient(45deg, rgba(255,255,255,0) 0 26px, rgba(255,255,255,.16) 26px 28px), radial-gradient(circle at 20% 80%, rgba(255,255,255,.45), transparent 40%); }
.flow-card.t5 { background: linear-gradient(180deg, #f6fbfe, #dceffa); }
.flow-card.t5 i { background: radial-gradient(circle at 65% 45%, rgba(26,143,208,.28) 0 28%, transparent 30%), linear-gradient(rgba(26,143,208,.14) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(26,143,208,.14) 1px, transparent 1px) 0 0 / 28px 28px; }
.flow-card.t6 { background: linear-gradient(200deg, #0d6fb0, #1a8fd0 60%, #4fb0e6); }
.flow-card.t6 i { background: radial-gradient(circle at 50% 55%, transparent 0 26%, rgba(255,255,255,.5) 27% 28%, transparent 29% 40%, rgba(255,255,255,.28) 41% 42%, transparent 43%); }
.flow-card.t7 { background: linear-gradient(135deg, #ffffff, #e6f4fc); }
.flow-card.t7 i { background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%231a8fd0' stroke-opacity='.45' stroke-width='1.2'%3E%3Cpath d='M40 60L150 120L260 70L360 140M150 120L120 230L260 70M120 230L250 250L360 140'/%3E%3C/g%3E%3Cg fill='%231a8fd0' fill-opacity='.7'%3E%3Ccircle cx='40' cy='60' r='5'/%3E%3Ccircle cx='150' cy='120' r='7'/%3E%3Ccircle cx='260' cy='70' r='5'/%3E%3Ccircle cx='360' cy='140' r='6'/%3E%3Ccircle cx='120' cy='230' r='6'/%3E%3Ccircle cx='250' cy='250' r='5'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
.flow-card.t8 { background: linear-gradient(160deg, #cfe9f9, #a9d6f3); }
.flow-card.t8 i { background: repeating-radial-gradient(ellipse at 110% 120%, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.55) 22px 24px); }
.hero-simple .hero-veil { background: radial-gradient(ellipse at 50% 46%, rgba(255,255,255,.98) 0, rgba(255,255,255,.96) 30%, rgba(255,255,255,.8) 48%, rgba(255,255,255,.42) 66%, rgba(255,255,255,.18) 100%), linear-gradient(180deg, rgba(255,255,255,.85), transparent 25%, transparent 70%, rgba(255,255,255,.98) 100%); }
.hero-simple .hero-veil::after { content: none; }
.hero-center { position: relative; text-align: center; max-width: 1040px; }
.hero-center .eyebrow { font-size: 15px; letter-spacing: .06em; padding: 8px 16px; border: 1.5px solid var(--blue-line); border-radius: 999px; background: rgba(255,255,255,.8); }
.hero-center .hero-title { font-size: clamp(44px, 6vw, 96px); line-height: 1.12; margin-top: 10px; }
.hero-center .hero-lead { margin: 26px auto 0; max-width: 700px; font-size: 17px; }
.hero-center .hero-action { justify-content: center; margin-top: 30px; }
.hero-center .hero-action small { text-align: center; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px clamp(22px, 4vw, 64px); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats .item { text-align: center; }
.hero-stats .n { display: block; font-size: clamp(26px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.hero-stats .n em { font-style: normal; color: var(--blue-deep); }
.hero-stats .l { font-size: 12.5px; color: var(--muted); }
.marker { background: linear-gradient(90deg, rgba(26,143,208,0) 0, rgba(26,143,208,.32) 30%, rgba(26,143,208,.22) 70%, rgba(26,143,208,0)) 0 100% / 200% 38% no-repeat; animation: markerShift 6s ease-in-out infinite; }
@keyframes markerShift { 0%, 100% { background-position: 0 100%; } 50% { background-position: 100% 100%; } }
/* 読み込み時：上から順に立ち上がる */
.hero-in { opacity: 0; transform: translate3d(0, 34px, 0); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .14s + .1s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.motion-lite .hero-in { opacity: 1; transform: none; animation: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid var(--blue-line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cueDrop 1.8s ease-in-out infinite; }
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hero-steps { display: none; }

/* ---- 固定スクロール演出（共通） ---- */
.pin-section-ready[data-pin] { height: calc(var(--pin-len, 3) * 62vh + 100vh); }
.pin-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.pin-sticky > .wrap { width: 100%; }
.pin-item { opacity: 0; transform: translate3d(160px, 0, 0) scale(.94); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
.pin-item.is-on { opacity: 1; transform: none; }
.pin-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.pin-dots i { width: 28px; height: 4px; border-radius: 2px; background: rgba(14,43,68,.14); transition: background .4s; }
.pin-dots i.on { background: var(--blue); }
/* 固定しない環境（モバイル・動きを抑える設定）：順番に横から入る通常演出 */
.pin-section-static .pin-sticky { position: static; height: auto; overflow: visible; }
.pin-section-static .pin-item { transition-delay: calc(var(--k, 0) * .16s); }
.pin-section-static .pin-dots { display: none; }

/* ---- 3ステップ（固定） ---- */
.steps-pin { position: relative; }
.steps-pin .pin-sticky::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(247,251,253,.9) 20%, rgba(247,251,253,.9) 80%, rgba(255,255,255,0)); z-index: -1; }
.steps-head { text-align: center; margin-bottom: clamp(20px, 3vw, 40px); }
.steps-head h2 { font-size: clamp(26px, 3vw, 44px); line-height: 1.3; margin-top: 8px; }
.steps-head .sp { display: none; }
.steps-hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
.steps-row .step { width: auto; }
.steps-row .step:nth-child(1) { transform: translate3d(-160px, 0, 0) scale(.94); }
.steps-row .step:nth-child(2) { transform: translate3d(0, 120px, 0) scale(.94); }
.steps-row .step:nth-child(3) { transform: translate3d(160px, 0, 0) scale(.94); }
.steps-row .step.is-on { transform: none; }
.step .num { transition: background .4s, color .4s; }
.step.is-on .num { background: var(--blue); color: #fff; }
.step.is-on .num::after { content: ""; position: absolute; inset: -4px; border-radius: 6px; border: 2px solid var(--blue); opacity: 0; animation: ringOut 1.6s ease-out 1; }
@keyframes ringOut { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.step.is-on .step-img { animation: kenburns 14s ease-in-out infinite alternate; }

/* ---- 4つの約束（固定） ---- */
.why-pin { padding: 0; }
.why-pin .why-grid { align-items: center; }
.why-pin .proof-grid { grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.why-pin .proof-grid .pin-dots { grid-column: 1 / -1; margin-top: 6px; justify-content: flex-start; }
.why-pin .proof-card.pin-item { transform: translate3d(-180px, 0, 0) scale(.94); }
.why-pin .proof-card.pin-item.is-on { transform: none; }
.why-pin .proof-card .check { transform: scale(.4); transition: transform .6s cubic-bezier(.3,1.6,.4,1) .35s; }
.why-pin .proof-card.is-on .check { transform: none; }

/* ---- 常時モーション：カテゴリ画像のゆっくりズーム、用語の浮遊、ボタンの光 ---- */
@keyframes kenburns { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1.5%, 0); } }
.catgrid a .catimg { animation: kenburns 16s ease-in-out infinite alternate; }
.catgrid a:nth-child(2n) .catimg { animation-duration: 20s; animation-direction: alternate-reverse; }
.catgrid a:nth-child(3n) .catimg { animation-delay: -6s; }
.catgrid a:hover .catimg { animation-play-state: paused; }
.gterm { animation: termFloat 5s ease-in-out infinite; }
.gterm:nth-child(2n) { animation-delay: -1.3s; } .gterm:nth-child(3n) { animation-delay: -2.6s; animation-duration: 6s; } .gterm:nth-child(4n) { animation-delay: -3.7s; }
@keyframes termFloat { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-4px,0); } }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 30%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(0) skewX(-16deg); animation: sheen 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 60% { transform: translateX(0) skewX(-16deg); } 100% { transform: translateX(520%) skewX(-16deg); } }
.guide { z-index: 1; }
.guide::before { content: ""; position: absolute; right: 6px; bottom: 18px; width: 150px; height: 150px; border: 2px dashed rgba(26,143,208,.45); border-radius: 50%; animation: spinSlow 30s linear infinite; z-index: -1; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.expert-logo-card .logo-mark { animation: markPulse 4s ease-in-out infinite; }
@keyframes markPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(26,143,208,0); } 50% { box-shadow: 0 0 0 6px rgba(26,143,208,.12); } }
.partner-invite { overflow: hidden; }
.partner-invite::before, .partner-invite::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.partner-invite::before { width: 46vw; height: 46vw; right: -16vw; top: -24vw; background: radial-gradient(circle, rgba(26,143,208,.35), transparent 65%); animation: shapeA 22s ease-in-out infinite; }
.partner-invite::after { width: 30vw; height: 30vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, rgba(120,190,240,.25), transparent 65%); animation: shapeB 28s ease-in-out infinite; }
.partner-invite .wrap { position: relative; z-index: 1; }
.whatis .ticker-track { animation-duration: 48s; }
.mrow .rk { animation: rkPulse 3s ease-in-out infinite; }
@keyframes rkPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.dock-head .free { animation: freeBlink 3.2s ease-in-out infinite; }
@keyframes freeBlink { 0%, 100% { box-shadow: 0 0 0 0 rgba(26,143,208,0); } 50% { box-shadow: 0 0 0 8px rgba(26,143,208,.14); } }
.thumb img { animation: kenburns 18s ease-in-out infinite alternate; }
.mcard:nth-child(2n) .thumb img { animation-direction: alternate-reverse; }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero-simple { min-height: 0; padding: 26px 0 48px; }
  .hero-simple .flow-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; inset: -20% -10%; }
  .hero-simple .flow-col:nth-child(n+4) { display: none; }
  .hero-simple .flow-set { gap: 10px; padding-bottom: 10px; }
  .hero-center .hero-title { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-center .hero-lead { font-size: 15.5px; }
  .hero-stats { gap: 10px 18px; margin-top: 28px; }
  .hero-stats .n { font-size: 22px; }
  .scroll-cue { display: none; }
  .steps-head h2 { font-size: 24px; }
  .steps-head .sp { display: inline; }
  .steps-row { grid-template-columns: 1fr; gap: 14px; }
  .steps-row .step:nth-child(n) { transform: translate3d(-90px, 0, 0) scale(.96); }
  .steps-row .step.is-on { transform: none; }
  .steps-pin { padding: 40px 0 48px; }
  .why-pin { padding: 48px 0; }
  .why-pin .proof-grid { grid-template-columns: 1fr; }
  .why-pin .proof-card.pin-item { transform: translate3d(-90px, 0, 0) scale(.96); }
  .why-pin .proof-card.pin-item.is-on { transform: none; }
  .reveal.slide-l { transform: translate3d(-70px, 0, 0); }
  .reveal.slide-r { transform: translate3d(70px, 0, 0); }
  .guide::before { width: 110px; height: 110px; right: 0; bottom: 14px; }
}
/* 横スライドの待機位置が横スクロールを生まないように */
html { overflow-x: clip; }
.section, .partner-invite, .consult-section, .discover-section, .steps-pin { overflow-x: clip; }

/* ==========================================================================
   v28.1 — なめらかさの統一・ホバーの浮き上がりを全体に（2026-09-14）
   ========================================================================== */
:root { --ease: cubic-bezier(.22, .61, .36, 1); --ease-soft: cubic-bezier(.16, .84, .3, 1); }
/* 出現はゆっくり・連続的に（順番の間隔も少し広く） */
.reveal { transition-duration: 1.4s, 1.4s; transition-timing-function: var(--ease-soft), var(--ease-soft); }
.reveal-h .l h2, .reveal-h .l p, .reveal-h .l .count { transition-duration: 1.3s; transition-timing-function: var(--ease-soft); }
.pin-item { transition: opacity 1.25s var(--ease-soft), transform 1.25s var(--ease-soft); }
.no-anim, .pin-reset .pin-item { transition: none !important; }
.hero-in { animation-duration: 1.4s; animation-timing-function: var(--ease-soft); }
.step.is-on .num, .why-pin .proof-card .check { transition-duration: .7s; }
.faq-body { transition-duration: .6s; }
.mega-menu { transition-duration: .45s, .45s; }
body > header.site#siteHeader { transition-duration: .6s, .4s, .4s; }
.news-rotator-item { transition-duration: .8s, .8s; }
.hv-feature img, .tab-panel.show { animation-duration: .7s; }

/* ホバー：全体で同じ「浮き上がり」 */
.mrow, .gterm, .faq-list details, .assurance-item, .mega-link, .expert-logo-card, .chip, .catgrid a, .step, .proof-card, .mbig, .mcard, .quick-search-box, .glossary-panel, .partner-visual, .hero-stats .item, .news-label, .f-social a, .news-rotator-controls button, .dock-aichan img, .guide img {
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .35s ease, background .35s ease, color .35s ease;
}
.mrow:hover { transform: translate3d(0,-4px,0); box-shadow: 0 18px 38px rgba(14,43,68,.1); }
.faq-list details { padding: 0 12px; margin: 0 -12px; border-radius: var(--r); }
.faq-list details:hover { transform: translate3d(0,-3px,0); box-shadow: 0 16px 34px rgba(14,43,68,.08); background: rgba(255,255,255,.9); }
.assurance-item { padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-radius: var(--r); }
.assurance-item:hover { transform: translate3d(0,-3px,0); background: #fff; box-shadow: 0 14px 30px rgba(14,43,68,.08); }
.gterm { cursor: pointer; }
.gterm:hover { animation-play-state: paused; background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(26,143,208,.28); }
.gterm:hover b { color: #fff; }
.quick-search-box:hover, .glossary-panel:hover { transform: translate3d(0,-4px,0); box-shadow: 0 28px 60px rgba(14,43,68,.12); }
.partner-visual:hover { transform: translate3d(0,-4px,0) scale(1.01); }
.hero-stats .item { padding: 8px 14px; border-radius: var(--r); }
.hero-stats .item:hover { transform: translate3d(0,-4px,0); background: #fff; box-shadow: 0 14px 30px rgba(14,43,68,.08); }
.mega-link:hover { transform: translate3d(0,-2px,0); box-shadow: 0 12px 24px rgba(14,43,68,.08); }
.f-social a:hover, .news-rotator-controls button:hover { transform: translate3d(0,-3px,0); box-shadow: 0 10px 20px rgba(14,43,68,.12); }
.catgrid a:hover { transform: translate3d(0,-6px,0); box-shadow: 0 26px 50px rgba(14,43,68,.12); border-color: var(--blue-line); }
.step:hover { transform: translate3d(0,-6px,0); box-shadow: 0 28px 60px rgba(14,43,68,.13); }
.steps-row .step.is-on:hover { transform: translate3d(0,-6px,0); }
.why-pin .proof-card.pin-item.is-on:hover { transform: translate3d(0,-5px,0); box-shadow: 0 26px 54px rgba(14,43,68,.12); }
.expert-logo-card:hover { transform: translate3d(0,-5px,0); box-shadow: 0 20px 40px rgba(14,43,68,.12); }
.chip:hover { transform: translate3d(0,-4px,0); box-shadow: 0 16px 32px rgba(14,43,68,.1); }
.mbig:hover, .mcard:hover { transform: translate3d(0,-6px,0); box-shadow: 0 28px 56px rgba(14,43,68,.13); }
.dock-aichan img:hover, .guide img:hover { transform: translate3d(0,-6px,0) scale(1.02); animation-play-state: paused; }
.btn:hover { transform: translate3d(0,-3px,0); }
.btn-outline:hover { box-shadow: 0 14px 30px rgba(14,43,68,.16); }
@media (hover: none) { .faq-list details:hover, .assurance-item:hover, .hero-stats .item:hover { transform: none; box-shadow: none; } }

/* ==========================================================================
   v29 — クライアントFB反映（2026-09-16）：大枠は変えず、下記のみ調整
   ・FV肩書きの角丸枠を廃止（プレーンな文字）
   ・FV右に「相談している様子」のモーショングラフィックス（チャットが進み専門家紹介まで）
   ・掲載・協業はアニメーションなし
   ・フォームの整理、あいちゃんのサイズ統一、あいちゃん紹介セクション、見出しのブランドマーク
   ========================================================================== */
/* ---- FV：左にコピー、右に相談シーン ---- */
.hero-grid2 { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero-copy2 .eyebrow { display: block; font-size: 16px; font-weight: 900; color: var(--blue-deep); letter-spacing: .04em; margin-bottom: 14px; padding: 0; border: 0; background: none; border-radius: 0; }
.hero-copy2 .hero-title { font-size: clamp(42px, 4.9vw, 78px); line-height: 1.14; margin-top: 0; }
.hero-copy2 .hero-lead { margin: 24px 0 0; max-width: 600px; font-size: 16.5px; }
.hero-copy2 .hero-action { justify-content: flex-start; margin-top: 28px; }
.hero-copy2 .hero-action small { text-align: left; }
.hero-copy2 .hero-stats { justify-content: flex-start; gap: 8px clamp(14px, 2vw, 32px); margin-top: 32px; padding-top: 20px; }
.hero-copy2 .hero-stats .item { text-align: left; padding: 6px 10px; }
.hero-simple .hero-veil { background: linear-gradient(90deg, rgba(255,255,255,.98) 0, rgba(255,255,255,.94) 42%, rgba(255,255,255,.72) 60%, rgba(255,255,255,.4) 80%, rgba(255,255,255,.22) 100%), linear-gradient(180deg, rgba(255,255,255,.85), transparent 25%, transparent 70%, rgba(255,255,255,.98) 100%); }

/* 相談シーン（チャットカード） */
.hero-scene { position: relative; max-width: 520px; margin: 0 0 0 auto; padding: 16px 0 26px; }
.chat-card { position: relative; background: #fff; border-radius: 10px; box-shadow: 0 34px 80px rgba(14,43,68,.16), 0 2px 6px rgba(14,43,68,.05); overflow: hidden; animation: hvFloat 9s ease-in-out infinite; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #f7fbfe, #fff); }
.chat-avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #e6f4fc url('/assets/ai-chan.webp') 55% 8% / 210% auto no-repeat; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--blue-line); }
.chat-avatar.sm { width: 30px; height: 30px; align-self: flex-end; }
.chat-title { flex: 1; min-width: 0; line-height: 1.25; }
.chat-title b { display: block; font-size: 15px; }
.chat-title small { display: block; font-size: 12px; color: var(--muted); }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #2fb36a; box-shadow: 0 0 0 0 rgba(47,179,106,.5); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(47,179,106,.5); } 100% { box-shadow: 0 0 0 9px rgba(47,179,106,0); } }
.chat-body { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 18px 18px 14px; background: linear-gradient(180deg, #fbfdff, #f5faff); }
.msg { display: flex; gap: 8px; max-width: 86%; opacity: 0; transform: translate3d(0, 14px, 0) scale(.97); transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft); }
.msg.show { opacity: 1; transform: none; }
.msg > span:last-child { display: inline-block; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; font-weight: 500; }
.msg.me { align-self: flex-end; }
.msg.me > span { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; }
.msg.ai > span:last-child { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.pick { align-self: flex-start; max-width: 100%; gap: 10px; padding-left: 38px; }
.pick-card { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(14,43,68,.08); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pick-card:hover { transform: translate3d(0,-3px,0); box-shadow: 0 16px 32px rgba(14,43,68,.12); }
.pick-card .logo-mark { grid-row: 1 / 3; width: 34px; height: 34px; font-size: 13px; animation: none; }
.pick-card b { font-size: 13px; line-height: 1.3; }
.pick-card small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.typing { position: absolute; left: 56px; bottom: 14px; display: inline-flex; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: typingDot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-foot { display: flex; gap: 8px; padding: 12px 18px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot span { padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); border-radius: var(--r); }
.scene-tag { position: absolute; padding: 8px 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 900; border-radius: 6px; box-shadow: 0 14px 30px rgba(14,43,68,.2); animation: hvFloat 7s ease-in-out infinite; }
.scene-tag.st-1 { left: -16px; top: 42%; animation-delay: -2s; }
.scene-tag.st-2 { right: -12px; bottom: 44px; animation-delay: -4.5s; background: var(--blue); }
.scroll-cue { display: none; }

/* ---- 掲載・協業：アニメーションなし ---- */
.partner-invite::before, .partner-invite::after { animation: none; }
.partner-visual { animation: none !important; transition: none; }
.partner-visual:hover { transform: none; }
.partner-invite .btn-primary::after { animation: none; }

/* ---- あいちゃん：サイズを統一（案内 140px／紹介 260px／フォーム 170px／アバター 44px） ---- */
.guide img { width: 140px; }
.guide::before { width: 136px; height: 136px; }
.dock-aichan { width: min(170px, 70%); padding-top: 40px; }
.dock-aichan img { filter: none; }
.dock-aichan .bubble { font-size: 12.5px; padding: 8px 12px; top: 0; }

/* ---- あいちゃん紹介セクション ---- */
.aichan-intro { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }
.aichan-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.5vw, 52px); background: linear-gradient(135deg, #f2f9fe, #ffffff 60%); border: 1px solid var(--line); border-radius: 12px; }
.aichan-visual { position: relative; display: grid; place-items: center; }
.aichan-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(26,143,208,.16), rgba(26,143,208,.04) 60%, transparent 72%); }
.aichan-visual::after { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(26,143,208,.35); animation: spinSlow 40s linear infinite; }
.aichan-visual img { position: relative; width: min(260px, 80%); height: auto; animation: aichanFloat 7s ease-in-out infinite; z-index: 1; }
.aichan-tag { position: absolute; bottom: 4%; padding: 6px 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 900; border-radius: 6px; z-index: 2; }
.aichan-text .eyebrow { margin-bottom: 8px; }
.aichan-text h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; }
.aichan-text > p { margin-top: 14px; color: var(--text); }
.aichan-roles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aichan-roles li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.aichan-roles li:hover { transform: translate3d(0,-4px,0); box-shadow: 0 16px 34px rgba(14,43,68,.09); }
.aichan-roles b { display: block; font-size: 15px; }
.aichan-roles small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.aichan-text .btn { margin-top: 22px; }

/* ---- 見出しのブランドマーク（あいちゃんの顔） ---- */
.h2-brand::before { content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 40px; margin: -6px 12px 0 0; border-radius: 50%; background: #e6f4fc url('/assets/ai-chan.webp') 55% 8% / 210% auto no-repeat; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue-line); }

/* ---- フォーム：整理（枠線入力・明確な段組み） ---- */
.consult-dock { border-radius: 12px; box-shadow: 0 30px 70px rgba(14,43,68,.09); grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.dock-head { padding: 40px 36px 0; background: linear-gradient(160deg, #eef7fd, #f9fcfe 70%); }
.dock-head .free { animation: none; }
.dock-head h2 { font-size: clamp(26px, 2.4vw, 34px); }
.dock-form { padding: 34px 38px 36px; column-gap: 16px; }
.dock-form label { margin: 12px 0 6px; font-size: 13.5px; font-weight: 700; }
.dock-form input, .dock-form select, .dock-form textarea { padding: 12px 14px; font-size: 15px; background: #fff; border: 1.5px solid rgba(14,43,68,.18); border-radius: 8px; transition: border-color .25s, box-shadow .25s, background .25s; }
.dock-form input:hover, .dock-form select:hover, .dock-form textarea:hover { border-color: rgba(14,43,68,.32); }
.dock-form input:focus, .dock-form select:focus, .dock-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,143,208,.14); background: #fff; }
.dock-form input::placeholder, .dock-form textarea::placeholder { color: #9fb3c1; }
.dock-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e2b44' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.dock-form textarea { min-height: 104px; }
.req { padding: 2px 8px; border-radius: 999px; }
.dock-check { margin-top: 16px !important; padding: 12px 14px; background: #f6fafd; border-radius: 8px; font-size: 14px !important; }
.dock-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.dock-submit { margin-top: 16px; padding: 16px; font-size: 16px; border-radius: 8px; }
.dock-safe { margin-top: 10px; }
.dock-success { border-radius: 8px; }

@media (max-width: 900px) {
  .hero-grid2 { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy2 { text-align: left; }
  .hero-copy2 .hero-stats { gap: 6px 10px; }
  .hero-scene { max-width: 100%; margin: 0; padding: 6px 0 20px; }
  .chat-body { min-height: 250px; padding: 14px; }
  .msg > span:last-child { font-size: 13px; }
  .msg.pick { padding-left: 0; flex-wrap: wrap; }
  .scene-tag.st-1 { left: 0; top: auto; bottom: 0; }
  .scene-tag.st-2 { right: 0; bottom: 0; }
  .aichan-panel { grid-template-columns: 1fr; padding: 24px 18px; }
  .aichan-visual img { width: min(200px, 60%); }
  .aichan-roles { grid-template-columns: 1fr; gap: 8px; }
  .h2-brand::before { width: 32px; height: 32px; margin-right: 8px; }
  .dock-form { padding: 22px 18px 26px; }
  .dock-aichan { width: min(150px, 60%); padding-top: 36px; }
}

/* v29 フォーム：項目ごとにまとめる／あいちゃん紹介の円を画像基準に */
.dock-form .field { display: block; min-width: 0; }
.dock-form .field.wide, .dock-check, .dock-submit, .dock-safe, .dock-success { grid-column: 1 / -1; }
.dock-form .field label { margin-top: 12px; }
.dock-form .field:nth-child(-n+2) label { margin-top: 0; }
.dock-form textarea { min-height: 96px; }
.dock-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.dock-points li { position: relative; padding-left: 26px; }
.dock-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin-top: 4px; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--blue); border-radius: 4px; line-height: 1; }
.aichan-visual { width: min(340px, 100%); aspect-ratio: 1; margin: 0 auto; }
.aichan-visual::before { width: 86%; }
.aichan-visual::after { width: 100%; }
.aichan-visual img { width: 74%; }
.aichan-tag { bottom: -2px; }
.scene-tag.st-1 { left: -34px; top: 36%; }
@media (max-width: 900px) { .dock-form .field:nth-child(2) label { margin-top: 12px; } .aichan-visual { width: min(260px, 80%); } .scene-tag.st-1 { left: 0; top: auto; } }
@media (max-width: 900px) { .scene-tag { display: none; } .hero-scene { padding-bottom: 6px; } }

/* ==========================================================================
   v30 — 本番前 最終FB反映（2026-09-17）
   ========================================================================== */
/* ---- 全体を10%引きで（ヘッダーと固定要素は除く。PCのみ） ---- */
@media (min-width: 901px) {
  body > :not(header):not(.bg-canvas):not(.bg-stars):not(.bg-grid):not(.bg-lines):not(#totop):not(#mcta):not(script) { zoom: .9; }
  .pin-sticky { top: calc(var(--header-h) / .9); height: calc((100vh - var(--header-h)) / .9); }
}

/* ---- 改行の整え：見出しは均等に、本文は不自然な1語残りを避ける ---- */
h1, h2, h3, .hero-lead, .sec-head p, .steps-head p, .why-intro > p, .aichan-text > p, .faq-intro p, .dock-head p, .partner-invite p { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
.hero-lead, .sec-head p, .proof-card p, .step p, .assurance-item small, .mbig p, .aichan-text > p, .faq-list details p, .partner-invite p, .glossary-intro p { text-wrap: pretty; }
.hero-title .line { white-space: nowrap; }
@media (max-width: 900px) { .hero-title .line { white-space: normal; } }

/* ---- FV：肩書きとメインコピーをデザイン処理（グラデーション文字＋筆の下線） ---- */
.hero-copy2 .eyebrow { font-size: 15px; letter-spacing: .02em; }
.hero-copy2 .hero-title { letter-spacing: -.045em; padding-bottom: .12em; }
.hero-copy2 .hero-title .line { background: linear-gradient(135deg, #0b2440 0%, #123a5e 55%, #1a8fd0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-copy2 .hero-title .line { display: table; position: relative; }
.marker.brush { position: static; background: none; animation: none; padding: 0 .02em; }
.brush-svg { position: absolute; left: -1%; bottom: -.02em; width: 102%; height: .2em; color: rgba(26,143,208,.5); z-index: -1; overflow: visible; }
.brush-svg path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: brushDraw 1.1s var(--ease-soft) .9s forwards; }
@keyframes brushDraw { to { stroke-dashoffset: 0; } }
.motion-lite .brush-svg path { stroke-dashoffset: 0; animation: none; }

/* ---- FV：チャット3パターンの自動切替 ---- */
.chat-body { min-height: 312px; }
.chat-set { position: absolute; inset: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft); transform: translate3d(0, 10px, 0); }
.chat-set.is-active { opacity: 1; pointer-events: auto; transform: none; }
.chat-set.is-leaving { opacity: 0; transform: translate3d(0, -10px, 0); }
.chat-dots { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 5px; }
.chat-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(14,43,68,.18); transition: background .3s, transform .3s; }
.chat-dots i.on { background: var(--blue); transform: scale(1.3); }

/* ---- 検索窓：動かさない ---- */
.quick-search-box:hover { transform: none; box-shadow: 0 22px 50px rgba(14,43,68,.08); }
.chips .chip { animation: none; }

/* ---- カテゴリの案内あいちゃん：位置の整理 ---- */
.guide { display: flex; align-items: flex-end; gap: 12px; }
.guide::before { content: none; }
.guide-fig { position: relative; display: flex; flex-direction: column; align-items: center; }
.guide-fig img { width: 150px; height: auto; }
.guide-name { position: static; margin-top: 2px; }
.guide-bubble { margin-bottom: 70px; }

/* ---- 画像とあいちゃんのなじませ：全画像に同じ青の色調＋あいちゃんの丸マーク ---- */
.img-frame { position: relative; display: block; overflow: hidden; }
.img-frame::before, .thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(26,143,208,.12), rgba(14,43,68,.18)); mix-blend-mode: multiply; pointer-events: none; }
.img-frame::after, .thumb::after { content: ""; position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: #e6f4fc url('/assets/ai-chan.webp') 55% 8% / 210% auto no-repeat; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(14,43,68,.22); pointer-events: none; }
.img-frame.sm::after { width: 26px; height: 26px; right: 5px; bottom: 5px; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(14,43,68,.2); }
.img-frame.sm::before { display: none; }
.img-frame.lg::after { width: 64px; height: 64px; right: 16px; bottom: 16px; }
.step .img-frame::after { bottom: auto; top: 10px; }
.thumb .cat { z-index: 3; }
.catgrid .img-frame { z-index: 0; }
.catgrid a .catimg { position: relative; z-index: 0; }
.step .img-frame { position: relative; }
.glossary-intro .img-frame { margin: 30px 0 22px; border-radius: 10px; }
.glossary-visual { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; object-fit: cover; }
.partner-invite .img-frame { height: 100%; }
.partner-visual { display: block; }
.mrow-thumb { position: relative; }

/* ---- 問い合わせフォーム：中央の縦長フォームに ---- */
.consult-section .wrap { display: flex; justify-content: center; }
.consult-dock { display: block; width: 100%; max-width: 680px; border-radius: 14px; }
.dock-head { display: flex; align-items: center; gap: 16px; padding: 26px 32px 0; background: linear-gradient(160deg, #eef7fd, #f9fcfe 70%); }
.dock-head-text { flex: 1; min-width: 0; }
.dock-head h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 10px; }
.dock-head p { margin-top: 8px; font-size: 14px; }
.dock-points { display: none; }
.dock-aichan { position: relative; flex: 0 0 auto; width: 130px; margin: 0; padding-top: 34px; align-self: flex-end; }
.dock-aichan .bubble { font-size: 11.5px; padding: 7px 10px; top: -2px; white-space: nowrap; }
.dock-form { display: block; padding: 22px 32px 28px; }
.dock-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.dock-form .field label { margin: 10px 0 5px; font-size: 13px; }
.dock-form .row2:first-child .field label { margin-top: 0; }
.dock-form input, .dock-form select, .dock-form textarea { padding: 10px 12px; font-size: 14.5px; }
.dock-form textarea { min-height: 78px; }
.dock-check { margin-top: 12px !important; padding: 10px 12px; font-size: 13.5px !important; }
.dock-submit { margin-top: 12px; padding: 14px; font-size: 15.5px; }
.dock-safe { margin-top: 8px; font-size: 12.5px; }

@media (max-width: 900px) {
  .dock-head { padding: 20px 18px 0; gap: 8px; }
  .dock-head h2 { font-size: 20px; }
  .dock-head p { display: none; }
  .dock-aichan { width: 88px; padding-top: 30px; }
  .dock-aichan .bubble { font-size: 10px; padding: 5px 8px; }
  .dock-form { padding: 14px 16px 18px; }
  .dock-form .row2 { grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .dock-form .field label { margin: 8px 0 4px; font-size: 12px; }
  .dock-form input, .dock-form select, .dock-form textarea { padding: 8px 10px; font-size: 14px; }
  .dock-form textarea { min-height: 56px; }
  .dock-check { margin-top: 8px !important; padding: 8px 10px; font-size: 12.5px !important; }
  .dock-submit { margin-top: 10px; padding: 12px; font-size: 15px; }
  .dock-safe { margin-top: 6px; font-size: 11.5px; }
  .guide-fig img { width: 110px; }
  .guide-bubble { margin-bottom: 48px; }
  .img-frame::after, .thumb::after { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .img-frame.lg::after { width: 44px; height: 44px; }
  .chat-body { min-height: 280px; }
  .chat-set { inset: 14px 14px 12px; }
}
@media (max-width: 900px) {
  .dock-form .opt { display: none; }
  .dock-aichan .bubble { white-space: normal; width: 150px; text-align: center; left: auto; right: 0; transform: none; }
  .dock-aichan .bubble::after { left: auto; right: 30px; transform: rotate(45deg); }
}

/* ==========================================================================
   v30.1 — 細部修正（2026-09-17）
   ========================================================================== */
/* チャット：中身が収まる高さに固定し、新しい発言が下に積み上がる形に */
.chat-body { min-height: 0; height: 392px; padding: 14px 16px 12px; overflow: hidden; }
.chat-set { inset: 14px 16px 12px; justify-content: flex-end; gap: 8px; }
.msg { max-width: 90%; }
.msg > span:last-child { padding: 8px 12px; font-size: 13.5px; line-height: 1.55; border-radius: 12px; }
.msg.pick { padding-left: 34px; gap: 8px; }
.pick-card { padding: 8px 10px; grid-template-columns: 30px 1fr; column-gap: 8px; }
.pick-card .logo-mark { width: 30px; height: 30px; font-size: 12px; }
.pick-card b { font-size: 12.5px; }
.chat-avatar.sm { width: 26px; height: 26px; }
.typing { left: 48px; bottom: 12px; }
.chat-dots { bottom: 10px; }
/* メインコピー：下線をやめ、2行目にやわらかいハイライト */
.brush-svg { display: none; }
.hero-copy2 .hero-title .line:nth-child(2)::before { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .34em; background: linear-gradient(90deg, rgba(26,143,208,.26), rgba(26,143,208,.16)); border-radius: 3px; z-index: -1; }
.marker { background: none; animation: none; padding: 0; }
/* 画像：あいちゃんの丸マークをやめ、画像そのものをやわらかい色調に（assets/soft/）。色調フィルターも弱く */
.img-frame::after, .thumb::after { content: none; }
.img-frame::before, .thumb::before { background: linear-gradient(160deg, rgba(26,143,208,.06), rgba(14,43,68,.06)); }
.img-frame { border-radius: inherit; }
/* フォームの吹き出し：見切れないように折り返し */
.dock-head { padding-right: 24px; overflow: visible; }
.dock-aichan { width: 140px; padding-top: 44px; overflow: visible; }
.dock-aichan .bubble { white-space: normal; width: 168px; left: auto; right: 0; top: 0; transform: none; text-align: center; font-size: 11.5px; line-height: 1.45; padding: 7px 10px; }
.dock-aichan .bubble::after { left: auto; right: 44px; transform: rotate(45deg); }
@keyframes bubblePop { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-6px,0); } }

.dock-head-text { padding-right: 8px; }
/* 見切れ・細部 */
.hero-scene { max-width: 500px; }
.chat-head { padding: 12px 16px; }
.expert-logo-card small { white-space: normal; }
.news-rotator-item strong { min-width: 0; }
.sec-head .l { min-width: 0; }
@media (max-width: 900px) {
  .chat-body { height: 360px; }
  .dock-aichan { width: 100px; padding-top: 40px; }
  .dock-aichan .bubble { width: 150px; font-size: 10.5px; }
  .dock-aichan .bubble::after { right: 36px; }
}
@media (max-width: 900px) { .chat-body { height: 404px; } }

/* ==========================================================================
   v30.2 — 細部修正（2026-09-18）
   ========================================================================== */
/* あいちゃんの丸アイコン：顔だけを切り出した専用画像に（つぶれない） */
.chat-avatar, .h2-brand::before { background: #e6f4fc url('/assets/ai-chan-face.webp') center / cover no-repeat; }
.chat-avatar { width: 46px; height: 46px; }
.chat-avatar.sm { width: 28px; height: 28px; }
.h2-brand::before { width: 44px; height: 44px; margin: -8px 12px 0 0; }
/* メインコピー：2行ともハイライト */
.hero-copy2 .hero-title .line::before { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .34em; background: linear-gradient(90deg, rgba(26,143,208,.26), rgba(26,143,208,.16)); border-radius: 3px; z-index: -1; }
.hero-copy2 .hero-title .line:nth-child(2)::before { background: linear-gradient(90deg, rgba(26,143,208,.26), rgba(26,143,208,.16)); }
/* 問い合わせ：見出しの右にあいちゃんを収める */
.dock-head { align-items: center; padding: 26px 28px 18px 32px; border-bottom: 1px solid var(--line); }
.dock-head-text { padding-right: 0; }
.dock-aichan { align-self: center; width: 132px; margin: 0; padding-top: 38px; }
.dock-aichan img { margin-bottom: 0; }
.dock-aichan .bubble { width: 158px; right: -6px; top: 0; font-size: 11px; padding: 6px 9px; }
.dock-aichan .bubble::after { right: 40px; }
@media (max-width: 900px) {
  .dock-head { padding: 18px 16px 12px 18px; }
  .dock-aichan { width: 96px; padding-top: 34px; }
  .dock-aichan .bubble { width: 140px; font-size: 10px; right: -4px; }
  .h2-brand::before { width: 34px; height: 34px; }
}
.dock-head { flex-direction: row; justify-content: space-between; }
.dock-head-text { max-width: 420px; }
.dock-aichan { width: 150px; padding-top: 40px; }

/* ==========================================================================
   v30.3 — 本番公開版（2026-09-18）
   ========================================================================== */
/* メインコピー：ハイライトを薄く、行全体にかける */
.hero-copy2 .hero-title .line::before, .hero-copy2 .hero-title .line:nth-child(2)::before { left: -.08em; right: -.08em; top: .04em; bottom: .02em; height: auto; border-radius: 6px; background: linear-gradient(90deg, rgba(26,143,208,.13), rgba(26,143,208,.07)); }
/* 顔アイコン：中央に顔が収まる専用画像（assets/ai-chan-face.webp を差し替え済み） */
.chat-avatar, .h2-brand::before { background-position: center; background-size: cover; }
/* 画像は assets/ 直下のやわらかい色調版に統一（soft フォルダは廃止） */

/* v30.4：ハイライトは元の「下半分」に戻し、さらに薄く */
.hero-copy2 .hero-title .line::before, .hero-copy2 .hero-title .line:nth-child(2)::before { top: auto; bottom: .06em; height: .34em; left: -.04em; right: -.04em; border-radius: 3px; background: linear-gradient(90deg, rgba(26,143,208,.16), rgba(26,143,208,.09)); }

/* ---------- 専門家検索の結果（main.js runDirectorySearch） ---------- */
.search-result .sr-head { margin-bottom: 10px; color: var(--ink); }
.search-result .sr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.search-result .sr-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--blue-soft); border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 500; }
.search-result .sr-list a:hover { background: var(--blue); color: #fff; }
.search-result .sr-list b { font-size: 14.5px; }
.search-result .sr-list span { font-size: 12.5px; color: inherit; opacity: .8; }
.search-result .sr-more { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.search-result .sr-more a { color: var(--blue-deep); }

/* ===== 2026-09-24 調整（柴田さん指示） ===== */
/* ファーストビュー見出し：文字のグラデーションを内側の .line-text に移し、下線（.line::before）を文字の背面に */
.hero-copy2 .hero-title .line { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); isolation: isolate; }
.hero-copy2 .hero-title .line-text { background: linear-gradient(135deg, #0b2440 0%, #123a5e 55%, #1a8fd0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ファーストビュー右のチャット：少し左へ寄せ、少し大きく */
@media (min-width: 901px) {
  .hero-scene { max-width: 560px; margin: 0 clamp(24px, 4vw, 64px) 0 auto; }
}

/* カテゴリ見出し横の吹き出し：しっぽを枠線に重ねてつなげる */
.guide-bubble::after { right: -9px; }

/* 専門家カード：/ai-expert/ と同じ画像を表示 */
.logo-mark.logo-img { width: 72px; height: 48px; padding: 0; overflow: hidden; background: #f6fafd; border: 1px solid var(--line); animation: none; }
.logo-mark.logo-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.expert-logo-card { width: 340px; }
.expert-name b { overflow-wrap: anywhere; }
@media (max-width: 900px) { .expert-logo-card { width: 290px; } .logo-mark.logo-img { width: 60px; height: 40px; } }

/* 出現アニメーション：表示済み（.in）は必ず元の位置へ。
   スマホ用の .reveal.slide-l/-r や .faq-list .slide-l.reveal が .reveal.in より後ろ・高い詳細度で
   ずらし続けていたため、スマホ（スクロール連動アニメ非対応ブラウザ）で左右が見切れていた */
.reveal.in, .reveal.slide-l.in, .reveal.slide-r.in, .reveal.rise.in, .reveal.pop.in,
.faq-list .slide-l.reveal.in, .proof-grid .slide-l.reveal.in { opacity: 1; transform: none; }
