/* トップページ（日本語）ポップデザイン：青→紫→ピンクのグラデーションと、同じ絵柄のイラストで全体を統一 */
html body.home-pop:not(.app-page) {
  --pop-blue: #3f7bff;
  --pop-violet: #7c4dff;
  --pop-pink: #ec4899;
  --pop-yellow: #ffd650;
  --pop-ink: #1e1b4b;
  --pop-text: #4b4870;
  --pop-soft: #f6f4ff;
  --pop-line: #e7e3ff;
  --pop-grad: linear-gradient(120deg, #2b5cff 0%, #7c4dff 52%, #ec4899 100%);
  --pop-grad-soft: linear-gradient(135deg, #eef3ff 0%, #f3edff 55%, #ffeef7 100%);
  --pop-shadow: 0 14px 32px rgba(60, 30, 140, .10);
  --pop-shadow-hover: 0 20px 40px rgba(60, 30, 140, .16);
  background: #fff;
}

/* ---------- ヒーロー ---------- */
html body.home-pop:not(.app-page) .home-story-hero {
  position: relative;
  overflow: hidden;
  background: var(--pop-grad) !important;
  padding: 56px 0 76px !important;
  color: #fff;
}
html body.home-pop:not(.app-page) .home-story-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent);
  pointer-events: none;
}
html body.home-pop:not(.app-page) .home-story-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, .22) 0 3px, transparent 4px),
    radial-gradient(circle at 46% 12%, rgba(255, 255, 255, .18) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 86%, rgba(255, 214, 80, .45) 0 4px, transparent 5px),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, .2) 0 3px, transparent 4px);
  pointer-events: none;
}
html body.home-pop:not(.app-page) .hs-hero-inner { position: relative; z-index: 1; }
html body.home-pop:not(.app-page) .home-story-hero h1,
html body.home-pop:not(.app-page) .home-story-hero h1 em { color: #fff !important; }
html body.home-pop:not(.app-page) .home-story-hero h1 {
  font-weight: 900 !important;
  text-shadow: 0 6px 24px rgba(30, 0, 80, .25);
}
html body.home-pop:not(.app-page) .home-story-hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(255, 214, 80, .75) 62%);
}
html body.home-pop:not(.app-page) .hs-eyebrow {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  border: 0 !important;
}
html body.home-pop:not(.app-page) .hs-eyebrow .hs-spark { color: var(--pop-yellow) !important; }
html body.home-pop:not(.app-page) .hs-lead,
html body.home-pop:not(.app-page) .hs-assurance,
html body.home-pop:not(.app-page) .hs-assurance span,
html body.home-pop:not(.app-page) .hs-mini-note { color: rgba(255, 255, 255, .92) !important; }
html body.home-pop:not(.app-page) .hs-assurance svg,
html body.home-pop:not(.app-page) .hs-assurance i { color: var(--pop-yellow) !important; }
html body.home-pop:not(.app-page) .hs-primary {
  background: #fff !important;
  color: #3b2bd6 !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 17px 32px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 30px rgba(20, 0, 80, .3) !important;
}
html body.home-pop:not(.app-page) .hs-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(20, 0, 80, .36) !important; }
html body.home-pop:not(.app-page) .hs-secondary {
  color: #fff !important;
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, .7) !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
}
html body.home-pop:not(.app-page) .hs-hero-visual { position: relative; }
html body.home-pop:not(.app-page) .hs-visual-title,
html body.home-pop:not(.app-page) .hs-note { display: none !important; }
html body.home-pop:not(.app-page) .hs-video-shell {
  --pop-tilt: -2.2deg;
  transform: rotate(calc(var(--pop-tilt) * (1 - var(--sa-k, 0)))) scale(calc(1 + var(--sa-k, 0) * .03));
  border: 10px solid #fff !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 30px 60px rgba(20, 0, 80, .35) !important;
}
html body.home-pop:not(.app-page) .hs-pop { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
html body.home-pop:not(.app-page) .hs-pop-chip {
  position: absolute;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  color: #3b2bd6;
  font: 900 18px/1 "Noto Sans JP", sans-serif;
  box-shadow: 0 10px 24px rgba(20, 0, 80, .25);
}
html body.home-pop:not(.app-page) .hs-pop-chip::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
html body.home-pop:not(.app-page) .hs-pop-chip-a { left: -14px; top: 6%; }
html body.home-pop:not(.app-page) .hs-pop-chip-b { right: -10px; top: 32%; color: #c0267a; }
html body.home-pop:not(.app-page) .hs-pop-chip-c { left: 14%; bottom: -4%; color: #2b5cff; }
html body.home-pop:not(.app-page) .hs-pop-face {
  position: absolute;
  width: 74px;
  height: 74px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 0, 80, .3);
  animation: popFloat 4s ease-in-out infinite;
}
html body.home-pop:not(.app-page) .hs-pop-face-a { right: -26px; top: -22px; }
html body.home-pop:not(.app-page) .hs-pop-face-b { left: -32px; top: 48%; animation-delay: -1.3s; }
html body.home-pop:not(.app-page) .hs-pop-face-c { right: 12%; bottom: -32px; animation-delay: -2.6s; }
@keyframes popFloat { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  html body.home-pop:not(.app-page) .hs-pop-face { animation: none; }
}

/* ---------- 見出し・本文の共通トーン ---------- */
html body.home-pop:not(.app-page) main .content-section h2 {
  color: var(--pop-ink) !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
}
html body.home-pop:not(.app-page) main .content-section > h2::after,
html body.home-pop:not(.app-page) main .use-cases-compact-title::after,
html body.home-pop:not(.app-page) main .lp-observation-copy h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--pop-grad);
}
html body.home-pop:not(.app-page) main .use-cases-compact-title::after,
html body.home-pop:not(.app-page) main .lp-observation-copy h2::after { margin-left: 0; }
html body.home-pop:not(.app-page) main .content-section h3 { color: var(--pop-ink); }

/* セクション背景を白とラベンダーで交互に */
html body.home-pop:not(.app-page) main .lp-observation-section,
html body.home-pop:not(.app-page) main .use-cases,
html body.home-pop:not(.app-page) main .templates-section,
html body.home-pop:not(.app-page) main .seo-section:nth-of-type(even) {
  background: var(--pop-soft) !important;
}

/* キッカー・タグ・チップ */
html body.home-pop:not(.app-page) .lp-observation-kicker,
html body.home-pop:not(.app-page) .feature-story-kicker,
html body.home-pop:not(.app-page) .use-cases-compact-kicker,
html body.home-pop:not(.app-page) .seo-section-kicker,
html body.home-pop:not(.app-page) .section-mini-note {
  display: inline-block;
  padding: 6px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--pop-grad) !important;
  color: #fff !important;
  font-weight: 800 !important;
}
html body.home-pop:not(.app-page) .feature-tag,
html body.home-pop:not(.app-page) .use-case-tag,
html body.home-pop:not(.app-page) .seo-topic-chips span,
html body.home-pop:not(.app-page) .lp-media-chips span,
html body.home-pop:not(.app-page) .use-case-filter-row span,
html body.home-pop:not(.app-page) .example-filter-row span,
html body.home-pop:not(.app-page) .faq-filter-chips span,
html body.home-pop:not(.app-page) .faq-filter-chips button {
  border: 0 !important;
  border-radius: 999px !important;
  background: #efeaff !important;
  color: #5b3fd6 !important;
  font-weight: 800 !important;
}
html body.home-pop:not(.app-page) .use-case-filter-row .is-active,
html body.home-pop:not(.app-page) .example-filter-row .is-active,
html body.home-pop:not(.app-page) .faq-filter-chips .is-active {
  background: var(--pop-grad) !important;
  color: #fff !important;
}

/* ボタン */
html body.home-pop:not(.app-page) main .btn-primary,
html body.home-pop:not(.app-page) .lp-premium-strip .btn-primary,
html body.home-pop:not(.app-page) .lp-lifetime-strip .btn-primary {
  background: var(--pop-grad) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 26px rgba(124, 77, 255, .3) !important;
}
html body.home-pop:not(.app-page) main .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(124, 77, 255, .38) !important; }
html body.home-pop:not(.app-page) main .btn-secondary {
  background: #fff !important;
  color: #5b3fd6 !important;
  border: 2px solid #d9cfff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}
html body.home-pop:not(.app-page) main .btn-secondary:hover { border-color: var(--pop-violet) !important; }

/* ---------- 何の相関図を作りますか？ ---------- */
html body.home-pop:not(.app-page) .scene-entry-section { background: #fff !important; padding: 56px 0 !important; }
html body.home-pop:not(.app-page) main .content-section.scene-entry-section.scene-entry-section > p.scene-entry-title.scene-entry-title.scene-entry-title {
  font-size: 30px !important;
  font-weight: 900 !important;
  text-align: center;
  color: var(--pop-ink) !important;
  margin-bottom: 22px !important;
}
html body.home-pop:not(.app-page) .scene-entry-grid { gap: 16px !important; max-width: 1180px; margin-inline: auto !important; }
html body.home-pop:not(.app-page) .scene-entry-card {
  position: relative;
  min-height: 270px;
  padding: 22px 22px 140px !important;
  border: 0 !important;
  border-radius: 24px !important;
  color: #fff !important;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(60, 30, 140, .18) !important;
  transition: transform .2s, box-shadow .2s;
}
html body.home-pop:not(.app-page) .scene-entry-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(60, 30, 140, .26) !important; }
html body.home-pop:not(.app-page) .scene-entry-card:nth-child(1) { background: linear-gradient(135deg, #ff6fa8, #ff9a62) !important; }
html body.home-pop:not(.app-page) .scene-entry-card:nth-child(2) { background: linear-gradient(135deg, #3f7bff, #7c4dff) !important; }
html body.home-pop:not(.app-page) .scene-entry-card:nth-child(3) { background: linear-gradient(135deg, #16b67a, #21c3d8) !important; }
html body.home-pop:not(.app-page) .scene-entry-card:nth-child(4) { background: linear-gradient(135deg, #ff9f1c, #ff5d5d) !important; }
html body.home-pop:not(.app-page) .scene-entry-card strong { position: relative; z-index: 1; color: #fff !important; font-size: 22px !important; }
html body.home-pop:not(.app-page) .scene-entry-card span:not(.scene-entry-icon) { position: relative; z-index: 1; color: rgba(255, 255, 255, .95) !important; font-size: 14px !important; }
html body.home-pop:not(.app-page) .scene-entry-icon {
  position: relative;
  z-index: 1;
  display: inline-grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, .22) !important;
  color: #fff !important;
  border-radius: 12px !important;
}
html body.home-pop:not(.app-page) .scene-entry-art {
  position: absolute;
  right: -4px;
  bottom: -10px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(30, 0, 80, .22));
  transition: transform .25s;
}
html body.home-pop:not(.app-page) .scene-entry-card:hover .scene-entry-art { transform: scale(1.06) rotate(-2deg); }

/* ---------- 共通カード ---------- */
html body.home-pop:not(.app-page) .lp-observation-item,
html body.home-pop:not(.app-page) .feature-story-step,
html body.home-pop:not(.app-page) .feature,
html body.home-pop:not(.app-page) .use-case,
html body.home-pop:not(.app-page) .step-card,
html body.home-pop:not(.app-page) .template-card,
html body.home-pop:not(.app-page) .recommend-card,
html body.home-pop:not(.app-page) .seo-insight-card,
html body.home-pop:not(.app-page) .seo-summary-panel > div,
html body.home-pop:not(.app-page) .usage-scene-card,
html body.home-pop:not(.app-page) .example-card,
html body.home-pop:not(.app-page) .faq-item {
  border: 1px solid var(--pop-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: var(--pop-shadow) !important;
}
html body.home-pop:not(.app-page) .feature:hover,
html body.home-pop:not(.app-page) .use-case:hover,
html body.home-pop:not(.app-page) .template-card:hover,
html body.home-pop:not(.app-page) .example-card:hover,
html body.home-pop:not(.app-page) .usage-scene-card:hover { box-shadow: var(--pop-shadow-hover) !important; }

/* 番号・アイコンの丸をグラデーションに */
html body.home-pop:not(.app-page) .lp-observation-item > span,
html body.home-pop:not(.app-page) .feature-story-step > span,
html body.home-pop:not(.app-page) .step-card-num,
html body.home-pop:not(.app-page) .seo-quick-steps b {
  background: var(--pop-grad) !important;
  color: #fff !important;
  border: 0 !important;
}
html body.home-pop:not(.app-page) .use-case-compact-icon,
html body.home-pop:not(.app-page) .step-card-icon,
html body.home-pop:not(.app-page) .template-card-icon,
html body.home-pop:not(.app-page) .recommend-icon,
html body.home-pop:not(.app-page) .seo-insight-mark,
html body.home-pop:not(.app-page) .seo-subhead-mark,
html body.home-pop:not(.app-page) .reason-icon,
html body.home-pop:not(.app-page) .lp-process-icon,
html body.home-pop:not(.app-page) .usage-scene-icon,
html body.home-pop:not(.app-page) .faq-group-icon,
html body.home-pop:not(.app-page) .lp-media-caption-icon {
  background: var(--pop-grad-soft) !important;
  color: var(--pop-violet) !important;
  border: 0 !important;
}

/* 観察セクションのまとめ帯 */
html body.home-pop:not(.app-page) .lp-observation-bridge {
  border: 0 !important;
  border-radius: 22px !important;
  background: var(--pop-grad) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(124, 77, 255, .28) !important;
}
html body.home-pop:not(.app-page) .lp-observation-bridge span,
html body.home-pop:not(.app-page) .lp-observation-bridge strong { color: #fff !important; }

/* ---------- 特徴 ---------- */
html body.home-pop:not(.app-page) .feature-story-media img {
  border: 8px solid #fff !important;
  border-radius: 26px !important;
  box-shadow: 0 22px 48px rgba(60, 30, 140, .18) !important;
  background: #fff;
}
html body.home-pop:not(.app-page) .feature-story-media {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* 白い額縁は枠側に付け、中の画像だけをスクロールで動かせるようにする */
html body.home-pop:not(.app-page) .lp-media-frame,
html body.home-pop:not(.app-page) .tv-banner {
  overflow: hidden !important;
  padding: 0 !important;
  border: 8px solid #fff !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 22px 48px rgba(60, 30, 140, .18) !important;
}
html body.home-pop:not(.app-page) .lp-media-frame img,
html body.home-pop:not(.app-page) .tv-banner img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
html body.home-pop:not(.app-page) .lp-media-glow { display: none !important; }
html body.home-pop:not(.app-page) .feature .feature-img {
  width: 136px !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  padding: 10px;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--pop-grad-soft) !important;
}
html body.home-pop:not(.app-page) .feature h3 { font-weight: 900 !important; }

/* ---------- 料金の帯 ---------- */
html body.home-pop:not(.app-page) .lp-premium-strip,
html body.home-pop:not(.app-page) .lp-lifetime-strip {
  border: 0 !important;
  border-radius: 26px !important;
  background: var(--pop-grad-soft) !important;
  box-shadow: var(--pop-shadow) !important;
}
html body.home-pop:not(.app-page) .lp-premium-strip-kicker,
html body.home-pop:not(.app-page) .lp-lifetime-strip-kicker { color: var(--pop-violet) !important; font-weight: 900 !important; }

/* ---------- 手順・作り方 ---------- */
html body.home-pop:not(.app-page) .step-card .tv-shot,
html body.home-pop:not(.app-page) .template-card .tv-thumb {
  border: 1px solid var(--pop-line) !important;
  border-radius: 16px !important;
}
html body.home-pop:not(.app-page) .lp-process-band li,
html body.home-pop:not(.app-page) .seo-steps li {
  border-color: var(--pop-line) !important;
}
html body.home-pop:not(.app-page) .seo-quick-steps span {
  border: 1px solid var(--pop-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--pop-ink) !important;
  box-shadow: 0 6px 14px rgba(60, 30, 140, .08);
}

/* テンプレートのCTA・リンク色 */
html body.home-pop:not(.app-page) .template-cta,
html body.home-pop:not(.app-page) .example-card-cta,
html body.home-pop:not(.app-page) .use-cases-compact-more,
html body.home-pop:not(.app-page) .template-empty-cta { color: var(--pop-violet) !important; font-weight: 800 !important; }

/* ---------- FAQ ---------- */
html body.home-pop:not(.app-page) .faq-item summary,
html body.home-pop:not(.app-page) .faq-question { color: var(--pop-ink) !important; font-weight: 800 !important; }

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  html body.home-pop:not(.app-page) .home-story-hero { padding: 36px 0 60px !important; }
  html body.home-pop:not(.app-page) .hs-video-shell { --pop-tilt: -1.5deg; border-width: 6px !important; border-radius: 20px !important; }
  html body.home-pop:not(.app-page) .hs-pop-chip { font-size: 14px; padding: 7px 13px; }
  html body.home-pop:not(.app-page) .hs-pop-chip-a { left: -4px; top: -6%; }
  html body.home-pop:not(.app-page) .hs-pop-chip-b { right: -4px; top: 34%; }
  html body.home-pop:not(.app-page) .hs-pop-chip-c { left: 8%; bottom: -8%; }
  html body.home-pop:not(.app-page) .hs-pop-face { width: 52px; height: 52px; border-width: 3px; }
  html body.home-pop:not(.app-page) .hs-pop-face-a { right: -8px; top: -26px; }
  html body.home-pop:not(.app-page) .hs-pop-face-b { left: -10px; top: 52%; }
  html body.home-pop:not(.app-page) .hs-pop-face-c { right: 10%; bottom: -28px; }
  html body.home-pop:not(.app-page) main .content-section.scene-entry-section.scene-entry-section > p.scene-entry-title.scene-entry-title.scene-entry-title { font-size: 22px !important; }
  html body.home-pop:not(.app-page) .scene-entry-grid { gap: 12px !important; }
  html body.home-pop:not(.app-page) .scene-entry-card { min-height: 200px; padding: 16px 14px 98px !important; border-radius: 20px !important; }
  html body.home-pop:not(.app-page) .scene-entry-card strong { font-size: 18px !important; }
  html body.home-pop:not(.app-page) .scene-entry-card span:not(.scene-entry-icon) { font-size: 12px !important; }
  html body.home-pop:not(.app-page) .scene-entry-icon { width: 34px !important; height: 34px !important; }
  html body.home-pop:not(.app-page) .scene-entry-art { width: 108px; height: 108px; }
  html body.home-pop:not(.app-page) .feature-story-media img,
  html body.home-pop:not(.app-page) .lp-media-frame,
  html body.home-pop:not(.app-page) .tv-banner { border-width: 5px !important; border-radius: 18px !important; }
  html body.home-pop:not(.app-page) .lp-media-frame img,
  html body.home-pop:not(.app-page) .tv-banner img { border-radius: 13px !important; }
}

/* ---------- 調整 ---------- */
html body.home-pop:not(.app-page) .section-mini-note,
html body.home-pop:not(.app-page) .seo-section-kicker,
html body.home-pop:not(.app-page) .feature-story-kicker {
  display: table !important;
  margin-inline: auto !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  opacity: 1 !important;
}
html body.home-pop:not(.app-page) .template-empty-cta {
  display: inline-flex !important;
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--pop-grad) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(124, 77, 255, .3) !important;
}
html body.home-pop:not(.app-page) .seo-steps li::before { background: var(--pop-grad) !important; color: #fff !important; }
html body.home-pop:not(.app-page) .faq-group-title { border-left-color: var(--pop-violet) !important; }
html body.home-pop:not(.app-page) .faq-answer-lead { color: #5b3fd6 !important; }
html body.home-pop:not(.app-page) .example-tag {
  display: inline-block !important;
  width: fit-content !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
}
@media (min-width: 561px) {
  html body.home-pop:not(.app-page) .feature { grid-template-columns: 136px minmax(0, 1fr) !important; column-gap: 20px !important; }
}
@media (min-width: 761px) {
  html body.home-pop:not(.app-page) .use-case-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  html body.home-pop:not(.app-page) .scene-entry-section { padding-inline: 16px !important; }
}
html body.home-pop:not(.app-page) .features-section .feature .feature-img { grid-area: image; align-self: center; }
html body.home-pop:not(.app-page) .features-section .feature-grid { margin-top: 16px !important; }

/* ---------- スクロール演出（home-scroll.js が html に sa-on を付けた時だけ） ---------- */
html.sa-on body.home-pop .lp-section-reveal { opacity: 1; transform: none; transition: none; }
html.sa-on body.home-pop [data-anim]:not(.sa) { opacity: 1; transform: none; filter: none; transition: none; }
html.sa-on body.home-pop .sa {
  transition-property: opacity, transform, clip-path;
  transition-duration: .8s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--sa-delay, 0ms);
}
html.sa-on body.home-pop .sa-head { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(30px); }
html.sa-on body.home-pop .sa-head.sa-in { clip-path: inset(0 0 -20% 0); }
html.sa-on body.home-pop .sa-kicker { opacity: 0; transform: translateY(14px) scale(.9); transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
html.sa-on body.home-pop .sa-card { opacity: 0; transform: translateY(44px) scale(.88); transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
html.sa-on body.home-pop .sa-img { opacity: 0; transform: translateX(-100px) rotate(-2deg); }
html.sa-on body.home-pop .sa-img.sa-alt { transform: translateX(100px) rotate(2deg); }
html.sa-on body.home-pop .sa-chip { opacity: 0; transform: translateY(16px) scale(.6); transition-duration: .6s; transition-timing-function: cubic-bezier(.34, 1.8, .64, 1); }
html.sa-on body.home-pop .sa-btn { opacity: 0; transform: scale(.7); transition-timing-function: cubic-bezier(.34, 1.8, .64, 1); }
html.sa-on body.home-pop .sa.sa-in { opacity: 1; transform: none; }
html.sa-on body.home-pop main .content-section > h2.sa::after { width: 0; transition: width .9s cubic-bezier(.22, 1, .36, 1) .25s; }
html.sa-on body.home-pop main .content-section > h2.sa.sa-in::after { width: 56px; }

/* 画像は額縁の中でスクロールに合わせて少し動く（枠の外にははみ出さない） */
html.sa-on body.home-pop .lp-media-frame img,
html.sa-on body.home-pop .tv-banner img { transform: translateY(calc(var(--sa-par, 0) * 4%)) scale(1.1); }

/* 読み進みバー */
body.home-pop .sa-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--pop-grad);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* イラストがふわふわ浮く（hover の transform とぶつからないよう translate で動かす） */
  html body.home-pop:not(.app-page) .scene-entry-art,
  html body.home-pop:not(.app-page) .feature .feature-img { animation: saFloat 5s ease-in-out infinite; }
  html body.home-pop:not(.app-page) .scene-entry-card:nth-child(2n) .scene-entry-art,
  html body.home-pop:not(.app-page) .feature:nth-child(2n) .feature-img { animation-delay: -2s; }
  @keyframes saFloat { 50% { translate: 0 -7px; } }

  /* 最初の画面の登場 */
  html body.home-pop:not(.app-page) .home-story-hero .hs-eyebrow,
  html body.home-pop:not(.app-page) .home-story-hero h1,
  html body.home-pop:not(.app-page) .home-story-hero .hs-lead,
  html body.home-pop:not(.app-page) .home-story-hero .hs-hero-actions,
  html body.home-pop:not(.app-page) .home-story-hero .hs-assurance { animation: saUp .8s cubic-bezier(.34, 1.56, .64, 1) both; }
  html body.home-pop:not(.app-page) .home-story-hero h1 { animation-delay: .08s; }
  html body.home-pop:not(.app-page) .home-story-hero .hs-lead { animation-delay: .16s; }
  html body.home-pop:not(.app-page) .home-story-hero .hs-hero-actions { animation-delay: .24s; }
  html body.home-pop:not(.app-page) .home-story-hero .hs-assurance { animation-delay: .32s; }
  html body.home-pop:not(.app-page) .home-story-hero .hs-video-shell { animation: saPop 1s cubic-bezier(.34, 1.56, .64, 1) .2s both; }
  html body.home-pop:not(.app-page) .hs-pop-chip { animation: saPopIn .7s cubic-bezier(.34, 1.8, .64, 1) both; }
  html body.home-pop:not(.app-page) .hs-pop-chip-a { animation-delay: .7s; }
  html body.home-pop:not(.app-page) .hs-pop-chip-b { animation-delay: .85s; }
  html body.home-pop:not(.app-page) .hs-pop-chip-c { animation-delay: 1s; }
  html body.home-pop:not(.app-page) .hs-pop-face { animation: saPopIn .7s cubic-bezier(.34, 1.8, .64, 1) both, popFloat 4s ease-in-out 1.5s infinite; }
  html body.home-pop:not(.app-page) .hs-pop-face-a { animation-delay: .75s, 1.5s; }
  html body.home-pop:not(.app-page) .hs-pop-face-b { animation-delay: .9s, 1.6s; }
  html body.home-pop:not(.app-page) .hs-pop-face-c { animation-delay: 1.05s, 1.7s; }
  @keyframes saUp { from { opacity: 0; transform: translateY(30px); } }
  @keyframes saPop { from { opacity: 0; transform: rotate(var(--pop-tilt)) scale(.82); } }
  @keyframes saPopIn { from { opacity: 0; transform: scale(0); } }
}

/* ---------- 英語トップ（/en/）用の調整 ---------- */
html body.home-pop:not(.app-page) .lp-oc-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
html[lang="en"] body.home-pop #homeStoryHero { font-family: inherit; }
html[lang="en"] body.home-pop #homeStoryHero h1 {
  font-size: clamp(40px, 4.6vw, 66px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
  white-space: normal !important;
  margin-bottom: 22px !important;
}
html[lang="en"] body.home-pop #homeStoryHero .hs-lead { font-size: 15px !important; line-height: 1.8 !important; max-width: 34em; }
html[lang="en"] body.home-pop #homeStoryHero .hs-lead strong { display: inline-block; margin-bottom: 4px; color: #fff; font-size: 17px; }
html[lang="en"] body.home-pop #homeStoryHero .hs-eyebrow { font-size: 12px !important; letter-spacing: .04em !important; }

html body.home-pop:not(.app-page) .en-hero-extras {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  box-shadow: none !important;
  gap: 14px 18px;
  padding: 28px 16px 8px !important;
  background: #fff !important;
  text-align: center;
}
html body.home-pop:not(.app-page) .en-hero-extras .hero-ai-cta {
  display: inline-flex !important;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  padding: 14px 22px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--pop-grad-soft) !important;
  color: var(--pop-ink) !important;
  text-decoration: none;
  box-shadow: var(--pop-shadow) !important;
}
html body.home-pop:not(.app-page) .en-hero-extras .hero-ai-cta-main { color: var(--pop-ink) !important; font-weight: 900 !important; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-ai-cta-sub { color: var(--pop-text) !important; font-size: 13px; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-ai-badge { background: var(--pop-grad) !important; color: #fff !important; border-radius: 999px !important; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-cross-promo { max-width: 46em; margin: 0 !important; padding: 0 !important; border: 0 !important; text-align: center !important; color: var(--pop-text) !important; font-size: 13px; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-cross-promo a { color: #5b3fd6 !important; font-weight: 800; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-jump-links { display: flex !important; flex-wrap: wrap; justify-content: center !important; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.home-pop:not(.app-page) .en-hero-extras .hero-jump-link {
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #efeaff !important;
  color: #5b3fd6 !important;
  font-size: 13px;
  font-weight: 800 !important;
  text-decoration: none;
}
html body.home-pop:not(.app-page) .en-hero-extras .hero-jump-link:hover { background: var(--pop-grad) !important; color: #fff !important; }

html body.home-pop:not(.app-page) .creator-examples { background: var(--pop-soft) !important; }
html body.home-pop:not(.app-page) .creator-examples-intro,
html body.home-pop:not(.app-page) .creator-examples-footnote { color: var(--pop-text) !important; }
html body.home-pop:not(.app-page) .creator-example {
  overflow: hidden;
  border: 1px solid var(--pop-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: var(--pop-shadow) !important;
}
html body.home-pop:not(.app-page) .creator-example:hover { box-shadow: var(--pop-shadow-hover) !important; }
html body.home-pop:not(.app-page) .creator-example-count { color: var(--pop-violet) !important; font-weight: 800 !important; }
html body.home-pop:not(.app-page) .creator-examples-links a { color: #5b3fd6 !important; font-weight: 800; }
html body.home-pop:not(.app-page) .seo-list > li {
  border: 1px solid var(--pop-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(60, 30, 140, .07) !important;
}
@media (max-width: 760px) {
  html[lang="en"] body.home-pop #homeStoryHero h1 { font-size: clamp(36px, 10vw, 48px) !important; }
}
