/* このまち＋ 地震対策ガイド：記事内だけに適用 */
#konomachi-earthquake{--eq-ink:#183b3b;--eq-green:#18665e;--eq-line:#d7e4df;--eq-muted:#536766;max-width:1000px;margin:0 auto;color:var(--eq-ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.9;overflow-wrap:anywhere;text-align:left}
#konomachi-earthquake *{box-sizing:border-box}
#konomachi-earthquake [hidden]{display:none!important}
#konomachi-earthquake a{color:#11665c;text-decoration:underline;text-underline-offset:3px}
#konomachi-earthquake a:hover{color:#103d37}
#konomachi-earthquake :is(a,button,input,select,summary):focus-visible{outline:3px solid #b35708;outline-offset:4px}
#konomachi-earthquake p{margin:0 0 1em}
#konomachi-earthquake :is(h1,h2,h3){font-family:inherit;letter-spacing:.02em;color:inherit;background:none;border:0;padding:0;box-shadow:none;line-height:1.5;text-align:left;clear:none}
#konomachi-earthquake :is(h1,h2,h3)::before,#konomachi-earthquake :is(h1,h2,h3)::after{content:none}
#konomachi-earthquake h1{font-size:clamp(30px,5vw,52px);font-weight:800;margin:18px 0 24px;line-height:1.4}
#konomachi-earthquake h2{font-size:clamp(21px,3vw,28px);font-weight:750;margin:0 0 26px}
#konomachi-earthquake h3{font-size:18px;font-weight:700;margin:26px 0 10px}
#konomachi-earthquake .eq-hero{padding:46px 48px;background:linear-gradient(125deg,#eaf5ec,#f2f8f6 65%,#dceee5);border-top:7px solid #247469;position:relative}
#konomachi-earthquake .eq-brand{font-size:13px;letter-spacing:.12em;font-weight:700;color:#34675c}
#konomachi-earthquake .eq-eyebrow{margin-top:28px;font-size:15px}
#konomachi-earthquake .eq-lead{max-width:690px;font-size:17px}
#konomachi-earthquake .eq-date,#konomachi-earthquake .eq-small,#konomachi-earthquake .eq-ref{font-size:13px;color:var(--eq-muted)}
#konomachi-earthquake .eq-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
#konomachi-earthquake .eq-hero-tags span{background:#fff;border:1px solid #c0d9cc;border-radius:30px;padding:4px 13px;font-size:12px;font-weight:700}
#konomachi-earthquake .eq-urgent{margin:28px 32px;padding:22px 24px;background:#fff5ec;border:1px solid #e2b48c;border-left:5px solid #a84b14;border-radius:10px;color:#663819}
#konomachi-earthquake .eq-urgent strong{font-size:18px}
#konomachi-earthquake .eq-urgent p{font-size:14px;margin:10px 0}
#konomachi-earthquake .eq-urgent a{color:#824014;font-weight:700}
#konomachi-earthquake .eq-toc{margin:32px;padding:24px;background:#f4f7f5;border:1px solid var(--eq-line);border-radius:14px}
#konomachi-earthquake .eq-toc h2{font-size:18px;margin-bottom:14px}
#konomachi-earthquake .eq-toc>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#konomachi-earthquake .eq-toc a{padding:10px 12px;display:flex;align-items:center;background:#fff;border:1px solid var(--eq-line);border-radius:8px;font-size:14px;text-decoration:none;min-height:46px}
#konomachi-earthquake .eq-section{padding:34px 40px;scroll-margin-top:24px}
#konomachi-earthquake .eq-kicker{font-size:11px;color:#4b786e;letter-spacing:.14em;margin-bottom:8px;font-weight:700}
#konomachi-earthquake .eq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
#konomachi-earthquake .eq-card{padding:22px;background:#f8faf8;border:1px solid var(--eq-line);border-radius:12px;min-width:0}
#konomachi-earthquake .eq-card h3{margin:0 0 10px;font-size:17px}
#konomachi-earthquake .eq-card p{margin:0;font-size:15px}
#konomachi-earthquake ul,#konomachi-earthquake ol{margin:16px 0;padding-left:1.5em}
#konomachi-earthquake li{padding:3px 0;margin-bottom:10px}
#konomachi-earthquake .eq-note{background:#edf6f0;border-left:4px solid #498c75;padding:20px 22px;margin:24px 0;border-radius:0 10px 10px 0}
#konomachi-earthquake .eq-note h3{margin:0 0 8px}
#konomachi-earthquake .eq-note p{margin:0}
#konomachi-earthquake .eq-ad{width:auto;min-width:0;max-width:100%;margin:28px 32px;padding:16px 0;border-top:1px solid #e4e9e5;border-bottom:1px solid #e4e9e5;background:#fafbfa;text-align:center;clear:both}
#konomachi-earthquake .eq-ad-label{display:block;font-size:11px;color:#68736e;letter-spacing:.1em;margin-bottom:12px}
#konomachi-earthquake .eq-ad-preview{min-height:150px;display:flex;flex-direction:column;justify-content:center;color:#68736e;font-size:13px}
#konomachi-earthquake .eq-calculator{padding:26px;background:#eef6f2;border:1px solid #b8d7ca;border-radius:16px;margin:24px 0 12px}
#konomachi-earthquake .eq-inputs{display:flex;gap:20px;flex-wrap:wrap}
#konomachi-earthquake .eq-inputs label{flex:1;min-width:140px;font-size:14px;font-weight:700}
#konomachi-earthquake :is(input[type=number],select){display:block;width:100%;min-height:48px;margin-top:6px;padding:8px 12px;border:1px solid #789b8f;border-radius:8px;background:#fff;color:#183b3b;font:inherit;font-size:16px}
#konomachi-earthquake .eq-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
#konomachi-earthquake .eq-results>div{background:#fff;padding:18px 10px;text-align:center;border-radius:10px;font-size:13px}
#konomachi-earthquake .eq-results strong{display:block;font-size:27px;color:#166358;line-height:1.8}
#konomachi-earthquake .eq-results small{font-size:11px;color:#536766}
#konomachi-earthquake .eq-error{color:#9a360f;font-size:13px;margin:10px 0 0}
#konomachi-earthquake .eq-error:empty{display:none}
#konomachi-earthquake .eq-linkrow,#konomachi-earthquake .eq-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
#konomachi-earthquake .eq-linkrow a,#konomachi-earthquake button{font:inherit;font-size:14px;min-height:46px;padding:10px 16px;border:1px solid #317568;border-radius:8px;color:#195f53;background:#fff;cursor:pointer}
#konomachi-earthquake button:hover{background:#e8f3ed}
#konomachi-earthquake button:disabled{opacity:.5;cursor:not-allowed}
#konomachi-earthquake .eq-steps{border-left:2px solid #b5d6c7;margin-left:15px;padding-left:28px}
#konomachi-earthquake .eq-steps>div{position:relative;padding-bottom:16px}
#konomachi-earthquake .eq-steps b{position:absolute;left:-45px;top:0;width:32px;height:32px;border-radius:50%;background:#1f6a5d;color:#fff;text-align:center;line-height:32px}
#konomachi-earthquake .eq-steps h3{margin-top:0}
#konomachi-earthquake .eq-table-wrap{max-width:100%;margin:24px 0}
#konomachi-earthquake table{border-collapse:collapse;width:100%;font-size:14px;table-layout:fixed}
#konomachi-earthquake caption{text-align:left;font-weight:700;margin-bottom:10px}
#konomachi-earthquake th,#konomachi-earthquake td{border:1px solid #c7d9d0;padding:14px;vertical-align:top;white-space:normal}
#konomachi-earthquake th{background:#eef5f0;font-weight:700}
#konomachi-earthquake th:first-child{width:25%}
#konomachi-earthquake .eq-progress{display:flex;align-items:center;gap:20px;margin:20px 0;font-size:15px}
#konomachi-earthquake progress{flex:1;width:100%;height:14px;accent-color:#267664}
#konomachi-earthquake .eq-checklist{border:1px solid var(--eq-line);border-radius:12px;overflow:hidden}
#konomachi-earthquake .eq-checklist label{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border-bottom:1px solid var(--eq-line);cursor:pointer;font-size:15px}
#konomachi-earthquake .eq-checklist label:last-child{border-bottom:0}
#konomachi-earthquake .eq-checklist input{width:22px;height:22px;flex:0 0 22px;margin:4px 0 0;accent-color:#267664}
#konomachi-earthquake .eq-checklist label:has(input:checked){background:#edf6f0}
#konomachi-earthquake details{border:1px solid var(--eq-line);border-radius:10px;margin:12px 0;padding:0 18px}
#konomachi-earthquake summary{cursor:pointer;padding:18px 0;font-weight:700;font-size:16px}
#konomachi-earthquake details p{padding-bottom:10px;font-size:15px}
#konomachi-earthquake .eq-sources{font-size:14px}
#konomachi-earthquake .eq-sources li{scroll-margin-top:24px;padding:8px 0;border-bottom:1px solid #e7eeea}
#konomachi-earthquake .eq-sources small{display:block;color:var(--eq-muted);margin-top:4px}
#konomachi-earthquake .eq-footer{padding:38px 24px;background:#eaf3ed;text-align:center}
#konomachi-earthquake .eq-footer p{font-size:17px}
#konomachi-earthquake .eq-footer a{font-size:14px}
#konomachi-earthquake .eq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){#konomachi-earthquake{font-size:15px;line-height:1.9}#konomachi-earthquake .eq-hero{padding:30px 22px}#konomachi-earthquake .eq-lead{font-size:15px}#konomachi-earthquake .eq-section{padding:28px 20px}#konomachi-earthquake .eq-urgent,#konomachi-earthquake .eq-toc{margin:22px 16px;padding:19px 16px}#konomachi-earthquake .eq-toc>div{grid-template-columns:repeat(2,minmax(0,1fr))}#konomachi-earthquake .eq-toc a{font-size:13px;padding:9px}#konomachi-earthquake .eq-grid{grid-template-columns:1fr;gap:12px}#konomachi-earthquake .eq-card{padding:19px}#konomachi-earthquake .eq-ad{margin:24px 16px}#konomachi-earthquake .eq-calculator{padding:18px 14px}#konomachi-earthquake .eq-inputs{gap:12px}#konomachi-earthquake .eq-inputs label{min-width:100px}#konomachi-earthquake .eq-results{grid-template-columns:1fr;gap:8px}#konomachi-earthquake .eq-results>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px}#konomachi-earthquake .eq-results strong{font-size:23px}#konomachi-earthquake .eq-results small{display:none}#konomachi-earthquake th,#konomachi-earthquake td{padding:10px;font-size:13px}#konomachi-earthquake th:first-child{width:30%}#konomachi-earthquake .eq-checklist label{padding:14px}#konomachi-earthquake .eq-progress{gap:12px}#konomachi-earthquake .eq-progress strong{white-space:nowrap}}
@media print{#konomachi-earthquake{max-width:none;font-size:10pt;background:white;color:#000}#konomachi-earthquake .eq-ad,#konomachi-earthquake .eq-actions,#konomachi-earthquake .eq-toc{display:none!important}#konomachi-earthquake .eq-hero,#konomachi-earthquake .eq-section{padding:12pt 0}#konomachi-earthquake .eq-urgent{margin:12pt 0}#konomachi-earthquake .eq-grid{display:block}#konomachi-earthquake .eq-card{margin:8pt 0;break-inside:avoid}#konomachi-earthquake h2,#konomachi-earthquake h3{break-after:avoid}#konomachi-earthquake a{color:#000}#konomachi-earthquake .eq-sources a::after{content:" (" attr(href) ")";font-size:8pt;overflow-wrap:anywhere}#konomachi-earthquake .eq-checklist label{break-inside:avoid}}
