@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600&display=swap');
:root{--paper:#f6f5ef;--ink:#203a35;--muted:#68756b;--line:#d6dcd2;--green:#234e41;--accent:#d4e58b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:14px}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{transition:background .2s,transform .2s}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:transparent;color:inherit}button:hover,.primary:hover{filter:brightness(.92)}button:focus-visible,a:focus-visible{outline:3px solid #b98136;outline-offset:4px}header{height:100px;max-width:1320px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;gap:12px;align-items:center;font-size:34px}.brand span{font-size:17px;font-weight:600}.brand small{display:block;font-size:8px;letter-spacing:1.4px;margin-top:5px}nav{display:flex;align-items:center;gap:30px;font-size:12px}.outline{border:1px solid var(--line);padding:12px 18px;border-radius:5px}.hero{max-width:1320px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;padding:55px 5% 65px;gap:45px;min-height:650px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;margin:0 0 25px}.hero h1{font-family:'Noto Serif JP',serif;font-weight:500;font-size:clamp(34px,4vw,54px);line-height:1.65;letter-spacing:.03em;margin:15px 0 22px}.hero em{font-style:normal;background:linear-gradient(transparent 73%,#dce5c5 73%)}.lead{color:var(--muted);line-height:2.2;font-size:14px}.actions{display:flex;align-items:center;gap:25px;margin-top:30px}.primary{background:var(--green);color:white;padding:17px 22px;border-radius:4px;display:inline-flex;justify-content:space-between;gap:35px;font-weight:500}.textlink{font-size:12px;padding:12px 0;display:inline-block;border-bottom:1px solid var(--line)}.micro{font-size:10px;color:var(--muted);line-height:1.9}.hero-art{position:relative;background:#e5e9da;border-radius:100px 4px 4px 4px;display:grid;place-items:center;min-height:495px;overflow:hidden}.art-label{position:absolute;top:25px;right:25px;font-size:9px;letter-spacing:2px}.orbit{width:380px;height:380px;border:1px solid #c2cbb3;border-radius:50%;position:absolute}.orbit:after{content:'';position:absolute;inset:60px -40px;border:1px solid #c2cbb3;border-radius:50%;transform:rotate(-35deg)}.book-object{width:265px;height:370px;background:#26483d;color:#eeeedd;transform:rotate(-9deg);padding:30px;box-shadow:12px 18px 0 #b8c3ad,20px 30px 35px #526b3d33;position:relative;border-left:8px solid #193b30}.book-top{font-size:15px;letter-spacing:2px}.book-top span{font-size:10px}.book-rule{height:1px;background:#82927d;margin:20px 0}.book-title{font-family:'Noto Serif JP',serif;font-size:30px;line-height:1.6;letter-spacing:3px}.formula{font-family:serif;font-size:55px;color:#bccc9b;line-height:1}.formula span{font-size:25px;font-style:italic}.book-bottom{font-size:8px;line-height:2;margin-top:15px;letter-spacing:1px}.paper-tag{background:#f6f3dd;position:absolute;right:15px;bottom:55px;padding:20px;transform:rotate(7deg);font-family:'Noto Serif JP',serif;font-size:17px;box-shadow:0 5px 18px #354c3420}.art-number{position:absolute;bottom:22px;left:25px;font-family:serif;font-size:20px}.facts{max-width:1188px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:35px 0}.facts>div{padding:0 25px;border-right:1px solid var(--line)}.facts>div:last-child{border:0}.facts strong{font-family:serif;font-size:34px;font-weight:400}.facts strong span{font-size:13px;margin-left:8px}.facts p{font-size:10px;color:var(--muted)}.approach{max-width:1188px;margin:90px auto;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:0 25px}h2{font-family:'Noto Serif JP',serif;font-size:29px;font-weight:500;line-height:1.7}.approach p,.product p{color:var(--muted);line-height:2}.approach ol{margin:0;padding:0;list-style:none}.approach li{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:15px 0}.approach li>span{font-family:serif;font-size:22px;color:#87967b;padding-top:10px}.approach h3{font-size:15px;font-weight:500}.approach li p{font-size:12px}.product{background:#e9eddf;display:grid;grid-template-columns:1fr 1fr;gap:90px;padding:70px max(6%,calc((100vw - 1100px)/2));align-items:center}.product-preview{height:400px;overflow:hidden;position:relative;text-align:center}.product-preview img{width:280px;box-shadow:0 8px 25px #2b493729;transform:rotate(-3deg);margin-top:10px}.product-preview span{position:absolute;bottom:10px;left:calc(50% - 60px);background:var(--green);color:white;padding:7px 15px;font-size:10px}.price{font-family:serif;font-size:40px;margin-top:25px}.price small{font-family:sans-serif;font-size:11px}.format{font-size:11px}.wide{width:100%;justify-content:space-between}.faq{max-width:1000px;margin:80px auto;padding:0 30px}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer}.faq details p{font-size:12px;line-height:2;color:var(--muted)}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:30px 5%;font-size:12px}footer small{font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);padding:45px;max-width:500px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#14251dbb}dialog p{line-height:2}#close-dialog{position:absolute;right:15px;top:10px;font-size:24px}[hidden]{display:none!important}body.studying>header,body.studying>footer,body.studying>#store{display:none}#study{height:100dvh;display:flex;flex-direction:column}.study-head{height:65px;display:flex;justify-content:space-between;align-items:center;padding:12px 25px;border-bottom:1px solid var(--line);gap:12px}.study-head strong{max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.file-label{cursor:pointer;font-size:12px}.study-toolbar{padding:10px 20px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px;flex-wrap:wrap}.study-toolbar>div{display:flex;align-items:center;gap:6px}.study-toolbar button{padding:8px;border-radius:4px;font-size:12px}.selected{background:var(--green);color:white}.study-toolbar input[type=number]{width:50px;padding:7px;border:1px solid var(--line);background:white}.study-toolbar input[type=color]{width:27px;height:27px;padding:0;border:0}.study-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px}#paper-area{overflow:auto;background:#e4e7e0;padding:30px;text-align:center}#paper{position:relative;display:inline-block;background:white;box-shadow:0 6px 25px #253d3820;line-height:0}#pdf-canvas{display:block}#ink{position:absolute;inset:0;touch-action:none}#ink.browse{pointer-events:none}aside{padding:25px 23px;overflow:auto;background:#fafaf5;border-left:1px solid var(--line)}aside h2{font-size:20px}aside .eyebrow{font-size:9px;margin-bottom:15px}.aside-caption,aside label{font-size:11px;display:block;margin:20px 0 10px}select,textarea{font:inherit;color:var(--ink);width:100%;border:1px solid var(--line);background:white;border-radius:4px;padding:10px}textarea{height:185px;resize:vertical;font-size:12px;line-height:1.9}#save-status{font-size:10px;color:var(--muted)}.timer{border-block:1px solid var(--line);margin:25px 0;padding:15px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timer span{font-size:10px;width:100%}.timer strong{font-size:24px;margin-right:auto;font-family:monospace}.timer button{font-size:11px}#review-list button{display:block;font-size:11px;margin:8px 0;text-decoration:underline}#load-status{font-size:12px}
@media(max-width:760px){header{height:80px;padding:0 20px}.brand span{font-size:13px}.brand small{font-size:6px}nav>a{display:none}nav{gap:0}nav button{font-size:10px;padding:10px}.hero{grid-template-columns:1fr;padding:30px 25px;gap:25px}.hero h1{font-size:36px}.hero-art{min-height:410px}.book-object{transform:rotate(-7deg) scale(.86)}.facts{margin:20px;grid-template-columns:1fr 1fr;gap:25px}.facts>div:nth-child(2){border:0}.approach{grid-template-columns:1fr;gap:20px;margin:60px auto}.product{grid-template-columns:1fr;gap:30px;padding:40px 25px}.product-preview{height:290px}.product-preview img{width:220px}h2{font-size:25px}footer{flex-direction:column}.study-grid{grid-template-columns:1fr;overflow:auto;display:block}#paper-area{height:65dvh;padding:15px}aside{border:0;overflow:visible}.study-head{padding:10px;font-size:11px}.study-toolbar{padding:7px}.study-toolbar button{padding:6px;font-size:11px}.study-head .outline{padding:8px}.actions{gap:15px}.primary{font-size:12px;padding:16px}dialog{padding:30px;max-width:92vw}}

.sample-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 20px;background:#e9eddf;font-size:11px}.sample-nav button{padding:5px 8px;border-bottom:1px solid #9eaf91}.sample-nav small{color:#68756b;font-size:10px}

.mobile-tabs{display:none}
@media(max-width:760px){
body{font-size:14px}button,.file-label{min-height:44px}.hero .eyebrow{font-size:9px;letter-spacing:1.2px}.hero-art{min-height:365px}.hero h1{font-size:34px}.actions{align-items:stretch}.hero .primary{align-items:center}.study-head{height:60px;flex-shrink:0}.study-head strong{font-size:10px;max-width:43%}.study-head>button{font-size:11px;padding:0}.study-head .file-label{display:flex;align-items:center;font-size:11px}.sample-nav{flex-wrap:nowrap;overflow-x:auto;flex-shrink:0;padding:3px 10px;gap:5px;scrollbar-width:none}.sample-nav>*{white-space:nowrap;flex-shrink:0}.sample-nav>small{display:none}.sample-nav>span{font-size:10px}.sample-nav button{min-height:40px;font-size:11px}.study-toolbar{display:grid;grid-template-columns:1fr auto;gap:3px 7px;padding:4px 10px;flex-shrink:0}.study-toolbar>div:nth-child(2){grid-column:1 / -1;grid-row:2;justify-content:space-between;border-top:1px solid var(--line)}.study-toolbar>div:nth-child(3){grid-column:2;grid-row:1}.study-toolbar>div:first-child{gap:3px;font-size:10px}.study-toolbar button{min-width:36px;min-height:42px;padding:5px;font-size:12px}.study-toolbar #page{width:40px;font-size:16px;padding:5px}.study-toolbar #color{width:32px;height:32px}.study-toolbar #zoom{font-size:10px}.mobile-tabs{display:flex;flex-shrink:0;background:#fafaf5;border-bottom:1px solid var(--line);padding:0 12px}.mobile-tabs button{flex:1;font-size:12px;border-bottom:3px solid transparent;color:var(--muted)}.mobile-tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.study-grid{display:block;overflow:hidden;position:relative}.study-grid #paper-area{height:100%;padding:15px 10px 35px;overscroll-behavior:contain}.study-grid aside{display:none;height:100%;overflow-y:auto;padding:20px 24px 50px}.notes-open .study-grid #paper-area{display:none}.notes-open .study-grid aside{display:block}.notes-open .study-toolbar{display:none}textarea,select{font-size:16px}aside textarea{height:210px}.timer button{min-width:60px}#study{height:100dvh}.facts strong{font-size:30px}.facts p{line-height:1.8}.product .price{font-size:36px}.faq{padding:0 22px}.faq summary{line-height:1.8;padding-right:10px}dialog{padding:28px 22px}dialog h2{font-size:22px}}

.real-cover{position:relative;width:270px;max-width:66%;height:auto;transform:rotate(-7deg);box-shadow:10px 13px 0 #b8c3ad,20px 26px 35px #526b3d33}.hero-art .paper-tag{bottom:30px;right:8px;font-size:15px}

.hero-copy,.hero-art{min-width:0}.hero-art{height:520px;min-height:0}.book-object{flex-shrink:0}.book-title{font-size:28px;letter-spacing:2px}@media(max-width:760px){.hero-art{height:410px;min-height:0}.hero{overflow:hidden}}

.study-head{height:auto;min-height:65px;flex-shrink:0}.study-head strong{margin-right:auto}.study-head #fullscreen{display:flex;align-items:center;gap:8px;white-space:nowrap;background:#e9eddf;border-color:#bdcdb7}.study-toolbar{gap:12px;padding:12px 18px;background:#fafbf7;align-items:center}.study-toolbar>div{gap:5px}.study-toolbar [data-tool],.study-toolbar #undo,.study-toolbar #redo,.study-toolbar #clear{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-width:53px;min-height:58px;border:1px solid transparent;border-radius:9px;font-size:10px}.study-toolbar button.selected{background:#234e41;box-shadow:0 2px 6px #234e4130;border-color:#234e41}.study-toolbar button:not(.selected):not(:disabled):hover{background:#e9eddf}.study-toolbar button:disabled{opacity:.3;cursor:default}.study-toolbar #clear{color:#a54332}.study-toolbar #undo{border-left:1px solid #d6dcd2;border-radius:0 8px 8px 0;margin-left:5px}#tool-status{padding:7px 22px;font-size:11px;background:#edf2e6;color:#3c5b48;border-bottom:1px solid #d6dcd2;flex-shrink:0}#study:fullscreen{background:var(--paper);width:100vw;height:100dvh}.pdf-fullscreen{position:fixed;inset:0;z-index:1000;background:var(--paper)}.pdf-fullscreen .study-grid{grid-template-columns:minmax(0,1fr)}.pdf-fullscreen aside,.pdf-fullscreen .sample-nav,.pdf-fullscreen .mobile-tabs{display:none!important}.pdf-fullscreen #paper-area{display:block!important;height:100%}.pdf-fullscreen .study-head #fullscreen{background:#234e41;color:white}.pdf-fullscreen .study-head #back,.pdf-fullscreen .study-head .file-label{display:none}.pdf-fullscreen .study-toolbar{display:flex}.pdf-fullscreen #paper{margin:0 auto}
@media(max-width:760px){.study-head{padding:8px;gap:8px;flex-wrap:wrap}.study-head strong{font-size:10px;max-width:40%}.study-head #fullscreen{font-size:10px;min-height:40px;padding:7px;gap:4px}.study-head .file-label{padding:5px;font-size:10px}.study-head #back{font-size:10px}.study-toolbar{padding:5px 8px;gap:2px}.study-toolbar>div:nth-child(2){overflow-x:auto;justify-content:flex-start;gap:3px;padding-top:4px}.study-toolbar [data-tool],.study-toolbar #undo,.study-toolbar #redo,.study-toolbar #clear{flex:0 0 43px;min-width:43px;min-height:53px;font-size:9px;padding:4px 2px}.study-toolbar #color{flex:0 0 25px;width:25px;height:30px}.study-toolbar #undo{margin-left:0}#tool-status{font-size:10px;padding:5px 10px}.pdf-fullscreen .study-toolbar{display:grid}.pdf-fullscreen .study-head strong{max-width:65%}}

.header-zoom{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;height:36px;padding:0 4px;background:#fff}.header-zoom button{min-width:30px;min-height:32px;font-size:18px}.header-zoom span{min-width:38px;text-align:center;font-size:11px}.study-head{min-height:52px;padding:6px 16px}.study-head #fullscreen{padding:8px 12px;min-height:36px}.study-toolbar{padding:5px 16px}.study-toolbar [data-tool],.study-toolbar #undo,.study-toolbar #redo,.study-toolbar #clear{min-height:47px;gap:3px}.sample-nav{padding-block:3px}#tool-status{padding-block:3px}
@media(max-width:760px){.study-head{flex-wrap:nowrap;gap:5px;padding:5px 8px;min-height:48px}.study-head strong{display:none}.study-head #back{margin-right:auto}.header-zoom{gap:0;height:34px}.header-zoom button{min-width:26px;min-height:32px}.header-zoom span{min-width:33px;font-size:10px}.study-head #fullscreen{padding:5px 7px;min-height:34px}.study-head #fullscreen svg{width:16px;height:16px}.study-head .file-label{min-height:34px}.study-toolbar,.pdf-fullscreen .study-toolbar{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:3px 6px;gap:5px}.study-toolbar>div:first-child{flex-shrink:0;gap:0}.study-toolbar>div:nth-child(2){border:0;padding-top:0;overflow:visible;gap:0;flex-shrink:0}.study-toolbar>div:first-child #count{max-width:62px;line-height:1.3;font-size:9px}.study-toolbar>div:first-child button{min-width:26px}.study-toolbar [data-tool],.study-toolbar #undo,.study-toolbar #redo,.study-toolbar #clear{min-height:44px;min-width:39px;flex-basis:39px;font-size:8px}.study-toolbar #page{width:32px;padding:3px}.study-toolbar [data-tool] svg,.study-toolbar #undo svg,.study-toolbar #redo svg,.study-toolbar #clear svg{width:19px;height:19px}.mobile-tabs button{min-height:36px}.sample-nav button{min-height:32px}#tool-status{padding:3px 9px;font-size:9px}.pdf-fullscreen .study-head{justify-content:space-between}.pdf-fullscreen .study-head strong{display:block;max-width:35%;margin-right:0}.pdf-fullscreen .header-zoom{margin-left:auto}}

#toggle-tools{display:none}
@media(max-width:760px){#toggle-tools{display:block;margin-left:auto;border:1px solid #b8c9b0;border-radius:6px;background:#edf2e6;padding:5px 12px;min-height:34px;font-size:11px;white-space:nowrap}.study-toolbar,.pdf-fullscreen .study-toolbar{flex-wrap:wrap;overflow:visible;justify-content:space-between}.study-toolbar #drawing-tools{display:none;flex-basis:100%;width:100%;justify-content:center;border-top:1px solid var(--line);padding-top:4px}.tools-open .study-toolbar #drawing-tools{display:flex;overflow-x:auto}.study-toolbar>div:first-child #count{max-width:none;font-size:10px}#tool-status{display:none}.tools-open #tool-status{display:block}.study-toolbar>div:first-child{gap:5px}.study-toolbar #page{width:38px}.study-toolbar{padding:4px 10px}.study-toolbar [data-tool],.study-toolbar #undo,.study-toolbar #redo,.study-toolbar #clear{min-width:43px;flex-basis:43px;font-size:9px;min-height:48px}}
@media(min-width:601px){#toggle-tools{display:none!important}.study-toolbar #drawing-tools{display:flex!important;width:auto;flex-basis:auto;border:0;padding-top:0}#tool-status{display:block}}

.study-grid{grid-template-columns:minmax(0,1fr)}.study-grid aside{display:none}.notes-open .study-grid{grid-template-columns:minmax(0,1fr) 300px}.notes-open .study-grid aside{display:block}#toggle-notes{font-size:11px;padding:9px 12px;min-height:36px;border-radius:7px}.pdf-fullscreen #toggle-notes{display:none}.pdf-fullscreen.notes-open .study-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){#toggle-notes{display:none}.notes-open .study-grid{display:block}.study-grid aside{display:none}.notes-open .study-grid aside{display:block}}

/* Actual front cover, framed as a book without cropping its typography. */
.hero-art{background:radial-gradient(ellipse at 60% 30%,#f4f2e8 0%,#e5e9da 75%)}
.book-object.book-cover{width:min(270px,70%);height:auto;padding:0;border:0;background:#f8f5e9;transform:rotate(-7deg);box-shadow:3px 3px 0 #f3eedf,6px 6px 0 #d6d2c4,9px 9px 0 #eee8d7,18px 24px 30px #263e342b}
.book-cover img{display:block;width:100%;height:auto}
.book-cover:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#00000018,transparent 2%,#ffffff35 3%,transparent 5%);box-shadow:inset 0 0 0 1px #0000000a}
.hero-art .paper-tag{right:18px;bottom:20px;padding:12px 16px;font-size:13px;transform:rotate(4deg)}
.art-label{font-size:8px;letter-spacing:1.5px;right:20px}
@media(max-width:760px){.book-object.book-cover{width:min(240px,70%);transform:rotate(-6deg)}.hero-art .paper-tag{right:12px;bottom:15px;font-size:11px;padding:10px 13px}.art-label{font-size:7px;letter-spacing:1px;right:15px;top:20px}.art-number{font-size:16px;left:18px;bottom:18px}}

@media(max-width:760px){.hero-art .paper-tag{display:none}}

/* Pencil and touch are routed separately; gestures are handled within the page. */
#paper-area{touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}#ink.browse{pointer-events:auto}#paper.pinching{will-change:width}
#finger-draw{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:75px;min-height:47px;font-size:10px;border:1px solid #bdcdb7;border-radius:8px;margin-inline:4px;background:#edf2e6;white-space:nowrap}
#finger-draw[aria-pressed=true]{background:#234e41;color:white}.eraser-options{display:flex;align-items:center;gap:8px;padding:7px 18px;background:#f4f5ec;border-bottom:1px solid var(--line);flex-shrink:0;font-size:11px}.eraser-options button{border:1px solid #c8d1c0;border-radius:6px;padding:8px 12px}.eraser-options select{width:auto;padding:6px 24px 6px 9px;font-size:12px}.eraser-options small{color:var(--muted);margin-left:auto;font-size:10px}
@media(max-width:760px){#finger-draw{min-width:72px;flex:0 0 72px;font-size:9px}.study-toolbar #drawing-tools{justify-content:flex-start!important;overflow-x:auto!important}.eraser-options{gap:5px;padding:5px 8px;flex-wrap:wrap}.eraser-options button{min-height:36px;padding:6px 9px}.eraser-options small{display:none}.eraser-options select{font-size:16px}.eraser-options>span{display:none}}
@media(max-width:600px){#study:not(.tools-open) .eraser-options{display:none}}
@media(max-width:760px){.notes-open .eraser-options{display:none}}
/* Focused reader and independent page surfaces. */
body.studying{overflow:hidden;overscroll-behavior:none}#study{position:fixed;inset:0;z-index:100;height:100dvh;background:var(--paper);overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#study input,#study textarea{user-select:text;-webkit-user-select:text}#reader-controls{flex:0 0 auto;z-index:2;background:var(--paper)}
#paper{display:flex;position:relative;gap:8px;line-height:0;background:transparent;box-shadow:none;margin:0 auto;flex-shrink:0;transform-origin:center center}#paper-area{padding:32px 16px 24px;touch-action:none;overflow:auto;overscroll-behavior:none;overflow-anchor:none;scrollbar-width:thin;-webkit-touch-callout:none}.page-sheet{position:relative;flex:none;line-height:0;background:white;box-shadow:0 3px 18px #203a351c;contain:layout style}.page-sheet canvas{display:block;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.ink-layer,.draft-layer{position:absolute;inset:0}.ink-layer{pointer-events:none}.draft-layer{touch-action:none;cursor:crosshair}.page-badge{position:absolute;top:-23px;left:0;font-size:10px;line-height:1;min-height:20px;padding:4px 8px;border-radius:4px;color:#6c796e;background:#e6ebdf}.page-badge[aria-pressed=true]{background:#234e41;color:#fff}.page-sheet.rendering{opacity:.55;pointer-events:none}.spread-view .page-sheet:first-child:after{content:'';position:absolute;inset:0 0 0 auto;width:9px;background:linear-gradient(90deg,transparent,#1a2a2114);pointer-events:none}.spread-view .page-sheet:last-child:before{content:'';position:absolute;z-index:1;inset:0 auto 0 0;width:9px;background:linear-gradient(90deg,#1a2a2110,transparent);pointer-events:none}.drag-turn{will-change:transform}
.reader-navigation{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:6px 18px;min-height:43px;background:#f7f8f2;font-size:11px}.reader-navigation button{border:1px solid #c4cebe;border-radius:6px;padding:7px 10px;white-space:nowrap;min-height:30px}.reader-navigation #spread[aria-pressed=true]{background:#234e41;color:#fff}.reader-navigation input[type=range]{flex:1;min-width:45px;accent-color:#234e41;cursor:pointer;touch-action:pan-y;height:24px}.reader-navigation output{min-width:70px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pen-options{display:flex;gap:12px;align-items:center;padding:5px 18px;border-bottom:1px solid var(--line);font-size:11px;min-height:38px;background:#f4f5ec}.pen-options input{width:170px;accent-color:#234e41}.pen-options output{min-width:24px;font-variant-numeric:tabular-nums}.pen-options small{color:var(--muted)}#width-preview{display:inline-block;width:30px;border-radius:9px;background:#234e41;max-height:16px}#focus-menu{display:none}
#study.pdf-fullscreen{z-index:1000;background:#dfe3dc}#study.pdf-fullscreen #reader-controls{display:none}#study.pdf-fullscreen .study-grid{height:100%;display:flex;overflow:hidden}#study.pdf-fullscreen #paper-area{flex:1;display:flex!important;align-items:flex-start;justify-content:flex-start;padding:14px 16px;height:100%;width:100%;min-width:0}#study.pdf-fullscreen #paper{margin:auto}#study.pdf-fullscreen .page-badge{display:none}#study.pdf-fullscreen #focus-menu{display:flex;align-items:center;justify-content:center;position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:42px;height:42px;min-height:42px;border:1px solid #ffffffa0;border-radius:50%;background:#f7f8f0df;color:#29483d;box-shadow:0 3px 14px #203a3526;z-index:1010;font-size:25px;padding:0;touch-action:manipulation}
#study.pdf-fullscreen.focus-tools-open #reader-controls{display:block;position:absolute;z-index:1005;top:max(8px,env(safe-area-inset-top));right:8px;width:min(800px,calc(100% - 16px));max-height:70dvh;overflow-y:auto;overscroll-behavior:contain;padding:48px 7px 7px;border:1px solid #c3cdbb;border-radius:18px;background:#fafbf6;box-shadow:0 10px 45px #203a3540}#study.pdf-fullscreen .study-head{padding:5px 7px;justify-content:flex-end;flex-wrap:wrap}#study.pdf-fullscreen .study-head strong{display:none}#study.pdf-fullscreen .study-toolbar{display:flex;flex-wrap:wrap;gap:6px}#study.pdf-fullscreen #drawing-tools{display:flex!important;flex-basis:auto;width:auto;border:0}#study.pdf-fullscreen #toggle-tools{display:none!important}#study.pdf-fullscreen #tool-status{display:block;font-size:10px;line-height:1.7}#study.pdf-fullscreen.focus-tools-open .eraser-options:not([hidden]),#study.pdf-fullscreen.focus-tools-open .pen-options:not([hidden]){display:flex}#study.pdf-fullscreen .reader-navigation{border:0;padding-inline:6px}#study.pdf-fullscreen #fullscreen{background:#234e41;color:white}#study.pdf-fullscreen .sample-nav,#study.pdf-fullscreen .mobile-tabs{display:none!important}
@media(max-width:760px){.reader-navigation{gap:7px;padding:4px 10px;font-size:10px}.reader-navigation button{font-size:10px;min-height:32px;padding:5px 7px}.reader-navigation output{min-width:52px}.pen-options{gap:7px;padding:4px 10px}.pen-options input{width:135px}.pen-options small{display:none}.study-grid #paper-area{padding:28px 12px 24px}.page-badge{min-height:20px}.notes-open .pen-options{display:none}#study.pdf-fullscreen .study-head #fullscreen{font-size:11px}#study.pdf-fullscreen #drawing-tools{max-width:100%;overflow-x:auto!important}#study.pdf-fullscreen .reader-navigation{gap:5px}}
@media(max-width:600px){#study:not(.tools-open):not(.pdf-fullscreen) .pen-options{display:none}}
@media(prefers-reduced-motion:reduce){#paper{transform:none!important}}

.download-card{display:flex;gap:15px;margin:20px 0 25px;padding:18px;border:1px solid #bdc9b3;border-radius:10px;background:#f4f6ea}.download-mark{font-size:30px;font-family:serif;line-height:1.2}.download-card strong{font-size:14px}.download-card p{font-size:12px;margin:8px 0;line-height:1.9}.download-card small{font-size:10px;color:#52604d;line-height:1.8;display:block}.sample-actions{display:flex;gap:22px;flex-wrap:wrap}.download-icon{display:flex;align-items:center;justify-content:center}.close-modal{position:absolute;right:14px;top:10px;font-size:25px;min-width:36px;min-height:36px}#download-dialog{width:min(550px,calc(100vw - 28px));max-width:550px;max-height:calc(100dvh - 30px);overflow:auto;padding:30px;border-radius:16px;line-height:1.8;user-select:text;-webkit-user-select:text}#download-dialog h2{font-size:23px;margin:10px 0}#download-dialog>p{font-size:12px}#download-dialog .eyebrow{font-size:9px;margin-bottom:10px}.download-terms{padding:16px 18px;background:#edf1e4;border-radius:9px;margin:20px 0;font-size:12px}.download-terms p{font-size:11px;line-height:1.9;margin:10px 0}.download-terms>strong{font-size:13px}#download-dialog .micro{font-size:10px}#download-dialog::backdrop{background:#172c24b3}.reader-navigation .download-icon{padding:5px 8px;min-width:32px;flex-shrink:0}
@media(max-width:600px){#download-dialog{padding:26px 20px}#download-dialog h2{font-size:20px}.download-card{padding:14px}.sample-actions{gap:15px}}
/* Purchase-complete preview: no payment state or entitlement is created. */
.demo-ribbon{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px 24px;background:#e9e6d6;border-bottom:1px solid #d8d4c2;color:#665b36;font-size:11px}.demo-ribbon strong{border:1px solid #b1a577;border-radius:20px;padding:3px 10px;font-size:10px}.demo-ribbon a{margin-left:auto;text-decoration:underline}.purchase-demo header{height:88px;max-width:1100px;padding:0 24px}.demo-library{font-size:9px;letter-spacing:2px;color:var(--muted)}.demo-main{max-width:1020px;margin:35px auto 70px;padding:0 24px}.demo-welcome{display:flex;align-items:center;gap:24px;margin-bottom:35px}.demo-check{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;border-radius:50%;background:#234e41;color:#e1edc8;font-size:28px}.demo-welcome .eyebrow{margin:0 0 12px;font-size:9px}.demo-welcome h1{font-family:'Noto Serif JP',serif;font-weight:500;font-size:33px;margin:0 0 12px;line-height:1.6}.demo-welcome p{font-size:12px;color:var(--muted);line-height:1.9}.demo-book{display:grid;grid-template-columns:260px 1fr;gap:40px;padding:32px;background:#fffef9;border:1px solid #d3dacf;border-radius:18px;box-shadow:0 12px 30px #243d3308}.demo-cover{display:grid;place-items:center;background:#e8ecdf;border-radius:9px;padding:24px}.demo-cover img{width:180px;max-width:100%;height:auto;transform:rotate(-4deg);box-shadow:3px 4px 0 #ddd7c8,9px 14px 20px #30433325}.demo-pill{display:inline-block;padding:4px 10px;border:1px solid #d4cba9;border-radius:5px;color:#7e7044;background:#f6f2e4;font-size:10px}.demo-book h2{margin:12px 0 4px;font-size:28px}.demo-book-info>p{font-size:12px;color:var(--muted)}.demo-specs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.demo-specs span{font-size:10px;background:#eef1e8;padding:5px 9px;border-radius:5px}.demo-payment{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding:14px 0 18px}.demo-payment>span{font-size:10px;color:var(--muted)}.demo-payment strong{font-family:serif;font-size:24px;font-weight:400}.demo-payment small{font-family:sans-serif;font-size:10px}.demo-ctas{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.demo-ctas>*{min-height:50px;align-items:center;font-size:12px;display:flex;justify-content:space-between;padding:14px 18px;border-radius:6px}.demo-ctas .outline{background:#fafcf6;border-color:#b5c5ac}.demo-book-info .demo-disclosure{font-size:10px;line-height:1.9;margin:15px 0 0;color:#7a704d}.demo-ways{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:32px 0}.demo-ways article{padding:23px 25px;border:1px solid var(--line);border-radius:10px}.demo-ways .eyebrow{font-size:9px}.demo-ways h3,.demo-usage h3{font-family:'Noto Serif JP',serif;font-size:19px;font-weight:500}.demo-ways p{font-size:12px;line-height:2;color:var(--muted)}.demo-ways p.micro{font-size:10px}.demo-usage{border-top:1px solid var(--line);padding:20px 0}.demo-usage p{font-size:12px;line-height:2;color:var(--muted)}.demo-usage small{font-size:10px;color:var(--muted)}#demo-download-dialog{max-height:calc(100dvh - 30px);overflow:auto;width:min(520px,calc(100vw - 28px));border-radius:16px;padding:32px}#demo-download-dialog h2{font-size:24px}#demo-download-dialog>p{font-size:12px}#demo-download-dialog .micro{font-size:10px}.reader-demo-note{background:#e9e6d6;padding:5px 16px;font-size:10px;color:#665b36}
@media(max-width:650px){.demo-ribbon{gap:8px;flex-wrap:wrap;padding:9px 15px;font-size:10px}.demo-ribbon a{margin-left:0}.demo-library{display:none}.purchase-demo header{height:65px;padding:0 20px}.demo-main{margin:20px auto 40px;padding:0 18px}.demo-welcome{gap:14px;margin-bottom:24px;align-items:flex-start}.demo-check{width:38px;height:38px;font-size:21px;margin-top:4px}.demo-welcome h1{font-size:23px}.demo-welcome .eyebrow{font-size:8px;letter-spacing:1px}.demo-welcome p{font-size:11px}.demo-book{grid-template-columns:1fr;padding:20px;gap:20px}.demo-cover{padding:20px}.demo-cover img{width:135px}.demo-book h2{font-size:24px}.demo-ctas{grid-template-columns:1fr}.demo-ways{grid-template-columns:1fr;gap:15px;margin:24px 0}.demo-ways article{padding:20px}.demo-usage p{font-size:11px}#demo-download-dialog{padding:26px 22px}}

/* Chapter selection and contents */
.chapter-section{max-width:1120px;margin:80px auto;padding:0 30px}.chapter-intro h2{font-size:clamp(27px,3vw,36px);margin:0 0 18px}.chapter-intro>p:last-child{color:var(--muted);line-height:2;font-size:14px}.chapter-intro strong{color:var(--ink);font-weight:600}.selection-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.selection-points>div{border-top:2px solid #acbc9a;padding-top:16px}.selection-points span{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.selection-points strong{display:block;font-size:15px;font-weight:600}.selection-points p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:0}.chapter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px;list-style:none;margin:0;padding:0}.chapter-list li{padding:23px 0;border-bottom:1px solid var(--line);min-width:0}.chapter-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.chapter-top strong{color:var(--green);font:28px Georgia,serif}.chapter-top small{font:11px sans-serif;margin-left:4px}.chapter-list h3{font-size:16px;line-height:1.7;margin:8px 0 10px;font-weight:600}.chapter-list p{font-size:13px;line-height:1.95;color:var(--muted);margin:0}.chapter-source{font-size:11px;line-height:1.9;color:var(--muted);margin-top:22px}@media(max-width:650px){.chapter-section{margin:55px auto;padding:0 22px}.selection-points{grid-template-columns:1fr;gap:18px;margin:24px 0}.chapter-list{grid-template-columns:1fr}.chapter-list li{padding:18px 0}.chapter-intro>p:last-child{font-size:13px}.chapter-intro br{display:none}}

.paper-announcement{display:inline-flex;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:12px;border-bottom:1px solid var(--line);padding-bottom:8px}.paper-announcement span{color:var(--muted)}.paper-edition{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:70px;max-width:1120px;margin:70px auto;padding:45px;background:#eee9dc;border-radius:10px;align-items:center}.paper-edition-art{display:flex;justify-content:center;padding:30px}.paper-edition-art img{width:230px;max-width:100%;height:auto;transform:rotate(-5deg);box-shadow:5px 4px 0 #ded9cd,10px 8px 0 #f9f6ee,18px 22px 30px #3c392b29}.paper-edition-copy h2{margin:12px 0 20px;font-size:30px}.paper-edition-copy>p{line-height:1.9;color:var(--muted)}.paper-price{font:500 42px Arial,"Noto Sans JP",sans-serif;font-variant-numeric:lining-nums tabular-nums;margin-top:24px;white-space:nowrap}.paper-price span{font:12px sans-serif}.paper-edition-copy .paper-tax{font-size:11px;margin:8px 0 0}.paper-edition-copy .paper-shipping{font-size:11px;margin:3px 0 18px}.paper-edition-meta{display:flex;gap:8px;flex-wrap:wrap}.paper-edition-meta span{font-size:11px;padding:6px 10px;background:#f9f7f0;border-radius:3px}@media(max-width:650px){.paper-edition{grid-template-columns:1fr;gap:20px;padding:25px;margin:40px 16px}.paper-edition-art{padding:20px}.paper-edition-art img{width:165px}.paper-edition-copy h2{font-size:25px}.paper-price{font-size:36px}}

.paper-edition-copy h2 span{display:block}.paper-edition-copy .paper-print-note{font-size:12px;line-height:1.9;margin:0 0 18px}.paper-edition-copy{min-width:0}@media(max-width:650px){.paper-edition{padding:24px 20px}.paper-edition-copy h2{font-size:clamp(18px,5.1vw,25px);letter-spacing:0;line-height:1.85}.paper-edition-copy h2 span{white-space:nowrap}.paper-edition-copy>p:not(.eyebrow):not(.paper-tax):not(.paper-shipping):not(.paper-print-note):not(.micro){font-size:13px}.paper-edition-copy>p br{display:none}.paper-edition-copy .paper-print-note br{display:block}.paper-edition-copy .eyebrow{font-size:9px;letter-spacing:1.3px}}

.web-reader-card{margin:24px 0;padding:22px;border:1px solid #c4ceba;border-radius:8px;background:#f8faf1}.web-reader-card .eyebrow{font-size:10px;margin:0 0 10px}.web-reader-card h3{font-size:23px;line-height:1.6;font-weight:500;margin:0 0 12px}.web-reader-card>p:not(.eyebrow){font-size:13px;line-height:1.9}.web-reader-card ul{list-style:none;padding:0;margin:14px 0;font-size:12px;line-height:2.1}.web-reader-card li:before{content:"✓";margin-right:8px;color:var(--green)}.web-reader-card small{display:block;font-size:10px;color:var(--muted);line-height:1.9;margin-top:12px}@media(max-width:650px){.web-reader-card{padding:18px}.web-reader-card h3{font-size:21px}}

.product .reader-benefit{font-size:12px;line-height:1.9;margin:18px 0;padding-left:12px;border-left:2px solid #9eaf8b}.reader-entry-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;width:min(420px,calc(100% - 32px));padding:16px 20px;background:#f8faf1;border:1px solid #c4ceba;border-radius:8px;box-shadow:0 6px 30px #203a3522;font-size:13px;line-height:1.8}.reader-entry-status a{text-decoration:underline}.reader-entry-status button{display:block;text-decoration:underline;padding:8px 0}

.paper-price{font-family:serif;font-weight:400;font-size:40px;font-variant-numeric:normal}.price,.paper-price{font-feature-settings:normal}

#study.pdf-fullscreen.focus-tools-open #reader-controls{width:min(var(--panel-width,800px),calc(100% - 16px));overflow:visible}#study.pdf-fullscreen.focus-tools-open #reader-controls{max-height:85dvh;overflow-y:auto;container-type:inline-size}.reader-resize-handle{display:none}#study.pdf-fullscreen .reader-resize-handle{display:block;position:absolute;left:0;top:0;bottom:0;width:12px;cursor:ew-resize;touch-action:none;z-index:20;background:linear-gradient(90deg,#a1b29355,transparent);border-radius:12px 0 0 12px}.reader-resize-handle:focus-visible{outline:2px solid var(--green);outline-offset:-2px}#book-jump{padding:8px 16px;border-bottom:1px solid var(--line);font-size:12px}#book-jump summary{cursor:pointer;min-height:30px;line-height:30px}.chapter-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:8px 0}.chapter-tabs button{padding:8px 12px;border:1px solid var(--line);border-radius:5px}.chapter-tabs button[aria-pressed=true]{background:var(--green);color:white}.question-links{max-height:230px;overflow:auto}.question-links>div{display:flex;gap:8px;border-bottom:1px solid var(--line)}.question-links button{text-align:left;padding:10px;line-height:1.7;font-size:12px;flex:1}.question-links .answer-jump{flex:0 0 50px;text-decoration:underline}.chapter-start{font-weight:600;width:100%}@container(max-width:570px){.study-toolbar{display:flex;flex-wrap:wrap}.study-toolbar #drawing-tools{flex-wrap:wrap;justify-content:flex-start}.study-head{flex-wrap:wrap;height:auto}.study-toolbar #toggle-notes{margin-left:0}.reader-navigation{flex-wrap:wrap}#tool-status{white-space:normal}.sample-nav{flex-wrap:wrap}}

.reader-resize-bottom,.reader-resize-corner{display:none}#study.pdf-fullscreen.focus-tools-open #reader-controls{height:var(--panel-height,auto);max-height:calc(100dvh - 16px);padding-bottom:18px}#study.pdf-fullscreen .reader-resize-bottom{display:block;position:sticky;bottom:-18px;left:0;width:100%;height:12px;cursor:ns-resize;touch-action:none;z-index:21;background:linear-gradient(0deg,#a1b29366,transparent);margin-top:6px}#study.pdf-fullscreen .reader-resize-corner{display:block;position:sticky;bottom:-18px;left:0;width:24px;height:24px;margin-top:-24px;cursor:nesw-resize;touch-action:none;z-index:22;border-left:3px solid #718b78;border-bottom:3px solid #718b78;border-bottom-left-radius:9px;background:#eef1e7}

.reader-panel-content{display:contents}#study.pdf-fullscreen.focus-tools-open #reader-controls{overflow:visible}#study.pdf-fullscreen .reader-panel-content{display:block;max-height:calc(100dvh - 90px);height:100%;overflow-y:auto;overscroll-behavior:contain}#study.pdf-fullscreen .reader-resize-bottom{position:absolute;bottom:0;left:12px;width:calc(100% - 24px);margin:0}#study.pdf-fullscreen .reader-resize-corner{position:absolute;bottom:0;left:0;margin:0}
