:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* アクセシビリティ用スクリーンリーダー隠し */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ヘッダー */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.logo-icon {
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-title {
  font-size: clamp(0.95rem, 3.6vw, 1.2rem);
  font-weight: 800;
  color: var(--text-main);
  display: block;
  white-space: nowrap;
}
.logo-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
  white-space: nowrap;
}

/* パンくずリスト */
.breadcrumb-nav {
  margin-bottom: 18px;
  font-size: 0.82rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  color: var(--text-muted);
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #94a3b8;
}

/* ヒーロー */
.hero-section {
  text-align: center;
  padding: 16px 8px 26px;
}
.hero-section h1 {
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-desc {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* カード共通 */
.calc-card, .results-card, .affiliate-section, .seo-faq-section, .basis-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

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

.card-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-share {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-share:hover {
  background: #dbeafe;
  color: var(--primary-hover);
}

.btn-reset {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-reset:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* 住宅ローン控除詳細設定カード */
.deduction-card {
  background: #fdfaf5;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 6px;
}
.deduction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.deduction-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #9a3412;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deduction-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: #ea580c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
}
.deduction-desc {
  font-size: 0.8rem;
  color: #7c2d12;
  margin-top: 4px;
  line-height: 1.5;
}
.deduction-fields {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #fdba74;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* スイッチトグル共通 */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 34px;
}
.slider-toggle:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
input:checked + .slider-toggle { background-color: #ea580c; }
input:checked + .slider-toggle:before { transform: translateX(22px); }

/* トースト通知 */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* フォーム */
.form-grid { display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.input-sync-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.number-input-field {
  width: 90px;
  padding: 6px 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--primary);
  background-color: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.number-input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background-color: #ffffff;
}

.input-unit {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.input-error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  display: none;
  margin-top: 2px;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  outline: none;
  margin: 6px 0;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  transition: transform 0.1s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-slider.accent-red::-webkit-slider-thumb { background: #ef4444; box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4); }
.range-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted); }

/* 金利上昇インパクトバナー */
.impact-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.impact-title { font-size: 1.05rem; font-weight: 800; color: #991b1b; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.impact-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.impact-box { background: rgba(255, 255, 255, 0.95); border: 1px solid #fee2e2; border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.impact-label { font-size: 0.8rem; font-weight: 700; color: #64748b; }
.impact-val { font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 800; color: #dc2626; margin: 4px 0; }
.impact-val .unit { font-size: 0.85rem; font-weight: 600; }
.impact-sub { font-size: 0.75rem; color: #64748b; }

/* 比較結果バナー（中立化） */
.comp-result-banner {
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.comp-result-badge {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.comp-result-diff {
  font-size: 0.95rem;
  color: #1e3a8a;
  line-height: 1.6;
}
.highlight-diff {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1d4ed8;
}

/* 損益分岐点バナー（要件4） */
.breakeven-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breakeven-val {
  font-weight: 800;
  color: #b45309;
  font-size: 1.05rem;
}

/* 選択肢別サマリーグリッド */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.comp-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.comp-box-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.comp-box-profit { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin: 6px 0; }
.profit-prepay { color: #0284c7; }
.profit-nisa { color: #10b981; }
.comp-box-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.comp-nature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}
.tag-certain { background: #e0f2fe; color: #0369a1; }
.tag-variable { background: #dcfce7; color: #15803d; }

/* 3シナリオ比較テーブル（要件4） */
.scenario-section {
  margin: 24px 0;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.scenario-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scenario-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.scenario-table th, .scenario-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: center;
}
.scenario-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
}
.scenario-low { color: #dc2626; font-weight: 700; }
.scenario-mid { color: #047857; font-weight: 700; }
.scenario-high { color: #1d4ed8; font-weight: 700; }

/* 結果直下の注意事項ボックス（要件2） */
.result-disclaimer-box {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.result-disclaimer-icon {
  font-size: 1.15rem;
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 2px;
}
.result-disclaimer-text {
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.65;
}

/* グラフエリア */
.chart-wrapper {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.chart-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-caption {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.chart-table-alt {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.82rem;
}
.chart-table-alt th, .chart-table-alt td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}
.chart-table-alt th {
  background: #f8fafc;
  font-weight: 700;
}

/* 計算条件・根拠・更新情報セクション（要件3・要件4未考慮項目） */
.basis-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
}
.basis-summary {
  padding: 16px 20px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  list-style: none;
}
.basis-summary::-webkit-details-marker { display: none; }
.basis-summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
details[open] .basis-summary::after {
  transform: rotate(180deg);
}

.basis-content {
  padding: 22px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.75;
}
.basis-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 18px 0 8px;
  padding-left: 8px;
  border-left: 3px solid var(--primary);
}
.basis-content h4:first-of-type { margin-top: 0; }
.basis-content ul, .basis-content ol { margin: 6px 0 14px 20px; }
.basis-content li { margin-bottom: 4px; }
.basis-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 0.85rem;
}
.basis-content th, .basis-content td {
  border: 1px solid var(--border);
  padding: 8px 12px;
}
.basis-content th {
  background: #f8fafc;
  width: 25%;
  font-weight: 700;
}

/* アフィリエイトセクション (要件5) */
.affiliate-section {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  position: relative;
}
.pr-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.aff-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aff-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 4px 0 20px;
  line-height: 1.5;
}
.aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.aff-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.aff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.aff-card.featured {
  border-color: #93c5fd;
  background: #fbfdff;
}
.aff-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1e40af;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.aff-brand {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aff-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}
.aff-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.aff-points {
  list-style: none;
  font-size: 0.78rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}
.aff-points i { color: #10b981; margin-right: 4px; }
.aff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}
.aff-btn:hover { background-color: var(--primary-hover); }
.aff-btn.btn-secondary {
  background-color: #0f172a;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.25);
}
.aff-btn.btn-secondary:hover { background-color: #1e293b; }

/* FAQ */
.seo-faq-section h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.faq-a { font-size: 0.85rem; color: #475569; line-height: 1.65; }

/* フッター */
.site-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-subnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.footer-subnav a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-subnav a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.copy { margin-bottom: 6px; }
.disclaimer {
  font-size: 0.75rem;
  margin-top: 6px;
  color: #94a3b8;
  line-height: 1.6;
}

/* レスポンシブ (320px〜640px) */
@media (max-width: 640px) {
  .hero-section h1 { font-size: 1.35rem; }
  .calc-card, .results-card, .affiliate-section, .seo-faq-section, .basis-card { padding: 18px 14px; }
  .impact-stats-grid, .comp-grid { grid-template-columns: 1fr; }
  .scenario-table { font-size: 0.75rem; }
  .scenario-table th, .scenario-table td { padding: 8px 6px; }
  .basis-content th { width: 35%; }
}
@media (max-width: 400px) {
  .page-wrapper { padding: 0 10px 30px; }
  .site-header { padding: 14px 0; }
  .header-inner { gap: 6px; }
  .logo-icon { font-size: 1.4rem; }
  .logo-title { font-size: 1rem; }
}

/* SNSシェアボタン */
.share-section { margin: 0 0 20px; }
.share-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none; transition: opacity 0.15s;
}
.share-btn:hover { opacity: 0.82; }
.share-btn-x { background: #000; color: #fff; }
.share-btn-copy { background: var(--primary); color: #fff; }

/* SEO解説記事セクション */
.seo-article-section {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.article-block { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.article-h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--primary);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px; line-height: 1.4;
}
.article-lead { font-size: 0.9rem; color: #334155; line-height: 1.75; margin-bottom: 16px; }

.article-comparison-table { overflow-x: auto; margin-bottom: 8px; }
.article-comparison-table table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.article-comparison-table th {
  background: #f1f5f9; padding: 8px 12px; text-align: left;
  font-weight: 700; border: 1px solid var(--border);
}
.article-comparison-table td { padding: 8px 12px; border: 1px solid var(--border); vertical-align: middle; }
.risk-high { color: #ef4444; font-weight: 700; }
.risk-low  { color: #10b981; font-weight: 700; }
.article-note { font-size: 0.76rem; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }

/* Calloutボックス */
.callout {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-radius: var(--radius-sm); font-size: 0.87rem; line-height: 1.65; margin-bottom: 16px;
}
.callout-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.callout-warn > i { color: #f59e0b; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.callout-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.callout-info > i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* アイコンリスト */
.article-icon-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; font-size: 0.87rem; color: #334155; line-height: 1.65;
}
.article-icon-list li { display: flex; align-items: flex-start; gap: 8px; }
.article-icon-list i { color: var(--primary); flex-shrink: 0; margin-top: 3px; }

/* ステップフロー */
.steps-flow { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 4px 8px; border-radius: 4px; flex-shrink: 0; white-space: nowrap; margin-top: 2px;
}
.step-body { font-size: 0.87rem; color: #334155; line-height: 1.65; }

/* 比較グリッド（有利・不利） */
.expense-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.expense-box { border-radius: var(--radius-sm); padding: 16px; font-size: 0.83rem; line-height: 1.6; }
.expense-ok { background: #ecfdf5; border: 1px solid #a7f3d0; }
.expense-ng { background: #fef2f2; border: 1px solid #fca5a5; }
.expense-box-title { font-weight: 800; font-size: 0.88rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.expense-ok .expense-box-title { color: #047857; }
.expense-ng .expense-box-title { color: #b91c1c; }
.expense-box ul { list-style: none; display: flex; flex-direction: column; gap: 6px; color: #334155; }
.expense-box ul li::before { content: '・'; color: #94a3b8; margin-right: 2px; }

/* アコーディオンFAQ */
.faq-accordion { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item-acc { border-bottom: 1px solid var(--border); }
.faq-item-acc:last-child { border-bottom: none; }
.faq-q-acc {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  cursor: pointer; font-size: 0.92rem; font-weight: 700; color: var(--text-main);
  list-style: none; background: #fafafa; user-select: none; transition: background 0.15s;
}
.faq-q-acc::-webkit-details-marker { display: none; }
.faq-q-acc:hover { background: #f1f5f9; }
.faq-q-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; flex-shrink: 0;
}
.faq-q-acc > span:not(.faq-q-icon) { flex: 1; line-height: 1.5; }
.faq-chevron { color: var(--text-muted); font-size: 0.78rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item-acc[open] .faq-chevron { transform: rotate(180deg); }
.faq-a-acc {
  padding: 12px 16px 16px 52px; font-size: 0.87rem; color: #475569;
  line-height: 1.7; background: #fff; animation: fadeInFaq 0.15s ease;
}
@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .expense-grid { grid-template-columns: 1fr; }
  .faq-a-acc { padding-left: 16px; }
  .seo-article-section { padding: 20px 14px; }
}

