/* ============================================
   review-lp.css — ECレビューアシスト アパレル版LP
   独立CSS（共通CSS非依存・DMアシストLPデザインシステム踏襲）
   ============================================ */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  /* ブランドアクセント（パープル） */
  --accent:        #7C3AED;
  --accent-hover:  #6D28D9;
  --accent-light:  #A78BFA;
  --accent-bg:     rgba(124, 58, 237, 0.08);
  --accent-border: rgba(124, 58, 237, 0.25);
  --accent-shadow: rgba(124, 58, 237, 0.15);

  /* 背景 */
  --bg-page:       #F0EDE8;
  --bg-page-rgb:   240, 237, 232;
  --bg-alt:        #E8E4DF;
  --bg-card:       #ffffff;
  --bg-input:      #F5F2ED;

  /* テキスト */
  --text-heading:  #111827;
  --text-body:     #374151;
  --text-muted:    #6b7280;
  --text-faint:    #9ca3af;

  /* ボーダー・シャドウ */
  --border:        #d8d4cc;
  --border-card:   #e8e4dc;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);

  /* 角丸 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* フォント */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

html{scroll-behavior:smooth}

body{
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

em { font-style: normal; color: var(--accent); }

/* ── Lucide アイコン ── */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

a { color: inherit; }

/* ── コンテナ ── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
section { padding: 88px 0; }
section.alt-bg { background: var(--bg-alt); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--bg-page-rgb), 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 16px; font-weight: 700; color: var(--text-heading);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; }
.nav-links a {
  font-size: 14px; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── ボタン ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 14px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--accent-shadow);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }

/* ナビCTA白文字修正 */
nav .btn-primary,
nav .btn-primary:visited { color: #ffffff; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius-md); padding: 13px 26px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s; text-decoration: none;
}
.btn-secondary:hover { background: var(--accent-bg); }

/* ── セクションラベル ── */
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 4px 14px; margin-bottom: 16px;
}

/* ── セクション見出し ── */
.section-h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  line-height: 1.4; margin-bottom: 16px; color: var(--text-heading);
}
.section-sub {
  font-size: 15px; color: var(--text-muted); line-height: 1.8; max-width: 540px;
}

/* ── HERO ── */
.hero {
  background: var(--bg-card);
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
  padding: 80px 0 60px;
  max-width: 1040px; margin: 0 auto; padding-left: 32px; padding-right: 32px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 20px;
}
.hero-badge::before { content: "•"; }
.hero-pre-copy {
  font-size: 14px; color: var(--text-muted); margin-bottom: 16px; font-style: italic;
}
.hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  color: var(--text-heading); line-height: 1.2; margin-bottom: 20px;
}
.hero-sub {
  font-size: 16px; color: var(--text-body); margin-bottom: 24px; line-height: 1.7;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  font-size: 13px; color: var(--text-muted);
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 20px; padding: 5px 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 12px; color: var(--text-faint); margin-top: 12px; }

/* ── デモウィジェット ── */
.demo-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 24px; max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.widget-titlebar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.widget-titlebar .dots { display: flex; gap: 5px; }
.widget-titlebar .dots span {
  width: 10px; height: 10px; border-radius: 50%; display: block;
}
.widget-titlebar .title {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.widget-label { font-size: 12px; color: var(--text-faint); margin-bottom: 6px; }
.demo-widget textarea {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-body); font-size: 14px; padding: 10px 12px;
  resize: none; line-height: 1.6; font-family: var(--font-sans);
}
.demo-widget textarea:disabled {
  cursor: default; opacity: 0.85; overflow: hidden;
}
.output-area {
  background: var(--bg-input); border: 1px solid var(--accent-border);
  border-radius: 8px; padding: 12px; font-size: 14px;
  color: var(--text-body); line-height: 1.7; min-height: 90px; margin-top: 10px;
}
.output-area strong { color: var(--accent); }
.copy-btn {
  width: 100%; margin-top: 12px; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; padding: 11px; font-size: 14px;
  font-weight: 600; cursor: pointer; font-family: var(--font-sans);
  transition: background 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.copy-btn:hover { background: var(--accent-hover); }

/* ── カードグリッド ── */
.card-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.card-grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

/* ── カード ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px; padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { font-size: 22px; margin-bottom: 12px; display: flex; align-items: center; justify-content: flex-start; }
.card-icon .icon { width: 24px; height: 24px; color: var(--accent); }
.card h3 { font-size: 17px; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.card p  { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── ビフォー・アフター ── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.compare-bad {
  background: #fff5f5; border: 1px solid #fecaca;
  border-radius: 14px; padding: 24px;
}
.compare-bad .compare-header { font-size: 13px; font-weight: 700; color: #ef4444; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.compare-good {
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  border-radius: 14px; padding: 24px;
}
.compare-good .compare-header { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.compare-review {
  background: rgba(0,0,0,0.04); border-radius: 6px; padding: 10px 12px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 12px; font-style: italic;
}
.compare-reply { font-size: 14px; color: var(--text-body); line-height: 1.75; }
.compare-reply strong { color: var(--text-heading); font-weight: 600; }

/* ── 使い方ステップ ── */
.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-bg); border: 1.5px solid var(--accent-border);
  color: var(--accent); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { font-size: 16px; font-weight: 600; color: var(--text-heading); margin-bottom: 4px; }
.step-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── 統計 ── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-number { font-size: 56px; font-weight: 900; color: var(--accent); line-height: 1; -webkit-font-smoothing: antialiased; }
.stat-desc   { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }
.stats-source { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 24px; }

/* ── ROI ── */
.roi-section { margin-top: 56px; }
.roi-title {
  font-size: 20px; font-weight: 700; color: var(--text-heading);
  text-align: center; margin-bottom: 28px;
}
.roi-grid { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
.roi-item {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.roi-item-ours {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md), inset 0 0 0 2px var(--accent);
}
.roi-label { font-size: 12px; font-weight: 600; color: var(--text-faint); margin-bottom: 4px; }
.roi-value { font-size: 15px; color: var(--text-body); line-height: 1.6; }
.roi-value strong { color: var(--text-heading); }
.roi-value-highlight,
.roi-value-highlight strong { color: var(--accent); }
.roi-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 16px; }

/* ── 料金 ── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: start; margin-top: 48px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.pricing-card {
  background: var(--bg-card); border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); position: relative;
}
.pricing-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-shadow);
}
.recommended-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 16px;
  border-radius: 20px; letter-spacing: 0.05em; white-space: nowrap;
}
.pricing-plan-name {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-price { font-size: 44px; font-weight: 900; color: var(--text-heading); line-height: 1; }
.pricing-unit  { font-size: 14px; color: var(--text-faint); }
.pricing-tagline { font-size: 13px; color: var(--text-muted); margin: 12px 0 20px; line-height: 1.5; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-features li {
  font-size: 14px; color: var(--text-body); padding: 9px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-features li.unavailable { color: var(--text-faint); }
.pricing-features li.unavailable::before { content: "—"; color: var(--text-faint); }

/* ── CTA セクション ── */
.cta-section {
  background: var(--accent-bg);
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
  text-align: center; padding: 88px 24px;
}
.cta-section h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  color: var(--text-heading); margin-bottom: 12px;
}
.cta-section p { color: var(--text-muted); font-size: 16px; }

/* ── コラムセクション ── */
.column-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 36px 40px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}
.column-quote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.7;
  font-style: italic;
}
.column-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ── フッター ── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 32px;
}
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px;
}
.footer-tagline {
  font-size: 15px; font-weight: 700; color: var(--text-heading);
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 400px;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 24px;
}
.footer-copy { font-size: 11px; color: var(--text-faint); }
.footer-email a { font-size: 11px; color: var(--text-faint); text-decoration: none; }

/* ── スティッキーCTA（モバイル用） ── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(var(--bg-page-rgb), 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  text-align: center;
}
.sticky-cta .btn-primary {
  width: 100%; padding: 14px; font-size: 15px;
  text-align: center; display: block; justify-content: center;
}

/* ── スクリーンリーダー専用 ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 767px) {
  .hero-inner     { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 40px; }
  .demo-widget    { max-width: 100%; }
  .card-grid-2x2  { grid-template-columns: 1fr; }
  .card-grid-3col { grid-template-columns: 1fr; }
  .compare-grid   { grid-template-columns: 1fr; }
  .stat-grid      { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .container      { padding: 0 20px; }
  .hero-inner     { padding-left: 20px; padding-right: 20px; }
  section         { padding: 60px 0; }
  nav .nav-links a:not(.btn-primary) { display: none; }
  .nav-inner      { padding: 0 20px; }
  .footer-top     { flex-direction: column; gap: 24px; }
  .footer-links   { flex-direction: column; gap: 12px; }
  .footer-inner   { padding: 0 20px; }
  .sticky-cta     { display: block; }
  footer          { padding-bottom: 80px; }
  .column-card    { padding: 24px 20px; }
  .roi-grid       { max-width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .demo-widget    { max-width: 560px; margin: 0 auto; }
  .card-grid-3col { grid-template-columns: 1fr 1fr; }
  .pricing-grid   { grid-template-columns: 1fr 1fr; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-secondary, .card, .copy-btn {
    transition: none;
    transform: none;
  }
  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
