:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f8fb;font-family:Noto Sans JP,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}a,button{color:inherit}a{text-decoration:none}.app-shell{min-height:100vh;padding-bottom:0}.site-header{background:#ffffffe6;border-bottom:1px solid #dde4ef;justify-content:space-between;align-items:center;padding:10px clamp(18px,5vw,64px);display:flex}.brand,.site-header nav,footer,.button,.tool-row button,.external-link{align-items:center;gap:10px;display:flex}.brand,.site-header button,footer button{background:0 0;border:0}.brand{color:#4b37b9;padding:0;font-weight:800}.brand svg,.button svg,.tool-row svg,.mobile-nav svg,.external-link svg{width:20px;height:20px}.site-header nav{color:#526071;font-size:.95rem;font-weight:800}.site-header nav button{border-radius:8px;padding:8px 12px}.site-header nav button.active,.mobile-nav button.active{color:#4b37b9;background:#ebe8ff}.hero{grid-template-columns:minmax(0,1fr) minmax(280px,500px);align-items:center;gap:clamp(28px,5vw,72px);min-height:calc(100vh - 74px);padding:clamp(48px,8vw,96px) clamp(18px,5vw,64px) 56px;display:grid}.hero-copy{max-width:760px}.eyebrow{color:#067b78;margin:0 0 14px;font-weight:900}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(2.1rem,4.6vw,3.6rem);line-height:1.08}.hero h1{font-size:clamp(3rem,9vw,6.4rem);line-height:.98}.page-title h1{letter-spacing:0;overflow-wrap:normal;word-break:keep-all}h2{font-size:clamp(1.6rem,3vw,2.25rem)}.hero-copy>p:not(.eyebrow),.page-title>p,.learn-strip p,.feature-card span,.document-page p{color:#526071;line-height:1.8}.hero-copy>p:not(.eyebrow){max-width:640px;margin:24px 0 0;font-size:1.12rem}.actions,.button-row,.tool-row{flex-wrap:wrap;gap:12px;display:flex}.actions{margin-top:32px}.button,.text-button,.tool-row button,.answer-grid button,.icon-button{border:0;border-radius:8px;font-weight:900}button:disabled{cursor:not-allowed;opacity:.62}.button{justify-content:center;min-width:150px;padding:14px 18px}.primary{color:#fff;background:#4b37b9}.secondary{color:#115e59;background:#dff8f2}.stereo-preview,.canvas-mock{border:1px solid #dce4ef;border-radius:8px;position:relative;overflow:hidden;box-shadow:0 24px 60px #404c7029}.stereo-preview{aspect-ratio:1;background:radial-gradient(circle at 35% 35%,#ff6ba6 0 7%,#0000 8%),radial-gradient(circle at 66% 42%,#3dd6be 0 6%,#0000 7%),repeating-radial-gradient(circle,#27304a 0 1px,#0000 2px 12px),#fff}.stereo-preview span{border:2px solid #4b37b957;border-radius:8px;width:36%;height:36%;position:absolute}.stereo-preview span:first-child{top:18%;left:15%}.stereo-preview span:nth-child(2){top:34%;left:33%}.stereo-preview span:nth-child(3){top:50%;left:49%}.page-band,.workspace,.document-page,.learn-strip{padding:clamp(34px,6vw,72px) clamp(18px,5vw,64px)}.page-band{scroll-margin-top:16px}.workspace,.document-page{padding-top:clamp(18px,3vw,34px)}.section-heading,.page-title{max-width:820px}.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.feature-card,.control-panel,.preview-panel{background:#fff;border:1px solid #dfe6ef;border-radius:8px}.feature-card{flex-direction:column;min-height:250px;padding:22px;display:flex}.feature-card svg{color:#d33f86;width:28px;height:28px}.feature-card p{color:#067b78;margin:16px 0 8px;font-weight:900}.feature-card h3{margin-bottom:10px;font-size:1.28rem}.text-button{color:#fff;background:#172033;align-self:flex-start;margin-top:auto;padding:11px 14px}.learn-strip{background:#fff;border-top:1px solid #dfe6ef;border-bottom:1px solid #dfe6ef;justify-content:space-between;align-items:center;gap:24px;display:flex}.learn-strip>div{max-width:720px}.maker-layout,.challenge-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start;gap:20px;margin-top:28px;display:grid}.challenge-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}.control-panel,.preview-panel{min-width:0;padding:20px}.control-panel{gap:18px;display:grid}.control-panel label{color:#526071;gap:8px;min-width:0;font-weight:800;display:grid}.control-panel input,.control-panel select{color:#172033;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-width:0;max-width:100%;padding:12px}.control-panel input[type=range]{padding:0}.control-panel input[type=color]{height:44px;padding:4px}.color-grid{grid-template-columns:repeat(3,minmax(64px,1fr));gap:10px;min-width:0;display:grid}.setting-grid{grid-template-columns:1fr;gap:10px;min-width:0;display:grid}.file-input input{background:#fff}.field-stack{gap:8px;display:grid}.field-help{color:#526071;background:#f7fafc;border:1px solid #dfe6ef;border-radius:8px;margin:0;padding:10px 12px;font-size:.86rem;line-height:1.65}.check-row{flex-direction:row;align-items:center;gap:10px;display:flex}.check-row input{width:18px;height:18px}.object-editor{background:#f7fafc;border:1px solid #dfe6ef;border-radius:8px;gap:10px;padding:12px;display:grid}.object-editor-header{color:#526071;justify-content:space-between;align-items:center;font-weight:900;display:flex}.object-editor-header>div{gap:6px;display:flex}.mini-action-button{color:#fff;background:#172033;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:7px 10px;font-weight:900;display:inline-flex}.mini-action-button.danger{color:#be123c;background:#fff1f2}.mini-action-button svg{width:17px;height:17px}.object-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.object-tabs button{color:#526071;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #d8e0ec;border-radius:8px;min-width:0;padding:9px 10px;font-weight:900;overflow:hidden}.object-tabs button.selected{color:#4b37b9;background:#ebe8ff;border-color:#b9adff}.segmented-field{gap:8px;display:grid}.segmented-field>span{color:#526071;font-weight:900}.segmented{background:#eef3f8;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:4px;padding:4px;display:grid}.segmented button{background:0 0;border:0;border-radius:6px;padding:10px;font-weight:900}.segmented .selected{color:#4b37b9;background:#fff}.icon-button{aspect-ratio:1;background:#eef3f8;justify-content:center;align-items:center;width:48px;display:inline-flex}.preview-panel{gap:16px;display:grid}.canvas-frame{background:#edf2f7;border:1px solid #dce4ef;border-radius:8px;position:relative;overflow:hidden;box-shadow:0 24px 60px #404c7029}.canvas-frame canvas{width:100%;height:auto;display:block}.loading-overlay{color:#4b37b9;background:#ffffffb8;justify-content:center;align-items:center;font-weight:900;display:flex;position:absolute;inset:0}.tool-row button,.answer-grid button{color:#172033;background:#eef3f8;padding:12px 14px}.answer-grid button{min-height:52px}.answer-grid button:disabled{cursor:default;opacity:1}.answer-grid button.correct{color:#166534;background:#dcfce7}.answer-grid button.incorrect{color:#be123c;background:#ffe4e6}.status-message{color:#526071;background:#f7fafc;border:1px solid #dfe6ef;border-radius:8px;margin:0;padding:12px 14px}.status-message.error{color:#be123c;background:#fff1f2;border-color:#fecdd3}.status-message.success{color:#166534;background:#ecfdf5;border-color:#bbf7d0}.score{color:#067b78;font-weight:900}.timer-badge{color:#067b78;text-align:center;background:#ecfeff;border:1px solid #99f6e4;border-radius:8px;padding:10px 12px;font-weight:900}.timer-badge.warning{color:#be123c;background:#fff1f2;border-color:#fecdd3}.answer-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.challenge-canvas{box-shadow:none}.challenge-canvas canvas{object-fit:contain;max-height:620px}.result-card{background:#fff;border:1px solid #dfe6ef;border-radius:8px;align-content:center;gap:18px;min-height:430px;padding:28px;display:grid}.result-card h2{margin:0;font-size:clamp(2rem,5vw,4rem)}.result-card p:not(.score){color:#526071;max-width:620px;font-weight:800;line-height:1.8}.result-actions{flex-wrap:wrap;gap:10px;display:flex}.practice-panel{background:#fff;border:1px solid #dfe6ef;border-radius:8px;justify-content:center;align-items:center;gap:clamp(40px,12vw,140px);min-height:220px;margin-top:20px;display:flex}.practice-panel span{background:#4b37b9;border-radius:999px;width:18px;height:18px}.practice-workspace{grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:start;gap:20px;margin-top:24px;display:grid}.practice-workspace.compact{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:16px;margin-top:12px}.practice-workspace.compact .practice-card{gap:8px;padding:12px}.practice-workspace.compact .canvas-frame canvas{object-fit:contain;max-height:600px}.learn-page .page-title h1{font-size:clamp(2rem,4vw,3rem)}.learn-page .page-title>p:last-child{margin-bottom:0}.practice-workspace>div:first-child p:not(.eyebrow),.tip-card p{color:#526071;line-height:1.75}.method-selector{gap:10px;display:grid}.method-tabs{background:#edf3f8;border:1px solid #dfe6ef;border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.method-tabs button{color:#172033;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:12px;font-weight:900}.method-tabs button.active{color:#4b37b9;background:#fff;box-shadow:0 8px 18px #17203314}.method-card{color:#172033;text-align:left;background:#fff;border:1px solid #dfe6ef;border-radius:8px;gap:10px;padding:16px;display:grid}.method-card svg{color:#067b78;width:22px;height:22px}.method-card h2{margin:0;font-size:1.25rem;font-weight:900}.method-card ol{color:#526071;margin:0;padding-left:1.25em;line-height:1.7}.practice-card,.tip-card,.notice-card{background:#fff;border:1px solid #dfe6ef;border-radius:8px}.practice-card{gap:14px;padding:18px;display:grid}.practice-card label{color:#526071;gap:8px;font-weight:900;display:grid}.practice-card input[type=range]{width:100%}.practice-canvas{box-shadow:none}.tips-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px;display:grid}.tip-card{padding:20px}.tip-card h2{margin-bottom:8px;font-size:1.2rem}.troubleshooting-section,.print-guide-section{background:#fff;border:1px solid #dfe6ef;border-radius:8px;margin-top:20px;padding:22px}.troubleshooting-section{grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:18px;display:grid}.troubleshooting-section p:not(.eyebrow),.print-guide-section li{color:#526071;line-height:1.75}.checklist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.checklist-item{color:#172033;background:#f7fafc;border:1px solid #dfe6ef;border-radius:8px;align-items:center;gap:10px;padding:11px 12px;font-weight:800;display:flex}.checklist-item input{width:18px;height:18px}.print-guide-section{grid-template-columns:1fr;gap:12px;display:grid}.print-guide-section ol{margin:0;padding-left:1.4em}.guide-note-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:18px;display:grid}.notice-card{margin-top:20px;padding:22px}.notice-card svg{color:#067b78;width:24px;height:24px;margin-bottom:10px}.notice-card p:not(.eyebrow){color:#526071;line-height:1.75}.document-page{max-width:900px;min-height:62vh}.external-link{color:#fff;background:#172033;border-radius:8px;padding:12px 16px;font-weight:900;display:inline-flex}.ad-slot{color:#7a8798;background:#eef3f8;border:1px dashed #c9d4e4;justify-content:center;align-items:center;min-height:92px;margin:16px clamp(18px,5vw,64px) 0;font-size:.85rem;font-weight:800;display:flex}footer{color:#526071;border-top:1px solid #dde4ef;flex-wrap:wrap;padding:24px clamp(18px,5vw,64px);font-size:.92rem;line-height:1.4}footer p,footer small{margin:0}footer button{color:#526071;padding:0}footer small{width:100%}.mobile-nav{display:none}@media (width<=1080px){.feature-grid,.tips-grid,.checklist-grid,.color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){.app-shell{padding-bottom:76px}.site-header{flex-direction:column;align-items:flex-start;gap:12px}.site-header nav{display:none}.hero,.feature-grid,.maker-layout,.challenge-layout,.practice-workspace,.tips-grid,.troubleshooting-section,.print-guide-section,.guide-note-grid,.checklist-grid{grid-template-columns:1fr}.hero{min-height:auto}.page-title h1{overflow-wrap:anywhere;word-break:normal;font-size:clamp(2rem,10vw,3rem)}.learn-strip{flex-direction:column;align-items:flex-start}.color-grid{grid-template-columns:1fr}.practice-workspace.compact .canvas-frame canvas{max-height:520px}.practice-workspace.compact{grid-template-columns:1fr}.mobile-nav{z-index:20;background:#fffffff5;border-top:1px solid #d8e0ec;grid-template-columns:repeat(4,1fr);padding:8px 8px 10px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:56px;font-size:.78rem;font-weight:900;display:flex}}
