/* soc-climate（雨温図）。降水量の ぼう＝青（右の 目もり）、気温の 線＝赤（左の 目もり）。正かい＝みどり、まちがい＝赤、えらんで いる＝オレンジ。字は 16px 以上 */
.scl { --scl-o: #f59e0b; --scl-ok: #10b981; --scl-okd: #047857; --scl-ng: #ef4444; --scl-ngd: #b91c1c; --scl-t: #dc2626; --scl-r: #1d6fc4; font-size: 1.05rem; position: relative; }
.scl [hidden] { display: none !important; }
.scl rt { font-size: .5em; font-weight: 500; }
.scl-wait { color: var(--sub, #4b5563); padding: 40px 0; text-align: center; }
.scl-qbox { background: linear-gradient(180deg, #fff8e6, #fffdf6); border: 2px solid var(--scl-o); border-radius: 16px; padding: 8px 12px 10px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(245, 158, 11, .12); }
.scl-qbox.scl-free { background: linear-gradient(180deg, #f1f8ff, #fbfdff); border-color: #93c5fd; box-shadow: none; }
.scl-q { margin: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.75; }
.scl-q b { color: #b45309; font-size: 1.2rem; }
.scl-qn { display: inline-block; font-size: .85rem; background: var(--scl-o); color: #fff; border-radius: 999px; padding: 0 10px; margin-right: 8px; vertical-align: 3px; line-height: 1.6; }
.scl-ch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.scl-ch:empty { display: none; }
.scl-c { flex: 1 1 88px; min-height: 48px; padding: 4px 10px; border-radius: 14px; border: 2px solid #e5d3a8; background: linear-gradient(180deg, #fff, #fff6e2); box-shadow: 0 3px 0 #ecd9ad;
  font: inherit; font-weight: 800; font-size: 1.05rem; color: var(--ink, #1f2937); cursor: pointer; line-height: 1.3; transition: transform .12s, box-shadow .12s; }
.scl-c:active { transform: translateY(2px); box-shadow: 0 1px 0 #ecd9ad; }
.scl-c:disabled { cursor: default; opacity: .55; }
.scl-c.sel { opacity: 1; border-color: var(--scl-o); }
.scl-c.ok { opacity: 1; border-color: var(--scl-ok); background: linear-gradient(180deg, #f3fdf8, #d5f5e6); box-shadow: 0 3px 0 #a7e9cc; color: var(--scl-okd); }
.scl-c.ng { opacity: 1; border-color: var(--scl-ng); background: linear-gradient(180deg, #fff6f6, #ffe1e1); box-shadow: 0 3px 0 #fbb4b4; color: var(--scl-ngd); }

/* 町の 名前・はんれい */
.scl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 2px 6px; }
.scl-city-n { font-weight: 800; font-size: 1.25rem; color: #0f3b63; }
.scl-city-n.scl-hide { color: #fff; background: linear-gradient(180deg, #64748b, #475569); border-radius: 10px; padding: 0 12px; letter-spacing: .05em; }
.scl-reg { font-size: .9rem; background: #e8f1fb; color: #1e4f80; border-radius: 999px; padding: 1px 10px; }
.scl-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; color: #374151; width: 100%; }
.scl-li { display: inline-flex; align-items: center; gap: 4px; }
.scl-li i { display: inline-block; width: 16px; height: 14px; border-radius: 3px; }
.scl-k-bar { background: linear-gradient(180deg, #7cc0f2, #1d5fa8); }
.scl-k-hatch { background: repeating-linear-gradient(45deg, #dcecfa 0 3px, #3b82c4 3px 5px); border: 1px solid #3b82c4; }
.scl-k-line, .scl-k-dash { height: 0 !important; border-top: 3.5px solid var(--scl-t); border-radius: 0 !important; width: 20px !important; }
.scl-k-dash { border-top-style: dashed; }
.scl-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.scl-tag { font-weight: 800; font-size: 1.15rem; padding: 1px 12px; border-radius: 10px; }
.scl-tag.a { background: #1d5fa8; color: #fff; } .scl-tag.a rt { color: #dbeafe; }
.scl-tag.b { background: repeating-linear-gradient(45deg, #e6f1fc 0 6px, #cfe3f8 6px 12px); color: #12406d; border: 2px solid #3b82c4; }
.scl-vs { color: #6b7280; }
.scl-tabs { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; padding: 4px 0 2px; }
.scl-tab { flex: 1 0 auto; min-height: 46px; padding: 2px 12px; border: 2px solid var(--line, #e5e7eb); background: #fff; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink, #1f2937); cursor: pointer; }
.scl-tab[aria-pressed="true"] { background: #1e5b80; border-color: #1e5b80; color: #fff; }
.scl-tab[aria-pressed="true"] rt { color: #dbeafe; }

/* グラフ */
.scl-axhead { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 800; padding: 0 2px; }
.scl-axhead small { font-weight: 600; }
.scl-axl { color: var(--scl-t); } .scl-axr { color: var(--scl-r); }
.scl-plot { position: relative; border-radius: 16px; padding: 4px 0 2px; background: linear-gradient(180deg, #f7fbff, #edf4fb); box-shadow: inset 0 0 0 1px #d5e3f1, 0 4px 14px rgba(30, 91, 128, .12); }
.scl-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; overflow: visible; }
.scl-grid { stroke: #dbe5ef; stroke-width: 1; }
.scl-grid.scl-g5 { stroke: #e9eff5; stroke-dasharray: 3 3; }
.scl-zero { stroke: #64748b; stroke-width: 1.6; }
.scl-axisl { stroke: var(--scl-t); stroke-width: 3; stroke-linecap: round; }
.scl-axisr { stroke: var(--scl-r); stroke-width: 3; stroke-linecap: round; }
.scl-tk { font-size: 17px; font-weight: 700; font-family: inherit; }
.scl-tkl { fill: #b91c1c; } .scl-tkr { fill: #1d5fa8; }
.scl-mo { font-size: 16px; font-weight: 700; fill: #374151; }
.scl-sea { font-size: 12px; font-weight: 700; fill: #475569; }
.scl-bar { stroke: #134a85; stroke-width: .8; }
.scl-nop { pointer-events: none; }
.scl-barg { fill: none; stroke: #6b7280; stroke-width: 1.6; stroke-dasharray: 4 3; }
.scl-halo { fill: none; stroke: #fff; stroke-width: 7; stroke-linejoin: round; opacity: .9; }
.scl-line { fill: none; stroke: var(--scl-t); stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round; }
.scl-line.scl-dash { stroke-dasharray: 7 5; stroke: #f87171; }
.scl-line.scl-gl { stroke: #6b7280; stroke-width: 2.6; stroke-dasharray: 5 4; }
.scl-ghost .scl-halo { stroke-width: 5; }
.scl-dot { fill: #fff; stroke: var(--scl-t); stroke-width: 2.6; }
.scl-dot2 { stroke: #f87171; fill: #fff5f5; }
.scl-hit { fill: transparent; cursor: pointer; }
.scl-hit.on { fill: rgba(245, 158, 11, .14); stroke: var(--scl-o); stroke-width: 1.5; stroke-dasharray: 4 3; }
.scl-glow { fill: rgba(253, 224, 71, .45); stroke: #f59e0b; stroke-width: 2; animation: scl-pulse 1.4s ease-in-out 3; }
.scl-leadt, .scl-leadr { stroke-width: 2.6; stroke-dasharray: 6 4; }
.scl-leadt { stroke: var(--scl-t); } .scl-leadr { stroke: var(--scl-r); }
.scl-leadt.scl-l2 { stroke: #f87171; } .scl-leadr.scl-l2 { stroke: #60a5fa; }
.scl-bub rect { stroke-width: 2; }
.scl-bubt rect { fill: #fff1f1; stroke: var(--scl-t); } .scl-bubt text { fill: #b91c1c; }
.scl-bubr rect { fill: #eef6ff; stroke: var(--scl-r); } .scl-bubr text { fill: #1d5fa8; }
.scl-bub text { font-size: 16px; font-weight: 800; }
.scl-bub { animation: scl-pop .35s .3s both; }
@keyframes scl-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes scl-draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes scl-pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes scl-pulse { 0%, 100% { fill: rgba(253, 224, 71, .45); } 50% { fill: rgba(253, 224, 71, .8); } }

.scl-foot:empty { display: none; }
.scl-res { margin-top: 10px; padding: 8px 12px; border-radius: 14px; background: #fff; border: 2px solid #e5e7eb; line-height: 1.75; }
.scl-res p { margin: 4px 0; }
.scl-r .scl-m { display: inline-block; width: 28px; height: 28px; border-radius: 50%; color: #fff; text-align: center; line-height: 28px; margin-right: 6px; font-weight: 800; }
.scl-r.ok .scl-m { background: var(--scl-ok); } .scl-r.ng .scl-m { background: var(--scl-ng); }
.scl-r.ok b { color: var(--scl-okd); }
.scl-read1 b.t { color: #b91c1c; } .scl-read1 b.r { color: #1d5fa8; }
.scl-sm { font-size: .92rem; color: #4b5563; }
.scl-next { display: block; margin: 8px 0 2px auto; min-height: 48px; padding: 4px 20px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #2f86d6, #1d5fa8); color: #fff; font: inherit; font-weight: 800; box-shadow: 0 3px 0 #134a85; cursor: pointer; }
.scl-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.scl-nb { width: 56px; height: 48px; border-radius: 14px; border: 2px solid #bcd0e6; background: #fff; font-size: 1.2rem; color: #1e5b80; cursor: pointer; box-shadow: 0 3px 0 #d5e3f1; }
.scl-nl { color: #4b5563; font-size: .95rem; }
.scl-cred { text-align: right; font-size: .78rem; color: #6b7280; margin-top: 6px; line-height: 1.5; }
.scl-demo { color: #b45309; background: #fff3dc; border-radius: 6px; padding: 0 6px; }

/* guess の 地図 */
.scl-map { position: relative; margin-top: 10px; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(30, 91, 128, .18), inset 0 0 0 1px rgba(30, 91, 128, .15); background: #c3e3f3; }
.scl-msvg { display: block; width: 100%; height: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.scl-grat { fill: none; stroke: #7fb6d6; stroke-width: .6; stroke-dasharray: 3 4; opacity: .55; }
.scl-nbr { fill: #ece6d6; stroke: #b9ad92; stroke-width: .7; }
.scl-frame { fill: rgba(232, 246, 252, .7); stroke: #fff; stroke-width: 2.5; }
.scl-pref { fill: #f6eed8; stroke: none; }
.scl-ch-hokkaido { fill: #e9f3d6; } .scl-ch-tohoku { fill: #f3efd4; } .scl-ch-kanto { fill: #f8e8d2; } .scl-ch-chubu { fill: #eef2d9; }
.scl-ch-kinki { fill: #f6e5dc; } .scl-ch-chugoku { fill: #efe9d5; } .scl-ch-shikoku { fill: #f3ecd9; } .scl-ch-kyushu { fill: #f1e6d6; }
.scl-bd { fill: none; stroke: #b3a184; stroke-width: .7; stroke-dasharray: 4 2.5; }
.scl-coast { fill: none; stroke: #2f6f94; stroke-width: 1.1; stroke-linejoin: round; }
.scl-pt { cursor: pointer; outline: none; }
.scl-pthit { fill: transparent; }
.scl-pto { fill: #fff; stroke: #1e5b80; stroke-width: 5; transition: fill .2s; }
.scl-pti { fill: #1e5b80; }
.scl-pt:focus-visible .scl-pto { stroke: var(--scl-o); stroke-width: 7; }
.scl-pt.ok .scl-pto { fill: #d1fae5; stroke: var(--scl-ok); stroke-width: 7; } .scl-pt.ok .scl-pti { fill: var(--scl-okd); }
.scl-pt.ng .scl-pto { fill: #fee2e2; stroke: var(--scl-ng); stroke-width: 7; } .scl-pt.ng .scl-pti { fill: var(--scl-ngd); }
.scl-pt.hint .scl-pto { stroke: var(--scl-o); stroke-width: 8; animation: scl-hint 1s ease-in-out infinite; }
@keyframes scl-hint { 50% { stroke-width: 14; } }
.scl-mlabs { position: absolute; inset: 0; pointer-events: none; }
.scl-ml { position: absolute; transform: translate(10px, -50%); background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 0 6px; font-size: .88rem; font-weight: 800; color: #12406d; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); line-height: 1.5; }
.scl-ml.l { transform: translate(calc(-100% - 10px), -50%); }
.scl-ml rt { font-size: .55em; }
.scl-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.scl-nmb { flex: 1 1 70px; min-height: 52px; border-radius: 14px; border: 2px solid #bcd0e6; background: linear-gradient(180deg, #fff, #eef5fc); box-shadow: 0 3px 0 #cfdeee; font: inherit; font-weight: 800; color: #12406d; cursor: pointer; }
.scl-nmb.ok { border-color: var(--scl-ok); background: #d1fae5; color: var(--scl-okd); }
.scl-nmb.ng { border-color: var(--scl-ng); background: #fee2e2; color: var(--scl-ngd); }
.scl-nmb.hint { border-color: var(--scl-o); box-shadow: 0 0 0 4px rgba(245, 158, 11, .35); }
@media (prefers-reduced-motion: reduce) { .scl *, .scl *::before { animation: none !important; transition: none !important; } }
.scl-ml.u { transform: translate(-50%, calc(-100% - 14px)); }
.scl-ml.d { transform: translate(-50%, 14px); }
.scl-c small { display: block; font-size: .8rem; font-weight: 600; color: #6b7280; }
