/* =========================================================
   AI動画CM ― 黒基調・動きの多いページ
   色：黒 × 白 × DDPARKの緑（アクセントは1色だけ。光は控えめ）
   ========================================================= */

:root {
  --bg: #0A0A0A;
  --surface: #121212;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.10);
  --text: #F5F5F5;
  --muted: #A3A3A3;
  --sub: #CFCFCF;

  --accent: #41B79C;          /* DDPARKの緑 */
  --accent-rgb: 65, 183, 156;
  --accent-hover: #5ACBB0;
  --on-accent: #06110E;       /* 緑の上にのせる文字の色 */
  --glow: 0.6;                /* 光の強さ（1で強め） */

  --font-en: "Unbounded", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  transition: background 0.4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

.todo {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed #FF7A59;
  border-radius: 6px;
  background: rgba(255, 122, 89, 0.12);
  color: #FFB199;
  font-size: 0.85em;
  font-weight: 700;
}

/* マウスに追従する光（PCのみ） */
.cursor-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--accent-rgb), calc(0.06 * var(--glow))), transparent 60%);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; flex-shrink: 0; } /* マークは仮。img/service-logo/ai-cm.svg を上書きすれば差しかわる */
.brand__name { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.brand__sub { font-family: var(--font-en); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-jp); font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
}
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.btn--neon { background: var(--accent); color: var(--on-accent); border-color: var(--accent); animation: pulse 2.6s infinite; }
.btn--neon:hover { background: var(--accent-hover); box-shadow: 0 0 40px rgba(var(--accent-rgb), calc(0.4 * var(--glow))); }
.site-nav .btn { padding: 8px 18px; font-size: 14px; color: var(--accent); border-color: rgba(var(--accent-rgb), 0.5); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), calc(0.4 * var(--glow))); }
  70% { box-shadow: 0 0 0 18px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100vh; padding: 120px 0 80px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(100px); }
.orb--1 { width: 520px; height: 520px; background: var(--accent); opacity: calc(0.16 * var(--glow)); top: -160px; left: -140px; animation: drift1 16s ease-in-out infinite alternate; }
.orb--2 { width: 460px; height: 460px; background: #FFFFFF; opacity: 0.06; bottom: -180px; right: 10%; animation: drift2 18s ease-in-out infinite alternate; }
.orb--3 { width: 360px; height: 360px; background: var(--accent); opacity: calc(0.10 * var(--glow)); top: 30%; right: -140px; animation: drift3 14s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-200px, -80px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-140px, 140px) scale(1.2); } }
.grid-floor {
  position: absolute; z-index: -1; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 3s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero__ghost {
  position: absolute; z-index: -1; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(90px, 17vw, 260px);
  line-height: 0.9; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.rec { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 12px #FF3B3B; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hero__title { margin: 24px 0 24px; font-weight: 900; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.12; letter-spacing: -0.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s cubic-bezier(.2,.7,.1,1) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
/* アクセント色の文字に、光がすっと走る */
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 42%, #FFFFFF 50%, var(--accent) 58%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -100% 0; } }
.hero__lead { max-width: 34em; color: var(--sub); font-size: 17px; margin-bottom: 32px; opacity: 0; animation: fadeIn 1s 0.5s forwards; }
.hero .btn-row { opacity: 0; animation: fadeIn 1s 0.7s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* スマホの枠（作例のCMを流す） */
.monitor-wrap { position: relative; justify-self: center; opacity: 0; animation: fadeIn 1.2s 0.4s forwards; }
.phone {
  position: relative;
  width: min(300px, 72vw);
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3A3A3A 0%, #141414 38%, #050505 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(var(--accent-rgb), calc(0.16 * var(--glow)));
  transform: perspective(1000px) rotateY(-10deg) rotateX(4deg);
  transition: transform 0.4s;
}
/* 正面を向くのは「マウスが乗っている間」と「キーボードで選んでいる間」だけ。
   クリック後のフォーカスや、スマホのタップでは向きを変えない */
@media (hover: hover) { .phone:hover { transform: perspective(1000px) rotateY(0) rotateX(0); } }
.phone:has(:focus-visible) { transform: perspective(1000px) rotateY(0) rotateX(0); }
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: #2C2C2C; }
.phone__btn--power { right: -3px; top: 26%; height: 64px; }
.phone__btn--vol1 { left: -3px; top: 20%; height: 40px; }
.phone__btn--vol2 { left: -3px; top: calc(20% + 52px); height: 40px; }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; background: #000; }
.phone__screen::after { /* 画面の反射 */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 35%);
}
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__island { position: absolute; z-index: 2; top: 10px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; border-radius: 999px; background: #000; }
/* 音のボタン（ファーストビューのスマホと、作例の動画で共通） */
.sound-btn {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF; font-family: var(--font-jp); font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sound-btn:hover { border-color: var(--accent); }
.sound-btn svg { display: none; }
.sound-btn[data-state="muted"] .i-muted,
.sound-btn[data-state="sound"] .i-sound,
.sound-btn[data-state="paused"] .i-play { display: block; }
.sound-btn[data-state="sound"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.badge-15 {
  position: absolute; right: -36px; top: 18%;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-en); font-weight: 900; font-size: 30px; line-height: 0.9;
  box-shadow: 0 0 40px rgba(var(--accent-rgb), calc(0.45 * var(--glow)));
  animation: spinIn 1s 0.9s backwards, bob 4s 2s ease-in-out infinite;
}
.badge-15 small { display: block; font-size: 10px; letter-spacing: 0.1em; margin-top: 6px; }
@keyframes spinIn { from { transform: scale(0) rotate(-180deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- マーキー ---------- */
.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line); background: #0F0F0F; overflow: hidden; padding: 18px 0; }
.marquee + .marquee { border-top: none; background: var(--accent); color: var(--on-accent); transform: rotate(-1.2deg); margin: -6px 0 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 34s; }
.marquee__track span { padding: 0 28px; font-family: var(--font-en); font-weight: 800; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: 0.04em; white-space: nowrap; }
.marquee__track span.jp { font-family: var(--font-jp); font-weight: 900; }
.marquee__track span::after { content: "✦"; margin-left: 56px; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
.section { position: relative; z-index: 1; padding: 120px 0; }
.eyebrow { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: var(--accent); }
.section-title { margin-top: 14px; font-weight: 900; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; letter-spacing: -0.01em; }
.section-lead { margin-top: 18px; max-width: 640px; color: var(--muted); }
.section-head { margin-bottom: 56px; }

/* スクロールで出てくる（JSが動くときだけ隠す。JSが止まっても中身は見える） */
.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 0.9s, transform 0.9s cubic-bezier(.2,.7,.1,1), filter 0.9s; transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- 使える場所 ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.glow-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.glow-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 0%), rgba(var(--accent-rgb), calc(0.14 * var(--glow))), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.glow-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.4); }
.glow-card:hover::before { opacity: 1; }
.frame__chip { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 3px 10px; white-space: nowrap; border-radius: 999px; background: rgba(0, 0, 0, 0.6); font-family: var(--font-en); font-size: 10px; letter-spacing: 0.14em; }

/* 縦長の画面（スマホ2台と、縦長のサイネージ） */
.use__stage { height: 400px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 22px; }
.use__device {
  position: relative; width: 196px; padding: 7px; border-radius: 30px;
  background: linear-gradient(145deg, #3A3A3A 0%, #141414 38%, #050505 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), 0 24px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s;
}
.glow-card:hover .use__device { transform: translateY(-6px) rotate(-1.5deg); }
.use__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 23px; overflow: hidden; background: #000; }
.use__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.use__screen::after { /* 画面の反射 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 32%);
}
.use__island { position: absolute; z-index: 2; top: 7px; left: 50%; transform: translateX(-50%); width: 30%; height: 15px; border-radius: 999px; background: #000; }
.use__device .frame__chip { top: 28px; left: 10px; font-size: 9px; }
/* SNSのボタン（右の列）と、下の投稿者・文字 */
.use__ui { position: absolute; z-index: 2; right: 8px; bottom: 44px; display: grid; gap: 12px; color: #FFF; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)); }
.use__ui svg { width: 20px; height: 20px; }
.use__caption { position: absolute; z-index: 2; left: 10px; right: 44px; bottom: 16px; display: flex; align-items: center; gap: 6px; }
.use__caption i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.use__caption b { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 9px 0 -1px rgba(255, 255, 255, 0.4); }
.use__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.25); }
.use__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: useBar 6s linear infinite; }
@keyframes useBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.use__screen::before { /* 下を少し暗くして、文字を読みやすく */
  content: ""; position: absolute; z-index: 1; inset: 50% 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
/* 縦長のサイネージ（細い枠＋スタンド） */
.use__device--signage { width: 176px; margin-bottom: 64px; padding: 8px; border-radius: 8px; }
.use__device--signage .use__screen { border-radius: 3px; }
.use__device--signage .use__screen::before { display: none; }
.use__device--signage .frame__chip { top: 10px; }
.use__device--signage::before { /* 柱 */
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 14px; height: 56px; background: linear-gradient(90deg, #1A1A1A, #3A3A3A 50%, #1A1A1A);
}
.use__device--signage::after { /* 台 */
  content: ""; position: absolute; left: 50%; top: calc(100% + 54px); transform: translateX(-50%);
  width: 110px; height: 10px; border-radius: 5px; background: linear-gradient(#3A3A3A, #141414);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}
.card-title { font-weight: 900; font-size: 20px; line-height: 1.4; }
.card-text { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { padding: 40px 32px; background: var(--surface); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-en); font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: 1; color: var(--text); }
.stat__num small { font-family: var(--font-jp); font-size: 0.32em; font-weight: 900; margin-left: 6px; color: var(--accent); }
.stat p { margin-top: 12px; color: var(--muted); }

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; }
.plan__tag { align-self: flex-start; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.plan__name { font-weight: 900; font-size: 24px; }
.plan__spec { font-family: var(--font-en); font-weight: 800; font-size: 28px; color: var(--accent); }
.plan__desc { color: var(--sub); font-size: 15px; }
.plan__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 900; font-size: 20px; }
.plan__note { color: var(--muted); font-size: 13px; }
.plan__notes { display: grid; gap: 4px; align-content: start; min-height: 5.6em; } /* 3枚の料金の高さをそろえる */
.plan__price { font-family: var(--font-en); font-size: 34px; line-height: 1.2; }
.plan__price small { margin-left: 4px; font-family: var(--font-jp); font-size: 16px; }
.plan__price span { display: block; margin-top: 4px; font-family: var(--font-jp); font-size: 13px; font-weight: 700; color: var(--muted); }
/* おすすめプラン：枠をアクセント色の光がぐるっと回る */
.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    conic-gradient(from var(--angle, 0deg), var(--accent), transparent 25%, transparent 75%, var(--accent)) border-box;
  animation: spinBorder 5s linear infinite;
}
.plan--featured .plan__tag { color: var(--accent); }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --angle: 360deg; } }

/* ---------- 進め方（タイムライン） ---------- */
.timeline { position: relative; padding-left: 64px; max-width: 820px; }
.timeline__list { display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__bar { position: absolute; left: 21px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), calc(0.6 * var(--glow))); }
.tl-item { position: relative; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tl-item::before {
  content: attr(data-num);
  position: absolute; left: -64px; top: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--accent);
  font-family: var(--font-en); font-weight: 800; font-size: 14px; color: var(--accent);
}
.tl-item h3 { font-size: 18px; font-weight: 900; }
.tl-item p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- 準備・注意 ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 36px; }
.panel h3 { font-size: 22px; font-weight: 900; margin: 10px 0 16px; }
.check { display: grid; gap: 10px; }
.check li { position: relative; padding-left: 30px; color: var(--sub); }
.check li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 16px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- AIだからできる理由（料金の前） ---------- */
.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-point { padding: 30px 28px; }
.why-point__no { font-family: var(--font-en); font-weight: 900; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px; }
.why-point .card-text { margin-top: 10px; font-size: 15px; color: var(--sub); }

/* 図解1：作り方のちがい */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 56px; }
.compare__col { height: 100%; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare__col--ai { border-color: rgba(var(--accent-rgb), 0.55); background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), var(--surface) 55%); box-shadow: 0 0 50px rgba(var(--accent-rgb), calc(0.12 * var(--glow))); }
.compare__label { font-weight: 900; font-size: 22px; line-height: 1.3; margin-bottom: 18px; }
.compare__label small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); margin-bottom: 4px; }
.compare__col--ai .compare__label small { color: var(--accent); }
.compare__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.compare__steps li {
  counter-increment: step;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  font-size: 15px; font-weight: 700;
}
.compare__steps li::before { content: counter(step); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); font-family: var(--font-en); font-size: 11px; }
.compare__steps li span { margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.compare__steps .is-cut { color: var(--muted); border-style: dashed; background: none; }
.compare__steps .is-cut span { border: 1px solid rgba(var(--accent-rgb), 0.6); color: var(--accent); }
.compare__steps .is-new { border-color: rgba(var(--accent-rgb), 0.55); background: rgba(var(--accent-rgb), 0.08); }
.compare__steps .is-new::before { background: var(--accent); color: var(--on-accent); }
.compare__steps .is-new span { background: var(--accent); color: var(--on-accent); }
.compare__steps { margin-bottom: 20px !important; }
.compare__price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 900; font-size: 30px; line-height: 1.3; }
.compare__price small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.compare__price span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.compare__col--ai .compare__price { color: var(--accent); }
.compare__price a { color: var(--text); margin-left: 6px; }
.compare__price a:hover { color: var(--accent); }
.compare__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 30px rgba(var(--accent-rgb), calc(0.4 * var(--glow))); }

/* 図解2：110万円が8万円になるまで（同じものさしの帯グラフ） */
.cost { margin-top: 24px; padding: 32px; }
.cost__title { font-weight: 900; font-size: 22px; }
.cost__sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.cost__rows { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; align-items: center; margin-top: 28px; }
.cost__name { font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.cost__name b { display: block; font-size: 22px; font-weight: 900; color: var(--text); }
.cost__name--us { color: var(--accent); }
.cost__name--us b { color: var(--accent); }
.cost__bar { display: flex; gap: 3px; height: 46px; }
.cost__bar .seg { flex: var(--w) 1 0; min-width: 0; position: relative; display: grid; place-items: center; }
.cost__bar .seg:first-child { border-radius: 10px 0 0 10px; }
.cost__bar .seg:last-child { border-radius: 0 10px 10px 0; }
.cost__bar .seg i { font-style: normal; font-weight: 900; font-size: 15px; color: #FFF; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.seg--1 { background: repeating-linear-gradient(-45deg, #4A4A4A 0 7px, #3A3A3A 7px 14px); }
.seg--2 { background: repeating-linear-gradient(-45deg, #414141 0 4px, #333 4px 8px); }
.seg--3 { background: #555; }
.cost__bar--us .seg--us { flex-grow: 0; flex-basis: calc(8 / 110 * 100%); min-width: 26px; border-radius: 10px; background: var(--accent); box-shadow: 0 0 24px rgba(var(--accent-rgb), calc(0.5 * var(--glow))); }
.cost__bar--us .seg--empty { border-radius: 0 10px 10px 0; border: 1px dashed var(--line); background: none; }
.cost__reasons { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cost__reason { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.cost__reason--3 { border-color: rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.07); }
.cost__what { font-weight: 900; font-size: 16px; line-height: 1.4; }
.cost__what i { font-style: normal; color: var(--accent); margin-right: 6px; }
.cost__what small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cost__how { font-weight: 900; font-size: 22px; color: var(--accent); }
.cost__how s { font-size: 15px; font-weight: 700; color: var(--muted); }
.cost__why { color: var(--sub); font-size: 14px; }
.why-source { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.why-source a { color: var(--muted); }
.why-source a:hover { color: var(--accent); }

/* ---------- 作例 ---------- */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: 32px; }
.reels--4 { grid-template-columns: repeat(4, minmax(0, 270px)); gap: 24px; } /* 4本のとき */
.reel { min-width: 0; }
.reel__screen {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: #000;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.reel:hover .reel__screen { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.5); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--accent-rgb), calc(0.18 * var(--glow))); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.reel__chip { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; }
.reel__body { padding: 18px 4px 0; }
.reel__meta { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.reel__meta span { font-family: var(--font-jp); letter-spacing: 0.04em; }
.reel .card-title { margin-top: 6px; }
.reel__purpose { margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--accent); font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; }
.nw { display: inline-block; } /* 言葉の途中で改行しない */
.reels-hint { display: none; margin-top: 4px; color: var(--muted); font-size: 13px; }

/* ---------- よくある質問 ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), 0.4); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 60px 22px 26px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 26px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; z-index: 1; padding: 140px 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta .orb--2 { left: 50%; bottom: -280px; transform: translateX(-50%); background: var(--accent); opacity: calc(0.14 * var(--glow)); animation: none; }
.cta__big { font-family: var(--font-en); font-weight: 900; font-size: clamp(34px, 7vw, 104px); line-height: 1; letter-spacing: -0.02em; }
.cta__jp { margin: 22px 0 36px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; }
.cta .btn-row { justify-content: center; }

/* ---------- フッター ---------- */
.site-footer { position: relative; z-index: 1; padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--accent); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; }
  .monitor-wrap { margin-top: 12px; }
  .use__stage { height: 330px; }
  .use__device { width: 158px; }
  .use__device--signage { width: 142px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .why-point { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .why-point__no { grid-row: span 2; margin: 0; font-size: 34px; }
  .compare { grid-template-columns: 1fr; gap: 14px; }
  .compare__arrow { justify-self: center; transform: rotate(90deg); width: 44px; height: 44px; }
  .cost__reasons { grid-template-columns: 1fr; }
  .cost__reason { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
  .cost__why { grid-column: 1 / -1; }
  /* 作例は横にスワイプして見る */
  .reels {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 40%); justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 16px; scroll-padding-inline: var(--gutter); gap: 16px;
    scrollbar-width: thin; scrollbar-color: rgba(var(--accent-rgb), 0.5) transparent;
  }
  .reel { scroll-snap-align: start; }
  .reels-hint { display: block; }
  .two { grid-template-columns: 1fr; }

  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.04);
    color: var(--text); font-family: var(--font-jp); font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 16px; height: 2px; background: var(--text); position: relative; }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -5px; } .nav-toggle__bar::after { top: 5px; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 16px var(--gutter) 24px; background: rgba(10, 10, 10, 0.96); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 16px; font-size: 16px; color: var(--text); }
  .site-nav .btn { margin-top: 8px; }
}
@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .uses, .plans { grid-template-columns: 1fr; }
  .why-point { grid-template-columns: 1fr; padding: 24px 22px; }
  .why-point__no { grid-row: auto; margin-bottom: 12px; font-size: 30px; }
  .compare__col { padding: 22px 18px; }
  .compare__steps li { font-size: 14px; padding: 10px 12px; }
  .compare__price { font-size: 26px; }
  .cost { padding: 24px 20px; }
  .cost__title { font-size: 19px; }
  .cost__rows { grid-template-columns: 1fr; gap: 6px; }
  .cost__rows .cost__name { display: flex; justify-content: space-between; align-items: baseline; }
  .cost__name b { display: inline; font-size: 18px; }
  .cost__name--us { margin-top: 10px; }
  .cost__bar { height: 36px; }
  .cost__how { font-size: 19px; }
  .cost__reason { display: flex; padding: 18px; } /* スマホは縦に積む */
  .plan__notes { min-height: 0; } /* 1列なので高さをそろえなくてよい */
  .reels { grid-auto-columns: 74%; }
  .reel .card-title { font-size: 17px; } /* 「タクセン家「ソファーの山」」を1行に収める */
  /* スマホでは、画面を左・文を右に並べて短くする */
  .use { display: grid; grid-template-columns: 112px 1fr; column-gap: 18px; align-items: center; }
  .use__stage { grid-row: span 2; height: auto; margin: 0; }
  .use__device { width: 104px; padding: 4px; border-radius: 18px; }
  .use__screen { border-radius: 14px; }
  .use__island { top: 4px; height: 9px; }
  .use__device .frame__chip { display: none; } /* 小さすぎて読めないので、横の見出しにまかせる */
  .use__ui { right: 4px; bottom: 26px; gap: 7px; }
  .use__ui svg { width: 12px; height: 12px; }
  .use__caption { left: 6px; right: 24px; bottom: 9px; gap: 4px; }
  .use__caption i { width: 10px; height: 10px; }
  .use__caption b { height: 4px; box-shadow: 0 6px 0 -1px rgba(255, 255, 255, 0.4); }
  .use__device--signage { width: 92px; margin-bottom: 30px; padding: 4px; border-radius: 5px; }
  .use__device--signage::before { width: 8px; height: 26px; }
  .use__device--signage::after { top: calc(100% + 24px); width: 64px; height: 6px; }
  .use .card-title { align-self: end; }
  .use .card-text { align-self: start; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .badge-15 { right: -30px; top: 6%; width: 76px; height: 76px; font-size: 22px; } /* 動画の文字にかぶらないよう、上の端へ */
  .badge-15 small { font-size: 8px; }
  .btn { width: 100%; }
  .site-nav .btn { width: auto; }
  .timeline { padding-left: 56px; }
  .tl-item::before { left: -56px; width: 40px; height: 40px; }
  .timeline::before, .timeline__bar { left: 19px; }
  .brand__sub { display: none; }
}

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__title .line > span { transform: none; }
  .hero__lead, .hero .btn-row, .monitor-wrap { opacity: 1; }
  .marquee__track { transform: none; }
  .grad { background: none; color: var(--accent); }
}
