/* SDGs Palette — 2026-11-19
 * 考え方：①骨格（文字・線・背景）は青みのインクと温かい紙色。②色は「意味」に使う＝記事のカテゴリごとに1色
 * （SDGsの17色から、色相の離れた8色）。1ページに使うアクセントは、そのカテゴリの1色だけ。③サイト全体のレインボーは、
 * 画面の上端・フッターの上の17色の細い帯と、数字の色の流れに集約。白地で使う文字色は4.5:1以上の濃色版（--accent-ink）。
 * 元に戻す: mu-plugins/sdgs-palette.php と sdgs-palette/ を削除（style.css / atlas.css は .bak-20261119pal から戻せます）。 */
:root{--sdgs-rainbow:linear-gradient(90deg,#E5243B 0.0% 5.882%,#DDA63A 5.882% 11.765%,#4C9F38 11.765% 17.647%,#C5192D 17.647% 23.529%,#FF3A21 23.529% 29.412%,#26BDE2 29.412% 35.294%,#FCC30B 35.294% 41.176%,#A21942 41.176% 47.059%,#FD6925 47.059% 52.941%,#DD1367 52.941% 58.824%,#FD9D24 58.824% 64.706%,#BF8B2E 64.706% 70.588%,#3F7E44 70.588% 76.471%,#0A97D9 76.471% 82.353%,#56C02B 82.353% 88.235%,#00689D 88.235% 94.118%,#19486A 94.118% 100.0%)}
body.sdgs-journey{--accent:#1a5fa8;--accent-ink:#1a5fa8;--accent-rgb:26,95,168}
body.sdgs-journey.sdgs-cat-water-sanitation{--accent:#26BDE2;--accent-ink:#0A7391;--accent-rgb:38,189,226}
body.sdgs-journey.sdgs-cat-nature-biodiversity{--accent:#56C02B;--accent-ink:#2E7D12;--accent-rgb:86,192,43}
body.sdgs-journey.sdgs-cat-food-agriculture{--accent:#DDA63A;--accent-ink:#8A5E0C;--accent-rgb:221,166,58}
body.sdgs-journey.sdgs-cat-climate-energy{--accent:#FD6925;--accent-ink:#C2410C;--accent-rgb:253,105,37}
body.sdgs-journey.sdgs-cat-cities-mobility-industry{--accent:#19486A;--accent-ink:#19486A;--accent-rgb:25,72,106}
body.sdgs-journey.sdgs-cat-circular-economy{--accent:#7B55B5;--accent-ink:#6A4AA0;--accent-rgb:123,85,181}
body.sdgs-journey.sdgs-cat-health-education-living{--accent:#E5243B;--accent-ink:#C41E34;--accent-rgb:229,36,59}
body.sdgs-journey.sdgs-cat-work-equality-peace{--accent:#DD1367;--accent-ink:#C20F5A;--accent-rgb:221,19,103}

/* 画面の上端とフッターの上に、17色の細い帯 */
body.sdgs-journey::before{content:"";display:block;height:5px;background:var(--sdgs-rainbow)}
.sdgs-journey #footer{position:relative;border-top:0}
.sdgs-journey #footer::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--sdgs-rainbow)}

/* 記事：見出し・目次・ポイント枠・引用にカテゴリの色 */
.sdgs-journey .entry-content h2:not(.sdgs-atlas *){color:var(--journey-ink)!important;background:linear-gradient(var(--accent),var(--accent)) left top/72px 4px no-repeat!important}
.sdgs-journey .entry-content h3:not(.sdgs-atlas *){color:var(--journey-ink)!important;border-left:4px solid var(--accent)!important;padding-left:12px!important}
.sdgs-journey .entry-content .journey-next h2{background:none!important}
.sdgs-journey #toc{border-left:4px solid var(--accent);background:rgba(var(--accent-rgb),.06)}
.sdgs-journey .entry-content :is(.has-watery-green-background-color,.has-ex-f-background-color,.has-key-color-background-color){background:rgba(var(--accent-rgb),.08)!important;color:var(--journey-ink)!important;border-left:4px solid var(--accent)}
.sdgs-journey .entry-content :is(blockquote,.information-box,.information){border-left:4px solid var(--accent);background:rgba(var(--accent-rgb),.06)}
.sdgs-journey .entry-content th{background:#f3f1ea;border-bottom:2px solid rgba(var(--accent-rgb),.55)}
.sdgs-journey .entry-content strong{color:inherit}

/* カテゴリラベル（一覧のカード・記事上部） */
.sdgs-journey .cat-label,.sdgs-journey #list .cat-label,.sdgs-journey .eye-catch .cat-label{background:var(--accent-ink)!important;color:#fff!important;border:0}
.sdgs-journey .cat-label-4,.sdgs-journey #list .cat-label-4{background:#0A7391!important}
.sdgs-journey .cat-label-5,.sdgs-journey #list .cat-label-5{background:#2E7D12!important}
.sdgs-journey .cat-label-6,.sdgs-journey #list .cat-label-6{background:#8A5E0C!important}
.sdgs-journey .cat-label-2,.sdgs-journey #list .cat-label-2{background:#C2410C!important}
.sdgs-journey .cat-label-7,.sdgs-journey #list .cat-label-7{background:#19486A!important}
.sdgs-journey .cat-label-3,.sdgs-journey #list .cat-label-3{background:#6A4AA0!important}
.sdgs-journey .cat-label-8,.sdgs-journey #list .cat-label-8{background:#C41E34!important}
.sdgs-journey .cat-label-9,.sdgs-journey #list .cat-label-9{background:#C20F5A!important}

/* TOP：テーマカードにカテゴリの色（上辺の線・アイコン地） */
#main .atlas-theme-grid a[href$="/category/water-sanitation/"]{--c:#26BDE2;--c-ink:#0A7391;--c-rgb:38,189,226}
#main .atlas-theme-grid a[href$="/category/nature-biodiversity/"]{--c:#56C02B;--c-ink:#2E7D12;--c-rgb:86,192,43}
#main .atlas-theme-grid a[href$="/category/food-agriculture/"]{--c:#DDA63A;--c-ink:#8A5E0C;--c-rgb:221,166,58}
#main .atlas-theme-grid a[href$="/category/climate-energy/"]{--c:#FD6925;--c-ink:#C2410C;--c-rgb:253,105,37}
#main .atlas-theme-grid a[href$="/category/cities-mobility-industry/"]{--c:#19486A;--c-ink:#19486A;--c-rgb:25,72,106}
#main .atlas-theme-grid a[href$="/category/circular-economy/"]{--c:#7B55B5;--c-ink:#6A4AA0;--c-rgb:123,85,181}
#main .atlas-theme-grid a[href$="/category/health-education-living/"]{--c:#E5243B;--c-ink:#C41E34;--c-rgb:229,36,59}
#main .atlas-theme-grid a[href$="/category/work-equality-peace/"]{--c:#DD1367;--c-ink:#C20F5A;--c-rgb:221,19,103}
#main .atlas-theme-grid a[href*="/category/"]{border-top:3px solid var(--c,#1a5fa8)}
#main .atlas-theme-grid a[href*="/category/"]:hover{border-color:var(--c,#1a5fa8);box-shadow:0 6px 16px rgba(var(--c-rgb,26,95,168),.22)}

/* カテゴリのアイコン（丸角の四角）— 8カテゴリ分、同じ色の対応 */
.sdgs-visual-nav .journey-symbol{color:#1a5fa8}
.sdgs-visual-nav .journey-symbol-water-sanitation{background:rgba(38,189,226,.17);color:#0A7391}
.sdgs-visual-nav .journey-symbol-nature-biodiversity{background:rgba(86,192,43,.17);color:#2E7D12}
.sdgs-visual-nav .journey-symbol-food-agriculture{background:rgba(221,166,58,.17);color:#8A5E0C}
.sdgs-visual-nav .journey-symbol-climate-energy{background:rgba(253,105,37,.17);color:#C2410C}
.sdgs-visual-nav .journey-symbol-cities-mobility-industry{background:rgba(25,72,106,.17);color:#19486A}
.sdgs-visual-nav .journey-symbol-circular-economy{background:rgba(123,85,181,.17);color:#6A4AA0}
.sdgs-visual-nav .journey-symbol-health-education-living{background:rgba(229,36,59,.17);color:#C41E34}
.sdgs-visual-nav .journey-symbol-work-equality-peace{background:rgba(221,19,103,.17);color:#C20F5A}

/* TOP：掲載数（事例数）— 大きな数字に色の流れ */
.atlas-stat{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:baseline;margin:0 0 18px;padding:0}
.atlas-stat .atlas-stat-item{display:inline-flex;align-items:baseline;gap:6px}
.atlas-stat strong{font-size:clamp(34px,4.2vw,52px);line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#1a5fa8;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.atlas-stat .atlas-stat-item:nth-child(1) strong{background-image:linear-gradient(90deg,#0a7fb5,#2e9a3a)}
.atlas-stat .atlas-stat-item:nth-child(2) strong{background-image:linear-gradient(90deg,#e08a00,#e5243b,#c20f5a)}
.atlas-stat small{font-size:15px;font-weight:700;color:#556170}
@media (max-width:600px){.atlas-stat{gap:6px 18px;margin-bottom:14px}.atlas-stat small{font-size:13px}}
