/* ============================================================
   Ray of Ray — 公式サイト v2
   薄グレー地 + 白カード + 黒CTA(Yoom骨格) × 製品を見せる(Tally思想)
   ============================================================ */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #171b2e;
  --ink-mute: #5c6274;
  --ink-faint: #9aa0b0;
  --primary: #1b1938;
  --primary-hover: #2a2752;
  --on-primary: #ffffff;
  --accent: #4051d8;
  --accent-soft: #eceefc;
  --mint: #b8e0d2;
  --mint-soft: #e8f5ef;
  --mint-deep: #3e8a6e;
  --border: #e6e8ef;
  --border-strong: #d8dbe6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(23, 27, 46, .05), 0 10px 28px rgba(23, 27, 46, .06);
  --shadow-pop: 0 2px 6px rgba(23, 27, 46, .07), 0 20px 48px rgba(23, 27, 46, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 6px 18px rgba(27, 25, 56, .22);
}
.btn-dark:hover { background: var(--primary-hover); box-shadow: 0 10px 24px rgba(27, 25, 56, .28); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-link {
  background: none;
  color: var(--accent);
  padding: 14px 8px;
  font-weight: 600;
}
.btn-link:hover { text-decoration: underline; transform: none; }
.btn-on-dark {
  background: var(--surface);
  color: var(--ink);
}
.btn-on-dark:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 30px; width: auto; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--primary);
  color: var(--on-primary) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--primary-hover); }
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background:
    radial-gradient(560px 300px at 28% 20%, rgba(64, 81, 216, .07), transparent 70%),
    radial-gradient(560px 300px at 74% 12%, rgba(184, 224, 210, .35), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* 光線モチーフ: 元サイトFVのストライプ+光の粒(に、静かなアニメーションを追加) */
.stripes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.stripes span {
  position: absolute;
  top: -30%;
  height: 160%;
  transform: rotate(20deg);
  transform-origin: top center;
  border-radius: 40px;
  animation: stripeSway 14s ease-in-out infinite alternate;
}
.stripes .s1 {
  right: 4%;
  width: 64px;
  background: linear-gradient(180deg, transparent, var(--mint-deep) 55%, transparent);
  opacity: .20;
}
.stripes .s2 {
  right: 11%;
  width: 26px;
  background: linear-gradient(180deg, transparent, var(--mint) 50%, transparent);
  opacity: .36;
  animation-delay: -5s;
  animation-duration: 18s;
}
.stripes .s3 {
  right: 0%;
  width: 150px;
  background: linear-gradient(180deg, transparent, rgba(27, 25, 56, 0.14) 55%, transparent);
  opacity: .5;
  animation-delay: -9s;
  animation-duration: 22s;
}
/* 左側にも淡い1本(中央寄せレイアウトのバランス用) */
.stripes .s4 {
  left: 3%;
  width: 90px;
  background: linear-gradient(180deg, transparent, var(--mint) 52%, transparent);
  opacity: .18;
  animation-delay: -12s;
  animation-duration: 20s;
}
@keyframes stripeSway {
  0%   { transform: rotate(20deg) translateX(0); }
  100% { transform: rotate(20deg) translateX(-16px); }
}
.hero-neural {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .62;
}
.hero-neural .node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(142, 201, 179, .94);
  box-shadow: 0 0 0 6px rgba(184, 224, 210, .12), 0 0 28px rgba(142, 201, 179, .28);
  animation: neuralFloat 8s ease-in-out infinite;
}
.hero-neural .n1 { right: 39%; top: 18%; animation-delay: -.8s; }
.hero-neural .n2 { right: 16%; top: 28%; animation-delay: -2.1s; }
.hero-neural .n3 { right: 26%; top: 60%; animation-delay: -3.2s; }
.hero-neural .n4 { right: 7%; top: 52%; animation-delay: -4.5s; }
.hero-neural .beam {
  position: absolute;
  width: 170px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(142, 201, 179, .42), transparent);
  box-shadow: 0 0 18px rgba(142, 201, 179, .14);
  animation: neuralBeam 5.8s ease-in-out infinite;
}
.hero-neural .b1 { right: 20%; top: 25%; transform: rotate(13deg); animation-delay: -.6s; }
.hero-neural .b2 { right: 23%; top: 42%; transform: rotate(112deg); animation-delay: -2s; }
.hero-neural .b3 { right: 9%; top: 56%; width: 145px; transform: rotate(-21deg); animation-delay: -3.4s; }
@keyframes neuralFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .58; }
  50% { transform: translate3d(8px, -10px, 0); opacity: 1; }
}
@keyframes neuralBeam {
  0%, 100% { opacity: .15; filter: blur(.2px); }
  50% { opacity: .7; filter: blur(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-mute);
  box-shadow: var(--shadow-card);
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-deep);
}
.hero h1 {
  margin: 28px auto 0;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: .01em;
  max-width: 20em;
}
.hero h1 .accent {
  background: linear-gradient(transparent 68%, var(--mint) 68%, var(--mint) 94%, transparent 94%);
}
.hero .lead {
  margin: 24px auto 0;
  max-width: 620px;
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ink-mute);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}
.trust-strip {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-strip span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  box-shadow: var(--shadow-card);
}
.trust-strip b { color: var(--ink); }

/* Hero stage: 光でつなぐ道具箱ハブ(濃紺キャンバスで光を主役化) */
.hero-stage {
  position: relative;
  margin: clamp(44px, 6vw, 72px) auto 0;
  max-width: 920px;
  aspect-ratio: 900 / 340;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dfe3ee;
  box-shadow: 0 24px 56px rgba(23, 27, 46, .13);
  background:
    radial-gradient(520px 280px at 16% 0%, rgba(184, 224, 210, .55), transparent 66%),
    radial-gradient(560px 300px at 88% 104%, rgba(64, 81, 216, .16), transparent 68%),
    linear-gradient(135deg, #eef1fa, #e7f3ee 72%);
}
/* プリズム背景バリアント(戻す場合は HTML から hero-stage--prism を外す) */
.hero-stage--prism::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  background: conic-gradient(from 0deg at 50% 44%,
    #eefaf8 0deg,
    #cdeae8 28deg,
    #bfe4e1 78deg,
    #b7dfe0 100deg,
    #c5b0d4 128deg,
    #948cc0 148deg,
    #5569c2 168deg,
    #2e74bd 190deg,
    #3470bd 225deg,
    #7b86c4 252deg,
    #b49cc2 280deg,
    #b2a9cc 300deg,
    #aadad8 330deg,
    #eefaf8 360deg);
  filter: blur(34px) saturate(.94);
  transform: scale(1.12);
}
.hero-stage--prism .stage-rays { opacity: .5; }
/* 下部の青が濃いので、コア直下〜下段カード周りの可読性を確保 */
.hero-stage--prism .stage-core b { text-shadow: 0 1px 10px rgba(255, 255, 255, .8); }
.hero-stage--prism .stage-core i { color: rgba(23, 27, 46, .58); text-shadow: 0 1px 8px rgba(255, 255, 255, .7); }
.hero-stage--prism .stage-beams .beam-base { stroke: rgba(255, 255, 255, .38); }
.hero-stage--prism .stage-node { box-shadow: 0 12px 30px rgba(23, 27, 46, .2); }

.stage-rays { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.stage-rays span {
  position: absolute;
  top: -25%;
  height: 150%;
  border-radius: 999px;
  transform: rotate(18deg);
  filter: blur(16px);
  background: linear-gradient(180deg, transparent, rgba(184, 224, 210, .5), rgba(122, 110, 224, .18), transparent);
  animation: stageRay 13s ease-in-out infinite alternate;
}
.stage-rays span:nth-child(1) { left: 12%; width: 90px; opacity: .42; }
.stage-rays span:nth-child(2) { left: 34%; width: 190px; opacity: .28; animation-delay: -4s; animation-duration: 17s; }
.stage-rays span:nth-child(3) { left: 72%; width: 130px; opacity: .4; animation-delay: -8s; animation-duration: 20s; }
@keyframes stageRay {
  0% { transform: rotate(18deg) translateX(0); opacity: .26; }
  50% { opacity: .5; }
  100% { transform: rotate(18deg) translateX(-22px); opacity: .32; }
}
.stage-beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.stage-beams .beam-base {
  stroke: rgba(23, 27, 46, .14);
  stroke-width: 1.5;
}
.stage-beams .beam {
  stroke: url(#beamGrad);
  stroke-width: 2.2;
  fill: none;
  stroke-dasharray: 5 9;
  animation: beamFlow 1.3s linear infinite;
}
@keyframes beamFlow { to { stroke-dashoffset: -14; } }
.stage-beams .pulse {
  fill: var(--accent);
  filter: drop-shadow(0 0 5px rgba(64, 81, 216, .5));
}
.stage-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}
.stage-core span {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #100e24;
  background: linear-gradient(135deg, #eafaf3, #b8e0d2);
  box-shadow: 0 0 0 9px rgba(184, 224, 210, .1), 0 0 42px rgba(142, 201, 179, .55);
  animation: coreBreathe 4.2s ease-in-out infinite;
}
@keyframes coreBreathe {
  0%, 100% { box-shadow: 0 0 0 9px rgba(184, 224, 210, .08), 0 0 34px rgba(142, 201, 179, .4); }
  50% { box-shadow: 0 0 0 13px rgba(184, 224, 210, .14), 0 0 54px rgba(142, 201, 179, .7); }
}
.stage-core b { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.stage-core i { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(23, 27, 46, .45); }
.stage-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(120px, 15vw, 158px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 11px 14px;
  box-shadow: 0 10px 26px rgba(23, 27, 46, .12);
  animation: nodeFloat 6s ease-in-out infinite;
}
.stage-node small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-node.n-list small { color: var(--mint-deep); }
.stage-node b { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--ink); }
.stage-node i { font-style: normal; font-size: 10.5px; color: var(--ink-mute); }
.n-list { left: 19.4%; top: 26.5%; }
.n-form { left: 80.6%; top: 26.5%; animation-delay: -2s; }
.n-call { left: 50%; top: 83.8%; animation-delay: -4s; }
@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}
/* モバイル: 放射レイアウトは狭幅で重なるため、コア→3ツールの縦積みに切替 */
@media (max-width: 680px) {
  .hero-stage {
    aspect-ratio: auto;
    border-radius: 20px;
    padding: 24px 18px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .stage-beams { display: none; }
  .stage-core,
  .stage-node {
    position: static;
    transform: none;
    animation: none;
  }
  .stage-core { order: -1; margin-bottom: 2px; }
  .stage-node {
    width: 100%;
    max-width: 320px;
    text-align: center;
    position: relative;
    inset: auto;
  }
  /* 縦につなぐ光の線 */
  .stage-node::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -13px;
    width: 2px;
    height: 12px;
    transform: translateX(-50%);
    background: linear-gradient(rgba(184, 224, 210, 0), rgba(184, 224, 210, .85));
  }
}

/* Hero product frame (Tally式: 製品を大きく見せる) */
.hero-product {
  margin: clamp(44px, 6vw, 72px) auto 0;
  max-width: 920px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px 22px 0 0;
  border-bottom: none;
  box-shadow: var(--shadow-pop);
  padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 0;
  text-align: left;
}
.hero-product__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
}
.hero-product__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.hero-product__bar b {
  margin-left: 10px;
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  padding: 6px 12px;
}
.hero-product__body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 22px 0 26px;
}
@media (max-width: 720px) {
  .hero-product__body { grid-template-columns: 1fr; }
}
.mock-form label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  margin: 14px 0 6px;
}
.mock-form label:first-child { margin-top: 0; }
.mock-form label span {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 2px 10px;
}
.mock-form label span.drafting { color: var(--accent); background: var(--accent-soft); }
.mock-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
}
.mock-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.mock-textarea em {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--border-strong);
}
.mock-textarea em:nth-child(1) { width: 92%; }
.mock-textarea em:nth-child(2) { width: 84%; }
.mock-textarea em:nth-child(3) { width: 58%; background: var(--mint); }
.mock-side { display: grid; gap: 12px; align-content: start; }
.mock-ai-panel {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
}
.mock-ai-panel span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint);
}
.mock-ai-panel b { font-size: 14px; line-height: 1.5; }
.mock-ai-panel small { font-size: 12px; color: rgba(255, 255, 255, .66); }
.mock-site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.mock-site-card small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.mock-site-card strong { font-size: 14px; }
.mock-site-card p { font-size: 12px; color: var(--ink-mute); line-height: 1.6; }

/* ---------- Sections (共通) ---------- */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  scroll-margin-top: 84px;
}
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 16px;
}
.section h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .01em;
}
.section-lead {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px;
  color: var(--ink-mute);
}

/* ---------- Products ---------- */
.product-list { margin-top: 44px; display: grid; gap: 22px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3.4vw, 40px);
  display: grid;
  gap: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.product-card--featured { grid-template-columns: 1fr 1.05fr; align-items: center; }
@media (max-width: 820px) {
  .product-card--featured { grid-template-columns: 1fr; }
}
.product-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 820px) {
  .product-subgrid { grid-template-columns: 1fr; }
}
/* AIGauge 小型カード */
.product-card--slim {
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(20px, 2.6vw, 30px) clamp(24px, 3.4vw, 40px);
}
@media (max-width: 860px) {
  .product-card--slim { grid-template-columns: 1fr; gap: 16px; }
}
.product-card--slim h3 { margin-top: 10px; font-size: 20px; font-weight: 700; }
.product-card--slim p { margin-top: 6px; font-size: 13px; color: var(--ink-mute); }
.slim-gauge { display: grid; gap: 8px; }
.slim-gauge .mock-meter { padding: 10px 14px; background: var(--bg); }

/* ミツモリ現場カードの小型モック（1台のスマホ画面が 測る→金額→見積書PDF と切り替わる。12秒ループ） */
.mgm { display: grid; justify-items: center; gap: 9px; }
.mgm-phone {
  width: 176px; padding: 7px; border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-card);
}
.mgm-screen { position: relative; height: 118px; border-radius: 12px; background: var(--bg); overflow: hidden; }
.mgm-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px; opacity: 0; }
.mgm-scene.s1 { animation: mgmS1 12s ease infinite; }
.mgm-scene.s2 { animation: mgmS2 12s ease infinite; }
.mgm-scene.s3 { animation: mgmS3 12s ease infinite; }
@keyframes mgmS1 { 0%, 2% { opacity: 0; } 5%, 28% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes mgmS2 { 0%, 30% { opacity: 0; } 35%, 58% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes mgmS3 { 0%, 60% { opacity: 0; } 65%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
.mgm-cap { font-size: 9px; font-weight: 700; color: var(--ink-faint); letter-spacing: .06em; }
.mgm-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.mgm-row span { font-size: 9.5px; color: var(--ink-mute); }
.mgm-row b { font-size: 12.5px; color: var(--ink); opacity: 0; }
.mgm-row .v1 { animation: mgmV1 12s ease infinite; }
.mgm-row .v2 { animation: mgmV2 12s ease infinite; }
.mgm-row .v3 { animation: mgmV3 12s ease infinite; }
@keyframes mgmV1 { 0%, 6% { opacity: 0; } 10%, 100% { opacity: 1; } }
@keyframes mgmV2 { 0%, 12% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes mgmV3 { 0%, 18% { opacity: 0; } 22%, 100% { opacity: 1; } }
.mgm-amt { font-size: 21px; font-weight: 800; color: var(--mint-deep); letter-spacing: -.01em; opacity: 0; transform: scale(.92); animation: mgmAmt 12s ease infinite; }
@keyframes mgmAmt { 0%, 34% { opacity: 0; transform: scale(.92); } 40%, 60% { opacity: 1; transform: none; } 63%, 100% { opacity: 0; } }
.mgm-sub { font-size: 9px; color: var(--ink-mute); }
.mgm-paper { display: grid; gap: 5px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.mgm-paper-ttl { text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.mgm-paper-ln { height: 4px; border-radius: 3px; background: var(--bg); width: 92%; justify-self: center; }
.mgm-paper-ln.short { width: 62%; }
.mgm-pdf { text-align: center; font-size: 9.5px; font-weight: 700; color: var(--mint-deep); opacity: 0; animation: mgmPdf 12s ease infinite; }
@keyframes mgmPdf { 0%, 70% { opacity: 0; } 76%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
.mgm-steps { display: flex; gap: 5px; }
.mgm-steps span {
  font-size: 9px; font-weight: 700; color: var(--ink-faint); white-space: nowrap;
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px; background: var(--surface);
}
.mgm-steps .m1 { animation: mgmC1 12s ease infinite; }
.mgm-steps .m2 { animation: mgmC2 12s ease infinite; }
.mgm-steps .m3 { animation: mgmC3 12s ease infinite; }
@keyframes mgmC1 { 0%, 2% { color: var(--ink-faint); } 5%, 28% { color: var(--mint-deep); border-color: var(--mint); background: var(--mint-soft); } 33%, 100% { color: var(--ink-faint); } }
@keyframes mgmC2 { 0%, 30% { color: var(--ink-faint); } 35%, 58% { color: var(--mint-deep); border-color: var(--mint); background: var(--mint-soft); } 63%, 100% { color: var(--ink-faint); } }
@keyframes mgmC3 { 0%, 60% { color: var(--ink-faint); } 65%, 94% { color: var(--mint-deep); border-color: var(--mint); background: var(--mint-soft); } 98%, 100% { color: var(--ink-faint); } }
@media (prefers-reduced-motion: reduce) {
  .mgm, .mgm * { animation: none !important; }
  .mgm-scene.s1, .mgm-scene.s2 { opacity: 0; }
  .mgm-scene.s3, .mgm-row b, .mgm-pdf { opacity: 1 !important; transform: none !important; }
  .mgm-steps span { color: var(--mint-deep); border-color: var(--mint); background: var(--mint-soft); }
}
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 5px 14px;
}
.product-tag::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint-deep);
}
.product-tag--soon { color: var(--accent); background: var(--accent-soft); }
.product-tag--soon::before { background: var(--accent); }
.product-copy h3 {
  margin-top: 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
}
.product-copy p { margin-top: 10px; font-size: 14px; color: var(--ink-mute); }
.product-mini-list { margin: 16px 0 0; list-style: none; display: grid; gap: 8px; }
.product-mini-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.product-mini-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mint-soft);
  border: 4px solid var(--mint);
}
.product-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.product-actions .btn { padding: 12px 22px; font-size: 14px; }

/* 製品ビジュアル(白カード内のミニモック) */
.product-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 12px;
}
.mock-gauge-head { font-weight: 700; font-size: 14px; }
.mock-gauge-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-gauge-head span {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 3px 12px;
}
.mock-meter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.mock-meter > div { display: flex; justify-content: space-between; font-size: 13px; }
.mock-meter i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
}
.mock-meter em { display: block; height: 100%; border-radius: 4px; }
.meter-claude em { width: 24%; background: var(--accent); }
.meter-codex em { width: 68%; background: var(--mint-deep); }
.mock-meter small { font-size: 11px; color: var(--ink-faint); }
.mock-call {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 12px;
}
.mock-call-list span,
.mock-call-actions span { white-space: nowrap; }
.mock-call-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.mock-call-list b { font-weight: 700; font-size: 13px; padding: 0 10px 4px; }
.mock-call-list span {
  font-size: 12px;
  color: var(--ink-mute);
  padding: 6px 10px;
  border-radius: 8px;
}
.mock-call-list span.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.mock-call-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.mock-call-detail small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.mock-call-detail strong { font-size: 13px; }
.mock-call-detail p { font-size: 11px; color: var(--ink-mute); line-height: 1.6; }
.mock-call-actions { display: flex; gap: 6px; margin-top: 4px; }
.mock-call-actions span {
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--mint-soft);
  color: var(--mint-deep);
}
.mock-call-actions span:last-child { background: var(--accent-soft); color: var(--accent); }

/* ============================================================
   製品デモアニメーション(実際の使い方を10秒ループで再現)
   共通: 11s周期・ループ終端でシーン全体をフェードして自然にリセット
   ============================================================ */
.demo-formai, .demo-callai, .demo-listsnap {
  animation: demoScene 11s linear infinite;
}
@keyframes demoScene {
  0% { opacity: .25; }
  3% { opacity: 1; }
  96% { opacity: 1; }
  100% { opacity: .25; }
}
/* クリック波紋(操作した場所に出る輪) */
.demo-ripple::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}

/* ---------- formAI デモ: 読み取り→入力→本文下書き→人が送信 ---------- */
.demo-formai {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 14px;
  align-content: stretch;
}
@media (max-width: 820px) {
  .demo-formai { grid-template-columns: 1fr; }
}
.df-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.df-form label { font-size: 11px; font-weight: 700; color: var(--ink-mute); }
.df-field {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 66px 7px 10px;
  font-size: 12px;
  min-height: 31px;
}
.df-type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  max-width: 0;
}
.df-field .t1 { animation: dfT1 11s steps(14, end) infinite; }
@keyframes dfT1 { 0%, 6% { max-width: 0; } 13%, 100% { max-width: 12em; } }
.df-field .t2 { animation: dfT2 11s steps(18, end) infinite; }
@keyframes dfT2 { 0%, 15% { max-width: 0; } 22%, 100% { max-width: 14em; } }
.df-ok {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  background: var(--mint-soft);
  color: var(--mint-deep);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
}
.df-field .o1 { animation: dfO1 11s infinite; }
@keyframes dfO1 {
  0%, 12% { transform: translateY(-50%) scale(0); }
  14% { transform: translateY(-50%) scale(1.12); }
  16%, 100% { transform: translateY(-50%) scale(1); }
}
.df-field .o2 { animation: dfO2 11s infinite; }
@keyframes dfO2 {
  0%, 21% { transform: translateY(-50%) scale(0); }
  23% { transform: translateY(-50%) scale(1.12); }
  25%, 100% { transform: translateY(-50%) scale(1); }
}
.df-body {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 11.5px;
  line-height: 1.75;
  min-height: 82px;
  display: grid;
  align-content: start;
}
.df-body .df-badge {
  position: absolute;
  right: 8px;
  top: -9px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  opacity: 0;
  animation: dfBadge 11s infinite;
}
@keyframes dfBadge {
  0%, 26% { opacity: 0; }
  30%, 100% { opacity: 1; }
}
.df-body .t3 { animation: dfT3 11s steps(26, end) infinite; }
@keyframes dfT3 { 0%, 30% { max-width: 0; } 44%, 100% { max-width: 100%; } }
.df-body .t4 { animation: dfT4 11s steps(26, end) infinite; }
@keyframes dfT4 { 0%, 45% { max-width: 0; } 59%, 100% { max-width: 100%; } }
.df-body .t5 { animation: dfT5 11s steps(20, end) infinite; }
@keyframes dfT5 { 0%, 60% { max-width: 0; } 70%, 100% { max-width: 100%; } }
.df-send { margin-top: 4px; display: flex; align-items: center; gap: 10px; }
.df-send b {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 16px;
  opacity: .38;
  animation: dfSend 11s infinite;
}
@keyframes dfSend {
  0%, 72% { opacity: .38; box-shadow: none; }
  78%, 93% { opacity: 1; box-shadow: 0 0 0 4px var(--accent-soft); }
  100% { opacity: .38; }
}
.df-send i {
  font-style: normal;
  font-size: 10px;
  color: var(--ink-faint);
  opacity: 0;
  animation: dfSendNote 11s infinite;
}
@keyframes dfSendNote { 0%, 74% { opacity: 0; } 79%, 100% { opacity: 1; } }
.df-panel { display: grid; gap: 8px; align-content: center; }
.df-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
}
.df-step.s1 { animation: dfStep1 11s infinite; }
@keyframes dfStep1 {
  0%, 3% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
  5%, 26% { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
  29%, 100% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
}
.df-step.s2 { animation: dfStep2 11s infinite; }
@keyframes dfStep2 {
  0%, 27% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
  30%, 71% { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
  74%, 100% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
}
.df-step.s3 { animation: dfStep3 11s infinite; }
@keyframes dfStep3 {
  0%, 73% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
  76%, 95% { background: var(--mint-soft); color: var(--mint-deep); border-color: var(--mint-deep); }
  100% { background: var(--surface); color: var(--ink-mute); border-color: var(--border); }
}

/* ---------- callAI デモ: 架電先を選ぶ→通話済みにする→再コール設定→シートへ書き戻し ---------- */
.demo-callai { display: grid; gap: 10px; align-content: center; }
.dc-main { display: grid; grid-template-columns: .78fr 1.22fr; gap: 10px; }
.dc-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.dc-list b { font-size: 12px; padding: 0 8px 4px; }
.dc-row {
  position: relative;
  font-size: 11.5px;
  color: var(--ink-mute);
  padding: 6px 8px 6px 26px;
  border-radius: 7px;
  white-space: nowrap;
}
.dc-row.r2 { animation: dcSelect 11s infinite; }
@keyframes dcSelect {
  0%, 9% { background: none; color: var(--ink-mute); font-weight: 400; }
  12%, 100% { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
}
.dc-row.r2::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: dcRipple1 11s infinite;
}
@keyframes dcRipple1 {
  0%, 7% { opacity: 0; transform: scale(.4); }
  9% { opacity: .9; transform: scale(.6); }
  13% { opacity: 0; transform: scale(2.2); }
  14%, 100% { opacity: 0; transform: scale(.4); }
}
.dc-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 7px;
  align-content: start;
  opacity: .4;
  animation: dcDetail 11s infinite;
}
@keyframes dcDetail { 0%, 11% { opacity: .4; } 15%, 100% { opacity: 1; } }
.dc-detail small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dc-detail strong { font-size: 13px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-chip {
  position: relative;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-mute);
  white-space: nowrap;
}
.dc-chip.done { animation: dcDone 11s infinite; }
@keyframes dcDone {
  0%, 33% { background: var(--bg); color: var(--ink-mute); border-color: var(--border); }
  37%, 100% { background: var(--mint-deep); color: #fff; border-color: var(--mint-deep); }
}
.dc-chip.done::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 2px solid var(--mint-deep);
  opacity: 0;
  animation: dcRipple2 11s infinite;
}
@keyframes dcRipple2 {
  0%, 31% { opacity: 0; transform: scale(.4); }
  33% { opacity: .9; transform: scale(.7); }
  37% { opacity: 0; transform: scale(2.4); }
  38%, 100% { opacity: 0; transform: scale(.4); }
}
.dc-chip.recall {
  opacity: 0;
  transform: scale(.8);
  animation: dcRecall 11s infinite;
}
@keyframes dcRecall {
  0%, 50% { opacity: 0; transform: scale(.8); }
  54%, 100% { opacity: 1; transform: scale(1); }
}
.dc-note { font-size: 10.5px; color: var(--ink-faint); }
.dc-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint-deep);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  animation: dcToast 11s infinite;
}
@keyframes dcToast {
  0%, 66% { opacity: 0; transform: translateY(6px); }
  71%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(6px); }
}
.dc-toast s {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--mint-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-decoration: none;
}

/* ---------- callAI シート管理デモ(v2): シートが台帳・パネルで記録・自動書き戻し ---------- */
.product-card--flip .product-copy { order: 2; }
.product-card--flip .product-visual { order: 1; }
@media (max-width: 820px) {
  .product-card--flip .product-copy { order: 1; }
  .product-card--flip .product-visual { order: 2; }
}
.dc2-main { display: grid; grid-template-columns: 1.4fr .6fr; gap: 10px; }
@media (max-width: 480px) { .dc2-main { grid-template-columns: 1fr; } }
.dc2-sheet, .dc2-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.dc2-sheet small, .dc2-panel small {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: .04em;
  padding-bottom: 2px;
}
.dc2-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 30px;
  gap: 5px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 7px;
}
.dc2-row b {
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc2-row > span { font-size: 9.5px; color: var(--ink-mute); }
.dc2-head { background: none; border-color: transparent; padding-top: 0; padding-bottom: 0; }
.dc2-head b, .dc2-head span { font-size: 9px; color: var(--ink-faint); font-weight: 700; }
.dc2-st {
  text-decoration: none;
  font-size: 8.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
}
.st-done { background: var(--mint-soft); color: var(--mint-deep); }
.st-todo { background: var(--bg); border: 1px solid var(--border-strong); color: var(--ink-faint); }
.st-recall { background: var(--accent-soft); color: var(--accent); }
/* いま処理中の行: 選択→更新→書き戻し完了で色が変わる */
.dc2-row.r2 { animation: dc2Row 11s infinite; }
@keyframes dc2Row {
  0%, 7% { border-color: var(--border); box-shadow: none; }
  10%, 66% { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
  70%, 88% { border-color: var(--mint-deep); box-shadow: 0 0 0 2px var(--mint-soft); }
  94%, 100% { border-color: var(--border); box-shadow: none; }
}
.st-flip {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--ink-faint);
}
.st-flip u { text-decoration: none; }
.st-flip::after {
  content: "通話済み";
  position: absolute;
  inset: -1px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint-deep);
  color: #fff;
  opacity: 0;
  animation: dc2StFlip 11s infinite;
}
@keyframes dc2StFlip { 0%, 66% { opacity: 0; } 70%, 100% { opacity: 1; } }
.dc2-next { position: relative; }
.dc2-next u { text-decoration: none; }
.dc2-next::after {
  content: "7/25";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  opacity: 0;
  animation: dc2Next 11s infinite;
}
@keyframes dc2Next { 0%, 66% { opacity: 0; } 70%, 100% { opacity: 1; } }
.dc2-panel { opacity: .45; animation: dcDetail 11s infinite; }
.dc2-panel strong { font-size: 12px; }
.dc2-memo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 10px;
  color: var(--ink-mute);
  min-height: 42px;
  line-height: 1.7;
}
.df-type.tm { animation: dc2Memo 11s steps(18, end) infinite; }
@keyframes dc2Memo { 0%, 42% { max-width: 0; } 58%, 100% { max-width: 100%; } }

/* ---------- ListSnap デモ: 一覧を次々に取り込み、件数が増えてCSVへ ---------- */
.demo-listsnap { display: grid; gap: 10px; align-content: center; }
.dl-main { display: grid; grid-template-columns: 1.12fr .88fr; gap: 10px; }
.dl-page, .dl-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 5px;
  align-content: start;
}
.dl-page small, .dl-list small {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: .04em;
}
.dl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 8px;
}
.dl-item div b { display: block; font-size: 10.5px; }
.dl-item div i { font-style: normal; font-size: 8.5px; color: var(--ink-faint); }
.dl-add {
  position: relative;
  flex: none;
  min-width: 30px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.dl-add u { text-decoration: none; }
.dl-add::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  opacity: 0;
}
.dl-add.a1::after { animation: dlA1 11s infinite; }
@keyframes dlA1 { 0%, 6% { opacity: 0; } 7.5%, 100% { opacity: 1; } }
.dl-add.a2::after { animation: dlA2 11s infinite; }
@keyframes dlA2 { 0%, 8% { opacity: 0; } 9.5%, 100% { opacity: 1; } }
.dl-add.a3::after { animation: dlA3 11s infinite; }
@keyframes dlA3 { 0%, 10% { opacity: 0; } 11.5%, 100% { opacity: 1; } }
.dl-add.a4::after { animation: dlA4 11s infinite; }
@keyframes dlA4 { 0%, 12% { opacity: 0; } 13.5%, 100% { opacity: 1; } }
.dl-add.a5::after { animation: dlA5 11s infinite; }
@keyframes dlA5 { 0%, 14% { opacity: 0; } 15.5%, 100% { opacity: 1; } }
.dl-add.a6::after { animation: dlA6 11s infinite; }
@keyframes dlA6 { 0%, 16% { opacity: 0; } 17.5%, 100% { opacity: 1; } }
.dl-count { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dl-speed {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--mint-deep);
  margin-left: 4px;
  opacity: 0;
  animation: dlSpeed 11s infinite;
}
@keyframes dlSpeed {
  0%, 8% { opacity: 0; }
  10% { opacity: 1; }
  38% { opacity: 1; }
  42%, 100% { opacity: 0; }
}
.dl-counter { position: relative; min-width: 52px; height: 18px; }
.dl-counter b {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1px 9px;
  opacity: 0;
  white-space: nowrap;
}
/* 高速カウントアップ: 短い間隔で数字が跳ね上がる */
.dl-counter .c1 { animation: dlC1 11s infinite; }
@keyframes dlC1 { 0%, 9% { opacity: 0; } 10%, 13% { opacity: 1; } 15%, 100% { opacity: 0; } }
.dl-counter .c2 { animation: dlC2 11s infinite; }
@keyframes dlC2 { 0%, 14% { opacity: 0; } 15%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
.dl-counter .c3 { animation: dlC3 11s infinite; }
@keyframes dlC3 { 0%, 19% { opacity: 0; } 20%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
.dl-counter .c4 { animation: dlC4 11s infinite; }
@keyframes dlC4 { 0%, 25% { opacity: 0; } 26%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
.dl-counter .c5 { animation: dlC5 11s infinite; }
@keyframes dlC5 { 0%, 32% { opacity: 0; } 34% { opacity: 1; transform: scale(1.14); } 37%, 100% { opacity: 1; transform: none; } }
.dl-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 10px;
  opacity: 0;
  transform: translateX(-10px);
}
.dl-slot em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 1px 7px;
}
.dl-more {
  justify-content: center;
  background: none;
  border-style: dashed;
  color: var(--ink-faint);
  font-size: 9.5px;
}
.dl-slot.l1 { animation: dlS1 11s ease-out infinite; }
@keyframes dlS1 { 0%, 7% { opacity: 0; transform: translateX(-10px); } 9%, 100% { opacity: 1; transform: none; } }
.dl-slot.l2 { animation: dlS2 11s ease-out infinite; }
@keyframes dlS2 { 0%, 9% { opacity: 0; transform: translateX(-10px); } 11%, 100% { opacity: 1; transform: none; } }
.dl-slot.l3 { animation: dlS3 11s ease-out infinite; }
@keyframes dlS3 { 0%, 11% { opacity: 0; transform: translateX(-10px); } 13%, 100% { opacity: 1; transform: none; } }
.dl-slot.l4 { animation: dlS4 11s ease-out infinite; }
@keyframes dlS4 { 0%, 13% { opacity: 0; transform: translateX(-10px); } 15%, 100% { opacity: 1; transform: none; } }
.dl-slot.l5 { animation: dlS5 11s ease-out infinite; }
@keyframes dlS5 { 0%, 15% { opacity: 0; transform: translateX(-10px); } 17%, 100% { opacity: 1; transform: none; } }
.dl-slot.l6 { animation: dlS6 11s ease-out infinite; }
@keyframes dlS6 { 0%, 17% { opacity: 0; transform: translateX(-10px); } 19%, 100% { opacity: 1; transform: none; } }
.dl-slot.l7 { animation: dlS7 11s ease-out infinite; }
@keyframes dlS7 { 0%, 35% { opacity: 0; transform: translateX(-10px); } 38%, 100% { opacity: 1; transform: none; } }
.dl-csv {
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  opacity: .38;
  animation: dlCsv 11s infinite;
}
@keyframes dlCsv {
  0%, 42% { opacity: .38; box-shadow: none; }
  48%, 94% { opacity: 1; box-shadow: 0 4px 14px rgba(27, 25, 56, .3); }
  100% { opacity: .38; }
}
.dl-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint-deep);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  animation: dlToast 11s infinite;
}
@keyframes dlToast {
  0%, 70% { opacity: 0; transform: translateY(6px); }
  75%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(6px); }
}
.dl-toast s {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--mint-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-decoration: none;
}

/* ---------- カードグリッド(設計思想 / サービス / ステップ) ---------- */
.card-grid { margin-top: 40px; display: grid; gap: 18px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section--alt .info-card { background: var(--bg); box-shadow: none; }
.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.info-card h3 { font-size: 16px; font-weight: 700; margin-top: 12px; }
.info-card p { margin-top: 8px; font-size: 13px; color: var(--ink-mute); }
.info-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- AI implementation (numbered) ---------- */
.why-points { margin-top: 40px; list-style: none; display: grid; gap: 16px; }
.why-points li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.why-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.why-points h3 { font-size: 17px; font-weight: 700; }
.why-points p { margin-top: 6px; font-size: 13px; color: var(--ink-mute); }
.why-lead b { color: var(--ink); }

/* ---------- Philosophy ---------- */
.mvv-list { margin-top: 40px; display: grid; gap: 18px; }
.mvv-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px;
}
.section--alt .mvv-block { background: var(--bg); box-shadow: none; }
.mvv-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 5px 14px;
}
.mvv-block h3 { margin-top: 14px; font-size: 19px; font-weight: 700; }
.mvv-block > p { margin-top: 10px; font-size: 14px; color: var(--ink-mute); }
.mvv-values { margin-top: 14px; list-style: none; display: grid; gap: 10px; }
.mvv-values li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.mvv-values li b { color: var(--ink); }
.mvv-values li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mint-soft);
  border: 4px solid var(--mint);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 24px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--ink-mute);
}
.faq-answer a { color: var(--accent); text-decoration: underline; }

/* ---------- Contact form ---------- */
.contact-card {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 44px);
}
.contact-form-grid { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 13px; font-weight: 700; }
.form-row .req, .form-row .opt {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
}
.form-row .req { color: #b03a5b; background: #fbecf1; }
.form-row .opt { color: var(--ink-faint); background: var(--bg); }
.form-row input, .form-row textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-note { font-size: 12px; color: var(--ink-faint); }
.form-note a { color: var(--accent); text-decoration: underline; }

/* ---------- Closing band (ダークインディゴ角丸バンド) ---------- */
.teal-band { padding: 0 24px clamp(72px, 9vw, 110px); }
.teal-band__inner {
  max-width: 1080px;
  margin: 0 auto;
  background:
    radial-gradient(480px 260px at 82% 0%, rgba(184, 224, 210, .16), transparent 70%),
    radial-gradient(480px 260px at 8% 100%, rgba(64, 81, 216, .28), transparent 70%),
    var(--primary);
  color: var(--on-primary);
  border-radius: 26px;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.teal-band h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
.teal-band p {
  margin: 14px auto 0;
  max-width: 540px;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}
.contact-email {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
}
.contact-email a { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.copy-btn {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .15s ease;
}
.copy-btn:hover { background: var(--mint); }
.copy-btn.copied { background: var(--mint); }
.teal-band .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo { height: 30px; width: auto; border-radius: 6px; }
.footer-tag { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  justify-content: flex-end;
}
.footer-links a:hover { color: var(--ink); }
.footer-links + .footer-links { margin-top: 12px; }
.footer-copy { margin-top: 20px; font-size: 12px; color: var(--ink-faint); text-align: right; }
@media (max-width: 640px) {
  .footer-links { justify-content: flex-start; }
  .footer-copy { text-align: left; }
}

/* ---------- 光線アイコンタイル(全アイコン共通の署名: 斜めの光線が通る) ---------- */
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #232052, #3a3670);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(27, 25, 56, .22);
}
.icon-tile::after {
  content: "";
  position: absolute;
  left: 54%;
  top: -40%;
  width: 18px;
  height: 180%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(184, 224, 210, 0), rgba(184, 224, 210, .7), rgba(184, 224, 210, 0));
  animation: tileRay 5.5s ease-in-out infinite;
}
@keyframes tileRay {
  0%, 55%, 100% { opacity: .25; transform: rotate(24deg) translateX(0); }
  75% { opacity: .95; transform: rotate(24deg) translateX(-16px); }
}
.icon-tile svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card .icon-tile { margin-bottom: 6px; }

/* ---------- 営業ワークフローの流れ(Sales DNA) ---------- */
.flow-strip {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .flow-strip { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}
.flow-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.flow-card small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.flow-card strong { display: block; margin-top: 8px; font-size: 16px; }
.flow-card p { margin-top: 6px; font-size: 12px; color: var(--ink-mute); }
.flow-arrow { align-self: center; display: flex; gap: 5px; }
.flow-arrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  opacity: .2;
  animation: flowPulse 1.8s infinite;
}
.flow-arrow i:nth-child(2) { animation-delay: .3s; }
.flow-arrow i:nth-child(3) { animation-delay: .6s; }
@keyframes flowPulse { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.flow-note { margin-top: 18px; font-size: 12px; color: var(--ink-faint); }

/* ---------- ListSnap ミニモック ---------- */
.mock-rows { display: grid; gap: 6px; }
.mock-rows > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  align-items: center;
}
.mock-rows i { height: 7px; border-radius: 4px; background: var(--border-strong); }
.mock-rows em {
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  background: var(--mint-soft);
  color: var(--mint-deep);
  border-radius: 999px;
  padding: 2px 8px;
}
.mock-csv {
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- Services 動くモック ---------- */
.svc-mock {
  margin-top: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-height: 108px;
  display: grid;
  gap: 8px;
  align-content: center;
  overflow: hidden;
}
/* 1) Chrome拡張: サイドパネルがスッと入る */
.svcm-browser { display: grid; grid-template-columns: 1fr 44%; gap: 8px; }
.svcm-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 78px;
  display: grid;
  gap: 6px;
  padding: 9px;
  align-content: start;
}
.svcm-page i { height: 7px; border-radius: 4px; background: var(--border); }
.svcm-page i:nth-child(2) { width: 72%; }
.svcm-page i:nth-child(3) { width: 84%; }
.svcm-panel {
  background: var(--primary);
  border-radius: 8px;
  padding: 9px;
  display: grid;
  gap: 6px;
  align-content: start;
  animation: panelIn 4.8s ease-in-out infinite;
}
.svcm-panel i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .32); }
.svcm-panel i:first-child { width: 60%; background: var(--mint); }
@keyframes panelIn {
  0%, 10% { transform: translateX(115%); opacity: 0; }
  26%, 82% { transform: none; opacity: 1; }
  96%, 100% { transform: translateX(115%); opacity: 0; }
}
/* 2) AIツール: 下書きがタイプされていく */
.svcm-type { display: grid; gap: 8px; }
.svcm-type i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--border-strong);
  transform-origin: left;
  animation: typeGrow 4.4s ease-in-out infinite;
}
.svcm-type i:nth-child(1) { width: 92%; }
.svcm-type i:nth-child(2) { width: 76%; animation-delay: .5s; }
.svcm-type i:nth-child(3) { width: 58%; background: var(--mint); animation-delay: 1s; }
.svcm-type i:nth-child(4) { width: 40%; animation-delay: 1.4s; }
@keyframes typeGrow {
  0% { transform: scaleX(0); }
  32%, 84% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
/* 3) 導入支援: チェックが順番に入る */
.svcm-check { display: grid; gap: 8px; }
.svcm-check div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-mute);
}
.svcm-check s {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  text-decoration: none;
  animation: checkOn 6s infinite;
}
.svcm-check div:nth-child(2) s { animation-delay: 1s; }
.svcm-check div:nth-child(3) s { animation-delay: 2s; }
@keyframes checkOn {
  0%, 8% { background: transparent; border-color: var(--border-strong); }
  18%, 88% { background: var(--mint-deep); border-color: var(--mint-deep); }
  100% { background: transparent; border-color: var(--border-strong); }
}
/* 4) Webサービス: 画面ブロックが組み上がる */
.svcm-stack { display: grid; gap: 6px; }
.svcm-stack i {
  height: 17px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  animation: blockIn 5.2s ease-in-out infinite;
}
.svcm-stack i:nth-child(2) { animation-delay: .45s; }
.svcm-stack i:nth-child(3) {
  animation-delay: .9s;
  background: var(--mint-soft);
  border-color: var(--mint);
}
@keyframes blockIn {
  0% { opacity: 0; transform: translateY(9px); }
  20%, 84% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(9px); }
}

/* ---------- 開発依頼コールアウト ---------- */
.dev-callout {
  margin-top: 40px;
  background:
    radial-gradient(420px 220px at 88% 0%, rgba(184, 224, 210, .18), transparent 70%),
    radial-gradient(420px 220px at 4% 100%, rgba(64, 81, 216, .3), transparent 70%),
    var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .dev-callout { grid-template-columns: 1fr; }
}
.dev-callout h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; }
.dev-callout p { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.dev-callout .btn { white-space: nowrap; }

/* ---------- Reveal motion (script.js 連携) ---------- */
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.motion-ready .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .stripes span,
  .hero-neural .node,
  .hero-neural .beam,
  .stage-rays span,
  .stage-beams .beam,
  .stage-core span,
  .stage-node,
  .icon-tile::after,
  .flow-arrow i,
  .svcm-panel,
  .svcm-type i,
  .svcm-check s,
  .svcm-stack i,
  .demo-formai, .demo-callai, .demo-listsnap,
  .demo-formai *, .demo-callai *, .demo-listsnap *,
  .demo-formai *::before, .demo-callai *::before, .demo-listsnap *::before,
  .demo-formai *::after, .demo-callai *::after, .demo-listsnap *::after { animation: none; }
  /* デモは完了状態で静止表示 */
  .df-type { max-width: 100% !important; }
  .df-ok { transform: translateY(-50%) scale(1); }
  .df-badge, .df-send i { opacity: 1; }
  .df-send b { opacity: 1; }
  .df-step.s3 { background: var(--mint-soft); color: var(--mint-deep); border-color: var(--mint-deep); }
  .dc-detail { opacity: 1; }
  .dc-row.r2 { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
  .dc-chip.done { background: var(--mint-deep); color: #fff; border-color: var(--mint-deep); }
  .dc-chip.recall, .dc-toast, .dl-toast { opacity: 1; transform: none; }
  .dc2-panel { opacity: 1; }
  .st-flip::after, .dc2-next::after { opacity: 1; }
  .dl-add::after { opacity: 1; }
  .dl-slot { opacity: 1; transform: none; }
  .dl-speed { opacity: 0; }
  .dl-counter .c1, .dl-counter .c2, .dl-counter .c3, .dl-counter .c4 { opacity: 0; }
  .dl-counter .c5 { opacity: 1; }
  .dl-csv { opacity: 1; }
  .svcm-panel { transform: none; opacity: 1; }
  .svcm-type i { transform: none; }
  .svcm-check s { background: var(--mint-deep); border-color: var(--mint-deep); }
  .svcm-stack i { opacity: 1; transform: none; }
}

/* ============================================================
   下層ページ(会社概要・特商法・プライバシーポリシー)
   骨格はトップと共通。会社概要のみ光線モチーフを効かせる
   ============================================================ */
.subhero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 clamp(48px, 6vw, 76px);
  background: linear-gradient(180deg, #eef1fa 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--border);
}
.subhero .container { position: relative; z-index: 1; }
.subhero h1 {
  margin-top: 10px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.24;
}
.subhero .lead {
  margin-top: 16px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-mute);
}
.subhero .btn { margin-top: 26px; }
/* 法務ページは情報が主役なので控えめに(光線なし・余白も浅く) */
.subhero--plain { padding: 124px 0 clamp(36px, 4vw, 52px); background: var(--surface); }

/* 会社概要ヒーローの光線(トップの .stripes と同じ視覚言語の静かな版) */
.subhero-rays { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.subhero-rays span {
  position: absolute;
  top: -30%;
  height: 160%;
  transform: rotate(17deg);
  filter: blur(1px);
  animation: subheroSway 12s ease-in-out infinite;
}
.subhero-rays span:nth-child(1) {
  right: 12%; width: 116px;
  background: linear-gradient(180deg, rgba(184, 224, 210, 0), rgba(184, 224, 210, .5), rgba(184, 224, 210, 0));
}
.subhero-rays span:nth-child(2) {
  right: 25%; width: 52px; animation-delay: -4s;
  background: linear-gradient(180deg, rgba(64, 81, 216, 0), rgba(64, 81, 216, .16), rgba(64, 81, 216, 0));
}
.subhero-rays span:nth-child(3) {
  right: 4%; width: 30px; animation-delay: -8s;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
@keyframes subheroSway {
  0%, 100% { opacity: .55; transform: rotate(17deg) translateX(0); }
  50% { opacity: 1; transform: rotate(17deg) translateX(-22px); }
}

/* ---------- 会社概要: 由来 × 会社情報カード ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }
.about-story p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-mute);
  max-width: 560px;
}
.about-story strong { color: var(--ink); font-weight: 600; }

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
/* カード上辺に光線を1本通す(ブランド署名) */
.profile-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--accent));
}
.profile-card dl { display: grid; grid-template-columns: 88px 1fr; gap: 0; }
.profile-card dt {
  padding: 14px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: .04em;
  border-top: 1px solid var(--border);
}
.profile-card dd {
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.85;
  border-top: 1px solid var(--border);
}
.profile-card dt:first-of-type, .profile-card dd:nth-of-type(1) { border-top: 0; }
.profile-card dd a { color: var(--accent); text-decoration: underline; }
@media (max-width: 480px) {
  .profile-card dl { grid-template-columns: 1fr; }
  .profile-card dt { padding-bottom: 0; border-top: 1px solid var(--border); }
  .profile-card dd { padding-top: 4px; border-top: 0; }
  .profile-card dt:first-of-type { border-top: 0; }
}

/* ---------- 会社概要: 事業内容3枚 ---------- */
.biz-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .biz-grid { grid-template-columns: 1fr; } }
.biz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-card);
}
.biz-card h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.biz-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--ink-mute); }

/* ---------- 法務ページ本文(特商法・プライバシーポリシー) ---------- */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-mute);
}
.legal-body h2 {
  margin: 44px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-top: 10px; }
.legal-body ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal-body ul li { position: relative; padding-left: 18px; }
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint-deep);
}
.legal-body a { color: var(--accent); text-decoration: underline; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body dl {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-body dt {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.legal-body dd {
  padding: 16px 20px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.legal-body dt:first-of-type, .legal-body dd:nth-of-type(1) { border-top: 0; }
@media (max-width: 620px) {
  .legal-body dl { grid-template-columns: 1fr; }
  .legal-body dt { border-top: 1px solid var(--border); }
  .legal-body dd { border-top: 0; background: var(--surface); }
  .legal-body dt:first-of-type { border-top: 0; }
}
.legal-body .updated {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--ink-faint);
}
@media (prefers-reduced-motion: reduce) {
  .subhero-rays span { animation: none; }
}
/* 法務ページ本文は見出し直下から読ませる(上余白を浅く) */
.section--legal { padding-top: clamp(40px, 5vw, 62px); }
