:root{color-scheme:light;--paper:#f8fafc;--white:#fff;--ink:#252525;--muted:#647184;--navy:#304960;--blue:#0866e8;--blue-dark:#0752b5;--line:#dce7f0;--wash:#edf5fc;--soft:#f1f7fc;--good:#f2f7f3;--good-line:#c4d7c9;--purple:#087cf0;--shadow:0 6px 22px rgba(52,91,131,.06)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:18px;line-height:1.75;overflow-wrap:anywhere}
button,input{font:inherit}
a{color:#0757bb;text-underline-offset:.2em}
a:hover{color:#06479b}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.skip-link{position:absolute;left:1rem;top:-5rem;z-index:50;background:#fff;padding:.5rem 1rem;border-radius:.4rem}
.skip-link:focus{top:1rem}
.page-width{width:min(100% - 36px,820px);margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid #dde0e7;backdrop-filter:blur(12px)}
.header-inner{width:min(100% - 36px,1080px);min-height:76px;margin:auto;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;color:var(--navy);text-decoration:none;margin-right:auto;min-width:0}
.brand-mark{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:10px;background:linear-gradient(145deg,#087cf0,#0866e8);color:#fff;font-weight:800;font-size:25px;line-height:1}
.brand-copy{display:flex;flex-direction:column;line-height:1.25;white-space:nowrap}
.brand-copy strong{font-size:17px;letter-spacing:.02em}
.brand-copy small{font-size:11px;color:var(--muted);margin-top:4px}
.site-nav{display:flex;align-items:center;gap:5px}
.site-nav a{padding:9px 15px;color:#486175;text-decoration:none;border-radius:8px;font-size:15px;font-weight:700;white-space:nowrap}
.site-nav a:hover,.site-nav a[aria-current="page"]{background:var(--wash);color:var(--navy)}
.menu-button{display:none;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:8px;color:var(--navy);background:#fff;font-size:15px;font-weight:700;white-space:nowrap;flex-shrink:0}
main{min-height:68vh;background:#fff;width:min(100%,1000px);margin:auto;padding:45px 0 94px}
.eyebrow{display:inline-flex;align-items:center;border-radius:99px;padding:5px 13px;background:#fff;color:#0757bb;border:1px solid #d5e5f2;font-size:13px;font-weight:800;letter-spacing:.06em;line-height:1.45}
.hero{background:var(--wash);border:1px solid #dfebf5;border-radius:16px;padding:34px 38px;box-shadow:var(--shadow);margin-bottom:38px}
.hero h1{font-size:clamp(30px,4.2vw,43px);line-height:1.36;letter-spacing:.015em;color:var(--navy);margin:14px 0 12px;overflow-wrap:normal;word-break:normal}
.hero p{margin:0;color:#3a5267}
.hero .lead{font-size:20px;line-height:1.7;max-width:37em}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.hero .hero-research{margin-top:15px;font-size:14px;line-height:1.5}
.hero-research a{font-weight:700}
.hina-guide{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid #d1e3f7;border-radius:10px;background:#f8fbff;padding:8px 14px 8px 8px;color:#304960}
.hina-guide img{display:block;flex:none;width:76px;height:76px;object-fit:contain;object-position:center bottom}
.hina-guide p{min-width:0;margin:0;font-size:15px;line-height:1.6;overflow-wrap:normal;word-break:normal}
.hina-guide strong{display:block;color:#0757bb;font-size:13px;margin-bottom:2px}
.hina-guide-home{margin-top:18px;background:#fff}
.hina-guide-home img{width:88px;height:88px}
.hina-guide-unit{margin:-15px 0 22px}
.button-primary,.button-secondary,.button-quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:8px;padding:9px 19px;text-decoration:none;font-weight:800;font-size:16px;line-height:1.4}
.button-primary{background:#0866e8;border:1px solid #0866e8;color:#fff}
.button-primary:hover{background:#0752b5;color:#fff}
.button-secondary{background:#fff;border:1px solid #b4cadd;color:#0757bb}
.button-secondary:hover{background:#f7fbff}
.button-quiet{border:1px solid var(--line);background:#fff;color:var(--blue-dark)}
.section-title{margin:50px 0 22px;padding:17px 23px;background:var(--blue);box-shadow:0 4px 0 #e2eef8;color:#fff;border-radius:10px;font-size:clamp(23px,3vw,27px);line-height:1.45;letter-spacing:.01em;overflow-wrap:normal;word-break:normal}
.section-title:first-child{margin-top:0}
.section-intro{margin:-2px 0 21px;color:#455568}
.showcase{border:1px solid #dde8f1;border-radius:14px;padding:25px;background:#fff;box-shadow:var(--shadow)}
.showcase-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.showcase h2{font-size:23px;color:var(--navy);margin:0 0 5px}
.showcase p{margin:0;color:#526376}
.showcase-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:21px}
.showcase-track div{position:relative;min-height:98px;padding:15px 13px 13px;background:linear-gradient(145deg,#f1f7fc,#fff);border:1px solid #dce7f0;border-radius:10px}
.showcase-track div+div:before{content:"→";position:absolute;left:-17px;top:31px;z-index:1;color:#0866e8;font-weight:900}
.showcase-track strong{display:block;color:#0752b5;font-size:16px;line-height:1.45}
.showcase-track span{display:block;color:#647184;font-size:13px;line-height:1.5;margin-top:6px}
.showcase-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:24px}
.showcase-media-item{min-width:0;background:#f7fafc;border:1px solid #dce7f0;border-radius:10px;padding:10px}
.showcase-media-label{display:block;color:#0752b5;font-size:14px;font-weight:800;padding:2px 3px 4px}
.showcase-media .figure{margin:4px 0 0;padding:0;background:transparent;border:0;box-shadow:none}
.showcase-media .figure img,.showcase-media .figure video{width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid #dce7f0;border-radius:7px}
.showcase-media .figure figcaption{font-size:13px;line-height:1.5;padding:0 2px}
.showcase-media .figure button{margin-left:2px}
.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.unit-card{display:flex;flex-direction:column;border:1px solid #dce7f0;border-radius:13px;overflow:hidden;background:#fff;box-shadow:var(--shadow);text-decoration:none;color:inherit;min-height:265px;transition:transform .15s ease,box-shadow .15s ease}
.unit-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(52,91,131,.12);color:inherit}
.unit-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 18px;background:linear-gradient(110deg,#e7f1fb,#f8fbff);border-bottom:1px solid #dce7f0}
.unit-card-top strong{color:#0757bb;font-size:13px;letter-spacing:.05em}
.unit-card-body{padding:19px 20px 21px;display:flex;flex-direction:column;flex:1}
.unit-card h3{margin:0 0 8px;color:var(--navy);font-size:21px;line-height:1.47;overflow-wrap:normal;word-break:normal}
.unit-card p{font-size:15px;line-height:1.65;color:#4b5c6e;margin:0 0 14px}
.card-minutes{display:block;font-size:13px;color:#66788a;margin:-3px 0 12px}
.unit-card .goal{font-size:14px;color:#405b72;background:#f1f7fc;border-radius:8px;padding:10px 12px;margin-top:auto}
.unit-card .go{display:block;margin-top:15px;color:#0757bb;font-weight:800;font-size:15px}
.muted-note{font-size:14px;color:var(--muted)}
.meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:17px 0 0;color:#526376;font-size:14px}
.meta-line span{padding:4px 10px;border-radius:99px;background:#fff;border:1px solid #dce7f0}
.status{font-size:12px;font-weight:700;color:#607285;background:#f4f7f9;border:1px solid #e1e8ed;border-radius:99px;padding:4px 9px;line-height:1.4;white-space:normal}
.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:21px}
.breadcrumbs a{font-weight:700}
.lesson-intro{font-size:19px;line-height:1.7;color:#40586c;margin:0 0 24px}
.lesson-goal{background:var(--good);border:1px solid var(--good-line);border-radius:9px;padding:17px 20px;margin:27px 0;color:#354e3e}
.lesson-goal strong{display:block;margin-bottom:3px}
.prereq{background:#f8fafb;border-left:4px solid #a8bfd2;padding:15px 18px;margin:22px 0;border-radius:0 8px 8px 0}
.prereq strong{color:var(--navy)}
.prereq ul{margin:8px 0 0;padding-left:1.3em}
.prose p{margin:0 0 17px}
.prose p:last-child{margin-bottom:0}
.bullet-list{padding-left:1.4em;margin:13px 0 19px}
.bullet-list li{margin:7px 0}
.steps{list-style:none;margin:27px 0 33px;padding:0;counter-reset:steps}
.steps>li{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding-bottom:26px}
.steps>li:not(:last-child):before{content:"";position:absolute;left:18px;top:43px;bottom:1px;border-left:2px solid #c7dceb}
.step-number{width:38px;height:38px;display:grid;place-items:center;background:#fff;border:2px solid #8fb5d6;color:#0757bb;border-radius:50%;font-size:16px;font-weight:800;line-height:1}
.step-body h3{font-size:21px;line-height:1.45;color:var(--blue-dark);margin:1px 0 8px;overflow-wrap:normal;word-break:normal}
.step-body p{margin:0 0 13px}
.check{background:var(--good);border:1px solid var(--good-line);border-radius:7px;padding:12px 15px;color:#354e3e;font-size:16px;margin:13px 0 0}
.check strong{display:block;color:#2f5037;margin-bottom:3px}
details.trouble{margin-top:12px;border:1px solid #dce7f0;border-radius:8px;background:#fff}
details.trouble summary{cursor:pointer;padding:9px 13px;color:#0752b5;font-weight:700;font-size:15px}
details.trouble p{padding:0 13px 12px;margin:0;font-size:15px}
.copy-box{margin:14px 0;border:1px solid #cbddec;border-radius:10px;background:#f1f7fd;overflow:hidden}
.copy-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid #d8e5ee;color:#0757bb;font-size:14px;font-weight:700}
.copy-button{border:1px solid #0757bb;border-radius:6px;padding:6px 11px;background:#0757bb;color:#fff;font-weight:700;font-size:14px;min-height:37px}
.copy-button:hover{background:#06479b}
.copy-box pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:16px 18px;font-family:inherit;font-size:16px;line-height:1.7;color:#293e52}
.figure{margin:23px 0;padding:15px;background:#fff;border:1px solid #dce7f0;border-radius:9px;box-shadow:var(--shadow)}
.figure img{display:block;width:auto;max-width:100%;height:auto;max-height: min(58svh,480px);object-fit:contain;margin:auto;border:1px solid #e0e5e9;border-radius:6px}
.video-figure video{display:block;width:auto;max-width:100%;height:auto;max-height:min(58svh,480px);margin-inline:auto;background:#142334;border-radius:6px}
.video-group{display:grid;gap:24px;min-width:0}
.video-group-item{min-width:0}
.video-group-item h3{margin:0 0 12px}
.video-comparison .comparison-content{padding:4px 13px 13px;min-width:0}
.video-comparison .video-group{gap:20px}
.figure figcaption{font-size:14px;color:#56687b;margin-top:11px}
.figure button{border:0;background:none;padding:7px 0;margin-top:2px;color:#0757bb;text-decoration:underline;font-size:14px}
.source-list{display:grid;gap:14px}
.source-card{border:1px solid var(--line);border-radius:10px;padding:18px 21px;background:#fff;box-shadow:var(--shadow)}
.source-card:focus{outline:3px solid var(--purple);outline-offset:3px}
.source-card h2{font-size:20px;margin:0 0 8px;color:var(--navy);line-height:1.5}
.source-card p{font-size:15px;margin:9px 0;color:#435467}
.source-card .source-meta{font-size:13px;color:#66788a;margin:0 0 9px}
.source-card a{font-size:15px;font-weight:700}
.feature-grid{display:grid;gap:14px}
.feature-card{background:#f7fbfe;border:1px solid #dce7f0;border-radius:10px;padding:18px 20px}
.feature-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.feature-card h2{font-size:21px;color:var(--navy);margin:0 0 8px}
.feature-card p{margin:0}
.feature-card .feature-limits,.feature-card .feature-sources{font-size:14px;color:#526376;margin-top:10px}
.source-card{scroll-margin-top:100px}
.feature-cta{margin-top:30px}
.source-link small{display:block;font-size:12px;color:#66788a;overflow-wrap:anywhere;margin-top:5px}
.completion{margin:38px 0 30px;background:#f1f7fc;border:1px solid #cbddec;border-radius:12px;padding:22px 24px}
.completion h2{font-size:22px;color:var(--navy);margin:0 0 8px}
.completion p{margin:0 0 15px}
.complete-button{border:1px solid #0866e8;border-radius:8px;background:#0866e8;color:#fff;padding:10px 18px;min-height:48px;font-weight:800;font-size:16px}
.complete-button[aria-pressed="true"]{background:#eef6f0;border-color:#a7c7ae;color:#315439}
.lesson-nav{display:flex;justify-content:space-between;gap:12px;margin-top:36px;border-top:1px solid var(--line);padding-top:23px}
.lesson-nav a{font-weight:700;font-size:15px}
.site-footer{color:#66768a;font-size:13px;padding:25px 0 34px;border-top:1px solid #dde0e7}
.site-footer .page-width{display:flex;justify-content:space-between;gap:10px}
.image-dialog{border:0;border-radius:12px;padding:54px 18px 17px;max-width:min(95vw,1100px);max-height:92vh;box-shadow:0 22px 70px rgba(12,34,55,.32);background:#fff}
.image-dialog::backdrop{background:rgba(15,34,52,.75)}
.image-dialog img{display:block;max-width:100%;max-height:calc(92vh - 145px);object-fit:contain;margin:auto}
.image-dialog p{font-size:14px;color:#465b6d;margin:12px 0 0}
.dialog-close{position:absolute;right:16px;top:10px;border:0;background:#fff;color:var(--navy);padding:7px 10px;border-radius:6px;font-size:15px;font-weight:700}
.empty-state{padding:30px;border:1px solid var(--line);border-radius:10px;background:#f7fbfe;color:#506173}
.lesson-section{scroll-margin-top:90px}
.lesson-section:focus{outline:none}
.lesson-toc{border:1px solid var(--line);border-radius:10px;background:#f7fbfe;padding:14px 18px;margin:24px 0}
.lesson-toc summary{color:var(--blue-dark);font-weight:700;cursor:pointer}
.lesson-toc nav{display:grid;gap:4px;margin-top:12px}
.lesson-toc button{border:0;background:none;text-align:left;color:var(--blue-dark);padding:7px 0;font-size:15px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.header-inner{min-height:65px}.brand-mark{width:39px;height:39px;font-size:23px}.menu-button{display:inline-flex;align-items:center;gap:7px}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #dde0e7;padding:9px 18px 15px;box-shadow:0 8px 14px rgba(30,54,76,.08)}.site-nav.is-open{display:grid}.site-nav a{padding:11px 13px}main{padding:25px 0 70px}.hero{padding:27px 22px}.hero .lead{font-size:18px}.showcase{padding:19px}.showcase-track{grid-template-columns:1fr}.showcase-track div{min-height:0}.showcase-track div+div:before{content:"↓";left:50%;top:-20px}.showcase-media{grid-template-columns:1fr}.unit-grid{grid-template-columns:1fr}.unit-card{min-height:0}.section-title{margin-top:39px}.lesson-nav{flex-wrap:wrap}.lesson-nav a{max-width:100%}}
@media(max-width:380px){.page-width{width:min(100% - 28px,820px)}.header-inner{width:min(100% - 28px,1080px)}.brand-copy strong{font-size:15px}.brand-copy small{font-size:10px}.hero{padding:23px 18px}.hero h1{font-size:29px}.section-title{padding:14px 16px}.steps>li{grid-template-columns:37px minmax(0,1fr);gap:9px}.step-number{width:34px;height:34px}.steps>li:not(:last-child):before{left:16px;top:40px}}
@media(max-width:700px){.hina-guide{gap:8px;padding:7px 10px 7px 5px}.hina-guide img,.hina-guide-home img{width:62px;height:62px}.hina-guide p{font-size:14px}.hina-guide-unit{margin-top:-14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.unit-card{transition:none}}

main:focus{outline:none}
.brand-mark{background:transparent;border:0;overflow:visible;border-radius:0}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}

/* A visual first step: genuine course examples and one Hina guide. */
.hero-home{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:24px;align-items:center;min-height:330px}
.hero-home .hero-copy{min-width:0}
.hero-home h1{font-size:clamp(34px,4.1vw,43px)}
.hero-home .lead{font-size:18px}
.hero-scene{position:relative;min-width:0;min-height:266px;align-self:stretch;display:flex;align-items:flex-start;justify-content:flex-end;padding:12px 5px 82px 8px}
.hero-scene-example{display:block;width:192px;height:192px;object-fit:cover;border:6px solid #fff;border-radius:18px;box-shadow:0 12px 28px rgba(22,60,102,.18);transform:rotate(3deg)}
.hero-scene-note{position:absolute;top:178px;right:-5px;background:#fff;color:#0752b5;border:1px solid #bed8f0;border-radius:7px;padding:3px 9px;font-size:12px;font-weight:800;line-height:1.5;box-shadow:var(--shadow)}
.hero-hina{position:absolute;left:-11px;bottom:0;display:flex;align-items:flex-end;gap:0;max-width:265px}
.hero-hina img{display:block;flex:none;width:125px;height:145px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 4px rgba(20,47,80,.16))}
.hero-hina p{position:relative;z-index:1;background:#fff;border:1px solid #bdd8f0;border-radius:12px;padding:9px 11px;margin:0 0 18px -9px;font-size:13px;line-height:1.45;box-shadow:0 5px 18px rgba(22,60,102,.10)}
.hero-hina strong{display:block;color:#0757bb;font-size:12px}
.hero-unit{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:20px;align-items:center;min-height:245px}
.hero-unit>div:first-child{min-width:0}
.hero-unit h1{margin-top:13px}
.lesson-title-part{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.unit-art{position:relative;height:190px;overflow:hidden;background:#b7d5ed;isolation:isolate}
.unit-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,39,72,.05) 20%,rgba(7,39,72,.76) 100%);pointer-events:none}
.unit-art img{display:block;width:100%;height:100%;object-fit:cover}
.unit-art-label,.unit-art-title{position:absolute;z-index:1;color:#fff;text-shadow:0 1px 5px rgba(5,25,47,.6)}
.unit-art-label{left:16px;top:14px;border-radius:99px;background:rgba(6,61,117,.83);padding:4px 9px;font-size:12px;font-weight:800;line-height:1.45}
.unit-art-title{left:17px;right:17px;bottom:13px;font-size:21px;line-height:1.35;font-weight:800;overflow-wrap:normal;word-break:normal}
.unit-art-compact{height:175px;border-radius:12px;box-shadow:0 9px 24px rgba(30,71,112,.15)}
.unit-art-compact .unit-art-label{top:auto;bottom:12px}
.unit-art-start img,.unit-art-research img,.unit-art-video img,.unit-art-daily img{object-fit:contain;padding:19px;background:#dcecf9}
.unit-art-research img{padding:36px;background:linear-gradient(135deg,#d9eafd,#8fc3f6)}
.unit-art-image img{object-position:center 45%}
.unit-art-video img{object-position:center 70%}
.unit-art-threads img{object-position:70% center;filter:hue-rotate(12deg) saturate(.9)}
.unit-art-instagram img{object-position:45% center;filter:saturate(1.15)}
.unit-art-reels img{object-position:center 25%}
.unit-art-daily img{background:linear-gradient(135deg,#e4f2ff,#add2f3)}
.unit-card{min-height:0}
.unit-card-body{padding:17px 20px 19px}
.unit-card-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:9px;color:#59738c;font-size:13px;line-height:1.45}
.unit-card-meta strong{color:#0757bb;letter-spacing:.05em}
.unit-card h3{margin-bottom:7px}
.unit-card p{margin-bottom:0}
.unit-card .go{margin-top:auto;padding-top:15px}
.unit-card:hover .unit-art img{transform:scale(1.025);transition:transform .2s ease}
.hina-guide-unit{position:relative;background:#fff;border-color:#bcd5ec;padding:12px 20px 12px 8px;box-shadow:0 7px 20px rgba(29,76,120,.09)}
.hina-guide-unit:before{content:"";position:absolute;left:39px;top:-9px;width:15px;height:15px;background:#fff;border-top:1px solid #bcd5ec;border-left:1px solid #bcd5ec;transform:rotate(45deg)}
.hina-guide-unit img{width:110px;height:110px}
.hina-guide-unit p{font-size:16px}
.hina-guide-unit strong{font-size:14px}
.step-body .figure{margin:17px 0 18px}
.difficulty-card{background:#fbfcfe;border-left:4px solid #78aee0}
.difficulty-card h3{font-size:20px;color:var(--navy);margin:0 0 8px;line-height:1.45}
@media(max-width:700px){
  .hero-home{grid-template-columns:1fr;gap:7px;padding-bottom:16px}
  .hero-home h1{font-size:clamp(31px,7.7vw,40px)}
  .hero-scene{height:210px;min-height:0;max-width:340px;width:100%;margin-inline:auto;padding:5px 8px 0 0}
  .hero-scene-example{width:175px;height:175px}
  .hero-scene-note{top:155px;right:0}
  .hero-hina{left:4px;bottom:0;max-width:260px}
  .hero-hina img{width:124px;height:145px}
  .hero-hina p{margin-bottom:7px}
  .hero-unit{grid-template-columns:1fr;gap:18px}
  .unit-art{height:180px}
  .unit-art-compact{height:155px}
  .hina-guide-unit{padding:9px 12px 9px 4px}
  .hina-guide-unit img{width:88px;height:88px}
  .hina-guide-unit p{font-size:14px}
}
@media(max-width:380px){.hero-scene-example{width:158px;height:158px}.hero-scene-note{top:139px}.hero-hina img{width:105px;height:130px}.hero-hina p{font-size:12px;max-width:155px}.hero-scene{height:190px}}

/* Keep the guide and real example near the first action on a narrow screen. */
.learning-path,.advanced-invitation,.output-kit,.independent-practice,.related-lessons{margin:32px 0;padding:24px;background:#f3f8fe;border:1px solid #c8def3;border-radius:14px}
.learning-path h2,.advanced-invitation h2,.output-kit h2,.independent-practice h2,.related-lessons h2,.rubric h2{font-size:23px;line-height:1.5;margin:0 0 12px;color:var(--navy)}
.learning-path ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none;gap:8px;margin:24px 0}
.learning-path li{background:#fff;border-radius:9px;padding:12px;font-size:14px;line-height:1.7}
.learning-path li strong{display:block;color:var(--blue-dark)}
.progress-line{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-weight:700;font-size:15px}
.output-kit{background:#fff}
.output-kit ul{padding-left:23px;margin-bottom:0}
.output-kit li{margin-bottom:12px}.output-kit li>strong,.output-kit li>span{display:block}.output-kit li>span{font-size:16px}
.answer-example{border-left:4px solid #6e9bc5;background:#f4f7fa;padding:18px 20px;margin:20px 0;white-space:normal}
.answer-example>strong{display:block;font-size:14px;color:#52697c;margin-bottom:8px}.answer-example p:last-child{margin-bottom:0}
.table-scroll{max-width:100%;overflow-x:auto;margin:20px 0 28px;border:1px solid #c8d8e6;border-radius:8px}
.lesson-table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.7;min-width:570px}
.lesson-table caption{text-align:left;font-weight:700;padding:12px 16px;background:#edf5fc;color:#173c60}
.lesson-table th,.lesson-table td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #dae5ee}
.lesson-table th{background:#f5f8fb;white-space:nowrap}.lesson-table tbody tr:last-child td{border:0}.lesson-table td{min-width:115px}
.independent-practice{border-left:5px solid #0866e8}.rubric{margin:36px 0}.rubric .lesson-table td{width:33.3%}
.workshop-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.workshop-card{display:block;border:1px solid #c5d9eb;background:#fff;border-radius:12px;padding:23px;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px #1e52700a}.workshop-card:hover{border-color:#0866e8}.workshop-card h3{font-size:23px;line-height:1.5;margin:12px 0}.workshop-card p{font-size:16px}.workshop-card .go{color:var(--blue-dark);font-weight:700}
.related-lessons{background:#fafbfd}.related-lessons h2{font-size:20px}
@media(max-width:700px){.learning-path,.advanced-invitation,.output-kit,.independent-practice,.related-lessons{padding:19px}.learning-path ol{grid-template-columns:1fr 1fr}.workshop-grid{grid-template-columns:1fr}.answer-example{padding:14px}.table-scroll:after{content:"表は左右にスクロールできます";display:block;color:#52697c;font-size:12px;padding:8px 12px;background:#f5f8fb;position:sticky;left:0}}
@media(max-width:700px){
  .hero-home{gap:0}
  .hero-home .hero-copy{display:contents}
  .hero-home .eyebrow{order:1;justify-self:start}
  .hero-home h1{order:2}
  .hero-home .lead{order:3}
  .hero-home .hero-actions{order:4}
  .hero-home .hero-scene{order:5;margin-top:12px}
  .hero-home .meta-line{order:6;margin-top:16px}
  .hero-home .hero-research{order:7}
  .hina-guide-unit img{width:106px;height:120px}
  .image-dialog{width:96vw;max-width:96vw;overflow:auto}
  .image-dialog img{max-width:100%;max-height:calc(92svh - 145px)}
}
@media(max-width:380px){
  .header-inner{gap:8px}
  .brand{gap:6px}
  .menu-button{gap:4px;padding:6px 8px;font-size:14px}
  .hero-hina img{width:123px;height:148px}
  .hero-hina p{font-size:12px;max-width:145px}
  .hero-scene{height:200px}
}

.course-index-head{margin:0 0 28px}.course-index-head h1{font-size:32px;line-height:1.4;margin:12px 0}.course-index-head>p{font-size:16px;margin:0 0 18px;color:#52697c}.index-advanced-link{margin:32px 0;font-weight:700}
h1,h2,h3,.unit-art-title{text-wrap:balance}
.unit-group{margin:32px 0 42px}.unit-group-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:14px;border-bottom:2px solid #c7dced}.unit-group-head h2{margin:0;color:var(--navy);font-size:25px;line-height:1.5}.unit-group-head>span{font-size:14px;color:#52697c;white-space:nowrap}.unit-group-head>p{flex-basis:100%;margin:0;color:#52697c;font-size:16px;line-height:1.7}
.unit-art-custom img{object-fit:cover;object-position:center;padding:0;filter:none}.unit-art-custom:after{background:linear-gradient(180deg,rgba(7,39,72,0),rgba(7,39,72,.12))}.unit-art-label{max-width:calc(100% - 32px);background:#16446de8;font-size:13px}.unit-art-title{padding:7px 9px;border-radius:7px;background:#102e4ddd;font-size:20px;line-height:1.45}
@media(max-width:380px){.unit-group-head h2{font-size:23px}.unit-art-title{font-size:18px}}

/* One lesson, one outcome: leave room between ideas instead of repeating panels. */
.work-gallery{margin:28px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7faff}
.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700}
.gallery-controls button{padding:9px 15px;border:1px solid #bad2ec;border-radius:8px;background:#fff;color:var(--blue-dark);font:inherit;cursor:pointer}
.gallery-controls button:disabled{opacity:.4;cursor:default}
.lesson-article .work-gallery .figure{margin:18px 0 10px;text-align:center}
.work-gallery .figure img{height:min(58svh,640px);width:auto;max-width:100%;object-fit:contain;margin:auto}
.gallery-original{display:block;text-align:center;font-size:14px}
.work-gallery [hidden]{display:none}
.course-entrance{margin:0 0 24px}
.course-entrance img{display:block;width:auto;height:auto;max-width:100%;max-height:min(52svh,480px);margin:0 auto;border-radius:16px;object-fit:contain}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.lesson-article{max-width:760px}
.lesson-article .unit-art-compact{aspect-ratio:16/9;height:auto;min-height:0}
.lesson-article .unit-art-compact img{object-fit:contain}
.lesson-article .hero-unit{margin-bottom:28px}
.lesson-article .prereq{background:transparent;border:0;border-bottom:1px solid var(--line);padding:0 0 22px;margin:24px 0;font-size:16px}
.lesson-article .lesson-toc{background:transparent;border:0;padding:0;margin:24px 0 42px;font-size:15px}
.lesson-article .lesson-section+.lesson-section{margin-top:56px}
.lesson-article .section-title{background:transparent;box-shadow:none;color:var(--navy);border-left:4px solid var(--blue);border-radius:0;padding:0 0 0 16px;margin:0 0 26px;font-size:25px;line-height:1.6}
.lesson-article .prose{line-height:1.9}
.lesson-article .prose p{margin:0 0 1.5em}
.lesson-article .prose p:last-child{margin-bottom:0}
.lesson-article .steps{margin:28px 0 0}
.lesson-article .steps>li{padding-bottom:36px}
.lesson-article .steps>li:last-child{padding-bottom:0}
.lesson-article .step-body h3{margin-bottom:16px;line-height:1.65}
.lesson-article .copy-box{margin:22px 0}
.lesson-article .copy-box pre{padding:20px 22px;line-height:1.9}
.lesson-article .check{background:transparent;border:0;border-left:3px solid #b6cdbb;border-radius:0;padding:4px 0 4px 13px;margin-top:20px}
.lesson-article .check strong{display:inline;margin-right:.7em;font-size:14px}
.lesson-article .figure{margin:30px 0}
.lesson-article .completion{margin-top:54px}
.lesson-article .related-lessons{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:20px 0;margin-top:30px;font-size:15px}
.related-lessons>summary{color:var(--blue-dark);font-weight:700;cursor:pointer}
@media(max-width:700px){
  .lesson-article .hero-unit{padding:24px 20px;min-height:0}
  .lesson-article .lesson-section+.lesson-section{margin-top:44px}
  .lesson-article .section-title{font-size:23px;margin-bottom:22px;padding-left:12px}
  .lesson-article .step-body h3{font-size:20px}
  .lesson-article .steps>li{display:block;padding-left:0}
  .lesson-article .steps>li:before{display:none}
  .lesson-article .step-number{margin-bottom:12px}
  .lesson-article .copy-box pre{padding:18px 16px}
}

/* The creator's published examples belong beside the Instagram lesson. */
.creator-showcase{margin:0 0 32px;padding:28px 30px;border:2px solid #0866e8;border-radius:16px;background:linear-gradient(125deg,#eef6ff,#fff 75%);box-shadow:0 8px 26px rgba(8,102,232,.09)}
.creator-showcase-account{display:flex;align-items:center;gap:14px;margin-bottom:18px;min-width:0}
.creator-showcase-account img{width:64px;height:64px;flex:none;object-fit:contain;border:2px solid #fff;border-radius:50%;background:#fff}
.creator-showcase-account>div{min-width:0}
.creator-showcase-account span{display:block;color:#0752b5;font-size:13px;font-weight:800}
.creator-showcase-account strong{display:block;color:var(--navy);font-size:18px;line-height:1.5}
.creator-showcase-account a{font-size:15px;font-weight:700}
.creator-showcase h2{margin:0 0 12px;color:var(--navy);font-size:clamp(22px,3.5vw,28px);line-height:1.5;word-break:normal}
.creator-showcase p{margin:0 0 20px;font-size:17px;line-height:1.8}
.creator-showcase-cta{display:flex;justify-content:center;align-items:center;gap:12px;min-height:54px;width:fit-content;max-width:100%;padding:13px 22px;border:2px solid #0752b5;border-radius:9px;background:#0866e8;color:#fff;text-decoration:none;font-size:17px;font-weight:800;line-height:1.6;text-align:center}
.creator-showcase-cta:hover{background:#0752b5;color:#fff}
.creator-showcase-cta{flex-wrap:wrap;column-gap:0;row-gap:2px}.creator-showcase-cta span{flex:none;white-space:nowrap}
.creator-showcase .creator-showcase-follow{margin:11px 0 20px;color:#435467;font-size:15px}
.creator-showcase-posts{padding-top:14px;border-top:1px solid #cadff5}
.creator-showcase-posts .bullet-list{margin:0;padding-left:1.3em;font-size:16px;line-height:1.8}
.creator-showcase-posts li+li{margin-top:8px}
@media(max-width:700px){.creator-showcase{padding:22px 19px}.creator-showcase-cta{width:100%;padding:12px 14px;font-size:16px}.creator-showcase-account{gap:11px}.creator-showcase-account strong{font-size:17px}}
