/* ============================================================
   KINTAUROS トップページ専用スタイル
   メイン: kintoneイエロー #d2d254 / サブ: ネイビー
   (style.css の後に読み込み、トップページのみ上書きする)
   ============================================================ */
:root {
  --gold: #d2d254;
  --gold-bright: #e9e97a;
  --gold-deep: #a9a93a;
  --ink: #0b1424;
  --ink-2: #101d36;
  --glow: rgba(210, 210, 84, .55);
}

body.top {
  background: var(--ink);
  color: var(--text);
}
body.top h1, body.top h2, body.top h3 {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
body.top h2 { font-weight: 900; }

::selection { background: var(--gold); color: var(--ink); }

.en { font-family: "Cinzel", serif; letter-spacing: .18em; }

/* ---- カスタムカーソル ---- */
#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
}
#cursor-dot {
  width: 7px; height: 7px; background: var(--gold);
  box-shadow: 0 0 10px 2px var(--glow);
}
#cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(210, 210, 84, .65);
  transition: width .25s ease, height .25s ease, background-color .25s ease, opacity .25s ease;
}
#cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(210, 210, 84, .12);
  border-color: var(--gold);
}
@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none; } }

/* ---- ヘッダー(透過→スクロールで白) ---- */
body.top header {
  position: fixed; width: 100%;
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
body.top header .logo { position: relative; display: block; }
body.top header .logo .logo-light { position: absolute; top: 0; left: 0; }
body.top header .logo .logo-dark, body.top header .logo .logo-light { transition: opacity .35s ease; }
body.top header .logo .logo-dark { opacity: 0; }
body.top header .logo small { color: rgba(255,255,255,.75); transition: color .35s ease; }
body.top header nav a { color: rgba(255,255,255,.85); transition: color .2s ease; }
body.top header nav a:hover { color: var(--gold-bright); }
body.top header nav .nav-cta { background: var(--gold); color: var(--ink); }
body.top header nav .nav-cta:hover { background: var(--gold-bright); color: var(--ink); }
body.top header.scrolled {
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
body.top header.scrolled .logo .logo-dark { opacity: 1; }
body.top header.scrolled .logo .logo-light { opacity: 0; }
body.top header.scrolled .logo small { color: var(--text-soft); }
body.top header.scrolled nav a { color: var(--text-soft); }
body.top header.scrolled nav a:hover { color: var(--navy); }
body.top header.scrolled nav .nav-cta { color: var(--ink); }

/* ---- ヒーロー ---- */
body.top .hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 96px; overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 110%, rgba(210,210,84,.16), transparent 60%),
    linear-gradient(180deg, rgba(11,20,36,.82) 0%, rgba(11,20,36,.35) 40%, rgba(11,20,36,.72) 100%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-spot {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 40%), rgba(210,210,84,.20), transparent 62%);
}
.hero-content { position: relative; z-index: 2; }
body.top .hero .badge {
  border-color: rgba(210,210,84,.55); color: var(--gold-bright);
  background: rgba(210,210,84,.08);
  animation: heroRise .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero-eyebrow {
  font-family: "Cinzel", serif; font-size: .78rem; letter-spacing: .42em;
  color: rgba(210,210,84,.85); margin-bottom: 18px;
  animation: heroRise .9s cubic-bezier(.2,.7,.2,1) both;
}
body.top .hero h1 {
  font-weight: 900;
  text-shadow: 0 4px 32px rgba(11,20,36,.6);
  animation: heroRise .9s .12s cubic-bezier(.2,.7,.2,1) both;
}
body.top .hero h1 .em {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(210,210,84,.45);
}
body.top .hero p.lead { animation: heroRise .9s .24s cubic-bezier(.2,.7,.2,1) both; }
body.top .hero .cta-row { animation: heroRise .9s .36s cubic-bezier(.2,.7,.2,1) both; }
body.top .hero .cta-sub { animation: heroRise .9s .48s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: "Cinzel", serif; font-size: .66rem; letter-spacing: .4em;
  color: rgba(255,255,255,.6); padding-bottom: 46px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ---- ボタン(イエロー×ネイビー) ---- */
body.top .btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(210,210,84,.35);
  will-change: transform;
}
body.top .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(210,210,84,.5);
}
body.top .btn-ghost { border-color: rgba(255,255,255,.55); }
body.top .btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(210,210,84,.08); }
body.top .btn-outline { border-color: var(--navy); color: var(--navy); }
body.top .btn-outline:hover { background: var(--navy); color: #fff; }

/* ============================================================
   ここから下: ヒーロー〜フッター間(2026-09 リニューアル / No.111)
   テーマ: スタイリッシュ × ビジネスライク × フレンドリー
   明るい余白・大きな見出し・角丸カード + 独自アイコン(版ずれ2色)
   ============================================================ */
:root {
  --cream: #fbfbe6;
  --paper: #f5f7fb;
  --sky: #edf2fb;
  --coral: #d9694f;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow-card: 0 18px 50px rgba(16, 29, 54, .08);
  --shadow-pop: 0 26px 70px rgba(16, 29, 54, .16);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---- オリジナルアイコン ---- */
.k-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.5em; height: 1.5em; flex: none; color: var(--navy); overflow: visible; }
.kf { fill: var(--gold); stroke: none; }
.ks { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kd { fill: currentColor; stroke: none; }

/* ---- 共通セクション ---- */
body.top section { background: #fff; padding: 112px 0; }
body.top section.soft { background: var(--paper); }
@media (max-width: 720px) { body.top section { padding: 76px 0; } }
body.top h2 {
  font-size: clamp(1.55rem, 4.2vw, 2.5rem); line-height: 1.45; letter-spacing: .01em;
  margin: 12px 0 18px; text-wrap: balance;
}
body.top .sec-lead { font-size: 1rem; max-width: 680px; margin-bottom: 56px; text-wrap: balance; word-break: auto-phrase; }
body.top .sec-label {
  font-family: "Cinzel", serif; color: var(--accent-text); letter-spacing: .32em; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
body.top .sec-label::before, body.top .sec-label::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); font-size: 0;
}
/* 日本語の見出しは文節で折り返す(対応ブラウザのみ) */
body.top h2, body.top .reason .t, body.top .problem .q, body.top .step .t, .pickup-name, .bridge-pill { word-break: auto-phrase; text-wrap: balance; }
/* 見出しのマーカー強調 */
.mk {
  background: linear-gradient(transparent 62%, rgba(210, 210, 84, .6) 62%, rgba(210, 210, 84, .6) 94%, transparent 94%);
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size .9s var(--ease-out) .35s;
}
.rv.in .mk, .in .mk { background-size: 100% 100%; }

/* ---- 数字で見る(ヒーロー直下にまたがるカード) ---- */
body.top section.facts {
  padding: 0; background: linear-gradient(180deg, var(--ink) 0 50%, var(--cream) 50% 100%);
}
.facts-card {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: 30px 12px; position: relative; z-index: 3;
}
.facts-card li { text-align: center; padding: 6px 18px; border-left: 1px solid var(--border); }
.facts-card li:first-child { border-left: 0; }
.fact-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--navy); line-height: 1.1; }
.fact-num b {
  font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--navy) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact-num .fact-inf { font-size: clamp(2.6rem, 6vw, 3.9rem); line-height: .85; }
.fact-num small { font-size: .95rem; font-weight: 700; }
.fact-t { display: block; margin-top: 8px; font-size: .82rem; color: var(--text-soft); line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 760px) {
  .facts-card { grid-template-columns: repeat(2, 1fr); padding: 14px 6px; }
  .facts-card li { padding: 16px 10px; }
  .facts-card li:nth-child(3) { border-left: 0; }
  .facts-card li:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---- ストーリー(神話コンセプト) ---- */
body.top section.story {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden;
}
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 48px; } }
.story-visual { position: relative; width: min(420px, 86%); aspect-ratio: 1; margin: 0 auto; }
.story-blob {
  position: absolute; inset: 6%;
  background: radial-gradient(circle at 32% 28%, var(--gold-bright), var(--gold) 70%);
  border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%;
  box-shadow: 0 30px 70px rgba(169, 169, 58, .35);
  animation: blob 14s ease-in-out infinite;
}
/* 版ずれモチーフ: イエローの上に白い円を少しずらして重ね、シルエットを白地で見せる */
.story-blob::after {
  content: ""; position: absolute; inset: 7% 11% 11% 7%; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 3px var(--navy);
}
@keyframes blob {
  0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; transform: rotate(0deg); }
  50% { border-radius: 44% 56% 58% 42% / 46% 58% 42% 54%; transform: rotate(8deg); }
}
.story-ring {
  position: absolute; inset: -2%; border-radius: 50%;
  border: 2px dashed rgba(26, 43, 74, .22); animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.story-mascot {
  position: absolute; inset: -6% 0 0 -2%; margin: auto; width: 62%; height: auto;
  animation: floaty 5.5s ease-in-out infinite; will-change: transform;
  filter: drop-shadow(0 14px 18px rgba(11, 20, 36, .22));
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.story-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy); font-weight: 700; font-size: .82rem;
  border-radius: 999px; padding: 8px 16px 8px 10px; box-shadow: var(--shadow-card);
  animation: floaty 6s ease-in-out infinite; white-space: nowrap;
}
.story-chip .ico { width: 26px; height: 26px; }
.chip-a { left: -8%; top: 12%; animation-delay: -1s; }
.chip-b { right: -10%; top: 38%; animation-delay: -3s; }
.chip-c { left: 0; bottom: 6%; animation-delay: -2s; }
@media (max-width: 480px) { .chip-a { left: -4%; } .chip-b { right: -6%; } }
body.top .story .sec-label { justify-content: flex-start; }
body.top .story .sec-label::after { display: none; }
.story h2 { text-align: left; font-size: clamp(1.7rem, 4.4vw, 2.7rem); margin-bottom: 26px; }
.story p { color: var(--text); font-size: 1rem; margin-bottom: 16px; }
.story p strong { color: var(--navy); font-weight: 700; background: linear-gradient(transparent 68%, rgba(210, 210, 84, .45) 68%); }

/* ---- セクションの挿絵(こどもキンタウロス) ---- */
.sec-illust { display: block; width: clamp(180px, 24vw, 270px); height: auto; margin: 0 auto 22px; }
.contact-sec .sec-illust { width: clamp(130px, 16vw, 180px); }
/* 見出しを左・挿絵を右に振る(is-reverse で左右反転)。狭い画面では中央寄せの縦積み */
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; max-width: 900px; margin: 0 auto 56px; }
.sec-head-split.is-reverse { grid-template-columns: auto minmax(0, 1fr); }
.sec-head-split.is-reverse > div { order: 2; }
.sec-head-split .sec-illust { margin: 0; width: clamp(200px, 24vw, 280px); }
body.top .sec-head-split .sec-label { justify-content: flex-start; }
body.top .sec-head-split .sec-label::after { display: none; }
body.top .sec-head-split h2 { text-align: left; }
body.top .sec-head-split .sec-lead { text-align: left; margin: 0; }
@media (max-width: 760px) {
  .sec-head-split, .sec-head-split.is-reverse { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 40px; }
  .sec-head-split > div, .sec-head-split.is-reverse > div { order: 2; }
  .sec-head-split .sec-illust { margin: 0 auto; width: 190px; }
  body.top .sec-head-split .sec-label { justify-content: center; }
  body.top .sec-head-split .sec-label::after { display: block; }
  body.top .sec-head-split h2, body.top .sec-head-split .sec-lead { text-align: center; }
  body.top .sec-head-split .sec-lead { margin: 0 auto; }
}

/* ---- PROBLEM ---- */
.problem-mascot { display: block; width: clamp(110px, 14vw, 150px); height: auto; margin: 0 auto 18px; }
.faq-mascot { display: block; width: 150px; height: auto; margin-top: 36px; }
@media (max-width: 860px) { .faq-mascot { display: none; } }
body.top .problems { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { body.top .problems { grid-template-columns: 1fr; } }
body.top .problem {
  background: var(--paper); border: 0; border-radius: var(--r-lg); padding: 34px 30px 32px;
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease; will-change: transform;
}
body.top .problem:hover { background: #fff; box-shadow: var(--shadow-pop); }
.problem-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.problem-head .ico { width: 58px; height: 58px; }
.problem-no {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--coral);
  border: 1.5px solid currentColor; border-radius: 999px; padding: 2px 14px;
}
body.top .problem .q { font-size: 1.12rem; line-height: 1.55; margin-bottom: 10px; }
body.top .problem .q::before { content: none; }
body.top .problem p { font-size: .92rem; }
.bridge { display: flex; align-items: center; gap: 18px; margin-top: 72px; }
.bridge-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.bridge-pill {
  position: relative; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem;
  border-radius: 999px; padding: 12px 30px; box-shadow: 0 12px 30px rgba(26, 43, 74, .25); text-align: center;
}
.bridge-pill::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px;
  background: var(--navy); transform: translateX(-50%) rotate(45deg); border-radius: 3px;
}
@media (max-width: 560px) { .bridge-line { display: none; } .bridge { justify-content: center; } }

/* ---- STRENGTH: 4つの理由(交互レイアウト + 動くモック) ---- */
body.top #strengths { background: linear-gradient(180deg, #fff 0, var(--sky) 18%, var(--sky) 82%, #fff 100%); padding-top: 64px; }
.reasons { display: grid; gap: 32px; }
body.top #strengths .feature.reason {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center;
  background: #fff; border: 0; border-radius: var(--r-lg); padding: 48px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden; transition: box-shadow .35s ease, opacity .7s ease, transform .7s var(--ease-out);
}
body.top #strengths .feature.reason:hover { box-shadow: var(--shadow-pop); }
body.top #strengths .reason:nth-child(even) .reason-text { order: 2; }
@media (max-width: 900px) {
  body.top #strengths .feature.reason { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 24px; }
  body.top #strengths .reason:nth-child(even) .reason-text { order: 0; }
}
.reason-no { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.reason-no .ico { width: 60px; height: 60px; }
.reason-no span { font-family: "Cinzel", serif; font-size: .78rem; letter-spacing: .3em; color: var(--accent-text); }
.reason-no b { font-size: 1.7rem; letter-spacing: .04em; color: var(--navy); margin-left: 4px; }
body.top #strengths .reason .t { font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
body.top #strengths .reason p { font-size: .94rem; }
body.top #strengths .reason p a { color: var(--navy); font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }

/* REASON 01: AIが読むための公開ファイル(llms.txt / catalog.json)への導線 */
.ai-files { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--cream); border: 1px solid rgba(210, 210, 84, .7); }
.ai-files-t { font-size: .82rem !important; font-weight: 700; color: var(--navy) !important; margin-bottom: 12px; }
.ai-files-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
a.ai-file {
  display: inline-flex; align-items: center; gap: 8px; flex: 1 1 150px; min-width: 0; text-decoration: none; white-space: normal !important;
  background: #fff; border: 1.5px solid var(--navy); border-radius: 12px; padding: 10px 12px; box-shadow: 4px 4px 0 var(--gold);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.ai-file:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--gold); }
a.ai-file .ico { width: 24px; height: 24px; }
a.ai-file b { display: block; font-size: .8rem; color: var(--navy); line-height: 1.4; }
a.ai-file small { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .74rem; font-weight: 400; color: var(--text-soft); }
a.ai-files-more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--navy); text-underline-offset: 4px; }
a.ai-files-more .ico { width: 16px; height: 16px; transition: transform .2s ease; }
a.ai-files-more:hover .ico { transform: translateX(4px); }

.mock {
  background: linear-gradient(160deg, #fff, var(--paper)); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: 0 14px 40px rgba(16, 29, 54, .1); overflow: hidden;
}
.reason-visual { position: relative; }
.reason-visual::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 210, 84, .5), transparent 70%); z-index: 0;
}
.reason-visual .mock { position: relative; z-index: 1; }

/* モック1: AIエージェントとの会話 */
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mock-bar i:first-child { background: var(--gold); }
.mock-bar span { margin-left: 8px; font-size: .74rem; font-weight: 700; color: var(--text-soft); letter-spacing: .06em; }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 24px; min-height: 250px; }
.bubble {
  max-width: 86%; padding: 11px 16px; border-radius: 18px; font-size: .88rem; line-height: 1.6; position: relative;
  opacity: 0; transform: translateY(10px) scale(.96);
}
.bubble.me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 6px; }
.bubble.file { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--cream); border-color: var(--gold); }
.bubble.file .ico { width: 20px; height: 20px; }
.typing { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 5px; opacity: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-4px); opacity: 1; } }
.said { opacity: 0; }
.chat-done {
  align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: .84rem; border-radius: 999px; padding: 8px 20px 8px 14px;
  opacity: 0; transform: translateY(10px) scale(.96);
}
.chat-done .ico { width: 18px; height: 18px; color: var(--ink); }
.chat-done .ks { stroke-width: 3; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
.reason.in .bubble.me { animation: pop .5s var(--ease-out) .5s forwards; }
.reason.in .bubble.ai { animation: pop .5s var(--ease-out) 1.3s forwards; }
.reason.in .typing { animation: fadeIn .2s 1.4s forwards, fadeOut .2s 2.7s forwards; }
.reason.in .said { animation: fadeIn .4s 2.9s forwards; }
.reason.in .bubble.file { animation-delay: 3.6s; }
.reason.in .chat-done { animation: pop .5s var(--ease-out) 4.4s forwards; }

/* モック2: 定額シミュレーター */
.mock-calc { padding: 28px 26px 26px; }
.calc-label { display: flex; align-items: baseline; gap: 6px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.calc-label output { margin-left: auto; font-size: 2.2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-label small { font-size: .82rem; }
#calcRange {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 18px 0 16px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--gold) var(--fill, 24%), var(--border) var(--fill, 24%)); outline-offset: 6px;
}
#calcRange::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy);
  border: 5px solid #fff; box-shadow: 0 4px 14px rgba(16, 29, 54, .35); transition: transform .15s ease;
}
#calcRange::-webkit-slider-thumb:hover { transform: scale(1.12); }
#calcRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(16, 29, 54, .35); }
.calc-dots { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; margin-bottom: 20px; }
.calc-dots i { aspect-ratio: 1; border-radius: 30%; background: var(--border); transition: background-color .25s ease, transform .25s ease; }
.calc-dots i.on { background: var(--gold); transform: scale(1.08); }
.calc-result { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 20px; position: relative; }
.calc-plan { position: absolute; top: -11px; right: 16px; background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 2px 14px; }
.calc-per { font-size: .9rem; }
.calc-per b { font-size: 2rem; font-weight: 900; color: var(--gold-bright); margin-left: 6px; font-variant-numeric: tabular-nums; }
.calc-per small { font-size: .85rem; margin-left: 2px; }
.calc-total { font-size: .8rem; color: rgba(255, 255, 255, .72); }

/* モック3: 60日トライアル */
.mock-trial { padding: 28px 26px; }
.trial-head { display: flex; align-items: flex-end; justify-content: space-between; color: var(--navy); font-weight: 700; }
.trial-head b { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.trial-head small { font-size: .9rem; margin-left: 2px; }
.trial-track { position: relative; height: 12px; border-radius: 999px; background: var(--border); margin: 72px 0 8px; }
.trial-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold-bright), var(--gold)); }
.trial-runner { position: absolute; left: 0; bottom: 4px; width: 60px; margin-left: -34px; }
.trial-runner img { display: block; width: 60px; height: auto; }
.reason.in .trial-fill { animation: trialFill 3.2s var(--ease-out) .5s forwards; }
.reason.in .trial-runner { animation: trialRun 3.2s var(--ease-out) .5s forwards; }
.reason.in .trial-runner img { animation: gallop .4s ease-in-out 8 .5s; }
@keyframes trialFill { to { width: 100%; } }
@keyframes trialRun { to { left: 100%; } }
@keyframes gallop { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-4deg); } }
.trial-scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-soft); margin-bottom: 20px; }
.trial-list { list-style: none; display: grid; gap: 8px; }
.trial-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 14px; }
.trial-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.trial-list .ks { stroke-width: 3.2; }

/* モック4: データの流れ(上: お客様のkintone → 下: ライセンス確認) */
.mock-sec { display: flex; flex-direction: column; align-items: center; padding: 28px 26px; }
.sec-node { display: grid; gap: 10px; width: 100%; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 16px; text-align: center; }
.sec-node-t { font-size: .84rem; font-weight: 900; color: var(--navy); }
.sec-kintone { grid-template-columns: 1fr 1fr; border-color: var(--navy); box-shadow: 6px 6px 0 var(--gold); }
.sec-kintone .sec-node-t, .sec-stay { grid-column: 1 / -1; }
.sec-row { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--text); background: var(--paper); border-radius: 10px; padding: 8px; white-space: nowrap; }
.sec-row .ico, .sec-ok .ico { width: 16px; height: 16px; }
.sec-stay { font-size: .76rem; font-weight: 700; color: var(--coral); }
.sec-ok { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--accent-text); }
.sec-wire { position: relative; width: 2px; height: 64px; margin: 8px 0 12px; background: repeating-linear-gradient(180deg, var(--navy) 0 6px, transparent 6px 12px); }
.sec-wire::after { content: ""; position: absolute; left: -5px; bottom: -4px; border: 6px solid transparent; border-top-color: var(--navy); border-bottom: 0; }
.sec-wire::before {
  content: ""; position: absolute; left: -5px; top: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(210, 210, 84, .35); animation: packet 2.4s ease-in-out infinite;
}
.sec-packet {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700;
  background: var(--navy); color: #fff; border-radius: 999px; padding: 3px 12px;
}
@media (max-width: 480px) { .sec-kintone { grid-template-columns: 1fr; } .mock-sec, .mock-calc, .mock-trial { padding-left: 18px; padding-right: 18px; } }
@keyframes packet { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }
.mid-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }

/* ---- PICK UP(濃紺のスポットライト帯) ---- */
body.top #pickup {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(210, 210, 84, .16), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
body.top #pickup::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%);
}
body.top #pickup .container { position: relative; }
body.top #pickup .sec-label { color: var(--gold); }
body.top #pickup h2 { color: #fff; }
body.top #pickup .sec-lead { color: rgba(255, 255, 255, .75); }
.pickup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 820px) { .pickup-grid { grid-template-columns: 1fr; } }
a.pickup-card {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: #fff; border-radius: var(--r-lg); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(210, 210, 84, .35), 0 24px 60px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease-out), box-shadow .35s ease; will-change: transform;
}
a.pickup-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold), 0 30px 70px rgba(210, 210, 84, .22); }
.pickup-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--border); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #eef1f6; border-bottom: 1px solid var(--border); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e2; }
.pickup-thumb img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; display: block; transition: transform .5s var(--ease-out); transform-origin: top center; }
a.pickup-card:hover .pickup-thumb img { transform: scale(1.04); }
.pickup-badge {
  position: absolute; top: 4px; right: 12px; z-index: 1; background: var(--gold); color: var(--ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 0 14px; line-height: 22px;
}
.pickup-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.pickup-name { font-size: 1.35rem; font-weight: 900; color: var(--navy); margin: 0 0 8px; }
.pickup-desc { font-size: .92rem; color: var(--text-soft); margin-bottom: 18px; }
.pickup-fit { background: var(--cream); border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; }
.pickup-fit .fit-t { font-size: .8rem; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; margin-bottom: 6px; }
.pickup-fit ul { list-style: none; margin: 0; padding: 0; }
.pickup-fit li { font-size: .87rem; color: var(--text); padding: 3px 0 3px 22px; position: relative; }
.pickup-fit li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent-text); font-weight: 700; }
.pickup-body .more { margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--navy); }
a.pickup-card:hover .more { text-decoration: underline; text-underline-offset: 4px; }

/* ---- PLUGINS ---- */
.cat-filter {
  position: sticky; top: 76px; z-index: 20; display: flex; gap: 8px; margin: 0 auto 44px; padding: 8px;
  width: fit-content; max-width: 100%; flex-wrap: wrap; justify-content: center; scrollbar-width: none;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 30px; box-shadow: var(--shadow-card);
}
@media (max-width: 720px) { .cat-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; border-radius: 999px; top: 72px; } }
.cat-filter::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .84rem; font-weight: 700; color: var(--text-soft); border-radius: 999px; padding: 8px 16px;
  transition: background-color .25s ease, color .25s ease;
}
.chip .ico { width: 20px; height: 20px; color: currentColor; }
.chip span { font-size: .72rem; background: var(--paper); color: var(--text-soft); border-radius: 999px; padding: 0 8px; }
.chip:hover { color: var(--navy); background: var(--paper); }
.chip.is-on { background: var(--navy); color: #fff; }
.chip.is-on .kf { fill: var(--gold); }
.chip.is-on span { background: var(--gold); color: var(--ink); }
body.top .cat { margin-bottom: 52px; }
body.top .cat[hidden] { display: none; }
body.top .cat h3 { display: flex; align-items: center; gap: 12px; border-left: 0; padding-left: 0; font-size: 1.2rem; font-weight: 900; margin-bottom: 22px; }
body.top .cat h3 .ico { width: 40px; height: 40px; }
body.top .cat h3::after { content: ""; flex: 1; height: 1px; background: var(--border); margin-left: 8px; }
body.top .plugins { gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
body.top .plugin {
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  border: 0; border-radius: var(--r-md); padding: 14px 14px 20px; box-shadow: 0 6px 22px rgba(16, 29, 54, .06);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
body.top .plugin-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--ink-2); }
body.top .plugin-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
body.top .plugin:hover .plugin-thumb img { transform: scale(1.06); }
body.top .plugin .name, body.top .plugin .desc, body.top .plugin .more { padding: 0 8px; }
body.top .plugin .name { font-size: 1.02rem; font-weight: 900; }
body.top .plugin:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
body.top .plugin .tag { color: var(--accent-text); border-color: var(--gold); background: rgba(210, 210, 84, .12); }
body.top .plugin .more { color: var(--navy); margin-top: auto; padding-top: 12px; }
body.top .plugin.pop { animation: cardPop .45s var(--ease-out) both; animation-delay: var(--pd, 0s); }
@keyframes cardPop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---- PRICING ---- */
body.top #pricing { background: linear-gradient(180deg, #fff, var(--cream)); }
body.top .plans { gap: 28px; max-width: 820px; align-items: stretch; }
body.top .plan {
  display: flex; flex-direction: column; border: 0; border-radius: var(--r-lg); padding: 44px 36px 36px;
  box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease; will-change: transform;
}
body.top .plan ul { flex: 1; }
body.top .plan .btn { margin-top: auto; }
body.top .plan .btn-primary { border: 1.5px solid transparent; }
body.top .plan h3 { font-size: 1.15rem; font-weight: 900; }
body.top .plan .price .num { font-size: 3.2rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.top .plan li::before { color: var(--accent-text); }
body.top .plan.featured {
  background: radial-gradient(500px 260px at 80% -10%, rgba(210, 210, 84, .22), transparent 70%), linear-gradient(160deg, var(--navy), var(--ink));
  color: #fff; box-shadow: 0 30px 70px rgba(16, 29, 54, .35);
}
body.top .plan.featured h3, body.top .plan.featured .price { color: #fff; }
body.top .plan.featured .price .num { color: var(--gold-bright); }
body.top .plan.featured .price .unit, body.top .plan.featured .note { color: rgba(255, 255, 255, .75); }
body.top .plan.featured li { color: rgba(255, 255, 255, .92); }
body.top .plan.featured li::before { color: var(--gold); }
body.top .plan .rec { background: var(--gold); color: var(--ink); top: -15px; padding: 5px 22px; box-shadow: 0 6px 18px rgba(210, 210, 84, .5); }
/* KINTAUROS Publish への入口(ブルーの世界観。配色は publish.css と揃える) */
.pub-gate {
  --pub: #2f7df6; --pub-deep: #1b5fd1;
  position: relative; overflow: hidden; max-width: 1000px; margin: 44px auto 0; border-radius: 32px; color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 48px 48px 48px 52px;
  background: linear-gradient(160deg, #0f3d9e 0%, #1f63dc 45%, #4c93ff 85%, #8ebcff 100%);
  box-shadow: 0 30px 80px rgba(27, 95, 209, .38);
}
.pub-gate-sky { position: absolute; inset: 0; pointer-events: none; }
.pub-gate .cloud { position: absolute; display: block; background: rgba(255, 255, 255, .9); border-radius: 999px; animation: cloudDrift linear infinite; }
.pub-gate .cloud::before, .pub-gate .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.pub-gate .cloud::before { width: 48%; height: 180%; left: 14%; bottom: 30%; }
.pub-gate .cloud::after { width: 38%; height: 140%; right: 14%; bottom: 30%; }
.pub-gate .c1 { width: 130px; height: 34px; top: 12%; left: -160px; opacity: .45; animation-duration: 60s; }
.pub-gate .c2 { width: 90px; height: 24px; top: 46%; left: -120px; opacity: .3; animation-duration: 80s; animation-delay: -35s; }
.pub-gate .c3 { width: 170px; height: 42px; top: 78%; left: -200px; opacity: .4; animation-duration: 100s; animation-delay: -60s; }
@keyframes cloudDrift { to { transform: translateX(1400px); } }
.pub-gate-text, .pub-gate-visual { position: relative; z-index: 1; }
.pub-gate-label { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.05rem; margin-bottom: 14px; }
.pub-gate-label span { font-family: "Cinzel", serif; font-size: .7rem; letter-spacing: .24em; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; padding: 2px 12px; }
.pub-gate h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(1.15rem, 2.3vw, 1.5rem); font-weight: 900; line-height: 1.5; color: #fff; word-break: auto-phrase; }
.pub-gate .plan-option-price { font-size: .86rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 2px 14px; }
.pub-gate p { font-size: .92rem; line-height: 1.9; color: rgba(255, 255, 255, .92); margin-top: 12px; }
.pub-gate-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pub-gate-chips span { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0c2a66; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 5px 14px 5px 8px; }
.pub-gate-chips .ico { width: 22px; height: 22px; color: #0c2a66; }
.pub-gate-chips .kf { fill: #a9cbff; }
.btn.pub-gate-btn { margin-top: 24px; background: #fff; color: var(--pub-deep); box-shadow: 0 10px 30px rgba(8, 30, 90, .35); font-size: .95rem; padding: 13px 28px; }
.btn.pub-gate-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(8, 30, 90, .5); }
.pub-gate-browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(8, 30, 90, .45); transform: perspective(1200px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; transition: transform .5s var(--ease-out); }
.pub-gate:hover .pub-gate-browser { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.pub-gate-browser .frame-bar { height: 24px; }
.pub-gate-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.pub-gate-mascot { position: absolute; right: -8%; bottom: -24%; width: 52%; height: auto; filter: drop-shadow(0 14px 18px rgba(8, 30, 90, .35)); animation: floaty 5.5s ease-in-out infinite; }
@media (max-width: 860px) {
  .pub-gate { grid-template-columns: minmax(0, 1fr); padding: 36px 24px 56px; border-radius: 26px; gap: 40px; }
  .pub-gate-browser { transform: none; }
  .pub-gate:hover .pub-gate-browser { transform: none; }
  .pub-gate-mascot { right: -2%; bottom: -30%; width: 44%; }
  .pub-gate-label { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn.pub-gate-btn { display: block; text-align: center; font-size: .86rem; padding: 13px 16px; }
}
/* プラグインカードの「Web公開対応」タグ */
body.top .plugin .tag.pub-tag { color: #1b5fd1; border-color: #2f7df6; background: rgba(47, 125, 246, .1); white-space: nowrap; }
body.top .pricing-note { color: var(--text-soft); text-align: left; max-width: 820px; margin: 28px auto 0; }

/* ---- FLOW(スクロールで駆け抜ける) ---- */
.flow-wrap { position: relative; --p: 0; }
.flow-track { position: absolute; top: 96px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; background: var(--border); }
.flow-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep)); }
.flow-wrap { padding-top: 56px; }
.flow-runner { position: absolute; left: calc(var(--p) * 100%); bottom: -4px; width: 84px; margin-left: -46px; z-index: 1; pointer-events: none; }
.flow-runner img { display: block; width: 84px; height: auto; filter: drop-shadow(0 6px 8px rgba(11, 20, 36, .2)); }
.flow-wrap.is-moving .flow-runner img { animation: gallop .38s ease-in-out infinite; }
body.top .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
body.top .step { background: transparent; border: 0; padding: 0 8px; text-align: center; position: relative; transition: none; }
body.top .step:hover { transform: none; box-shadow: none; }
.step-ic {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--border); position: relative; z-index: 2;
  transition: border-color .4s ease, background-color .4s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
.step-ic .ico { width: 44px; height: 44px; }
body.top .step::before {
  position: absolute; top: -6px; left: calc(50% + 22px); z-index: 4; width: 28px; height: 28px; margin: 0; font-size: .8rem;
  background: var(--navy); color: #fff; box-shadow: none; border: 3px solid var(--paper);
}
.step.is-on .step-ic { border-color: var(--gold); background: var(--cream); transform: scale(1.06); box-shadow: 0 12px 30px rgba(210, 210, 84, .4); }
body.top .step .t { font-size: 1.08rem; font-weight: 900; }
body.top .step p { font-size: .88rem; max-width: 240px; margin: 0 auto; }
@media (max-width: 820px) {
  .flow-wrap { padding-top: 0; }
  .flow-track { top: 42px; bottom: 42px; left: 40px; right: auto; width: 4px; height: auto; }
  .flow-fill { inset: 0 0 auto 0; width: auto; height: calc(var(--p) * 100%); }
  .flow-runner { display: none; }
  body.top .steps { grid-template-columns: 1fr; gap: 34px; }
  body.top .step { display: grid; grid-template-columns: 84px 1fr; column-gap: 22px; text-align: left; padding: 0; align-items: start; }
  .step-ic { grid-row: 1 / span 2; margin: 0; }
  body.top .step::before { left: 60px; }
  body.top .step .t { align-self: end; margin-top: 12px; }
  body.top .step p { margin: 0; max-width: none; }
}

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
body.top .faq-side .sec-label { justify-content: flex-start; }
body.top .faq-side .sec-label::after { display: none; }
.faq-side h2 { text-align: left; }
.faq-side-lead { color: var(--text-soft); font-size: .94rem; margin-bottom: 20px; }
.faq-side-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.faq-side-link .ico { width: 18px; height: 18px; transition: transform .25s ease; }
.faq-side-link:hover .ico { transform: translateX(4px); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; text-align: center; }
  body.top .faq-side .sec-label { justify-content: center; } body.top .faq-side .sec-label::after { display: block; }
  .faq-side h2 { text-align: center; }
}
body.top .faq { max-width: none; margin: 0; }
body.top .faq details { border: 0; background: var(--paper); border-radius: var(--r-md); padding: 0 26px; margin-bottom: 12px; transition: background-color .3s ease, box-shadow .3s ease; }
body.top .faq details[open] { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--gold); }
body.top .faq summary { padding: 20px 36px 20px 44px; line-height: 1.6; }
body.top .faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: "Cinzel", serif; font-size: .9rem;
  background: var(--navy); color: var(--gold-bright);
}
body.top .faq summary::after { color: var(--navy); top: 14px; }
body.top .faq details p { padding: 0 0 22px 44px; font-size: .92rem; }

/* ---- 最終CTA(イエローのパネル) ---- */
body.top .cta-final { background: #fff; padding: 40px 0 112px; color: var(--ink); }
.cta-panel {
  position: relative; overflow: hidden; text-align: center; border-radius: 40px; padding: 84px 32px 76px;
  background: radial-gradient(700px 360px at 50% 0%, #f4f4a2, transparent 70%), linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 30px 80px rgba(169, 169, 58, .4);
}
.cta-panel::before {
  content: ""; position: absolute; inset: -60% -30%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .22) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000, transparent 62%); mask-image: radial-gradient(circle, #000, transparent 62%);
  animation: spin 90s linear infinite;
}
.cta-panel > * { position: relative; }
.cta-mascot { position: absolute !important; right: 5%; bottom: -14px; width: clamp(120px, 18vw, 220px); height: auto; animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(11, 20, 36, .2)); }
body.top .cta-final h2 { color: var(--ink); }
body.top .cta-final p { color: rgba(11, 20, 36, .8); }
body.top .cta-final .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 34px rgba(11, 20, 36, .4); }
body.top .cta-final .btn-primary:hover { box-shadow: 0 16px 44px rgba(11, 20, 36, .55); }
body.top .cta-final .cta-note { color: rgba(11, 20, 36, .7); }
@media (max-width: 720px) { .cta-panel { border-radius: 28px; padding: 64px 22px 160px; } .cta-mascot { right: 50%; transform: translateX(50%); animation: none; } }

/* ---- CONTACT ---- */
body.top .contact-sec { background: var(--paper); }
body.top .contact-sec .contact-form { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 32px 32px 12px; }

/* ---- スクロールリビール ---- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---- 動きを減らす設定 ---- */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  body.top .hero .badge, .hero-eyebrow, body.top .hero h1, body.top .hero p.lead,
  body.top .hero .cta-row, body.top .hero .cta-sub, .scroll-cue::after { animation: none; }
  .story-blob, .story-ring, .story-mascot, .story-chip, .cta-panel::before, .cta-mascot, .pub-gate .cloud, .pub-gate-mascot, .sec-wire::before, .typing i,
  .flow-wrap.is-moving .flow-runner img { animation: none; }
  .mk { background-size: 100% 100%; transition: none; }
  .bubble, .said, .chat-done { opacity: 1; transform: none; animation: none !important; }
  .typing { display: none; }
  .trial-fill { width: 100%; animation: none !important; } .trial-runner { left: 100%; animation: none !important; }
  .trial-runner img { animation: none !important; }
  #cursor-dot, #cursor-ring, .hero-spot { display: none; }
}
