:root{--bg-color:#0e0e0e;--text-color:#e0e0e0;--link-color:#61dafb;--link-hover-color:#4dff58;--accent-bg:#1d1f23;--border-color:#444;--button-bg:#333;--button-color:#e0e0e0;--muted-text-color:#888;--toc-top-offset:250px}html[data-theme=light]{--bg-color:#ffffff;--text-color:#222222;--link-color:#007acc;--link-hover-color:#005599;--accent-bg:#f8f9fa;--border-color:#dee2e6;--button-bg:#e9ecef;--button-color:#222222;--muted-text-color:#666}body{background-color:var(--bg-color);color:var(--text-color);font-family:-apple-system,BlinkMacSystemFont,hiragino kaku gothic pron,hiragino sans,Meiryo,sans-serif;line-height:1.7;margin:0;padding:0}a{color:var(--link-color);text-decoration:none;transition:color .2s ease-in-out}a:hover{color:var(--link-hover-color);text-decoration:underline}h1,h2,h3,h4,h5,h6{color:var(--text-color);border-bottom:1px solid var(--border-color);padding-bottom:.4em;margin-top:1.5em;margin-bottom:1em;position:relative}h1 .anchor,h2 .anchor,h3 .anchor,h4 .anchor,h5 .anchor,h6 .anchor{visibility:hidden;position:absolute;left:-1em;padding-right:.5em;color:var(--link-color);text-decoration:none}h1:hover .anchor,h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor,h6:hover .anchor{visibility:visible}.anchor:hover{text-decoration:underline}.container{max-width:800px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem}main[role=main]{padding-top:2rem;padding-bottom:2rem}header[role=banner],footer[role=contentinfo]{background-color:var(--accent-bg);color:var(--text-color);padding-top:1.5em;padding-bottom:1.5em}.header-top-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1em;flex-grow:1}header[role=banner]{border-bottom:1px solid var(--border-color)}footer[role=contentinfo]{border-top:1px solid var(--border-color);margin-top:2rem;font-size:.9em;text-align:center}.site-description{color:var(--text-color);font-size:1em;margin-top:.5rem;margin-bottom:1rem}article{margin-bottom:2.5rem}figure{margin:0;padding:0}code{word-break:break-all;overflow-wrap:break-word;white-space:normal;font-size:1em}pre{white-space:pre-wrap;overflow-x:auto;font-size:1em;margin-left:1.3em}pre code{word-break:break-all;overflow-wrap:break-word;font-size:1em}@media(max-width:768px){pre,pre code,.highlight,.highlight pre,.highlight code,.chroma{font-size:1em !important;line-height:1.5}}article img{max-width:100%;height:auto;display:block;margin:1.5rem 0;border-radius:8px}img{max-width:100%;height:auto}.share-buttons{margin-top:2rem;margin-bottom:2rem;padding-top:1rem;border-top:1px solid var(--border-color)}.share-buttons strong{display:block;margin-bottom:.5rem}.share-buttons a{display:inline-block;margin-right:10px;padding:8px 12px;border:1px solid var(--border-color);border-radius:5px;color:var(--link-color);text-decoration:none;transition:background-color .3s,color .3s}.share-buttons a:hover{background-color:var(--link-color);color:var(--bg-color);text-decoration:none}.header-container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.site-info{display:flex;flex-direction:column;align-items:flex-start}.site-name{margin-bottom:.5rem}.site-description{margin-top:0}nav{margin-left:auto;margin-right:1rem}nav ul{list-style:none;padding:0;margin:0;display:flex;justify-content:flex-start;gap:1rem}nav li a{display:block;padding:.5rem 1rem;text-decoration:none;color:var(--text-color);background-color:var(--accent-bg);border-radius:5px;transition:background-color .3s ease}nav li a:hover{background-color:var(--link-color);color:var(--accent-bg)}button#theme-toggle{background-color:var(--button-bg);color:var(--button-color);border:1px solid var(--border-color);padding:.6em 1.2em;cursor:pointer;font-size:.9em;border-radius:8px;transition:background-color .2s ease-in-out,color .2s ease-in-out;white-space:nowrap}button#theme-toggle:hover{background-color:var(--link-color);color:var(--accent-bg)}@media(max-width:768px){article img{width:calc(100% + 3rem);margin-left:-1.5rem;margin-right:-1.5rem;max-width:unset;border-radius:0}.header-top-row{flex-direction:row;justify-content:space-between;align-items:center;width:100%}.header-container{flex-direction:column;align-items:flex-start}nav{margin-left:0;margin-right:0;margin-top:1rem;width:100%}nav ul{flex-direction:column;align-items:center;gap:.5rem}button#theme-toggle{width:auto;align-self:center}.header-actions{display:flex;justify-content:flex-end;align-items:center;margin-right:1rem}.language-switcher{display:flex;align-items:center;margin-right:.5rem}.language-switcher a{padding:.6em 1.2em;line-height:1;font-size:.9em;border:1px solid var(--border-color);border-radius:8px;background-color:var(--button-bg);color:var(--button-color);text-decoration:none;transition:background-color .2s ease-in-out,color .2s ease-in-out}.language-switcher a:hover{background-color:var(--link-color);color:var(--accent-bg)}header[role=banner]{padding-top:.5em;padding-bottom:.5em}}.image-preview-modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.5);justify-content:center;align-items:center}.image-preview-modal.active{display:flex}.image-preview-content{margin:auto;display:block;max-width:90%;max-height:90%;object-fit:contain}.image-preview-close{position:absolute;top:15px;right:35px;color:#f1f1f1;font-size:40px;font-weight:700;transition:.3s;cursor:pointer}.image-preview-close:hover,.image-preview-close:focus{color:#bbb;text-decoration:none;cursor:pointer}body.no-scroll{overflow:hidden}.highlight pre,.highlight code{white-space:pre !important}.highlight{background-color:#262626;border-radius:6px;overflow-x:auto;font-size:1em}.post-content-summary{background-color:var(--accent-bg);border:1px solid var(--border-color);padding:1rem;margin-top:1rem;border-radius:8px}.post-content-summary p{margin-bottom:.5rem}.post-content-summary .post-meta-tags-categories{margin-top:.5rem;font-size:.9em;color:#aaa;margin-bottom:.2rem}.post-content-summary h2{margin-top:.2rem;margin-bottom:0;border-bottom:none;padding-bottom:0}.post-content-summary time{display:block;font-size:.85em;color:var(--muted-text-color);margin-top:0;padding-top:0;margin-bottom:.2rem}#toc-container{margin:2em 0;background-color:transparent;border:none;padding:1em}#TableOfContents{display:block !important}#TableOfContents ul{display:block !important;padding-left:0;margin-bottom:0;list-style:none;border-left:1px solid var(--border-color);padding-left:.8em}#TableOfContents ul ul{padding-left:.8em}#TableOfContents li{display:block !important;margin:0;position:relative;padding-left:0;white-space:normal;line-height:1;font-size:.9em;margin-bottom:.3em}#toc a{text-decoration:none;color:var(--text-color);border:none !important;outline:none !important;box-shadow:none !important;background-color:transparent !important;padding-left:0}#toc a:hover{text-decoration:underline;color:var(--link-color)}@media(min-width:1200px){#toc-container{position:fixed;top:var(--toc-top-offset);left:calc(50% + 420px);width:auto;max-width:350px;margin-top:0;z-index:999;max-height:calc(100vh - var(--toc-top-offset) - 100px);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;transition:top .3s ease-in-out}#toc-container.scrolled{top:50px;max-height:calc(100vh - 20px - 200px)}#toc-container::-webkit-scrollbar{display:none}}#TableOfContents li.active>a{color:var(--link-hover-color);font-weight:700}.toc-absolute-bottom{position:absolute !important;bottom:20px;top:auto !important;left:auto !important;right:20px !important;max-height:calc(100vh - 40px) !important}@media(max-width:1199px){#toc-container{border:none;border-radius:0;padding:0;margin-bottom:1em}#toc-title{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;margin:0;padding:0;border-bottom:none;color:var(--text-color);font-size:1.1em}#toc-title .toc-toggle-icon{margin-right:.5em}#toc-title .toc-toggle-icon::before{content:'▼';font-size:.8em}#toc-container.collapsed #toc-title .toc-toggle-icon::before{content:'▶'}#toc-container.collapsed #toc{display:none}#toc{padding-top:1em}}.image-container{margin:2.5em 0}.image-container a{display:inline-block;line-height:0}.image-container img{margin:0;border-radius:8px;box-shadow:0 5px 20px rgba(0,0,0,.15);transition:transform .3s ease,box-shadow .3s ease}.image-container img:hover{transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,.2)}.image-container figcaption{margin-top:1em;font-size:.9em;color:var(--muted-text-color);text-align:center;font-style:italic;padding:0 1em}.image-container video{width:100%;height:auto;display:block;border-radius:8px;box-shadow:0 5px 20px rgba(0,0,0,.15)}html[data-theme=light] .mermaid .edgePath,html[data-theme=light] .mermaid .arrowheadPath{stroke:var(--text-color)}html[data-theme=light] .mermaid .node rect,html[data-theme=light] .mermaid .node circle,html[data-theme=light] .mermaid .node polygon,html[data-theme=light] .mermaid .node ellipse{fill:var(--accent-bg);stroke:var(--border-color)}html[data-theme=light] .mermaid .node .label{color:var(--text-color)}