/* 章固有の表示だけを装飾。共通ナビ・広告・body・色トークンは変更しない。 */
.chapter-module.ch1-mug-view{min-width:0;width:100%;color:#46675e}
.chapter-module .ch1-face-controls{display:flex;justify-content:center;gap:6px;margin:0 0 6px}
.chapter-module .ch1-face{border:1px solid #cbd6c6;border-radius:999px;background:#fffcf2;color:#557267;min-width:90px;min-height:42px;padding:7px 18px;font-size:13px;font-weight:700}
.chapter-module .ch1-face[aria-pressed="true"]{background:#557d6c;border-color:#557d6c;color:#fffdf5}
.chapter-module .ch1-mug-viewport{width:100%;height:min(370px,76vw);overflow:auto;border-radius:15px;background:radial-gradient(ellipse at 50% 35%,#fffdf6,#f2ebdc);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5cdbb #f4eedf}
.chapter-module .ch1-mug-image{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.chapter-module .ch1-paper-wrap{margin:6px 0 27px;padding:6px 2px}
.chapter-module .ch1-paper{position:relative;margin:0 auto;width:100%;padding:38px 12px;background:linear-gradient(112deg,#fffcf1,#f8efdc);border:1px solid #e2d3b8;border-radius:3px 7px 5px 3px;box-shadow:1px 5px 14px #745f3920;transform:rotate(-.5deg);text-align:center;color:#655449}
.chapter-module .ch1-paper:before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-style:solid;border-width:0 0 15px 15px;border-color:transparent transparent #e8dac0 transparent}
.chapter-module .ch1-paper p{margin:0;line-height:2.8;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:600;font-size:clamp(12px,1.5vw,17px);white-space:normal;overflow-wrap:anywhere;letter-spacing:.035em}
.chapter-module .ch1-answer-form{display:grid;gap:10px;max-width:430px;margin:0 auto}
.chapter-module .ch1-answer-label{font-size:13px;font-weight:700;color:#46675e}
.chapter-module .ch1-answer-input{width:100%;min-width:0;min-height:49px;padding:10px 13px;border:1px solid #c8bdac;border-radius:9px;background:#fffdf7;color:#3c4e43;font-size:18px;box-shadow:inset 0 1px 3px #715d3310}
.chapter-module .ch1-answer-input[aria-invalid="true"]{border-color:#a84958}
.chapter-module .ch1-feedback{font-size:12px;line-height:1.6;color:#8f2634;margin:0;min-height:0}
.chapter-module .ch1-feedback:empty{display:none}
.chapter-module .ch1-submit{width:100%;min-height:48px;border:0;border-radius:10px;background:#8f2634;color:#fffdf7;font-size:14px;font-weight:700;padding:10px 15px}
.chapter-module .ch1-submit:hover{background:#a23342}
.chapter-module.ch1-inspect .ch1-paper{padding-block:34px}
.chapter-module.ch1-inspect .ch1-paper p{font-size:clamp(11px,3.4vw,16px)}
@media(max-width:850px){.chapter-module .ch1-paper p{font-size:clamp(11px,3.4vw,17px)}.chapter-module .ch1-paper{padding:30px 9px}.chapter-module .ch1-paper-wrap{margin-bottom:23px}}
@media(prefers-reduced-motion:reduce){.chapter-module .ch1-mug-viewport{scroll-behavior:auto}}
