
:root { --bg:#EEF1F3; --surface:#FFFFFF; --fg:#16212A; --muted:#5E6B76; --line:#D5DCE1; --accent:#0B5C78; --accent-ink:#FFFFFF; --accent-soft:#DCEBF1; --ok:#1B7A45; --ok-soft:#E1F2E7; --ng:#B3261E; --ng-soft:#FBE6E4; }
@media (prefers-color-scheme: dark) { :root { --bg:#0F161B; --surface:#18222A; --fg:#E6ECF0; --muted:#94A3AE; --line:#2A3842; --accent:#5FB7D6; --accent-ink:#062330; --accent-soft:#163543; --ok:#5CC98A; --ok-soft:#133524; --ng:#F08A80; --ng-soft:#3D1A17; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.75; }
.wire { height: 6px; background: linear-gradient(90deg, #1D1D1F 0 33.3%, #F7F7F5 33.3% 66.6%, #C8312B 66.6%); }
.wrap { max-width: 760px; margin: 0 auto; padding: 16px 16px 48px; }
a { color: var(--accent); }
.crumb { font-size: .85rem; color: var(--muted); }
h1 { font-size: 1.4rem; margin: 10px 0 4px; }
h2 { font-size: 1.1rem; margin: 0 0 8px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 0 10px; font-size: .85rem; }
.qcard, .ans, .plan, .rel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; }
.qimg, .plan img { width: 100%; height: auto; display: block; background: #fff; border-radius: 6px; }
.src { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.chs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ch { font: inherit; font-size: 1.3rem; font-weight: 700; padding: 12px 0; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 10px; cursor: pointer; }
.ch:hover:not(:disabled) { border-color: var(--accent); }
.ch.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.ch.ng { background: var(--ng-soft); border-color: var(--ng); color: var(--ng); }
.unk { font: inherit; font-size: .9rem; margin-top: 10px; width: 100%; padding: 8px; border: 1px dashed var(--line); background: none; color: var(--muted); border-radius: 10px; cursor: pointer; }
.big { font-size: 1.6rem; color: var(--ok); }
.res.ok { color: var(--ok); font-weight: 700; } .res.ng { color: var(--ng); font-weight: 700; }
.onotes { padding-left: 0; list-style: none; } .onotes li { padding: 4px 0; border-top: 1px solid var(--line); } .onotes li.ok b { color: var(--ok); }
.tip { background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.plan figcaption { font-weight: 700; margin-bottom: 6px; } .plan small { color: var(--muted); }
.pn { display: flex; justify-content: space-between; margin-top: 16px; }
.qlist, .plist { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 16px; list-style: none; }
.qlist li, .plist li { border-top: 1px solid var(--line); } .qlist li:first-child, .plist li:first-child { border-top: 0; }
.qlist a, .plist a { display: block; padding: 8px 0; text-decoration: none; color: var(--fg); }
.qlist .no { display: inline-block; width: 4em; color: var(--accent); font-weight: 700; }
.rel ul { margin: 0; padding-left: 1.2em; }
.bk { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.foot { margin-top: 32px; font-size: .8rem; color: var(--muted); }
