/* ================================================
   careX — 記事コンテンツスタイル
   --accent を careX sky (#0284c7) に統一
   ================================================ */

:root {
  --bg: #F5F3EF;
  --card: #FFFFFF;
  --text: #1C1C2E;
  --muted: #6B6B7B;
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  --warm: #E07F45;
  --warm-light: #FEF3EB;
  --green: #2E7D5A;
  --green-light: #E8F5EE;
  --divider: #E4E0D8;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── ARTICLE BASE ── */
.article-body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 18px 60px;
}
.article-body section { padding: 32px 0; border-bottom: 1px solid var(--divider); }
.article-body section:last-of-type { border-bottom: none; }
.article-body h2 {
  font-size: 20px; font-weight: 800;
  line-height: 1.4; margin-bottom: 16px; color: var(--text);
}
.article-body h2 .label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 6px;
}
.article-body h3 {
  font-size: 17px; font-weight: 700; margin: 24px 0 10px; color: var(--text);
}
.article-body p { margin-bottom: 14px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { font-weight: 700; }

/* ── CHECKLIST ── */
.checklist {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 20px; margin: 20px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.checklist-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.checklist-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #F0EDE8;
  font-size: 15px; line-height: 1.6;
}
.checklist-item:last-child { border-bottom: none; }
.check-box {
  width: 22px; height: 22px; border: 2px solid var(--accent);
  border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .2s, color .2s;
}
.check-box.checked { background: var(--accent); color: #fff; }
.cta-check {
  background: linear-gradient(135deg, var(--warm-light), #FFF8F2);
  border: 1.5px solid #F5C49A; border-radius: var(--radius);
  padding: 18px 20px; margin-top: 16px;
  font-size: 15px; font-weight: 700; color: #B55A1A;
  text-align: center; line-height: 1.6;
}

/* ── STAT CARD ── */
.stat-card {
  background: var(--accent); color: #fff;
  border-radius: var(--radius); padding: 22px 20px; margin: 20px 0;
}
.stat-card .num { font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-card .num span { font-size: 22px; }
.stat-card .stat-desc { font-size: 14px; opacity: .88; line-height: 1.6; }
.stat-card .source {
  font-size: 11px; opacity: .65; margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.25); padding-top: 8px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.stat-mini {
  background: var(--card); border-radius: var(--radius);
  padding: 16px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05); text-align: center;
}
.stat-mini .num { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-mini .unit { font-size: 14px; font-weight: 700; color: var(--accent); }
.stat-mini .desc { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ── INFO / WARN / GREEN BOX ── */
.info-box {
  background: var(--accent-light); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px; margin: 20px 0; font-size: 15px; line-height: 1.7;
}
.info-box .info-title {
  font-weight: 700; color: var(--accent); margin-bottom: 6px;
  font-size: 14px; letter-spacing: .04em;
}
.warn-box {
  background: var(--warm-light); border-left: 4px solid var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px; margin: 20px 0; font-size: 15px; line-height: 1.7;
}
.warn-box .warn-title { font-weight: 700; color: var(--warm); margin-bottom: 6px; font-size: 14px; }
.green-box {
  background: var(--green-light); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px; margin: 20px 0; font-size: 15px; line-height: 1.7;
}

/* ── BRAIN CARD ── */
.brain-card {
  background: linear-gradient(135deg, #1A2E3D, #2A5070);
  border-radius: var(--radius); padding: 24px 20px; margin: 20px 0;
  color: #fff; text-align: center;
}
.brain-icon { font-size: 40px; margin-bottom: 12px; }
.brain-card h3 { color: #7CD4F4; margin: 0 0 10px; font-size: 16px; }
.brain-card p { font-size: 14px; opacity: .9; line-height: 1.7; margin: 0; }

/* ── RISK GRID ── */
.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.risk-item {
  background: var(--card); border-radius: 10px;
  padding: 14px 12px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.risk-item .risk-icon { font-size: 24px; margin-bottom: 6px; }
.risk-item .risk-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.risk-item .risk-num { font-size: 18px; font-weight: 900; color: var(--warm); }
.risk-item .risk-unit { font-size: 11px; color: var(--muted); }

/* ── SYMPTOM CARD ── */
.symptom-card {
  background: #FFF9F6; border: 1.5px solid #F5C49A;
  border-radius: var(--radius); padding: 20px; margin: 20px 0;
}
.symptom-card h3 { color: #C05A20; margin: 0 0 12px; font-size: 16px; }

/* ── TRACKER ── */
.tracker-intro {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 20px; margin: 20px 0; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.metric-list { list-style: none; padding: 0; margin: 16px 0 0; }
.metric-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #F0EDE8; font-size: 15px;
}
.metric-list li:last-child { border-bottom: none; }
.metric-icon { font-size: 18px; flex-shrink: 0; width: 26px; text-align: center; }
.metric-name { font-weight: 700; color: var(--accent); }
.metric-desc { font-size: 13px; color: var(--muted); }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 20px; margin: 16px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,.07); border-top: 4px solid var(--accent);
}
.product-card.top { border-top-color: #F9C968; }
.product-rank { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.product-name { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.product-tagline { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.product-price {
  background: var(--accent-light); border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; font-size: 14px;
}
.product-price .price { font-size: 18px; font-weight: 800; color: var(--accent); }
.product-price .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.product-desc { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.product-fit { background: var(--green-light); border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.6; }
.product-fit strong { color: var(--green); }

/* ── PILLARS ── */
.pillar {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 20px; margin: 16px 0; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pillar-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--accent); color: #fff;
  border-radius: 50%; font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.pillar h3 { margin: 0 0 10px; font-size: 17px; }
.pillar p { font-size: 15px; line-height: 1.75; }

/* ── ALERT ── */
.alert { background: #FFF4F4; border: 1.5px solid #F4ACAC; border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.alert h3 { color: #C02E2E; margin: 0 0 14px; font-size: 16px; }
.alert-item {
  display: flex; gap: 10px; padding: 7px 0;
  font-size: 15px; line-height: 1.6; border-bottom: 1px solid #FAE0E0;
}
.alert-item:last-child { border-bottom: none; }
.alert-dot { color: #E05555; flex-shrink: 0; margin-top: 2px; }

/* ── SUMMARY ── */
.summary {
  background: linear-gradient(160deg, #1C3A52 0%, #0284c7 100%);
  color: #fff; border-radius: var(--radius); padding: 26px 22px; margin: 20px 0;
}
.summary h2 { color: #fff; margin-bottom: 16px; }
.summary-item {
  display: flex; gap: 10px; padding: 8px 0;
  font-size: 15px; line-height: 1.6; border-bottom: 1px solid rgba(255,255,255,.15);
}
.summary-item:last-child { border-bottom: none; }
.summary-dot { color: #F9C968; flex-shrink: 0; }

/* ── FOOTNOTE ── */
.footnote {
  font-size: 12px; color: var(--muted); line-height: 1.7;
  padding: 24px 0 0; border-top: 1px solid var(--divider); margin-top: 32px;
}
.mt8 { margin-top: 8px; }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }
