@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
  --primary: #1e3a8a;          /* 上品なディープネイビー */
  --primary-hover: #1e40af;
  --accent: #d97706;           /* 落ち着いたアンバー */
  --accent-light: #fef3c7;
  
  --text-main: #0f172a;        /* 濃いスレート（視認性抜群） */
  --text-body: #334155;        /* 読みやすい本文色 */
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header: 上品なマガジンヘッダー
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-logo {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 4px;
  position: relative;
}

.nav-store-link {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 4px 12px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  transition: all 0.2s ease;
}

.nav-store-link:hover {
  background: #0f172a;
  color: #ffffff !important;
  border-color: #0f172a;
}

.site-nav a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .brand-sub, .site-nav { display: none; }
}

/* ==========================================================================
   Homepage: カテゴリーピル
   ========================================================================== */
.category-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  overflow-x: auto;
  white-space: nowrap;
}

.pills-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-right: 4px;
}

.pill-item {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.pill-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
  text-decoration: none;
}

/* ==========================================================================
   Homepage: 2カラムマガジンレイアウト
   ========================================================================== */
.magazine-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding-bottom: 60px;
}

@media (max-width: 860px) {
  .magazine-layout {
    grid-template-columns: 1fr;
  }
}

.magazine-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--text-main);
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

@media (max-width: 600px) {
  .magazine-grid {
    grid-template-columns: 1fr;
  }
}

/* マガジン記事カード */
.mag-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.mag-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.mag-card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mag-card-link:hover {
  text-decoration: none;
}

.mag-card-thumb {
  width: 100%;
  aspect-ratio: 1200 / 630;
  background: #f1f5f9;
  overflow: hidden;
}

.mag-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-card-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mag-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mag-category {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.mag-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 8px;
}

.mag-card:hover .mag-card-title {
  color: var(--primary);
}

.mag-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* サイドバー */
.magazine-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.author-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border);
}

.author-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.author-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.65;
}

.widget-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.widget-list {
  list-style: none;
}

.widget-list li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.widget-list a {
  color: var(--text-body);
}

.widget-list a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Single Article: 読みやすさ重視の自然なレイアウト
   ========================================================================== */
.single-article {
  max-width: 780px;
  margin: 30px auto 60px;
}

.pr-disclosure {
  font-size: 0.82rem;
  color: #78350f;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  text-align: center;
}

.article-header {
  margin-bottom: 30px;
}

.article-title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.45;
  color: var(--text-main);
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-category {
  background: #f1f5f9;
  color: var(--primary);
}

.badge-tag {
  background: #f8fafc;
  color: var(--text-muted);
}

.article-eyecatch {
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-content {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--text-body);
}

@media (max-width: 768px) {
  .article-content {
    padding: 24px 18px;
    font-size: 0.98rem;
  }
  .article-title {
    font-size: 1.45rem;
  }
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 48px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 32px 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-content th, .article-content td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}

.article-content tr:nth-child(even) td {
  background: #fafafa;
}

/* 目次 */
.table-of-contents {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
}

.toc-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.table-of-contents ul {
  list-style: none;
}

.table-of-contents li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  padding-left: 14px;
  position: relative;
}

.table-of-contents li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ==========================================================================
   アフィリエイトパーツ（自然で高成約なデザイン）
   ========================================================================== */

/* 結論ボックス */
.quick-summary-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}

.quick-summary-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.quick-summary-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.quick-summary-list li {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* メリット・デメリット */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}

.pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pros-title {
  font-weight: 800;
  color: #166534;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.cons-title {
  font-weight: 800;
  color: #991b1b;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.pros-box ul, .cons-box ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pros-box li, .cons-box li {
  font-size: 0.88rem;
  margin-bottom: 4px;
}

/* ポイントボックス */
.point-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
}

.point-box-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 6px;
}

/* CTAボタン */
.rich-cta-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-micro-copy {
  font-size: 0.84rem;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 8px;
  display: block;
}

.cta-button {
  display: inline-block;
  background: #d97706;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #b45309;
}

.cta-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 36px 0 28px;
  margin-top: 60px;
  text-align: center;
  font-size: 0.84rem;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   Interactive Simulator Widget
   ========================================================================== */
.interactive-simulator {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 36px 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.sim-header {
  text-align: center;
  margin-bottom: 28px;
}

.sim-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sim-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.sim-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.sim-control-group {
  margin-bottom: 24px;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 12px;
}

.sim-value-display {
  font-size: 1.15rem;
  color: #059669;
  font-weight: 900;
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #059669;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.1s ease;
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sim-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 6px;
}

.sim-btn-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sim-opt-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.sim-opt-btn small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.sim-opt-btn:hover {
  border-color: #059669;
}

.sim-opt-btn.active {
  background: #ecfdf5;
  border-color: #059669;
  color: #065f46;
  box-shadow: 0 0 0 1px #059669;
}

.sim-opt-btn.active small {
  color: #047857;
  font-weight: 700;
}

.sim-result-box {
  background: #f0fdf4;
  border: 2px dashed #86efac;
  border-radius: 14px;
  padding: 24px;
  margin-top: 28px;
  text-align: center;
}

.sim-result-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 16px;
}

.sim-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.sim-result-item {
  background: #ffffff;
  padding: 16px 12px;
  border-radius: 10px;
  border: 1px solid #d1fae5;
}

.sim-result-item.highlight {
  background: #ffffff;
  border: 2px solid #34d399;
}

.sim-res-label {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.sim-res-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #059669;
}

.sim-res-num-huge {
  font-size: 1.45rem;
  font-weight: 900;
  color: #047857;
}

.sim-result-note {
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 20px;
}

.sim-cta-wrapper {
  margin-top: 10px;
}

.sim-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.2s ease;
}

.sim-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.sim-pr-tag {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 8px;
}

/* ==========================================================================
   Multi-Plan Ranking Diagnosis Styles
   ========================================================================== */
/* プリセット選択ボタングループ */
.sim-quick-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.sim-preset-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.sim-preset-btn small {
  display: block;
  font-size: 0.72rem;
  color: #059669;
  font-weight: 800;
  margin-top: 2px;
}

.sim-preset-btn:hover {
  background: #e2e8f0;
}

.sim-preset-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sim-preset-btn.active small {
  color: #38bdf8;
}

.sim-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sim-btn-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sim-chip-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-chip-btn strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2px;
}

.sim-chip-btn small {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.sim-chip-btn:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.sim-chip-btn.active {
  background: #ecfdf5;
  border-color: #059669;
  box-shadow: 0 0 0 1px #059669;
}

.sim-chip-btn.active strong {
  color: #065f46;
}

.sim-chip-btn.active small {
  color: #047857;
  font-weight: 600;
}

/* 診断結果コンテナ */
.sim-diagnosis-result {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px dashed #e2e8f0;
}

.sim-diag-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #065f46;
  margin-bottom: 16px;
  text-align: center;
}

.sim-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-rank-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s ease;
}

.sim-rank-card.top-choice {
  border: 2px solid #059669;
  background: #f0fdf4;
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.15);
}

.sim-rank-card.top-choice-gold {
  border: 2px solid #d97706;
  background: #fffbeb;
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.15);
}

.sim-card-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sim-rank-tag {
  background: #059669;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.sim-rank-tag.gold-tag {
  background: #d97706;
}

.sim-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.sim-card-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.sim-card-price-block, .sim-card-saving-block {
  text-align: center;
}

.sim-price-label, .sim-saving-label {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.sim-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #334155;
}

.sim-price-val strong {
  font-size: 1.25rem;
}

.sim-badge-note {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  margin-top: 4px;
}

.sim-saving-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: #059669;
}

.sim-saving-val strong {
  font-size: 1.25rem;
}

.gold-text {
  color: #b45309 !important;
}

.sim-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-card-features li {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

.sim-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #f1f5f9;
  color: #0f172a !important;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.sim-apply-btn:hover {
  background: #e2e8f0;
}

.sim-apply-btn.highlight-btn {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.sim-apply-btn.highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.sim-apply-btn.highlight-btn-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.sim-apply-btn.highlight-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

@media (max-width: 640px) {
  .sim-btn-grid, .sim-btn-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .sim-card-content-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Related Posts Section (Magazine 3-Column Grid)
   ========================================================================== */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-header {
  margin-bottom: 24px;
}

.related-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.related-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.related-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-thumb {
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.related-card:hover .related-thumb img {
  transform: scale(1.04);
}

.related-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #94a3b8;
  font-size: 0.9rem;
}

.related-content {
  padding: 14px 16px 18px;
}

.related-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.related-cat {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.related-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Cross-Mall Product Comparison Box (Amazon & Rakuten)
   ========================================================================== */
.product-comparison-box {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.product-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.product-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
}

.product-rating .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.product-rating .rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-left: 4px;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.product-price-tag {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
}

.product-price-tag strong {
  color: #e11d48;
  font-size: 1.15rem;
  font-weight: 800;
}

.product-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rakuten-btn {
  background: linear-gradient(135deg, #bf0000, #990000);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(191, 0, 0, 0.25);
}

.rakuten-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 0, 0, 0.35);
}

.amazon-btn {
  background: linear-gradient(135deg, #ff9900, #e68a00);
  color: #111111 !important;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
}

.amazon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.35);
}

.product-box-footer {
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .product-buttons-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Portal Hero (Compact & Magazine First)
   ========================================================================== */
.portal-hero-compact {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 36px 0 24px;
}

.hero-content-compact {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-title-compact {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero-subtitle-compact {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Simulator Section (Mid/Bottom Elegant Widget)
   ========================================================================== */
.simulator-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 56px 0 64px;
  margin-top: 48px;
}

.simulator-card-wrap {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.sim-tab-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
}

.sim-tab-btn {
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.sim-tab-btn:hover {
  color: #0f172a;
}

.sim-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-bottom: 3px solid var(--primary);
}

.sim-tab-body {
  padding: 16px 24px;
}

.sim-tab-body .interactive-simulator {
  margin: 0;
  border: none;
  box-shadow: none;
  padding: 12px 0;
}

/* Store Sidebar Widget */
.store-widget {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}

.store-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.store-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff !important;
  margin-bottom: 8px;
}

.store-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
  line-height: 1.5;
}

.store-btn {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.store-btn:hover {
  background: #0284c7;
  color: #ffffff !important;
}

.section-title-wrap {
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .sim-tab-btn {
    font-size: 0.88rem;
    padding: 12px 10px;
  }
  .sim-tab-body {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   VOD Comparison Cards
   ========================================================================== */
.vod-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  position: relative;
}

.vod-service-card.vod-top-pick {
  border: 2px solid #6366f1;
  background: #fafafa;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

.vod-card-badge {
  display: inline-block;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.vod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.vod-service-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.vod-trial-tag {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
}

.vod-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 18px;
  text-align: center;
}

.vod-spec-label {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.vod-spec-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
}

.vod-spec-val.highlight-green {
  color: #059669;
}

.vod-features-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 22px;
}

.vod-cta-wrapper {
  text-align: center;
}

.vod-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.2s ease;
}

.vod-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.vod-cancel-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .vod-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}






