:root{--ink:#173d36;--muted:#5d7269;--paper:#fffdf6;--line:#d9dfd3;--gold:#a88133;--mint:#e7eee4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:#f7f6ef;color:var(--ink);font:16px/1.95 system-ui,-apple-system,'Yu Gothic',Meiryo,sans-serif;line-break:strict;word-break:normal;overflow-wrap:break-word}a{color:#215f4e;text-underline-offset:5px}a:hover{text-decoration-thickness:2px}a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b78a35;outline-offset:5px}img{max-width:100%;height:auto;display:block}h1,h2,h3{line-height:1.6;text-wrap:pretty;overflow-wrap:break-word}h1{font-family:'Yu Mincho',serif;font-size:clamp(30px,4.8vw,52px);margin:15px 0 22px;font-weight:700;letter-spacing:.02em}h2{font-size:clamp(23px,3.2vw,32px);margin:14px 0 24px}h3{font-size:20px;margin:10px 0 16px}p{margin:0 0 18px}small,.small{font-size:13px;color:var(--muted)}em{font-style:normal;color:var(--gold)}header{padding:22px max(22px,calc((100vw - 1160px)/2));display:flex;justify-content:space-between;align-items:center;gap:22px;background:#fffdf8;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:Georgia,serif;font-weight:700;font-size:19px;letter-spacing:.08em}.brand img{border-radius:10px}.brand small{display:block;font:11px/1.6 system-ui,sans-serif;letter-spacing:.03em;margin-top:3px}.play,.outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:700;font-size:14px;line-height:1.7;text-align:center}.play{background:var(--ink);color:#fffbed;border:1px solid var(--ink)}.outline{border:1px solid #9cafa0;background:transparent}.guide-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:7px 24px;padding:14px 20px;background:#eef0e7;border-bottom:1px solid var(--line);font-size:13px}.guide-nav a{text-decoration:none;padding:3px}.guide-nav [aria-current]{border-bottom:2px solid var(--gold);font-weight:700}main{max-width:1160px;padding:26px 24px;margin:auto}.breadcrumbs{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px;margin-bottom:26px}.hero{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:32px;margin:36px 0 48px}.hero img{width:100%;aspect-ratio:1.1;object-fit:cover;border-radius:110px 16px 110px 16px;box-shadow:16px 16px 0 #e8e6d8}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.19em;color:#95742f}.lead{font-size:21px;line-height:1.9}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:26px}.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#e9ede2;border:1px solid var(--line);border-radius:14px;padding:26px;gap:20px;margin:36px 0 60px}.facts>div{display:grid;justify-items:center;text-align:center}.facts b{font-size:24px;font-family:Georgia,'Yu Mincho',serif}.facts span{font-size:12px;color:var(--muted)}section{margin-bottom:55px}.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.route{background:#fffdf9;border:1px solid var(--line);border-radius:14px;padding:28px}.route>small{font:30px Georgia,serif;color:var(--gold)}.route h3 a{text-decoration:none;display:block}.route p{margin:0;color:var(--muted)}.paper{max-width:900px;padding:clamp(22px,4vw,42px);border:1px solid var(--line);border-radius:16px;background:var(--paper);margin:35px auto}.paper p:last-child{margin-bottom:0}.steps li{padding:10px 0 10px 8px}.tip{background:#e9eee1;border-left:3px solid var(--gold);border-radius:3px 10px 10px 3px;padding:22px;margin:26px 0}.tip p{margin:8px 0 0}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0}.book{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}.book[hidden]{display:none}.book-image{position:relative;display:block;background:#163c38;overflow:hidden}.book-image img{width:100%;height:245px;object-fit:cover;object-position:50% 27%;filter:brightness(.85);transition:transform .2s}.book-image:hover img{transform:scale(1.02)}.book-image>span{position:absolute;bottom:12px;left:12px;right:12px;width:fit-content;max-width:calc(100% - 24px);background:#fffdf3ed;padding:3px 12px;border-radius:5px;font-size:11px;color:var(--ink)}.book>div{padding:24px}.book h3{font-family:'Yu Mincho',serif}.book h3 a{text-decoration:none}.book p{font-size:14px;line-height:1.85}.book .small{font-size:11px}.name{display:inline-block;white-space:nowrap}details{padding:20px 23px;background:#fffdf7;border:1px solid var(--line);border-radius:10px;margin:14px 0}summary{font-weight:700;cursor:pointer;line-height:1.9}details[open] summary{margin-bottom:16px}details p:last-child{margin-bottom:0}.closing{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px;background:#e7ebdf;border-radius:15px;margin:64px 0 30px}.closing h2{font-size:26px;margin:8px 0}.closing p{margin:0}.closing>a{flex-shrink:0}.updated{font-size:12px;color:var(--muted);margin:30px 0}footer{padding:30px 24px;background:#143d35;display:flex;flex-wrap:wrap;justify-content:center;gap:16px 30px;font-size:13px}footer a{color:#eee9d8}.page-intro{max-width:900px;margin:38px auto}.page-intro>p{font-size:18px;color:var(--muted);max-width:42em}.learning-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:30px auto;max-width:900px}.learning-path a{display:grid;justify-items:center;background:#e7eddf;border:1px solid #c8d3c2;border-radius:10px;padding:18px 8px;text-decoration:none}.learning-path small{font-size:10px}.learning-path b{font-size:22px}.cast-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:800px;margin:auto}.cast-strip figure{margin:0;text-align:center}.cast-strip img{width:100%;border-radius:10px;box-shadow:0 8px 20px #153d3517}.cast-strip figcaption{font-size:13px;margin:12px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;text-align:left;font-size:14px}caption{font-size:12px;text-align:left;margin:0 0 14px}th,td{padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}thead{background:#e9eee2}.story-search{padding:25px;background:#e7ece0;border-radius:12px;margin:30px 0}.story-search label{display:block;font-weight:700;margin-bottom:10px}.story-search input{width:100%;max-width:580px;padding:14px;font:inherit;border:1px solid #99ac99;border-radius:8px;background:#fffdf8}.story-search p{font-size:13px;margin:12px 0 0}.story-cast{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin:35px 0}.story-cast figure{margin:0;width:150px;text-align:center}.story-cast img{width:90px;height:90px;border-radius:50%;object-fit:cover;object-position:50% 25%;border:3px solid #c3a45b;margin:auto}.story-cast figcaption{font-size:12px;margin-top:10px;white-space:nowrap}.toc{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;margin:30px 0;font-size:13px}.novel{max-width:800px;margin:35px auto 50px;background:#fffdf5;border:1px solid #dfdac7;border-radius:14px;padding:clamp(24px,5vw,55px);font:18px/2.5 'Yu Mincho','Hiragino Mincho ProN',serif}.novel h2{font-size:22px;font-family:system-ui,sans-serif}.novel p{margin:0 0 1.3em}.novel p:last-child{margin:0}.spoiler-note{font-size:13px;color:var(--muted);max-width:800px;margin:auto}.exercise{max-width:900px;margin:22px auto;background:#fffdf7;border:1px solid var(--line);border-radius:12px;padding:28px}.exercise small{color:#8b6d2b;font-weight:700}.exercise ul{font-size:15px}.exercise .spoiler{background:#eef0e4;margin-bottom:0}.related{display:flex;flex-wrap:wrap;gap:14px 24px;margin-bottom:22px}.skip{position:absolute;top:-100px;left:20px;padding:12px;background:white;z-index:10}.skip:focus{top:10px}
@media(max-width:900px){.hero{grid-template-columns:1fr 1fr;gap:22px}.hero img{aspect-ratio:.9}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.closing{display:block}.closing>a{margin-top:20px}}
@media(max-width:620px){header{padding:16px;flex-wrap:wrap;gap:13px}.brand{font-size:16px}.brand small{font-size:10px}header .play{font-size:12px;padding:10px 14px}.guide-nav{justify-content:flex-start;gap:8px 20px;padding:15px 18px}main{padding:22px 18px}.hero{grid-template-columns:1fr;gap:28px;margin:30px 0}.hero img{aspect-ratio:1.3;border-radius:55px 12px 55px 12px;box-shadow:7px 7px 0 #e8e6d8}.hero h1{font-size:36px}.lead{font-size:19px}.facts{padding:19px 10px;gap:10px;margin:30px 0 45px}.facts b{font-size:17px}.facts span{font-size:10px}.route-grid,.book-grid{grid-template-columns:1fr;gap:18px}.route{padding:24px}.book-image img{height:280px}.book>div{padding:22px}.cast-strip{gap:12px}.cast-strip figcaption{font-size:11px}.learning-path{gap:7px}.learning-path b{font-size:18px}.learning-path small{font-size:8px}.learning-path a{padding:14px 4px}.page-intro h1{font-size:32px}.page-intro>p{font-size:16px}.closing{padding:24px}.closing>a{width:100%;font-size:13px}.story-cast{gap:12px}.story-cast figure{width:90px}.story-cast img{width:68px;height:68px}.story-cast figcaption{font-size:10px;white-space:normal}.novel{font-size:17px}.exercise{padding:22px}.exercise h3{font-size:18px}.paper{padding:23px}section{margin-bottom:42px}th,td{padding:11px 9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.book-image img{transition:none}}

.keep{white-space:nowrap;display:inline-block}

/* Temporary catalogue navigation: avoid display rules overriding hidden. */
[data-catalog-href][hidden],[data-catalog-section][hidden]{display:none!important}
header .play{margin-left:auto}
