:root{--ink:#294258;--blue:#b9dcf3;--yellow:#f3df5d;--line:#d9e4e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f5f4;color:var(--ink);font-family:'Hiragino Maru Gothic ProN','Yu Gothic',sans-serif;line-height:1.9}body.reading{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #236786;outline-offset:4px}.draft{text-align:center;background:#fff4cc;font-size:12px;padding:5px}.book{max-width:880px;margin:auto;background:white}.book-nav{display:flex;justify-content:space-between;gap:12px;padding:18px 28px;border-bottom:1px solid var(--line);font-size:12px}.book-nav a{text-decoration:none}.cover{padding:56px 64px 40px}.eyebrow{font-size:12px;letter-spacing:.13em;color:#527582;font-weight:bold}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,5.5vw,52px);line-height:1.55;font-weight:600;letter-spacing:.04em}mark{background:linear-gradient(transparent 55%,var(--yellow) 55%);color:inherit}p{margin-top:18px}.cover>img{width:100%;max-height:180px;object-fit:contain;margin:28px auto 10px}.conversation{margin:24px 0 30px}.conversation strong{display:block;background:var(--yellow);border-radius:18px 18px 18px 0;padding:12px 22px;max-width:76%;font-weight:500}.conversation p{background:var(--blue);border-radius:18px 18px 0 18px;padding:20px 24px;margin:12px 0 0 12%;font-size:15px}.button{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 24px;background:#2c5d75;color:white;border-radius:14px;text-decoration:none;min-height:52px}.contents,.consult{padding:30px 64px 50px}.contents h2,.consult h2{font-size:26px;line-height:1.6}.contents>p{font-size:14px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}.card{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 5px 0 #eef4f5;background:#fff}.card:hover{border-color:#6591a3}.card.wide{grid-column:1/-1;background:#fffdf0}.card-top{font-size:11px;color:#55727d;min-height:40px}.card img{width:100%;height:130px;object-fit:contain;mix-blend-mode:multiply}.card.wide img{height:200px}.card h3{font-size:19px;margin:14px 0}.card-open{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:auto}.card-open b{display:grid;place-items:center;border:1px solid #7397a2;border-radius:50%;width:30px;height:30px;font-size:22px}.consult{background:#eff8fc}.consult p{margin-bottom:24px}.edition{text-align:center;font-size:10px;letter-spacing:.12em;padding:28px;margin:0}.skip{position:absolute;left:-999px}.skip:focus{left:10px;top:30px;z-index:9;background:white}dialog{padding:0;border:0;border-radius:22px;width:min(880px,94vw);max-height:92dvh;color:var(--ink);background:white}dialog::backdrop{background:#183744aa}.reader-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:12px 24px;background:#fff;border-bottom:1px solid var(--line);font-size:11px}.reader-bar button{border:1px solid var(--line);border-radius:30px;background:white;min-height:44px;padding:6px 18px}.chapter{padding:36px 64px 48px}.chapter h1{font-size:34px}.chapter-lead{font-size:21px;line-height:1.7}.chapter-art{margin:24px auto;max-width:480px;background:#fffdf2;border-radius:24px;padding:20px}.chapter-art img{width:100%;max-height:240px;object-fit:contain;mix-blend-mode:multiply}.chapter-toc{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}.chapter-toc a{font-size:12px;padding:7px 12px;background:#eef6fa;border-radius:20px;text-decoration:none}.chapter section{scroll-margin-top:85px;padding:28px 0;border-top:1px solid var(--line)}.section-number{font-size:12px;color:#63848b}.chapter h2{font-size:23px;line-height:1.65}.chapter p{font-size:16px}.memo{padding:24px;background:#fff9df;border-radius:18px;margin-top:24px}.memo h2{font-size:18px}.memo p{font-size:14px}.review{padding:18px;border:1px dashed #bd984c;background:#fffaf0;font-size:13px;margin-top:20px}.review ul{padding-left:20px}.chapter-next{display:grid;gap:20px;margin-top:28px}.text-link{text-align:center;min-height:44px}.form-slot{border:2px dashed var(--line);padding:30px;margin-top:28px}@media(max-width:600px){.cover{padding:30px 24px}.contents,.consult{padding:28px 24px}.book-nav{padding:14px 20px}.cards{gap:12px}.card{padding:14px;border-radius:16px}.card h3{font-size:16px}.card img{height:100px}.card.wide img{height:170px}.chapter{padding:28px 24px}.chapter h1{font-size:28px}.chapter h2{font-size:21px}.chapter p{font-size:15px}dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.reader-bar{padding:10px 16px}.reader-bar span{font-size:10px}.conversation p{margin-left:6%;padding:16px}.chapter-lead{font-size:19px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
