.textbook{--tb-primary:#1d4483;--tb-bd:#4d586f;--tb-bd2:#9aa3b5;--tb-tint:#eef1f7;--tb-tint2:#fafbfd;--tb-tx2:#4a5468;--tb-tx3:#8a94a6;font-family:Hiragino Mincho ProN,Yu Mincho,YuMincho,"Noto Serif JP",serif;line-height:1.78;font-size:16px}.textbook p{margin:.45em 0}.textbook h2{font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,Noto Sans JP,sans-serif;font-size:18px;margin:42px 0 14px;font-weight:700;line-height:1.5}.textbook h2:before{content:"■";color:var(--tb-primary,#1d4483);font-size:15px;margin-right:10px}.textbook .problem{border:1.3px solid var(--tb-bd);border-radius:6px;padding:20px 24px 14px;margin:18px 0}.textbook .phead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,Noto Sans JP,sans-serif}.textbook .plabel-num{display:inline-block;border:1.3px solid var(--tb-primary);color:var(--tb-primary);border-radius:5px;padding:1px 13px;font-weight:700;font-size:15px}.textbook .pstats{display:flex;gap:8px 20px;align-items:baseline;flex-wrap:wrap;font-variant-numeric:tabular-nums}.textbook .pstats .ps{white-space:nowrap}.textbook .pstats .ps .lb{font-size:11px;color:var(--tb-tx3);letter-spacing:.12em;margin-right:7px}.textbook .pstats .ps b{font-size:15.5px;font-weight:700;color:var(--tb-primary)}.textbook .problem .src{font-size:11.5px;color:var(--tb-tx3);margin-top:10px;text-align:right}.problem-thumbnail-body.textbook{padding:26px 34px 34px;font-size:29px;line-height:1.72;color:#2b3240}.problem-thumbnail-body.textbook .problem{margin:0;padding:0;border:0;border-radius:0}.problem-thumbnail-body.textbook .phead,.problem-thumbnail-body.textbook .problem .src{display:none}.problem-thumbnail-body.textbook p{margin:.42em 0}.problem-thumbnail-body.textbook .katex{font-size:1.08em}.problem-thumbnail-body.textbook .katex-display{margin:.75em 0;overflow:visible}.textbook .approach,.textbook .chakuganten{margin:26px 0 22px;border-radius:6px;overflow:hidden;background:var(--tb-tint)}.textbook .approach-title,.textbook .chakuganten-title{background:var(--tb-primary);color:#fff;font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,Noto Sans JP,sans-serif;font-weight:700;font-size:13px;letter-spacing:.14em;padding:5px 14px;display:inline-block;border-radius:0 0 6px 0}.textbook .approach-body,.textbook .chakuganten-body{padding:10px 16px 14px}.textbook .approach-body hr,.textbook .chakuganten-body hr{border:none;border-top:1px solid color-mix(in srgb,var(--tb-primary) 16%,#fff);margin:12px 0}.textbook blockquote:has(>h4:first-child){margin:22px 0;border:0;background:var(--problem-cyan-soft,#e8f6f8);padding:24px 26px;color:inherit;font-style:normal;line-height:1.85}.textbook blockquote:has(>h4:first-child)>h4{margin:0 0 14px;color:var(--problem-cyan-dark,#087c91);font-family:var(--font-noto-serif-jp,"Hiragino Mincho ProN"),"Yu Mincho",YuMincho,serif;font-size:19px;font-weight:700;line-height:1.6}.textbook blockquote:has(>h4:first-child) p{margin-block:10px}.textbook blockquote:has(>h4:first-child)>ol{margin-block:10px;padding-left:1.5em;list-style:decimal}.textbook blockquote:has(>h4:first-child) li+li{margin-top:8px}.textbook blockquote:has(>h4:first-child) .katex-display{margin-block:12px}.textbook blockquote:has(>h4:first-child)>:last-child{margin-bottom:0}.textbook .katex{font-size:1.07em}.textbook .katex-display{margin:1em 0;overflow-x:auto;overflow-y:hidden;padding:4px 2px}.textbook .math-table-scroll{max-width:100%;overflow-x:auto;margin:20px 0}.textbook .math-table-scroll:focus-visible{outline:2px solid #087c91;outline-offset:3px}.textbook table.math-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.textbook .math-table :is(th,td){border:1px solid #cbdde0;padding:12px 18px;text-align:left;vertical-align:middle}.textbook .math-table th{background:#e8f6f8;font-weight:600}.textbook .math-table [align=center]{text-align:center}.textbook .math-table [align=right]{text-align:right}.textbook .math-table tbody tr:nth-child(2n){background:#f7fbfc}.textbook figure{margin:26px auto;max-width:540px}.textbook figure svg{width:100%;height:auto;color:var(--foreground,#191d26)}.textbook figcaption{font-size:12px;color:var(--tb-tx2);text-align:center;margin-top:4px;font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,Noto Sans JP,sans-serif}.textbook details.aside{margin:12px 0 16px;text-align:right}.textbook details.aside>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:baseline;gap:9px;font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,Noto Sans JP,sans-serif;font-size:13px;color:var(--tb-primary);user-select:none}.textbook details.aside>summary::-webkit-details-marker{display:none}.textbook details.aside>summary .abadge{flex:none;border:1px solid color-mix(in srgb,var(--tb-primary) 45%,#fff);border-radius:999px;padding:0 10px;font-size:11px;letter-spacing:.1em;font-weight:700}.textbook details.aside>summary .aq{border-bottom:1px dashed color-mix(in srgb,var(--tb-primary) 45%,#fff);padding-bottom:1px;text-align:left}.textbook details.aside>summary .amark{flex:none;font-size:10px;transition:transform .15s}.textbook details.aside[open]>summary .amark{transform:rotate(90deg)}.textbook details.aside>summary:hover .aq{border-bottom-style:solid}.textbook details.aside>summary:focus-visible{outline:2px solid var(--tb-primary);outline-offset:3px;border-radius:3px}.textbook .aside-body{margin:10px 0 4px;padding:12px 18px;font-size:14.5px;line-height:1.85;border-left:2.5px solid color-mix(in srgb,var(--tb-primary) 45%,#fff);background:var(--tb-tint);border-radius:0 6px 6px 0;text-align:left}@media (prefers-reduced-motion:reduce){.textbook details.aside>summary .amark{transition:none}}@media (max-width:480px){.textbook{font-size:15px;line-height:1.75}.textbook .katex{font-size:1.02em}.textbook .problem{padding:16px 14px 10px}.textbook .approach-body,.textbook .chakuganten-body{padding:8px 12px 12px}.textbook .aside-body{padding:10px 12px}.textbook blockquote:has(>h4:first-child){padding:20px 16px}.textbook blockquote:has(>h4:first-child)>h4{font-size:18px}.textbook .pstats{gap:6px 14px}}.textbook :is(h3,h4,h5,h6){margin-block:1em;font-weight:700}.textbook h3{margin-block:32px 16px;background:#f4f7fa;padding:12px 18px;font-family:var(--font-noto-sans-jp,"Hiragino Sans"),"Yu Gothic",sans-serif;font-size:20px;line-height:1.7}@media (max-width:639px){.textbook h3{font-size:18px}}.textbook :is(h4,h5,h6){font-size:1em}.textbook :is(ul,ol){padding-left:1.5em;margin-block:20px}.textbook ul{list-style:disc}.textbook ol{list-style:decimal}.textbook li{margin-block:8px}.textbook a{color:var(--problem-cyan-dark,#087c91);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.textbook img{display:block;max-width:100%;height:auto;margin:28px auto}.textbook blockquote:not(:has(>h4:first-child)){margin-block:20px;padding:20px 24px;border-left:3px solid #b8dce3;background:#f4f7fa}.textbook pre{max-width:100%;overflow-x:auto;padding:20px;background:#f4f7fa}