/* 성실피아노 공부방 공통 스타일: 큰 글씨, 높은 대비 */
*{box-sizing:border-box}
html{font-size:21px;-webkit-text-size-adjust:100%}
@media (min-width:900px){html{font-size:23px}}
body{margin:0;background:#fffdf5;color:#111;font-family:"Malgun Gothic","맑은 고딕","Apple SD Gothic Neo","Noto Sans KR",sans-serif;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
a{color:#0a3d91;text-underline-offset:4px}
a:focus,summary:focus{outline:4px solid #ff9800;outline-offset:3px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#ffeb3b;padding:8px;z-index:9}
.top{background:#0b2545;color:#fff;padding:14px 16px 10px}
.brand a{color:#fff;font-size:1.35rem;font-weight:800;text-decoration:none}
.brand span{display:block;color:#ffe08a;font-size:.9rem}
.menu{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.menu a{background:#fff;color:#0b2545;padding:6px 12px;border-radius:10px;text-decoration:none;font-weight:700;font-size:.85rem;border:2px solid #fff}
.menu a[aria-current="page"]{background:#ffd23f;border-color:#ffd23f}
main{max-width:980px;margin:0 auto;padding:18px 16px 40px}
h1{font-size:1.9rem;line-height:1.35;margin:.6em 0 .4em;color:#0b2545}
h2{font-size:1.45rem;line-height:1.4;margin:1.8em 0 .5em;color:#0b2545;border-left:10px solid #ffb703;padding-left:12px}
h3{font-size:1.2rem;margin:1.4em 0 .4em;color:#7a2e00}
p,li{font-size:1rem}
b,strong{color:#000;background:linear-gradient(transparent 60%,#ffe58a 60%)}
.box{border-radius:16px;padding:16px 18px;margin:16px 0;border:3px solid}
.key{background:#fff3c4;border-color:#e0a100}
.key::before{content:"핵심 한 줄";display:block;font-weight:800;color:#7a4b00;font-size:.9rem}
.key p{font-size:1.2rem;font-weight:800;margin:.2em 0}
.like{background:#e7f3ff;border-color:#1565c0}
.like::before{content:"쉬운 비유";display:block;font-weight:800;color:#0d47a1;font-size:.9rem}
.warn{background:#ffe9e6;border-color:#c62828}
.warn::before{content:"조심하세요";display:block;font-weight:800;color:#b71c1c;font-size:.9rem}
.note{background:#eef7ee;border-color:#2e7d32}
.note::before{content:"성실피아노 메모";display:block;font-weight:800;color:#1b5e20;font-size:.9rem}
.steps{background:#fff;border:3px solid #0b2545;border-radius:16px;padding:14px 18px 14px 18px}
.steps::before{content:"단계별 따라하기";display:block;font-weight:800;color:#0b2545}
.steps ol{padding-left:1.4em;margin:.4em 0}.steps li{margin:.5em 0}
.src{background:#f1f1f1;border:2px dashed #555;border-radius:14px;padding:12px 16px;margin-top:30px}
.src::before{content:"출처 (영상 바로 가기, 시간 표시)";display:block;font-weight:800}
.src li{font-size:.95rem}
table{border-collapse:collapse;width:100%;margin:12px 0;background:#fff;font-size:1rem}
th,td{border:2px solid #333;padding:10px 12px;text-align:left;vertical-align:top}
th{background:#0b2545;color:#fff}
tr:nth-child(even) td{background:#fbf6e6}
td.num{text-align:right;font-weight:800;white-space:nowrap}
.tablewrap{overflow-x:auto}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0}
.card{display:block;background:#fff;border:3px solid #0b2545;border-radius:18px;padding:14px 16px;text-decoration:none;color:#111}
.card:hover,.card:focus{background:#fff3c4}
.card .n{display:inline-block;background:#0b2545;color:#ffd23f;font-weight:800;border-radius:10px;padding:0 10px}
.card h3{margin:.3em 0;color:#0b2545}
.card p{margin:0;font-size:.95rem}
.zone{background:#fff;border:3px solid #455a64;border-radius:16px;padding:6px 16px 10px;margin:18px 0}
.zone h3{margin-top:.6em}
.tag{display:inline-block;border:2px solid #333;border-radius:8px;padding:0 8px;font-size:.85rem;font-weight:700;margin:2px 4px 2px 0;background:#fff}
.tag.free{background:#d8f5d8}.tag.pay{background:#ffe0b2}.tag.us{background:#ffd6d6}
.hero{background:#0b2545;color:#fff;border-radius:22px;padding:20px;display:grid;gap:14px;align-items:center}
@media (min-width:760px){.hero{grid-template-columns:1.2fr 1fr}}
.hero h1{color:#fff;margin-top:0}.hero p{color:#fff}
.hero b{color:#0b2545;background:#ffd23f;padding:0 4px;border-radius:4px}
figure{margin:16px 0;text-align:center}
figure svg{max-width:100%;height:auto}
figcaption{font-size:.9rem;color:#333}
details{background:#fff;border:3px solid #0b2545;border-radius:14px;padding:10px 16px;margin:14px 0}
summary{cursor:pointer;font-weight:800;font-size:1.05rem}
details .ans{background:#e9f7e9;border-radius:10px;padding:8px 12px;margin-top:8px}
.quizq{font-weight:800}
dl.words dt{font-weight:800;font-size:1.1rem;color:#0b2545;margin-top:14px;border-top:2px solid #ccc;padding-top:10px}
dl.words dd{margin:2px 0 0 0}
.prevnext{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:34px}
.pn{background:#ffd23f;color:#000;font-weight:800;padding:10px 16px;border-radius:12px;text-decoration:none;border:3px solid #000}
.foot{background:#222;color:#fff;padding:16px;font-size:.85rem}.foot p{max-width:980px;margin:6px auto;font-size:.9rem}
.foot b{color:#000}
.big{font-size:1.3rem;font-weight:800}
kbd{border:2px solid #333;border-bottom-width:4px;border-radius:6px;padding:0 6px;background:#fff;font-family:inherit;font-weight:700}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
