@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');
:root{--yellow:#ffd213;--ink:#242522;--muted:#878981;--line:#e7e8e1}*{box-sizing:border-box}body{margin:0;background:#f7f8f4;color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:14px}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:36px 24px;display:flex;flex-direction:column}.logo{font-size:42px;letter-spacing:-3px;font-weight:900;line-height:1}.logo span{display:block;font-size:11px;letter-spacing:4px;margin-top:11px}.workspace{font-size:9px;color:#999;letter-spacing:2px;margin:55px 10px 18px}nav{display:grid;gap:9px}nav button{text-align:left;padding:15px 12px;border-radius:8px;font-size:12px;font-weight:700}nav button.active{background:var(--yellow)}nav button:hover{background:#fff5c2}.aside-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:24px;display:flex;gap:10px;align-items:center;font-size:11px}.avatar{background:#f5f1de;border-radius:50%;padding:12px 17px;font-weight:800}small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.shell{margin-left:235px}header{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px;background:#fff;font-size:12px}.demo{border:1px solid #ddd;padding:6px 10px;border-radius:4px;letter-spacing:1px;font-size:9px}main{max-width:1340px;margin:auto;padding:38px 46px 55px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#84867c}h1{font-size:28px;letter-spacing:1px;margin:10px 0}h2{font-size:19px;margin:0}h3{font-size:16px}p{line-height:1.9}.sub{color:#818478;font-size:12px}.hero{position:relative;min-height:254px;border-radius:16px;overflow:hidden;margin-top:27px;background:#fff1a1;display:flex}.hero-copy{padding:32px;z-index:1;width:60%;background:linear-gradient(90deg,#fff1a1 90%,transparent)}.hero h2{font-size:26px;line-height:1.65;margin:13px 0}.hero img{position:absolute;right:0;width:49%;height:100%;object-fit:cover}.pill{font-size:10px;display:inline-block;background:white;border-radius:20px;padding:6px 10px}.primary{background:var(--ink);color:white;border-radius:7px;padding:12px 20px;font-size:12px;font-weight:700}.yellow{background:var(--yellow);color:var(--ink)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:23px 0 35px}.stat{background:#fff;border:1px solid var(--line);padding:20px;border-radius:10px}.stat label{font-size:11px;color:#84877d}.stat strong{display:block;font-size:29px;margin-top:9px;letter-spacing:-1px}.stat strong span{font-size:12px;color:#96998f;font-weight:400;margin-left:7px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:30px 0 20px}.section-head button{font-size:11px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--line);text-align:left;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:0 7px 24px #2525200c}.cover{height:130px;position:relative;overflow:hidden;padding:20px;background:#eeeacb}.cover .num{font-size:70px;font-weight:900;line-height:1;letter-spacing:-5px;opacity:.17;position:absolute;right:20px;bottom:5px}.cover .symbol{font-size:39px;display:block;margin-top:14px}.cover .tag{font-size:9px;letter-spacing:1px}.card-body{padding:19px}.card-body h3{margin:5px 0 10px;font-size:14px;min-height:41px}.meta{display:flex;justify-content:space-between;font-size:10px;color:#83867d}.bar{background:#eef0e9;height:5px;border-radius:10px;margin:14px 0 8px;overflow:hidden}.bar i{display:block;background:var(--yellow);height:100%}.toolbar{display:flex;gap:10px;margin:25px 0;flex-wrap:wrap}.toolbar input{background:white;border:1px solid var(--line);border-radius:8px;padding:11px 14px;flex:1;min-width:180px}.chip{border:1px solid var(--line);border-radius:7px;padding:9px 14px;background:white;font-size:12px}.chip.active{background:var(--yellow);border-color:var(--yellow)}.lesson{display:flex;gap:15px;align-items:center;padding:19px;background:white;border:1px solid var(--line);border-radius:10px;margin:10px 0;width:100%;text-align:left}.lesson .order{width:40px;height:40px;background:#f4f4eb;border-radius:8px;display:grid;place-items:center;font-weight:800}.lesson .name{flex:1}.lesson strong{font-size:13px}.badge{font-size:10px;border-radius:12px;padding:5px 9px;background:#f4f5ef;color:#72786b}.done{background:#e9f4df;color:#4b7033}.back{padding:0;margin-bottom:25px;color:#777;font-size:12px}.detail-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-top:25px}.panel{background:#fff;border:1px solid var(--line);padding:24px;border-radius:12px}.panel h3{margin-top:0}video{width:100%;background:#20221e;border-radius:12px;aspect-ratio:16/9}.note{background:#fff6ce;padding:12px 16px;border-radius:8px;font-size:11px;line-height:1.8}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.history-row{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);gap:16px}.empty{text-align:center;padding:55px;color:#898d82}footer{border-top:1px solid var(--line);margin:0 46px;padding:22px 0;font-weight:800;font-size:12px}footer span{font-weight:400;color:#969a8f;font-size:10px;margin-left:15px}dialog{border:0;border-radius:16px;padding:30px;max-width:620px;width:calc(100% - 32px);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#151a1566;backdrop-filter:blur(4px)}.choice{display:block;padding:14px;border:1px solid var(--line);border-radius:8px;margin:10px 0;font-size:13px;cursor:pointer}.choice:has(input:checked){background:#fff6c8;border-color:#e8c116}.result{padding:14px;background:#f5f6ef;border-radius:8px;margin:15px 0;font-size:12px;line-height:1.9}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#252922;color:#fff;padding:14px 25px;border-radius:9px;display:none;z-index:10}.progress-ring{display:flex;align-items:center;gap:18px}.ring{width:75px;height:75px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:22px;font-weight:900}@media(min-width:1500px){main{padding-top:50px}.hero{min-height:290px}.cover{height:160px}}@media(max-width:1050px){aside{width:190px;padding:30px 17px}.shell{margin-left:190px}main{padding:28px 25px}.grid{grid-template-columns:repeat(2,1fr)}header{padding:0 25px}.hero-copy{width:70%}.detail-layout{grid-template-columns:1fr}.stats{gap:9px}.stat{padding:15px}}@media(max-width:650px){aside{position:static;width:100%;padding:20px}.logo{font-size:30px}.logo span{display:inline;font-size:9px;letter-spacing:2px;margin-left:15px}.workspace,.aside-bottom{display:none}nav{display:flex;gap:3px;margin-top:20px}nav button{padding:9px 7px;font-size:10px}.shell{margin:0}header{height:48px;padding:0 20px;font-size:10px}main{padding:25px 20px}.hero-copy{width:100%;background:linear-gradient(90deg,#fff1a1 45%,#fff1a1d9);padding:25px}.hero img{width:70%}.hero h2{font-size:23px}.stats{grid-template-columns:repeat(2,1fr)}.grid{gap:12px}.cover{height:115px;padding:15px}.card-body{padding:14px}.card-body h3{font-size:12px}.meta{font-size:9px}h1{font-size:23px}.lesson{padding:14px;gap:10px}.badge{font-size:9px}.lesson .order{width:30px}.lesson strong{font-size:12px}footer{margin:0 20px}footer span{display:block;margin:8px 0}}

/* Resole公式：イエロー〜クリームのグラデーション、公式ロゴ、丸み */
:root{--yellow:#ffd213;--ink:#222;--line:#ece9df}body{background:#fbfbf8}.logo{display:block;letter-spacing:normal}.logo img{width:145px;height:56px;object-fit:contain;object-position:left}.logo span{margin-top:12px;margin-left:4px}nav button.active{background:linear-gradient(315deg,#ffd213,#ffef93)}.hero{background:#ffef93;border-radius:24px}.hero-copy{background:linear-gradient(90deg,#ffef93 82%,#ffef9300)}.hero h2{font-weight:900}.primary{border-radius:28px;padding:13px 24px}.yellow{background:linear-gradient(315deg,#ffd213,#ffef93)}.card{border-radius:18px}.stat,.panel{border-radius:16px}.cover .symbol{color:#4a4532}.cover{background:#fff4bd!important}.hero-copy>.sub{font-weight:500}h1{font-weight:900}@media(max-width:650px){.logo{display:flex;align-items:center;gap:18px}.logo img{width:120px;height:46px}.logo span{margin:0}.hero-copy{background:linear-gradient(90deg,#ffef93f5,#ffef93d9)}}

/* カテゴリーの実写サムネイル */
.cover{padding:0;height:180px;background:#f4f0df!important}.cover .category-photo{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}.card:hover .category-photo{transform:scale(1.035)}.cover .tag{position:absolute;left:14px;top:14px;padding:6px 10px;border-radius:20px;background:#fff4c7f2;color:#302d20;font-weight:700;font-size:9px;letter-spacing:1px}.card:nth-child(4) .category-photo{object-position:center 38%}@media(min-width:1500px){.cover{height:200px}}@media(max-width:650px){.cover{height:130px}.cover .tag{left:9px;top:9px;font-size:8px;padding:5px 8px}}
