/* ============================================================
   index-page.css — Shoplive Japan トップページ専用スタイル
   Framer 非依存のクリーン CSS
   ============================================================ */

/* ── CSS変数 ── */
:root {
  --pg-black:      #0a0a0a;
  --pg-white:      #ffffff;
  --pg-red:        #E83B3B;
  --pg-gray-bg:    #f7f7f7;
  --pg-gray-card:  #fcfcfc;
  --pg-gray-text:  rgba(0,0,0,0.55);
  --pg-border:     rgba(0,0,0,0.08);
  --pg-shadow:     0 2px 12px rgba(0,0,0,0.06);
  --pg-radius:     16px;
  --pg-max-w:      1280px;
  --pg-font:       "Pretendard", "Pretendard Medium", "Noto Sans JP", sans-serif;
  --pg-section-py: 120px;
}

/* ── グローバルリセット ── */
*, *::before, *::after {
  box-sizing: border-box;
  word-break: normal; /* <head>内スタイルの keep-all を上書き */
}
html, body {
  overflow-x: clip; /* hidden は position:sticky を壊すため clip を使用 */
}

/* ── 共通セクションベース ── */
.sl-section {
  width: 100%;
  padding: var(--pg-section-py) 32px;
  box-sizing: border-box;
}
.sl-section-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
}
.sl-section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pg-red);
  margin: 0 0 16px;
}
.sl-section-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--pg-black);
  margin: 0 0 20px;
}
.sl-section-subheading {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--pg-gray-text);
  max-width: 640px;
  margin: 0 0 56px;
}
.sl-section-subheading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── ボタン ── */
.sl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: var(--pg-font);
  cursor: pointer;
  border: none;
}
.sl-btn-primary {
  background: var(--pg-red);
  color: #fff;
}
.sl-btn-primary:hover { background: #c93030; }
.sl-btn-ghost-dark {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.sl-btn-ghost-dark:hover { background: rgba(255,255,255,0.18); }
.sl-btn-ghost-light {
  background: transparent;
  color: var(--pg-black);
  border: 1px solid var(--pg-border);
}
.sl-btn-ghost-light:hover { background: rgba(0,0,0,0.04); }

/* ============================================================
   1. HERO
   ============================================================ */
.sl-hero {
  position: relative;
  background: var(--pg-black);
  color: #fff;
  padding: 64px 0 0; /* 固定ヘッダー分のオフセット */
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

/* アニメーション背景グロー */
.sl-hero::before,
.sl-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.sl-hero::before {
  width: 700px;
  height: 500px;
  background: rgba(232, 59, 59, 0.22);
  filter: blur(100px);
  top: -150px;
  left: -180px;
  animation: heroGlow1 10s ease-in-out infinite alternate;
}
.sl-hero::after {
  width: 500px;
  height: 400px;
  background: rgba(180, 30, 30, 0.18);
  filter: blur(120px);
  bottom: -100px;
  right: -100px;
  animation: heroGlow2 12s ease-in-out infinite alternate;
}
@keyframes heroGlow1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(20px, 80px) scale(0.9); }
}
@keyframes heroGlow2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-50px, -30px) scale(1.2); }
  100% { transform: translate(-80px, 20px) scale(0.85); }
}
.sl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 32px 56px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.sl-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.5;
}
.sl-hero-h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 700px;
}
.sl-hero-h1 span.accent {
  color: var(--pg-red);
}
.sl-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 0 48px;
}
.sl-hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* スマホモックアップ */
.sl-hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.sl-hero-phone-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sl-hero-phone {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  border-radius: 44px;
  border: 6px solid rgba(255,255,255,0.18);
  background: #000;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  aspect-ratio: 9/19;
  z-index: 1;
}
.sl-hero-phone::before {
  /* ノッチ */
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 100px;
  z-index: 2;
}
.sl-hero-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* フローティングオーバーレイ画像 */
.sl-phone-overlay {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  z-index: 2;
  pointer-events: none;
}
/* クーポン：スマホ右上に重ねる */
.sl-phone-overlay-coupon {
  width: 120px;
  top: 22%;
  right: -30px;
  animation: floatOverlay 6s ease-in-out infinite reverse;
}
/* ライブUI：左上 */
.sl-phone-live-ui {
  position: absolute;
  top: 30px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}
.sl-phone-live-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sl-phone-live-brand {
  display: flex;
  align-items: center;
  background: white;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 16px;
}
.sl-phone-live-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.sl-phone-live-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
}
.sl-live-dot {
  width: 7px;
  height: 7px;
  background: var(--pg-red);
  border-radius: 50%;
  flex-shrink: 0;
}
.sl-phone-live-count {
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 12px;
}
/* 右側アイコン */
.sl-phone-icons-right {
  position: absolute;
  right: 10px;
  bottom: 26%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.sl-phone-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.sl-phone-icon svg {
  width: 16px;
  height: 16px;
}
/* 商品カード：スマホ下部内側 */
.sl-phone-product-card {
  position: absolute;
  bottom: 6%;
  left: 8px;
  width: calc(100% - 16px);
  border-radius: 10px;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
@keyframes floatOverlay {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ============================================================
   2b. INTRO（ビデオコマースの開始から成果まで）
   ============================================================ */
.sl-intro {
  background: #0d0d0d;
  padding: 96px 32px;
}
.sl-intro-inner {
  max-width: var(--pg-max-w);
  margin: 0 auto;
}
.sl-intro-lead {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 56px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.sl-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sl-intro-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.sl-intro-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}
.sl-intro-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg-red);
  flex-shrink: 0;
}
.sl-intro-icon svg {
  width: 26px;
  height: 26px;
}
.sl-intro-item-label {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}
.sl-intro-item-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0;
  flex: 1;
}

/* ============================================================
   2. CLIENT LOGOS MARQUEE
   ============================================================ */
.sl-logos {
  width: 100%;
  padding: 32px 0;
  background: var(--pg-white);
  border-bottom: 1px solid var(--pg-border);
  overflow: hidden;
}
.sl-logos-track {
  display: flex;
  align-items: center;
  animation: marqueeLeft 28s linear infinite;
  width: max-content;
  will-change: transform;
}
.sl-logos:hover .sl-logos-track { animation-play-state: paused; }
.sl-logos-set {
  display: flex;
  align-items: center;
  gap: 64px;
  /* 左右均等にすることでループ地点（Set2末尾→Set1先頭）のギャップも 64px で揃う */
  padding: 0 32px;
}
.sl-logos-set img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.sl-logos-set img:hover { opacity: 1; }

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--sl-marquee-shift, -50%)); }
}

/* ============================================================
   3. FEATURES
   ============================================================ */
.sl-features {
  background: var(--pg-white);
  padding: var(--pg-section-py) 0 0; /* 左右パディングなし → 動画が端まで届く */
}
.sl-features-head {
  max-width: var(--pg-max-w);
  margin: 0 auto 56px;
  padding: 0 32px; /* ヘッダー部だけ左右に余白 */
}
/* スクロールで切り替わる縦スペース */
.sl-features-scroll-body {
  position: relative;
  height: calc(4 * 80vh); /* 各タブ約20vh スクロールで切り替わる */
}
.sl-features-layout {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
  padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
}
.sl-features-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
  justify-content: center; /* 左テキストを縦中央に */
}
.sl-feature-tab {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.sl-feature-tab:hover {
  background: var(--pg-gray-bg);
}
.sl-feature-tab.active {
  background: var(--pg-gray-card);
  border-color: var(--pg-border);
  box-shadow: var(--pg-shadow);
}
.sl-feature-tab-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--pg-red);
  letter-spacing: 0.05em;
}
.sl-feature-tab-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-black);
  line-height: 1.35;
}
.sl-feature-tab-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--pg-gray-text);
  display: none;
}
.sl-feature-tab.active .sl-feature-tab-desc { display: block; }
.sl-feature-tab-cta {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pg-black);
  text-decoration: none;
  margin-top: 4px;
}
.sl-feature-tab.active .sl-feature-tab-cta { display: flex; }
.sl-feature-tab-cta::after { content: '→'; }
.sl-features-display {
  overflow: hidden;
  background: #000;
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 0;
}
.sl-features-pane {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.sl-features-pane.active { display: block; }
.sl-features-pane video,
.sl-features-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sl-features-pane video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.sl-feat-overlay {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  pointer-events: none;
}


/* ── Data pane: 白背景 + 上部バナー ── */
.sl-data-scene {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}
.sl-data-breadcrumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  font-family: var(--pg-font);
}
.sl-data-bc-label { color: #888; }
.sl-data-bc-sep   { color: #bbb; }
.sl-data-bc-event { color: #000; font-weight: 500; }
.sl-data-scene > img {
  flex: 1;
  width: 100%;
  height: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

/* ── Shortform pane: 背景クロスフェード + PIPビデオ ── */
.sl-shortform-scene {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #f5f0eb;
}
.sl-shortform-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sl-shortform-bg-1 { z-index: 1; }
.sl-shortform-bg-2 {
  z-index: 2;
  animation: sfBgSwap 10s ease-in-out infinite;
}
@keyframes sfBgSwap {
  0%, 35%  { opacity: 0; }
  45%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
.sl-shortform-pip {
  position: absolute;
  bottom: 6%;
  left: 3%;
  width: 20%;
  aspect-ratio: 9/16;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
  background: #000;
}
.sl-shortform-pip video {
  /* .sl-features-pane video の absolute を上書き */
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sl-pip-btn {
  position: absolute;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  line-height: 1;
}
.sl-pip-close { left: 6px; }
.sl-pip-pip   { right: 6px; }

/* ── AI pane: 左=参照動画、右=UIパネル ── */
.sl-pane-ai-split {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  background: #0a0a0a;
}
/* 左: 参照動画（.sl-features-pane video { position:absolute } を上書き） */
.sl-features-pane .sl-ai-ref-video,
.sl-ai-ref-img {
  flex: 0 0 42%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.sl-features-pane .sl-ai-ref-video {
  position: static;
  inset: auto;
  z-index: auto;
  width: 42%;
}
.sl-pane-ai-right {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a0a0a;
}
.sl-pane-ai-right > img:first-child {
  /* feat-ai-bar.png: フィルターバー — 汎用 height:100% を上書き */
  width: 100%;
  height: auto;
  object-fit: fill;
  display: block;
  flex-shrink: 0;
}
.sl-pane-ai-right > img:last-child {
  /* feat-ai-ui.png: サムネイルグリッド */
  flex: 1;
  width: 100%;
  height: 0;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* ── モバイル: フィーチャーペアカード（デフォルト非表示） ── */
.sl-features-mob-pairs {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px 60px;
}
.sl-features-mob-pair {
  border-radius: var(--pg-radius);
  border: 1px solid var(--pg-border);
  overflow: hidden;
  background: var(--pg-gray-card);
}
.sl-mob-feature-text {
  padding: 20px 20px 16px;
}
/* デスクトップで非表示だったものを強制表示 */
.sl-mob-feature-text .sl-feature-tab-desc { display: block !important; color: var(--pg-gray-text); }
.sl-mob-feature-text .sl-feature-tab-cta  { display: inline-flex !important; }
.sl-mob-feature-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.sl-mob-feature-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  /* pane img の absolute を解除 */
  position: static;
}
.sl-mob-feature-visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* AI split 内の動画は flex レイアウトを保持 */
.sl-mob-feature-visual .sl-pane-ai-split .sl-ai-ref-video {
  position: static;
  inset: auto;
  flex: 0 0 42%;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
/* data/shortform/ai 内のコンテナが height:100% で参照する親 */
.sl-mob-feature-visual .sl-data-scene,
.sl-mob-feature-visual .sl-shortform-scene,
.sl-mob-feature-visual .sl-pane-ai-split {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   4. HOW IT WORKS
   ============================================================ */
.sl-how {
  background: var(--pg-gray-bg);
}
.sl-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
}
.sl-how-card:last-child {
  grid-column: 1 / -1;
}

/* ── SDK orbit animation ── */
.sl-orbit {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.sl-orbit-ring {
  position: relative;
  width: 180px;
  height: 180px;
  animation: howOrbit 10s linear infinite;
}
.sl-orbit-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}
.sl-orbit-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: howCounter 10s linear infinite;
}
.sl-orbit-icon:nth-child(1) { top: -23px;  left: calc(50% - 23px); } /* top */
.sl-orbit-icon:nth-child(2) { right: -23px; top: calc(50% - 23px); } /* right */
.sl-orbit-icon:nth-child(3) { bottom: -23px; left: calc(50% - 23px); } /* bottom */
.sl-orbit-icon:nth-child(4) { left: -23px;  top: calc(50% - 23px); } /* left */
@keyframes howOrbit   { to { transform: rotate(360deg); } }
@keyframes howCounter { to { transform: rotate(-360deg); } }

/* ── Embed player panel ── */
.sl-embed-panel {
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
  margin-top: 4px;
}
.sl-embed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--pg-border);
  background: var(--pg-white);
}
.sl-embed-icon { font-family: monospace; color: var(--pg-gray-text); }
.sl-embed-title { flex: 1; font-weight: 600; color: var(--pg-black); }
.sl-embed-close { color: var(--pg-gray-text); cursor: pointer; }
.sl-embed-code {
  padding: 12px 14px;
  background: #fafafa;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #333;
}
.sl-embed-footer {
  padding: 8px 14px;
  border-top: 1px solid var(--pg-border);
  display: flex;
  justify-content: flex-end;
  background: var(--pg-white);
}
.sl-embed-copy {
  font-size: 12px;
  font-weight: 500;
  color: var(--pg-black);
  background: none;
  border: 1px solid var(--pg-border);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--pg-font);
}
.sl-how-card {
  background: var(--pg-white);
  border-radius: var(--pg-radius);
  padding: 32px;
  border: 1px solid var(--pg-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sl-how-card-num {
  width: 36px;
  height: 36px;
  background: var(--pg-black);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.sl-how-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pg-black);
  margin: 0;
  line-height: 1.35;
}
.sl-how-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pg-gray-text);
  margin: 0;
  flex: 1;
}
.sl-how-card-visual {
  border-radius: 10px;
  overflow: hidden;
  background: var(--pg-gray-bg);
  max-height: 240px;
}
.sl-how-card-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.sl-how-code {
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  padding: 16px 20px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre;
}
.sl-how-code .c-tag   { color: #79c0ff; }
.sl-how-code .c-attr  { color: #d2a8ff; }
.sl-how-code .c-str   { color: #a5d6ff; }
.sl-how-code .c-cmt   { color: #8b949e; }

/* ── Card 2: Phone mockup visual ── */
.sl-how-card-phone-bg {
  max-height: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  overflow: visible;
}
.sl-how-card-phone {
  position: relative;
  width: 240px;
  flex-shrink: 0;
  border-radius: 36px;
  border: 6px solid rgba(0,0,0,0.13);
  background: #000;
  overflow: hidden;
  aspect-ratio: 9/19;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.sl-how-card-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 9px;
  background: rgba(0,0,0,0.65);
  border-radius: 100px;
  z-index: 10;
}
.sl-how-phone-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* SHOPLIVE stacked live info */
.sl-how-phone-live-box {
  position: absolute;
  top: 28px;
  left: 12px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sl-how-phone-brand-name {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  font-family: var(--pg-font);
  background: rgba(0,0,0,0.82);
  border-radius: 6px;
  padding: 5px 11px;
}
.sl-how-phone-live-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sl-how-phone-live-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--pg-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  line-height: 1;
  font-family: var(--pg-font);
}
.sl-how-phone-live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.sl-how-phone-viewers {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 12px;
  font-family: var(--pg-font);
}
/* Right icons (phone-specific, larger) */
.sl-how-phone-icons {
  position: absolute;
  right: 8px;
  bottom: 28%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.sl-how-phone-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.sl-how-phone-icon svg { width: 18px; height: 18px; }
/* Caption */
.sl-how-phone-caption {
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
  font-size: 10px;
  line-height: 1.5;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 7px 12px;
  z-index: 4;
  pointer-events: none;
  font-family: var(--pg-font);
}
/* Product card */
.sl-how-phone-card {
  position: absolute;
  bottom: 5%;
  left: 8px;
  right: 8px;
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.sl-how-phone-card > img {
  width: 34px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.sl-how-phone-brand    { font-size: 9px;  color: #888; margin: 0; line-height: 1.3; font-family: var(--pg-font); }
.sl-how-phone-name     { font-size: 10px; font-weight: 600; margin: 0; line-height: 1.3; color: #111; font-family: var(--pg-font); }
.sl-how-phone-price    { font-size: 9px;  margin: 0; color: #333; line-height: 1.3; font-family: var(--pg-font); }
.sl-how-phone-discount { color: var(--pg-red); font-weight: 700; margin-right: 2px; }

/* ── Card 3: Horizontal console layout ── */
.sl-how-card-horiz {
  flex-direction: row;
  padding: 0;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
}
.sl-how-card-horiz-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 38%;
  min-width: 0;
}
.sl-how-card-horiz .sl-how-card-visual {
  flex: 1;
  max-height: none;
  border-radius: 0;
  min-height: 280px;
}
.sl-how-card-horiz .sl-how-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
/* コンソール: 製品リスト + チャットパネル重ね */
.sl-console-visual {
  position: relative;
  height: 510px;
  overflow: hidden;
  background: #fafafa;
}
.sl-console-visual img.sl-console-bg {
  /* 999px native / 2 ≈ 500px → Retinaでほぼネイティブ表示 */
  width: 60%;
  max-width: 500px;
  height: auto;
  display: block;
  image-rendering: auto;
}
.sl-console-visual img.sl-console-chat {
  position: absolute;
  top: 6%;
  right: 0;
  /* 512px native / 2 = 256px → Retinaでほぼネイティブ表示 */
  height: auto;
  width: auto;
  max-height: 88%;
  max-width: 258px;
  object-fit: initial;
  background: #fff;
  border-radius: 10px 0 0 10px;
  box-shadow: -6px 4px 28px rgba(0,0,0,0.13);
  image-rendering: auto;
}

/* ============================================================
   5. FRAMEWORK
   ============================================================ */
.sl-framework {
  background: var(--pg-white);
}
.sl-framework-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.sl-framework-row .sl-section-heading {
  margin: 0;
  text-align: left;
  white-space: nowrap;
}
.sl-framework-icons {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
}

/* ============================================================
   6. METRICS
   ============================================================ */
.sl-metrics {
  background: var(--pg-gray-bg);
}
.sl-metrics-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.sl-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sl-metric-card {
  background: var(--pg-white);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--pg-shadow);
  min-width: 0;
}
.sl-metric-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--pg-black);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sl-metric-num span.unit {
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: super;
}
.sl-metric-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--pg-black);
  line-height: 1.35;
  margin: 0;
}
.sl-metric-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--pg-gray-text);
  margin: 0;
}

/* ============================================================
   7. FUNCTIONS
   ============================================================ */
.sl-functions {
  background: var(--pg-white);
}
.sl-functions-head {
  text-align: center;
  margin-bottom: 56px;
}
.sl-functions-head .sl-section-heading {
  text-align: center;
}
.sl-functions-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sl-function-card {
  background: var(--pg-gray-card);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sl-function-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sl-function-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--pg-black);
}
.sl-function-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-black);
  margin: 0;
  line-height: 1.35;
}
.sl-function-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--pg-gray-text);
  margin: 0;
  flex: 1;
}

/* ============================================================
   8. CUSTOMERS
   ============================================================ */
.sl-customers {
  background: var(--pg-gray-bg);
  padding-top: 72px;
  padding-bottom: 0;
  overflow: hidden;
}
.sl-customers-head {
  text-align: center;
  margin-bottom: 36px;
}
.sl-customers-head .sl-section-heading,
.sl-customers-head .sl-section-subheading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sl-customers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.sl-customer-card {
  background: var(--pg-white);
  border: 1px solid var(--pg-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--pg-shadow);
  min-width: 0;
}
.sl-customer-quote {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
  margin: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}
.sl-customer-quote::before { content: open-quote; }
.sl-customer-quote::after  { content: close-quote; }
.sl-customer-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sl-customer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pg-gray-bg);
}
.sl-customer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sl-customer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pg-black);
  margin: 0 0 2px;
}
.sl-customer-title {
  font-size: 12px;
  color: var(--pg-gray-text);
  margin: 0;
}

/* ── Bottom CTA ── */
.sl-cta-block {
  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-cta-block::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-cta-block::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-cta-block > * {
  position: relative;
  z-index: 3;
}

/* ── コンタクトフォーム：CTAとシームレスにつなぐ黒背景 ── */
#shoplive-contact-form {
  background: #000 !important;
}
.sl-cta-block h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 36px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.sl-cta-block p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 36px;
}
.sl-cta-bottom-wrap {
  background: #000;
  padding: 0;
  width: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .sl-hero-inner { grid-template-columns: 1fr; padding: 48px 32px 64px; }
  .sl-hero-phone-wrap { display: none; }
  .sl-intro-grid { grid-template-columns: repeat(2, 1fr); }
  .sl-intro-lead { font-size: clamp(22px, 3vw, 32px); }
  .sl-features-layout { grid-template-columns: 1fr; }
  .sl-features-tabs { flex-direction: row; flex-wrap: wrap; position: static; gap: 8px; }
  .sl-feature-tab { flex: 1 1 calc(50% - 4px); min-width: 200px; }
  .sl-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-functions-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-customers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --pg-section-py: 64px; }
  .sl-section { padding: var(--pg-section-py) 20px; }
  .sl-features { padding: var(--pg-section-py) 0 0; }
  .sl-features-head { padding: 0 20px; margin-bottom: 32px; }
  .sl-features-scroll-body { display: none; }        /* スクロール連動セクションを隠す */
  .sl-features-mob-pairs { display: flex; padding: 0 16px 48px; } /* ペアカードを表示 */
  .sl-features-mob-pair { border-radius: 12px; }

  /* ヒーロー */
  .sl-hero-inner { padding: 40px 20px 0; }
  .sl-hero-h1 { font-size: clamp(24px, 7vw, 32px); max-width: 100%; }
  .sl-hero-sub { font-size: 14px; max-width: 100%; }
  .sl-hero-sub br { display: none; } /* モバイルでは自動折り返しに任せる */
  .sl-hero-phone-wrap { display: flex; justify-content: center; margin-top: 32px; }
  .sl-hero-phone { width: 240px; }

  /* INTRO */
  .sl-intro { padding: 56px 20px; }
  .sl-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* How セクション */
  .sl-how-grid { grid-template-columns: 1fr; }
  .sl-how-card-horiz { flex-direction: column; }
  .sl-how-card-horiz-text { flex: none; padding: 28px 24px 20px; }
  .sl-how-card-horiz .sl-how-card-visual { min-height: 0; border-radius: 0; }
  .sl-console-visual { height: 260px; }
  .sl-console-visual img.sl-console-chat { max-height: 200px; max-width: 180px; top: 12%; }

  /* フレームワーク */
  .sl-framework-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .sl-framework-row .sl-section-heading { white-space: normal; }
  .sl-framework-icons { gap: 28px; }

  /* メトリクス・機能 */
  .sl-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-functions-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 顧客 */
  .sl-customers-grid { grid-template-columns: 1fr; }
  .sl-customers { padding-top: 56px; }

  /* フィーチャータブ */
  .sl-feature-tab { flex: 1 1 100%; }

  /* CTA */
  .sl-cta-block { padding: 72px 24px 64px; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --pg-section-py: 56px; }
  .sl-section { padding: var(--pg-section-py) 16px; }

  /* ヒーロー */
  .sl-hero-inner { padding: 28px 16px 0; }
  .sl-hero-h1 { font-size: clamp(22px, 6.5vw, 28px); }
  .sl-hero-phone { width: 210px; }

  /* INTRO：全アイテムを1列で */
  .sl-intro { padding: 48px 16px; }
  .sl-intro-grid { grid-template-columns: 1fr; }

  /* Howカード内スマホモックアップ */
  .sl-how-card-phone { width: 190px; }

  /* コンソール */
  .sl-console-visual { height: 220px; }

  /* メトリクス・機能 */
  .sl-metrics-grid { grid-template-columns: 1fr; }
  .sl-functions-scroll { grid-template-columns: 1fr; }

  /* フレームワーク */
  .sl-framework-icons { gap: 20px; }
  .sl-framework-icons svg { width: 36px; height: 36px; }

  /* CTA */
  .sl-cta-block { padding: 60px 20px 52px; }
}

/* ── ハートリアクション アニメーション ── */
@keyframes sl-heart-rise {
  0%   { transform: translateY(0) scale(0.5) rotate(var(--sl-hr, 0deg)); opacity: 0.9; }
  60%  { opacity: 0.7; }
  100% { transform: translateY(-180px) scale(1.2) rotate(var(--sl-hr2, 10deg)); opacity: 0; }
}
.sl-heart-particle {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  color: #ff4d7d;
  line-height: 1;
  user-select: none;
  animation: sl-heart-rise var(--sl-hd, 1.3s) ease-out forwards;
  will-change: transform, opacity;
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KONNY CASE STUDY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sl-konny { background: #111; }
.sl-konny .sl-section-label { color: var(--pg-red); }

.sl-konny-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 48px;
}

.sl-konny-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sl-konny-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sl-konny-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.sl-konny-fig {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.sl-konny-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.sl-konny-card:hover .sl-konny-fig img { transform: scale(1.04); }

.sl-konny-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--pg-red);
  color: #fff;
}
.sl-konny-badge--int {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}

.sl-konny-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sl-konny-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 10px;
}

.sl-konny-body h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.sl-konny-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  gap: 32px;
}
.sl-konny-num {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.sl-konny-num small {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.sl-konny-stats li > span:last-child {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.sl-konny-desc {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  margin: 0 0 28px;
  flex: 1;
}

.sl-konny-cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.sl-konny-card:hover .sl-konny-cta { border-color: #fff; }

@media (max-width: 768px) {
  .sl-konny-grid { grid-template-columns: 1fr; gap: 16px; }
  .sl-konny-heading { margin-bottom: 36px; }
}

.sl-phone-icons-right .sl-phone-icon:first-child {
  cursor: pointer;
  pointer-events: auto;
}

/* ============================================================
   BLOG
   ============================================================ */
.sl-blog {
  background: var(--pg-white);
}
.sl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.sl-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--pg-black);
  background: var(--pg-gray-card);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sl-blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.sl-blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pg-gray-bg);
}
.sl-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.sl-blog-card:hover .sl-blog-thumb img {
  transform: scale(1.03);
}
.sl-blog-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sl-blog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pg-red);
  border: 1px solid rgba(232,59,59,0.35);
  border-radius: 4px;
  padding: 3px 8px;
  align-self: flex-start;
}
.sl-blog-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.sl-blog-excerpt {
  font-size: 12px;
  color: var(--pg-gray-text);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.sl-blog-date {
  font-size: 12px;
  color: var(--pg-gray-text);
  margin: 0;
}
.sl-blog-more {
  text-align: center;
}

@media (max-width: 960px) {
  .sl-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .sl-blog-grid { grid-template-columns: 1fr; margin-bottom: 32px; }
}
