/* ================================================================
   CS Analytics — service site  (v2: karte品質語彙で全面刷新)
   語彙: 角丸48pxスラブ遷移 / ステージパネル右断ち落とし / 角丸四角
   コンフェッティ / kicker(ドット+Outfit英字) / 弧・ブロブ・多色グロー禁止
   Type: Zen Kaku Gothic New 700/900 (palt) + Noto Sans JP + Outfit
   ================================================================ */

/* 見出し・ボタンの数字だけ Outfit にする（見出し用の和文書体は数字の幅が狭い） */
@font-face {
  font-family: "HeadDigits"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format("woff2");
  unicode-range: U+0030-0039;
}

:root {
  --ink: #14211C;
  --ink-soft: rgba(15, 30, 25, 0.72);
  --mute: #93A29C;
  --white: #FFFFFF;
  --bg-gray: #F3F7F5;
  --stage: #E4F1ED;
  --teal: #0E9488;
  --teal-deep: #0B6F65;
  --teal-pale: #E1F1EE;
  --amber: #DFA43C;
  --dark: #08211D;
  --line: #E2EAE7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --r-card: 16px;
  --r-slab: 48px;
  --shadow-card: 0 24px 60px rgba(9, 22, 14, 0.10);
  --shadow-deep: 0 32px 80px -20px rgba(8, 33, 29, 0.28);
  --font-head: "HeadDigits", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Outfit", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 2;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.nb { display: inline-block; }

h2 { font-size: clamp(30px, 3.4vw, 44px); }
.sec-title { margin-bottom: 28px; }

/* ---------- kicker ---------- */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 2.5px;
  background: var(--teal);
}
.hero-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .06em;
  color: var(--teal-deep); margin-bottom: 20px;
}
.kicker-light { color: rgba(255, 255, 255, 0.66); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 26px -10px rgba(14, 148, 136, 0.55); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-outline { border-color: #C9D6D2; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--teal-deep); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35); }
.btn-header { padding: 13px 26px; font-size: 13.5px; background: var(--teal); color: #fff; }
.btn-header:hover { background: var(--teal-deep); }
.btn-lg { padding: 20px 42px; font-size: 15.5px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 234, 231, 0.7);
}
.header-inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.gnav { margin-left: auto; display: flex; gap: 32px; }
.btn-header { flex: none; }
.gnav a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.gnav a:hover { color: var(--teal-deep); }

/* ---------- confetti (角丸四角。ブランドのドットグリッドの翻訳) ---------- */
.cf {
  position: absolute; z-index: 4; pointer-events: none;
  border-radius: 4px;
  animation: cfFloat 7s ease-in-out infinite;
}
@keyframes cfFloat { 50% { transform: translateY(-12px) rotate(10deg); } }

/* ================= HERO ================= */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 33fr);
  align-items: center;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 120px;
}
.hero h1 {
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.3;
  margin-bottom: 26px;
}
.hero-lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 40px; line-height: 2.15; }
.hero-lead:has(+ .hero-note) { margin-bottom: 18px; }
.hero-note { font-size: 13px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 36px; }
.hero-cta { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; margin-bottom: 48px; }
.hero-dl { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-dl:hover { color: var(--teal-deep); }
.hero-facts { display: flex; list-style: none; }
.hero-facts li {
  font-family: var(--font-head);
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  padding: 0 24px; line-height: 1.5;
  border-left: 1px solid var(--line);
}
.hero-facts li:first-child { padding-left: 0; border-left: none; }
.hero-facts { flex-wrap: wrap; row-gap: 10px; }
.hero-facts li { white-space: nowrap; padding: 0 18px; }
.hf-os { display: flex; align-items: center; gap: 14px; }
.hf-os-i { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-num); font-weight: 600; font-size: 14px; letter-spacing: .01em; color: var(--ink); }
.hf-os-t { margin-left: -6px; }
.hf-os .os { flex: none; width: 13px; height: 13px; color: var(--ink); }
.hf-os .os-mac { width: 16px; height: 16px; margin-top: -2px; }

/* hero visual — 画面写真の後ろに、ぼかした光を広げる（緑の台は 2026-11-11 に廃止） */
.hero-visual { position: relative; min-width: 0; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -190px; bottom: -200px; left: -460px; right: -34vw;
  /* ヒーローの上端・下端で光が切れて見えないよう、上下だけぼかして消す */
  -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 20%, #000 78%, transparent 93%);
          mask-image: linear-gradient(180deg, transparent 6%, #000 20%, #000 78%, transparent 93%);
  background:
    radial-gradient(560px 460px at 593px 36%, rgba(14, 148, 136, .66), transparent 70%),
    radial-gradient(640px 430px at 1060px 60%, rgba(223, 164, 60, .52), transparent 72%),
    radial-gradient(560px 420px at 1250px 20%, rgba(76, 159, 212, .62), transparent 70%);
  filter: blur(36px);
}

.app-frame {
  position: relative; z-index: 2;
  width: min(53vw, 900px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 36px 90px -24px rgba(8, 33, 29, .36);
  overflow: hidden;
}
.app-frame-bar {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  background: #F1F6F4;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.app-frame-shot { width: 100%; }

/* ticker — 主役ギミック「毎日の差分検知」 */
.ticker {
  position: absolute;
  left: -52px; bottom: -20px;
  z-index: 3;
  width: 312px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px 8px;
}
.ticker-title {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.14em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.ticker-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 2.5px;
  background: var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.ticker-window { height: 156px; overflow: hidden; position: relative; }
.ticker-window::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; z-index: 1;
  background: linear-gradient(#fff, transparent);
}
.ticker-window::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
  background: linear-gradient(transparent, #fff);
}
.ticker-list { list-style: none; animation: tickerloop 15s linear infinite; }
.ticker-list li {
  height: 52px; display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}
.ticker-list li span { margin-left: auto; color: var(--ink-soft); font-family: var(--font-num); font-weight: 600; font-size: 12px; }
.tk {
  flex: none; font-family: var(--font-head); font-size: 10.5px; font-weight: 700; font-style: normal;
  padding: 4px 8px; border-radius: 5px; line-height: 1;
}
.tk-sold { background: rgba(14, 148, 136, 0.12); color: var(--teal-deep); }
.tk-price { background: rgba(223, 164, 60, 0.16); color: #9A6A1E; }
.tk-new { background: rgba(18, 36, 32, 0.08); color: var(--ink); }
.tk-rank { background: rgba(59, 91, 219, 0.1); color: #3B5BDB; }
@keyframes tickerloop { from { transform: translateY(0); } to { transform: translateY(-312px); } }

/* ================= SLAB遷移（角丸48pxの全幅スラブ。弧は使わない） ================= */
.slab {
  position: relative; z-index: 2;
  background: var(--bg-gray);
  border-radius: var(--r-slab) var(--r-slab) 0 0;
  margin-top: calc(-1 * var(--r-slab));
}
.slab-white { background: var(--white); }
.slab-dark { background: var(--dark); color: #fff; }

/* ================= PROBLEM ================= */
.problem { padding: 80px 0 168px; background: var(--white); }
.problem-inner {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 80px;
  align-items: start;
}
.problem h2 { margin-bottom: 30px; }
.problem-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 34em; }
.problem-feed {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden; margin-top: 14px;
}
.pf-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--bg-gray);
}
.pf-head-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.pf-head-date { font-size: 12px; color: var(--mute); }
.problem-feed ul { list-style: none; }
.problem-feed li:last-child { border-bottom: none; }
.problem-feed li {
  display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 14px;
  align-items: start; padding: 15px 22px 16px; border-bottom: 1px solid var(--line);
}
.pf-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.pf-sold { background: var(--mute); }
.pf-cut { background: var(--teal); }
.pf-new { background: #4C9FD4; }
.pf-rank { background: var(--amber); }
.pf-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; line-height: 1.7; }
.pf-type { color: var(--teal-deep); font-weight: 700; letter-spacing: 0.04em; }
.pf-shop { color: var(--mute); }
.pf-title { font-size: 15px; font-weight: 500; line-height: 1.6; font-feature-settings: "palt"; margin-top: 2px; }
.pf-sub { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.pf-note { font-size: 13px; line-height: 1.8; color: var(--ink-soft); padding: 14px 22px 16px; }

/* お悩み → 分かること（左右交互。図は画面の枠に入れ、後ろにぼかした光） */
.problem { overflow: hidden; }
.problem .sec-title { margin-bottom: 96px; }
.wd-list { display: grid; gap: 150px; }
.wd-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.wd-rev .wd-copy { order: 2; }
.wd-q { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 34px; }
.wd-q p {
  background: var(--bg-gray); border-radius: 4px 18px 18px 18px; padding: 14px 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.7; font-feature-settings: "palt";
}
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: block; }
.av svg { width: 100%; height: 100%; display: block; }
.wd-row h3 { font-size: 28px; line-height: 1.5; margin-bottom: 18px; }
.wd-d { font-size: 15px; color: var(--ink-soft); line-height: 2; max-width: 27em; }
.wd-art { position: relative; padding: 10px 20px; }
.wd-art::before { content: ""; position: absolute; inset: -56px -36px; filter: blur(34px); z-index: 0; }
.wd-g1::before { background: radial-gradient(60% 60% at 40% 45%, rgba(14, 148, 136, .42), transparent 70%), radial-gradient(45% 45% at 80% 80%, rgba(76, 159, 212, .36), transparent 70%); }
.wd-g2::before { background: radial-gradient(60% 60% at 55% 50%, rgba(223, 164, 60, .42), transparent 70%), radial-gradient(45% 45% at 20% 25%, rgba(14, 148, 136, .32), transparent 70%); }
.wd-g3::before { background: radial-gradient(60% 60% at 45% 50%, rgba(76, 159, 212, .42), transparent 70%), radial-gradient(45% 45% at 80% 20%, rgba(14, 148, 136, .32), transparent 70%); }
.wf { position: relative; z-index: 1; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -18px rgba(8, 33, 29, .28); }
.wf figcaption { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: #F1F6F4; border-bottom: 1px solid var(--line); }
.wf figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #CBD8D3; }
.wf figcaption span { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); margin-left: 8px; }
.wf svg { display: block; width: 100%; height: auto; }

/* ================= MECHANISM ================= */
.mech { padding: 104px 0 130px; }
.mech .sec-title { margin-bottom: 72px; }
.mech-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.mech-step {
  position: relative;
  border: 1.5px solid #C6D6D0;
  border-radius: 20px;
  padding: 50px 32px 36px;
}
.mech-num {
  position: absolute; top: -34px; left: 22px;
  font-family: var(--font-num);
  font-size: 62px; font-weight: 800; color: var(--teal);
  line-height: 1;
  background: linear-gradient(transparent 54%, var(--bg-gray) 54%);
  letter-spacing: 0.02em;
}
.mech-step h3 { font-size: 20px; margin-bottom: 14px; }
.mech-step p { font-size: 14px; color: var(--ink-soft); line-height: 2; }

.mech-step { display: flex; flex-direction: column; }
.mech-art { margin-top: auto; padding-top: 22px; }
.mech-art svg { display: block; width: 100%; height: auto; }

/* ================= FEATURES ================= */
.feature { padding: 120px 0; background: var(--white); }
.feature.slab { padding-top: 110px; }
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 72px;
  align-items: center;
}
.feature-reverse .feature-copy { order: 2; }
.feature-reverse .feature-shot { order: 1; }
.feature-num {
  display: block;
  font-family: var(--font-num);
  font-size: 84px; font-weight: 800; line-height: 0.9;
  color: rgba(14, 148, 136, 0.13);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.feature h2 { font-size: clamp(27px, 2.8vw, 36px); margin-bottom: 24px; }
.feature-copy > p { font-size: 15px; color: var(--ink-soft); margin-bottom: 26px; }
.feature-points { list-style: none; border-top: 1px solid var(--line); }
.feature-points li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700; font-size: 14px;
  font-feature-settings: "palt";
}
.feature-points li::before {
  content: ""; position: absolute; left: 3px; top: 50%; margin-top: -4px;
  width: 8px; height: 8px; border-radius: 2.5px; background: var(--teal);
}
.feature-note { font-size: 13px; color: var(--ink-soft); margin-top: 24px; line-height: 1.8; }
.feature-shot {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-width: 0;
  background: #fff;
}
.slab .feature-shot { box-shadow: var(--shadow-deep); }

/* wide feature (戦略分析) */
.feature-wide .feature-wide-head { max-width: 760px; margin-bottom: 56px; }
.feature-wide-head > p { font-size: 15px; color: var(--ink-soft); }
.feature-wide-head h2 { margin-bottom: 22px; }
.feature-shot-wide { max-width: 1000px; margin: 0 auto; }

/* スラブの重なり順序: 前セクションに潜り込む分の余白 */
.features .feature:last-child { padding-bottom: 120px; }

/* ================= AI アシスタント（虹色の光が動く。AI機能があることを一目で伝える） ================= */
.ai { padding: 120px 0 130px; background: var(--white); overflow: hidden; }
.ai-inner { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); gap: 80px; align-items: center; }
.ai h2 { font-size: clamp(27px, 2.8vw, 36px); margin-bottom: 24px; }
.ai-copy > p { color: var(--ink-soft); margin-bottom: 26px; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px !important;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding: 8px 16px 8px 12px; border-radius: 999px; color: #fff !important;
  background: linear-gradient(90deg, #0E9488, #4C9FD4, #8B6FE8, #E86FB0, #DFA43C, #0E9488);
  background-size: 300% 100%; animation: aiFlow 18s linear infinite;
}
.ai-badge svg { width: 16px; height: 16px; }
@keyframes aiFlow { to { background-position: 300% 0; } }
.ai-visual { position: relative; }
.ai-glow {
  position: absolute; inset: -22px; border-radius: 40px; filter: blur(38px); opacity: .38;
  background: linear-gradient(90deg, #0E9488, #4C9FD4, #8B6FE8, #E86FB0, #DFA43C, #0E9488);
  background-size: 300% 100%; animation: aiFlow 18s linear infinite;
}
.ai-frame {
  position: relative; padding: 3px; border-radius: 26px;
  background: linear-gradient(90deg, #0E9488, #4C9FD4, #8B6FE8, #E86FB0, #DFA43C, #0E9488);
  background-size: 300% 100%; animation: aiFlow 18s linear infinite;
  box-shadow: 0 30px 70px -24px rgba(8, 33, 29, .35);
}
.ai-chat { background: #fff; border-radius: 23px; padding: 22px 24px 20px; }
.ai-chat-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.ai-chat-head svg { width: 17px; height: 17px; color: var(--teal-deep); }
.ai-msg p { font-size: 14px; line-height: 1.9; }
.ai-user { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.ai-user p { background: var(--ink); color: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 16px; font-weight: 500; }
.ai-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ai-steps span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-soft); background: var(--bg-gray); border-radius: 999px; padding: 5px 12px; }
.ai-steps span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-2px); }
.ai-bot { background: var(--bg-gray); border-radius: 4px 18px 18px 18px; padding: 14px 18px; }
.ai-bot p + p { margin-top: 8px; }
.ai-input { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 18px; font-size: 13px; color: var(--mute); }
.ai-input i { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(90deg, #0E9488, #4C9FD4, #8B6FE8, #E86FB0, #DFA43C, #0E9488); background-size: 300% 100%; animation: aiFlow 18s linear infinite; }
.ai-input svg { width: 16px; height: 16px; }
/* 動く見本: 高さを固定して、中身が増えても枠が伸び縮みしないようにする */
.ai-body { height: 300px; overflow: hidden; }  /* 3場面のうち一番長い回答が入る高さ。場面が替わっても枠の高さを変えない */
.ai-in { animation: aiIn .35s ease both; }
@keyframes aiIn { from { opacity: 0; transform: translateY(8px); } }
.ai-steps span.is-busy::before { width: 9px; height: 9px; border: 2px solid var(--line); border-top-color: var(--teal); border-radius: 50%; transform: none; animation: aiSpin .7s linear infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
#ai-demo-input.is-typing { color: var(--ink); }
#ai-demo-input.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: aiBlink .9s steps(1) infinite; }
@keyframes aiBlink { 50% { opacity: 0; } }
.ai-input span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ================= MORE ================= */
.more { padding: 24px 0 176px; background: var(--white); }
.more .sec-title { margin-bottom: 52px; }
.more-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}
.more-list > div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.more-list dt {
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px;
  font-feature-settings: "palt";
  position: relative; padding-left: 18px; line-height: 1.7;
}
.more-list dt::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2.5px; background: var(--teal);
}
.more-list dd { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.more-list dd em { display: block; font-style: normal; font-size: 13px; line-height: 1.8; color: var(--ink-soft); margin-top: 8px; }

/* ================= 料金プラン ================= */
.pricing { padding: 110px 0 130px; overflow: hidden; }
.pricing-head { max-width: 760px; margin-bottom: 56px; }
.pricing h2 { margin-bottom: 22px; }
.pricing-lead { color: var(--ink-soft); font-size: 15.5px; }
.term-radio { position: absolute; opacity: 0; pointer-events: none; }
.term-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 44px; }
.term-toggle label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border-radius: 999px; padding: 11px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink-soft); transition: background .2s, color .2s;
}
.term-toggle small { font-family: var(--font-num); font-size: 12px; font-weight: 700; background: var(--teal-pale); color: var(--teal-deep); border-radius: 999px; padding: 3px 9px; }
#term-m:checked ~ .term-toggle label[for="term-m"], #term-y:checked ~ .term-toggle label[for="term-y"] { background: var(--ink); color: #fff; }
#term-m:focus-visible ~ .term-toggle label[for="term-m"], #term-y:focus-visible ~ .term-toggle label[for="term-y"] { outline: 2px solid var(--teal); outline-offset: 2px; }
#term-m:checked ~ .plans .t-y, #term-y:checked ~ .plans .t-m { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 24px; padding: 36px 32px 32px; box-shadow: var(--shadow-card); }
.plan-rec { box-shadow: 0 0 0 3px var(--teal), 0 30px 70px -24px rgba(8, 33, 29, .28); }
.plan-tag {
  position: absolute; top: -14px; left: 28px; background: var(--teal); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px;
}
.plan-name { font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: .04em; margin-bottom: 6px; }
.plan h3 { font-size: 17px; margin-bottom: 10px; color: var(--ink-soft); }
.plan-n { font-size: 34px !important; }
.plan li.plan-no { color: var(--mute); }
.plan li.plan-no::before { width: 10px; height: 0; border-left: none; border-bottom: 2.5px solid #C3CEC9; transform: translateY(-4px); }
.plan-n { font-family: var(--font-num); font-weight: 700; font-size: 44px; line-height: 1; margin-right: 4px; color: var(--teal-deep); }
.plan-lead { font-size: 14px; color: var(--ink-soft); line-height: 1.9; min-height: 3.8em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-price-label { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink-soft); margin-right: 4px; }
.plan-price-val { font-family: var(--font-num); font-weight: 700; font-size: 34px; line-height: 1.2; }
.plan-price-unit { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.plan-note { font-size: 13px; color: var(--teal-deep); font-weight: 500; margin: 2px 0 20px; }
.plan-off { position: absolute; top: 34px; right: 28px; background: var(--amber); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 14px; letter-spacing: .03em; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.plan-price-label, .plan-price-unit { white-space: nowrap; }
.plan-was { margin-left: 10px; color: var(--mute); font-weight: 400; text-decoration: line-through; }
.plan ul { list-style: none; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.8; padding: 4px 0; }
.plan li::before { content: ""; flex: none; width: 11px; height: 6px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.plan-btn { margin-top: auto; width: 100%; }
.pricing-foot { font-size: 13px; color: var(--ink-soft); line-height: 1.9; margin-top: 36px; }

/* ================= LOCAL (dark slab) ================= */
.local { padding: 110px 0 130px; overflow: hidden; }
.local::before {
  content: "";
  position: absolute; right: -60px; top: -40px;
  width: 460px; height: 420px;
  background-image: radial-gradient(rgba(127, 214, 204, 0.35) 2px, transparent 2px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(205deg, #000 10%, transparent 62%);
  mask-image: linear-gradient(205deg, #000 10%, transparent 62%);
  pointer-events: none;
}
.local-inner { position: relative; }
.local-head { max-width: 760px; margin-bottom: 72px; }
.local h2 { margin-bottom: 26px; }
.local-lead { color: rgba(255, 255, 255, 0.75); font-size: 15.5px; }
.local-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.local-col { border-left: 1px solid var(--line-dark); padding: 4px 36px 8px 30px; position: relative; }
.local-col:first-child { border-left: none; padding-left: 0; }
.local-col-num {
  display: block;
  font-family: var(--font-num);
  font-size: 40px; font-weight: 800; line-height: 1;
  color: rgba(143, 227, 216, 0.4);
  margin-bottom: 18px;
}
.local-col h3 { font-size: 18.5px; margin-bottom: 14px; color: #8FE3D8; }
.local-col p { font-size: 14px; color: rgba(255, 255, 255, 0.8); line-height: 2.05; }
.local-specs {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: 72px; padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.local-specs li {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.85);
  display: flex; align-items: center; gap: 10px;
}
.local-specs li::before { content: ""; width: 8px; height: 8px; border-radius: 2.5px; background: var(--teal); }

/* ================= FLOW (white slab over dark) ================= */
.flow { padding: 104px 0 150px; }
.flow .sec-title { margin-bottom: 64px; }
.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute; top: 26px; left: 9%; right: 9%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, #C9D6D2 0 10px, transparent 10px 18px);
}
.flow-num {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-num); font-weight: 800; font-size: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--white), 0 12px 24px -8px rgba(14, 148, 136, 0.5);
}
.flow-steps h3 { font-size: 18.5px; margin-bottom: 10px; }
.flow-steps p { font-size: 14px; color: var(--ink-soft); line-height: 2; }

/* ================= FAQ (gray slab) ================= */
.faq { padding: 104px 0 140px; }
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 80px;
  align-items: start;
}
.faq-head { position: sticky; top: 120px; }
.faq-list details { border-bottom: 1px solid #D9E3DF; }
.faq-list details:first-child { border-top: 1px solid #D9E3DF; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700; font-size: 16px;
  font-feature-settings: "palt";
  padding: 24px 48px 24px 0;
  position: relative;
  line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal); font-weight: 500; font-size: 20px;
}
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p {
  font-size: 14px; color: var(--ink-soft);
  padding: 0 8px 26px 0; line-height: 2.05;
}

/* ================= CTA（跨ぎ配置の角丸グラデパネル） ================= */
.cta { background: var(--white); padding: 30px 0 0; }
.cta .wrap { max-width: 1380px; }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #109A8D 0%, var(--teal-deep) 78%);
  color: #fff;
  box-shadow: var(--shadow-deep);
  padding: clamp(48px, 5.5vw, 76px);
  margin-bottom: -120px;
  overflow: hidden;
  z-index: 3;
}
.cta-panel h2 { margin-bottom: 20px; font-size: clamp(27px, 2.7vw, 36px); }
.cta-copy > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-mail { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.cta-actions { gap: 14px; }
.cta-dl { flex-basis: 100%; margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cta-dl:hover { opacity: .8; }
.cta-tel { flex-basis: 100%; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; color: #fff; margin-top: 14px; }
.cta-tel span { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.cta-tel a { font-family: var(--font-num); font-weight: 700; font-size: 26px; letter-spacing: .02em; color: #fff; }
.cta-tel small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.cta-mail a { font-family: var(--font-num); font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cf-4 { width: 14px; height: 14px; background: rgba(255, 255, 255, 0.35); top: 34px; right: 40%; transform: rotate(16deg); }
.cf-5 { width: 10px; height: 10px; background: var(--amber); bottom: 42px; right: 34%; transform: rotate(-10deg); animation-delay: -3s; }

/* CTAパネルの地の飾り: 明るい光のにじみと、ロゴと同じ形の点の並び（のっぺり見えないように） */
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(620px 420px at 8% -8%, rgba(120, 232, 214, .42), transparent 68%),
    radial-gradient(520px 380px at 46% 118%, rgba(76, 159, 212, .34), transparent 70%),
    radial-gradient(460px 340px at 96% 0%, rgba(223, 164, 60, .20), transparent 70%);
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='11' y='11' width='4' height='4' rx='1.4' fill='%23FFFFFF' fill-opacity='.26'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 90% at 0% 100%, #000 0%, transparent 62%), radial-gradient(46% 70% at 62% 0%, #000 0%, transparent 60%);
          mask-image: radial-gradient(70% 90% at 0% 100%, #000 0%, transparent 62%), radial-gradient(46% 70% at 62% 0%, #000 0%, transparent 60%);
}
.cta-copy, .cta-shot { position: relative; z-index: 1; }
/* CTAパネルの右: アプリの画面を、パネルの右下にはみ出させて置く */
.cta-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cta-shot { align-self: stretch; position: relative; min-height: 300px; }
.cta-shot img {
  position: absolute; left: 0; top: 6px; width: 760px; max-width: none; height: auto;
  border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
}

/* ================= FOOTER ================= */
.site-footer { background: #0A1714; color: rgba(255, 255, 255, 0.58); padding: 200px 0 52px; }
.footer-inner img { height: 32px; width: auto; margin-bottom: 30px; }
.footer-note { font-size: 12px; line-height: 2.1; max-width: 660px; margin-bottom: 26px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 22px; }
.footer-links a { font-size: 13px; color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-family: var(--font-num); font-size: 12px; letter-spacing: 0.05em; }

/* ================= 右下の申し込みボタン（スクロールに合わせて出る） ================= */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--teal); color: #fff; border-radius: 999px; padding: 13px 30px 14px;
  box-shadow: 0 18px 40px -12px rgba(11, 111, 101, .6);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--teal-deep); }
.float-cta span { font-size: 11.5px; font-weight: 500; opacity: .9; line-height: 1.3; }
.float-cta b { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; line-height: 1.3; letter-spacing: .03em; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1240px) {
  .ticker { left: 0; }
}

/* 中間の幅（961〜1180px）: ヒーローは横2段のままだと窮屈なので、文字を上・画面写真を下にする */
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; gap: 80px; padding-top: 80px; padding-bottom: 110px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 860px; }
  .app-frame { width: 100%; }
  .hero-visual::before {
    top: -90px; bottom: -80px; left: -80px; right: -160px;
    -webkit-mask-image: none; mask-image: none;
    background:
      radial-gradient(60% 55% at 22% 30%, rgba(14, 148, 136, .58), transparent 70%),
      radial-gradient(50% 45% at 78% 82%, rgba(223, 164, 60, .46), transparent 70%),
      radial-gradient(50% 45% at 84% 14%, rgba(76, 159, 212, .50), transparent 70%);
  }
  .ticker { left: auto; right: -40px; bottom: -34px; }
  .feature-inner { gap: 48px; }
  .ai-body { height: 354px; }
}

@media (max-width: 960px) {
  :root { --r-slab: 28px; }
  .gnav { display: none; }
  .btn-header { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 96px; gap: 72px; }
  .hero-visual::before {
    top: -70px; bottom: -60px; left: -60px; right: -60px;
    -webkit-mask-image: none; mask-image: none;
    background:
      radial-gradient(70% 55% at 20% 25%, rgba(14, 148, 136, .55), transparent 70%),
      radial-gradient(65% 50% at 80% 85%, rgba(223, 164, 60, .42), transparent 70%),
      radial-gradient(60% 45% at 85% 10%, rgba(76, 159, 212, .45), transparent 70%);
    filter: blur(28px);
  }
  .cf { display: none; }
  .app-frame { width: 100%; }
  .ticker { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 20px; }
  .problem { padding: 64px 0 120px; }
  .problem-inner { grid-template-columns: 1fr; gap: 44px; }
  .pricing { padding: 84px 0 100px; }
  .plans { grid-template-columns: 1fr; gap: 34px; }
  .plan { padding: 30px 26px 26px; }
  .plan-lead { min-height: 0; margin-bottom: 14px; }
  .term-toggle { margin-bottom: 36px; }
  .term-toggle label { padding: 10px 20px; font-size: 14px; }
  .ai { padding: 84px 0 96px; }
  .ai-inner { grid-template-columns: 1fr; gap: 56px; }
  .ai-glow { inset: -14px; }
  .ai-body { height: 300px; }
  .problem .sec-title { margin-bottom: 56px; }
  .wd-list { gap: 84px; }
  .wd-row { grid-template-columns: 1fr; gap: 40px; }
  .wd-rev .wd-copy { order: 0; }
  .wd-art { padding: 0; }
  .wd-art::before { inset: -36px -22px; }
  .mech { padding: 80px 0 120px; }
  .mech-steps { grid-template-columns: 1fr; gap: 52px; }
  .mech-step:nth-child(2), .mech-step:nth-child(3) { transform: none; }
  .feature { padding: 84px 0; }
  .feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-reverse .feature-copy { order: 1; }
  .feature-reverse .feature-shot { order: 2; }
  .feature-num { font-size: 64px; }
  .more { padding: 8px 0 130px; }
  .more-list { grid-template-columns: 1fr; }
  .local { padding: 84px 0 100px; }
  .local-cols { grid-template-columns: 1fr; gap: 40px; }
  .local-col { border-left: none; padding: 28px 0 0; border-top: 1px solid var(--line-dark); }
  .local-col:first-child { border-top: none; padding-top: 0; }
  .flow { padding: 80px 0 110px; }
  .flow-steps { grid-template-columns: 1fr; gap: 44px; }
  .flow-steps::before { display: none; }
  .faq { padding: 80px 0 110px; }
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
  .cta-panel { grid-template-columns: 1fr; gap: 36px; margin-bottom: -90px; }
  .cta-shot { display: none; }
  .cta-actions .btn { flex: 1 1 240px; }
  .site-footer { padding-top: 160px; }
  .pc { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .ai-body { height: 450px; }
  .float-cta { left: 14px; right: 14px; bottom: 12px; padding: 11px 20px 12px; }
  .brand img { height: 30px; }
  .hero h1 { font-size: 33px; }
  h2 { font-size: 27px; line-height: 1.45; }
  .feature h2 { font-size: 25px; }
  .cta-panel h2 { font-size: 25px; }
  .hero-inner { padding-top: 44px; padding-bottom: 72px; gap: 44px; }
  .hero-label { font-size: 14.5px; gap: 10px; margin-bottom: 16px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-lead { font-size: 15px; line-height: 1.95; }
  .hero-lead:has(+ .hero-note) { margin-bottom: 12px; }
  .hero-note { margin-bottom: 26px; }
  .hero-cta { gap: 10px; margin-bottom: 26px; }
  .hero-cta .btn { width: 100%; padding: 17px 24px; }
  .hero-dl { margin: 6px auto 0; }
  .hero-facts { flex-wrap: wrap; gap: 8px 20px; }
  .hero-facts li { padding: 0; border-left: none; display: flex; align-items: center; gap: 8px; font-size: 13px; }
  .hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--teal); }
  .hero-facts li.hf-os::before { content: none; }
  /* 光は画面の左右いっぱいの帯にする（画面写真の左右で切れて、色の筋に見えていた） */
  .hero-visual::before {
    top: -60px; bottom: -50px; left: -22px; right: -22px;
    -webkit-mask-image: none; mask-image: none;
    background:
      radial-gradient(95% 50% at 10% 24%, rgba(14, 148, 136, .50), transparent 72%),
      radial-gradient(85% 44% at 94% 84%, rgba(223, 164, 60, .44), transparent 72%),
      radial-gradient(85% 42% at 98% 8%, rgba(76, 159, 212, .48), transparent 72%);
    filter: blur(24px);
  }
  /* ヒーローの画面写真も、全体を縮めず中身を大きく見せる */
  .app-frame-shot { width: 160%; max-width: none; margin-left: -22%; display: block; }
  /* 画面写真は全体を縮めると読めないので、左上を大きく見せる */
  .feature-shot { overflow: hidden; }
  .feature-shot img { width: 168%; max-width: none; display: block; margin-left: -24%; }
  .mech .sec-title { margin-bottom: 52px; }
  .wd-row h3 { font-size: 22px; }
  .wd-q p { font-size: 15px; }
  .wd-q { margin-bottom: 24px; }
  .flow .sec-title { margin-bottom: 44px; }
  .more .sec-title { margin-bottom: 36px; }
  .more-list > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .btn-lg { padding: 18px 34px; font-size: 14.5px; }
  .cta-panel { padding: 36px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta { transition: none; }
  .ticker-list, .ticker-title::before, .cf, .ai-badge, .ai-glow, .ai-frame, .ai-input i { animation: none; }
  html { scroll-behavior: auto; }
}
