@charset "UTF-8";
:root{--bg:#070c18;--panel:#101a2b;--line:#26344c;--text:#f3f6fc;--muted:#acb8cc;--blue:#579aff;--gold:#f4bf78;--max:1120px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;line-height:1.8}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.skip{position:absolute;top:-100px;left:15px;z-index:9;background:white;color:#000;padding:10px}.skip:focus{top:10px}.wrap{max-width:var(--max);margin:auto;padding:0 30px}.header{border-bottom:1px solid var(--line);background:#080e1ceF;position:sticky;top:0;z-index:4;backdrop-filter:blur(16px)}.bar{min-height:88px;display:flex;gap:32px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;line-height:1.4}.brand svg{width:35px;height:40px;flex-shrink:0}.brand small{display:block;color:#c1cee3;font-size:10px;letter-spacing:.16em}.brand b{font-size:15px;font-weight:650;letter-spacing:.03em}.nav{display:flex;gap:27px;font-size:12px;color:#d2d9e6}.nav a:hover{color:var(--gold)}.nav button{border:0;background:none;color:inherit;padding:0;font-size:12px}.mode{font-size:10px;letter-spacing:.05em;border:1px solid #394d6b;padding:4px 10px;border-radius:4px;color:#b6cbeb;white-space:nowrap}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:30px;padding:54px 0 64px;position:relative}.eyebrow{font-size:11px;color:var(--gold);letter-spacing:.16em;margin:0 0 20px;font-weight:650}h1{font-size:clamp(30px,3.6vw,45px);line-height:1.55;letter-spacing:.025em;margin:0 0 23px}h1 em{font-style:normal;color:var(--gold)}.lead{max-width:500px;color:var(--muted);font-size:14px;margin:0 0 26px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;padding:13px 20px;border:1px solid #45618a;border-radius:6px;color:white;font-size:13px;font-weight:650;background:#14223a}.button.primary{background:#f4f6fc;color:#0d1628;border-color:transparent}.button:hover{transform:translateY(-2px);border-color:var(--blue)}.button,.chapter{transition:transform .2s,background .2s,border-color .2s}.hero-art{position:relative;aspect-ratio:1.1;display:grid;place-items:center;background:radial-gradient(ellipse,#1453a72c,transparent 69%)}.hero-art svg{width:100%;height:auto;max-height:370px;overflow:visible}.orbit{transform-origin:200px 180px;animation:orbit 55s linear infinite}.pulse{animation:pulse 4s ease-in-out infinite}.hero-art-label{position:absolute;bottom:0;color:#7592b5;font-size:9px;letter-spacing:.23em}.stats{display:flex;gap:26px;padding-top:25px;color:#b4c3d7;font-size:11px}.stats b{color:#e2eaf6;font-size:17px;margin-right:4px;font-weight:500}.curriculum{padding:42px 0 12px;border-top:1px solid var(--line)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head h2{font-size:25px;margin:0;letter-spacing:.04em}.section-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.section-index{font-size:10px;color:#6b8ab5;letter-spacing:.18em}.chapters{list-style:none;padding:0;margin:0;display:grid;gap:12px}.chapter-group{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:linear-gradient(100deg,#111d30,#0d1524)}.chapter{width:100%;display:grid;grid-template-columns:90px 1fr 28px;gap:24px;align-items:center;text-align:left;color:inherit;background:none;border:0;padding:22px 27px}.chapter:hover{background:#172640}.chapter[aria-expanded=true]{background:#15233b}.chapter-icon{width:78px;height:70px;border-radius:7px;display:grid;place-items:center;background:linear-gradient(135deg,#153966,#111b2c);border:1px solid #2e527e;color:#8bbfff}.chapter-icon svg{width:34px;height:34px}.chapter-meta{font-size:10px;color:var(--gold);letter-spacing:.08em;margin-bottom:4px}.chapter h3{font-size:16px;line-height:1.7;font-weight:600;margin:0}.chapter .arrow{font-size:21px;color:#a2bbde;transition:transform .2s}.chapter[aria-expanded=true] .arrow{transform:rotate(90deg)}.lessons{padding:0 28px 10px 141px}.lessons[hidden]{display:none}.lesson{border-top:1px solid #2a3c58;padding:19px 0}.lesson button,.lesson a{display:block;text-align:left;color:#e4edfa;background:none;padding:0;border:0;font-size:14px}.lesson button:hover,.lesson a:hover{color:var(--gold)}.lesson p{color:var(--muted);font-size:12px;margin:7px 0 0;line-height:1.9}.lesson-code{font-size:10px;color:#7b9fce;display:block;letter-spacing:.06em;margin-bottom:3px}.support{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:48px 0}.support-card{padding:28px;border:1px solid var(--line);border-radius:8px;background:#0c1424}.support-card h2{font-size:18px;margin:0 0 12px}.support-card p{font-size:13px;color:var(--muted);margin:0 0 20px}.support-card .button{font-size:12px}.status{font-size:10px;color:#b6c8e2;padding:3px 8px;border:1px solid #344563;border-radius:4px;display:inline-block}.footer{border-top:1px solid var(--line);padding:28px 0 35px;font-size:11px;color:#8396b2}.footer .wrap{display:flex;gap:20px;justify-content:space-between}.footer small{font-size:9px;letter-spacing:.13em;color:#5f779a}dialog{width:min(600px,calc(100% - 36px));padding:32px;background:#111c2f;border:1px solid #49638b;border-radius:10px;color:var(--text);max-height:85vh;overflow:auto}dialog::backdrop{background:#020610c9;backdrop-filter:blur(5px)}dialog h2{font-size:20px;line-height:1.7}dialog p{color:#b9c7dc;font-size:14px}.close{float:right;background:#1d2e49;color:white;border:1px solid #526b8e;border-radius:5px;padding:5px 12px;font-size:12px}.lesson-page{max-width:880px;margin:auto;padding:45px 30px 60px}.breadcrumb{font-size:12px;color:#97b3d7;margin-bottom:26px}.lesson-page h1{font-size:29px;line-height:1.7}.player{aspect-ratio:16/9;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:9px;background:radial-gradient(ellipse,#193861,#0d1829);border:1px solid #304b70;border-radius:9px;margin:30px 0;color:#a9c4e8}.player b{font-size:19px;color:#e2ecfa}.player p{font-size:12px}.panel{padding:26px;background:#101b2d;border:1px solid var(--line);border-radius:8px;margin:23px 0}.panel h2{font-size:18px;margin:0 0 10px}.panel li{font-size:14px;margin:9px 0;color:#c9d5e7}details.panel{padding:0}summary{padding:22px 26px;cursor:pointer;font-size:16px;font-weight:600}.article{padding:0 26px 20px;color:#c9d5e7;font-size:15px}.article h3{font-size:17px;color:#eff3fa;margin-top:28px}.next{margin-top:30px;font-size:12px;color:var(--muted)}.next b{display:block;color:#d8e4f7;font-size:15px;margin-top:5px}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.38}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:760px){.wrap{padding:0 20px}.bar{min-height:78px;gap:12px;flex-wrap:wrap;padding-top:15px;padding-bottom:14px}.brand b{font-size:12px}.brand small{font-size:8px}.brand svg{width:29px}.nav{order:3;width:100%;gap:23px;font-size:11px}.nav button{font-size:11px}.hero{grid-template-columns:1fr;padding:38px 0 40px;gap:12px}.hero-art{max-width:320px;width:100%;margin:auto;aspect-ratio:1.35}.hero-art svg{max-height:250px}h1{font-size:31px}.lead{font-size:13px}.hero-art-label{font-size:8px}.stats{gap:21px}.chapter{grid-template-columns:47px 1fr 18px;padding:19px 15px;gap:15px}.chapter-icon{width:47px;height:52px}.chapter-icon svg{width:26px}.chapter h3{font-size:14px}.lessons{padding:0 18px 6px}.lesson button,.lesson a{font-size:13px}.section-head{display:block}.section-index{display:none}.support{grid-template-columns:1fr;padding:34px 0}.support-card{padding:23px}.footer .wrap{flex-direction:column;gap:6px}.lesson-page{padding:30px 19px}.lesson-page h1{font-size:23px}.panel{padding:19px}.panel ul{padding-left:20px}summary{font-size:14px;padding:20px}.article{padding:0 20px 15px}.player b{font-size:16px}.player p{font-size:11px}dialog{padding:23px}}

/* 2026-11-25: 明鏡の淡い水色・白を参考にしたページトーン。
   暗色と金・青は、アイコンと動くビジュアルの中に限定する。 */
:root{--bg:#f5fafd;--panel:#fff;--line:#dce8ee;--text:#172b38;--muted:#576f7d;--blue:#336f96;--gold:#476d83}
body{background:radial-gradient(ellipse at 95% 0,#dcf0fa 0,transparent 35%),radial-gradient(ellipse at 4% 15%,#fffdf2 0,transparent 28%),#f5fafd}
.header{background:#ffffffed;border-bottom-color:#dce8ee}.brand{color:#21384b}.brand svg{background:#101d32;color:#f6f9ff;border:1px solid #284664;border-radius:8px;padding:5px;width:38px;height:42px}.brand small{color:#527184}.nav{color:#456473}.nav a:hover,.nav button:hover{color:#1b6388}.mode{background:#edf7fc;border-color:#cee3ed;color:#345f74}.eyebrow{color:#53798d}
h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:600;letter-spacing:.025em}h1 em{color:#3f718a}.lead{color:#536d7d}.button{background:#fff;color:#284c62;border-color:#cbdfe9;box-shadow:0 3px 12px #456d8510}.button.primary{background:linear-gradient(140deg,#fff,#edf9ff);color:#1e4058;border-color:#c7e2ee;box-shadow:0 5px 20px #5c9ab51c}.button:hover{background:#eff9fe;border-color:#7eb3cc}.stats{color:#5b788a}.stats b{color:#244b62}
.hero-art{border-radius:22px;background:radial-gradient(ellipse at 50% 45%,#193b60 0,#0c192d 65%,#081222 100%);border:1px solid #2f4b68;box-shadow:0 20px 50px #294e681a;overflow:hidden}.hero-art-label{bottom:19px;color:#b4c9e4}.curriculum{border-top-color:#d4e5ee}.section-index{color:#7291a3}.chapter-group{background:#ffffffd9;border-color:#dae7ef;box-shadow:0 2px 8px #486d8010}.chapter:hover{background:#f1f9fd}.chapter[aria-expanded=true]{background:#eaf5fb}.chapter-icon{background:linear-gradient(140deg,#18395c,#0d1a30);border-color:#325477;color:#aad3ff;box-shadow:inset 0 1px 0 #ffffff12}.chapter-meta{color:#557b90}.chapter h3{color:#233d4d}.chapter .arrow{color:#5b8298}.lesson{border-top-color:#d6e5ed}.lesson button,.lesson a{color:#284f68}.lesson button:hover,.lesson a:hover{color:#216d96}.lesson-code{color:#597f98}.lesson p{color:#536f80}
.support-card{background:linear-gradient(135deg,#fff,#f1f9fd);border-color:#d7e6ef}.support-card h2{color:#244559}.support-card p{color:#536f80}.status{border-color:#ccdee8;color:#4d7188}.footer{border-top-color:#d6e5ed;color:#577185}.footer small{color:#6e8b9e}
dialog{background:#fbfdff;border-color:#c6dce8;color:#233e50;box-shadow:0 18px 65px #12263e30}dialog::backdrop{background:#13283e66}dialog p{color:#506c7c}.close{background:#eef7fc;color:#31536a;border-color:#cadfe9}.breadcrumb{color:#47738d}.panel{background:#fff;border-color:#d7e5ed}.panel li,.article{color:#425f72}.article h3{color:#243e51}.next b{color:#2d526b}
@media(max-width:760px){.hero-art{aspect-ratio:1.2;margin:12px auto 0}.hero-art-label{bottom:13px}}

/* ヘッダー・導入の情報整理と、代表3章のイラスト見本 */
.bar{justify-content:space-between;gap:24px;min-height:80px}.nav{margin-left:auto}.hero{padding:32px 0 38px;gap:38px;grid-template-columns:1.25fr .85fr}.hero .eyebrow{font-size:14px;letter-spacing:.07em;margin-bottom:13px;font-weight:650}.hero h1{font-size:clamp(29px,3.2vw,40px);margin-bottom:17px}.hero-art{max-width:340px;justify-self:end;width:100%;aspect-ratio:1.14}.hero-art-label{font-size:8px;bottom:13px}.hero .lead{margin-bottom:21px}.stats{display:block;padding-top:0;margin:18px 0 0;font-size:13px;line-height:1.8;font-weight:500;color:#587386;letter-spacing:.04em}.curriculum{padding-top:30px}.support{grid-template-columns:1fr}.support-card{display:grid;grid-template-columns:1fr auto;column-gap:30px;align-items:center}.support-card .eyebrow,.support-card h2,.support-card p{grid-column:1}.support-card .button{grid-column:2;grid-row:1 / 4}.support-card p:last-of-type{margin-bottom:0}.chapter-icon.illustrated{width:94px;height:76px;overflow:hidden;background:linear-gradient(140deg,#1a3f60,#0a172b);border-color:#355776}.chapter-icon.illustrated svg{width:94px;height:76px;transition:filter .3s}.icon-float{transition:transform .4s ease}.chapter:hover .icon-float,.chapter:focus-visible .icon-float{transform:translateY(-3px)}.chapter:hover .icon-signal,.chapter:focus-visible .icon-signal{animation:signal 1.8s ease-in-out infinite}.chapter:hover .illustrated svg{filter:drop-shadow(0 0 3px #77b7ea44)}.resource-note{font-size:12px;padding:16px 18px;background:#eaf5fb;border-radius:6px;color:#4e6c7f;margin:10px 0 15px}@keyframes signal{50%{opacity:.3}}
@media(max-width:760px){.bar{gap:12px;min-height:76px}.nav{width:auto;order:initial;gap:18px}.brand{max-width:100%}.hero{grid-template-columns:1fr;padding:26px 0 29px;gap:20px}.hero h1{font-size:29px}.hero-art{display:none}.hero .eyebrow{font-size:13px}.stats{font-size:12px;margin-top:15px}.chapter-icon.illustrated{width:64px;height:58px}.chapter-icon.illustrated svg{width:70px;height:56px}.chapter-group:has(.illustrated) .chapter{grid-template-columns:64px 1fr 18px;gap:12px}.support-card{display:block}.support-card p:last-of-type{margin-bottom:19px}}

/* 画像生成版：全章で同じ正方形と列幅を使用 */
.chapter,.chapter-group:has(.illustrated) .chapter{grid-template-columns:88px 1fr 28px;gap:24px}
.chapter-icon,.chapter-icon.illustrated{width:88px;height:88px;border-radius:10px;overflow:hidden;flex-shrink:0}
.chapter-icon.generated{padding:0;background:#0a182c;border-color:#284868}
.chapter-icon.generated img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .4s ease}
.chapter:hover .generated img,.chapter:focus-visible .generated img{transform:scale(1.045);filter:brightness(1.08)}
@media(max-width:760px){.chapter,.chapter-group:has(.illustrated) .chapter{grid-template-columns:64px 1fr 18px;gap:13px}.chapter-icon,.chapter-icon.illustrated{width:64px;height:64px;border-radius:8px}}

/* 生成したヒーロー画像に、独立した光の軌道を重ねる */
.hero-art{isolation:isolate}.hero-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.hero-art .hero-orbits{position:absolute;inset:0;width:100%;height:100%;max-height:none;z-index:1;pointer-events:none}.hero-art-label{z-index:2;text-shadow:0 1px 6px #000;background:#08152788;padding:3px 9px;border-radius:3px}.hero-orbit-one,.hero-orbit-two{transform-origin:200px 180px}.hero-orbit-one{animation:orbit 55s linear infinite}.hero-orbit-two{animation:orbit 78s linear infinite reverse}.hero-glints{animation:pulse 5s ease-in-out infinite}

/* 視認できる大きな光点と軌道。動きの軽減設定は上の共通指定を維持。 */
.hero-orbit-one{animation-duration:16s}.hero-orbit-two{animation-duration:24s}.hero-glints{animation-duration:3s}.hero-image{animation:hero-float 6s ease-in-out infinite;transform-origin:center}@keyframes hero-float{0%,100%{transform:scale(1.025) translateY(2px)}50%{transform:scale(1.045) translateY(-4px)}}
