:root{--ink:#122d45;--muted:#60768a;--blue:#007edd;--cyan:#00a9d0;--pale:#eef8ff;--line:#dce8f0;--bg:#f6f9fc;--danger:#b82f40}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:14px;line-height:1.8}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #00a9d0;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.5;letter-spacing:-.7px}h2{font-size:21px;line-height:1.6}h3{font-size:17px}small,.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--blue);margin-bottom:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;background:var(--blue);color:#fff;border-radius:7px;padding:11px 20px;font-weight:700;line-height:1.6}.btn:hover{background:#006dc1}.btn.secondary{background:white;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:var(--pale)}.btn.danger{color:var(--danger);background:#fff4f5;border-color:#f1c6ce}.btn.small{font-size:12px;padding:7px 12px}.btn.full{width:100%}.link{color:var(--blue);font-weight:700;border:0;background:none;padding:0;text-align:left}.link:hover{text-decoration:underline}.tag{display:inline-block;font-size:11px;line-height:1.5;padding:4px 9px;border-radius:4px;background:var(--pale);color:var(--blue);font-weight:700}.tag.green{color:#157b65;background:#e7f5f0}.tag.gray{color:#60768a;background:#edf1f5}.tag.red{color:var(--danger);background:#fff0f1}.initial{display:grid;min-height:100vh;place-content:center}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.auth-art{position:relative;overflow:hidden;min-height:100vh;padding:50px 10%;background:radial-gradient(ellipse at 85% 75%,#bdeeff 0,transparent 55%),linear-gradient(145deg,#f6fcff,#e4f5ff);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid #d4e9f3}.auth-art::after{content:"";position:absolute;width:560px;height:560px;border:1px solid #70c6e766;border-radius:100%;bottom:-200px;right:-220px;box-shadow:0 0 0 65px #70c6e713,0 0 0 130px #70c6e70c;pointer-events:none}.brand{display:flex;align-items:center;gap:10px}.brand img{width:190px;max-height:55px;object-fit:contain}.auth-copy{margin:75px 0;position:relative;z-index:1}.auth-copy h1{font-size:clamp(36px,3.6vw,56px);font-weight:900;line-height:1.55;letter-spacing:-1.7px;margin-bottom:25px}.accent{color:var(--blue)}.auth-copy>p{color:#4e7087;line-height:2.1}.auth-caption{display:flex;gap:20px;font-size:11px;color:#44728d;position:relative;z-index:1}.learning-mark{margin-top:40px;display:flex;gap:15px;align-items:center}.play-mark{width:60px;height:60px;display:grid;place-items:center;border-radius:15px;background:white;border:1px solid #d5ebf6;color:var(--blue);font-size:23px;box-shadow:0 12px 25px #1371a112}.learning-mark b{display:block;font-size:13px}.learning-mark small{font-size:11px}.auth-form{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px 45px}.auth-box{max-width:380px;width:100%}.auth-box h2{font-size:27px;margin:12px 0}.auth-box>p{color:var(--muted);font-size:13px;margin-bottom:32px}.auth-foot{margin-top:40px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted)}label.field{display:block;margin-bottom:19px;font-size:12px;font-weight:700}.field input,.field textarea,.field select{display:block;width:100%;padding:11px 12px;border:1px solid #ccdce7;border-radius:6px;background:#fff;color:var(--ink);margin-top:7px;min-height:46px}.field textarea{min-height:100px;resize:vertical}.field small{font-weight:400;display:block;margin-top:4px}.check{display:flex;align-items:center;gap:9px;margin:16px 0;font-size:13px}.check input{width:17px;height:17px}.error{color:var(--danger);background:#fff0f2;border-radius:5px;padding:10px 12px;font-size:12px;margin-bottom:16px}.error:empty{display:none}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;padding:30px 18px 20px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 7px 24px;border-bottom:1px solid var(--line);margin-bottom:24px}.sidebar .brand img{width:180px}.portal-label{font-size:9px;letter-spacing:2px;color:#8a9aa7;margin:0 14px 10px;font-weight:700}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;font-size:13px;font-weight:700;border-radius:7px;color:#62788b;margin-bottom:5px}.nav-link:hover{background:#f4f8fc}.nav-link.active{background:#eaf6ff;color:var(--blue)}.nav-icon{display:inline-grid;place-items:center;width:20px;font-size:17px}.nav-divider{height:1px;background:var(--line);margin:20px 14px}.sidebar-bottom{margin-top:auto}.user-box{padding:16px 10px 10px;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);min-width:0}.avatar{width:36px;height:36px;background:#e5f3fc;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--blue);font-weight:800}.user-box b{font-size:12px;display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-box small{font-size:10px}.logout{margin:8px 12px;font-size:11px;color:var(--muted);border:0;background:none}.main{grid-column:2;min-width:0}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;background:#fff;padding:0 42px;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--ink);margin-left:12px}.topbar-right{font-size:11px;color:var(--muted)}.mobile-brand{display:none}.content{padding:35px 42px 60px;max-width:1500px;margin:auto}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.heading h1{margin-bottom:4px}.heading p{color:var(--muted);font-size:13px;margin-bottom:0}.welcome{padding:30px 35px;border:1px solid #c8e6f6;background:linear-gradient(110deg,#edf9ff,#e7f5ff);border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:30px;position:relative;overflow:hidden;margin-bottom:26px}.welcome h2{font-size:27px;margin-bottom:8px}.welcome p{font-size:13px;color:#4d7087;margin-bottom:0}.welcome .eyebrow{margin-bottom:10px}.welcome-art{align-self:center;width:130px;height:130px;border:1px solid #b2ddf3;border-radius:50%;display:grid;place-items:center;position:relative;color:var(--blue);font-size:32px;background:#ffffff55}.welcome-art:after{content:"";position:absolute;inset:12px;border:1px dashed #98d1ed;border-radius:50%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}.stat{padding:20px 24px;background:white;border:1px solid var(--line);border-radius:9px;display:flex;justify-content:space-between;align-items:center}.stat span{font-size:12px;color:var(--muted)}.stat strong{font-size:28px;line-height:1}.stat strong small{font-size:12px;font-weight:500;margin-left:5px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:32px 0 17px}.section-head h2{margin:0;font-size:18px}.section-head .link{font-size:12px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column}.course-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #2149670c}.course-cover{height:148px;position:relative;overflow:hidden;background:#e9f5ff;color:#086cae;padding:24px}.course-cover:after{content:"";position:absolute;width:140px;height:140px;border:1px solid currentColor;opacity:.15;border-radius:50%;right:-15px;bottom:-55px;box-shadow:0 0 0 22px currentColor}.course-cover.c1{background:#eaf5f2;color:#246858}.course-cover.c2{background:#183c57;color:#b7e9ff}.course-cover .cover-label{font-size:9px;letter-spacing:2px;font-weight:800}.course-cover strong{display:block;font-size:24px;line-height:1.5;margin-top:12px;position:relative;z-index:1}.cover-icon{position:absolute;right:20px;top:19px;font-size:17px}.course-body{padding:20px;display:flex;flex-direction:column;flex:1}.course-body h3{margin:12px 0 8px;line-height:1.6}.course-body p{font-size:12px;color:var(--muted);margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.course-bottom{margin-top:auto}.progress-text{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:10px 0 5px}.progress-text strong{color:var(--blue)}progress{display:block;width:100%;height:5px;appearance:none;border:0;border-radius:10px;background:#edf3f7;overflow:hidden}progress::-webkit-progress-bar{background:#edf3f7}progress::-webkit-progress-value{background:var(--blue);border-radius:10px}progress::-moz-progress-bar{background:var(--blue)}.card-link{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:14px;border-top:1px solid #edf2f6;font-size:12px;color:var(--blue);font-weight:700}.panel{border:1px solid var(--line);border-radius:10px;background:#fff;padding:25px;margin-bottom:20px}.panel>h2{font-size:18px}.empty{text-align:center;padding:48px 25px;border:1px dashed #c6dae7;border-radius:10px;background:#fff}.empty-icon{font-size:28px;color:#73b5de;display:block;margin-bottom:10px}.empty h3{margin-bottom:9px}.empty p{font-size:13px;color:var(--muted);margin-bottom:20px}.empty p:last-child{margin-bottom:0}.notice{display:grid;grid-template-columns:95px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid #edf2f6}.notice:last-child{border:0;padding-bottom:0}.notice time{color:var(--muted);font-size:11px;padding-top:2px}.notice h3{font-size:13px;margin-bottom:4px}.notice p{font-size:12px;margin:0;white-space:pre-wrap;color:var(--muted)}.filters{display:flex;gap:10px;align-items:center;margin-bottom:25px;flex-wrap:wrap}.filters input,.filters select{border:1px solid var(--line);border-radius:6px;background:white;padding:10px 13px;color:var(--ink);min-height:44px}.filters input{flex:1;min-width:180px}.pill{border:1px solid var(--line);border-radius:5px;padding:7px 15px;background:#fff;color:var(--muted);font-size:12px}.pill.active{color:var(--blue);background:var(--pale);border-color:#b3dbf6}.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.player{aspect-ratio:16/9;background:#102c42;border-radius:10px;overflow:hidden;display:grid;place-content:center;text-align:center;color:white;margin-bottom:25px}.player iframe,.player video{width:100%;height:100%;border:0;display:block}.player:has(iframe),.player:has(video){display:block}.player p{margin:0;color:#c5d8e6;font-size:13px}.player .play-mark{margin:0 auto 15px;background:#24475e;border:1px solid #4c6a7d;color:#e4f4ff}.lesson-info h2{font-size:23px}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.lesson-list{padding:0;overflow:hidden;align-self:start;position:sticky;top:20px}.lesson-list-head{padding:20px;border-bottom:1px solid var(--line)}.lesson-list-head h3{font-size:14px;margin-bottom:10px}.lesson-row{display:flex;width:100%;gap:11px;align-items:start;background:#fff;border:0;text-align:left;padding:16px 17px;border-bottom:1px solid #edf2f6;color:var(--ink);font-size:12px;line-height:1.6;cursor:pointer}.lesson-row:hover{background:#f7fbff}.lesson-row.current{background:#edf7ff;color:var(--blue);border-left:3px solid var(--blue);padding-left:14px}.lesson-row.locked{color:#8d9dab;cursor:not-allowed;background:#fafcfd}.lesson-num{width:22px;height:22px;flex:none;border:1px solid #d8e5ee;border-radius:50%;display:grid;place-items:center;font-size:10px}.lesson-row.done .lesson-num{background:#e3f5ee;color:#168366;border-color:#c1e5d6}.lesson-row small{display:block;font-size:10px;margin-top:3px}.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:24px;gap:24px}.tab{padding:13px 2px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:13px;font-weight:700}.tab.active{border-color:var(--blue);color:var(--blue)}.lesson-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:22px}.radio-option{display:flex;align-items:start;gap:10px;border:1px solid var(--line);padding:12px;border-radius:6px;margin:10px 0;font-size:13px}.radio-option input{margin-top:6px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.table th,.table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left}.table th{color:var(--muted);background:#f8fbfd;font-size:11px;font-weight:600}.table td.wrap{white-space:normal;min-width:180px;max-width:400px}.table-actions{display:flex;gap:8px;align-items:center}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.step{border:1px solid var(--line);border-radius:9px;background:white;padding:22px;text-align:left;color:var(--ink)}.step:hover{border-color:#8ac6ec;background:#fbfdff}.step b{display:block;font-size:14px;margin:8px 0}.step span{font-size:10px;font-weight:800;letter-spacing:1px;color:var(--blue)}.step p{font-size:12px;color:var(--muted);margin:0}.post{padding:22px 0;border-bottom:1px solid var(--line)}.post-head{display:flex;gap:10px;align-items:center;margin-bottom:12px;font-size:12px}.post-head time{color:var(--muted);margin-left:auto;font-size:10px}.post p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:12px}.reply{margin-left:30px;padding-left:18px;border-left:2px solid #d5e9f7}.reply-form{margin-top:15px}.post-form textarea{width:100%;min-height:100px;border:1px solid var(--line);border-radius:7px;padding:12px;font:inherit;resize:vertical}.post-form .btn{margin-top:10px}.reply-target{font-size:12px;color:var(--blue);margin-bottom:10px}.notice-box{padding:15px 18px;border-radius:7px;background:#eff8ff;color:#3c6e90;font-size:12px;margin:18px 0}.notice-box.warn{background:#fff8e9;color:#876b2f}dialog{border:1px solid var(--line);border-radius:12px;width:min(620px,calc(100vw - 30px));max-height:90vh;padding:28px;box-shadow:0 25px 100px #102c4233;color:var(--ink)}dialog::backdrop{background:#102c4255;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:22px}.modal-head h2{margin:0;font-size:20px}.modal-close{border:0;background:#f0f5f8;border-radius:50%;width:30px;height:30px;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.invitation-url{font-size:12px;word-break:break-all;background:#f2f8fc;padding:15px;border-radius:6px;user-select:all}.success{color:#137c60;background:#eaf7f1;padding:12px;border-radius:6px;font-size:13px}.account-data{font-size:13px}.account-data dt{color:var(--muted);margin-top:16px;font-size:11px}.account-data dd{margin:3px 0 0}.inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.back{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:18px}.back:hover{color:var(--blue)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173c56;color:#fff;padding:12px 24px;border-radius:8px;font-size:13px;box-shadow:0 7px 30px #183c5733;z-index:100;display:none;max-width:90vw}#toast.show{display:block}.menu-button{display:none}.footer-note{margin-top:40px;font-size:10px;color:#8a9eae}.loading{padding:50px;color:var(--muted);text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.course-cover{height:170px}}@media(max-width:1150px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:28px}.topbar{padding:0 28px}.course-layout{grid-template-columns:minmax(0,1fr) 260px}.shell{grid-template-columns:215px 1fr}.sidebar{width:215px}.sidebar .brand img{width:165px}.user-box b{max-width:125px}}@media(max-width:850px){.shell{display:block}.sidebar{transform:translateX(-100%);width:235px;box-shadow:10px 0 50px #102c4222}.sidebar.open{transform:translateX(0)}.sidebar .brand img{width:180px}.main{width:100%}.menu-button{display:inline-flex;border:1px solid var(--line);background:white;border-radius:5px;padding:5px 11px;font-size:20px;color:var(--ink)}.topbar{height:68px;padding:0 20px}.topbar-right{display:none}.breadcrumb{margin-right:auto}.course-layout{grid-template-columns:minmax(0,1fr)}.lesson-list{position:static;grid-row:2}.auth-art{padding:40px 8%}.auth-form{padding:35px 28px}.auth-copy h1{font-size:38px}.auth-caption{flex-direction:column;gap:2px}.steps{gap:12px}.step{padding:17px}}@media(max-width:600px){.auth{display:block}.auth-art{min-height:auto;padding:28px 25px;border:0}.auth-art .brand img{width:180px}.auth-copy{margin:28px 0 16px}.auth-copy h1{font-size:31px;line-height:1.5;margin-bottom:12px}.auth-copy>p{font-size:12px;margin-bottom:0}.auth-copy .eyebrow{display:none}.learning-mark,.auth-caption{display:none}.auth-form{padding:35px 25px 45px}.auth-box{max-width:none}.auth-box h2{font-size:23px}.auth-box>p{margin-bottom:24px}.content{padding:24px 18px 40px}.heading{align-items:start;flex-wrap:wrap;gap:13px}.heading h1{font-size:25px}.welcome{padding:23px;gap:10px}.welcome h2{font-size:22px}.welcome p{font-size:12px}.welcome-art{display:none}.stats{gap:8px;margin:20px 0}.stat{padding:16px 12px;display:block}.stat span{font-size:10px;display:block;margin-bottom:8px}.stat strong{font-size:23px}.course-grid{grid-template-columns:minmax(0,1fr);gap:18px}.course-cover{height:145px}.course-body{padding:20px}.section-head{margin-top:26px}.steps{grid-template-columns:1fr}.step{padding:16px 20px}.step b{margin:4px 0}.panel{padding:20px}.notice{grid-template-columns:1fr;gap:4px}.form-row{grid-template-columns:1fr;gap:0}.topbar{gap:10px}.breadcrumb{font-size:10px}.breadcrumb b{margin-left:6px}.tabs{gap:17px;overflow:auto;white-space:nowrap}.tab{font-size:12px}.lesson-info h2{font-size:21px}dialog{padding:23px}.reply{margin-left:12px;padding-left:12px}.filters input{width:100%}.footer-note{margin-top:30px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.course-filters{display:flex;flex-wrap:wrap;gap:.5rem}
.protected-video{width:100%}
.protected-video video{width:100%;display:block;aspect-ratio:16/9}
#lesson-video-status:empty{display:none}
#lesson-video-status{padding:.75rem;margin:0;color:#fff;background:#172b49}

.curriculum-jump{display:none}
#course-curriculum{scroll-margin-top:1rem}
@media(max-width:780px){.curriculum-jump{display:inline-flex;margin:0 0 .75rem}}

.course-cover.brand-cover{
  --brand-bg:#edf7f2;
  --brand-ink:#16382d;
  --brand-accent:#b7ded0;
  display:flex;
  align-items:center;
  gap:clamp(.85rem,2vw,1.35rem);
  padding:clamp(1rem,2.2vw,1.6rem);
  background:radial-gradient(ellipse at 0 0,var(--brand-accent),transparent 82%),var(--brand-bg);
  color:var(--brand-ink);
}
.course-cover.brand-cover::after{display:none}
.brand-cover[data-brand="gemini"]{--brand-bg:#f0f5ff;--brand-ink:#223364;--brand-accent:#d7e3ff}
.brand-cover[data-brand="claude"]{--brand-bg:#fdf1e8;--brand-ink:#532916;--brand-accent:#f7d8c2}
.brand-cover[data-brand="codex"]{--brand-bg:#f1f1ff;--brand-ink:#2b2c6d;--brand-accent:#dddafa}
.brand-cover[data-brand="claude-code"]{--brand-bg:#fbf1f2;--brand-ink:#56243a;--brand-accent:#f1d6df}
.brand-cover[data-brand="antigravity"]{--brand-bg:#f1f7ff;--brand-ink:#183a5a;--brand-accent:#d1e8f9}
.brand-cover[data-brand="manus"]{--brand-bg:#f5f3ee;--brand-ink:#38352b;--brand-accent:#e8dfcc}
.brand-cover[data-brand="muse"]{--brand-bg:#eaf8ff;--brand-ink:#103e63;--brand-accent:#c6eaff}
.brand-cover[data-brand="grokbot"]{--brand-bg:#edf2f7;--brand-ink:#203346;--brand-accent:#d3dde8}
.brand-cover[data-brand="obsidian"]{--brand-bg:#f6efff;--brand-ink:#42246a;--brand-accent:#e9d5fc}
.course-logo{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:clamp(4rem,6vw,5rem);
  aspect-ratio:1;
  border-radius:1rem;
  background:#fff;
  box-shadow:0 .25rem .8rem #142d4914;
}
.course-logo img{display:block;width:60%;height:60%;object-fit:contain}
.brand-cover h3{margin:0;font-size:clamp(1.2rem,1.85vw,1.65rem);line-height:1.35;overflow-wrap:anywhere}
.brand-cover+.course-body p{margin-top:.6rem;font-size:.875rem}

.registration{min-height:100vh;display:grid;place-items:center;padding:1.5rem 1rem;background:var(--bg)}
.registration .auth-box{width:min(100%,30rem);margin:0;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:clamp(1.25rem,5vw,2.5rem)}
.registration .brand img{width:min(55vw,10rem);height:auto}
.registration h1{margin:1.6rem 0 .65rem;font-size:clamp(1.45rem,5vw,2rem)}
.registration p{margin:.65rem 0 1.25rem;color:var(--muted)}
.registration .link{display:inline-block;margin-top:1.25rem}
