/* コラム本文の装飾（2026-11-28）。編集画面と公開ページの両方で読み込む。本文に <style> を書かず、class で指定する */
.article-content table.ec-table{width:100%;table-layout:fixed;border-collapse:collapse;line-height:1.45}
.article-content table.ec-table th,.article-content table.ec-table td{border:1px solid #cfd8c4;padding:8px 3px;text-align:center;vertical-align:middle}
.article-content table.ec-table th{background:#e6f2d8;font-weight:700}
.article-content table.ec-table.ec-main{font-size:.82rem;font-variant-numeric:tabular-nums}
.article-content table.ec-table.ec-main th,.article-content table.ec-table.ec-main td{padding:8px 1px}
.article-content table.ec-table.ec-main th:first-child{width:14%}
.article-content table.ec-table.ec-main th.ec-sim-th{width:19%;padding:3px;background:#fff}
.article-content table.ec-table.ec-main td:last-child{background:#fff8e1;font-weight:700}
.article-content table.ec-table.ec-years{font-size:.8rem}
.article-content table.ec-table.ec-years th,.article-content table.ec-table.ec-years td{padding:7px 1px}
.article-content table.ec-table.ec-years th:first-child,.article-content table.ec-table.ec-years td:first-child{width:19%}
.article-content table.ec-table.ec-years tr:last-child td{border-top:3px solid #2f6b2a !important}
.article-content table.ec-table.ec-years tr:nth-last-child(2) td{border-bottom:3px solid #2f6b2a !important}

.article-content .ec-blue,.article-content table span.ec-blue{color:#0b63c4 !important;font-weight:700}
.article-content .ec-red,.article-content table span.ec-red{color:#d32f2f !important;font-weight:700}
.article-content .ec-marker{color:#222;font-weight:700;background-image:linear-gradient(to top,#ffe600 0,#ffe600 .4em,transparent .4em);-webkit-box-decoration-break:clone;box-decoration-break:clone}

.article-content p.ec-sub{font-weight:700;margin:12px 0 6px}
.article-content p.ec-cap{font-weight:700;margin:16px 0 2px;color:#2f6b2a}
.article-content p.ec-note{font-size:.82rem}
.article-content p.ec-under{font-size:.86rem;margin:-8px 0 14px}
.article-content p.ec-warn{border-left:5px solid #c62828;background:#fff3f3;padding:8px 10px}

.article-content a.ec-link{color:#0b63c4 !important;font-weight:700;text-decoration:underline}
.article-content a.ec-sim-box{display:block;color:#0b63c4 !important;font-weight:700;text-decoration:underline;border:2px solid #0b63c4;border-radius:8px;padding:5px 0;background:#eef6ff}
.article-content a.ec-sim-box span{display:block;font-size:.68rem;white-space:nowrap}

.article-content ol.ec-rank{list-style:none;padding:0;margin:0}
.article-content li.ec-card{display:flex;gap:8px;align-items:flex-start;border:1px solid #dbe3d5;border-radius:10px;padding:9px 10px;margin-bottom:8px;background:#fff}
.article-content .ec-badge{flex:0 0 auto;min-width:36px;text-align:center;border-radius:12px;color:#fff;font-weight:700;font-size:.8rem;padding:2px 4px}
.article-content .ec-ok .ec-badge{background:#2f6b2a}
.article-content .ec-ng .ec-badge{background:#c62828}
.article-content li.ec-card strong{display:block;line-height:1.5}
.article-content li.ec-card p{margin:2px 0 0;font-size:.85rem;line-height:1.5}

.article-content details.ec-cond{margin:10px 0}
.article-content details.ec-cond summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:6px 12px;background:#f3f8ec;border-left:6px solid #2f6b2a;font-weight:700;color:#333;cursor:pointer;list-style:none}
.article-content details.ec-cond summary::-webkit-details-marker{display:none}
.article-content details.ec-cond summary::after{content:"＋ 開く";font-size:.8rem;color:#2f6b2a;white-space:nowrap}
.article-content details.ec-cond[open] summary::after{content:"－ 閉じる"}
.article-content details.ec-cond p{margin:8px 4px}

.article-content .ec-cta{margin:24px 0 8px;padding:18px 14px;border:2px solid #2f6b2a;border-radius:16px;background:#f3fbe6;text-align:center}
.article-content .ec-cta p.ec-cta-title{font-size:1.1rem;font-weight:700;color:#2f6b2a;margin:0 0 6px}
.article-content .ec-cta p.ec-cta-note{font-size:.8rem;margin:0}
.article-content .ec-cta a,.article-content p.ec-btn a{display:block;max-width:420px;margin:12px auto 8px;padding:15px 8px;border-radius:32px;background:#e53935;color:#fff !important;font-weight:700;text-align:center;text-decoration:none}

@media(min-width:768px){
.article-content table.ec-table.ec-main{font-size:.95rem}
.article-content a.ec-sim-box span{font-size:.8rem}
}
