/* ===== Base ===== */
:root {
  --brand: #ff6a3d;
  --brand-dark: #e8502a;
  --brand-light: #fff0ea;
  --accent: #ff2e7e;       /* 補色アクセント (パープル) */
  --accent-dark: #e01e68;
  --ink: #2a1622;
  --ink-soft: #6b5560;
  --bg: #ffffff;
  --bg-soft: #fdf7f9;
  --border: #f0e3e8;
  --radius: 14px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(42,22,34,.05);
  --shadow-md: 0 12px 32px rgba(42,22,34,.08);
  --shadow-lg: 0 24px 60px rgba(42,22,34,.12);
  --shadow: var(--shadow-md);
  --grad-brand: linear-gradient(100deg, #ff6a3d 0%, #ff2e7e 100%);
  --section-pad: 104px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* スクロールフェードイン */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .float-card, .down-arrow, .bo-pie, .bo-line, .bo-mail, .cta-chart span { animation: none !important; }
  html { scroll-behavior: auto; }
}
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Meiryo", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, 92%); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 700;
  font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer; border: none; position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(255,106,61,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,46,126,.42); }
/* ホバー時の光沢スイープ */
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,.4) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .6s ease;
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 6px 22px rgba(42,22,34,.08); }
.site-header.scrolled .header-inner { height: 58px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; transition: height .2s ease; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1.05; }
.brand-prefix { display: block; font-size: 10px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(255,106,61,.3);
}
.nav-cta:hover { background: var(--brand-dark); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff2ec 0%, #fff8f4 55%, #fff 100%);
  padding: 84px 0 104px;
}
/* 微細ドットパターン (奥行き) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,106,61,.12) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(170deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(170deg, #000 0%, transparent 65%);
}
/* 装飾blob */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: 0; }
.blob-1 { width: 280px; height: 280px; background: #ffd3c4; top: -80px; left: -60px; }
.blob-2 { width: 200px; height: 200px; background: #ffd9ec; bottom: 30px; left: 35%; opacity: .4; }
.blob-3 { width: 340px; height: 340px; background: #ffd9cb; top: -40px; right: -100px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 28px; align-items: center; }
/* MV モニター (デスクトップ画面風) */
.monitor { width: 100%; max-width: 780px; margin-inline: auto; }
.monitor-screen {
  background: #1e2330; border-radius: 14px; padding: 10px;
  box-shadow: 0 26px 60px rgba(42,22,34,.24);
}
.monitor-screen img { width: 100%; display: block; border-radius: 6px; background: #fff; }
.monitor-neck { width: 86px; height: 24px; margin: 0 auto; background: linear-gradient(#cfd5e0, #aab2c2); }
.monitor-foot {
  width: 230px; height: 12px; margin: 0 auto; border-radius: 0 0 9px 9px;
  background: linear-gradient(#cfd5e0, #9aa2b3);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero-tags span {
  width: 106px; height: 106px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff; color: #5a1f48; border: 2px solid #d4a017;
  font-size: 13px; font-weight: 800; line-height: 1.4;
  box-shadow: 0 6px 16px rgba(180,135,20,.18);
}
.hero-title { font-family: "Zen Kaku Gothic New", sans-serif; font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
.hero-lead { margin-top: 22px; font-size: 17px; color: var(--ink-soft); white-space: nowrap; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; transform: translateX(92px); }
.hero-goat {
  position: absolute; left: -30px; bottom: -38px;
  width: 124px; height: 124px; border-radius: 50%;
  object-fit: cover; object-position: center 30%;
  background: #fff; padding: 8px;
  box-shadow: 0 14px 34px rgba(42,22,34,.20); z-index: 3;
}
.hero-trial {
  margin-top: 20px; font-size: 15px; color: var(--ink-soft);
}
.hero-trial strong { color: var(--brand); font-size: 17px; }
/* 浮遊する通知カード */
.float-card {
  position: absolute; z-index: 4; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; animation: floaty 3.5s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11px; color: var(--ink-soft); }
.float-card strong { display: block; font-size: 15px; }
.float-card-1 { top: -18px; right: -10px; }
.float-card-1 .fc-icon {
  width: 30px; height: 30px; background: #1a8a4a; color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
}
.float-card-2 { bottom: 6px; right: -24px; animation-delay: 1.2s; text-align: right; }
.float-card-2 strong { font-size: 22px; color: var(--brand); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== 実績バンド ===== */
.metrics { background: var(--brand); padding: 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric {
  text-align: center; padding: 30px 16px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.18);
}
.metric:last-child { border-right: none; }
.m-num { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.m-num small { font-size: 16px; font-weight: 700; margin-left: 2px; }
.m-label { display: block; font-size: 13px; margin-top: 8px; opacity: .9; }

/* ===== ノートPC風フレーム ===== */
.laptop { width: 100%; max-width: 640px; margin-inline: auto; }
.laptop-screen {
  background: #2a2f3a; border-radius: 12px 12px 0 0;
  padding: 14px 14px 12px; box-shadow: 0 20px 50px rgba(42,22,34,.20);
}
.laptop-screen img {
  width: 100%; display: block; border-radius: 4px; background: #fff;
}
.laptop-hinge {
  height: 14px; background: linear-gradient(#3a3f4c, #2a2f3a);
}
.laptop-base {
  height: 14px; width: 116%; margin-left: -8%;
  background: linear-gradient(#d7dbe4, #b3b9c7);
  border-radius: 0 0 12px 12px; position: relative;
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 6px; background: #9aa1b0; border-radius: 0 0 7px 7px;
}

/* ===== OKURUN本体 モックアップ ===== */
.okurun-mock { display: flex; min-height: 340px; background: #fdfafb; font-size: 12px; }
.om-sidebar { width: 124px; background: #fff; border-right: 1px solid var(--border); padding: 14px 10px; flex-shrink: 0; }
.om-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.om-brand img { width: 24px; height: 24px; border-radius: 6px; }
.om-nav { display: flex; flex-direction: column; gap: 4px; }
.om-nav-item { padding: 7px 9px; border-radius: 7px; color: var(--ink-soft); font-size: 11.5px; }
.om-nav-item.on { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.om-main { flex: 1; padding: 16px 18px; }
.om-h { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
/* ダッシュボード */
.om-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.om-stat { flex: 1; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: 9px; padding: 10px 12px; }
.oms-label { display: block; font-size: 10px; color: var(--ink-soft); }
.oms-num { display: block; font-size: 20px; font-weight: 900; margin-top: 2px; }
.om-card { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; }
.om-card-h { font-size: 11.5px; font-weight: 700; margin-bottom: 10px; }
.om-bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; }
.om-bars span { flex: 1; background: linear-gradient(180deg, var(--brand), #ffb59b); border-radius: 3px 3px 0 0; }
/* 送信設定 */
.om-field { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.omf-label { width: 90px; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.omf-select { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 9px 12px; color: var(--ink-soft); }
.om-mode { display: flex; gap: 8px; margin: 16px 0; }
.omm { flex: 1; text-align: center; padding: 9px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink-soft); }
.omm.on { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.om-run { background: var(--brand); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 9px; }

/* ===== Scraper モックアップ ===== */
.scraper-mock { position: relative; min-height: 360px; background: #fdfafb; }
.mock-site { padding: 18px 20px; }
.mock-site-title { font-weight: 800; font-size: 15px; margin-bottom: 14px; color: var(--ink); }
.mock-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; margin-bottom: 8px;
}
.mc-name { font-weight: 700; font-size: 13px; }
.mc-meta { font-size: 11px; color: var(--ink-soft); }

/* OKURUN取込 パネル (右に重ねる) */
.mock-panel {
  position: absolute; top: 16px; right: 16px; width: 230px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(42,22,34,.28); border: 1px solid var(--border);
}
.mock-panel-head {
  display: flex; align-items: center; gap: 8px;
  background: #3a1830; color: #fff; padding: 10px 12px; font-weight: 700; font-size: 14px;
}
.mock-panel-icon { width: 22px; height: 22px; border-radius: 6px; }
.mock-panel-win { margin-left: auto; font-size: 12px; opacity: .8; }
.mock-panel-body { padding: 12px; }
.mock-panel-badge {
  background: #e7f7ee; color: #1a8a4a; font-size: 12px; font-weight: 700;
  padding: 7px 10px; border-radius: 7px; margin-bottom: 8px;
}
.mock-panel-note { font-size: 10.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 10px; }
.mock-panel-label { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mock-fields { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mf {
  font-size: 12px; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 7px; color: var(--ink-soft); background: #fff;
}
.mf.on { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.mock-panel-cta {
  background: var(--brand); color: #fff; text-align: center; font-weight: 700;
  font-size: 12.5px; padding: 11px; border-radius: 8px;
}

/* ===== Section common ===== */
.eyebrow {
  display: block; text-align: center; color: var(--accent);
  font-size: 12.5px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; letter-spacing: .01em; }
.section-title::after {
  content: ""; display: block; width: 48px; height: 4px; border-radius: 999px;
  background: var(--grad-brand); margin: 14px auto 0;
}
.section-lead { text-align: center; color: var(--ink-soft); margin-top: 14px; }

/* ===== Problem ===== */
.problem { padding: var(--section-pad) 0; background: var(--bg-soft); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.problem-card {
  background: #fff; border-radius: var(--radius-md); padding: 44px 28px; text-align: center;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  transition: transform .18s, box-shadow .18s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-icon { margin-bottom: 18px; }
.problem-icon img { width: 124px; height: 124px; object-fit: contain; margin-inline: auto; }
.problem-card p { font-size: 16px; color: var(--ink-soft); }
.problem-card strong { color: var(--ink); }
.problem-conclusion { text-align: center; font-size: 24px; font-weight: 800; margin-top: 44px; }
.hl { color: var(--brand); }
/* 次セクションへ誘導する下向き矢印 */
.down-arrow {
  width: 0; height: 0; margin: 26px auto 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 24px solid var(--brand);
  animation: arrowBounce 1.8s ease-in-out infinite;
}
@keyframes arrowBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== Product (ダークトンマナ・2つで1つの背景) ===== */
.product-region {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #2a1622 0%, #5a1f48 60%, #7a2a5c 100%);
}
/* 斜めカット (上端) — 上の白セクションから濃紺へ繋ぐ */
.product-region::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 64px; z-index: 1;
  background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%);
}
.product {
  padding: var(--section-pad) 0; position: relative; color: var(--ink); background: transparent;
}
.product-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-inner.reverse .product-text { order: 2; }
.product-inner.reverse .product-visual { order: 1; }
/* グロー装飾 */
.prod-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .42; z-index: 0; }
.prod-blob-1 { width: 380px; height: 380px; background: #ff6a3d; top: -120px; left: -100px; }
.prod-blob-2 { width: 340px; height: 340px; background: #ff2e7e; bottom: -120px; right: -100px; }
.product-eyebrow { font-size: 14px; font-weight: 800; color: #ff9d6f; letter-spacing: .1em; }
/* PRODUCT 01: タイトル横にアイコン＋※ / 機能は横2列・フル幅 */
#okurun .product-inner { grid-template-columns: 1fr; }
.product-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.product-head .product-title { margin-top: 0; }
.product-head-icon { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 6px 18px rgba(232,80,42,.3); }
.product-head-note { font-size: 13px; font-weight: 700; color: #e8d2dd; padding-bottom: 8px; }
#okurun .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#okurun .feature-list .fl-tight { grid-column: 1 / -1; }
/* プロダクト間のスペースを詰める */
#okurun { padding-bottom: 44px; }
#scraper { padding-top: 44px; }
.coming { background: #ffe7a8; color: #8a6100; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-left: 8px; }
.product-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-top: 8px;
  background: linear-gradient(100deg, #ffb89b 0%, #ffb0d0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.product-title-sub {
  display: inline; font-size: 16px; font-weight: 700; margin-left: 2px;
  color: #e8d2dd; -webkit-text-fill-color: #e8d2dd;
}
.product-sub { font-size: 19px; color: #e8d2dd; margin-top: 12px; margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li {
  position: relative; padding-left: 30px; margin-bottom: 14px; font-size: 15px; color: var(--ink-soft);
}
.feature-list li.fl-tight { font-size: 14px; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.feature-list strong { color: #fff; font-weight: 700; }
.product-badges { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.badge { background: var(--brand-light); color: var(--brand-dark); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.product-visual { text-align: center; }
/* 製品アイコン表示 */
.product-icon-wrap {
  display: grid; place-items: center;
  width: 100%; height: auto; margin-inline: auto;
}
.product-icon-img { width: 200px; height: 200px; border-radius: 42px; filter: drop-shadow(0 0 36px rgba(255,46,126,.55)); }
.product-icon-caption { text-align: center; margin-top: 16px; font-size: 14px; font-weight: 700; color: #e8d2dd; }
.product-icon-scraper { border-radius: 36px; }
.badge-icon { width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 4px; }

/* scraper: 拡張アイコン(一番左上) + Chrome拡張(上部中央) + Webアプリ/PC(右下) */
.scraper-stack { position: relative; width: 100%; max-width: 480px; min-height: 520px; margin-inline: auto; }
/* 左上のアイコン (背景透過) */
.scraper-badge {
  position: absolute; top: 4px; left: 0; z-index: 4;
  width: 56px; height: 56px;
  filter: drop-shadow(0 6px 14px rgba(255,106,61,.35));
}
/* アイコンの真隣に拡張ポップアップ */
.ext-card { position: absolute; top: 2px; left: 82px; z-index: 3; width: 26%; max-width: 128px; }
.ext-card-img {
  width: 100%; border-radius: 10px; display: block;
  box-shadow: 0 14px 34px rgba(42,22,34,.22);
  border: 1px solid var(--border);
}
/* 右下のPC (大きめ) */
.laptop-sm { position: absolute; right: 0; bottom: 0; width: 76%; max-width: 430px; }
/* 細いノートPCフレーム */
.laptop-sm .laptop-screen { padding: 7px 7px 6px; border-radius: 8px 8px 0 0; }
.laptop-sm .laptop-hinge { height: 8px; }
.laptop-sm .laptop-base { height: 9px; width: 110%; margin-left: -5%; border-radius: 0 0 9px 9px; }
.laptop-sm .laptop-base::before { width: 64px; height: 4px; }
@media (max-width: 880px) {
  .scraper-stack { max-width: 430px; min-height: 440px; }
  .scraper-badge { width: 46px; height: 46px; }
  .ext-card { width: 28%; left: 66px; }
  .laptop-sm { width: 78%; }
}
.product-img-logo { width: 200px; margin-inline: auto; }
.product-img-icon { width: 160px; margin-inline: auto; border-radius: 28px; box-shadow: var(--shadow); }
.db-mock { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); max-width: 360px; margin-inline: auto; }
.db-row { display: flex; justify-content: space-between; padding: 12px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
.db-row:last-child { border-bottom: none; }
.db-row span:first-child { font-weight: 700; }
.db-row span:last-child { color: var(--ink-soft); }

/* ===== 送信は3ステップ ===== */
.steps3 { padding: var(--section-pad) 0; }
.steps3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.steps3-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 34px 26px; box-shadow: var(--shadow-md); position: relative;
  transition: transform .18s, box-shadow .18s;
}
.steps3-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.steps3-num {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.steps3-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.steps3-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ===== 導入の流れ ===== */
.flow { padding: var(--section-pad) 0; background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%); }
.flow-steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin-top: 50px; }
.flow-step {
  flex: 1; background: #fff; border-radius: var(--radius-md); padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); position: relative;
}
.flow-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(255,106,61,.4);
}
.flow-icon { margin: 22px auto 14px; width: 56px; height: 56px; color: #9aa1b0; }
.flow-icon svg { width: 100%; height: 100%; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.flow-arrow { display: flex; align-items: center; color: var(--brand); font-size: 26px; font-weight: 700; }

/* ===== Pricing ===== */
.pricing { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.blob-p1 { width: 260px; height: 260px; background: #ffd9cb; top: 40px; left: -90px; opacity: .4; }
.blob-p2 { width: 220px; height: 220px; background: #ffd9ec; bottom: 20px; right: -70px; opacity: .35; }
.pricing-layout {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: center; margin-top: 50px; max-width: 880px; margin-inline: auto;
}
.pricing-includes { padding: 8px 8px 8px 20px; }
.pricing-includes-h { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.includes-list { list-style: none; }
.includes-list li {
  display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 600;
  padding: 14px 0; border-bottom: 1px dashed var(--border);
}
.inc-ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center;
}
.inc-ico svg { width: 21px; height: 21px; }
.price-single-card { max-width: 420px; width: 100%; }
.price-single-card .price-num { font-size: 48px; }
.price-highlights { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 24px; }
.ph { background: var(--brand-light); color: var(--brand-dark); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.price-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px 30px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-lg);
}
.price-card-featured { border: 2px solid var(--brand); transform: scale(1.04); }
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255,46,126,.35);
}
.price-name { font-size: 20px; font-weight: 800; }
.price-amount { margin: 16px 0 8px; }
.price-num { font-size: 38px; font-weight: 900; }
.price-unit { font-size: 16px; color: var(--ink-soft); margin-left: 4px; }
.price-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.price-features { list-style: none; flex: 1; margin-bottom: 24px; }
.price-features li { padding: 8px 0 8px 26px; position: relative; font-size: 15px; border-bottom: 1px dashed var(--border); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ===== Contact ===== */
.contact { padding: var(--section-pad) 0; background: var(--bg-soft); }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-lead { color: var(--ink-soft); margin-top: 16px; text-align: left; }
.contact-mascot {
  width: 96px; height: 96px; margin-top: 24px;
  border-radius: 50%; object-fit: cover;
  background: var(--brand-light);
  box-shadow: var(--shadow);
}
/* scraper の製品名サブは2行表示でOK */
.pt-sub-block { display: block; margin-top: 4px; margin-left: 0; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.req { background: #ffe1e1; color: #c0392b; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 700; }
.opt { background: #ffede4; color: var(--brand-dark); font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 700; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cb {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px;
  font-size: 14px; font-weight: 600; transition: border .15s, background .15s;
}
.cb:hover { border-color: var(--brand); }
.cb input { width: 16px; height: 16px; accent-color: var(--brand); }
.cb:has(input:checked) { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); }
/* ハニーポット (画面外に隠す) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 16px; min-height: 65px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 16px; font-family: inherit; transition: border .15s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,106,61,.15); }
.form-status { margin-top: 16px; text-align: center; font-weight: 700; }
.form-status.success { color: #1a8a4a; }
.form-status.error { color: #c0392b; }

/* ===== FAQ ===== */
.faq { padding: var(--section-pad) 0; background: var(--bg-soft); }
.faq-list { max-width: 800px; margin: 44px auto 0; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px;
  font-weight: 700; font-size: 16px; color: var(--ink); position: relative;
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--brand); font-weight: 900; margin-right: 12px; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  font-size: 24px; font-weight: 400; color: var(--brand); line-height: 1;
  transform: translateY(-50%) rotate(0deg); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq-a { padding: 0 22px 20px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.faq-a strong { color: var(--ink); }
.faq-item[open] .faq-a { animation: faqReveal .28s ease; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== Maker Note (開発者ノート / フッター手前のあとがき) ===== */
.maker-note { padding: var(--section-pad) 0; background: var(--bg); }
.maker-note-inner { text-align: center; max-width: 760px; }
.maker-note-body {
  color: var(--ink-soft); font-size: 16px; line-height: 1.9;
  margin: 32px auto 0; text-wrap: pretty;
}
.maker-note-body strong { color: var(--ink); font-weight: 700; }
.maker-note-btn { margin-top: 28px; }
@media (max-width: 640px) {
  .maker-note-body { font-size: 15px; line-height: 1.85; }
  .maker-note-btn { margin-top: 22px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.footer-logo { width: 36px; height: 36px; border-radius: 9px; }
.footer-desc { color: #c9b3bf; font-size: 13.5px; line-height: 1.8; margin-top: 14px; }
.footer-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; color: #e8d2dd; font-size: 14px; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-cta-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cta-col .footer-desc { margin-top: 0; }
.footer-col a.footer-cta { color: #fff; align-self: center; margin-top: 4px; padding: 11px 24px; font-size: 14px; font-weight: 800; }
.footer-bottom { padding-top: 24px; text-align: center; }
.footer-copy { color: #ad8b9f; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title, .hero-lead { white-space: normal; }
  .hero-tags { justify-content: center; }
  .hero-visual { order: -1; transform: none; }
  .hero-tags span { width: 92px; height: 92px; font-size: 12px; }
  .hero-goat { width: 100px; left: 0; bottom: -30px; }
  .float-card-1 { top: -10px; right: 0; padding: 8px 12px; }
  .float-card-2 { display: none; }
  .flow-steps { flex-direction: column; gap: 28px; }
  .flow-arrow { transform: rotate(90deg); justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); padding: 22px; }
  .metric:last-child { border-bottom: none; }
  .hero-actions { justify-content: center; }
  .problem-grid { grid-template-columns: 1fr; }
  .product-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-inner.reverse .product-text { order: 0; }
  .product-inner.reverse .product-visual { order: -1; }
  .product-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-includes { padding: 8px; }
  .price-card-featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-mascot { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  :root { --section-pad: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SaaS 強化パック (第3弾)
   ============================================================ */

/* スクロール進捗バー */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-brand); z-index: 200; transition: width .08s linear;
}

/* 実績バンド リッチ化 */
.metrics { position: relative; overflow: hidden; }
.metrics::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px);
  background-size: 24px 24px; opacity: .55;
}
.metrics-grid { position: relative; z-index: 1; }
.metric-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  margin: 0 auto 10px; border-radius: 13px;
  background: rgba(255,255,255,.18); color: #fff;
}
.metric-ico svg { width: 24px; height: 24px; }

/* こんな方におすすめ */
.audience { padding: var(--section-pad) 0; background: var(--bg-soft); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.aud-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 24px; box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aud-ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--brand-light); color: var(--brand);
  margin-bottom: 16px; transition: background .25s ease, color .25s ease;
}
.aud-ico svg { width: 26px; height: 26px; }
.aud-card:hover .aud-ico { background: var(--grad-brand); color: #fff; }
.aud-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.aud-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* 安心ポイント */
.assurance { padding: 48px 0; background: #fff; border-top: 1px solid var(--border); }
.assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.assure { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.assure-ico {
  flex-shrink: 0; width: 44px; height: 44px;
  display: grid; place-items: center; background: transparent; color: var(--brand);
}
.assure-ico svg { width: 32px; height: 32px; }
.assure strong { display: block; font-size: 14.5px; }
.assure span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ダークCTA帯 */
.cta-band {
  position: relative; overflow: hidden; padding: 86px 0;
  background: linear-gradient(135deg, #2a1622 0%, #5a1f48 60%, #7a2a5c 100%);
  text-align: center; color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px;
  background: var(--bg-soft); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.cta-band-blob { position: absolute; border-radius: 50%; filter: blur(20px); opacity: .35; }
.cta-band-blob-1 { width: 320px; height: 320px; background: #ff6a3d; top: -120px; left: -80px; }
.cta-band-blob-2 { width: 280px; height: 280px; background: #ff2e7e; bottom: -120px; right: -60px; }
/* 背景の動くオブジェクト (円グラフ / 折れ線グラフ / 飛ぶメール) */
.bg-objs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bo { position: absolute; }
/* 円グラフ (大きめ・ゆっくり回転) */
.bo-pie { width: 300px; height: 300px; top: 7%; right: 4%; transform-origin: center; animation: spinSlow 50s linear infinite; }
/* 折れ線グラフ (大きめ・ふわっと上下) */
.bo-line { width: 320px; height: 220px; top: 64%; left: 4%; animation: floatY 7s ease-in-out infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
/* メール (その場でふわふわ・OKURUNを試すの右隣) */
.bo-mail { stroke: currentColor; opacity: .5; }
.bo-mail-1 { top: 52%; bottom: auto; left: 34%; width: 96px; height: 96px; animation: mailFloat 4.5s ease-in-out infinite; }
@keyframes mailFloat {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}
/* 色 (プロダクト領域のみで使用) */
.product-region .bg-objs { color: #e8aac8; }

/* CTA帯の棒グラフ */
.cta-chart {
  position: absolute; bottom: 0; right: 6%; display: flex; align-items: flex-end;
  gap: 7px; height: 90px; opacity: .16; z-index: 0;
}
.cta-chart span {
  width: 12px; background: #fff; border-radius: 3px 3px 0 0;
  animation: barGrow 2.6s ease-in-out infinite;
}
.cta-chart span:nth-child(odd) { animation-delay: .3s; }
.cta-chart span:nth-child(3n) { animation-delay: .6s; }
.cta-chart span:nth-child(4n) { animation-delay: .9s; }
@keyframes barGrow { 0%,100% { height: 24%; } 50% { height: 92%; } }
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-title { font-size: clamp(24px, 3.6vw, 36px); font-weight: 900; }
.cta-band-title span { background: linear-gradient(90deg, #ff9d6f, #ffb6d8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-band-lead { margin-top: 14px; color: #e8d2dd; font-size: 16px; }
.cta-band-btn {
  margin-top: 28px; background: #fff; color: var(--brand-dark);
  font-weight: 800; padding: 16px 40px; box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.cta-band-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.34); }

/* 追従CTAバー */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(42,22,34,.10);
  transform: translateY(120%); transition: transform .35s ease;
}
.cta-bar.show { transform: translateY(0); }
.cta-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.cta-bar-text { font-size: 14.5px; font-weight: 700; }
.cta-bar-text strong { color: var(--brand); }
.cta-bar-btn { padding: 11px 26px; font-size: 14.5px; white-space: nowrap; }

/* FAQ カテゴリ */
.faq-cat {
  font-size: 14px; font-weight: 800; color: var(--accent);
  letter-spacing: .08em; margin: 30px 0 14px; padding-left: 4px;
}
.faq-cat:first-child { margin-top: 0; }

/* グラスモーフィズム (float-card) */
.float-card { background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.6); }

/* 機能リスト = 縦1列・1行カード */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-list li {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
  padding: 13px 16px 13px 42px; margin: 0; font-size: 14.5px; color: #f5e8ee;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  word-break: auto-phrase;
}
.feature-list li:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.14); transform: translateX(3px); }
.feature-list li::before { left: 13px; top: 13px; width: 20px; height: 20px; font-size: 11px; }
.feature-list li.fl-tight { font-size: 14.5px; }

/* レスポンシブ (強化パック) */
@media (max-width: 880px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .assurance-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
  .assurance-grid { grid-template-columns: 1fr; }
  #okurun .feature-list { grid-template-columns: 1fr; }
  .cta-bar-text { font-size: 12px; }
  .cta-bar-btn { padding: 10px 16px; font-size: 13px; }
  .cta-chart { display: none; }
}

/* ============================================================
   リッチ演出パック (第4弾)
   ============================================================ */

/* ページ初回ロード演出 */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: linear-gradient(160deg, #fff2ec 0%, #fff8f4 60%, #fff 100%);
  animation: loaderHide .4s 1.6s forwards;
}
.page-loader.hide { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s ease; }
.page-loader img { width: 88px; height: 88px; border-radius: 50%; animation: loaderPop 1s ease; }
@keyframes loaderPop { 0% { transform: scale(.5); opacity: 0; } 55% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
@keyframes loaderHide { to { opacity: 0; visibility: hidden; } }

/* カーソル追従スポットライト */
.spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
}
.hero .spotlight { background: radial-gradient(300px circle at var(--mx,50%) var(--my,30%), rgba(255,255,255,.6), transparent 62%); }
.cta-band .spotlight { background: radial-gradient(340px circle at var(--mx,50%) var(--my,45%), rgba(255,140,180,.3), transparent 60%); }
.hero:hover .spotlight, .cta-band:hover .spotlight { opacity: 1; }

/* ヒーロー メッシュグラデ (ゆっくり動く) */
.hero-mesh {
  position: absolute; inset: -25%; z-index: 0; pointer-events: none; opacity: .65;
  background:
    radial-gradient(38% 38% at 22% 30%, rgba(255,130,90,.4), transparent 62%),
    radial-gradient(34% 34% at 80% 22%, rgba(255,150,200,.32), transparent 62%),
    radial-gradient(42% 42% at 70% 82%, rgba(255,180,150,.32), transparent 62%);
  filter: blur(12px); animation: meshMove 20s ease-in-out infinite alternate;
}
@keyframes meshMove { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-4%,3%) scale(1.1); } }

/* 3Dチルト */
.tilt { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }

/* ハンバーガー */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--ink); border-radius: 2px; margin: 0 auto; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* セクションナビ (右端ドット) */
.dots-nav { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 13px; }
.dots-nav a { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,106,61,.28); transition: transform .2s, background .2s; position: relative; }
.dots-nav a:hover { background: rgba(255,106,61,.65); }
.dots-nav a.active { background: var(--brand); transform: scale(1.4); }
.dots-nav a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--ink); background: #fff;
  padding: 4px 10px; border-radius: 7px; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots-nav a:hover::after { opacity: 1; }

/* FAQ 検索 */
.faq-search-wrap { max-width: 800px; margin: 28px auto 0; position: relative; }
.faq-search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); opacity: .6; }
.faq-search { width: 100%; padding: 13px 16px 13px 46px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; font-family: inherit; background: #fff; }
.faq-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,106,61,.15); }
.faq-no-result { text-align: center; color: var(--ink-soft); padding: 24px; display: none; }
.faq-cat.is-hidden, .faq-item.is-hidden { display: none; }

/* リップル */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: rippleAnim .6s ease-out; pointer-events: none; z-index: 1; }
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

/* 送信成功アニメ */
.form-success-anim { display: none; text-align: center; padding: 8px 0 4px; }
.form-success-anim.show { display: block; }
.success-check { width: 66px; height: 66px; margin: 0 auto; }
.success-check circle { stroke: #1a8a4a; stroke-width: 3; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: checkCircle .5s ease forwards; }
.success-check path { stroke: #1a8a4a; stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: checkMark .35s .45s ease forwards; }
@keyframes checkCircle { to { stroke-dashoffset: 0; } }
@keyframes checkMark { to { stroke-dashoffset: 0; } }
.confetti-piece { position: fixed; top: -16px; width: 9px; height: 14px; z-index: 9998; pointer-events: none; will-change: transform, opacity; }
@keyframes confettiFall { 0% { transform: translateY(0) rotateZ(0deg); opacity: 1; } 100% { transform: translateY(105vh) rotateZ(540deg); opacity: .9; } }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px 18px; gap: 4px;
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a:not(.nav-cta) { display: block; padding: 11px 4px; font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .dots-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .page-loader img { animation: none !important; }
  .tilt { transform: none !important; }
}

/* アイコンのマイクロアニメ (Lottie代替・軽量) */
.metric-ico { animation: icoFloat 3.6s ease-in-out infinite; }
.metric:nth-child(2) .metric-ico { animation-delay: .6s; }
.metric:nth-child(3) .metric-ico { animation-delay: 1.2s; }
@keyframes icoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.assure:hover .assure-ico { animation: icoPulse .6s ease; }
@keyframes icoPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .metric-ico { animation: none !important; } }

/* ===== 3ツールの連携図 (横並び) ===== */
.synergy { padding: var(--section-pad) 0; background: #fff; }
.synergy-flow { max-width: 1060px; margin: 52px auto 0; display: flex; flex-direction: row; align-items: stretch; justify-content: center; }
.syn-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 30px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.syn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.syn-card-accent { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(255,106,61,.18); }
.syn-ico {
  flex-shrink: 0; width: 66px; height: 66px; border-radius: 18px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(255,46,126,.3);
}
.syn-ico svg { width: 33px; height: 33px; }
.syn-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--brand-dark);
  background: var(--brand-light); padding: 3px 11px; border-radius: 999px; letter-spacing: .04em;
}
.syn-body h3 { font-size: 18px; font-weight: 800; margin: 6px 0 4px; }
.syn-body p { font-size: 13.5px; color: var(--ink-soft); }
.syn-link { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 6px; }
.syn-link-arrow { width: 30px; height: 30px; color: var(--brand); transform: rotate(-90deg); }
.syn-link-bi .syn-link-arrow { transform: rotate(90deg); }
.syn-link-label {
  font-size: 11px; font-weight: 700; color: var(--brand-dark);
  background: #fff2ec; padding: 5px 11px; border-radius: 12px; text-align: center; line-height: 1.45;
}
@media (max-width: 768px) {
  .synergy-flow { flex-direction: column; max-width: 500px; align-items: stretch; }
  .syn-card { flex-direction: row; text-align: left; align-items: center; gap: 18px; padding: 22px 24px; }
  .syn-link { flex: none; padding: 12px 0; }
  .syn-link-arrow, .syn-link-bi .syn-link-arrow { transform: rotate(0deg); }
}

/* PRODUCT 01 内に取り込んだ3ステップ */
.product-steps-title { font-size: 19px; font-weight: 800; color: #fff; margin: 6px 0 16px; }
.product-steps { margin-top: 0; margin-bottom: 28px; gap: 16px; }
.product-steps .steps3-card { padding: 22px 20px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); box-shadow: none; }
.product-steps .steps3-card h3 { font-size: 16px; color: #fff; }
.product-steps .steps3-card p { font-size: 13px; color: #e8d2dd; }
@media (max-width: 720px) {
  .product-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   スマホ等で右側に空白／横スクロールが出るのを防ぐ。
   装飾要素(.hero-mesh inset:-25% など)が一部ブラウザでクリップされず
   画面外にはみ出すのを root で抑える。overflow-x:clip は
   .site-header の position:sticky を壊さない（scrollコンテナを作らない）。
   ========================================================= */
html, body { overflow-x: clip; max-width: 100%; }


/* ===== Pricing 3プラン (見本サイトと差し替え) ===== */
.pricing-cards {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1120px; margin: 50px auto 0; align-items: stretch;
}
.pricing-cards .price-card { padding: 30px 20px; box-shadow: var(--shadow-md); }
.pricing-cards .price-card-featured { box-shadow: var(--shadow-lg); }
.pricing-cards .price-card-trial { border-style: dashed; }
.pricing-cards .price-name { text-align: center; }
.pricing-cards .price-amount { text-align: center; }
.pricing-cards .price-num { font-size: 36px; }
.pricing-cards .price-unit { font-size: 14px; }
.pricing-cards .price-highlights { margin: 18px 0 24px; flex-direction: column; align-items: center; gap: 8px; }
.pricing-cards .btn { margin-top: auto; }
.pricing-allin {
  position: relative; z-index: 1; text-align: center;
  max-width: 760px; margin: 34px auto 0; padding: 28px 32px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.pricing-allin .pricing-includes-h { text-align: center; margin-bottom: 14px; }
.allin-list {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px;
}
.allin-list li { position: relative; padding-left: 26px; font-size: 15.5px; font-weight: 600; }
.allin-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.pricing-allin .price-note { margin-top: 18px; }
@media (max-width: 1024px) {
  .pricing-cards { grid-template-columns: 1fr 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; }
  .pricing-cards .price-card-featured { transform: none; }
  .allin-list { flex-direction: column; align-items: center; gap: 10px; }
}

/* ===== PRODUCT 01 を全幅・機能リストを左右2列に ===== */
#app .product-inner { grid-template-columns: 1fr; }
#app .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { #app .feature-list { grid-template-columns: 1fr; } }

/* ===== PRODUCT 02 タイトルを1行に収める ===== */
#template .product-title { font-size: clamp(21px, 2.9vw, 30px); white-space: nowrap; }
@media (max-width: 880px) { #template .product-title { white-space: normal; } }

/* ===== PRODUCT 02 ノートPCに操作動画をループ再生（フェイクブラウザ枠・左寄せ） ===== */
.laptop-video { width: 100%; max-width: 560px; margin-inline: auto; }
.laptop-video .laptop-screen { padding: 11px 11px 10px; border-radius: 12px 12px 0 0; }
.laptop-video .laptop-hinge { height: 12px; }
.laptop-video .laptop-base { height: 12px; }
/* フェイクのブラウザウィンドウ（上部メニューバーで縦に伸ばし、横長感を解消） */
.browser-mock { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
/* Chrome 風タブ列 */
.chrome-tabs { display: flex; align-items: flex-end; gap: 6px; padding: 6px 8px 0; background: #dee1e6; }
.chrome-tab {
  display: flex; align-items: center; gap: 7px; max-width: 210px;
  background: #fff; border-radius: 9px 9px 0 0; padding: 8px 11px 9px;
  font-size: 11.5px; color: #3c4043; box-shadow: 0 -1px 2px rgba(0,0,0,.04);
}
.chrome-tab-fav { width: 14px; height: 14px; min-width: 14px; max-width: 14px; flex: 0 0 14px; object-fit: contain; border-radius: 3px; }
.chrome-tab-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-tab-x { width: 12px; height: 12px; color: #5f6368; flex: none; }
.chrome-newtab { width: 16px; height: 16px; color: #5f6368; margin-bottom: 7px; flex: none; }
/* Chrome 風ツールバー（戻る/進む/更新 ＋ アドレスバー ＋ 操作） */
.chrome-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 12px; background: #fff; border-bottom: 1px solid #e8eaed;
}
.chrome-nav { display: flex; align-items: center; gap: 13px; color: #5f6368; flex: none; }
.chrome-nav svg { width: 16px; height: 16px; }
.chrome-nav svg:first-child { opacity: .45; }
.chrome-omni {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
  background: #f1f3f4; border-radius: 999px; padding: 6px 14px;
  font-size: 12px; color: #3c4043;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chrome-omni svg { width: 12px; height: 12px; color: #5f6368; flex: none; }
.chrome-actions { display: flex; align-items: center; gap: 13px; color: #5f6368; flex: none; }
.chrome-actions svg { width: 16px; height: 16px; }
.browser-mock video {
  display: block; width: 100%; aspect-ratio: 1280 / 610;
  object-fit: cover; background: #0e0b12;
}
/* PCを左へずらす（デスクトップのみ。モバイルは中央） */
@media (min-width: 881px) {
  #template .product-visual { text-align: left; }
  .laptop-video { margin: 0 auto 0 0; transform: translateX(-44px); }
}

/* ===== MV: PC画像に再生ボタン + 再生CTA ===== */
.mv-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.mv-monitor-wrap { position: relative; width: 100%; }
.mv-trigger { cursor: pointer; }
.monitor-screen { position: relative; }
.mv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.34);
  transition: transform .16s ease, background .16s ease;
}
.mv-play svg { width: 30px; height: 30px; color: var(--brand); margin-left: 3px; }
.mv-trigger:hover .mv-play, .mv-trigger:focus-visible .mv-play { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.mv-cta { gap: 9px; padding: 13px 26px; }
.mv-cta svg { flex: none; }
.mv-note { font-size: 12.5px; color: var(--ink-soft); margin-top: -4px; }
@media (max-width: 880px) {
  .hero-visual { transform: none; }
  .mv-cta { font-size: 14px; padding: 12px 20px; }
}

/* ===== デモ動画モーダル ===== */
.vmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.vmodal[hidden] { display: none; }
.vmodal-backdrop {
  position: absolute; inset: 0; background: rgba(20,10,18,.74);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .2s ease;
}
.vmodal.open .vmodal-backdrop { opacity: 1; }
.vmodal-dialog {
  position: relative; z-index: 1; width: min(900px, 94vw);
  transform: scale(.96); opacity: 0; transition: transform .22s ease, opacity .22s ease;
}
.vmodal.open .vmodal-dialog { transform: scale(1); opacity: 1; }
.vmodal-close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px;
  border: none; background: rgba(255,255,255,.16); color: #fff; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; transition: background .15s ease;
}
.vmodal-close:hover { background: rgba(255,255,255,.32); }
.vmodal-close svg { width: 20px; height: 20px; }
/* プレーヤー */
.vplayer { position: relative; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vplayer video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vplayer-overlay { position: absolute; inset: 0; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; }
.vplayer-bigplay {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0,0,0,.45);
  transition: transform .18s ease, opacity .2s ease;
}
.vplayer-bigplay svg { width: 38px; height: 38px; color: var(--brand); margin-left: 4px; }
.vplayer-overlay:hover .vplayer-bigplay { transform: scale(1.07); }
.vplayer.is-playing .vplayer-overlay { pointer-events: none; }
.vplayer.is-playing .vplayer-bigplay { opacity: 0; transform: scale(.7); }
/* コントロールバー */
.vplayer-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px 11px; background: linear-gradient(transparent, rgba(0,0,0,.72));
  opacity: 0; transition: opacity .2s ease;
}
.vplayer:hover .vplayer-bar, .vplayer.is-paused .vplayer-bar { opacity: 1; }
.vp-btn { border: none; background: transparent; color: #fff; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; flex: none; padding: 0; }
.vp-btn:hover { background: rgba(255,255,255,.16); }
.vp-btn svg { width: 20px; height: 20px; }
.vp-seek { flex: 1; min-width: 50px; height: 4px; accent-color: var(--brand); cursor: pointer; }
.vp-vol { width: 82px; flex: none; accent-color: var(--brand); cursor: pointer; height: 4px; }
.vp-time { color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; flex: none; white-space: nowrap; }
/* アイコンの再生/一時停止・音声オンオフ切替 */
.vplayer .ic-pause { display: none; }
.vplayer.is-playing .ic-play { display: none; }
.vplayer.is-playing .ic-pause { display: block; }
.vplayer .ic-mute { display: none; }
.vplayer.is-muted .ic-vol { display: none; }
.vplayer.is-muted .ic-mute { display: block; }
@media (max-width: 560px) {
  .vmodal { padding: 16px; }
  .vp-vol { width: 54px; }
  .vp-time { display: none; }
  .vmodal-close { top: -44px; }
}

/* ===== ショート動画（料金プラン追記） ===== */
.ph-short { background: #ffe3ef; color: var(--accent-dark); }
.pricing-allin .short-feature {
  margin-top: 16px; padding: 14px 18px; text-align: left;
  background: var(--brand-light); border: 1px solid #ffd9c9;
  border-radius: 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8;
}
.pricing-allin .short-feature strong { color: var(--ink); font-weight: 700; }
