.toc[data-astro-cid-wv7whodv]{padding:24px 12px 56px}details[data-astro-cid-wv7whodv]{border:0;max-width:none;padding:0}details[data-astro-cid-wv7whodv]+details[data-astro-cid-wv7whodv],li[data-astro-cid-wv7whodv]{margin-top:4px}summary[data-astro-cid-wv7whodv]{color:var(--link);letter-spacing:.025em;cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:8px;font-size:14px;font-weight:700;line-height:20px;list-style:none;display:flex}summary[data-astro-cid-wv7whodv]::-webkit-details-marker{display:none}summary[data-astro-cid-wv7whodv]:after{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;margin-left:auto;transition:transform .15s;transform:rotate(-45deg)}details[data-astro-cid-wv7whodv][open]>summary[data-astro-cid-wv7whodv]:after{transform:rotate(45deg)}summary[data-astro-cid-wv7whodv]:hover{background:var(--bg-2)}ul[data-astro-cid-wv7whodv]{margin:0;padding:0;list-style:none}li[data-astro-cid-wv7whodv]{font-size:14px;line-height:20px}.toc-item[data-astro-cid-wv7whodv]{border-radius:6px;align-items:center;gap:8px;padding:8px 8px 8px 16px;font-weight:500;text-decoration:none;display:flex}a[data-astro-cid-wv7whodv].toc-item{color:var(--muted)}a[data-astro-cid-wv7whodv].toc-item:hover{color:var(--text);background:var(--bg-2)}a[data-astro-cid-wv7whodv].toc-item[aria-current=page]{color:var(--text);background:#dde7f1}.toc-label[data-astro-cid-wv7whodv]{flex:1;min-width:0}.toc-unported[data-astro-cid-wv7whodv]{color:#b7b5ac;cursor:default}.toc-badge[data-astro-cid-wv7whodv]{border:1px solid var(--border);color:var(--muted);border-radius:9999px;flex:none;padding:0 6px;font-size:11px;font-weight:500;line-height:16px}:root{color-scheme:light;--bg:#fffcf0;--bg-2:#f2f0e5;--border:#dad8ce;--text:#100f0f;--muted:#6f6e69;--link:#205ea6;color:var(--text);background:var(--bg);font-family:system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:var(--link);text-underline-offset:4px}a:focus-visible,summary:focus-visible{outline:2px solid var(--link);outline-offset:4px}.site-header,main{max-width:1120px;margin-inline:auto;padding:24px}.site-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex}.site-header a{font-weight:600;text-decoration:none}.migration-page{scroll-padding-top:96px}.site-header-migration{z-index:10;background:var(--bg);position:sticky;top:0}.site-header-migration .brand-logo{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.site-header-migration .brand-wordmark{white-space:nowrap;align-items:baseline;display:inline-flex}.site-header-migration .brand-qni{color:#18181b;letter-spacing:-.6px;font-size:20px;font-weight:800;line-height:28px}.site-header-migration .brand-tutorial{color:#38bdf8;text-transform:uppercase;font-family:Arial,sans-serif;font-size:16px;font-weight:700;line-height:28px}.site-header-migration .github-link{color:#a1a1aa;border-radius:6px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;margin:-8px -8px -8px 8px;display:inline-flex}.site-header-migration .github-link:hover{color:#71717a}.site-header span,.section-label{color:var(--muted);font-size:14px;line-height:20px}main{padding-block:48px}h1{margin:8px 0 16px;font-size:36px;line-height:40px}h2{margin:48px 0 16px;font-size:24px;line-height:32px}h3{font-size:20px;line-height:28px}p,li{font-size:16px;line-height:28px}p{max-width:76ch;margin:16px 0}.lede{color:var(--muted);margin-bottom:32px;font-size:20px;line-height:28px}.page-title-block{border:0 solid #e4e4e7;border-bottom-width:1px;margin-bottom:40px;padding-bottom:40px}.page-title-block h1{margin-bottom:0}.page-title-block .lede{margin-top:5px;margin-bottom:0}.static-diagram{border:1px solid var(--border);background:var(--bg-2);border-radius:12px;max-width:76ch;margin:24px 0;padding:16px 24px}.static-diagram p{margin:8px 0}qni-webgpu-circuit{clear:both}@media (width>=640px){.content-with-margin qni-webgpu-circuit:not([width]){clear:none}}.content-with-margin>:has(qni-webgpu-circuit:not([width])) :has(qni-webgpu-circuit:not([width])){width:100%}fit-content{width:100%;min-width:0;display:block}fit-content>.fitted-content{width:max-content;max-width:none;padding:2px 12px 24px 0;display:block}@media (width<=639.98px){.content-with-margin .flex-row:has(>qubit-circle:nth-of-type(6)),.content-with-margin .circle-row:has(>qubit-circle:nth-of-type(6)){grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px;width:100%;min-width:0;padding-right:12px;display:grid}.content-with-margin .flex-col:has(>.flex-row>qubit-circle:nth-of-type(6)),.content-with-margin .flex-col:has(>.circle-row>qubit-circle:nth-of-type(6)){width:100%;min-width:0}}figure,qni-webgpu-circuit{margin:24px 0}figure,qni-webgpu-circuit:not([width]){max-width:640px}figure img{width:100%;height:auto;display:block}.content-with-margin>figure.figure-wide{clear:both;width:100%;max-width:960px}figcaption{color:var(--muted);font-size:14px;line-height:20px}orbit-reviewarea{max-width:76ch;display:block}orbit-reviewarea.quiz-plain{margin:32px 0}orbit-reviewarea:not(.quiz-plain){border:1px solid var(--border);background:var(--bg-2);border-radius:12px;margin:32px 0;padding:12px 12px 0}orbit-reviewarea:not(.quiz-plain):before{content:"確認クイズ";margin:0 4px 8px;font-size:16px;font-weight:600;line-height:24px;display:block}orbit-reviewarea:not(.quiz-plain):after{content:"Show Answer で答えを表示し、思い出せたら Remembered、忘れていたら Forgotten を選びます。Skip で次の問題へ進みます。";color:var(--muted);margin:-4px 4px 12px;font-size:14px;line-height:20px;display:block}details{border-bottom:1px solid var(--border);max-width:76ch;padding:16px 0}summary{cursor:pointer;line-height:28px}.page-footer{margin-top:64px;margin-bottom:40px}.page-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.page-footer-link{border:1px solid var(--border);background:var(--bg-2);min-height:72px;color:var(--text);border-radius:12px;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;transition:border-color .15s,background-color .15s;display:flex}.page-footer-link:hover{border-color:var(--link);background:#e6e4d9}.page-footer-next{text-align:right;grid-column:2;justify-content:flex-end}.page-footer-text{flex-direction:column;min-width:0;display:flex}.page-footer-label{color:var(--muted);font-size:14px;line-height:20px}.page-footer-title{color:var(--link);font-size:18px;font-weight:600;line-height:26px}.page-footer-chevron{width:20px;height:20px;color:var(--muted);flex:none}.page-footer-link:hover .page-footer-chevron{color:var(--link)}@media (width<=479.98px){.page-footer-nav{grid-template-columns:minmax(0,1fr)}.page-footer-next{grid-column:1}}main{container-type:inline-size}.content-with-margin{counter-reset:margin-note-counter;--prose-width:100%}@media (width>=640px){.content-with-margin{--prose-width:min(560px, max(58.3333cqw, 100cqw - 240px))}.content-with-margin>p,.content-with-margin>ul,.content-with-margin>figure,.content-with-margin>qni-webgpu-circuit:not([width]),.content-with-margin>:has(qni-webgpu-circuit:not([width])),.content-with-margin>.static-diagram,.content-with-margin>details,.content-with-margin>orbit-reviewarea,.content-with-margin>footer{width:var(--prose-width);margin-right:auto}}.sidebar,.toc-open{display:none}@media (width>=768px){.page-shell{grid-template-columns:256px minmax(0,1fr);display:grid}.sidebar{border-right:1px solid var(--border);height:100vh;display:block;position:sticky;top:0;overflow-y:auto}}@media (width<=767.98px){.toc-open{width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;margin:-8px 8px -8px -8px;padding:0;display:inline-flex}.toc-open:hover{background:var(--bg-2);color:var(--text)}.toc-open:focus-visible,.toc-close:focus-visible{outline:2px solid var(--link);outline-offset:2px}.site-header>a{margin-right:auto}html:has(.toc-drawer[open]){overflow:hidden}}.toc-drawer{background:var(--bg);width:min(320px,100vw - 56px);max-width:none;height:100dvh;max-height:none;color:var(--text);border:0;margin:0;padding:0}.toc-drawer::backdrop{background:#100f0f80}.toc-drawer-panel{height:100%;overflow-y:auto}.toc-close{z-index:1;background:var(--bg);width:40px;height:40px;color:var(--muted);cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;margin:8px 8px 0 auto;padding:0;display:flex;position:sticky;top:0}.toc-close:hover{background:var(--bg-2);color:var(--text)}@media (width<=640px){.site-header,main{padding-inline:16px}h1{font-size:30px;line-height:36px}}
