/* ============================================================
   live-page.css — Shoplive Japan ライブ配信ページ専用スタイル
   ============================================================ */

:root {
  --pg-black:     #0a0a0a;
  --pg-white:     #ffffff;
  --pg-red:       #E83B3B;
  --pg-gray-bg:   #f7f7f7;
  --pg-gray-text: rgba(0,0,0,0.5);
  --pg-border:    rgba(0,0,0,0.08);
  --pg-radius:    16px;
  --pg-max-w:     1200px;
  --pg-font:      "Pretendard", "Noto Sans JP", sans-serif;
  --pg-section-py: 120px;
}

*, *::before, *::after { box-sizing: border-box; word-break: keep-all; }
html, body { overflow-x: clip; }
body { font-family: var(--pg-font); color: var(--pg-black); margin: 0; padding: 0; }

/* ── 共通ボタン ── */
.sl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  font-family: var(--pg-font);
}
.sl-btn-primary { background: var(--pg-red); color: #fff; }
.sl-btn-primary:hover { background: #c93030; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-hero {
  background: #fff;
  padding: 80px 32px 0;
  text-align: center;
}

.sl-lv-hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pg-red);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.sl-lv-hero-h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--pg-black);
  margin: 0 0 28px;
}

.sl-lv-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pg-gray-text);
  margin: 0 auto 64px;
}

/* Dashboard composite container */
.sl-lv-hero-dashboard {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  border-bottom: none;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Campaign header bar */
.sl-lv-hero-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 40px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  flex-shrink: 0;
}
.sl-lv-dash-breadcrumb { font-weight: 500; color: rgba(0,0,0,0.4); }
.sl-lv-dash-sep        { color: rgba(0,0,0,0.3); }
.sl-lv-dash-event      { font-weight: 500; color: rgba(0,0,0,0.8); }
.sl-lv-dash-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #e83b3b;
  letter-spacing: 0.04em;
}
.sl-lv-dash-live-dot {
  width: 7px; height: 7px;
  background: #e83b3b;
  border-radius: 50%;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Body: stream + widgets */
.sl-lv-hero-dash-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Stream Widget (left, fixed ~280px) ── */
.sl-lv-hero-stream {
  width: 260px;
  flex: none;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0,0,0,0.08);
  background: #1a1a1a;
}

.sl-lv-hero-stream-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sl-lv-hero-stream-video {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.sl-lv-hero-stream-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sl-lv-hero-stream-ui {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
}

.sl-lv-hero-stream-footer {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.sl-lv-hero-stream-product {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sl-lv-hero-stream-product img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.sl-lv-dash-product-brand,
.sl-lv-dash-product-name,
.sl-lv-dash-product-price { margin: 0; line-height: 1.3; }
.sl-lv-dash-product-brand { font-size: 10px; color: rgba(255,255,255,0.45); }
.sl-lv-dash-product-name  { font-size: 11px; font-weight: 600; color: #fff; }
.sl-lv-dash-product-price { font-size: 11px; color: rgba(255,255,255,0.8); }
.sl-lv-dash-pct {
  background: var(--pg-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 4px;
}
.sl-lv-dash-end-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 6px 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}

.sl-lv-hero-stream-info {
  padding: 6px 10px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.sl-lv-hero-stream-info > div { display: flex; flex-direction: column; gap: 1px; }
.sl-lv-dash-info-label { margin: 0; font-size: 9px; color: rgba(255,255,255,0.4); }
.sl-lv-dash-info-val   { margin: 0; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); }

/* ── Another Widgets (right, fills remaining) ── */
.sl-lv-hero-widgets {
  flex: 1 0 0;
  overflow: hidden;
  display: flex;
}
.sl-lv-hero-widgets img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. BENEFITS（4列）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-benefits {
  background: #fff;
  padding: 80px 32px 80px;
  border-top: 1px solid var(--pg-border);
}

.sl-lv-benefits-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.sl-lv-benefit-col {
  padding: 0 32px;
  border-right: 1px solid var(--pg-border);
}
.sl-lv-benefit-col:first-child { padding-left: 0; }
.sl-lv-benefit-col:last-child  { padding-right: 0; border-right: none; }

.sl-lv-benefit-icon {
  color: var(--pg-black);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.sl-lv-benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--pg-black);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sl-lv-benefit-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--pg-gray-text);
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-features {
  background: #fff;
  padding: var(--pg-section-py) 0 0;
}

.sl-lv-features-head {
  max-width: var(--pg-max-w);
  margin: 0 auto 72px;
  padding: 0 0;
}

.sl-lv-features-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--pg-black);
  margin: 0;
}

/* Feature 1 */
.sl-lv-feat1 {
  max-width: var(--pg-max-w);
  margin: 0 auto 64px;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fcfcfc;
  border-radius: var(--pg-radius);
  overflow: hidden;
  min-height: 420px;
}

.sl-lv-feat1-text {
  flex: 0 0 34%;
  padding: 40px 32px 40px 40px;
  align-self: flex-start;
}

.sl-lv-feat1-img {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: stretch;
  overflow: hidden;
}

.sl-lv-feat1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

/* Feature title/desc shared */
.sl-lv-feat-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--pg-black);
  margin: 0 0 12px;
}

.sl-lv-feat-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--pg-gray-text);
  margin: 0;
}

/* 2×2 grid */
.sl-lv-feat-grid {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sl-lv-feat-card {
  border-radius: var(--pg-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 36px 0;
}

.sl-lv-feat-card--dark {
  background: #111;
}
.sl-lv-feat-card--dark .sl-lv-feat-title { color: #fff; }
.sl-lv-feat-card--dark .sl-lv-feat-desc  { color: rgba(255,255,255,0.55); }

.sl-lv-feat-card--light {
  background: var(--pg-gray-bg);
}

.sl-lv-feat-card-text {
  margin-bottom: 32px;
}

.sl-lv-feat-card-img {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sl-lv-feat-card-img > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

/* Feature 3: overlapping chat images */
.sl-lv-feat-card-img--chat {
  overflow: visible;
  align-items: stretch;
}

.sl-lv-feat3-imgs {
  position: relative;
  width: 100%;
  padding-bottom: 114%;   /* 580px / 508px ≈ height proportional to width */
  flex-shrink: 0;
}

.sl-lv-feat3-main {
  position: absolute;
  width: 91%;
  bottom: 7%;
  right: 8%;
  border-radius: 12px;
  box-shadow: 0 12px 12px -6px rgba(0,0,0,0.08),
              0 4px 4px -2px rgba(0,0,0,0.08),
              0 0 0 0.5px rgba(0,0,0,0.1);
  display: block;
  height: auto;
}

.sl-lv-feat3-sub {
  position: absolute;
  width: 91%;
  bottom: 19%;
  left: 8%;
  border-radius: 12px;
  box-shadow: 0 12px 12px -6px rgba(0,0,0,0.08),
              0 4px 4px -2px rgba(0,0,0,0.08),
              0 0 0 0.5px rgba(0,0,0,0.1);
  display: block;
  height: auto;
  z-index: 1;
}

/* Feature 4: popup overlay images */
.sl-lv-feat-card-img--popup {
  overflow: visible;
  align-items: stretch;
}

.sl-lv-feat4-imgs {
  position: relative;
  width: 100%;
  padding-bottom: 95%;
}

.sl-lv-feat4-quiz {
  position: absolute;
  width: 52%;
  top: 12%;
  left: 4%;
  border-radius: 16px;
  box-shadow: 0 8px 8px -2px rgba(0,0,0,0.08),
              0 4px 4px -2px rgba(0,0,0,0.08),
              0 0 0 0.5px rgba(0,0,0,0.08);
  display: block;
  height: auto;
}

.sl-lv-feat4-survey {
  position: absolute;
  width: 52%;
  top: 0;
  right: 4%;
  border-radius: 16px;
  box-shadow: 0 8px 8px -2px rgba(0,0,0,0.08),
              0 4px 4px -2px rgba(0,0,0,0.08),
              0 0 0 0.5px rgba(0,0,0,0.08);
  display: block;
  height: auto;
  z-index: 1;
}

/* Feature 5: PIP overlay images */
.sl-lv-feat-card-img--pip {
  overflow: visible;
  align-items: stretch;
}

.sl-lv-feat5-imgs {
  position: relative;
  width: 100%;
  padding-bottom: 95%;
}

.sl-lv-feat5-citybee {
  position: absolute;
  top: 0;
  left: 4%;
  width: 63%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 8px -2px rgba(0,0,0,0.08),
              0 4px 4px -2px rgba(0,0,0,0.08),
              0 0 0 0.5px rgba(0,0,0,0.08);
  display: block;
}

.sl-lv-feat5-pip {
  position: absolute;
  bottom: 6%;
  left: 46%;
  width: 28%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08),
              0 1px 2px rgba(0,0,0,0.1),
              0 0 0 0.5px rgba(0,0,0,0.1);
  display: block;
  z-index: 1;
}

/* Feature 2: phone mockup with video + crossfade slides */
.sl-lv-feat-card-img--phone {
  justify-content: center;
  align-items: flex-end;
  padding-top: 8px;
}

.sl-lv-phone-wrap {
  position: relative;
  width: 240px;
  aspect-ratio: 1072 / 2163;
}

.sl-lv-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.sl-lv-phone-screen {
  position: absolute;
  top: 3.1%;
  left: 8.5%;
  width: 84%;
  height: 93.5%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.sl-lv-phone-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sl-lv-phone-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sl-lv-phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sl-lv-phone-slide.active {
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. IMPLEMENTATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-impl {
  background: #fff;
  padding: var(--pg-section-py) 32px;
}

.sl-lv-impl-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.sl-lv-impl-text {
  flex: 1;
  min-width: 0;
}

.sl-lv-impl-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pg-black);
  margin: 0 0 20px;
}

.sl-lv-impl-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--pg-gray-text);
  margin: 0 0 28px;
}

.sl-lv-impl-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--pg-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sl-lv-impl-link:hover { text-decoration: underline; }

/* Code snippet box */
.sl-lv-impl-code-wrap {
  flex: 0 0 52%;
}

.sl-lv-impl-code-box {
  background: linear-gradient(145deg, #cce8f4 0%, #dde8f8 40%, #e8ddf5 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.sl-lv-impl-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.3);
}

.sl-lv-impl-code-icon {
  display: flex;
  align-items: center;
  color: #555;
}

.sl-lv-impl-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 12px;
  color: #777;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.sl-lv-impl-code-body {
  padding: 24px 24px 20px;
}

.sl-lv-impl-code-body pre {
  margin: 0;
  font-family: "Menlo", "Consolas", "Monaco", monospace;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
}

.sl-lv-impl-code-body code { display: block; }

.c-tag  { color: #c0392b; }
.c-attr { color: #2980b9; }
.c-str  { color: #27ae60; }
.c-fn   { color: #8e44ad; }

.sl-lv-impl-code-footer {
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.25);
}

.sl-lv-impl-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  font-family: var(--pg-font);
  transition: background 0.15s;
}
.sl-lv-impl-copy:hover { background: rgba(255,255,255,0.9); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-dashboard {
  background: #fff;
  padding: var(--pg-section-py) 32px;
  border-top: 1px solid var(--pg-border);
}

.sl-lv-dashboard-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.sl-lv-dashboard-visual {
  flex: 0 0 54%;
  border-radius: 12px;
  overflow: hidden;
}

.sl-lv-dashboard-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.1);
}

.sl-lv-dashboard-text {
  flex: 1;
  min-width: 0;
}

.sl-lv-dashboard-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pg-black);
  margin: 0 0 20px;
}

.sl-lv-dashboard-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--pg-gray-text);
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. ANALYTICS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-analytics {
  background: #fff;
  padding: var(--pg-section-py) 32px;
}

.sl-lv-analytics-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.sl-lv-analytics-text {
  flex: 0 0 36%;
}

.sl-lv-analytics-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pg-black);
  margin: 0 0 20px;
}

.sl-lv-analytics-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--pg-gray-text);
  margin: 0;
}

.sl-lv-analytics-visual {
  flex: 1;
  min-width: 0;
}

.sl-lv-analytics-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. TESTIMONIALS（carousel）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-testi {
  background: #0a0a0a;
  padding: var(--pg-section-py) 0 80px;
  overflow: hidden;
}

.sl-lv-testi-head {
  max-width: var(--pg-max-w);
  margin: 0 auto 60px;
  padding: 0 32px;
}

.sl-lv-testi-heading {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
}

.sl-lv-testi-carousel {
  max-width: var(--pg-max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.sl-lv-testi-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.sl-lv-testi-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 20px;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,0.18);
}

.sl-lv-testi-card--fashion    .sl-lv-testi-card-right { background: linear-gradient(135deg, #12103e 0%, #1a2244 100%); }
.sl-lv-testi-card--beauty     .sl-lv-testi-card-right { background: linear-gradient(135deg, #0a2318 0%, #152b10 100%); }
.sl-lv-testi-card--education  .sl-lv-testi-card-right { background: linear-gradient(135deg, #0c2230 0%, #10302a 100%); }
.sl-lv-testi-card--electronics .sl-lv-testi-card-right{ background: linear-gradient(135deg, #2a0e10 0%, #1e0c22 100%); }

.sl-lv-testi-card-left {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #000;
  min-width: 0;
}

.sl-lv-testi-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-bottom: 28px;
}

.sl-lv-testi-quote {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.9);
  margin: 0 0 auto;
  flex: 1;
}

.sl-lv-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.sl-lv-testi-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-lv-testi-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 0 0 3px;
}

.sl-lv-testi-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.sl-lv-testi-card-right {
  overflow: hidden;
  position: relative;
}

/* Testimonials image compositions */
.sl-lv-testi-comp {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Fashion: Chat list (behind) + Highlight Chat panel (front) + Highlight button */
.sl-lv-testi-comp--fashion .testi-hlchat {
  position: absolute;
  top: 7%;
  left: 6.5%;
  width: 63%;
  height: auto;
}
.sl-lv-testi-comp--fashion .testi-chatlist {
  position: absolute;
  top: 21%;
  right: 6.7%;
  width: 67%;
  height: auto;
  -webkit-mask: linear-gradient(#000000fa 55%, #00000010 100%);
  mask: linear-gradient(#000000fa 55%, #00000010 100%);
}
.sl-lv-testi-comp--fashion .testi-hlbtn {
  position: absolute;
  top: 45%;
  right: 4%;
  width: 24%;
  height: auto;
}

/* Beauty: Survey popup */
.sl-lv-testi-comp--beauty .testi-survey {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 53%;
  height: auto;
  border-radius: 16px;
}

/* Education: Phone mockup with screen */
.sl-lv-testi-comp--education .testi-phone-wrap {
  position: absolute;
  top: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  aspect-ratio: 1072 / 2163;
}
.sl-lv-testi-comp--education .testi-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.sl-lv-testi-comp--education .testi-phone-screen {
  position: absolute;
  top: 3.1%;
  left: 8.5%;
  width: 83%;
  height: 93.5%;
  overflow: hidden;
  border-radius: 10%;
  z-index: 1;
}
.sl-lv-testi-comp--education .testi-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 45.9%;
  display: block;
}

/* Education: Chat list overlay (bottom of phone screen, outside phone-wrap to avoid stacking context) */
.testi-chat-list {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;  /* 83% × 70% ≈ phone screen width */
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.45) 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  z-index: 5;
}
.testi-chat-msg {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testi-chat-name {
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.testi-chat-bar {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.02) 100%);
}

/* Education: Grammar Class banner (top of phone screen) */
.testi-grammar-label {
  position: absolute;
  top: 13%;
  left: 22%;
  display: flex;
  align-items: stretch;
  z-index: 6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.testi-grammar-label-grammar {
  background: #000;
  color: #fff;
  padding: 1px 5px 1px 7px;
}
.testi-grammar-label-class {
  background: #14d9a4;
  color: #000;
  padding: 1px 7px 1px 5px;
}

/* Education: Notice badge */
.sl-lv-testi-notice {
  position: absolute;
  bottom: 21%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px 4px 4px;
  white-space: nowrap;
  z-index: 3;
}
.sl-lv-testi-notice-chip {
  background: #dc2626;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}
.sl-lv-testi-notice-text {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
}

/* Electronics: Quiz UI */
.sl-lv-testi-comp--electronics .testi-quiz {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 53%;
  height: auto;
  border-radius: 16px;
}

/* Controls */
.sl-lv-testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 0 4px;
}

.sl-lv-testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sl-lv-testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sl-lv-testi-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.sl-lv-testi-arrows {
  display: flex;
  gap: 8px;
}

.sl-lv-testi-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sl-lv-testi-arrow:hover { background: rgba(255,255,255,0.2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. CTA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-lv-cta-wrap {
  background: #000;
  width: 100%;
  padding: 0;
}

.sl-lv-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 100px 32px 56px;
  background-color: #000;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><circle cx='47' cy='78' r='1.2' fill='white' fill-opacity='0.55'/><circle cx='153' cy='28' r='1' fill='white' fill-opacity='0.45'/><circle cx='283' cy='116' r='1.5' fill='white' fill-opacity='0.6'/><circle cx='355' cy='53' r='1' fill='white' fill-opacity='0.4'/><circle cx='89' cy='197' r='1.2' fill='white' fill-opacity='0.5'/><circle cx='218' cy='277' r='1' fill='white' fill-opacity='0.55'/><circle cx='378' cy='249' r='1.5' fill='white' fill-opacity='0.45'/><circle cx='169' cy='349' r='1' fill='white' fill-opacity='0.4'/><circle cx='312' cy='382' r='1.2' fill='white' fill-opacity='0.55'/><circle cx='58' cy='326' r='1' fill='white' fill-opacity='0.45'/><circle cx='238' cy='147' r='1' fill='white' fill-opacity='0.35'/><circle cx='132' cy='274' r='1.5' fill='white' fill-opacity='0.6'/><circle cx='196' cy='195' r='1' fill='white' fill-opacity='0.3'/><circle cx='320' cy='171' r='1.2' fill='white' fill-opacity='0.5'/><circle cx='78' cy='145' r='1' fill='white' fill-opacity='0.4'/><circle cx='261' cy='53' r='1.5' fill='white' fill-opacity='0.65'/><circle cx='340' cy='310' r='1' fill='white' fill-opacity='0.4'/><circle cx='20' cy='360' r='1.2' fill='white' fill-opacity='0.5'/><circle cx='180' cy='130' r='1' fill='white' fill-opacity='0.35'/><circle cx='390' cy='140' r='1.2' fill='white' fill-opacity='0.5'/></svg>");
  background-size: 400px 400px;
  background-repeat: repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}
/* 赤い大気グロー */
.sl-lv-cta::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    ellipse at 50% 82%,
    rgba(210,30,5,0.7) 0%,
    rgba(140,10,0,0.45) 18%,
    rgba(60,3,0,0.25) 36%,
    transparent 58%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}
/* 惑星面：黒い楕円 + 赤いリムグロー */
.sl-lv-cta::after {
  content: '';
  position: absolute;
  width: 160%;
  height: 120%;
  left: -30%;
  bottom: -88%;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0px -2px 12px rgba(210,30,5,0.65),
    0px -8px 36px rgba(180,15,0,0.5),
    0px -22px 80px rgba(120,8,0,0.35),
    0px -50px 140px rgba(60,3,0,0.2);
  border-top: 1px solid rgba(220,40,10,0.45);
  z-index: 2;
  pointer-events: none;
}

.sl-lv-cta-inner {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
}

.sl-lv-cta h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 64px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .sl-lv-impl-inner     { gap: 48px; }
  .sl-lv-dashboard-inner { gap: 48px; }
  .sl-lv-analytics-inner { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --pg-section-py: 72px; }

  .sl-lv-hero { padding: 60px 20px 0; }
  .sl-lv-hero-img-wrap { border-radius: 8px 8px 0 0; }

  .sl-lv-benefits { padding: 60px 20px; }
  .sl-lv-benefits-inner { grid-template-columns: 1fr 1fr; }
  .sl-lv-benefit-col { padding: 20px; border-right: none; border-bottom: 1px solid var(--pg-border); }
  .sl-lv-benefit-col:first-child { padding-left: 20px; }
  .sl-lv-benefit-col:last-child  { padding-right: 20px; }
  .sl-lv-benefit-col:nth-child(odd)  { border-right: 1px solid var(--pg-border); }
  .sl-lv-benefit-col:last-child      { border-bottom: none; }
  .sl-lv-benefit-col:nth-child(3)    { border-bottom: none; }

  .sl-lv-features { padding: 60px 0; }
  .sl-lv-features-head { padding: 0 20px; }

  .sl-lv-feat1 {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    min-height: auto;
    gap: 32px;
  }
  .sl-lv-feat1-text { flex: none; padding-right: 0; }
  .sl-lv-feat1-img  { width: 100%; justify-content: center; }

  .sl-lv-feat-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .sl-lv-feat-card { padding: 28px 28px 0; }

  .sl-lv-impl { padding: 60px 20px; }
  .sl-lv-impl-inner { flex-direction: column; gap: 40px; }
  .sl-lv-impl-code-wrap { flex: none; width: 100%; }

  .sl-lv-dashboard { padding: 60px 20px; }
  .sl-lv-dashboard-inner { flex-direction: column; gap: 40px; }
  .sl-lv-dashboard-visual { flex: none; width: 100%; }

  .sl-lv-analytics { padding: 60px 20px; }
  .sl-lv-analytics-inner { flex-direction: column; gap: 40px; }
  .sl-lv-analytics-text  { flex: none; width: 100%; }

  .sl-lv-testi { padding: 60px 0 60px; }
  .sl-lv-testi-head { padding: 0 20px; }
  .sl-lv-testi-carousel { padding: 0 20px; }
  .sl-lv-testi-card { grid-template-columns: 1fr; }
  .sl-lv-testi-card-right { height: 220px; }
  .sl-lv-testi-card--education .sl-lv-testi-card-right { height: 300px; }

  .sl-lv-cta { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .sl-lv-hero-h1 { font-size: 36px; }
  .sl-lv-benefits-inner { grid-template-columns: 1fr; }
  .sl-lv-benefit-col { border-right: none; }
  .sl-lv-benefit-col:first-child { padding-left: 20px; }
  .sl-lv-benefit-col:last-child  { padding-right: 20px; }
  .sl-lv-benefit-col:nth-child(odd) { border-right: none; }
  .sl-lv-testi-card-left { padding: 32px 24px; }
  .sl-lv-testi-quote { font-size: 15px; }
}
