/* ==========================================================================
   顧問制度.com - 掲載プランページ (/listing/)
   ========================================================================== */

:root {
  --lp-accent: var(--accent-primary, #2563eb);
  --lp-accent-dark: var(--accent-dark, #1e40af);
  --lp-text: var(--text-primary, #1f2937);
  --lp-muted: var(--text-muted, #6b7280);
  --lp-border: var(--border-primary, #e5e7eb);
  --lp-bg-soft: #f8fafc;
  --lp-bg-panel: #ffffff;
  --lp-green: #10b981;
  --lp-red: #9ca3af;
  --lp-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --lp-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --lp-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* ---------- 全体コンテナ ---------- */
body.listing-page { background: #fff; color: var(--lp-text); }

.listing-main-wrap { padding: 0 0 80px; }
.listing-main-wrap .container { max-width: 1140px; }

.listing-main-wrap .breadcrumb {
  background: transparent;
  padding: 16px 0;
  font-size: 13px;
  color: var(--lp-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.listing-main-wrap .breadcrumb a { color: var(--lp-muted); text-decoration: none; }
.listing-main-wrap .breadcrumb a:hover { color: var(--lp-accent); }
.listing-main-wrap .breadcrumb .icon-sm { width: 14px; height: 14px; }

/* ---------- ページヘッダー ---------- */
.listing-page-header {
  padding: 40px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--lp-border);
  margin-bottom: 32px;
}
.listing-page-header h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--lp-text);
}
.listing-page-header .lead {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--lp-muted);
  line-height: 1.8;
  margin: 0;
}
.lp-strong { color: var(--lp-accent); font-weight: 700; }

/* ---------- メディア紹介 ---------- */
.listing-media-intro {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
}
.media-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.media-intro-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--lp-text);
}
.media-intro-text p {
  line-height: 1.9;
  color: #374151;
  margin: 0 0 20px;
}
.media-intro-points {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.media-intro-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}
.media-intro-point i {
  width: 18px;
  height: 18px;
  color: var(--lp-accent);
  flex-shrink: 0;
}
.media-hero-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--lp-shadow-md);
  text-align: center;
}
.media-hero-tagline { font-size: 13px; color: var(--lp-muted); margin: 0 0 8px; }
.media-hero-logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--lp-accent);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.media-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-border);
}
.media-hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.media-hero-stats strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--lp-accent);
}
.media-hero-stats span { font-size: 11px; color: var(--lp-muted); }

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}
.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-accent);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--lp-accent);
  border-radius: 8px;
  transition: all 0.15s;
}
.sample-link:hover {
  background: var(--lp-accent);
  color: #fff;
}
.sample-link i { width: 16px; height: 16px; }

/* ---------- 2カラムレイアウト ---------- */
.listing-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.listing-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}
.listing-side-nav {
  display: flex;
  flex-direction: column;
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 16px;
}
.listing-side-link {
  padding: 8px 12px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.listing-side-link:hover { background: #fff; color: var(--lp-accent); }
.listing-side-link.is-active {
  background: #fff;
  color: var(--lp-accent);
  border-left-color: var(--lp-accent);
  font-weight: 600;
}
.listing-side-link strong { font-weight: 700; }

.listing-main { min-width: 0; }

/* ---------- セクション ---------- */
.listing-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--lp-border);
  scroll-margin-top: 20px;
}
.listing-section:last-child { border-bottom: none; }
.section-heading {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--lp-text);
  letter-spacing: -0.01em;
}
.section-heading small { font-size: 14px; font-weight: 600; }
.section-sub { margin: 0 0 28px; font-size: 14px; }

.stat-note { margin-top: 16px; }
.text-muted { color: var(--lp-muted); }

/* ---------- 課題 ---------- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.challenge-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.challenge-card:hover { transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.challenge-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.challenge-card p { font-size: 13px; line-height: 1.7; margin: 0 0 10px; }
.challenge-arrow {
  font-size: 13px !important;
  color: var(--lp-accent) !important;
  font-weight: 700;
  margin: 0 !important;
}
.challenge-solution {
  background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.challenge-solution h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.challenge-solution p { font-size: 14px; line-height: 1.8; margin: 0; color: #e0e7ff; }
.challenge-solution strong { color: #fff; }

/* ---------- ターゲット ---------- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.target-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.15s;
}
.target-card:hover { border-color: var(--lp-accent); box-shadow: var(--lp-shadow-sm); }
.target-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--lp-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.target-icon i { width: 24px; height: 24px; }
.target-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.target-card p { font-size: 12px; line-height: 1.6; margin: 0; }

/* ---------- モックアップ ---------- */
.mockup-browser {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--lp-shadow-md);
  margin: 0 auto 20px;
  max-width: 720px;
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lp-border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot--red { background: #ef4444; }
.mockup-dot--yellow { background: #f59e0b; }
.mockup-dot--green { background: #10b981; }
.mockup-url {
  margin-left: 12px;
  font-size: 12px;
  color: #6b7280;
  background: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-body { padding: 24px; }
.mockup-article-preview { }
.mockup-badge {
  display: inline-block;
  background: var(--lp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.mockup-article-preview h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--lp-text);
}
.mockup-excerpt {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.7;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--lp-border);
}
.mockup-advisor-inline { background: #f8fafc; border-radius: 10px; padding: 16px; }
.mockup-advisor-head { margin-bottom: 12px; }
.mockup-advisor-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-accent);
}
.mockup-advisor-label i { width: 14px; height: 14px; }
.mockup-advisor-grid { display: grid; gap: 10px; }
.mockup-advisor-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--lp-accent);
  border-radius: 10px;
  padding: 12px;
  transition: opacity 0.2s;
}
.mockup-advisor-card.is-dim {
  border-color: var(--lp-border);
  opacity: 0.55;
}
.mockup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.is-dim .mockup-avatar { background: #9ca3af; }
.mockup-advisor-name { font-size: 14px; font-weight: 700; margin: 0; }
.mockup-advisor-title { font-size: 12px; color: var(--lp-muted); margin: 2px 0; }
.mockup-advisor-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--lp-accent);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 4px 0 0;
}
.mockup-advisor-btn {
  background: var(--lp-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: none;
}
.is-dim .mockup-advisor-btn { background: #9ca3af; }

/* ---------- プラン比較テーブル ---------- */
.plan-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  min-width: 720px;
}
.plan-compare-table th,
.plan-compare-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
  vertical-align: middle;
}
.plan-compare-table thead th {
  background: var(--lp-bg-soft);
  font-weight: 700;
  color: var(--lp-text);
  font-size: 14px;
  position: relative;
  padding: 16px 12px;
}
.plan-compare-table tbody tr td:first-child {
  text-align: left;
  font-weight: 600;
  color: #4b5563;
  background: #fafbfc;
  width: 30%;
}
.plan-feat-col { width: 30%; }
.plan-col { width: 23.3%; }
.plan-col--popular {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%) !important;
  position: relative;
}
.plan-col--premium {
  background: linear-gradient(180deg, #fef3c7 0%, #fff 100%) !important;
}
.plan-col-badge {
  display: inline-block;
  background: var(--lp-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.plan-col-badge.is-premium { background: #f59e0b; }
.plan-price-row td { padding: 20px 12px; }
.plan-price-row strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--lp-text);
  display: block;
}
.plan-price-row small { font-size: 11px; color: var(--lp-muted); display: block; }
.plan-early {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px;
}
.chk { color: var(--lp-green); width: 20px; height: 20px; }
.xmk { color: var(--lp-red); width: 18px; height: 18px; }
.plan-cta-row td { padding: 18px 8px; border-bottom: none; }
.plan-cta-row td:first-child { background: #fafbfc; }

/* ---------- 年間割引テーブル ---------- */
.discount-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 560px;
}
.discount-table th,
.discount-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
}
.discount-table th {
  background: var(--lp-bg-soft);
  font-weight: 700;
}
.discount-table tbody tr:last-child td { border-bottom: none; }
.discount-table tbody td:first-child { text-align: left; font-weight: 600; }
.discount-table tbody td strong { color: var(--lp-accent); font-weight: 800; }

/* ---------- リード配信フロー ---------- */
.routing-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.routing-step {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}
.routing-step-num {
  width: 32px;
  height: 32px;
  background: var(--lp-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 12px;
}
.routing-step h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.routing-step p { font-size: 12px; line-height: 1.6; margin: 0; }
.routing-arrow { color: var(--lp-accent); }
.routing-arrow i { width: 24px; height: 24px; }
.routing-note {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  padding: 16px 20px;
}
.routing-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #78350f;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.routing-note i { width: 18px; height: 18px; color: #f59e0b; flex-shrink: 0; margin-top: 2px; }

/* ---------- 広告比較テーブル ---------- */
.advalue-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 600px;
}
.advalue-table th,
.advalue-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
  line-height: 1.6;
}
.advalue-table thead th {
  background: var(--lp-bg-soft);
  font-weight: 700;
  text-align: center;
}
.advalue-table thead th.highlight {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-dark));
  color: #fff;
}
.advalue-table tbody td:first-child { font-weight: 700; background: #fafbfc; width: 30%; }
.advalue-table tbody td.highlight {
  background: #eff6ff;
  color: var(--lp-accent-dark);
  font-weight: 600;
}
.advalue-table tbody td.highlight strong { color: var(--lp-accent); }
.advalue-table tbody tr:last-child td { border-bottom: none; }

/* ---------- シミュレーション ---------- */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sim-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 24px;
}
.sim-card--premium {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}
.sim-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.sim-monthly {
  font-size: 20px;
  font-weight: 800;
  color: var(--lp-accent);
  margin: 0 0 16px;
}
.sim-card--premium .sim-monthly { color: #b45309; }
.sim-table { width: 100%; border-collapse: collapse; }
.sim-table th,
.sim-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
  text-align: left;
}
.sim-table th { background: var(--lp-bg-soft); font-weight: 700; font-size: 12px; }
.sim-table tbody tr:last-child td { border-bottom: none; }
.sim-table tbody td:last-child { text-align: right; font-weight: 600; }
.sim-table tbody td strong { color: var(--lp-accent); }
.sim-card--premium .sim-table tbody td strong { color: #b45309; }

/* ---------- 利用の流れ ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.flow-step {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 20px 16px;
  position: relative;
  text-align: center;
}
.flow-step-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--lp-accent);
  opacity: 0.3;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.flow-step h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.flow-step p { font-size: 12px; line-height: 1.6; margin: 0; }

/* ---------- 申込みフォーム ---------- */
.listing-form-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-radius: 16px;
  padding: 40px;
  margin: 24px 0;
  border-bottom: none;
}
.listing-form {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--lp-shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}
.req {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: #dc2626;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}
.opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: #e5e7eb;
  color: #6b7280;
  padding: 2px 6px;
  border-radius: 4px;
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=tel],
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.form-radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.form-radios label:hover { border-color: var(--lp-accent); background: #eff6ff; }
.form-radios input { margin: 0; }
.form-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form-check input { margin: 0; flex-shrink: 0; }
.form-check a { color: var(--lp-accent); text-decoration: underline; }
.form-submit-wrap {
  text-align: center;
  margin-top: 28px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.btn i { width: 16px; height: 16px; }
.btn-primary {
  background: var(--lp-accent);
  color: #fff;
  border-color: var(--lp-accent);
}
.btn-primary:hover {
  background: var(--lp-accent-dark);
  border-color: var(--lp-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--lp-accent);
  border-color: var(--lp-accent);
}
.btn-outline:hover {
  background: var(--lp-accent);
  color: #fff;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-lg i { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* ---------- FAQ（articles.css に既存のスタイルを再利用） ---------- */
body.listing-page .faq-list {
  display: grid;
  gap: 12px;
}
body.listing-page .faq-item {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  overflow: hidden;
}
body.listing-page .faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
body.listing-page .faq-q-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
body.listing-page .faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--lp-accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  flex-shrink: 0;
}
body.listing-page .faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--lp-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
body.listing-page .faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}
body.listing-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
body.listing-page .faq-answer.open { max-height: 500px; }
body.listing-page .faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #4b5563;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.listing-page .faq-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ---------- 運営元 ---------- */
.operator-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 28px;
}
.operator-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.operator-table th,
.operator-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--lp-border);
}
.operator-table th {
  width: 30%;
  font-weight: 700;
  background: var(--lp-bg-soft);
  color: #4b5563;
}
.operator-table tr:last-child th,
.operator-table tr:last-child td { border-bottom: none; }
.operator-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 下部CTA ---------- */
.listing-bottom-cta {
  background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-dark) 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}
.listing-bottom-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
}
.listing-bottom-cta p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 28px;
  color: #e0e7ff;
}
.listing-bottom-cta .btn-primary {
  background: #fff;
  color: var(--lp-accent);
  border-color: #fff;
}
.listing-bottom-cta .btn-primary:hover {
  background: #fef3c7;
  color: var(--lp-accent-dark);
  border-color: #fef3c7;
}

/* ---------- テーブル横スクロール ---------- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

/* ---------- 汎用ユーティリティ ---------- */
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 991px) {
  .listing-layout { grid-template-columns: 1fr; gap: 24px; }
  .listing-sidebar { display: none; }
  .media-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .routing-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .routing-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 767px) {
  .listing-media-intro { padding: 24px 20px; }
  .listing-section { padding: 36px 0; }
  .listing-form-section { padding: 24px 20px; }
  .listing-form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .media-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .media-hero-stats strong { font-size: 18px; }
  .plan-compare-table th,
  .plan-compare-table td { padding: 10px 8px; font-size: 12px; }
  .plan-price-row strong { font-size: 18px; }
  .advalue-table th,
  .advalue-table td { padding: 10px 12px; font-size: 12px; }
  .mockup-body { padding: 16px; }
  .mockup-advisor-card { grid-template-columns: 40px 1fr; }
  .mockup-advisor-btn { grid-column: 1 / -1; justify-self: center; margin-top: 4px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .operator-table th { width: 35%; }
  .operator-links { flex-direction: column; }
  .operator-links .btn { justify-content: center; }
}
