{"id":15791,"date":"2026-11-02T14:00:46","date_gmt":"2026-11-02T05:00:46","guid":{"rendered":"https:\/\/chicodori.net\/?p=15791"},"modified":"2026-11-02T14:00:48","modified_gmt":"2026-11-02T05:00:48","slug":"fill-the-tank","status":"publish","type":"post","link":"https:\/\/chicodori.net\/index.php\/en\/fill-the-tank\/","title":{"rendered":"Fill the Tank!"},"content":{"rendered":"<!-- Lesson feature icons: shared semantic symbols -->\r\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"0\" height=\"0\" aria-hidden=\"true\" focusable=\"false\" style=\"position:absolute;overflow:hidden\"><defs>\r\n<symbol id=\"cd-icon-punctuation\" viewBox=\"0 0 48 48\"><rect x=\"8\" y=\"5\" width=\"32\" height=\"38\" rx=\"5\" fill=\"var(--cd-icon-accent,#fff2ca)\" stroke=\"currentColor\" stroke-width=\"2.5\"\/><text x=\"24\" y=\"30\" text-anchor=\"middle\" font-size=\"30\" font-family=\"sans-serif\" fill=\"currentColor\">\u3001<\/text><\/symbol>\r\n<symbol id=\"cd-icon-compare\" viewBox=\"0 0 48 48\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"4\" y=\"9\" width=\"16\" height=\"29\" rx=\"3\"\/><rect x=\"28\" y=\"9\" width=\"16\" height=\"29\" rx=\"3\"\/><path d=\"M9 16h6M9 23h6M33 16h6M33 23h6M21 24h6m-3-3 3 3-3 3\"\/><\/g><\/symbol>\r\n<symbol id=\"cd-icon-read-aloud\" viewBox=\"0 0 48 48\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"14\" cy=\"14\" r=\"6\"\/><path d=\"M4 39v-8a10 10 0 0 1 20 0v8M26 17l7-4v9zM36 10q8 7 0 15M40 6q12 11 0 23\"\/><\/g><\/symbol>\r\n<symbol id=\"cd-icon-audio\" viewBox=\"0 0 48 48\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 19h8l11-9v28l-11-9H6zM32 16q8 8 0 16M37 10q14 14 0 28\"\/><\/g><\/symbol>\r\n<\/defs><\/svg>\r\n<style>\r\n\r\n\/* cd-lesson v1 \u2014 shared presentation. Game logic and question data are separate. *\/\r\n.cd-lesson{--cd-ink:#254452;--cd-sky:#b5e9f5;--cd-soft:#f2f9fb;--cd-accent:#fff2a5;--cd-border:#cbdfe5;--cd-body:18px;--cd-title-size:28px;--cd-game-width:660px;color:var(--cd-ink);font:var(--cd-body)\/1.85 Meiryo,sans-serif;background:white}\r\nbody:has(.cd-lesson) .blog-post-title{display:none}\r\n.cd-lesson .cd-hero{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:16px;align-items:center;position:relative;overflow:hidden;padding:24px 26px 40px;background:var(--cd-sky);border-radius:22px 22px 32px 18px}\r\n.cd-lesson .cd-hero:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:23px;background:radial-gradient(ellipse at 50% 100%,white 68%,transparent 71%) 0 0\/64px 24px repeat-x}\r\n.cd-lesson .cd-tags{display:inline-block;background:var(--cd-accent);padding:3px 12px;border-radius:20px;font-size:16px;margin-bottom:10px}\r\n.cd-lesson .cd-title{font-size:var(--cd-title-size);line-height:1.5;margin:0 0 12px;color:var(--cd-ink);letter-spacing:0;padding:0;border:0}\r\n.cd-lesson .cd-lead{margin:0;font-size:18px;line-height:1.85}\r\n.cd-lesson .cd-mascot{text-align:center}.cd-lesson .cd-mascot p{font-size:15px;background:white;padding:10px 6px;border-radius:22px;line-height:1.6;margin:0 0 8px}.cd-lesson .cd-mascot img{width:90px;height:90px;object-fit:contain;border-radius:0}\r\n.cd-lesson .cd-points{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 28px;padding:0}\r\n.cd-lesson .cd-point{display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;line-height:1.55;margin:0;padding:8px 0}.cd-lesson .cd-point__icon,.cd-lesson .cd-point>svg{width:36px;height:36px;flex:none;color:#31596b}\r\n.cd-lesson .cd-play{max-width:var(--cd-game-width);margin:0 auto}.cd-lesson .cd-play-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px}.cd-lesson .cd-section-title{font-size:21px;line-height:1.6;margin:0;color:var(--cd-ink);padding:0;border:0}.cd-lesson .cd-count-label{font-size:16px;color:#526c77}.cd-lesson .cd-start-note{font-size:18px;margin:0 0 14px}\r\n.cd-lesson .cdl-game{width:100%;max-width:100%;margin:0;box-shadow:none}\r\n.cd-lesson .cdl-brand,.cd-lesson .cdl-topic{display:none}\r\n.cd-lesson .cdl-title{font-size:19px;line-height:1.5}\r\n.cd-lesson .cd-method{max-width:var(--cd-game-width);margin:22px auto;border-bottom:1px solid var(--cd-border);padding-bottom:12px}.cd-lesson .cd-method summary{font-size:19px;font-weight:bold;cursor:pointer;min-height:44px;padding:6px 0}.cd-lesson .cd-method ol{padding-left:28px;margin:10px 0}.cd-lesson .cd-method li{font-size:18px;margin:8px 0}\r\n.cd-lesson .cd-takeaway{max-width:var(--cd-game-width);margin:24px auto;padding:18px 22px;border-radius:18px;background:#fffbeb}.cd-lesson .cd-takeaway p{font-size:18px;margin:8px 0 0}.cd-lesson .cd-takeaway strong{background:linear-gradient(transparent 65%,#ffeb8b 65%)}\r\n.cd-lesson .cd-like{margin:20px auto;text-align:center}.cd-lesson .cd-related{margin:28px 0 0;padding:20px 24px;background:var(--cd-soft);border-radius:22px}.cd-lesson .cd-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.cd-lesson .cd-link{display:inline-flex;align-items:center;min-height:46px;padding:8px 18px;border:1px solid var(--cd-border);border-radius:25px;background:white;color:#285d74;font-size:18px;text-decoration:none}\r\n.cd-lesson a:focus-visible,.cd-lesson summary:focus-visible{outline:3px solid #276887;outline-offset:3px}\r\nbody:has(.cd-lesson) #comments{margin-top:36px;padding:24px;background:#f5fafb;border:1px solid #d9e8ec;border-radius:22px}body:has(.cd-lesson) #reply-title{font-size:22px;letter-spacing:0}body:has(.cd-lesson) #commentform label,body:has(.cd-lesson) #commentform textarea{font-size:18px}body:has(.cd-lesson) #commentform textarea{border-radius:14px;background:white}body:has(.cd-lesson) #comment-submit{border-radius:24px;background:#32697c;font-size:18px;text-transform:none;letter-spacing:0}\r\n@media(max-width:600px){.cd-lesson{--cd-title-size:24px}.cd-lesson .cd-hero{grid-template-columns:minmax(0,1fr) 64px;padding:18px 16px 34px;gap:10px}.cd-lesson .cd-mascot img{width:64px;height:64px}.cd-lesson .cd-mascot p{font-size:14px;padding:7px 3px}.cd-lesson .cd-lead{grid-column:1\/-1}.cd-lesson .cd-tags{font-size:15px}.cd-lesson .cd-points{gap:8px;margin:12px 0 24px}.cd-lesson .cd-point{flex-direction:column;text-align:center;font-size:15px;gap:6px}.cd-lesson .cd-point__icon,.cd-lesson .cd-point>svg{width:32px;height:32px}.cd-lesson .cd-takeaway{padding:16px}.cd-lesson .cd-related{padding:18px}.cd-lesson .cd-link{width:100%;justify-content:center}}\r\n\r\n.cd-lesson .cd-lead{grid-column:1\/-1}\r\n\r\n\/* Feature icons: unified cream horizontal cards *\/\r\n.cd-lesson .cd-features{margin:14px auto 24px;max-width:660px}\r\n.cd-lesson .cd-features-title{font-size:16px;font-weight:400;line-height:1.6;text-align:center;color:#526c77;margin:0 0 8px;padding:0;border:0;letter-spacing:0}\r\n.cd-lesson .cd-points{margin:0;gap:10px}\r\n.cd-lesson .cd-point{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;text-align:left;padding:10px;background:#fffdf5;border:1px solid #eee9d8;border-radius:14px;font-size:16px;font-weight:400;line-height:1.6;min-height:70px;box-sizing:border-box}\r\n.cd-lesson .cd-point__icon,.cd-lesson .cd-point>svg{width:40px;height:40px;color:#806d3f;--cd-icon-accent:#fff2ca}\r\n.cd-lesson .cd-point>span{border-left:1px solid #e7dfc8;padding-left:10px;min-height:40px;display:flex;align-items:center}\r\n@media(max-width:600px){.cd-lesson .cd-points{grid-template-columns:1fr;gap:8px}.cd-lesson .cd-point{min-height:60px;padding:8px 12px;grid-template-columns:36px 1fr}.cd-lesson .cd-point__icon,.cd-lesson .cd-point>svg{width:36px;height:36px}}\r\n\r\n\/* Shared article sections; game internals retain their own styles. *\/\r\n.cd-lesson .cd-copy{max-width:660px;margin:24px auto;color:var(--cd-ink);font-size:18px;line-height:1.85}\r\n.cd-lesson .cd-copy p,.cd-lesson .cd-copy li{font-size:18px;line-height:1.85;margin:12px 0}\r\n.cd-lesson .cd-copy h2,.cd-lesson .cd-copy h3,.cd-lesson .cd-copy h4{font-size:21px;line-height:1.6;color:var(--cd-ink);margin:0 0 14px;padding:0;border:0;letter-spacing:0}\r\n.cd-lesson .cd-copy img{max-width:100%;height:auto}.cd-lesson .cd-copy figure{margin:18px auto}\r\n.cd-lesson .cd-note{display:flex;align-items:center;gap:14px;background:#f2f9fb;padding:14px 18px;border-radius:18px;margin:18px 0}\r\n.cd-lesson .cd-note>img{width:52px;height:62px;object-fit:contain;flex:none}.cd-lesson .cd-note p{margin:0}\r\n.cd-lesson .cd-copy summary{cursor:pointer;font-size:19px;font-weight:bold;min-height:44px;padding:8px 0}\r\n.cd-lesson details.cd-copy{border-top:1px solid var(--cd-border);padding-top:12px}\r\n.cd-lesson .cd-copy mark{background:transparent;color:inherit}.cd-lesson .cd-copy a{color:#285d74;text-decoration:underline}\r\n.cd-lesson .cd-lead p{font-size:18px;line-height:1.85;margin:0}\r\n.cd-lesson .cd-points{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}\r\n.cd-lesson .cd-point{list-style:none}.cd-lesson .cd-point>span{font-size:16px}\r\n.cd-lesson .cd-game-mount{max-width:660px;margin:0 auto}.cd-lesson .cd-game-mount>div{max-width:100%}\r\n.cd-lesson .cd-like{margin:12px auto 18px}.cd-lesson .cd-play{margin-top:20px}\r\n@media(max-width:600px){.cd-lesson .cd-points{grid-template-columns:1fr}.cd-lesson .cd-copy{margin:20px auto}.cd-lesson .cd-note{padding:12px}}\r\n\r\n\r\n\/* Circle area: compact layout, 2026-10-15 *\/\r\n#circle-area-game{container-type:inline-size}\r\n#circle-area-game .circle-game{margin:12px auto;padding:14px;border-radius:18px;font-size:18px;line-height:1.5;box-shadow:0 3px 12px #24465012}\r\n#circle-area-game .circle-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n#circle-area-game .status{font-size:18px;margin-bottom:10px}\r\n#circle-area-game .problem-card{padding:12px;margin-bottom:12px;border-radius:16px}\r\n#circle-area-game .question{font-size:22px;line-height:1.5;margin:0 0 4px}\r\n#circle-area-game .circle-svg{width:240px;margin:0 auto 4px}\r\n#circle-area-game .formula{font-size:20px;margin:6px 0}\r\n#circle-area-game .formula:empty{display:none}\r\n#circle-area-game .answer-row{font-size:18px;margin:8px 0;white-space:nowrap}\r\n#circle-area-game .answer-row input{width:108px;height:46px;padding:6px;font-size:22px}\r\n#circle-area-game .main-btn{min-height:46px;padding:8px 22px;font-size:20px;line-height:1.4}\r\n#circle-area-game .message{min-height:28px;margin-top:6px;font-size:20px;line-height:1.4}\r\n#circle-area-game .calculator{padding:10px;border-radius:14px}\r\n#circle-area-game .calc-display{height:44px;padding:6px 8px;margin-bottom:8px;font-size:22px}\r\n#circle-area-game .calc-grid{gap:6px}\r\n#circle-area-game .calc-btn{min-height:46px;padding:6px 4px;font-size:20px;line-height:1.4;border-radius:9px}\r\n#circle-area-game [data-calc=\"copy\"]{font-size:16px;white-space:normal;line-height:1.25}\r\n@container(min-width:580px){\r\n#circle-area-game .circle-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;align-items:start}\r\n#circle-area-game .circle-game>h2,#circle-area-game .status{grid-column:1\/-1}\r\n#circle-area-game .problem-card{margin:0;min-width:0}\r\n#circle-area-game .calculator{min-width:0}\r\n}\r\n\r\n\r\n\/* Average: compact layout, 2026-10-15 *\/\r\n#average-game{container-type:inline-size}\r\n#average-game .average-game{margin:12px auto;padding:14px;border-radius:18px;font-size:18px;line-height:1.5;box-shadow:0 3px 12px #24465012}\r\n#average-game .average-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n#average-game .status{font-size:18px;margin-bottom:10px}\r\n#average-game .problem-card{padding:12px;margin-bottom:12px;border-radius:16px}\r\n#average-game .question{font-size:22px;line-height:1.5;margin:0 0 4px}\r\n#average-game .formula{font-size:20px;margin:6px 0}\r\n#average-game .formula:empty{display:none}\r\n#average-game .answer-row{font-size:18px;margin:8px 0;white-space:nowrap}\r\n#average-game .answer-row input{width:108px;height:46px;padding:6px;font-size:22px}\r\n#average-game .main-btn{min-height:46px;padding:8px 22px;font-size:20px;line-height:1.4}\r\n#average-game .message{min-height:28px;margin-top:6px;font-size:20px;line-height:1.4}\r\n#average-game .calculator{padding:10px;border-radius:14px}\r\n#average-game .calc-display{height:44px;padding:6px 8px;margin-bottom:8px;font-size:22px}\r\n#average-game .calc-grid{gap:6px}\r\n#average-game .calc-btn{min-height:46px;padding:6px 4px;font-size:20px;line-height:1.4;border-radius:9px}\r\n#average-game [data-calc=\"copy\"]{font-size:16px;white-space:normal;line-height:1.25}\r\n@container(min-width:580px){\r\n#average-game .average-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;align-items:start}\r\n#average-game .average-game>h2,#average-game .status{grid-column:1\/-1}\r\n#average-game .problem-card{margin:0;min-width:0}\r\n#average-game .calculator{min-width:0}\r\n}\r\n\r\n#average-game .question{font-size:20px;line-height:1.6;margin:0 0 10px}\r\n#average-game .average-table{font-size:20px;line-height:1.5;margin:10px 0}\r\n#average-game .average-table th,#average-game .average-table td{padding:6px 8px}\r\n\r\n\r\n\/* Compact requested lessons 12398,13154,13156 *\/\r\n#circle-game .circle-game{padding:12px;margin:12px auto;border-width:2px;border-radius:18px;box-shadow:0 3px 0 #f1b84b}\r\n#circle-game h2{font-size:24px;line-height:1.5}\r\n#circle-game .game-lead,#circle-game .score,#circle-game .answer-label{font-size:16px;line-height:1.5}\r\n#circle-game .level-buttons{margin:6px 0;gap:8px}\r\n#circle-game .level-btn{min-height:44px;font-size:16px;padding:6px 12px}\r\n#circle-game .question-text{font-size:18px;line-height:1.5;min-height:0}\r\n#circle-game .circle-wrap{max-width:430px}\r\n#circle-game .measure-text{font-size:26px}\r\n#circle-game .unknown-text{font-size:28px}\r\n#circle-game .answer-area{margin-top:6px}\r\n#circle-game .answer-display{min-height:44px;margin-bottom:6px}\r\n#circle-game .keypad{max-width:540px}\r\n#circle-game .key{min-height:44px;font-size:20px}\r\n:is(#post-13154,#post-13156) .cdl-game{font-size:18px;line-height:1.6;border-radius:18px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-brand,:is(#post-13154,#post-13156) .cdl-game .cdl-topic{display:none}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-header{padding:12px 16px;gap:10px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-title{font-size:21px;line-height:1.5;margin:0}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-help-toggle{font-size:16px;min-height:44px;padding:6px 10px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-toolbar{padding:8px 16px;font-size:16px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-body{padding:14px 16px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-prompt{font-size:21px;line-height:1.6;margin:0 0 8px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-learning-note{font-size:18px;line-height:1.6;padding:6px 10px;margin:0 0 10px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-visual{padding:10px;margin:0 0 12px;min-height:0}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-reading{font-size:20px;line-height:1.7;padding:10px 14px;margin:0}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-choice{font-size:20px;min-height:54px;padding:10px;line-height:1.5}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-feedback{font-size:18px;line-height:1.6;min-height:0;padding:10px 12px;margin:10px 0 0}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-actions{margin-top:8px;gap:8px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-footer{padding:8px 16px;font-size:16px}\r\n:is(#post-13154,#post-13156) .cdl-game .cdl-footer button{min-height:44px}\r\n#post-13156 .cdl-game .cdl-caption{font-size:18px;margin:0 0 6px}\r\n#post-13156 .cdl-game .cdl-votes-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}\r\n#post-13156 .cdl-game .cdl-votes-cards span{font-size:18px;line-height:1.5;padding:6px 4px;min-height:0;min-width:0}\r\n#post-13156 .cdl-game .cdl-vote-table{font-size:20px;line-height:1.5;margin:0;width:100%}\r\n#post-13156 .cdl-game .cdl-vote-table caption{font-size:18px;padding:0 0 6px}\r\n#post-13156 .cdl-game .cdl-vote-table th,#post-13156 .cdl-game .cdl-vote-table td{padding:6px 8px}\r\n@media(min-width:1000px){#post-13156 .cdl-game .cdl-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;align-items:start}#post-13156 .cdl-game .cdl-caption{grid-column:1}#post-13156 .cdl-game .cdl-votes-cards{grid-column:1}#post-13156 .cdl-game .cdl-vote-table{grid-column:2;grid-row:1\/3}}\r\n@media(max-width:520px){#circle-game .keypad{grid-template-columns:repeat(5,1fr)}:is(#post-13154,#post-13156) .cdl-game .cdl-choices{grid-template-columns:1fr}#post-13156 .cdl-game .cdl-vote-table{margin-top:12px}}\r\n\r\n\r\n#circle-game{container-type:inline-size}\r\n@container(min-width:600px){#circle-game .circle-game{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:8px 12px;align-items:start}#circle-game .circle-game>h2,#circle-game .game-lead,#circle-game .level-buttons,#circle-game .score,#circle-game .result{grid-column:1\/-1;margin:0}#circle-game .circle-wrap{max-width:100%}#circle-game .problem-card{align-self:stretch;display:flex;flex-direction:column;justify-content:center}#circle-game .answer-area{margin:0}#circle-game .keypad{grid-template-columns:repeat(3,1fr);gap:6px}#circle-game .key.action{grid-column:2\/4!important}#circle-game .key.enter{grid-column:1\/-1!important}#circle-game .measure-text{font-size:28px}}\r\n\r\n\r\n\r\n\/* Reviewed JS layouts: 2026-10-15 *\/\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game{font-size:18px;line-height:1.6;border-radius:18px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-brand,:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-topic{display:none}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-header{padding:12px 16px;gap:10px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-title{font-size:21px;line-height:1.5;margin:0}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-help-toggle{font-size:16px;min-height:44px;padding:6px 10px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-toolbar{padding:8px 16px;font-size:16px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-body{padding:14px 16px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-prompt{font-size:21px;line-height:1.6;margin:0 0 8px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-learning-note{font-size:18px;line-height:1.6;padding:6px 10px;margin:0 0 10px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-visual{padding:10px;margin:0 0 12px;min-height:0}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-reading{font-size:20px;line-height:1.7;padding:10px 14px;margin:0}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-choice{font-size:20px;min-height:54px;padding:10px;line-height:1.5}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-feedback{font-size:18px;line-height:1.6;min-height:0;padding:10px 12px;margin:10px 0 0}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-actions{margin-top:8px;gap:8px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-footer{padding:8px 16px;font-size:16px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-footer button{min-height:44px}\r\n\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-long .cdl-choices{grid-template-columns:1fr}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-visual:empty{display:none}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-speak{min-height:44px;font-size:16px;padding:6px 10px;margin-top:6px}\r\n:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-caption{font-size:18px;line-height:1.6;margin:0 0 8px}\r\n#post-13152 .cdl-game .cdl-reading{font-size:22px;line-height:1.8}\r\n#post-13152 .cdl-game .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}\r\n#post-13146 .cdl-game .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}\r\n#post-13146 .cdl-game .cdl-new-picture{max-width:270px;margin:0 auto}\r\n@media(max-width:520px){:is(#post-13054,#post-13056,#post-13058,#post-13060,#post-13062,#post-13064,#post-13068,#post-13071,#post-13073,#post-13144,#post-13146,#post-13148,#post-13150,#post-13152) .cdl-game .cdl-choices{grid-template-columns:1fr}}\r\n\/* Circle area: compact layout, 2026-10-15 *\/\r\n.cd-lesson #volume-game{container-type:inline-size}\r\n.cd-lesson #volume-game .volume-game{margin:12px auto;padding:14px;border-radius:18px;font-size:18px;line-height:1.5;box-shadow:0 3px 12px #24465012}\r\n.cd-lesson #volume-game .volume-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #volume-game .status{font-size:18px;margin-bottom:10px}\r\n.cd-lesson #volume-game .problem-card{padding:12px;margin-bottom:12px;border-radius:16px}\r\n.cd-lesson #volume-game .question{font-size:22px;line-height:1.5;margin:0 0 4px}\r\n.cd-lesson #volume-game .shape-svg{width:240px;margin:0 auto 4px}\r\n.cd-lesson #volume-game .formula{font-size:20px;margin:6px 0}\r\n.cd-lesson #volume-game .formula:empty{display:none}\r\n.cd-lesson #volume-game .answer-row{font-size:18px;margin:8px 0;white-space:nowrap}\r\n.cd-lesson #volume-game .answer-row input{width:108px;height:46px;padding:6px;font-size:22px}\r\n.cd-lesson #volume-game .main-btn{min-height:46px;padding:8px 22px;font-size:20px;line-height:1.4}\r\n.cd-lesson #volume-game .message{min-height:28px;margin-top:6px;font-size:20px;line-height:1.4}\r\n.cd-lesson #volume-game .calculator{padding:10px;border-radius:14px}\r\n.cd-lesson #volume-game .calc-display{height:44px;padding:6px 8px;margin-bottom:8px;font-size:22px}\r\n.cd-lesson #volume-game .calc-grid{gap:6px}\r\n.cd-lesson #volume-game .calc-btn{min-height:46px;padding:6px 4px;font-size:20px;line-height:1.4;border-radius:9px}\r\n.cd-lesson #volume-game [data-calc=\"copy\"]{font-size:16px;white-space:normal;line-height:1.25}\r\n@container(min-width:580px){\r\n.cd-lesson #volume-game .volume-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;align-items:start}\r\n.cd-lesson #volume-game .volume-game>h2,.cd-lesson #volume-game .status{grid-column:1\/-1}\r\n.cd-lesson #volume-game .problem-card{margin:0;min-width:0}\r\n.cd-lesson #volume-game .calculator{min-width:0}\r\n}\r\n\r\n\r\n\r\n.cd-lesson #rate-change-game>div{padding:14px;margin:12px auto;border-radius:18px}\r\n.cd-lesson #rate-change-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #rate-change-game .mode-area{font-size:18px;gap:6px;margin:8px 0}\r\n.cd-lesson #rate-change-game .mode-area label{min-height:44px;display:inline-flex;align-items:center}\r\n.cd-lesson #rate-change-game .status{font-size:18px;margin:8px 0}\r\n.cd-lesson #rate-change-game .problem-card{padding:12px;border-radius:14px}\r\n.cd-lesson #rate-change-game .problem,.cd-lesson #rate-change-game .story{font-size:22px;line-height:1.65;margin:8px 0}\r\n.cd-lesson #rate-change-game .direction,.cd-lesson #rate-change-game .mission{font-size:18px;margin:4px 0}\r\n.cd-lesson #rate-change-game .answer-row{font-size:20px;margin:8px 0}\r\n.cd-lesson #rate-change-game .answer-box{font-size:24px;min-height:46px;padding:6px 10px;margin:8px auto;line-height:1.4}\r\n.cd-lesson #rate-change-game .keypad{gap:6px;margin:10px auto;max-width:420px}\r\n.cd-lesson #rate-change-game .key-btn{font-size:20px;min-height:46px;padding:6px 4px;line-height:1.4}\r\n.cd-lesson #rate-change-game .message{font-size:20px;min-height:28px;margin:8px 0;line-height:1.5}\r\n\r\n.cd-lesson #rate-rescue-game>div{padding:14px;margin:12px auto;border-radius:18px}\r\n.cd-lesson #rate-rescue-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #rate-rescue-game .mode-area{font-size:18px;gap:6px;margin:8px 0}\r\n.cd-lesson #rate-rescue-game .mode-area label{min-height:44px;display:inline-flex;align-items:center}\r\n.cd-lesson #rate-rescue-game .status{font-size:18px;margin:8px 0}\r\n.cd-lesson #rate-rescue-game .problem-card{padding:12px;border-radius:14px}\r\n.cd-lesson #rate-rescue-game .problem,.cd-lesson #rate-rescue-game .story{font-size:22px;line-height:1.65;margin:8px 0}\r\n.cd-lesson #rate-rescue-game .direction,.cd-lesson #rate-rescue-game .mission{font-size:18px;margin:4px 0}\r\n.cd-lesson #rate-rescue-game .answer-row{font-size:20px;margin:8px 0}\r\n.cd-lesson #rate-rescue-game .answer-box{font-size:24px;min-height:46px;padding:6px 10px;margin:8px auto;line-height:1.4}\r\n.cd-lesson #rate-rescue-game .keypad{gap:6px;margin:10px auto;max-width:420px}\r\n.cd-lesson #rate-rescue-game .key-btn{font-size:20px;min-height:46px;padding:6px 4px;line-height:1.4}\r\n.cd-lesson #rate-rescue-game .message{font-size:20px;min-height:28px;margin:8px 0;line-height:1.5}\r\n\r\n.cd-lesson #speed-rescue-game>div{padding:14px;margin:12px auto;border-radius:18px}\r\n.cd-lesson #speed-rescue-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #speed-rescue-game .mode-area{font-size:18px;gap:6px;margin:8px 0}\r\n.cd-lesson #speed-rescue-game .mode-area label{min-height:44px;display:inline-flex;align-items:center}\r\n.cd-lesson #speed-rescue-game .status{font-size:18px;margin:8px 0}\r\n.cd-lesson #speed-rescue-game .problem-card{padding:12px;border-radius:14px}\r\n.cd-lesson #speed-rescue-game .problem,.cd-lesson #speed-rescue-game .story{font-size:22px;line-height:1.65;margin:8px 0}\r\n.cd-lesson #speed-rescue-game .direction,.cd-lesson #speed-rescue-game .mission{font-size:18px;margin:4px 0}\r\n.cd-lesson #speed-rescue-game .answer-row{font-size:20px;margin:8px 0}\r\n.cd-lesson #speed-rescue-game .answer-box{font-size:24px;min-height:46px;padding:6px 10px;margin:8px auto;line-height:1.4}\r\n.cd-lesson #speed-rescue-game .keypad{gap:6px;margin:10px auto;max-width:420px}\r\n.cd-lesson #speed-rescue-game .key-btn{font-size:20px;min-height:46px;padding:6px 4px;line-height:1.4}\r\n.cd-lesson #speed-rescue-game .message{font-size:20px;min-height:28px;margin:8px 0;line-height:1.5}\r\n\r\n.cd-lesson #box-formula-game>div{padding:14px;margin:12px auto;border-radius:18px}\r\n.cd-lesson #box-formula-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #box-formula-game .mode-area{font-size:18px;gap:6px;margin:8px 0}\r\n.cd-lesson #box-formula-game .mode-area label{min-height:44px;display:inline-flex;align-items:center}\r\n.cd-lesson #box-formula-game .status{font-size:18px;margin:8px 0}\r\n.cd-lesson #box-formula-game .problem-card{padding:12px;border-radius:14px}\r\n.cd-lesson #box-formula-game .problem,.cd-lesson #box-formula-game .story{font-size:22px;line-height:1.65;margin:8px 0}\r\n.cd-lesson #box-formula-game .direction,.cd-lesson #box-formula-game .mission{font-size:18px;margin:4px 0}\r\n.cd-lesson #box-formula-game .answer-row{font-size:20px;margin:8px 0}\r\n.cd-lesson #box-formula-game .answer-box{font-size:24px;min-height:46px;padding:6px 10px;margin:8px auto;line-height:1.4}\r\n.cd-lesson #box-formula-game .keypad{gap:6px;margin:10px auto;max-width:420px}\r\n.cd-lesson #box-formula-game .key-btn{font-size:20px;min-height:46px;padding:6px 4px;line-height:1.4}\r\n.cd-lesson #box-formula-game .message{font-size:20px;min-height:28px;margin:8px 0;line-height:1.5}\r\n.cd-lesson #rate-change-game .problem{font-size:32px}.cd-lesson #speed-rescue-game .scene{font-size:38px;margin:4px 0}.cd-lesson #box-formula-game .key-btn.check,.cd-lesson #box-formula-game .key-btn.back{font-size:18px}\r\n\r\n.cd-lesson #story-order-game .sog-game{padding:14px;margin:12px auto}\r\n.cd-lesson #story-order-game .sog-title{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #story-order-game .sog-lead,.cd-lesson #story-order-game .sog-instruction{font-size:18px;line-height:1.6;margin:8px 0}\r\n.cd-lesson #story-order-game .sog-progress{margin:8px auto}\r\n.cd-lesson #story-order-game .sog-card{padding:12px;margin-top:12px}\r\n.cd-lesson #story-order-game .sog-topic{font-size:22px;margin:0 0 8px}\r\n.cd-lesson #story-order-game .sog-item,.cd-lesson #story-order-game .sog-answer-box{font-size:20px;line-height:1.6;min-height:48px;padding:8px 12px}\r\n.cd-lesson #story-order-game .sog-answer-row{min-height:48px;margin:6px 0;gap:8px}\r\n.cd-lesson #story-order-game .sog-label{font-size:18px;min-height:48px;padding:8px}\r\n.cd-lesson #story-order-game .sog-pool-title,.cd-lesson #story-order-game .sog-answer-title{font-size:18px;margin:10px 0 6px}\r\n.cd-lesson #story-order-game .sog-actions{margin:10px 0;gap:8px}\r\n.cd-lesson #story-order-game .sog-actions button{min-height:44px;font-size:20px;padding:8px 16px}\r\n.cd-lesson #story-order-game .sog-message{min-height:28px;margin-top:8px;font-size:20px}\r\n.cd-lesson #number-hunter-game.number-hunter{padding:14px;margin:12px auto}\r\n.cd-lesson #number-hunter-game h2{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #number-hunter-game .rule{font-size:18px;margin:8px 0}\r\n.cd-lesson #number-hunter-game .target-box{padding:10px;margin:8px 0}\r\n.cd-lesson #number-hunter-game .target-number{font-size:38px;line-height:1.3}\r\n.cd-lesson #number-hunter-game .stars{font-size:28px;margin:6px 0}\r\n.cd-lesson #number-hunter-game .status{font-size:20px;margin:6px 0}\r\n.cd-lesson #number-hunter-game .card-grid{gap:8px;margin:10px 0}\r\n.cd-lesson #number-hunter-game .calc-card{font-size:24px;min-height:60px;padding:10px}\r\n.cd-lesson #number-hunter-game .next-btn{font-size:20px;min-height:44px;padding:8px 18px}\r\n.cd-lesson #three-hint-quiz-game .three-hint-game,.cd-lesson #syrup-memory-game .memory-game{padding:14px;margin:12px auto}\r\n.cd-lesson #three-hint-quiz-game h2,.cd-lesson #syrup-memory-game h2{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #three-hint-quiz-game .game-lead,.cd-lesson #syrup-memory-game .lead{font-size:18px;line-height:1.6;margin:8px 0}\r\n.cd-lesson #three-hint-quiz-game .question-card{padding:12px;margin:10px 0}\r\n.cd-lesson #three-hint-quiz-game .hint{font-size:20px;padding:8px;margin:6px 0}\r\n.cd-lesson #three-hint-quiz-game .choice-btn{font-size:24px;min-height:52px;padding:8px}\r\n.cd-lesson #three-hint-quiz-game .result,.cd-lesson #three-hint-quiz-game .message{font-size:20px;min-height:28px;margin:8px 0}\r\n.cd-lesson #syrup-memory-game .stage{padding:12px;margin:10px 0}\r\n.cd-lesson #syrup-memory-game .pad{width:110px;height:110px;font-size:44px}\r\n.cd-lesson #syrup-memory-game .pads{gap:12px;margin:10px auto}\r\n.cd-lesson #syrup-memory-game .status{font-size:20px;margin:8px 0}\r\n.cd-lesson #syrup-memory-game .result{min-height:28px;font-size:20px;margin:8px 0}\r\n.cd-lesson #connect-word-game .connect-game{padding:14px;margin:12px auto}\r\n.cd-lesson #connect-word-game h2{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #connect-word-game .question{padding:10px;margin:10px 0}\r\n.cd-lesson #connect-word-game .question-word{font-size:28px;margin:6px 0}\r\n.cd-lesson #connect-word-game .buttons{gap:8px}\r\n.cd-lesson #connect-word-game .choice{padding:8px;min-height:44px}\r\n.cd-lesson #connect-word-game .choice-img{max-width:76px;height:auto;margin:0 auto 6px}\r\n.cd-lesson #connect-word-game .choice-main{font-size:20px}\r\n.cd-lesson #connect-word-game .choice-yomi{font-size:16px}\r\n.cd-lesson #connect-word-game .info-box{padding:12px;margin-top:16px}\r\n.cd-lesson #connect-word-game .info-item{padding:10px;margin:8px 0}\r\n.cd-lesson #connect-word-game .info-title,.cd-lesson #connect-word-game .info-text,.cd-lesson #connect-word-game .info-example{font-size:18px;line-height:1.6}\r\n.cd-lesson #connect-word-game .info-img-small{width:48px;height:auto}\r\n.cd-lesson #pref-kanji-game .pref-game{padding:14px;margin:12px auto}\r\n.cd-lesson #pref-kanji-game h2{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #pref-kanji-game .game-lead{font-size:18px;line-height:1.6;margin:8px 0}\r\n.cd-lesson #pref-kanji-game .question-box{padding:10px;margin:10px 0}\r\n.cd-lesson #pref-kanji-game .question-title{font-size:20px;margin:6px 0}\r\n.cd-lesson #pref-kanji-game .kanji-btn{font-size:28px;min-height:54px;padding:8px 16px}\r\n.cd-lesson #koji-game .koji-game{padding:14px;margin:12px auto}\r\n.cd-lesson #koji-game h2{font-size:24px;margin:0 0 8px}\r\n.cd-lesson #koji-game .question-card{padding:12px;margin:10px 0}\r\n.cd-lesson #koji-game .question-label,.cd-lesson #koji-game .question-yomi{font-size:18px;margin:6px 0}\r\n.cd-lesson #koji-game .choice{padding:12px;font-size:20px}\r\n.cd-lesson #koji-game .mode-btn,.cd-lesson #koji-game .hint-btn{font-size:18px;min-height:44px;padding:8px 12px}\r\n.cd-lesson #water-mission .wg-wrap{padding:14px}\r\n.cd-lesson #water-mission .wg-header{padding:0 0 8px}\r\n.cd-lesson #water-mission .wg-hero{padding:10px 0;gap:10px}\r\n.cd-lesson #water-mission .wg-hero h2{font-size:26px;line-height:1.5}\r\n.cd-lesson #water-mission .wg-hero-stamp{display:none}\r\n.cd-lesson #water-mission .wg-intro{font-size:18px;margin:6px 0;line-height:1.6}\r\n.cd-lesson #water-mission .wg-course-bar{padding:8px 0;margin:8px 0}\r\n.cd-lesson #water-mission .wg-console-top{padding:10px}\r\n.cd-lesson #water-mission .wg-lab,.cd-lesson #water-mission .wg-brief,.cd-lesson #water-mission .wg-answer-pane{padding:12px}\r\n.cd-lesson #water-mission .wg-scene{max-width:440px;margin:0 auto}\r\n.cd-lesson #water-mission .wg-target{margin:6px 0}\r\n.cd-lesson #water-mission .wg-target strong{font-size:36px}\r\n.cd-lesson #water-mission .wg-question{font-size:22px;line-height:1.6;margin:10px 0}\r\n.cd-lesson #water-mission .wg-goal-box,.cd-lesson #water-mission .wg-conditions{padding:10px;margin:8px 0}\r\n\r\n#post-13152 .cdl-game .cdl-long .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}\r\n#post-13146 .cdl-game .cdl-long .cdl-choices{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}\r\n:is(#post-13054,#post-13058,#post-13062) .cdl-game .cdl-focus-drawing{max-width:320px;margin:0 auto}\r\n@media(max-width:520px){#post-13152 .cdl-game .cdl-long .cdl-choices,#post-13146 .cdl-game .cdl-long .cdl-choices{grid-template-columns:1fr}}\r\n.cd-lesson #water-mission{container-type:inline-size}\r\n@container(min-width:580px){.cd-lesson #water-mission .wg-play-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.cd-lesson #water-mission .wg-lab,.cd-lesson #water-mission .wg-mission{min-width:0}.cd-lesson #water-mission .wg-scene{width:100%;max-width:100%}.cd-lesson #water-mission .wg-question{font-size:20px}.cd-lesson #water-mission .wg-target strong{font-size:32px}}\r\n\r\n\r\n@container(min-width:580px){.cd-lesson #water-mission .wg-lab{grid-column:1;grid-row:1}.cd-lesson #water-mission .wg-mission{display:block;grid-column:2;grid-row:1}.cd-lesson #water-mission .wg-brief,.cd-lesson #water-mission .wg-answer-pane{grid-area:auto}}\r\n\r\n\/* Compact active question screens *\/\r\n.cd-lesson #ratio-table-game .ratio-game,.cd-lesson #decimal-fraction-game .df-game{padding:14px;margin:12px auto;border-radius:18px}\r\n.cd-lesson #ratio-table-game h2,.cd-lesson #decimal-fraction-game h2{font-size:24px;line-height:1.5;margin:0 0 8px}\r\n.cd-lesson #ratio-table-game .ratio-top,.cd-lesson #decimal-fraction-game .df-top{margin:8px 0;gap:6px}\r\n.cd-lesson #ratio-table-game .ratio-badge,.cd-lesson #decimal-fraction-game .df-badge{font-size:16px;padding:6px 10px}\r\n.cd-lesson #ratio-table-game .ratio-story{font-size:20px;line-height:1.6;padding:10px;margin:10px 0}\r\n.cd-lesson #ratio-table-game .ratio-table-wrap{margin:10px 0}\r\n.cd-lesson #ratio-table-game .ratio-table th,.cd-lesson #ratio-table-game .ratio-table td{padding:8px 6px;font-size:20px;height:auto;min-width:44px}\r\n.cd-lesson #ratio-table-game .ratio-question-box{padding:10px;margin:10px 0}\r\n.cd-lesson #ratio-table-game .ratio-question{font-size:20px;line-height:1.6}\r\n.cd-lesson #ratio-table-game .ratio-choices,.cd-lesson #decimal-fraction-game .df-choices{gap:8px;margin:10px 0}\r\n.cd-lesson #ratio-table-game .ratio-choice,.cd-lesson #decimal-fraction-game .df-choice{font-size:22px;min-height:52px;padding:10px}\r\n.cd-lesson #ratio-table-game .ratio-message,.cd-lesson #decimal-fraction-game .df-message{font-size:20px;min-height:28px;margin:8px 0}\r\n.cd-lesson #decimal-fraction-game .df-card{padding:12px;margin:10px 0}\r\n.cd-lesson #decimal-fraction-game .df-decimal{font-size:34px;margin:6px 0}\r\n.cd-lesson #decimal-fraction-game .df-question{font-size:20px;margin:8px 0}\r\n.cd-lesson #decimal-fraction-game .df-fraction{font-size:28px;margin:10px auto;line-height:1.4}\r\n<\/style>\r\n<!-- Chicodori: fold explanation after the bird balloon (2026-10-19) -->\r\n<style>\r\n.cd-lesson .cd-instructions-fold{margin:22px 0 28px;border:2px solid var(--cd-border,#cbdfe5);border-radius:16px;background:#fff;overflow:hidden}\r\n.cd-lesson .cd-instructions-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:16px 20px;background:var(--cd-soft,#f2f9fb);color:var(--cd-ink,#254452);font-size:19px;font-weight:bold;line-height:1.65;min-height:54px;box-sizing:border-box}\r\n.cd-lesson .cd-instructions-fold>summary::-webkit-details-marker{display:none}\r\n.cd-lesson .cd-instructions-fold>summary:after{content:'\uff0b';font-size:24px;line-height:1;flex:none}\r\n.cd-lesson .cd-instructions-fold[open]>summary:after{content:'\u2212'}\r\n.cd-lesson .cd-instructions-fold>summary:focus-visible{outline:3px solid #276887;outline-offset:-4px}\r\n.cd-lesson .cd-instructions-body{padding:4px 20px 16px}\r\n.cd-lesson .cd-instructions-body>:first-child.wp-block-spacer,.cd-lesson .cd-instructions-body>:last-child.wp-block-spacer{display:none}\r\n@media(max-width:600px){.cd-lesson .cd-instructions-fold>summary{font-size:18px;padding:14px 16px}.cd-lesson .cd-instructions-body{padding:4px 16px 12px}}\r\n@media print{.cd-lesson .cd-instructions-fold>.cd-instructions-body{display:block!important}}\r\n<\/style>\r\n<script>\r\n(function(){\r\n  function foldInstructions(){\r\n    document.querySelectorAll('.cd-lesson .cd-content').forEach(function(content){\r\n      if(content.querySelector('.cd-instructions-fold'))return;\r\n      var balloon=Array.from(content.children).find(function(node){\r\n        return node.matches('.wp-block-word-balloon-word-balloon-block') &&\r\n          Array.from(node.querySelectorAll('img')).some(function(img){return \/\\\/(?:chico\\.jpg|chicodori-san[^\/]*\\.(?:png|jpg))(?:[?#]|$)\/i.test(img.getAttribute('src')||'');});\r\n      });\r\n      if(!balloon)return;\r\n      var nodes=[],next=balloon.nextSibling;\r\n      var protectedSelector='.wp-block-word-balloon-word-balloon-block,.cdr-route,.cjr-route,.cd-play,.cd-related,.cd-method,details,iframe,video,audio,canvas,form,button,input,select,script,style,#remix';\r\n      while(next){\r\n        if(next.nodeType===1 && (next.matches(protectedSelector)||next.querySelector(protectedSelector)))break;\r\n        nodes.push(next);next=next.nextSibling;\r\n      }\r\n      if(!nodes.some(function(node){return node.nodeType===1 && (node.textContent.trim()||node.querySelector('img'));}))return;\r\n      var details=document.createElement('details');details.className='cd-instructions-fold';\r\n      var summary=document.createElement('summary');summary.textContent='\u904a\u3073\u65b9\u30fb\u304f\u308f\u3057\u3044\u8aac\u660e';\r\n      var body=document.createElement('div');body.className='cd-instructions-body';\r\n      details.appendChild(summary);details.appendChild(body);\r\n      balloon.parentNode.insertBefore(details,nodes[0]);\r\n      nodes.forEach(function(node){body.appendChild(node);});\r\n      \/\/ Existing anchor links still reveal their destination inside the folded area.\r\n      function revealHash(){\r\n        var id;try{id=decodeURIComponent(location.hash.slice(1));}catch(e){return;}\r\n        var target=id && document.getElementById(id);\r\n        if(target && body.contains(target)){details.open=true;target.scrollIntoView();}\r\n      }\r\n      window.addEventListener('hashchange',revealHash);revealHash();\r\n    });\r\n  }\r\n  if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',foldInstructions,{once:true});\r\n  else foldInstructions();\r\n})();\r\n<\/script>\r\n\r\n<style>\r\n\/* WordPress\u901a\u5e38\u30d6\u30ed\u30c3\u30af\u7248\u306e\u6559\u6750\u30d8\u30c3\u30c0\u30fc *\/\r\n.cd-lesson.wp-block-group .cd-hero > .wp-block-group__inner-container{display:contents}\r\n.cd-lesson.wp-block-group .cd-hero .cd-mascot{margin:0}\r\n<\/style>\r\n\r\n<style>\r\n\/* \u901a\u5e38\u30d6\u30ed\u30c3\u30af\u306e\u30d8\u30c3\u30c0\u30fc\u3068\u3001\u904a\u3073\u65b9\u306e\u958b\u9589\u898b\u51fa\u3057 *\/\r\n:is(.cd-lesson,.cd-chicoratch) .cd-hero.wp-block-group>.wp-block-group__inner-container{display:contents}\r\n:is(.cd-lesson,.cd-chicoratch) .cd-hero.wp-block-group .cd-mascot{margin:0}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions{max-width:660px;margin:24px auto;border:2px solid #94becd;border-radius:16px;background:#f5fafc;padding:0;overflow:hidden}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;min-height:58px;padding:14px 18px;background:#e0f1f7;color:#244c60;font-size:21px;font-weight:700;line-height:1.6}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>summary::-webkit-details-marker{display:none}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>summary::after{content:\"\uff0b\";flex:none;font-size:26px;line-height:1}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions[open]>summary::after{content:\"\u2212\"}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>:not(summary){margin-left:18px;margin-right:18px}\r\n:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>summary:focus-visible{outline:3px solid #286983;outline-offset:-4px}\r\n@media(max-width:600px){:is(.cd-lesson,.cd-chicoratch) details.cd-instructions>summary{font-size:19px;padding:12px 14px}}\r\n<\/style>\r\n\r\n<style>\r\n.cd-lesson .cd-kid-steps.wp-block-group>.wp-block-group__inner-container,.cd-lesson .cd-kid-step.wp-block-group>.wp-block-group__inner-container{display:contents}\r\n.cd-lesson .cd-native-step-13799-0{--kid-line:#efcf8e;--kid-bg:#ffedb8}\r\n.cd-lesson .cd-native-step-13799-1{--kid-line:#b9dce7;--kid-bg:#def3fa}\r\n.cd-lesson .cd-native-step-13799-2{--kid-line:#c7deb3;--kid-bg:#eaf4d9}\r\n<\/style>\r\n\r\n<!-- cd-feedback-sound-v1: 2026-10-19. Restore the pre-sound backup to undo. -->\r\n<style>\r\n.cd-lesson .cd-feedback-audio-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:660px;margin:12px auto;color:#526c77;font-size:14px;line-height:1.6}\r\n.cd-lesson .cd-feedback-audio-toggle{min-height:42px;padding:6px 16px;border:2px solid #648e9c;border-radius:999px;background:#fff;color:#254452;font:700 16px\/1.5 sans-serif;cursor:pointer;text-transform:none;letter-spacing:0}\r\n.cd-lesson .cd-feedback-audio-toggle[aria-pressed=\"false\"]{background:#f3f4f6;color:#5b6470;border-color:#9ca3af}\r\n.cd-lesson .cd-feedback-audio-toggle:focus-visible{outline:3px solid #2563eb;outline-offset:3px}\r\n<\/style>\r\n<script>\r\n(function(){\r\n'use strict';\r\nconst configurations={\"12008\":{\"message\":\"#result\",\"positive\":\"\"},\"12011\":{\"message\":\"#result\",\"positive\":\"\"},\"12014\":{\"message\":\"#result\",\"positive\":\"\"},\"12017\":{\"message\":\"\",\"positive\":\"button.correct\",\"negative\":\"button.wrong\"},\"12061\":{\"message\":\"#message\",\"positive\":\"#message.correct\",\"negative\":\"#message.wrong\"},\"12067\":{\"message\":\"#message\",\"positive\":\"#message.correct\",\"negative\":\"#message.wrong\"},\"12076\":{\"message\":\"#message\",\"positive\":\"\"},\"12080\":{\"message\":\"#message\",\"positive\":\"\"},\"12083\":{\"message\":\"#message\",\"positive\":\"\",\"badText\":\"\u5c0f\u6570\u70b9\u306e\u53f3\u306f\u4f55\u3051\u305f|\u5206\u5b50\u306f\u5408\u3063\u3066\u3044\u307e\u3059|\u5206\u6bcd\u306f\u5408\u3063\u3066\u3044\u307e\u3059\"},\"12085\":{\"message\":\"#message\",\"positive\":\"\"},\"12091\":{\"message\":\"#message\",\"positive\":\"\"},\"12093\":{\"message\":\"#message\",\"positive\":\"\"},\"12095\":{\"message\":\"#message\",\"positive\":\"\"},\"12099\":{\"message\":\"#message\",\"positive\":\"\"},\"12101\":{\"message\":\"#message\",\"positive\":\"\"},\"12103\":{\"message\":\"#message\",\"positive\":\"\"},\"12105\":{\"message\":\"#message\",\"positive\":\"\"},\"12111\":{\"message\":\"#message\",\"positive\":\"\"},\"12113\":{\"message\":\"#message\",\"positive\":\"\"},\"12117\":{\"message\":\"#result,#message\",\"positive\":\"\"},\"12119\":{\"message\":\"#result\",\"positive\":\"\"},\"12121\":{\"message\":\"#status\",\"positive\":\".correct\",\"negative\":\".wrong\"},\"12123\":{\"message\":\"#result\",\"positive\":\"\"},\"12128\":{\"message\":\"#result\",\"positive\":\".correct-overlay\",\"negative\":\"#result.bad\"},\"12174\":{\"message\":\"#result\",\"positive\":\".correct-overlay\"},\"12236\":{\"message\":\"#result\",\"positive\":\".correct-overlay\",\"negative\":\"button.wrong\"},\"12384\":{\"message\":\"#result\",\"positive\":\".correct-overlay\"},\"12392\":{\"message\":\"#result\",\"positive\":\".correct-overlay\"},\"12396\":{\"message\":\"#stepMessage,#result\",\"positive\":\".correct-overlay\"},\"12398\":{\"message\":\"#result\",\"positive\":\".correct-overlay\"},\"12410\":{\"message\":\"#boxeqResult\",\"positive\":\".boxeq-correct\"},\"12413\":{\"message\":\"#changeResult\",\"positive\":\".change-correct\"},\"12419\":{\"message\":\"\",\"positive\":\".dq-choice.correct\",\"negative\":\".dq-choice.wrong\"},\"12423\":{\"message\":\"\",\"positive\":\".wtg-choice.correct\",\"negative\":\".wtg-choice.wrong\"},\"12427\":{\"message\":\"#cwgResult\",\"positive\":\".cwg-correct\"},\"12585\":{\"message\":\"#bngMessage\",\"positive\":\".bng-correct-overlay\"},\"12590\":{\"message\":\"#dkgMessage\",\"positive\":\".dkg-correct-overlay\"},\"12593\":{\"message\":\"#rmgMessage\",\"positive\":\".rmg-correct-overlay\"},\"12606\":{\"message\":\"#mwgMessage\",\"positive\":\".mwg-correct-overlay\"},\"12617\":{\"message\":\"#owgMessage\",\"positive\":\".owg-correct-overlay\"},\"12638\":{\"message\":\"#srkMessage\",\"positive\":\"\"},\"12645\":{\"message\":\"#swgMessage\",\"positive\":\"\"},\"12648\":{\"message\":\"#sogMessage\",\"positive\":\".sog-correct-overlay\"},\"12901\":{\"message\":\"#wg-feedback\",\"positive\":\"#wg-feedback.is-correct\",\"negative\":\"#wg-feedback.is-retry\"},\"13054\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13056\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13058\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13060\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13062\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13064\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13066\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13068\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13071\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13073\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13142\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13144\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13146\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13148\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13150\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13152\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13154\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"},\"13156\":{\"message\":\".cdl-feedback\",\"positive\":\".cdl-feedback.is-correct\",\"negative\":\".cdl-feedback.is-wrong\"}};\r\nconst sources={correct:\"https:\/\/chicodori.net\/wp-content\/uploads\/2026\/10\/Quiz-Correct_Answer01-1.mp3\",wrong:\"https:\/\/chicodori.net\/wp-content\/uploads\/2026\/10\/Quiz-Wrong_Buzzer02-1.mp3\"};\r\nfunction mountSound(lesson){\r\n const pageID=lesson.dataset.originalPost||(document.body.className.match(\/(?:^|\\s)postid-(\\d+)(?:\\s|$)\/)||[])[1];\r\n const config=configurations[pageID];\r\n const mount=lesson.querySelector('.cd-game-mount')||lesson.querySelector('.cdl-game');\r\n if(!config||!mount||lesson.querySelector('.cd-feedback-audio-bar,.cd-sound-controls'))return;\r\n let enabled=true;\r\n try{enabled=localStorage.getItem('chicodori-feedback-muted')!=='1';}catch(error){}\r\n const bar=document.createElement('div');bar.className='cd-feedback-audio-bar';\r\n const toggle=document.createElement('button');toggle.type='button';toggle.className='cd-feedback-audio-toggle';toggle.setAttribute('aria-label','\u52b9\u679c\u97f3');\r\n const note=document.createElement('span');note.textContent='\u6b63\u89e3\u30fb\u4e0d\u6b63\u89e3\u306e\u97f3';bar.append(toggle,note);mount.before(bar);\r\n const clips={};\r\n Object.keys(sources).forEach(function(name){const clip=document.createElement('audio');clip.src=sources[name];clip.preload='auto';clip.volume=.5;clip.hidden=true;clip.dataset.feedbackSound=name;bar.appendChild(clip);clips[name]=clip;});\r\n function stop(){Object.values(clips).forEach(function(clip){clip.pause();try{clip.currentTime=0;}catch(error){}});}\r\n function refresh(){toggle.textContent=enabled?'\u97f3\u3042\u308a':'\u97f3\u306a\u3057';toggle.setAttribute('aria-pressed',String(enabled));}\r\n toggle.addEventListener('click',function(){enabled=!enabled;stop();refresh();note.textContent='\u6b63\u89e3\u30fb\u4e0d\u6b63\u89e3\u306e\u97f3';try{localStorage.setItem('chicodori-feedback-muted',enabled?'0':'1');}catch(error){}});refresh();\r\n let lastTime=-1000;\r\n let cdlCorrectPlayed=false;\r\n function play(name){if(!enabled)return;const now=performance.now();if(now-lastTime<180)return;lastTime=now;stop();bar.dataset.lastFeedback=name;const pending=clips[name].play();if(pending&&pending.catch)pending.catch(function(){note.textContent='\u97f3\u3092\u518d\u751f\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f';});}\r\n const good=\/^(?:[\ud83c\udf89\u2728\ud83c\udf38\ud83d\udcae\u2605\u2606\\s]*)(?:\u6b63\u89e3[\uff01!]|\u305b\u3044\u304b\u3044[\uff01!]|\u306f\u306a\u307e\u308b|\u30ec\u30b9\u30ad\u30e5\u30fc\u6210\u529f|\u304f\u3082\u308f\u30ad\u30e3\u30c3\u30c1\u6210\u529f|\u30ad\u30e3\u30c3\u30c1[\uff01!]|\u767a\u898b[\uff01!]|PERFECT[\uff01!])\/;\r\n const bad=\/^(?:\u3056\u3093\u306d\u3093|\u6b8b\u5ff5|\u3061\u304c\u3046|\u3082\u3046(?:\u4e00\u56de|\u3044\u3063\u304b\u3044|\u4e00\u5ea6|\u3044\u3061\u3069)[\uff01!]|\u3082\u3046(?:\u4e00\u5ea6|\u3044\u3061\u3069)(?: |\u3000)*(?:\u8003\u3048\u3066|\u304b\u3093\u304c\u3048\u3066)|\u3058\u3085\u3093\u3070\u3093\u304c \u3061\u304c\u3046|\u305d\u308c\u306f\u516c\u7d04\u6570\u3058\u3083\u306a\u3044)\/;\r\n const extraBad=config.badText?new RegExp('^(?:'+config.badText+')'):null;\r\n function matches(node,selector){return !!selector&&node.nodeType===1&&node.matches(selector);}\r\n function invalidPrompt(node){return \/^(?:\u6570\u5b57\u3092\u5165\u308c\u3066|1\u301c60\u306e\u6574\u6570\u3092\u5165\u308c\u3066|\u307e\u3060 \u25a1|\u307e\u3060 \u3048\u3089\u3093\u3067|\u5206\u5b50\u3068\u5206\u6bcd\u306e\u4e21\u65b9)\/.test(node.textContent.trim());}\r\n function textState(node){if(!matches(node,config.message)||invalidPrompt(node))return '';const text=node.textContent.trim();if(matches(node,config.negative))return 'wrong';if(matches(node,config.positive))return 'correct';if(bad.test(text)||(extraBad&&extraBad.test(text)))return 'wrong';if(good.test(text))return 'correct';return '';}\r\n const watch=[config.message,config.positive,config.negative].filter(Boolean).join(',');\r\n const observer=new MutationObserver(function(records){\r\n  let positive=false,negative=false;\r\n  function classify(node,classes){if(!node||node.nodeType!==1)return;const text=textState(node);if(text==='wrong')negative=true;if(text==='correct')positive=true;if(classes){if(matches(node,config.negative)&&!invalidPrompt(node))negative=true;if(matches(node,config.positive))positive=true;}}\r\n  records.forEach(function(record){\r\n   if(record.type==='attributes'){\r\n    const node=record.target,old=node.cloneNode(false);old.setAttribute('class',record.oldValue||'');\r\n    if(matches(node,config.negative)&&!matches(old,config.negative)&&!invalidPrompt(node))negative=true;\r\n    if(matches(node,config.positive)&&!matches(old,config.positive))positive=true;\r\n    return;\r\n   }\r\n   let parent=record.target.nodeType===1?record.target:record.target.parentElement;\r\n   if(parent){const message=config.message?parent.closest(config.message):null;if(message&&mount.contains(message))classify(message,false);}\r\n   record.addedNodes.forEach(function(node){if(node.nodeType!==1)return;classify(node,true);if(watch)node.querySelectorAll(watch).forEach(function(child){classify(child,true);});});\r\n  });\r\n  \/\/ \u5171\u901a\u6559\u6750\u306e\u6b63\u89e3\u8868\u793a\u306f\u7d19\u3075\u3076\u304d\u306e\u524a\u9664\u3067\u3082\u5909\u5316\u3059\u308b\u30021\u56de\u7b54\u306e\u6b63\u89e3\u97f3\u306f1\u56de\u3060\u3051\u3002\r\n  const cdlFeedback=mount.querySelector('.cdl-feedback');\r\n  if(cdlFeedback){\r\n   if(!cdlFeedback.classList.contains('is-correct'))cdlCorrectPlayed=false;\r\n   if(positive){if(cdlCorrectPlayed)positive=false;else cdlCorrectPlayed=true;}\r\n  }\r\n  if(negative)play('wrong');else if(positive)play('correct');\r\n });\r\n observer.observe(mount,{subtree:true,childList:true,characterData:true,attributes:true,attributeFilter:['class'],attributeOldValue:true});\r\n window.addEventListener('pagehide',stop,{once:true});\r\n}\r\nfunction start(){setTimeout(function(){document.querySelectorAll('.cd-lesson').forEach(mountSound);},0);}\r\nif(document.readyState==='loading')document.addEventListener('DOMContentLoaded',start,{once:true});else start();\r\n})();\r\n<\/script>\r\n<style>\/* 2026-10-25 \u8a18\u4e8b\u672c\u6587\u306e\u5e45\u3092\u4f7f\u3046\u3002\u30b5\u30a4\u30c8\u3068\u53f3\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u5e45\u306f\u5909\u66f4\u3057\u306a\u3044\u3002 *\/\r\n#main .cd-lesson .cd-play,#main .cd-lesson .cd-copy{width:100%;max-width:100%;box-sizing:border-box}\r\n<\/style>\r\n<style>#main .cd-lesson .cd-game-mount,#main .cd-lesson .cd-features,#main .cd-lesson details.cd-instructions,#main .cd-lesson .cd-feedback-audio-bar{width:100%;max-width:100%;box-sizing:border-box}#main .cd-lesson .cdl-game{width:100%;max-width:100%;margin-left:0;margin-right:0}<\/style>\t\n\n<style>.cd-lesson .en-howto p,.cd-lesson .en-howto li{font-size:22px!important;line-height:1.65}.cd-lesson .en-howto li{margin:0 0 12px}.cd-lesson .cd-game-summary p{font-size:22px;line-height:1.6}<\/style><div class=\"cd-lesson\" lang=\"en\"><header class=\"cd-hero\"><div class=\"cd-hero-title\"><nav class=\"cd-tags\" aria-label=\"Activity location\"><a href=\"https:\/\/chicodori.net\/index.php\/en\/math-games\/\">Math<\/a> \u00b7 <a href=\"https:\/\/chicodori.net\/index.php\/en\/math-games\/?route=relations&#038;level=3&#038;station=relations-6-2\">Direct &#038; inverse proportion<\/a><\/nav><h1 class=\"cd-title\">Fill the Tank!<\/h1><\/div><\/header><section class=\"cd-copy cd-game-summary\"><h2>What is this game?<\/h2><p>Predict how long to run the water or how many taps to use.<br>Start the experiment and compare the results.<\/p><\/section><section class=\"cd-play\"><h2 class=\"cd-section-title\">Let\u2019s give it a try!<\/h2><div class=\"cd-like\"><div class=\"ifw_wrap ifw_center\"><button class=\"ifw_btn\" data-postid=\"15791\" data-buttoncount=\"1\">\u3053\u308c\u597d\u304d<span class=\"material-symbols-rounded\">favorite<\/span><span class=\"ifw_count\" id=\"ifw_count_15791_1\">0<\/span><\/button><div class=\"ifw_message_wrap ifw_top_left\" id=\"ifw_message_15791_1\"><div class=\"ifw_message\"><div class=\"ifw_text\"><p class=\"ifw_processing\">\u9001\u4fe1\u4e2d\u3067\u3059<\/p><\/div><\/div><div class=\"ifw_arrow\"><\/div><\/div><div class=\"ifw_message_wrap ifw_top_left ifw_thanks\" id=\"ifw_thanks_15791_1\"><div class=\"ifw_close\" data-id=\"15791_1\">\u00d7<\/div><div class=\"ifw_message\"><div class=\"ifw_image\"><img decoding=\"async\" src=\"\" id=\"ifw_image_15791_1\"><\/div><div class=\"ifw_text\" id=\"ifw_showmessage_15791_1\"><\/div><\/div><div class=\"ifw_arrow\"><\/div><\/div><\/div><\/div><div class=\"cd-game-mount\"><style data-wp-block-html=\"css\">\n.wg-embed-host{container-type:inline-size;container-name:wg-post;width:100%;margin:24px 0}\n.water-game{--wg-ink:#243c49;--wg-muted:#6c7e83;--wg-blue:#2258b9;--wg-aqua:#2399b4;--wg-line:#dfe7e2;box-sizing:border-box;background-color:#f6f8f4;background-image:radial-gradient(#dce5dd 1px,transparent 1px);background-size:22px 22px;color:var(--wg-ink);font-family:\"Yu Gothic\",\"Hiragino Kaku Gothic ProN\",\"Meiryo\",sans-serif;font-size:15px;line-height:1.75;min-height:100vh;padding:0 26px;isolation:isolate;overflow:hidden}\n.water-game *,.water-game *::before,.water-game *::after{box-sizing:border-box}\n.water-game button,.water-game input{font:inherit;color:inherit}\n.water-game button{cursor:pointer;border:0;line-height:1.4;touch-action:manipulation;transition:background .16s,transform .16s,box-shadow .16s}\n.water-game button:hover:not(:disabled){transform:translateY(-1px)}\n.water-game button:active:not(:disabled){transform:translateY(1px)}\n.water-game button:disabled{cursor:default;opacity:.65}\n.water-game :focus-visible{outline:3px solid #eea83f;outline-offset:4px}\n.water-game [hidden]{display:none!important}\n.water-game p,.water-game #wg-title,.water-game h2,.water-game ol{margin:0}\n.water-game svg{display:block}\n.water-game .wg-wrap{max-width:1080px;margin:0 auto}\n.water-game .wg-header{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--wg-line)}\n.water-game .wg-brand{display:flex;gap:10px;align-items:center;font-size:23px;font-weight:800;letter-spacing:.03em;color:#278aab;line-height:1.4}\n.water-game .wg-brand svg{width:31px;height:38px}\n.water-game .wg-brand-sub{display:block;font-size:9px;color:#718584;font-weight:500;letter-spacing:.09em;margin-top:3px}\n.water-game .wg-help{background:#fff;border:1px solid #d6e0da;border-radius:30px;padding:11px 18px;font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center}\n.water-game .wg-help>span{border:1.5px solid #6a8683;width:20px;height:20px;border-radius:50%;font-size:13px;line-height:17px;text-align:center}\n.water-game .wg-hero{display:flex;justify-content:space-between;align-items:center;padding:36px 0 29px}\n.water-game .wg-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:#6e8484}\n.water-game #wg-title{font-size:clamp(27px,3.5vw,42px);font-weight:800;letter-spacing:.025em;line-height:1.55;margin:8px 0 9px}\n.water-game .wg-title-water{color:#2199b5;position:relative}\n.water-game .wg-title-water::after{content:\"\";height:7px;background:#a7dedf;border-radius:10px;position:absolute;left:1px;right:1px;bottom:-4px}\n.water-game .wg-spark{font-size:27px;color:#e1b346;display:inline-block;transform:translate(12px,-11px)}\n.water-game .wg-intro{font-size:14px;letter-spacing:.03em;color:#687c80;line-height:1.9}\n.water-game .wg-mobile-break{display:none}\n.water-game .wg-hero-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:113px;height:113px;border:1px solid #afccbf;outline:1px solid #afccbf;outline-offset:-6px;border-radius:50%;font-size:11px;line-height:1.5;letter-spacing:.08em;color:#537d68;background:#f5f8ee;transform:rotate(9deg);margin-right:13px}\n.water-game .wg-hero-stamp strong{font-size:19px;letter-spacing:.06em}\n.water-game .wg-hero-stamp svg{width:57px;height:10px;margin-top:4px}\n.water-game .wg-course-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}\n.water-game .wg-course-tabs{display:flex;gap:5px;background:#e9eee8;border:1px solid #dfe5de;padding:5px;border-radius:13px}\n.water-game .wg-course-tabs button{background:transparent;color:#657a7c;border-radius:8px;padding:10px 22px;display:flex;align-items:center;gap:8px;min-height:43px;font-size:14px;font-weight:700}\n.water-game .wg-course-tabs button[aria-pressed=true]{background:#fff;color:var(--wg-blue);box-shadow:0 2px 6px #213d3410}\n.water-game .wg-course-tabs button[data-mode=inverse][aria-pressed=true]{color:#ae6b42}\n.water-game .wg-course-icon{font-size:19px;line-height:1}\n.water-game .wg-course-note{font-size:12px;letter-spacing:.03em;color:#738681}\n.water-game .wg-console{background:#fff;border:1px solid #dbe5dd;border-radius:21px;box-shadow:0 12px 34px #344d3210;overflow:hidden}\n.water-game .wg-console-top{height:69px;padding:0 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--wg-line);gap:12px}\n.water-game .wg-mission-id{display:flex;gap:9px;align-items:baseline;font-size:10px;letter-spacing:.12em;font-weight:700;color:#85958d;white-space:nowrap}\n.water-game .wg-mission-id strong{color:var(--wg-ink);font-size:20px;letter-spacing:.06em}\n.water-game .wg-mission-id>span{font-size:11px;font-weight:400;letter-spacing:.04em}\n.water-game .wg-progress{display:flex;gap:7px;list-style:none;padding:0}\n.water-game .wg-progress li{width:24px;height:24px;border:1px solid #e0e7e1;border-radius:50%;color:#90a096;background:#f4f7f2;text-align:center;line-height:22px;font-size:10px;font-weight:700}\n.water-game .wg-progress li.is-current{background:#2258b9;color:white;border-color:#2258b9;box-shadow:0 0 0 4px #e8eefb}\n.water-game .wg-progress li.is-complete{color:#388b79;background:#e3f2eb;border-color:#d1e8dd}\n.water-game .wg-score{display:flex;align-items:center;gap:7px;font-size:11px;color:#8b9790;white-space:nowrap}\n.water-game .wg-score>span:first-child{color:#e5b242;font-size:19px}\n.water-game .wg-score strong{font-size:20px;color:#48564c;font-variant-numeric:tabular-nums}\n.water-game .wg-play-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(325px,1fr)}\n.water-game .wg-lab{background:#f4f8f4;position:relative;padding:22px 26px 18px;display:flex;flex-direction:column;justify-content:space-between}\n.water-game .wg-lab-top{display:flex;justify-content:space-between;align-items:center;gap:10px}\n.water-game .wg-lab-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.06em;color:#6a8778}\n.water-game .wg-lab-label i{width:6px;height:6px;border-radius:50%;background:#82b28a}\n.water-game .wg-pace{font-size:10px;color:#8b9e90}\n.water-game .wg-scene{position:relative;margin-top:4px}\n.water-game .wg-tank-svg{width:100%;height:auto;min-height:250px;font-family:inherit;overflow:visible}\n.water-game .wg-scene-message{position:absolute;top:5px;left:50%;transform:translateX(-50%);font-size:11px;line-height:1.5;color:#6b817a;white-space:nowrap}\n.water-game .wg-streams{display:none}\n.water-game.is-running .wg-streams{display:block;animation:wg-stream 1s linear infinite}\n.water-game .wg-bubbles{fill:#b5e8ef;opacity:0}\n.water-game.is-success .wg-bubbles{opacity:.7}\n.water-game.is-success .wg-drop-mascot{animation:wg-hop .45s ease 2}\n.water-game.is-overflow .wg-scene-message{color:#ae6b42}\n.water-game .wg-instruments{border:1px solid #dce5da;border-radius:12px;background:#ffffff90;display:grid;grid-template-columns:repeat(3,1fr);padding:12px 4px;position:relative;margin-top:1px}\n.water-game .wg-instruments>div{text-align:center;line-height:1.5;border-right:1px solid #e1e7df}\n.water-game .wg-instruments>div:last-child{border-right:0}\n.water-game .wg-instruments span{font-size:10px;letter-spacing:.04em;color:#7c8d81;display:block;margin-bottom:3px}\n.water-game .wg-instruments strong{font-size:23px;letter-spacing:.04em;font-weight:700;font-variant-numeric:tabular-nums}\n.water-game .wg-instruments small{font-size:11px;font-weight:500;margin-left:5px}\n.water-game .wg-lab-footnote{font-size:9px;letter-spacing:.03em;line-height:1.7;color:#819187;margin-top:12px;text-align:center}\n.water-game .wg-mission{border-left:1px solid var(--wg-line);padding:28px 31px 25px;min-height:515px}\n.water-game .wg-type-label{display:inline-block;padding:3px 10px;border-radius:5px;color:#3085a0;background:#eaf6f7;font-size:10px;font-weight:700;letter-spacing:.06em}\n.water-game .wg-type-label.is-inverse{background:#faf0e6;color:#ac784a}\n.water-game .wg-target{display:flex;align-items:baseline;gap:8px;margin:7px 0 9px;line-height:1.4;white-space:nowrap}\n.water-game .wg-target strong{font-size:45px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}\n.water-game .wg-target>span{font-size:20px;font-weight:700;letter-spacing:.02em}\n.water-game .wg-question{font-size:13px;line-height:1.95;min-height:60px;color:#64767d}\n.water-game .wg-question strong{color:#324e5d;font-weight:700}\n.water-game .wg-rate-note{display:block;font-size:10px;color:#8a999b;margin:3px 0 -8px}\n.water-game .wg-input-label{display:block;font-size:12px;font-weight:700;letter-spacing:.03em;margin:20px 0 9px}\n.water-game .wg-stepper{display:flex;align-items:center;gap:14px;width:100%}\n.water-game .wg-stepper>button{width:45px;height:49px;background:#f2f5f1;border:1px solid #dfe6dd;border-radius:10px;font-size:21px;flex:none;color:#6a8279}\n.water-game .wg-stepper>button:hover:not(:disabled){background:#e9f0e6}\n.water-game .wg-stepper>div{display:flex;justify-content:center;align-items:baseline;flex:1;border-bottom:2px solid #dde7e8;min-width:0;padding-bottom:5px}\n.water-game .wg-stepper input{color:var(--wg-blue);text-align:center;width:90px;max-width:75%;font-size:39px;font-weight:700;line-height:1.2;background:transparent;border:0;border-radius:5px;padding:2px 0;appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums}\n.water-game .wg-stepper input::-webkit-inner-spin-button,.water-game .wg-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n.water-game .wg-stepper>div>span{font-size:14px;color:#637e87;font-weight:700;margin-left:2px}\n.water-game .wg-input-note{font-size:9px;color:#98a49e;text-align:center;margin:7px 0 15px}\n.water-game .wg-start,.water-game .wg-next{width:100%;min-height:49px;padding:12px 18px;border-radius:10px;background:var(--wg-blue);color:#fff;font-size:14px;font-weight:700;letter-spacing:.04em;display:flex;justify-content:center;align-items:center;gap:10px;box-shadow:0 4px 0 #1a4797}\n.water-game .wg-start svg{width:15px;height:15px}\n.water-game .wg-start:hover:not(:disabled){background:#1b4da8;box-shadow:0 5px 0 #1a4797}\n.water-game .wg-next{background:#2b8976;box-shadow:0 4px 0 #216c5c}\n.water-game .wg-next:hover{background:#247968}\n.water-game .wg-next>span{margin-left:10px;font-size:19px}\n.water-game .wg-feedback{margin-top:18px;padding:10px 12px;background:#f6f8f4;border:1px solid #e8eee5;border-radius:9px;min-height:43px;font-size:11px;line-height:1.8;color:#859184}\n.water-game .wg-feedback.is-correct{background:#edf8ef;color:#4a7765;border-color:#d9ebdd}\n.water-game .wg-feedback.is-retry{background:#fff6e9;border-color:#f1e1c9;color:#937046}\n.water-game .wg-result-heading{font-size:12px;font-weight:700;line-height:1.8;display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 4px}\n.water-game .wg-earned-stars{color:#d8a12c;letter-spacing:.03em}\n.water-game .wg-equation{font-weight:700;margin-top:4px;font-size:11px}\n.water-game .wg-relationship{font-size:10px;margin-top:5px;padding-top:6px;border-top:1px solid #d9ebdd}\n.water-game .wg-hint-toggle{background:transparent;padding:8px 0 3px;font-size:10px;color:#829386;display:flex;gap:6px;align-items:center;margin:5px auto 0;text-decoration:underline;text-underline-offset:3px}\n.water-game .wg-hint-toggle>span{font-size:17px;text-decoration:none;display:inline-block}\n.water-game .wg-hint{margin-top:10px;padding:10px;border:1px solid #e6ece2;background:#fafbf6;border-radius:8px;font-size:10px;color:#6f826f;line-height:1.8}\n.water-game .wg-hint table{border-collapse:collapse;text-align:center;width:100%;margin-top:8px;font-size:10px;font-variant-numeric:tabular-nums}\n.water-game .wg-hint td,.water-game .wg-hint th{border:1px solid #dce4d7;padding:4px 3px}\n.water-game .wg-hint th{font-weight:500;background:#eef3e9}\n.water-game .wg-hint td{background:#fff;min-width:30px}\n.water-game .wg-learning-notes{display:grid;grid-template-columns:1fr 1fr auto;gap:25px;align-items:center;padding:27px 22px 25px}\n.water-game .wg-learning-notes>div{display:flex;align-items:center;gap:12px}\n.water-game .wg-note-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:50%;font-size:27px;line-height:1;border:1px solid #c8e2e4}\n.water-game .wg-note-prop{color:#4e9ca6;background:#e8f3f1}\n.water-game .wg-note-inverse{color:#b0865c;background:#f8f0e6;border-color:#eaddca}\n.water-game .wg-learning-notes p{line-height:1.65}\n.water-game .wg-learning-notes strong{font-size:12px;display:block;margin-bottom:4px}\n.water-game .wg-learning-notes p>span{font-size:11px;color:#7c8d83;display:block}\n.water-game .wg-learning-notes>button{color:#8b9b8d;background:transparent;border-left:1px solid #dce4d9;padding:7px 0 7px 22px;text-align:left;font-size:10px;line-height:1.8}\n.water-game .wg-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--wg-line);padding:20px 0 26px;font-size:10px;letter-spacing:.09em;color:#92a394}\n.water-game .wg-footer>span{font-size:9px;letter-spacing:.14em}\n.water-game .wg-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.water-game .wg-dialog{border:1px solid #dae5dd;border-radius:21px;color:var(--wg-ink);width:min(510px,calc(100vw - 32px));padding:0;box-shadow:0 20px 80px #18383b30;max-height:calc(100dvh - 40px);font:inherit;background:#fff}\n.water-game .wg-dialog::backdrop{background:#263e4960;backdrop-filter:blur(4px)}\n.water-game .wg-dialog-inner{padding:35px;position:relative}\n.water-game .wg-close{position:absolute;right:13px;top:12px;width:36px;height:36px;border-radius:50%;background:#f1f5ef;font-size:23px;color:#71877c;line-height:1}\n.water-game .wg-dialog h2{font-size:22px;line-height:1.6;margin:7px 0 19px}\n.water-game .wg-howto{list-style:none;counter-reset:wg-howto;padding:0}\n.water-game .wg-howto li{counter-increment:wg-howto;position:relative;padding-left:35px;margin:0 0 16px;font-size:12px}\n.water-game .wg-howto li::before{content:counter(wg-howto);position:absolute;left:0;top:1px;width:25px;height:25px;line-height:25px;text-align:center;border-radius:50%;background:#eaf2f9;color:#41669b;font-weight:700}\n.water-game .wg-howto p{font-size:11px;color:#7a8a81;margin-top:2px}\n.water-game .wg-help-concepts{background:#f2f7f2;padding:13px 15px;border-radius:10px;font-size:11px;line-height:1.8;color:#5c7a6b}\n.water-game .wg-help-concepts p+p{margin-top:10px}\n.water-game .wg-star-guide{font-size:10px;color:#8c9d91;margin:15px 0 23px}\n.water-game .wg-results-dialog{text-align:center}\n.water-game .wg-result-medal{margin:0 auto 18px;width:80px;height:80px;border-radius:50%;background:#fff3cf;border:5px double #eed6a0;color:#dea936;display:flex;align-items:center;justify-content:center;font-size:38px;line-height:1}\n.water-game .wg-results-dialog h2{font-size:21px;margin:8px 0 12px}\n.water-game .wg-result-message{font-size:12px;color:#71877b;line-height:1.8}\n.water-game .wg-final-score{display:flex;gap:10px;align-items:baseline;justify-content:center;margin:15px 0 0;line-height:1.5}\n.water-game .wg-final-score>span:first-child{font-size:27px;color:#dfa92e}\n.water-game .wg-final-score strong{font-size:49px;color:#385b65;font-variant-numeric:tabular-nums}\n.water-game .wg-final-score>span:last-child{font-size:17px;color:#a1afa4}\n.water-game .wg-best{font-size:10px;color:#9daa9f;margin-bottom:23px}\n.water-game .wg-secondary{background:transparent;border:1px solid #d7e3d9;border-radius:10px;min-height:47px;padding:10px;font-size:12px;color:#5d7a6f;font-weight:700;width:100%;margin-top:13px}\n@keyframes wg-stream{to{stroke-dashoffset:-36}}\n@keyframes wg-hop{50%{transform:translateY(-7px)}}\n@container wg-post (min-width:1280px){.water-game .wg-hero{padding-top:41px;padding-bottom:32px}.water-game .wg-lab{padding-left:32px;padding-right:32px}.water-game .wg-mission{padding:31px 36px 25px}}\n@container wg-post (max-width:850px){.water-game{padding:0 20px}.water-game .wg-header{height:87px}.water-game .wg-hero{padding-top:27px}.water-game #wg-title{font-size:31px}.water-game .wg-hero-stamp{width:91px;height:91px;font-size:9px;margin-right:0}.water-game .wg-hero-stamp strong{font-size:15px}.water-game .wg-play-grid{grid-template-columns:minmax(0,1.15fr) minmax(302px,1fr)}.water-game .wg-lab{padding:18px 14px}.water-game .wg-mission{padding:24px 23px 22px}.water-game .wg-target strong{font-size:39px}.water-game .wg-target>span{font-size:18px}.water-game .wg-learning-notes{padding-left:8px;padding-right:8px;gap:14px}.water-game .wg-note-icon{width:36px;height:36px;font-size:24px}.water-game .wg-learning-notes>div{gap:9px}.water-game .wg-learning-notes>button{padding-left:12px}.water-game .wg-learning-notes p>span{font-size:10px}}\n@container wg-post (max-width:680px){.water-game{padding:0 16px}.water-game .wg-header{height:76px}.water-game .wg-brand{font-size:19px}.water-game .wg-brand svg{width:26px;height:32px}.water-game .wg-brand-sub{font-size:8px}.water-game .wg-help{padding:8px 11px;font-size:11px}.water-game .wg-help>span{width:18px;height:18px;font-size:11px;line-height:15px}.water-game .wg-hero{padding:23px 0 24px;gap:10px}.water-game .wg-eyebrow{font-size:9px;letter-spacing:.08em}.water-game #wg-title{font-size:clamp(23px,5.2vw,32px);margin-top:9px;white-space:nowrap}.water-game .wg-spark{font-size:17px;transform:translate(5px,-8px)}.water-game .wg-intro{font-size:11px;line-height:1.8}.water-game .wg-hero-stamp{display:none}.water-game .wg-course-bar{display:block;margin-bottom:13px}.water-game .wg-course-tabs{width:100%;padding:4px;gap:4px}.water-game .wg-course-tabs button{flex:1;justify-content:center;padding:9px 8px;font-size:13px;min-height:42px}.water-game .wg-course-note{font-size:10px;margin-top:8px;text-align:right}.water-game .wg-console{border-radius:15px}.water-game .wg-console-top{height:58px;padding:0 16px;gap:8px}.water-game .wg-mission-id{font-size:8px;gap:5px;letter-spacing:.07em}.water-game .wg-mission-id strong{font-size:17px}.water-game .wg-mission-id>span{font-size:9px}.water-game .wg-progress{gap:5px}.water-game .wg-progress li{width:19px;height:19px;line-height:17px;font-size:8px}.water-game .wg-progress li.is-current{box-shadow:0 0 0 3px #e8eefb}.water-game .wg-score{font-size:9px;gap:4px}.water-game .wg-score strong{font-size:17px}.water-game .wg-score>span:first-child{font-size:15px}.water-game .wg-play-grid{grid-template-columns:1fr}.water-game .wg-lab{padding:16px 18px 12px}.water-game .wg-lab-top{max-width:500px;width:100%;margin:0 auto}.water-game .wg-pace{font-size:9px}.water-game .wg-scene{max-width:450px;width:100%;margin:6px auto -6px}.water-game .wg-tank-svg{min-height:0}.water-game .wg-scene-message{top:5px;font-size:10px}.water-game .wg-instruments{max-width:480px;width:100%;margin:0 auto;padding:10px 4px}.water-game .wg-instruments span{font-size:9px}.water-game .wg-instruments strong{font-size:21px}.water-game .wg-lab-footnote{font-size:8px;line-height:1.5;margin-top:8px}.water-game .wg-lab-footnote br{display:none}.water-game .wg-mission{border-left:0;border-top:1px solid var(--wg-line);padding:23px 24px 24px;min-height:0}.water-game .wg-target{margin:6px 0 7px}.water-game .wg-target strong{font-size:40px}.water-game .wg-question{min-height:0;font-size:13px;line-height:1.9}.water-game .wg-input-label{margin-top:18px}.water-game .wg-stepper{gap:18px;max-width:360px;margin:0 auto}.water-game .wg-stepper>button{width:51px;height:49px}.water-game .wg-stepper input{font-size:37px}.water-game .wg-input-note{font-size:9px;margin-bottom:15px}.water-game .wg-start,.water-game .wg-next{min-height:50px}.water-game .wg-feedback{font-size:12px;padding:12px;margin-top:17px}.water-game .wg-result-heading{font-size:13px}.water-game .wg-equation{font-size:12px}.water-game .wg-relationship{font-size:11px}.water-game .wg-hint-toggle{font-size:11px}.water-game .wg-hint{font-size:11px}.water-game .wg-hint table{font-size:11px}.water-game .wg-learning-notes{grid-template-columns:1fr 1fr;gap:17px 10px;padding:24px 2px 19px}.water-game .wg-learning-notes>div{gap:8px;align-items:flex-start}.water-game .wg-note-icon{width:30px;height:30px;font-size:20px;margin-top:2px}.water-game .wg-learning-notes strong{font-size:11px;margin-bottom:3px}.water-game .wg-learning-notes p>span{font-size:9px}.water-game .wg-learning-notes>button{grid-column:1\/-1;text-align:center;border:0;padding:4px 0;font-size:10px}.water-game .wg-learning-notes>button br{display:none}.water-game .wg-footer{padding:16px 0 20px;font-size:8px;letter-spacing:0}.water-game .wg-footer>span{font-size:8px;letter-spacing:.08em}.water-game .wg-dialog-inner{padding:31px 24px}.water-game .wg-dialog h2{font-size:19px}.water-game .wg-results-dialog h2{font-size:19px}}\n@container wg-post (max-width:370px){.water-game{padding:0 10px}.water-game #wg-title{font-size:22px}.water-game .wg-mobile-break{display:block}.water-game .wg-console-top{padding:0 10px}.water-game .wg-progress{gap:4px}.water-game .wg-mission{padding:20px}.water-game .wg-learning-notes p>span{font-size:8px}.water-game .wg-note-icon{width:25px;height:25px;font-size:18px}}\n.water-game .wg-goal-box{margin:12px 0 17px;background:#fff8e9;border:1px solid #eddbb7;border-radius:12px;padding:12px 17px}\n.water-game .wg-section-label{font-size:12px;font-weight:700;letter-spacing:.03em;color:#657b79;line-height:1.5}\n.water-game .wg-goal-box .wg-section-label{color:#977038;font-size:11px;display:flex;gap:7px;align-items:center}\n.water-game .wg-goal-box .wg-section-label>span{font-size:17px;line-height:1}\n.water-game .wg-goal-box .wg-target{margin:3px 0 0;gap:8px;line-height:1.25}\n.water-game .wg-goal-box .wg-target strong{font-size:47px;color:#6f522b}\n.water-game .wg-goal-box .wg-target>span{font-size:24px;color:#6f522b}\n.water-game .wg-goal-box .wg-target small{margin-left:auto;font-size:12px;line-height:1.5;letter-spacing:.03em;color:#997b50;font-weight:700;align-self:center}\n.water-game .wg-condition-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:10px;margin-top:8px}\n.water-game .wg-condition-grid>div{background:#f4f7f3;border:1px solid #dbe5dc;border-radius:10px;padding:12px 9px 11px;text-align:center;line-height:1.5;min-width:0}\n.water-game .wg-condition-grid>div.wg-flow-condition{background:#edf8fa;border:2px solid #afdce4;padding:11px 8px 10px}\n.water-game .wg-condition-grid>div>span{display:block;font-size:10px;font-weight:700;color:#6b8384;margin-bottom:5px;white-space:nowrap}\n.water-game .wg-condition-grid strong{display:flex;justify-content:center;align-items:baseline;gap:5px;font-size:28px;font-weight:800;line-height:1.3;color:#3f6158;white-space:nowrap}\n.water-game .wg-condition-grid b{font-weight:800;font-variant-numeric:tabular-nums}\n.water-game .wg-condition-grid small{font-size:13px;font-weight:700}\n.water-game .wg-flow-condition strong{color:#167997}\n.water-game .wg-question{font-size:15px;min-height:0;line-height:1.8;margin-top:17px;color:#607b80}\n.water-game .wg-question strong{color:#254c60}\n.water-game .wg-input-label{font-size:13px;margin-top:15px}\n.water-game .wg-flow-banner{background:#e8f7f7;border:1px solid #b9dfe1;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:13px;align-self:center;padding:7px 20px;margin:20px 0 4px;color:#247d8e;line-height:1.4}\n.water-game .wg-flow-banner>span{font-size:11px;font-weight:700}\n.water-game .wg-flow-banner>strong{font-size:14px}\n.water-game .wg-flow-banner b{font-size:23px;font-weight:800;vertical-align:baseline;font-variant-numeric:tabular-nums}\n@container wg-post (max-width:850px) and (min-width:681px){.water-game .wg-condition-grid{gap:7px}.water-game .wg-condition-grid>div>span{font-size:9px}.water-game .wg-condition-grid strong{font-size:26px;gap:3px}.water-game .wg-condition-grid small{font-size:12px}.water-game .wg-flow-banner{padding:7px 12px;gap:8px}.water-game .wg-flow-banner>span{font-size:10px}}\n@container wg-post (max-width:680px){.water-game .wg-mission{display:contents}.water-game .wg-brief{grid-row:1;padding:20px 23px 19px;background:#fff;border-bottom:1px solid var(--wg-line)}.water-game .wg-lab{grid-row:2}.water-game .wg-answer-pane{grid-row:3;padding:20px 23px 22px;background:#fff;border-top:1px solid var(--wg-line)}.water-game .wg-goal-box{margin:10px 0 15px;padding:11px 16px}.water-game .wg-goal-box .wg-target strong{font-size:42px}.water-game .wg-goal-box .wg-target>span{font-size:22px}.water-game .wg-condition-grid{gap:10px}.water-game .wg-condition-grid>div{padding:11px 9px}.water-game .wg-condition-grid>div.wg-flow-condition{padding:10px 8px}.water-game .wg-condition-grid>div>span{font-size:11px}.water-game .wg-condition-grid strong{font-size:29px}.water-game .wg-condition-grid small{font-size:14px}.water-game .wg-question{font-size:15px;margin-top:14px;line-height:1.8}.water-game .wg-input-label{font-size:13px;margin-top:0}.water-game .wg-flow-banner{margin:14px 0 5px;padding:6px 17px}.water-game .wg-flow-banner b{font-size:21px}.water-game .wg-section-label{font-size:12px}}\n@container wg-post (max-width:370px){.water-game .wg-brief,.water-game .wg-answer-pane{padding-left:18px;padding-right:18px}.water-game .wg-condition-grid>div>span{font-size:10px}.water-game .wg-condition-grid strong{font-size:27px}.water-game .wg-condition-grid small{font-size:12px}.water-game .wg-question{font-size:14px}}\n.water-game.is-inverse-mode .wg-flow-banner,.water-game.is-inverse-mode .wg-scene,.water-game.is-inverse-mode .wg-instruments{display:none}\n.water-game.is-inverse-mode .wg-lab{justify-content:flex-start}\n.water-game .wg-inverse-view{width:100%;margin:23px 0 0}\n.water-game .wg-compare-eyebrow{font-size:11px;color:#9b7044;font-weight:700;letter-spacing:.06em}\n.water-game .wg-compare-title{font-size:19px;line-height:1.5;margin:5px 0 14px;color:#345563;font-weight:800;letter-spacing:.01em;font-family:inherit}\n.water-game .wg-compare-title>span{color:#bd8a53;font-size:23px}\n.water-game .wg-compare-title br{display:none}\n.water-game .wg-compare-constant{padding:10px 13px;border:1px solid #e5d4b1;border-radius:9px;background:#fff7e6;font-size:12px;color:#8b7047;text-align:center;line-height:1.7}\n.water-game .wg-compare-constant strong{font-size:20px;font-weight:800;color:#745321;margin:0 3px}\n.water-game .wg-compare-clock{display:flex;justify-content:space-between;align-items:center;margin:16px 0 10px;padding:8px 0;border-bottom:1px solid #dce6df;font-size:10px;color:#7b9085;gap:8px;line-height:1.5}\n.water-game .wg-compare-clock strong{font-size:17px;color:#456d6f;font-variant-numeric:tabular-nums}\n.water-game .wg-compare-headings,.water-game .wg-compare-row{display:grid;grid-template-columns:98px 72px minmax(0,1fr);align-items:center;gap:17px}\n.water-game .wg-compare-headings{font-size:10px;color:#7d8e83;font-weight:700;text-align:center;margin-bottom:7px}\n.water-game .wg-compare-headings>span:last-child{text-align:left}\n.water-game .wg-compare-rows{display:flex;flex-direction:column;gap:10px}\n.water-game .wg-compare-row{border:1px solid #dce7df;border-radius:12px;background:#fff;padding:13px 15px;min-height:120px}\n.water-game .wg-compare-row.is-selected{border:2px solid #d8b482;padding:12px 14px;background:#fffaf0}\n.water-game .wg-compare-count{text-align:center;line-height:1.5;color:#41785f}\n.water-game .wg-compare-count svg{width:21px;height:21px;margin:0 auto 3px;color:#83aa94}\n.water-game .wg-compare-count strong{display:block;font-size:27px;font-weight:800;font-variant-numeric:tabular-nums}\n.water-game .wg-compare-count small{font-size:13px;margin-left:4px;font-weight:700}\n.water-game .wg-compare-count>span{display:block;font-size:9px;color:#819787;white-space:nowrap}\n.water-game .wg-compare-row.is-selected .wg-compare-count>span{color:#a07944;font-weight:700}\n.water-game .wg-compare-tank{width:62px;height:90px;background:#f3faf8;border:2px solid #b8ceca;border-radius:9px;overflow:hidden;position:relative;justify-self:center}\n.water-game .wg-compare-water{position:absolute;bottom:0;left:0;right:0;height:0;background:linear-gradient(#64c9df,#2ca5cf);border-top:3px solid #9ae3e7}\n.water-game .wg-compare-stop{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:23px;height:23px;line-height:23px;text-align:center;border-radius:50%;background:#f6fffa;color:#348674;font-size:15px;font-weight:800;opacity:0}\n.water-game .is-finished .wg-compare-stop{opacity:1}\n.water-game .wg-compare-timing{min-width:0;line-height:1.5}\n.water-game .wg-compare-timing>strong{display:flex;align-items:baseline;gap:5px;font-size:29px;font-weight:800;color:#29599b;font-variant-numeric:tabular-nums;white-space:nowrap}\n.water-game .wg-compare-timing b{font-weight:800}\n.water-game .wg-compare-timing small{font-size:12px;font-weight:700}\n.water-game .wg-compare-status{display:block;font-size:10px;line-height:1.6;color:#92a294;white-space:nowrap}\n.water-game .is-finished .wg-compare-status{color:#378472;font-weight:700}\n.water-game .wg-time-track{height:6px;border-radius:5px;background:#edf2ee;width:100%;overflow:hidden;margin-top:8px}\n.water-game .wg-time-track i{display:block;height:100%;width:0;border-radius:5px;background:#70a8d4}\n.water-game .is-finished .wg-time-track i{background:#61ac92}\n.water-game .wg-compare-message{font-size:11px;line-height:1.8;color:#7b8d7d;padding:12px 3px 0}\n.water-game.is-inverse-mode .wg-conditions .wg-section-label{font-size:15px;color:#395769}\n.water-game.is-inverse-mode .wg-goal-box .wg-target strong{font-size:32px}\n.water-game.is-inverse-mode .wg-goal-box .wg-target>span{font-size:20px}\n.water-game.is-inverse-mode .wg-goal-box .wg-target small{font-size:10px}\n.water-game.is-inverse-mode .wg-condition-grid strong{font-size:34px}\n.water-game.is-inverse-mode .wg-condition-grid{grid-template-columns:1fr 1.2fr}\n.water-game.is-inverse-mode .wg-fixed-condition>span{white-space:normal}\n.water-game.is-inverse-mode .wg-fixed-condition{background:#f3f1e8;border-color:#e2d8bc}\n.water-game.is-inverse-mode .wg-fixed-condition strong{color:#856431}\n.water-game.is-inverse-mode .wg-lab-footnote{margin-top:auto;padding-top:19px}\n@container wg-post (max-width:850px) and (min-width:681px){.water-game .wg-compare-headings,.water-game .wg-compare-row{grid-template-columns:62px 52px minmax(0,1fr);gap:11px}.water-game .wg-compare-row{padding:12px 10px}.water-game .wg-compare-row.is-selected{padding:11px 9px}.water-game .wg-compare-tank{width:48px;height:77px}.water-game .wg-compare-timing>strong{font-size:24px;gap:3px}.water-game .wg-compare-headings{font-size:8px}.water-game .wg-compare-count strong{font-size:25px}.water-game .wg-compare-count>span{font-size:8px}.water-game .wg-compare-title{font-size:16px}.water-game .wg-compare-title br{display:block}}\n@container wg-post (max-width:680px){.water-game .wg-inverse-view{margin-top:16px}.water-game .wg-compare-title{font-size:18px}.water-game .wg-compare-title br{display:block}.water-game .wg-compare-row,.water-game .wg-compare-headings{grid-template-columns:68px 55px minmax(0,1fr);gap:13px}.water-game .wg-compare-row{padding:11px 12px;min-height:105px}.water-game .wg-compare-row.is-selected{padding:10px 11px}.water-game .wg-compare-headings{font-size:9px}.water-game .wg-compare-tank{width:50px;height:77px}.water-game .wg-compare-timing>strong{font-size:24px;gap:3px}.water-game .wg-compare-count strong{font-size:25px}.water-game .wg-compare-constant{font-size:11px}.water-game .wg-compare-constant strong{font-size:19px}.water-game .wg-compare-count>span{font-size:8px}.water-game .wg-compare-message{font-size:11px}.water-game.is-inverse-mode .wg-lab-footnote{padding-top:7px}.water-game.is-inverse-mode .wg-fixed-condition>span{font-size:10px}}\n@container wg-post (max-width:370px){.water-game .wg-compare-headings,.water-game .wg-compare-row{grid-template-columns:55px 47px minmax(0,1fr);gap:9px}.water-game .wg-compare-row{padding:10px 9px}.water-game .wg-compare-row.is-selected{padding:9px 8px}.water-game .wg-compare-tank{width:43px;height:72px}.water-game .wg-compare-headings{font-size:8px}.water-game .wg-compare-timing>strong{font-size:22px}.water-game .wg-compare-status{font-size:9px}.water-game .wg-compare-title{font-size:17px}}\n@media(prefers-reduced-motion:reduce){.water-game *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}\n\n\/* \u6295\u7a3f\u306e taps\u6587\u5e45\u306b\u5408\u308f\u305b\u308b\u305f\u3081\u306e\u8a2d\u5b9a *\/\n.wg-embed-host .water-game{min-height:0;border-radius:16px;padding:0 18px}\n.wg-embed-host .wg-brand{display:none}\n.wg-embed-host .wg-header{height:auto;padding:15px 0 0;border:0;justify-content:flex-end}\n.wg-embed-host .wg-hero{padding:9px 0 23px}\n.wg-embed-host .water-game #wg-title{font-size:clamp(23px,4cqi,32px);font-family:inherit}\n.wg-embed-host .wg-hero-stamp{width:88px;height:88px;font-size:9px}\n.wg-embed-host .wg-hero-stamp strong{font-size:15px}\n.wg-embed-host .water-game h2{font-family:inherit}\n\n<\/style>\n<div class=\"wg-embed-host\">\n<section class=\"water-game\" id=\"water-mission\">\n  <div class=\"wg-wrap\">\n    <header class=\"wg-header\">\n      <div class=\"wg-brand\"><svg viewBox=\"0 0 32 38\" aria-hidden=\"true\"><path d=\"M16 2C12 10 3 17 3 24a13 13 0 0 0 26 0C29 17 20 10 16 2Z\" fill=\"#42b8d0\"\/><path d=\"M11 26q5 5 10 0\" fill=\"none\" stroke=\"#174a63\" stroke-width=\"2\" stroke-linecap=\"round\"\/><circle cx=\"11\" cy=\"21\" r=\"1.5\" fill=\"#174a63\"\/><circle cx=\"21\" cy=\"21\" r=\"1.5\" fill=\"#174a63\"\/><\/svg><span>Chicodori<span class=\"wg-brand-sub\">Learning is an adventure.<\/span><\/span><\/div>\n      <button class=\"wg-help\" type=\"button\" data-action=\"help\"><span aria-hidden=\"true\">?<\/span> How to play<\/button>\n    <\/header>\n\n    <section class=\"wg-hero\" aria-labelledby=\"wg-title\">\n      <div><p class=\"wg-eyebrow\">Math \u00b7 Direct &#038; inverse proportion<\/p><h2 id=\"wg-title\">Fill the <span class=\"wg-title-water\">Tank<\/span>!<span class=\"wg-spark\" aria-hidden=\"true\">\u2726<\/span><\/h2><p class=\"wg-intro\">Explore how taps and time work together.<br class=\"wg-mobile-break\">Fill the tank to exactly the target!<\/p><\/div>\n      <div class=\"wg-hero-stamp\" aria-hidden=\"true\"><span>Think<\/span><strong>Try<\/strong><span>Discover!<\/span><svg viewBox=\"0 0 90 14\"><path d=\"M2 8Q12 0 22 8T42 8T62 8T82 8\" stroke=\"currentColor\" fill=\"none\" stroke-width=\"3\" stroke-linecap=\"round\"\/><\/svg><\/div>\n    <\/section>\n\n    <nav class=\"wg-course-bar\" aria-label=\"Choose a course\">\n      <div class=\"wg-course-tabs\"><button type=\"button\" data-mode=\"proportional\" aria-pressed=\"true\"><span class=\"wg-course-icon\" aria-hidden=\"true\">\u2197<\/span> Direct<\/button><button type=\"button\" data-mode=\"inverse\" aria-pressed=\"false\"><span class=\"wg-course-icon\" aria-hidden=\"true\">\u2198<\/span> Inverse<\/button><button type=\"button\" data-mode=\"mixed\" aria-pressed=\"false\"><span class=\"wg-course-icon\" aria-hidden=\"true\">\u2726<\/span> Mixed<\/button><\/div>\n      <p class=\"wg-course-note\" id=\"wg-course-note\">5 missions \u00b7 time and water<\/p>\n    <\/nav>\n\n    <section class=\"wg-console\" aria-label=\"Water game\">\n      <div class=\"wg-console-top\"><div class=\"wg-mission-id\">MISSION <strong id=\"wg-mission-number\">01<\/strong><span id=\"wg-round-label\">\/ 05<\/span><\/div><ol class=\"wg-progress\" id=\"wg-progress\" aria-label=\"Mission progress\"><\/ol><div class=\"wg-score\"><span aria-hidden=\"true\">\u2605<\/span><strong id=\"wg-score\">0<\/strong><span id=\"wg-score-max\">\/ 15<\/span><\/div><\/div>\n      <div class=\"wg-play-grid\">\n        <div class=\"wg-lab\">\n          <div class=\"wg-lab-top\"><span class=\"wg-lab-label\"><i><\/i> WATER LAB<\/span><span class=\"wg-pace\">Take your time.<\/span><\/div>\n          <div class=\"wg-flow-banner\"><span>Per tap<\/span><strong>per second <b id=\"wg-flow-banner-rate\">2<\/b> L<\/strong><\/div>\n          <section class=\"wg-inverse-view\" id=\"wg-inverse-view\" aria-label=\"Compare taps and filling time\" hidden>\n            <p class=\"wg-compare-eyebrow\">For inverse proportion, compare<\/p>\n            <h3 class=\"wg-compare-title\">Number of taps <span aria-hidden=\"true\">\u2194<\/span><br>Filling time<\/h3>\n            <p class=\"wg-compare-constant\">Each tank holds <strong id=\"wg-compare-target\">24 L<\/strong> at every target<\/p>\n            <div class=\"wg-compare-clock\"><span>Start on the same clock<\/span><span>Elapsed <strong id=\"wg-compare-clock\">0<\/strong>  s<\/span><\/div>\n            <div class=\"wg-compare-headings\"><span>Number of taps<\/span><span>Same amount<\/span><span>Filling time<\/span><\/div>\n            <div class=\"wg-compare-rows\" id=\"wg-compare-rows\"><\/div>\n            <p class=\"wg-compare-message\" id=\"wg-compare-message\">Predict the time, then compare!<\/p>\n          <\/section>\n          <div class=\"wg-scene\">\n            <svg class=\"wg-tank-svg\" viewBox=\"0 0 580 402\" role=\"img\" aria-labelledby=\"wg-scene-title wg-scene-description\">\n              <title id=\"wg-scene-title\">Water tank<\/title><desc id=\"wg-scene-description\">See how much water your predicted time or number of taps produces.<\/desc>\n              <defs><linearGradient id=\"wg-water-gradient\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#56c7e4\"\/><stop offset=\"1\" stop-color=\"#209cd1\"\/><\/linearGradient><clipPath id=\"wg-tank-clip\"><rect x=\"145\" y=\"146\" width=\"262\" height=\"208\" rx=\"15\"\/><\/clipPath><\/defs>\n              <path d=\"M44 359H535\" stroke=\"#d3e1dd\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n              <path d=\"M36 119h27m-14-14v28M498 151h19m-9-9v19\" stroke=\"#cfe4da\" stroke-width=\"3\" stroke-linecap=\"round\"\/>\n              <circle cx=\"502\" cy=\"66\" r=\"6\" fill=\"#e0ede5\"\/><circle cx=\"81\" cy=\"73\" r=\"4\" fill=\"#e0ede5\"\/>\n              <ellipse cx=\"277\" cy=\"370\" rx=\"168\" ry=\"12\" fill=\"#d9e6e0\" opacity=\".5\"\/>\n              <rect x=\"129\" y=\"132\" width=\"294\" height=\"227\" rx=\"25\" fill=\"#fdfefe\" stroke=\"#bccfce\" stroke-width=\"3\"\/>\n              <rect x=\"145\" y=\"146\" width=\"262\" height=\"208\" rx=\"15\" fill=\"#f2f8f7\"\/>\n              <g clip-path=\"url(#wg-tank-clip)\"><rect id=\"wg-water-fill\" x=\"145\" y=\"354\" width=\"262\" height=\"0\" fill=\"url(#wg-water-gradient)\"\/><path id=\"wg-water-wave\" fill=\"#76daeb\" opacity=\".75\"\/><g class=\"wg-bubbles\"><circle cx=\"192\" cy=\"318\" r=\"5\"\/><circle cx=\"350\" cy=\"289\" r=\"4\"\/><circle cx=\"240\" cy=\"330\" r=\"3\"\/><circle cx=\"371\" cy=\"334\" r=\"6\"\/><\/g><\/g>\n              <g id=\"wg-streams\" class=\"wg-streams\"><\/g><g id=\"wg-faucets\"><\/g>\n              <g stroke=\"#b6cfce\" stroke-width=\"2\"><path d=\"M392 332h15M398 310h9M392 287h15M398 264h9M392 241h15M398 218h9M392 195h15M398 172h9\"\/><\/g>\n              <path d=\"M142 194H421\" stroke=\"#e18a38\" stroke-width=\"2\" stroke-dasharray=\"6 5\"\/>\n              <rect x=\"431\" y=\"177\" width=\"119\" height=\"36\" rx=\"18\" fill=\"#fff7e6\" stroke=\"#efd5a5\"\/><text id=\"wg-goal-svg\" x=\"490\" y=\"200\" text-anchor=\"middle\" fill=\"#946127\" font-size=\"14\" font-weight=\"700\">Target 12 L<\/text>\n              <text id=\"wg-litres-svg\" x=\"276\" y=\"281\" text-anchor=\"middle\" fill=\"#1b5576\" font-size=\"40\" font-weight=\"800\">0<tspan font-size=\"20\"> L<\/tspan><\/text>\n              <rect x=\"124\" y=\"348\" width=\"303\" height=\"12\" rx=\"6\" fill=\"#becfce\"\/><rect x=\"159\" y=\"360\" width=\"14\" height=\"10\" rx=\"3\" fill=\"#a6c0bf\"\/><rect x=\"382\" y=\"360\" width=\"14\" height=\"10\" rx=\"3\" fill=\"#a6c0bf\"\/>\n              <g class=\"wg-drop-mascot\"><path d=\"M71 233C61 251 44 265 44 281a28 28 0 0 0 56 0c0-16-18-30-29-48Z\" fill=\"#80d8df\"\/><path d=\"M54 272q0-10 8-16\" stroke=\"#bcf3ee\" stroke-width=\"4\" stroke-linecap=\"round\" fill=\"none\"\/><circle cx=\"62\" cy=\"281\" r=\"2.5\" fill=\"#265868\"\/><circle cx=\"82\" cy=\"281\" r=\"2.5\" fill=\"#265868\"\/><path id=\"wg-mascot-mouth\" d=\"M65 291q7 7 14 0\" stroke=\"#265868\" stroke-width=\"2.5\" fill=\"none\" stroke-linecap=\"round\"\/><circle cx=\"55\" cy=\"289\" r=\"4\" fill=\"#efa894\" opacity=\".7\"\/><circle cx=\"89\" cy=\"289\" r=\"4\" fill=\"#efa894\" opacity=\".7\"\/><path d=\"M52 306l-7 15m45-15 6 15\" stroke=\"#265868\" stroke-width=\"3\" stroke-linecap=\"round\"\/><\/g>\n              <path d=\"M480 342q-19-20-9-34 15 2 15 30m-3 7q0-29 20-28 4 16-18 28\" fill=\"#9ac9a6\"\/><path d=\"M466 343h35l-5 17h-25Z\" fill=\"#dcb98a\"\/>\n            <\/svg>\n            <p class=\"wg-scene-message\" id=\"wg-scene-message\">Predict, then press Start!<\/p>\n          <\/div>\n          <div class=\"wg-instruments\"><div><span>Number of taps<\/span><strong id=\"wg-taps-readout\">1<small> taps<\/small><\/strong><\/div><div><span>Elapsed time<\/span><strong id=\"wg-time-readout\">0<small> s<\/small><\/strong><\/div><div><span>Water collected<\/span><strong id=\"wg-water-readout\">0<small>L<\/small><\/strong><\/div><\/div>\n          <p class=\"wg-lab-footnote\">Every tap has the same flow rate.<br>The experiment plays faster than real time.<\/p>\n        <\/div>\n\n        <div class=\"wg-mission\">\n          <div class=\"wg-brief\">\n            <span class=\"wg-type-label\" id=\"wg-type-label\">Direct mission<\/span>\n            <div class=\"wg-goal-box\"><p class=\"wg-section-label\"><span aria-hidden=\"true\">\u25ce<\/span> <b id=\"wg-goal-caption\">Target water amount<\/b><\/p><h2 class=\"wg-target\"><strong id=\"wg-target-number\">12<\/strong><span>L<\/span><small id=\"wg-goal-message\">Fill to<br>the target!<\/small><\/h2><\/div>\n            <div class=\"wg-conditions\" aria-label=\"Known conditions\"><p class=\"wg-section-label\" id=\"wg-conditions-caption\">Known conditions<\/p><div class=\"wg-condition-grid\"><div class=\"wg-flow-condition\"><span id=\"wg-flow-label\">Flow per tap<\/span><strong><small id=\"wg-flow-prefix\">per second<\/small> <b id=\"wg-rate-number\">2<\/b><small id=\"wg-flow-unit\">L<\/small><\/strong><\/div><div class=\"wg-fixed-condition\"><span id=\"wg-fixed-label\">Taps used<\/span><strong><b id=\"wg-fixed-number\">1<\/b><small id=\"wg-fixed-unit\"> taps<\/small><\/strong><\/div><\/div><\/div>\n            <p class=\"wg-question\" id=\"wg-question\"><\/p>\n          <\/div>\n          <div class=\"wg-answer-pane\">\n          <form id=\"wg-form\" novalidate>\n            <label class=\"wg-input-label\" for=\"wg-answer\" id=\"wg-answer-label\">How many seconds?<\/label>\n            <div class=\"wg-stepper\"><button type=\"button\" data-action=\"minus\" aria-label=\"Decrease prediction by 1\">\u2212<\/button><div><input id=\"wg-answer\" type=\"number\" inputmode=\"numeric\" min=\"1\" max=\"60\" step=\"1\" value=\"1\" autocomplete=\"off\" aria-describedby=\"wg-input-note\"><span id=\"wg-answer-unit\"> s<\/span><\/div><button type=\"button\" data-action=\"plus\" aria-label=\"Increase prediction by 1\">\uff0b<\/button><\/div>\n            <p class=\"wg-input-note\" id=\"wg-input-note\">Use a whole number from 1 to 60.<\/p>\n            <button class=\"wg-start\" id=\"wg-start\" type=\"submit\"><svg viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path d=\"m6 3 11 7-11 7Z\" fill=\"currentColor\"\/><\/svg><span id=\"wg-start-text\">Start filling!<\/span><\/button>\n          <\/form>\n          <button class=\"wg-next\" id=\"wg-next\" type=\"button\" hidden>Next mission <span aria-hidden=\"true\">\u2192<\/span><\/button>\n          <div class=\"wg-feedback\" id=\"wg-feedback\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><p>Aim for exactly the target amount.<\/p><\/div>\n          <button class=\"wg-hint-toggle\" id=\"wg-hint-toggle\" type=\"button\" aria-expanded=\"false\" aria-controls=\"wg-hint\"><span aria-hidden=\"true\">\u2727<\/span> Show hint<\/button>\n          <div class=\"wg-hint\" id=\"wg-hint\" hidden><p id=\"wg-hint-text\"><\/p><table><caption class=\"wg-sr-only\">Table of related quantities<\/caption><tbody id=\"wg-hint-table\"><\/tbody><\/table><\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <div class=\"wg-learning-notes\"><div><span class=\"wg-note-icon wg-note-prop\" aria-hidden=\"true\">\u2197<\/span><p><strong>Direct<\/strong><span>With 2 or 3 times the time,<br>you get 2 or 3 times the water.<\/span><\/p><\/div><div><span class=\"wg-note-icon wg-note-inverse\" aria-hidden=\"true\">\u2198<\/span><p><strong>Inverse<\/strong><span>With 2 or 3 times as many taps,<br>the filling time is \u00bd or \u2153.<\/span><\/p><\/div><button type=\"button\" data-action=\"restart\">Restart<br>this course <span aria-hidden=\"true\">\u21bb<\/span><\/button><\/div>\n    <footer class=\"wg-footer\"><span>CHICODORI MATH LAB<\/span><p>Discover how the quantities change.<\/p><\/footer>\n  <\/div>\n\n  <dialog class=\"wg-dialog\" id=\"wg-help-dialog\" aria-labelledby=\"wg-help-title\"><div class=\"wg-dialog-inner\"><button class=\"wg-close\" type=\"button\" data-action=\"close-help\" aria-label=\"Close instructions\">\u00d7<\/button><p class=\"wg-eyebrow\">HOW TO PLAY<\/p><h2 id=\"wg-help-title\">Predict, then try it.<\/h2><ol class=\"wg-howto\"><li><strong>Choose a course<\/strong><p>Choose Direct, Inverse or Mixed.<\/p><\/li><li><strong>Enter a prediction and start.<\/strong><p>Read what stays the same. Enter your prediction and press Start.<\/p><\/li><li><strong>Check, then try the next mission.<\/strong><p>Check the result. Try again, or go to the next mission.<\/p><\/li><\/ol><div class=\"wg-help-concepts\"><p><strong>Direct proportion: <\/strong>Time and amount of water.<br>With the same tap, twice the time gives twice the water.<\/p><p><strong>Inverse proportion: <\/strong>Number of taps and time needed.<br>With the same target amount, twice as many taps take half the time. Each comparison tank stops automatically at the target.<\/p><\/div><p class=\"wg-star-guide\">Up to 3 stars per mission: 3 on the first try, 2 on the second, or 1 after using a hint or taking more tries.<\/p><button class=\"wg-start\" type=\"button\" data-action=\"close-help\">Let\u2019s try it!<\/button><\/div><\/dialog>\n  <dialog class=\"wg-dialog wg-results-dialog\" id=\"wg-results-dialog\" aria-labelledby=\"wg-results-title\"><div class=\"wg-dialog-inner\"><button class=\"wg-close\" type=\"button\" data-action=\"close-results\" aria-label=\"Close results\">\u00d7<\/button><div class=\"wg-result-medal\" aria-hidden=\"true\">\u2605<\/div><p class=\"wg-eyebrow\" id=\"wg-result-course\">Direct course<\/p><h2 id=\"wg-results-title\">Mission complete!<\/h2><p class=\"wg-result-message\">You completed the course!<br>What relationships did you notice?<\/p><p class=\"wg-final-score\"><span aria-hidden=\"true\">\u2605<\/span><strong id=\"wg-final-score\">15<\/strong><span id=\"wg-final-max\">\/ 15<\/span><\/p><p class=\"wg-best\" id=\"wg-best\"><\/p><div class=\"wg-result-actions\"><button class=\"wg-start\" type=\"button\" data-action=\"replay\">Play again<\/button><button class=\"wg-secondary\" type=\"button\" data-action=\"other-course\" id=\"wg-other-course\">Try Inverse \u2192<\/button><\/div><\/div><\/dialog>\n<\/section>\n<\/div>\n\n<script data-wp-block-html=\"js\">\n(function (root, factory) {\n  'use strict';\n  if (typeof module === 'object' && module.exports) module.exports = factory();\n  else root.ChicodoriWaterMath = factory();\n})(typeof globalThis !== 'undefined' ? globalThis : this, function () {\n  'use strict';\n  const names = { proportional: 'Direct', inverse: 'Inverse', mixed: 'Mixed' };\n  const choose = (items, random) => items[Math.min(items.length - 1, Math.floor(random() * items.length))];\n  const timeQuestion = (type, rate, target, taps) => ({ type, kind: 'time', rate, target, taps });\n  const tapQuestion = (rate, target, seconds) => ({ type: 'inverse', kind: 'taps', rate, target, seconds });\n  function makeCourse(mode, random = Math.random) {\n    if (!Object.prototype.hasOwnProperty.call(names, mode)) throw new Error('Unknown course');\n    const r = choose([3, 4, 5], random);\n    const t = choose([4, 5, 6], random);\n    const finalRate = choose([4, 5, 6], random);\n    const finalTime = choose([6, 8, 10], random);\n    const proportional = [\n      timeQuestion('proportional', 2, 12, 1),\n      timeQuestion('proportional', r, r * t, 1),\n      timeQuestion('proportional', 4, 32, 1),\n      timeQuestion('proportional', 3, 36, 1),\n      timeQuestion('proportional', finalRate, finalRate * finalTime, 1)\n    ];\n    const inverse = [\n      timeQuestion('inverse', 2, 24, 3),\n      tapQuestion(2, 24, 3),\n      timeQuestion('inverse', 3, 36, 2),\n      tapQuestion(2, 48, 4),\n      timeQuestion('inverse', 3, 72, 4)\n    ];\n    if (mode === 'proportional') return proportional;\n    if (mode === 'inverse') return inverse;\n    const mixed = [proportional[0], inverse[0], proportional[2], inverse[1], proportional[4], inverse[3]];\n    for (let i = mixed.length - 1; i > 0; i--) {\n      const j = Math.min(i, Math.floor(random() * (i + 1)));\n      [mixed[i], mixed[j]] = [mixed[j], mixed[i]];\n    }\n    return mixed;\n  }\n  function solution(q) { return q.target \/ (q.rate * (q.kind === 'taps' ? q.seconds : q.taps)); }\n  function evaluate(q, answer) {\n    if (!Number.isInteger(answer) || answer < 1 || answer > 60) return { valid: false };\n    const taps = q.kind === 'taps' ? answer : q.taps;\n    const seconds = q.kind === 'time' ? answer : q.seconds;\n    const litres = q.rate * taps * seconds;\n    return { valid: true, correct: Math.abs(litres - q.target) < 1e-9, taps, seconds, litres, delta: litres - q.target };\n  }\n  function stars(attempts, usedHint) { return usedHint ? 1 : Math.max(1, 4 - attempts); }\n  function inverseFrame(q, taps, clock) {\n    const neededTime = q.target \/ (q.rate * taps);\n    const seconds = Math.min(Math.max(0, clock), neededTime);\n    return { neededTime, seconds, litres: Math.min(q.target, q.rate * taps * seconds), finished: clock + 1e-9 >= neededTime };\n  }\n  return Object.freeze({ makeCourse, solution, evaluate, stars, inverseFrame, names: Object.freeze(names) });\n});\n\n\n(function () {\n  \"use strict\";\n  function mountWaterMission() {\n(() => {\n  'use strict';\n  const root = document.getElementById('water-mission');\n  const math = window.ChicodoriWaterMath;\n  if (!root || !math || root.dataset.initialized) return;\n  root.dataset.initialized = 'true';\n  const $ = (selector) => root.querySelector(selector);\n  const all = (selector) => [...root.querySelectorAll(selector)];\n  const el = (id) => $('#' + id);\n  const answerInput = el('wg-answer');\n  const helpDialog = el('wg-help-dialog');\n  const resultsDialog = el('wg-results-dialog');\n  const state = { mode: 'proportional', questions: [], index: 0, scores: [], attempts: 0, usedHint: false, running: false, solved: false, raf: 0, run: 0 };\n  const format = (number) => Number(number.toFixed(1)).toString();\n  const question = () => state.questions[state.index];\n  const timeText = (n) => (Number.isInteger(n) ? '' : 'about ') + format(n);\n  const totalScore = () => state.scores.reduce((sum, n) => sum + n, 0);\n  function readBest(mode) {\n    try { const value = Number(localStorage.getItem('chicodori-water-best-' + mode)); return Number.isFinite(value) ? Math.max(0, value) : 0; }\n    catch { return 0; }\n  }\n  function setControls(disabled) {\n    answerInput.disabled = disabled;\n    all('.wg-stepper button').forEach(button => { button.disabled = disabled; });\n    el('wg-start').disabled = disabled;\n    el('wg-hint-toggle').disabled = state.running;\n  }\n  function progress() {\n    el('wg-mission-number').textContent = String(state.index + 1).padStart(2, '0');\n    el('wg-round-label').textContent = '\/ ' + String(state.questions.length).padStart(2, '0');\n    el('wg-score').textContent = totalScore();\n    el('wg-score-max').textContent = '\/ ' + state.questions.length * 3;\n    el('wg-progress').innerHTML = state.questions.map((_, i) => `<li class=\"${state.scores[i] ? 'is-complete' : i === state.index ? 'is-current' : ''}\" ${i === state.index ? 'aria-current=\"step\"' : ''} aria-label=\"${i + 1}Mission${state.scores[i] ? ': complete' : i === state.index ? ': current' : ''}\">${state.scores[i] ? '\u2713' : i + 1}<\/li>`).join('');\n  }\n  function drawFaucets(count) {\n    const visible = Math.min(6, count);\n    const gap = visible > 4 ? 43 : 52;\n    const first = 276 - (visible - 1) * gap \/ 2;\n    el('wg-faucets').innerHTML = Array.from({ length: visible }, (_, i) => {\n      const x = first + i * gap;\n      return `<g transform=\"translate(${x} 0)\"><path d=\"M-14 57v35h14v20\" stroke=\"#a5cbbf\" stroke-width=\"17\" fill=\"none\" stroke-linejoin=\"round\"\/><path d=\"M-14 58v32h14v21\" stroke=\"#c9e5d8\" stroke-width=\"9\" fill=\"none\" stroke-linejoin=\"round\"\/><rect x=\"-10\" y=\"106\" width=\"20\" height=\"9\" rx=\"3\" fill=\"#85b5a5\"\/><rect x=\"-25\" y=\"50\" width=\"23\" height=\"6\" rx=\"3\" fill=\"#456f69\"\/><circle cx=\"-14\" cy=\"53\" r=\"4\" fill=\"#456f69\"\/><\/g>`;\n    }).join('');\n    el('wg-streams').innerHTML = Array.from({ length: visible }, (_, i) => `<path d=\"M${first + i * gap} 116v234\" stroke=\"#50bfdc\" stroke-width=\"7\" stroke-linecap=\"round\" stroke-dasharray=\"10 8\"\/>`).join('');\n    el('wg-taps-readout').innerHTML = `${count}<small> taps<\/small>`;\n  }\n  function drawWater(litres, seconds) {\n    const q = question();\n    const height = Math.min(208, Math.max(0, litres \/ q.target * 160));\n    const y = 354 - height;\n    el('wg-water-fill').setAttribute('y', y);\n    el('wg-water-fill').setAttribute('height', height);\n    el('wg-water-wave').setAttribute('d', height > 0 ? `M145 ${y}q16 -7 32 0t32 0t32 0t32 0t32 0t32 0t38 0v8H145Z` : '');\n    el('wg-litres-svg').innerHTML = `${format(litres)}<tspan font-size=\"20\"> L<\/tspan>`;\n    el('wg-water-readout').innerHTML = `${format(litres)}<small>L<\/small>`;\n    el('wg-time-readout').innerHTML = `${format(seconds)}<small> s<\/small>`;\n    root.classList.toggle('is-overflow', litres > q.target * 1.3);\n  }\n  function hintContent(q) {\n    if (q.type === 'proportional') {\n      el('wg-hint-text').textContent = 'With the same tap, twice the time gives twice the water. Look at the litres per second.';\n      el('wg-hint-table').innerHTML = `<tr><th scope=\"row\">Time (s)<\/th><td>1<\/td><td>2<\/td><td>3<\/td><\/tr><tr><th scope=\"row\">Water (L)<\/th><td>${q.rate}<\/td><td>${q.rate * 2}<\/td><td>${q.rate * 3}<\/td><\/tr>`;\n    } else {\n      const base = q.target \/ q.rate;\n      el('wg-hint-text').textContent = 'For the same amount of water, twice as many taps take half the time. Taps \u00d7 time stays constant.';\n      el('wg-hint-table').innerHTML = `<tr><th scope=\"row\">Taps<\/th><td>1<\/td><td>2<\/td><td>3<\/td><\/tr><tr><th scope=\"row\">Time (s)<\/th><td>${format(base)}<\/td><td>${format(base \/ 2)}<\/td><td>${format(base \/ 3)}<\/td><\/tr>`;\n    }\n  }\n  function buildComparison() {\n    const q = question();\n    const guess = Number(answerInput.value);\n    const selected = q.kind === 'time' ? q.taps : Number.isInteger(guess) && guess >= 1 && guess <= 60 ? guess : 1;\n    const counts = [...new Set([1, 2, selected])];\n    for (const n of [3, 4]) {\n      if (counts.length >= 3) break;\n      if (!counts.includes(n)) counts.push(n);\n    }\n    counts.sort((a, b) => a - b);\n    el('wg-compare-target').textContent = q.target + ' L';\n    el('wg-compare-rows').innerHTML = counts.map(n => `<div class=\"wg-compare-row ${n === selected ? 'is-selected' : ''}\" data-taps=\"${n}\"><div class=\"wg-compare-count\"><svg viewBox=\"0 0 28 28\" aria-hidden=\"true\"><path d=\"M7 8v9h11v7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"5\" stroke-linejoin=\"round\"\/><path d=\"M2 5h10\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\"\/><\/svg><strong>${n}<small> taps<\/small><\/strong><span>${n === selected ? q.kind === 'time' ? 'Selected taps' : 'Your prediction' : 'Compare taps'}<\/span><\/div><div class=\"wg-compare-tank\" aria-hidden=\"true\"><div class=\"wg-compare-water\"><\/div><span class=\"wg-compare-stop\">\u2713<\/span><\/div><div class=\"wg-compare-timing\"><strong><b class=\"wg-compare-time\">${n === 1 ? format(q.target \/ q.rate) : '\uff1f'}<\/b><small> s<\/small><\/strong><span class=\"wg-compare-status\">Ready<\/span><div class=\"wg-time-track\" aria-hidden=\"true\"><i><\/i><\/div><\/div><\/div>`).join('');\n    el('wg-compare-clock').textContent = '0';\n    el('wg-compare-message').textContent = 'Predict the filling time, then start!';\n  }\n  function drawComparison(clock) {\n    const q = question();\n    const baseTime = q.target \/ q.rate;\n    el('wg-compare-clock').textContent = format(clock);\n    all('.wg-compare-row').forEach(row => {\n      const n = Number(row.dataset.taps);\n      const frame = math.inverseFrame(q, n, clock);\n      row.querySelector('.wg-compare-water').style.height = (frame.litres \/ q.target * 100) + '%';\n      row.querySelector('.wg-time-track i').style.width = (frame.seconds \/ baseTime * 100) + '%';\n      row.classList.toggle('is-finished', frame.finished);\n      row.querySelector('.wg-compare-time').textContent = frame.finished ? timeText(frame.neededTime) : n === 1 ? format(baseTime) : '\uff1f';\n      row.querySelector('.wg-compare-status').textContent = frame.finished ? 'Full!' : format(frame.seconds) + ' s elapsed';\n    });\n  }\n  function loadQuestion() {\n    state.run++;\n    cancelAnimationFrame(state.raf);\n    state.running = false;\n    state.solved = false;\n    state.attempts = 0;\n    state.usedHint = false;\n    root.classList.remove('is-running', 'is-success', 'is-overflow');\n    const q = question();\n    const inverse = q.type === 'inverse';\n    root.classList.toggle('is-inverse-mode', inverse);\n    el('wg-inverse-view').hidden = !inverse;\n    answerInput.value = '1';\n    el('wg-target-number').textContent = q.target;\n    el('wg-goal-caption').textContent = inverse ? 'Constant water amount' : 'Target water amount';\n    el('wg-goal-message').innerHTML = inverse ? 'Same amount<br>in every tank' : 'Fill to<br>the target!';\n    el('wg-conditions-caption').textContent = inverse ? 'Quantities to compare' : 'Known conditions';\n    $('.wg-conditions').setAttribute('aria-label', inverse ? 'Quantities to compare' : 'Known conditions');\n    el('wg-flow-label').textContent = inverse ? 'Number of taps' : 'Flow per tap';\n    el('wg-flow-prefix').hidden = inverse;\n    el('wg-flow-prefix').textContent = 'per second';\n    el('wg-flow-unit').textContent = inverse ? ' taps' : 'L';\n    el('wg-rate-number').textContent = inverse ? q.kind === 'time' ? q.taps : '\uff1f' : q.rate;\n    el('wg-flow-banner-rate').textContent = q.rate;\n    el('wg-fixed-label').textContent = inverse ? 'Filling time' : 'Taps used';\n    el('wg-fixed-number').textContent = inverse ? q.kind === 'taps' ? q.seconds : '\uff1f' : q.taps;\n    el('wg-fixed-unit').textContent = inverse ? ' s' : ' taps';\n    el('wg-goal-svg').textContent = 'Target ' + q.target + ' L';\n    el('wg-type-label').textContent = math.names[q.type] + ' mission';\n    el('wg-type-label').classList.toggle('is-inverse', q.type === 'inverse');\n    if (q.type === 'proportional') {\n      el('wg-question').innerHTML = `How many seconds to fill <strong>${q.target} L<\/strong>?`;\n    } else if (q.kind === 'time') {\n      el('wg-question').innerHTML = `One tap takes <strong>${q.target \/ q.rate} s<\/strong>.<br>How long will <strong>${q.taps} taps<\/strong> take?`;\n    } else {\n      el('wg-question').innerHTML = `One tap takes <strong>${q.target \/ q.rate} s<\/strong>.<br>How many taps will fill it in <strong>${q.seconds} s<\/strong>?`;\n    }\n    el('wg-answer-label').textContent = q.kind === 'time' ? inverse ? 'How long to fill the tank?' : 'How many seconds?' : 'How many taps?';\n    el('wg-answer-unit').textContent = q.kind === 'time' ? ' s' : ' taps';\n    el('wg-start').hidden = false;\n    el('wg-start-text').textContent = inverse ? 'Start comparison!' : 'Start filling!';\n    el('wg-next').hidden = true;\n    el('wg-next').innerHTML = state.index === state.questions.length - 1 ? 'See results <span aria-hidden=\"true\">\u2192<\/span>' : 'Next mission <span aria-hidden=\"true\">\u2192<\/span>';\n    el('wg-feedback').className = 'wg-feedback';\n    el('wg-feedback').innerHTML = inverse ? '<p>Compare the number of taps and the filling time.<\/p>' : '<p>Aim for exactly the target amount.<\/p>';\n    $('.wg-lab-footnote').innerHTML = inverse ? `Each tap supplies ${q.rate} L\/s. Compare on the same clock.<br>Each tank stops automatically at ${q.target} L.` : 'Every tap has the same flow rate.<br>The experiment plays faster than real time.';\n    el('wg-scene-message').textContent = 'Predict, then press Start!';\n    el('wg-hint').hidden = true;\n    el('wg-hint-toggle').setAttribute('aria-expanded', 'false');\n    el('wg-hint-toggle').innerHTML = '<span aria-hidden=\"true\">\u2727<\/span> Show hint';\n    drawFaucets(q.kind === 'time' ? q.taps : 1);\n    drawWater(0, 0);\n    if (inverse) buildComparison();\n    hintContent(q);\n    setControls(false);\n    progress();\n  }\n  function startCourse(mode) {\n    if (!Object.prototype.hasOwnProperty.call(math.names, mode)) return;\n    state.mode = mode;\n    state.questions = math.makeCourse(mode);\n    state.index = 0;\n    state.scores = [];\n    if (resultsDialog.open) resultsDialog.close();\n    all('[data-mode]').forEach(button => button.setAttribute('aria-pressed', String(button.dataset.mode === mode)));\n    el('wg-course-note').textContent = mode === 'proportional' ? '5 missions \u00b7 time and water' : mode === 'inverse' ? '5 missions \u00b7 taps and time' : '6 missions \u00b7 both types';\n    loadQuestion();\n  }\n  function resultMessage(result) {\n    const q = question();\n    state.running = false;\n    root.classList.remove('is-running');\n    setControls(false);\n    const inverse = q.type === 'inverse';\n    const neededTime = q.target \/ (q.rate * result.taps);\n    const equation = inverse ? `${result.taps} \u00d7 ${timeText(neededTime)} = ${q.target \/ q.rate}\uff08taps \u00d7 time\uff09` : result.taps === 1 ? `${q.rate} \u00d7 ${result.seconds} = ${result.litres} (L)` : `${q.rate} \u00d7 ${result.taps} \u00d7 ${result.seconds} = ${result.litres} (L)`;\n    if (inverse) {\n      el('wg-compare-message').textContent = 'For the same amount of water, more taps need less time.';\n      if (q.kind === 'time') el('wg-fixed-number').textContent = timeText(neededTime);\n      else el('wg-rate-number').textContent = result.taps;\n    }\n    if (result.correct) {\n      state.solved = true;\n      state.scores[state.index] = math.stars(state.attempts, state.usedHint);\n      root.classList.add('is-success');\n      setControls(true);\n      el('wg-start').hidden = true;\n      el('wg-next').hidden = false;\n      el('wg-feedback').className = 'wg-feedback is-correct';\n      const relationship = q.type === 'proportional' ? `Water \u00f7 time = ${q.rate}.<br>Twice the time gives twice the water.` : `The target is always ${q.target} L.<br>With 2 or 3 times as many taps, time is \u00bd or \u2153.`;\n      el('wg-feedback').innerHTML = `<p class=\"wg-result-heading\">Exactly right! Well done! <span class=\"wg-earned-stars\" aria-label=\"${state.scores[state.index]} stars\">${'\u2605'.repeat(state.scores[state.index])}<\/span><\/p><p class=\"wg-equation\">${equation}<\/p><p class=\"wg-relationship\">${relationship}<\/p>`;\n      el('wg-scene-message').textContent = 'Exactly right! Mission complete!';\n      progress();\n      el('wg-next').focus({ preventScroll: true });\n    } else {\n      const short = result.delta < 0;\n      el('wg-feedback').className = 'wg-feedback is-retry';\n      if (!inverse) {\n        el('wg-feedback').innerHTML = `<p class=\"wg-result-heading\">${Math.abs(result.delta)} L ${short ? 'too little!' : 'too much!'}<\/p><p class=\"wg-equation\">${equation}<\/p><p>${short ? 'Increase' : 'Decrease'} the time and try again.<\/p>`;\n      } else if (q.kind === 'time') {\n        el('wg-feedback').innerHTML = `<p class=\"wg-result-heading\">You predicted ${result.seconds} s. It took ${timeText(neededTime)} s!<\/p><p>One tap takes ${q.target \/ q.rate} s. With ${q.taps} taps, the time is 1\/${q.taps} as long.<\/p><p>Compare the filling times, then predict again.<\/p>`;\n      } else {\n        el('wg-feedback').innerHTML = `<p class=\"wg-result-heading\">${result.taps} taps took ${timeText(neededTime)} s!<\/p><p>That is ${neededTime > q.seconds ? 'longer' : 'shorter'} than ${q.seconds} s. ${neededTime > q.seconds ? 'Add' : 'Remove'} taps and compare again.<\/p>`;\n      }\n      el('wg-start-text').textContent = inverse ? 'Compare again!' : 'Try again!';\n      el('wg-scene-message').textContent = short ? 'Try adding a little more water!' : 'Too much! Change your prediction.';\n      answerInput.focus({ preventScroll: true });\n    }\n  }\n  function runExperiment(event) {\n    event.preventDefault();\n    if (state.running || state.solved) return;\n    const result = math.evaluate(question(), answerInput.value.trim() === '' ? NaN : Number(answerInput.value));\n    if (!result.valid) {\n      el('wg-feedback').className = 'wg-feedback is-retry';\n      el('wg-feedback').textContent = 'Enter a whole number from 1 to 60.';\n      answerInput.focus({ preventScroll: true });\n      return;\n    }\n    state.attempts++;\n    state.running = true;\n    const run = ++state.run;\n    root.classList.remove('is-success', 'is-overflow');\n    root.classList.add('is-running');\n    setControls(true);\n    drawFaucets(result.taps);\n    drawWater(0, 0);\n    el('wg-feedback').className = 'wg-feedback';\n    const inverse = question().type === 'inverse';\n    if (inverse) buildComparison();\n    el('wg-feedback').innerHTML = inverse ? '<p>Watch how long each tank takes to fill\u2026<\/p>' : '<p>Watch the water level rise\u2026<\/p>';\n    el('wg-scene-message').textContent = 'Filling\u2026 will it reach the target?';\n    el('wg-start-text').textContent = inverse ? 'Comparing times\u2026' : 'Filling\u2026';\n    const baseTime = question().target \/ question().rate;\n    const duration = window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 150 : inverse ? Math.min(6000, Math.max(3000, baseTime * 300)) : 2100;\n    let started;\n    function frame(timestamp) {\n      if (run !== state.run) return;\n      if (started === undefined) started = timestamp;\n      const fraction = Math.min(1, (timestamp - started) \/ duration);\n      if (inverse) drawComparison(baseTime * fraction);\n      else drawWater(result.litres * fraction, result.seconds * fraction);\n      if (fraction < 1) state.raf = requestAnimationFrame(frame);\n      else resultMessage(result);\n    }\n    state.raf = requestAnimationFrame(frame);\n  }\n  function showResults() {\n    const score = totalScore();\n    const best = Math.max(score, readBest(state.mode));\n    let saved = true;\n    try { localStorage.setItem('chicodori-water-best-' + state.mode, String(best)); } catch { saved = false; }\n    el('wg-final-score').textContent = score;\n    el('wg-final-max').textContent = '\/ ' + state.questions.length * 3;\n    el('wg-result-course').textContent = math.names[state.mode] + ' course \u00b7 ' + state.questions.length + ' missions complete';\n    el('wg-best').textContent = saved ? 'Best in this browser: \u2605 ' + best + ' \/ ' + state.questions.length * 3 : 'Stars this time: ' + score + '';\n    el('wg-other-course').textContent = state.mode === 'proportional' ? 'Try Inverse \u2192' : state.mode === 'inverse' ? 'Try Mixed \u2192' : 'Try Direct again \u2192';\n    resultsDialog.showModal();\n  }\n  el('wg-form').addEventListener('submit', runExperiment);\n  el('wg-next').addEventListener('click', () => {\n    if (!state.solved || state.running) return;\n    if (state.index === state.questions.length - 1) showResults();\n    else { state.index++; loadQuestion(); answerInput.focus({ preventScroll: true }); }\n  });\n  el('wg-hint-toggle').addEventListener('click', () => {\n    const open = el('wg-hint').hidden;\n    el('wg-hint').hidden = !open;\n    el('wg-hint-toggle').setAttribute('aria-expanded', String(open));\n    el('wg-hint-toggle').innerHTML = `<span aria-hidden=\"true\">\u2727<\/span> Hint: ${open ? 'Hide' : 'Show'}`;\n    if (open && !state.solved) state.usedHint = true;\n  });\n  answerInput.addEventListener('input', () => {\n    if (state.running || state.solved || question().kind !== 'taps') return;\n    const n = Number(answerInput.value);\n    if (Number.isInteger(n) && n >= 1 && n <= 60) {\n      drawFaucets(n);\n      if (question().type === 'inverse') { el('wg-rate-number').textContent = n; buildComparison(); }\n    }\n  });\n  root.addEventListener('click', (event) => {\n    const button = event.target.closest('button');\n    if (!button || button.disabled) return;\n    if (button.dataset.mode) { startCourse(button.dataset.mode); return; }\n    const action = button.dataset.action;\n    if (action === 'plus' || action === 'minus') {\n      if (state.running || state.solved) return;\n      const current = Number(answerInput.value);\n      const base = Number.isFinite(current) ? Math.round(current) : 1;\n      answerInput.value = Math.max(1, Math.min(60, base + (action === 'plus' ? 1 : -1)));\n      answerInput.dispatchEvent(new Event('input', { bubbles: true }));\n    }\n    if (action === 'restart' || action === 'replay') startCourse(state.mode);\n    if (action === 'help') helpDialog.showModal();\n    if (action === 'close-help') helpDialog.close();\n    if (action === 'close-results') resultsDialog.close();\n    if (action === 'other-course') startCourse(state.mode === 'proportional' ? 'inverse' : state.mode === 'inverse' ? 'mixed' : 'proportional');\n  });\n  [helpDialog, resultsDialog].forEach(dialog => {\n    dialog.addEventListener('click', event => { if (event.target === dialog) { const r = dialog.getBoundingClientRect(); if (event.clientX < r.left || event.clientX > r.right || event.clientY < r.top || event.clientY > r.bottom) dialog.close(); } });\n  });\n  startCourse('proportional');\n})();\n\n  }\n  if (document.readyState === \"loading\") {\n    document.addEventListener(\"DOMContentLoaded\", mountWaterMission, { once: true });\n  } else {\n    mountWaterMission();\n  }\n})();\n\n<\/script><style>.water-game .wg-howto p,.water-game .wg-howto strong{font-size:22px!important;line-height:1.55}.water-game .wg-course-tabs button{white-space:normal}.water-game .wg-hero h2{letter-spacing:-.02em}.water-game .wg-compare-title{font-size:22px}.water-game .wg-brand-sub{letter-spacing:0}.water-game .wg-question{overflow-wrap:break-word}<\/style><\/div><\/section><section class=\"cd-copy en-howto\"><h2>How to play<\/h2><ol><li>Choose Direct, Inverse or Mixed.<\/li><li>Read the conditions. Enter the time or number of taps, then press Start.<\/li><li>Check the water or filling times. Try again, or choose Next mission.<\/li><\/ol><\/section><details class=\"cd-copy\"><summary>For parents and teachers<\/summary><p>Direct proportion compares time and water at a fixed flow rate. Inverse proportion compares the number of taps and time needed for a fixed amount of water. Comparison tanks start on the same clock and stop at the same target. The animation runs faster than real time.<\/p><p>Direct and Inverse have five questions each; Mixed has six. A first-try answer earns three stars, a second try earns two, and using a hint or taking further tries earns one. Original question settings and scoring are unchanged.<\/p><\/details><\/div><script>(function(){function init(){var root=document.querySelector('.cd-lesson');if(!root)return;function run(){root.querySelectorAll('.ifw_btn').forEach(function(b){b.childNodes.forEach(function(n){if(n.nodeType===3&&n.nodeValue.includes('\u3053\u308c\u597d\u304d'))n.nodeValue=n.nodeValue.replace('\u3053\u308c\u597d\u304d','Like ')});});}run();new MutationObserver(run).observe(root,{childList:true,subtree:true,characterData:true});}if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);else init();})();<\/script>\n<style>.water-game .wg-question{font-size:24px!important}.water-game .wg-input-label,.water-game .wg-feedback,.water-game .wg-result-heading,.water-game .wg-equation,.water-game .wg-relationship,.water-game .wg-hint,.water-game .wg-hint table{font-size:22px!important;line-height:1.55}.water-game .wg-course-tabs button,.water-game .wg-start,.water-game .wg-next,.water-game .wg-help,.water-game .wg-hint-toggle,.water-game .wg-condition-grid>div>span{font-size:18px!important}.water-game .wg-condition-grid>div>span{white-space:normal}.water-game .wg-goal-box .wg-target{flex-wrap:wrap}.water-game .wg-goal-box .wg-target small{font-size:18px!important}.water-game .wg-compare-status,.water-game .wg-compare-count>span{white-space:normal}.water-game .wg-intro{font-size:20px!important}<\/style><style>.water-game .wg-course-tabs button{min-width:0;flex-wrap:wrap;gap:4px;padding-inline:5px}.water-game .wg-console-top{height:auto;min-height:69px;flex-wrap:wrap;padding-block:12px}.water-game .wg-progress{margin-inline:auto}.water-game .wg-flow-banner{flex-wrap:wrap;max-width:100%}.water-game .wg-compare-clock{flex-wrap:wrap}@container wg-post (max-width:370px){.water-game .wg-console-top{justify-content:center}.water-game .wg-progress{order:3;flex-basis:100%;justify-content:center}.water-game .wg-course-tabs button{font-size:18px!important}}<\/style>","protected":false},"excerpt":{"rendered":"<p>Math \u00b7 Direct &#038; inverse proportion Fill the Tank! What is this game? Predict how long to run the water or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14342,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2614,1],"tags":[2677,2684],"cd_learning_unit":[2068],"cd_english_grade":[2532],"class_list":["post-15791","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-math","category-1","tag--en","tag-6-en","entry","has-media"],"_links":{"self":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/comments?post=15791"}],"version-history":[{"count":3,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15791\/revisions"}],"predecessor-version":[{"id":15803,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15791\/revisions\/15803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/media\/14342"}],"wp:attachment":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/media?parent=15791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/categories?post=15791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/tags?post=15791"},{"taxonomy":"cd_learning_unit","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/cd_learning_unit?post=15791"},{"taxonomy":"cd_english_grade","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/cd_english_grade?post=15791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}