{"id":15091,"date":"2026-11-02T12:38:59","date_gmt":"2026-11-02T03:38:59","guid":{"rendered":"https:\/\/chicodori.net\/?p=15091"},"modified":"2026-11-02T12:57:18","modified_gmt":"2026-11-02T03:57:18","slug":"rhythm-code-converter","status":"publish","type":"post","link":"https:\/\/chicodori.net\/index.php\/rhythm-code-converter\/","title":{"rendered":"\u304d\u3054\u3046\u3067 \u30ea\u30ba\u30e0\u3078\u3093\u304b\u3093\uff01"},"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\n<div id=\"rhythm-lesson\" class=\"cd-lesson\" data-template=\"js-lesson-v1\"><header class=\"cd-hero\"><div class=\"cd-hero-title\"><nav class=\"cd-tags\" aria-label=\"\u6559\u6750\u306e\u5834\u6240\"><a href=\"https:\/\/chicodori.net\/index.php\/chicoron-information-literacy\/\">\u30c1\u30b3\u30ed\u30f3<\/a> \uff0f <a href=\"https:\/\/chicodori.net\/index.php\/music-2\/\">\u97f3\u697d<\/a><\/nav><h1 class=\"cd-title\">\u304d\u3054\u3046\u3067 \u30ea\u30ba\u30e0\u3078\u3093\u304b\u3093\uff01<\/h1><\/div><\/header><section class=\"cd-common-points\" data-cd-common-points=\"1\" aria-label=\"\u3053\u306e\u6559\u6750\u306e\u30dd\u30a4\u30f3\u30c8\"><div class=\"cd-common-point\" data-feature-key=\"audio\"><svg viewBox=\"0 0 48 48\" aria-hidden=\"true\" focusable=\"false\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M11 20c0-16 24-16 24 0 0 9-10 9-10 16 0 9-12 9-13 1M17 20c0-8 12-8 12 0 0 5-8 5-8 10M39 10q8 10 0 20\"\/><\/g><\/svg><span>\u30ea\u30ba\u30e0<\/span><\/div><div class=\"cd-common-point\" data-feature-key=\"next\"><svg viewBox=\"0 0 48 48\" aria-hidden=\"true\" focusable=\"false\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 19h18l-6-6m6 6-6 6M38 29H20l6-6m-6 6 6 6\"\/><\/g><\/svg><span>\u304a\u304d\u304b\u3048<\/span><\/div><div class=\"cd-common-point\" data-feature-key=\"level\"><svg viewBox=\"0 0 48 48\" aria-hidden=\"true\" focusable=\"false\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9 37V28h10V19h10V10h10v27ZM14 18l15-12m-7 0h7v7\"\/><\/g><\/svg><span>3\u30ec\u30d9\u30eb<\/span><\/div><\/section><section class=\"cd-copy\"><h2>\u3069\u3093\u306a\u30b2\u30fc\u30e0\uff1f<\/h2><p>Lv1\u306f\u300c\u30bf\u30f3\u30fb\u30bf\u300d\u306e \u3053\u3068\u3070\u3092\u3001\u8d64\u30fb\u9752\u306e \u304d\u3054\u3046\u306b\u3002<br>Lv2\u306f\u3001\u8d64\u30fb\u9752\u306e \u304d\u3054\u3046\u3092 \u97f3\u7b26\u306b\u3002<br>Lv3\u306f\u3001\u304a\u3068\u3060\u3051\u3092 \u304d\u3044\u3066 \u97f3\u7b26\u306b \u304b\u3048\u3088\u3046\u3002<br>\u3067\u304d\u305f \u30ea\u30ba\u30e0\u3092\u3001\u304a\u3068\u3067\u3082 \u305f\u3057\u304b\u3081\u3088\u3046\uff01<\/p><\/section><section class=\"cd-play\"><h2 class=\"cd-section-title\">\u3055\u3042\u3001\u3084\u3063\u3066\u307f\u3088\u3046\uff01<\/h2><div class=\"cd-like\"><div class=\"ifw_wrap ifw_center\"><button class=\"ifw_btn\" data-postid=\"15091\" data-buttoncount=\"1\">\u3053\u308c\u597d\u304d<span class=\"material-symbols-rounded\">favorite<\/span><span class=\"ifw_count\" id=\"ifw_count_15091_1\">0<\/span><\/button><div class=\"ifw_message_wrap ifw_top_left\" id=\"ifw_message_15091_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_15091_1\"><div class=\"ifw_close\" data-id=\"15091_1\">\u00d7<\/div><div class=\"ifw_message\"><div class=\"ifw_image\"><img decoding=\"async\" src=\"\" id=\"ifw_image_15091_1\"><\/div><div class=\"ifw_text\" id=\"ifw_showmessage_15091_1\"><\/div><\/div><div class=\"ifw_arrow\"><\/div><\/div><\/div><\/div><style>#rhythm-code,#rhythm-code *{box-sizing:border-box}#rhythm-code{max-width:840px;margin:14px auto;padding:14px;background:#fffaf0;border:3px solid #84b6ad;border-radius:22px;color:#24474b;font-family:'Noto Sans JP','Yu Gothic',sans-serif;text-align:left;position:relative;overflow:hidden}#rhythm-code [hidden]{display:none!important}#rhythm-code button,#rhythm-code select{font:inherit;color:inherit;touch-action:manipulation}#rhythm-code button{cursor:pointer}#rhythm-code button:focus-visible,#rhythm-code select:focus-visible{outline:4px solid #ad5b30;outline-offset:3px}#rhythm-code h2{font-size:28px;line-height:1.35;margin:0;color:#2e736b}#rhythm-code h3{font-size:24px;line-height:1.4;margin:0 0 8px}#rhythm-code .g-head,#rhythm-code .g-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}#rhythm-code .g-small{font-size:18px;line-height:1.3;min-height:44px;border:2px solid #9abeb5;border-radius:11px;background:#fff;padding:7px 10px}#rhythm-code .g-main{font-size:22px;line-height:1.3;min-height:44px;border:2px solid #4a9389;background:#e4f5ec;border-radius:12px;padding:8px 15px;font-weight:bold}#rhythm-code .g-tabs{display:flex;gap:8px;margin:9px 0}#rhythm-code .g-tabs button{flex:1;font-size:22px;line-height:1.3;min-height:44px;padding:8px;border:2px solid #99c3b6;border-radius:12px;background:white}#rhythm-code .g-tabs button[aria-pressed=true]{background:#d9f0e6;border-color:#397f70;font-weight:bold}#rhythm-code .g-info{font-size:18px;line-height:1.4;margin:8px 0}#rhythm-code .g-message{font-size:22px;line-height:1.45;min-height:44px;background:#f1f2e5;border-radius:12px;padding:8px 11px;margin:9px 0 0}#rhythm-code .g-message.success{background:#dff1d3;color:#245f39}#rhythm-code .g-confetti{position:absolute;top:-20px;width:9px;height:16px;animation:g-fall 1.5s ease-in forwards;pointer-events:none;z-index:5}#rhythm-code.g-pop{animation:g-pop .6s ease}@keyframes g-pop{40%{box-shadow:0 0 35px #e8bd55;transform:scale(1.01)}}@keyframes g-fall{to{transform:translateY(680px) rotate(600deg);opacity:0}}@media(max-width:540px){#rhythm-code{padding:10px;border-radius:18px}#rhythm-code .g-head h2{font-size:28px}}@media(prefers-reduced-motion:reduce){#rhythm-code,#rhythm-code *{animation:none!important;transition:none!important}}#rhythm-code .rm-settings{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0;font-size:18px}#rhythm-code label{display:flex;align-items:center;gap:7px;margin:0}#rhythm-code input{width:24px;height:24px;accent-color:#278576}#rhythm-code .rm-legend{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}#rhythm-code .rm-key{display:flex;align-items:center;gap:7px;font-size:22px;font-weight:bold;background:#fff;border:1px solid #c3d8d0;border-radius:11px;padding:4px 9px}#rhythm-code .rm-symbol{display:inline-block;width:28px;height:28px;background:#e95454;border:2px solid #b33b3b;border-radius:3px}#rhythm-code .rm-symbol.b{background:#358ed9;border-color:#236295}#rhythm-code .rm-symbol.z{background:#84ba89;border-color:#457952;border-radius:50%}#rhythm-code .rm-question{font-size:24px;line-height:1.4;font-weight:bold;margin:6px 0}#rhythm-code .rm-pattern{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:6px;margin:6px 0}#rhythm-code .rm-card{display:flex;align-items:center;justify-content:center;min-width:0;min-height:52px;background:#fff;border:2px solid #c6d9d2;border-radius:10px;font-size:22px;font-weight:bold;line-height:1.3;padding:3px}#rhythm-code svg{width:29px;height:39px;vertical-align:middle}#rhythm-code .rm-card.playing{background:#ffefad;outline:3px solid #c99b2d;outline-offset:-3px}#rhythm-code .rm-card.miss{border-color:#d56565;background:#fff0ef}#rhythm-code .rm-title{font-size:22px;font-weight:bold;margin:5px 0}#rhythm-code .rm-empty{color:#a8bcb3}#rhythm-code .rm-inputs{display:flex;gap:8px;margin:8px 0}#rhythm-code .rm-inputs button{flex:1;font-size:24px;min-height:50px;padding:7px 4px;border:2px solid #6fa696;border-radius:12px;background:#e5f4ed;font-weight:bold}#rhythm-code button:disabled{opacity:.5;cursor:default}#rhythm-code .rm-tools{display:flex;gap:6px;margin:7px 0;flex-wrap:wrap}#rhythm-code .rm-tools button{flex:1;white-space:nowrap}#rhythm-code .g-message{min-height:36px;margin:7px 0;padding:5px 8px}#rhythm-code .rm-visual{display:flex;justify-content:flex-end;align-items:center;font-size:18px;gap:9px;margin-top:8px}#rhythm-code .rm-visual label{position:relative}#rhythm-code .rm-visual input{position:absolute;opacity:0;width:48px;height:28px;z-index:1;margin:0;cursor:pointer}#rhythm-code .rm-switch{width:48px;height:28px;border-radius:20px;background:#a2b9b0;position:relative;display:inline-block}#rhythm-code .rm-switch:after{content:'';position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:50%;background:white}#rhythm-code .rm-visual input:checked+.rm-switch{background:#268475}#rhythm-code .rm-visual input:checked+.rm-switch:after{left:24px}#rhythm-code .rm-visual input:focus-visible+.rm-switch{outline:4px solid #ac6820;outline-offset:3px}#rhythm-code .rm-result{font-size:24px;line-height:1.6;text-align:center;padding:15px 0}#rhythm-code .rm-result strong{font-size:36px;color:#2b795d}@media(max-width:540px){#rhythm-code .rm-pattern{grid-template-columns:repeat(4,minmax(0,1fr))}#rhythm-code .rm-tools{display:grid;grid-template-columns:1fr 1fr}#rhythm-code .rm-inputs button{font-size:22px}}#rhythm-code{padding:12px}#rhythm-code .rm-settings{margin:5px 0}#rhythm-code .rm-legend{margin:5px 0}#rhythm-code .rm-key{padding:3px 8px}#rhythm-code .rm-question{margin:4px 0}#rhythm-code .rm-pattern{margin:4px 0}#rhythm-code .rm-card{min-height:48px}#rhythm-code .rm-title{margin:3px 0}#rhythm-code .rm-inputs{margin:6px 0}#rhythm-code .rm-tools{margin:5px 0}#rhythm-code .g-message{padding:3px 8px;margin:5px 0}#rhythm-code .rm-visual{margin:0}#rhythm-code .rm-levels{margin:6px 0}#rhythm-code .rm-levels button{font-size:20px;padding:5px;min-height:42px}#rhythm-code .rm-listen{width:100%;min-height:52px;margin:5px 0}#rhythm-code .rm-inputs .rm-symbol{width:35px;height:35px}#rhythm-code .rm-inputs svg{height:42px;width:33px}#rhythm-code .rm-levels button{font-size:20px}#rhythm-code .rm-key,#rhythm-code .rm-title,#rhythm-code .rm-inputs button,#rhythm-code .rm-settings{line-height:1.3}#rhythm-code .g-message{line-height:1.3}\n#rhythm-code .rm-prompt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0}#rhythm-code .rm-prompt .rm-question{margin:0}#rhythm-code .rm-prompt [data-do=hear-q]{background:#e3f4ed;border-color:#438b7a;font-weight:bold}\n#rhythm-code{padding-block:8px}\n\/* \u5f79\u5272\u306e\u9055\u3044\uff1a\u30ec\u30d9\u30eb\uff1d\u30bf\u30d6\u3001\u805e\u304f\uff1d\u4e3b\u64cd\u4f5c\u3001\u56de\u7b54\uff1d\u672a\u62bc\u4e0b\u306e\u7acb\u4f53\u30dc\u30bf\u30f3 *\/\n#rhythm-code .rm-levels{gap:0;border-bottom:2px solid #b9cec7;margin:5px 0 7px}#rhythm-code .rm-levels button{border:0;border-bottom:4px solid transparent;border-radius:8px 8px 0 0;background:transparent;box-shadow:none;min-height:42px;color:#536d68;padding:5px 4px}#rhythm-code .rm-levels button[aria-pressed=true]{background:#eaf3ee;border-color:#327763;color:#255e50}#rhythm-code .rm-prompt{gap:10px;justify-content:space-between;margin:6px 0 8px}#rhythm-code .rm-prompt .rm-question{flex:1;min-width:220px}#rhythm-code .rm-prompt [data-do=hear-q]{font-size:24px;line-height:1.3;min-height:56px;padding:9px 15px;background:#176ba8;color:#fff;border:2px solid #125780;border-radius:15px;box-shadow:0 4px 0 #104a70;font-weight:bold;white-space:nowrap}#rhythm-code .rm-inputs{gap:12px;margin:8px 0 12px}#rhythm-code .rm-inputs button{background:#fff;border:2px solid #72a99b;border-radius:14px;box-shadow:0 4px 0 #4d8c7b;min-height:60px;padding:5px 4px}#rhythm-code .rm-inputs button:hover:enabled{background:#f2faf6;border-color:#397f6b}#rhythm-code .rm-inputs button:active:enabled,#rhythm-code .rm-prompt [data-do=hear-q]:active{transform:translateY(4px);box-shadow:none}#rhythm-code .rm-inputs .rm-symbol{width:40px;height:40px}#rhythm-code .rm-tools .g-small{border:1px solid #b4c8c0;background:#f7f9f7;box-shadow:none;color:#49645b;border-radius:9px}#rhythm-code .g-main{background:#ffe5a6;border-color:#bb902f;box-shadow:0 3px 0 #a78028;color:#654710}#rhythm-code .g-main:active:enabled{transform:translateY(3px);box-shadow:none}#rhythm-code .rm-card{min-height:44px}#rhythm-code .rm-key svg{height:32px;width:25px}#rhythm-code .rm-legend{gap:7px}\n#rhythm-code .rm-inputs{margin-bottom:8px}#rhythm-code .rm-prompt{margin-bottom:6px}\n\/* \u5b50\u3069\u3082\u304c\u5207\u308a\u66ff\u3048\u306b\u6c17\u3065\u3051\u308b\u3001\u8f2a\u90ed\u306e\u3042\u308b\u30ec\u30d9\u30eb\u30bf\u30d6 *\/\n#rhythm-code .rm-level-picker{display:flex;align-items:center;gap:10px;margin:7px 0 8px;padding:7px 8px 0;background:#edf3fb;border:2px solid #bdcfe4;border-radius:12px}#rhythm-code .rm-level-label{font-size:18px;font-weight:bold;line-height:1.3;margin:0 0 7px;color:#385c80;white-space:nowrap}#rhythm-code .rm-levels{flex:1;gap:5px;margin:0;border-bottom:0;align-self:stretch}#rhythm-code .rm-levels button{position:relative;min-height:44px;background:#fff;border:2px solid #92aecb;border-bottom:4px solid #92aecb;border-radius:10px 10px 0 0;color:#345575;font-size:20px;font-weight:bold;padding:5px 6px;box-shadow:none}#rhythm-code .rm-levels button[aria-pressed=true]{background:#d0e8ff;border-color:#246daa;border-bottom:5px solid #246daa;color:#164d7d}#rhythm-code .rm-levels button:hover{background:#e1effc;border-color:#246daa}#rhythm-code .rm-levels button:focus-visible{outline:3px solid #a25b18;outline-offset:2px}@media(max-width:540px){#rhythm-code .rm-level-picker{display:block}#rhythm-code .rm-level-label{margin-bottom:6px}#rhythm-code .rm-levels button{font-size:20px}}\n@media(min-width:541px){#rhythm-code .rm-level-picker{padding-top:3px;margin:3px 0}}\n#rhythm-code .rm-level-picker{background:#fff;border-color:#d3ddd9}\n#rhythm-code .rm-levels button:hover{background:#fff}#rhythm-code .rm-levels button[aria-pressed=true]:hover{background:#d0e8ff}<\/style><div id=\"rhythm-code\"><\/div><script>(()=>{'use strict';function feedback(root){let sound=true;try{sound=localStorage.getItem('chicodori-feedback-muted')!=='1';}catch{}const clips={correct:new Audio('https:\/\/chicodori.net\/wp-content\/uploads\/2026\/10\/Quiz-Correct_Answer01-1.mp3'),wrong:new Audio('https:\/\/chicodori.net\/wp-content\/uploads\/2026\/10\/Quiz-Wrong_Buzzer02-1.mp3')};Object.values(clips).forEach(a=>{a.preload='auto';a.volume=.5;});function play(k){if(!sound)return;const a=clips[k];a.pause();try{a.currentTime=0;}catch{}const p=a.play();if(p)p.catch(()=>{});}function stop(){Object.values(clips).forEach(a=>a.pause());}function toggle(b){sound=!sound;stop();try{localStorage.setItem('chicodori-feedback-muted',sound?'0':'1');}catch{}b.textContent=sound?'\u97f3\u3042\u308a':'\u97f3\u306a\u3057';b.setAttribute('aria-pressed',String(sound));}function celebrate(){if(matchMedia('(prefers-reduced-motion:reduce)').matches)return;root.classList.remove('g-pop');void root.offsetWidth;root.classList.add('g-pop');for(let i=0;i!==24;i++){const n=document.createElement('i');n.className='g-confetti';n.setAttribute('aria-hidden','true');n.style.left=(i*4+1)+'%';n.style.background=['#ebbd5c','#6cb7a9','#d77c83','#77a9c6'][i%4];root.append(n);setTimeout(()=>n.remove(),1700);}}return {play,toggle,celebrate,stop,enabled:()=>sound,button:()=>'\\x3cbutton type=\"button\" class=\"g-small\" data-do=\"sound\" aria-pressed=\"'+sound+'\">'+(sound?'\u97f3\u3042\u308a':'\u97f3\u306a\u3057')+'\\x3c\/button>'};}const root=document.getElementById('rhythm-code');if(!root||root.dataset.ready)return;root.dataset.ready='1';const fx=feedback(root),$=s=>root.querySelector(s),$$=s=>[...root.querySelectorAll(s)];const names={r:'\u30bf\u30f3',b:'\u30bf',z:'\u3084\u3059\u307f'},beats={r:1,b:.5,z:1},pool=['rrbbr','rbbrbb','bbrrbb','bbrbbr','rbbbbbb','bbbbrbb','bbbbrr','bbrrr','rrrbb','rbbrr'];let level=1,rests=false,notes=false,deck=[],at=0,answer=[],score=0,done=false,first=true,ctx=null,voices=[],timers=[];let advanceTimer=null;function cancelAdvance(){clearTimeout(advanceTimer);advanceTimer=null;}function scheduleAdvance(){cancelAdvance();advanceTimer=setTimeout(()=>{advanceTimer=null;const next=$('[data-do=next]');if(next)next.click();},2000);}function unlock(){if(!ctx)try{ctx=new(window.AudioContext||window.webkitAudioContext)();}catch{}if(ctx)if(ctx.state==='suspended')ctx.resume().catch(()=>{});}function stop(){timers.forEach(clearTimeout);timers=[];voices.forEach(o=>{try{o.stop();}catch{}});voices=[];$$('.playing').forEach(e=>e.classList.remove('playing'));}function hit(k,t=ctx?.currentTime||0){if(!fx.enabled()||!ctx||k==='z')return;const o=ctx.createOscillator(),g=ctx.createGain();o.type='triangle';o.frequency.setValueAtTime(420,t);o.frequency.exponentialRampToValueAtTime(180,t+.06);g.gain.setValueAtTime(.001,t);g.gain.exponentialRampToValueAtTime(.18,t+.006);g.gain.exponentialRampToValueAtTime(.001,t+(k==='r'?.24:.09));o.connect(g);g.connect(ctx.destination);o.start(t);o.stop(t+.27);voices.push(o);o.onended=()=>{voices=voices.filter(v=>v!==o);o.disconnect();g.disconnect();};}function note(k){if(k==='z')return '\\x3csvg viewBox=\"0 0 30 44\" aria-hidden=\"true\">\\x3cpath d=\"M14 3l7 11-10 8 8 9q-13-4-10 9\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\\x3c\/svg>';return '\\x3csvg viewBox=\"0 0 30 44\" aria-hidden=\"true\">\\x3cellipse cx=\"10\" cy=\"34\" rx=\"7\" ry=\"5\" transform=\"rotate(-18 10 34)\" fill=\"currentColor\"\/>\\x3cpath d=\"M16 33V4\" stroke=\"currentColor\" stroke-width=\"3\"\/>'+(k==='b'?'\\x3cpath d=\"M17 4q17 8 6 22 4-12-6-13Z\" fill=\"currentColor\"\/>':'')+'\\x3c\/svg>';}function symbol(k){return '\\x3ci class=\"rm-symbol '+k+'\" aria-hidden=\"true\">\\x3c\/i>';}function cell(k,i,w){const content=w==='q'?(level===1?names[k]:symbol(k)):k?(level===1?symbol(k):note(k)):'\\x3cspan class=\"rm-empty\">\u30fb\\x3c\/span>';return '\\x3cdiv class=\"rm-card\" data-where=\"'+w+'\" data-pos=\"'+i+'\" aria-label=\"'+(i+1)+'\u3053\u3081\u3001'+(k?names[k]:'\u307e\u3060 \u3044\u308c\u3066\u3044\u306a\u3044')+'\">'+content+'\\x3c\/div>';}function message(t,good=false){$('.g-message').textContent=t;$('.g-message').classList.toggle('success',good);}function legend(){return ['r','b',...(rests?['z']:[])].map(k=>'\\x3cspan class=\"rm-key\">'+(level===1?names[k]:symbol(k))+' \u2192 '+(level===1?symbol(k):note(k))+'\\x3c\/span>').join('');}function update(){$('.rm-answer').innerHTML=deck[at].map((k,i)=>cell(answer[i],i,'a')).join('');$('.rm-title').textContent='\u3058\u3076\u3093\u306e \u30ea\u30ba\u30e0 '+answer.length+' \/ '+deck[at].length;$('[data-do=undo]').disabled=!answer.length||done;$('[data-do=hear-a]').disabled=!answer.length;$('[data-do=check]').disabled=answer.length!==deck[at].length||done;$$('[data-add]').forEach(b=>b.disabled=done||answer.length===deck[at].length);}function render(){root.innerHTML='\\x3cheader class=\"g-head\">\\x3ch2>\u304d\u3054\u3046\u3067 \u30ea\u30ba\u30e0\u3078\u3093\u304b\u3093\uff01\\x3c\/h2>'+fx.button()+'\\x3c\/header>\\x3cdiv class=\"rm-level-picker\">\\x3cp class=\"rm-level-label\">\u30ec\u30d9\u30eb\u3092 \u3048\u3089\u307c\u3046\\x3c\/p>\\x3cdiv class=\"g-tabs rm-levels\">\\x3cbutton type=\"button\" data-level=\"1\" aria-pressed=\"'+(level===1)+'\">Lv1 \u3053\u3068\u3070\\x3c\/button>\\x3cbutton type=\"button\" data-level=\"2\" aria-pressed=\"'+(level===2)+'\">Lv2 \u304d\u3054\u3046\\x3c\/button>\\x3cbutton type=\"button\" data-level=\"3\" aria-pressed=\"'+(level===3)+'\">Lv3 \u304a\u3068\\x3c\/button>\\x3c\/div>\\x3c\/div>\\x3cdiv class=\"rm-settings\">\\x3clabel>\\x3cinput type=\"checkbox\" data-do=\"rests\" '+(rests?'checked':'')+'>\u304a\u3084\u3059\u307f\u3082 \u3044\u308c\u308b\\x3c\/label>\\x3cb>'+(at+1)+' \/ 5\u3082\u3093\\x3c\/b>\\x3c\/div>\\x3cdiv class=\"rm-prompt\">\\x3cp class=\"rm-question\">'+(level===1?'\u3053\u3068\u3070\u3092 \u304d\u3054\u3046\u306b \u304b\u3048\u3088\u3046\uff01':level===2?'\u304d\u3054\u3046\u3092 \u97f3\u7b26\u306b \u304b\u3048\u3088\u3046\uff01':'\u304a\u3068\u3092 \u97f3\u7b26\u306b \u304b\u3048\u3088\u3046\uff01')+'\\x3c\/p>\\x3cbutton type=\"button\" class=\"rm-hear\" data-do=\"hear-q\">\u25b6 \u304a\u3066\u307b\u3093\u3092 \u304d\u304f\\x3c\/button>\\x3c\/div>'+(level===3?'':('\\x3cdiv class=\"rm-pattern rm-target\" style=\"--n:'+deck[at].length+'\">'+deck[at].map((k,i)=>cell(k,i,'q')).join('')+'\\x3c\/div>'))+''+'\\x3cp class=\"rm-title\">\\x3c\/p>\\x3cdiv class=\"rm-legend\">'+(level===3?'':legend())+'\\x3c\/div>\\x3cdiv class=\"rm-pattern rm-answer\" style=\"--n:'+deck[at].length+'\">\\x3c\/div>\\x3cdiv class=\"rm-inputs\">'+['r','b',...(rests?['z']:[])].map(k=>'\\x3cbutton type=\"button\" data-add=\"'+k+'\" aria-label=\"'+(level===1?({r:'\u8d64\u306e\u304d\u3054\u3046',b:'\u9752\u306e\u304d\u3054\u3046',z:'\u304a\u3084\u3059\u307f\u306e\u304d\u3054\u3046'}[k]):({r:'\u56db\u5206\u97f3\u7b26',b:'\u516b\u5206\u97f3\u7b26',z:'\u56db\u5206\u4f11\u7b26'}[k]))+'\">'+(level===1?symbol(k):note(k))+'\\x3c\/button>').join('')+'\\x3c\/div>\\x3cdiv class=\"rm-tools\">\\x3cbutton type=\"button\" class=\"g-small\" data-do=\"undo\">1\u3053 \u3082\u3069\u3059\\x3c\/button>\\x3cbutton type=\"button\" class=\"g-small\" data-do=\"hear-a\">\u25b6 \u3058\u3076\u3093\u306e \u304a\u3068\\x3c\/button>\\x3cbutton type=\"button\" class=\"g-small\" data-do=\"stop\">\u25a0 \u3068\u3081\u308b\\x3c\/button>\\x3c\/div>\\x3cdiv class=\"g-message\" role=\"status\" aria-live=\"polite\">\u3072\u3060\u308a\u304b\u3089\u3001\u3058\u3085\u3093\u3070\u3093\u306b \u304a\u3057\u3066\u306d\u3002\\x3c\/div>\\x3cdiv class=\"g-row\">\\x3cbutton type=\"button\" class=\"g-main\" data-do=\"check\">\u305f\u3057\u304b\u3081\u308b\\x3c\/button>\\x3cbutton type=\"button\" class=\"g-small\" data-do=\"wait\" hidden>\u5f85\u3063\u3066\uff01\\x3c\/button>\\x3cbutton type=\"button\" class=\"g-main\" data-do=\"next\" hidden>\u3064\u304e\u3078 \u2192\\x3c\/button>\\x3c\/div>';update();$$('[data-level]').forEach(b=>b.onclick=()=>{level=Number(b.dataset.level);start();});$('[data-do=sound]').onclick=e=>{stop();fx.toggle(e.currentTarget);};$('[data-do=rests]').onchange=e=>{rests=e.target.checked;start();};$$('[data-add]').forEach(b=>b.onclick=()=>{stop();unlock();answer.push(b.dataset.add);hit(b.dataset.add);update();message('\u304a\u3068\u3067\u3082 \u305f\u3057\u304b\u3081\u3066\u307f\u3088\u3046\u3002');});$('[data-do=undo]').onclick=()=>{stop();answer.pop();update();message('\u3082\u3046\u3044\u3061\u3069 \u305f\u3081\u3057\u3066\u306d\u3002');};$('[data-do=hear-q]').onclick=()=>play(deck[at],'q');$('[data-do=hear-a]').onclick=()=>play(answer,'a');$('[data-do=stop]').onclick=stop;$('[data-do=check]').onclick=check;$('[data-do=wait]').onclick=e=>{if(advanceTimer){cancelAdvance();e.currentTarget.textContent='2\u3073\u3087\u3046\u3067 \u3064\u304e\u3078';message('\u3068\u3081\u305f\u3088\u3002\u304a\u3068\u3092 \u305f\u3057\u304b\u3081\u3088\u3046\u3002',true);}else{scheduleAdvance();e.currentTarget.textContent='\u5f85\u3063\u3066\uff01';message('2\u3073\u3087\u3046\u3067 \u3064\u304e\u3078 \u3059\u3059\u3080\u3088\u3002',true);}};$('[data-do=next]').onclick=()=>{cancelAdvance();stop();at++;if(at===5)result();else{answer=[];done=false;first=true;render();}};}function play(seq,where){stop();unlock();if(!fx.enabled()){message('\u304d\u304f\u3068\u304d\u306f\u300c\u97f3\u3042\u308a\u300d\u306b \u3057\u3066\u306d\u3002');return;}if(!ctx){message('\u3053\u306e \u305f\u3093\u307e\u3064\u3067\u306f \u304a\u3068\u3092 \u3060\u305b\u306a\u3044\u3088\u3002');return;}let offset=.07;seq.forEach((k,i)=>{hit(k,ctx.currentTime+offset);timers.push(setTimeout(()=>{$$('.playing').forEach(e=>e.classList.remove('playing'));const el=$('[data-where=\"'+where+'\"][data-pos=\"'+i+'\"]');if(el)el.classList.add('playing');},offset*1000));offset+=beats[k]*.6;});timers.push(setTimeout(()=>$$('.playing').forEach(e=>e.classList.remove('playing')),offset*1000));}function check(){stop();if(answer.length!==deck[at].length)return;const wrong=answer.map((k,i)=>k!==deck[at][i]);if(wrong.some(Boolean)){first=false;fx.play('wrong');message('\u3042\u304b\u3044 \u3068\u3053\u308d\u3092\u3001\u305f\u3057\u304b\u3081\u3088\u3046\u3002');$$('[data-where=a]').forEach((e,i)=>e.classList.toggle('miss',wrong[i]));return;}done=true;if(first)score++;fx.play('correct');fx.celebrate();message('\u3074\u3063\u305f\u308a\uff01 2\u3073\u3087\u3046\u3067 \u3064\u304e\u3078\u3002',true);update();$('[data-do=next]').hidden=false;$('[data-do=wait]').hidden=false;scheduleAdvance();}function result(){root.innerHTML='\\x3cheader class=\"g-head\">\\x3ch2>\u30ea\u30ba\u30e0\u3078\u3093\u304b\u3093\u3001\u3067\u304d\u305f\u306d\uff01\\x3c\/h2>\\x3c\/header>\\x3cdiv class=\"rm-result\">5\u3082\u3093 \u30af\u30ea\u30a2\uff01\\x3cbr>\u3044\u3061\u3069\u3067 \u3067\u304d\u305f\u306e\u306f\\x3cbr>\\x3cstrong>'+score+' \/ 5\u3082\u3093\\x3c\/strong>\\x3cp>\u3053\u3048\u3084 \u624b\u3073\u3087\u3046\u3057\u3067\u3082\\x3cbr>\u30ea\u30ba\u30e0\u3092 \u305f\u3081\u3057\u3066\u307f\u3088\u3046\u3002\\x3c\/p>\\x3c\/div>\\x3cbutton type=\"button\" class=\"g-main\" data-do=\"again\">\u3082\u3046\u3044\u3061\u3069\\x3c\/button>';$('[data-do=again]').onclick=start;}function start(){cancelAdvance();stop();deck=pool.map(k=>({k,r:Math.random()})).sort((a,b)=>a.r-b.r).slice(0,5).map(a=>(rests?a.k.replace('r','z'):a.k).split(''));at=0;answer=[];score=0;done=false;first=true;render();}window.addEventListener('pagehide',()=>{cancelAdvance();stop();fx.stop();if(ctx)ctx.close().catch(()=>{});},{once:true});start();})();<\/script><\/section><details class=\"cd-copy child-how\"><summary>\u3042\u305d\u3073\u304b\u305f<\/summary><ol><li>\u304a\u3066\u307b\u3093\u3092 \u898b\u3088\u3046\u3002Lv3\u306f\u300c\u25b6 \u304a\u3066\u307b\u3093\u300d\u3067 \u304d\u3053\u3046\u3002<\/li><li>\u3072\u3060\u308a\u304b\u3089\u3001\u304d\u3054\u3046\u3084 \u97f3\u7b26\u3092 \u304a\u305d\u3046\u3002<\/li><li>\u300c\u305f\u3057\u304b\u3081\u308b\u300d\u3067 \u30c1\u30a7\u30c3\u30af\uff01 \u304a\u3068\u3067\u3082 \u304d\u3053\u3046\u3002<\/li><\/ol><p>\u305b\u3044\u304b\u3044\u3059\u308b\u3068\u30012\u3073\u3087\u3046\u3067 \u3064\u304e\u3078\u3002<br>\u300c\u5f85\u3063\u3066\uff01\u300d\u3067 \u3068\u3081\u3089\u308c\u308b\u3088\u3002<br>\u300c1\u3053 \u3082\u3069\u3059\u300d\u3067\u3001\u306a\u304a\u305b\u308b\u3088\u3002<br>\u7dd1\u306f\u3001\u304a\u3068\u3092 \u3060\u3055\u305a\u306b 1\u3071\u304f \u304a\u3084\u3059\u307f\u3002<\/p><\/details><details class=\"cd-copy\"><summary>\u4fdd\u8b77\u8005\u30fb\u5148\u751f\u3078<\/summary><p>\u8a18\u53f7\u3068\u97f3\u306e\u5bfe\u5fdc\u3092\u8aad\u307f\u53d6\u308a\u3001\u9806\u5e8f\u3069\u304a\u308a\u306b\u7f6e\u304d\u63db\u3048\u308b\u30c1\u30b3\u30ed\u30f3\u306e\u904a\u3073\u3067\u3059\u3002\u97f3\u697d\u306e\u97f3\u7b26\u30fb\u4f11\u7b26\u306e\u5c0e\u5165\u306b\u3082\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u4e3b\u306b\u5c0f\u5b661\u30fb2\u5e74\u751f\u5411\u3051\u3067\u3059\u3002<\/p><p>\u30bf\u30f3\u306f1\u62cd\u3001\u30bf\u306f\u534a\u62cd\uff082\u3064\u30671\u62cd\uff09\u3001\u7dd1\u306e\u304a\u3084\u3059\u307f\u306f1\u62cd\u3067\u3059\u3002\u97f3\u7b26\u8868\u793a\u3067\u306f\u56db\u5206\u97f3\u7b26\u30fb\u516b\u5206\u97f3\u7b26\u30fb\u56db\u5206\u4f11\u7b26\u306b\u306a\u308a\u307e\u3059\u30021\u554f4\u62cd\u30011\u56de5\u554f\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u51fa\u3057\u307e\u3059\u3002\u56db\u5206\u97f3\u7b26\u30921\u62cd\u3068\u3057\u3066\u6bce\u5206100\u62cd\u3067\u518d\u751f\u3057\u307e\u3059\u3002\u5165\u529b\u306e\u901f\u3055\u306f\u63a1\u70b9\u3057\u307e\u305b\u3093\u3002Lv1\u306f\u3053\u3068\u3070\u304b\u3089\u8272\u8a18\u53f7\u3078\u3001Lv2\u306f\u8272\u8a18\u53f7\u304b\u3089\u97f3\u7b26\u3078\u3001Lv3\u306f\u304a\u624b\u672c\u306e\u97f3\u3060\u3051\u3092\u805e\u3044\u3066\u97f3\u7b26\u3067\u56de\u7b54\u3057\u307e\u3059\u3002Lv3\u3067\u306f\u304a\u624b\u672c\u306e\u6587\u5b57\u30fb\u8272\u8a18\u53f7\u30fb\u97f3\u7b26\u3092\u8868\u793a\u3057\u307e\u305b\u3093\u3002<\/p><p>\u518d\u751f\u306f\u697d\u5668\u98a8\u306e\u5408\u6210\u97f3\u3067\u3059\u3002\u9577\u3055\u306f\u6b21\u306e\u97f3\u307e\u3067\u306e\u9593\u9694\u3067\u8868\u3057\u3001\u4f11\u307f\u3067\u306f\u97f3\u3092\u9cf4\u3089\u3057\u307e\u305b\u3093\u3002\u8aa4\u7b54\u306f\u76f4\u3057\u3066\u518d\u6311\u6226\u3067\u304d\u307e\u3059\u3002\u6b63\u89e3\u97f3\u306f\u5171\u901a\u97f3\u3092\u4f7f\u3044\u307e\u3059\u3002\u6b63\u89e3\u304b\u30892\u79d2\u3067\u6b21\u3078\u9032\u307f\u3001\u300c\u5f85\u3063\u3066\uff01\u300d\u3067\u505c\u6b62\u3067\u304d\u307e\u3059\u3002\u300c\u3064\u304e\u3078\u300d\u3067\u5148\u306b\u9032\u3080\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p><\/details><\/div>\n<script>(function(){function parallelLinks(){const e=document.querySelector(\"#rhythm-lesson .cd-tags\");if(!e)return;e.innerHTML='<a href=\"https:\/\/chicodori.net\/index.php\/music-2\/\">\u97f3\u697d<\/a> \uff0f <a href=\"https:\/\/chicodori.net\/index.php\/chicoron-information-literacy\/\">\u30c1\u30b3\u30ed\u30f3<\/a>'}if(document.readyState===\"complete\")parallelLinks();else window.addEventListener(\"load\",parallelLinks,{once:true})})();<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u30c1\u30b3\u30ed\u30f3 \uff0f \u97f3\u697d \u304d\u3054\u3046\u3067 \u30ea\u30ba\u30e0\u3078\u3093\u304b\u3093\uff01 \u30ea\u30ba\u30e0 \u304a\u304d\u304b\u3048 3\u30ec\u30d9\u30eb \u3069\u3093\u306a\u30b2\u30fc\u30e0\uff1f Lv1\u306f\u300c\u30bf\u30f3\u30fb\u30bf\u300d\u306e \u3053\u3068\u3070\u3092\u3001\u8d64\u30fb\u9752\u306e \u304d\u3054\u3046\u306b\u3002Lv2\u306f\u3001\u8d64\u30fb\u9752\u306e \u304d\u3054\u3046\u3092 \u97f3\u7b26\u306b\u3002Lv3\u306f\u3001\u304a\u3068\u3060\u3051\u3092 \u304d\u3044\u3066 \u97f3\u7b26\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15109,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[306,1,3,4,18],"tags":[],"cd_learning_unit":[2322],"cd_english_grade":[],"class_list":["post-15091","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-up","category-1","category-3","category-4","category-18","entry","has-media"],"_links":{"self":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15091","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=15091"}],"version-history":[{"count":18,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15091\/revisions"}],"predecessor-version":[{"id":15787,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/posts\/15091\/revisions\/15787"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/media\/15109"}],"wp:attachment":[{"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/media?parent=15091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/categories?post=15091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/tags?post=15091"},{"taxonomy":"cd_learning_unit","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/cd_learning_unit?post=15091"},{"taxonomy":"cd_english_grade","embeddable":true,"href":"https:\/\/chicodori.net\/index.php\/wp-json\/wp\/v2\/cd_english_grade?post=15091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}