.p8g{flex:1;box-sizing:border-box;font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;background:linear-gradient(160deg,#eff9fd,#fbfeff);color:#234555;padding:32px 16px 64px}.p8g *{box-sizing:border-box}.p8g .wrap{max-width:1040px;margin:auto}.p8g .eyebrow{font-size:12px;letter-spacing:.14em;color:#137d9b;font-weight:900}.p8g h1{font-size:clamp(29px,5vw,42px);margin:10px 0}.p8g .lead{font-size:17px;color:#5b7884;line-height:1.8}.p8g h2{font-size:clamp(20px,3vw,25px);margin:0 0 12px}.p8g p{font-size:15px;line-height:1.95}.p8g .hero{display:flex;justify-content:space-between;align-items:center;gap:20px}.p8g .hero-icon{background:#d9f5fc;border-radius:22px;font-size:50px;padding:15px}.p8g .button{display:inline-block;border-radius:12px;text-decoration:none;background:#078da8;color:white;padding:12px 20px;font-weight:850;box-shadow:0 4px 0 #08708b}.p8g .button:focus-visible,.p8g a:focus-visible{outline:3px solid #eaa13d;outline-offset:3px}.p8g .toc{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.p8g .toc a{border-radius:11px;background:#e0f3f8;color:#22657a;text-decoration:none;font-weight:750;padding:9px 12px;font-size:13px}.p8g .lesson{border-radius:20px;border:1px solid #d9e8ed;background:#fff;margin:19px 0;padding:25px;box-shadow:0 12px 35px #1f809713}.p8g .figures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0}.p8g .figures.three{grid-template-columns:repeat(3,minmax(0,1fr))}.p8g .figures.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}.p8g figure{margin:0;background:#f4fbfd;border:1px solid #d7eaf0;border-radius:14px;padding:12px;min-width:0}.p8g .illustration{max-width:185px;margin:0 auto}.p8g .illustration svg{display:block;width:100%;height:auto}.p8g figcaption{text-align:center;font-size:13px;line-height:1.65;margin-top:8px;display:flex;flex-direction:column;gap:4px}.p8g figcaption strong{font-size:14px}.p8g figcaption span{color:#5c7783}.p8g .note{border-radius:12px;border-left:4px solid #159cb7;background:#e9f9fc;color:#2c7185;padding:12px 16px;font-size:14px;line-height:1.85;margin:14px 0}.p8g ol,.p8g ul{line-height:2.1;padding-left:24px}.p8g .action{margin:22px 0}.p8g .small{font-size:13px;color:#6e8390}.p8g .col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
@media(max-width:650px){.p8g{padding:20px 11px 45px}.p8g .lesson{padding:16px}.p8g .hero-icon{font-size:35px;padding:10px}.p8g .figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.p8g .figures.three{grid-template-columns:repeat(2,minmax(0,1fr))}.p8g .figures.two{gap:10px}.p8g figure{padding:7px}.p8g figcaption{font-size:11px}.p8g figcaption strong{font-size:12px}.p8g .col{display:block}}
