:root{--blue:#123b70;--pale:#f2f7fb;--ink:#2b2b2b;--white:#fff;--serif:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;--sans:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;color:var(--ink);background:var(--white);font:16px/1.9 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--blue)}h2{font:600 clamp(27px,2.65vw,38px)/1.65 var(--serif);letter-spacing:.045em}h3{font:600 21px/1.7 var(--serif)}.wrap{max-width:1200px;margin:auto;padding:0 40px}.section{padding:80px 0}.pale{background:var(--pale)}.section-label{font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--blue);margin-bottom:15px}.section-label span{font:500 10px/1.5 var(--sans);letter-spacing:.16em;margin-left:16px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:36px;gap:24px}.section-heading>p{font-size:14px;color:var(--blue)}.section-intro{margin-top:16px}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:50px;padding:12px 27px;border:1px solid var(--blue);border-radius:40px;background:var(--blue);color:var(--white);font-size:13px;font-weight:600;line-height:1.6;transition:transform .18s,box-shadow .18s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 0 var(--pale)}.button span{margin-left:auto}.button.outline,.button.inverse{background:var(--white);color:var(--blue)}.button.small{min-height:42px;padding:10px 22px;border-radius:0 0 12px 12px;font-size:12px}.actions{display:flex;gap:12px;flex-wrap:wrap}.header{height:112px;padding:0 3.3%;display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--white);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--pale)}.brand{display:flex;align-items:center;gap:13px;color:var(--blue);flex-shrink:0}.brand strong{display:block;font:700 27px/1.6 var(--serif);letter-spacing:.08em}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:.29em}.brand-mark{font:600 29px var(--serif);border:1px solid var(--blue);padding:3px 7px;position:relative}.brand-mark:after{content:'';position:absolute;inset:4px;border:1px solid var(--blue)}.header-right{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px}.header-top{display:flex;align-items:center;justify-content:flex-end;gap:28px}.header-top>span{font-size:10px;color:var(--blue)}nav{display:flex;gap:25px}nav a{font-size:12px;font-weight:600;color:var(--blue);white-space:nowrap}nav a:hover{text-decoration:underline;text-underline-offset:8px}.menu-toggle{display:none}.hero{position:relative;min-height:580px;max-width:1600px;margin:auto;isolation:isolate;overflow:hidden}.hero-photo{position:absolute!important;right:0;top:0;width:53%;height:100%;z-index:-1}.hero-photo:after{content:'';position:absolute;inset:0;border-left:10px solid var(--white)}.photo-placeholder{position:relative;display:flex;align-items:center;justify-content:center;background:var(--pale);color:var(--blue);outline:1px dashed var(--blue);outline-offset:-18px}.photo-caption{position:absolute;left:32px;top:25px;font-size:10px;letter-spacing:.17em}.photo-center{display:flex;flex-direction:column;align-items:center;text-align:center;font-size:13px;letter-spacing:.08em;gap:8px}.photo-center small{font-size:10px}.photo-symbol{font:300 38px/1 var(--sans);margin-bottom:8px}.hero-photo .photo-center{margin-left:50px}.hero-photo-note{position:absolute;bottom:50px;right:50px;font:500 26px/1.8 var(--serif);letter-spacing:.12em}.hero-copy{padding:45px 4.5% 43px;width:62%;position:relative}.eyebrow{font:500 13px var(--serif);letter-spacing:.08em;color:var(--blue);margin-bottom:18px}.hero-location{font-size:10px;color:var(--blue);letter-spacing:.07em;margin-bottom:14px}.hero h1{font:500 42px/1.25 var(--serif);letter-spacing:.04em}.hero-years{font-size:104px;letter-spacing:-.045em;line-height:1.3}.hero-years>span{font-size:49px;letter-spacing:.025em}.hero h2{font-size:32px;line-height:1.6;margin:5px 0 19px}.hero-description{font-size:13px;line-height:1.9;margin-bottom:26px}.trust-strip{display:grid;grid-template-columns:repeat(3,1fr) 1.2fr;background:var(--pale);padding:25px max(4%,calc((100vw - 1180px)/2));gap:0;color:var(--blue)}.trust-strip>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-right:1px solid var(--blue);padding:0 16px}.trust-strip>div:last-child{border:0}.trust-strip span{font-size:12px}.trust-strip strong{font:500 33px/1.6 var(--serif);white-space:nowrap}.trust-strip strong span{font-size:21px;margin-left:3px}.trust-strip small{font-size:10px}.trust-strip .trust-message{font:500 23px/1.7 var(--serif);letter-spacing:.1em}.news{display:flex;align-items:center;gap:45px;padding-top:27px;padding-bottom:27px;border-bottom:1px solid var(--pale)}.news h2{font:600 17px var(--serif);white-space:nowrap}.news h2 small{display:block;font:400 9px var(--sans);letter-spacing:.18em;margin-top:7px}.news-content{display:flex;align-items:center;gap:20px;flex:1;font-size:13px}.news-content>a{margin-left:auto;font-size:24px;color:var(--blue)}.tag{display:inline-block;font-size:10px;line-height:1.6;padding:4px 11px;border:1px solid var(--blue);color:var(--blue);white-space:nowrap}.message-layout{display:grid;grid-template-columns:28% 1fr 16%;gap:36px;align-items:stretch}.portrait{min-height:390px}.message-copy>p:not(.section-label){font-size:13px;line-height:2.1;margin-top:17px}.signature{display:flex;justify-content:flex-end;align-items:baseline;gap:16px;color:var(--blue);margin-top:24px}.signature small{font-size:11px}.signature strong{font:500 25px var(--serif);letter-spacing:.1em}.message-aside{background:var(--pale);padding:26px 18px;color:var(--blue);align-self:start;margin-top:28px}.message-aside>p{font:500 13px/1.6 var(--serif);letter-spacing:.05em}.message-aside>div{font:500 17px/2.2 var(--serif);border-top:1px solid var(--blue);padding-top:20px;margin-top:25px}.message-aside small{display:block;font-size:10px;margin-top:20px}.results-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px}.results-placeholder,.voice-placeholder{background:var(--white);padding:30px;border-radius:8px}.results-placeholder h3,.voice-placeholder h3{margin:16px 0;font-size:23px}.results-placeholder p,.voice-placeholder p{font-size:12px}.voice-placeholder{display:flex;gap:25px;align-items:center}.voice-photo{width:145px;min-height:210px;flex-shrink:0}.voice-photo .photo-center{font-size:10px}.style-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.style-grid article{padding:22px 17px 25px;background:var(--pale);border-radius:8px}.style-number{font:500 27px var(--serif);color:var(--blue);display:block;margin-bottom:18px}.style-grid h3{font-size:17px;margin-bottom:12px}.style-grid p{font-size:12px;line-height:1.95}.invitation{background:var(--blue);color:var(--white);padding:36px 0}.invitation .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}.invitation p{font:500 28px/1.6 var(--serif);letter-spacing:.07em}.invitation small{display:block;font:400 12px/1.8 var(--sans);margin-top:9px;letter-spacing:0}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.course-grid article{padding:30px;background:var(--white);border-radius:8px;display:flex;flex-direction:column}.course-en{font-size:9px;letter-spacing:.2em;color:var(--blue)}.course-grid h3{font-size:30px;margin:8px 0 20px}.course-lead{font:600 22px/1.7 var(--serif);color:var(--blue);margin-bottom:18px}.course-grid p:not(.course-lead),.course-grid li{font-size:13px}.course-grid ul{padding-left:18px;margin:20px 0 28px}.text-link{font-size:12px;font-weight:600;display:flex;justify-content:space-between;gap:12px;color:var(--blue);border-top:1px solid var(--pale);padding-top:16px;margin-top:auto}.text-link:hover{text-decoration:underline}.fee-details{margin-top:28px;background:var(--white);border-radius:8px;padding:0 26px}.fee-details summary{padding:20px 0;font-size:14px;font-weight:600;color:var(--blue);cursor:pointer;list-style:none;display:flex;justify-content:space-between}.fee-details summary::-webkit-details-marker{display:none}.fee-details[open] summary span{transform:rotate(45deg)}.fee-details>div{padding:0 0 24px;font-size:13px}.steps{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;gap:28px;margin:40px 0 0}.steps li{border-top:2px solid var(--blue);padding-top:18px}.steps span{font-size:10px;color:var(--blue);letter-spacing:.12em}.steps h3{font-size:18px;margin:13px 0}.steps p{font-size:13px}.access-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px}.access-list{margin-top:30px;font-size:13px}.access-list>div{display:grid;grid-template-columns:80px 1fr;border-bottom:1px solid var(--white);padding:13px 0;gap:12px}.access-list dt{font-weight:600;color:var(--blue)}.access-list dd{margin:0}.access-note{font-size:11px;margin-top:18px}.classroom-photo{height:350px;outline-offset:-18px;border:12px solid var(--white);margin-top:8px}.map-link{width:100%;margin-top:20px}.contact{text-align:center}.contact .section-label{margin-bottom:20px}.contact h2{font-size:36px}.contact>.wrap>p:not(.section-label){font-size:14px;margin-top:22px}.contact-options{display:grid;grid-template-columns:1fr 1fr;max-width:900px;margin:40px auto 0}.contact-options>div{display:flex;flex-direction:column;align-items:center;padding:0 25px;gap:10px}.contact-options>div+div{border-left:1px solid var(--blue)}.contact-options>div>span{font-size:12px;color:var(--blue)}.phone{font:500 37px/1.8 var(--serif);color:var(--blue)}.contact-options small{font-size:10px}.contact-options .button{margin:7px 0;min-height:53px}footer{background:var(--pale);color:var(--blue);padding:40px 0 25px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-top p{font-size:11px}.footer-policy{border:0;background:none;color:var(--blue);font-size:11px;text-decoration:underline}.footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px;margin-top:35px}.footer-bottom>span{letter-spacing:.1em}.mobile-contact,.mobile-break{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:fixed;left:10px;top:-100px;z-index:100;background:var(--white);color:var(--blue);padding:10px}.skip:focus{top:10px}dialog{border:1px solid var(--blue);border-radius:8px;max-width:520px;width:calc(100% - 40px);padding:40px;color:var(--ink);background:var(--white)}dialog::backdrop{background:var(--blue);opacity:.55}dialog h2{font-size:24px;margin-bottom:20px}dialog p{font-size:14px;white-space:pre-line;margin-bottom:25px}.dialog-close{position:absolute;right:12px;top:6px;background:none;border:0;color:var(--blue);font-size:28px}.dialog-ok{min-width:140px}
@media(min-width:1500px){.hero-copy{padding-left:max(4.5%,calc((100% - 1120px)/2));width:64%}.hero{min-height:610px}.hero-copy{padding-top:55px}}
@media(max-width:1100px){.header{height:98px;padding:0 24px;gap:15px}.brand strong{font-size:23px}.brand-mark{font-size:23px}nav{gap:15px}nav a{font-size:10px}.header-top>span{display:none}.hero-copy{width:65%;padding-left:35px}.hero h1{font-size:36px}.hero-years{font-size:90px}.hero-years>span{font-size:42px}.hero h2{font-size:28px}.hero-photo{width:48%}.hero-photo .photo-center{margin-left:80px}.hero-photo-note{right:32px;font-size:22px}.hero .actions{max-width:420px;gap:10px}.hero .button{font-size:11px;padding:12px 18px}.message-layout{grid-template-columns:30% 1fr;gap:30px}.message-aside{display:none}.style-grid{gap:10px}.style-grid article{padding:20px 13px}.style-grid h3{font-size:15px}.voice-photo{width:100px}.voice-placeholder{gap:18px;padding:23px}.course-grid article{padding:25px}.access-layout{gap:35px}.wrap{padding-left:30px;padding-right:30px}html{scroll-padding-top:98px}}
@media(max-width:900px){html{scroll-padding-top:80px}.wrap{padding-left:22px;padding-right:22px}.section{padding:52px 0}.header{height:80px;padding:0 20px}.brand strong{font-size:22px}.brand small{font-size:7px;letter-spacing:.22em}.brand-mark{font-size:23px}.header-right{justify-content:center;padding:0}.header-top{display:none}.menu-toggle{display:flex;flex-direction:column;gap:7px;justify-content:center;align-items:center;width:44px;height:44px;border:0;background:var(--white)}.menu-toggle>span:not(.sr-only){display:block;width:24px;height:1px;background:var(--blue);transition:transform .2s}.menu-toggle[aria-expanded=true]>span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true]>span:nth-child(2){transform:translateY(-4px) rotate(-45deg)}nav{display:none;position:absolute;left:0;right:0;top:80px;background:var(--white);padding:15px 25px 25px;border-bottom:1px solid var(--blue)}nav.open{display:flex;flex-direction:column;gap:0}nav a{font-size:14px;padding:12px}.hero{min-height:0;padding-bottom:25px}.hero-photo{width:44%;height:350px;right:0;top:0}.hero-photo:after{border-left:0}.hero-photo .photo-caption{left:15px;top:18px;font-size:8px}.hero-photo .photo-center{margin:0;padding:15px;font-size:10px}.hero-photo .photo-center small{display:none}.hero-photo-note{font-size:15px;right:20px;bottom:25px}.hero-copy{padding:25px 22px 0;width:100%}.eyebrow{font-size:10px;margin-bottom:18px;max-width:52%;line-height:1.8}.hero-location{font-size:9px;max-width:52%;line-height:1.9;margin-bottom:12px}.hero h1{font-size:28px;max-width:58%;line-height:1.4}.hero-years{font-size:67px;white-space:nowrap;letter-spacing:-.06em}.hero-years>span{font-size:27px;letter-spacing:0}.hero h2{font-size:20px;line-height:1.7;margin:12px 0;max-width:58%;letter-spacing:0}.hero-description{font-size:12px;max-width:100%;margin-top:35px;margin-bottom:22px;line-height:2}.desktop-break{display:none}.actions{flex-direction:column;max-width:100%!important}.hero .button{font-size:13px;min-height:48px;width:100%}.trust-strip{grid-template-columns:repeat(3,1fr);padding:23px 10px}.trust-strip>div{padding:0 7px}.trust-strip>div:nth-child(3){border:0}.trust-strip span{font-size:9px}.trust-strip strong{font-size:23px}.trust-strip strong span{font-size:14px}.trust-strip small{font-size:8px;line-height:1.6;margin-top:3px}.trust-strip .trust-message{display:none}.news{gap:20px;padding-top:22px;padding-bottom:22px}.news h2{font-size:15px}.news-content{gap:10px;flex-wrap:wrap;font-size:11px;position:relative;padding-right:20px}.news-content .tag{font-size:9px;padding:2px 7px}.news-content>a{position:absolute;right:0;top:50%;transform:translateY(-50%)}.message-layout{grid-template-columns:1fr;gap:27px}.portrait{min-height:0;height:270px}.message-copy>p:not(.section-label){font-size:14px}.section-label{font-size:12px}.section-label span{font-size:9px;display:block;margin:7px 0 0}.message h2{font-size:29px}.section-heading{display:block;margin-bottom:26px}.section-heading>p{font-size:12px;margin-top:15px}.results-layout{grid-template-columns:1fr;gap:18px}.results-placeholder,.voice-placeholder{padding:24px}.results-placeholder h3,.voice-placeholder h3{font-size:21px}.voice-placeholder{gap:20px}.voice-photo{width:95px;min-height:180px}.voice-photo .photo-center{font-size:8px}.voice-placeholder p{font-size:11px}.style-grid{grid-template-columns:1fr 1fr;gap:12px}.style-grid article{padding:22px 18px}.style-grid article:last-child{grid-column:span 2}.style-grid h3{font-size:17px}.style-grid p{font-size:12px}.style-number{font-size:25px;margin-bottom:12px}.invitation{padding:30px 0}.invitation .wrap{flex-direction:column;align-items:stretch;gap:22px}.invitation p{font-size:25px}.invitation small{font-size:11px}.course-grid{grid-template-columns:1fr;gap:18px}.course-grid article{padding:28px}.course-grid h3{font-size:29px;margin:5px 0 15px}.course-lead br{display:none}.course-lead{font-size:21px}.course-grid p:not(.course-lead),.course-grid li{font-size:14px}.steps{grid-template-columns:1fr 1fr;gap:25px 20px;margin-top:30px}.steps h3{font-size:16px}.steps p{font-size:12px}.access-layout{grid-template-columns:1fr;gap:27px}.access-list>div{grid-template-columns:65px 1fr;gap:8px;font-size:12px}.classroom-photo{height:270px}.contact h2{font-size:27px}.contact-options{grid-template-columns:1fr;gap:30px;margin-top:30px}.contact-options>div{padding:0}.contact-options>div+div{border-left:0;border-top:1px solid var(--pale);padding-top:28px}.phone{font-size:34px}.contact-options .button{width:100%;font-size:12px}.footer-top{flex-direction:column;align-items:flex-start;gap:17px}.footer-bottom{flex-wrap:wrap;gap:18px;font-size:9px}.footer-bottom>span{display:none}footer{padding-bottom:95px}.mobile-contact{display:flex;position:fixed;bottom:12px;left:16px;right:16px;z-index:15;box-shadow:0 0 0 5px var(--white);font-size:13px}.mobile-break{display:block}dialog{padding:35px 25px}dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Independent pages and concise homepage */
.header-top .header-news{font-size:11px;color:var(--blue)}
nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px}
.page-heading{background:var(--pale);padding:24px 0 55px;color:var(--blue)}
.breadcrumb{font-size:11px;margin-bottom:35px}.breadcrumb span{margin:0 12px}.breadcrumb a{text-decoration:underline}
.page-heading h1{font:600 clamp(30px,3.3vw,45px)/1.6 var(--serif);letter-spacing:.06em;margin-bottom:16px}
.page-heading .section-label{font-size:11px;letter-spacing:.18em}.page-heading>.wrap>p:last-child{font-size:14px}
.detail-body>p{max-width:820px;margin:22px 0;line-height:2}.detail-body>.button{margin-top:18px}
.detail-panel{background:var(--pale);padding:30px;margin:32px 0;border-radius:8px}.detail-panel p{font-size:14px;margin-top:12px}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:35px}.detail-grid.two{grid-template-columns:1fr 1fr}.detail-grid p{font-size:14px;margin-top:14px}.detail-grid article{scroll-margin-top:135px}.steps.three{grid-template-columns:repeat(3,1fr)}
.home-about{display:grid;grid-template-columns:30% 1fr;align-items:center;gap:55px}.home-about .portrait{min-height:280px}.home-about p:not(.section-label){margin:20px 0 26px;font-size:14px;line-height:2}
.home-course-grid,.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.home-course{display:block;background:var(--white);padding:30px;border-radius:8px}.home-course:hover h3{text-decoration:underline;text-underline-offset:7px}.home-course h3{display:flex;justify-content:space-between;font-size:27px}.home-course h3 span{font:400 22px var(--sans)}.home-course p{font-size:13px;margin-top:14px}
.home-feature-grid article{padding:10px 24px;border-left:1px solid var(--blue)}.home-feature-grid p{font-size:13px;margin-top:13px}.home-links{display:grid;grid-template-columns:1fr 1fr;gap:50px}.home-links h2{font-size:27px}.home-links p:not(.section-label){font-size:13px;margin:20px 0 25px}.home-links>div{display:flex;flex-direction:column;align-items:flex-start}.home-links .button{margin-top:auto}
@media(max-width:1100px){.header-top{gap:15px}.home-links{gap:30px}.home-links h2{font-size:24px}.home-about{gap:30px}}
@media(max-width:900px){.page-heading{padding:18px 0 35px}.breadcrumb{font-size:10px;margin-bottom:28px}.page-heading>.wrap>p:last-child{font-size:13px}.detail-grid,.detail-grid.two,.home-about,.home-course-grid,.home-links{grid-template-columns:1fr}.detail-grid{gap:28px}.detail-panel{padding:23px}.steps.three{grid-template-columns:1fr}.home-about{gap:28px}.home-about .portrait{min-height:230px}.home-about h2{font-size:27px}.home-feature-grid{grid-template-columns:1fr;gap:28px}.home-feature-grid .style-number{margin-bottom:8px}.home-feature-grid article{padding:0 20px}.home-links{gap:40px}.home-course{padding:24px}.section-heading>.button{margin-top:20px}.home-course-grid{gap:15px}.home-links h2{font-size:25px}}
/* Source-backed school, recruitment and fee information */
.school-badge{display:inline-block;font-size:12px;font-weight:600;line-height:1.8;color:var(--blue);background:var(--pale);padding:5px 11px;margin-bottom:13px;border-left:3px solid var(--blue)}
.school-focus{border-top:1px solid var(--pale);border-bottom:1px solid var(--pale);padding:32px 0}.school-focus>.wrap{display:flex;align-items:center;justify-content:space-between;gap:35px}.school-focus h2{font-size:27px}.school-focus .section-label{margin-bottom:8px}.school-focus p:not(.section-label){font-size:13px;margin-top:10px}.school-focus .button{flex-shrink:0}
.content-note{font-size:12px;line-height:1.95;margin:20px 0;color:var(--ink)}.content-note a{text-decoration:underline;color:var(--blue);text-underline-offset:3px}.section-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px}
.recruitment-panel{padding:26px 30px;background:var(--white);border:1px solid var(--blue);border-radius:8px;margin:0 0 35px;scroll-margin-top:135px}.recruitment-panel .section-label span{display:block;margin:6px 0 0;font-size:10px;letter-spacing:.03em}.recruitment-panel h3{font-size:21px}.recruitment-panel>p:not(.section-label){font-size:13px;margin-top:13px}.recruitment-panel .content-note{margin-bottom:0}.consultation-topics{max-width:780px;margin-left:auto!important;margin-right:auto!important}
.table-scroll{overflow:auto;margin-top:25px;max-width:100%;border:1px solid var(--pale);border-radius:8px}.table-scroll table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.table-scroll caption{text-align:left;padding:16px 20px;color:var(--blue);font-weight:600;background:var(--pale);white-space:normal}.table-scroll th,.table-scroll td{padding:15px 18px;text-align:right;border-bottom:1px solid var(--pale)}.table-scroll thead th{background:var(--blue);color:var(--white);font-weight:500}.table-scroll th:first-child{text-align:left}.table-scroll tbody th{font-weight:500;color:var(--blue)}.table-scroll tbody tr:nth-child(even){background:var(--pale)}#fees,#timetable{scroll-margin-top:110px}.detail-grid>div{min-width:0}
@media(max-width:900px){.school-badge{font-size:10px;max-width:54%;padding:4px 8px;line-height:1.75;margin-bottom:11px}.hero-photo{height:410px}.hero-description{margin-top:28px}.school-focus{padding:27px 0}.school-focus>.wrap{flex-direction:column;align-items:flex-start;gap:22px}.school-focus h2{font-size:25px}.school-focus .section-label{font-size:11px}.school-focus p:not(.section-label){font-size:12px}.school-focus br:not(.mobile-break){display:none}.school-focus .button{width:100%}.recruitment-panel{padding:22px;margin-bottom:28px}.recruitment-panel h3{font-size:19px}.table-scroll table{font-size:12px}.table-scroll th,.table-scroll td{padding:12px}.section-actions{flex-direction:column}.content-note{font-size:12px}}
/* Homepage copy revision */
.home-page .trust-strip .consistent-support strong{font-size:23px;white-space:normal;line-height:1.6}.home-page .trust-strip .consistent-support strong span{font-size:inherit;margin:0;display:inline-block}.home-page .home-introduction .wrap{max-width:1200px}.introduction-copy{margin:25px 0 30px;max-width:1000px;font-size:15px;line-height:2.1}.home-introduction h2{font-size:clamp(26px,2.65vw,36px)}
@media(max-width:900px){.home-page .trust-strip .consistent-support strong{font-size:17px}.home-page .trust-strip .consistent-support strong span{display:block;font-size:12px}.home-page .trust-strip .consistent-support small{font-size:8px}.introduction-copy{font-size:14px;margin-top:22px}.introduction-copy p+p{margin-top:12px}.home-introduction .button{width:100%;font-size:12px}}
/* Homepage: greeting and parent voices */
.greeting-layout{display:grid;grid-template-columns:32% 1fr;gap:55px;align-items:center}.greeting-portrait{min-height:350px;background:var(--white)}.greeting-copy>p:not(.section-label){font-size:14px;line-height:2.1;margin-top:20px}.greeting-copy .signature{margin:23px 0}.greeting-copy>.button{margin-top:8px}.parent-voice-empty{position:relative;padding:42px;background:var(--pale);border-radius:8px}.voice-quote{display:block;font:500 62px/1 var(--serif);color:var(--blue);height:43px}.parent-voice-empty h3{font-size:21px}.parent-voice-empty p{font-size:13px;margin-top:13px}
@media(max-width:900px){.greeting-layout{grid-template-columns:1fr;gap:28px}.greeting-portrait{min-height:260px}.greeting-copy h2{font-size:27px}.greeting-copy>.button{width:100%}.parent-voice-empty{padding:28px 24px}.parent-voice-empty h3{font-size:19px}}
/* Shared header: navy background */
.header{background:var(--blue);border-bottom-color:var(--blue)}
.header .brand,.header nav a,.header .header-top>span,.header .header-top .header-news{color:var(--white)}
.header .brand-mark,.header .brand-mark:after{border-color:var(--white)}
.header .button.small{background:var(--white);color:var(--blue);border-color:var(--white)}
.header .menu-toggle{background:var(--blue)}
.header .menu-toggle>span:not(.sr-only){background:var(--white)}
.header a:focus-visible,.header button:focus-visible{outline-color:var(--white)}
@media(max-width:900px){.header nav{background:var(--blue);border-bottom-color:var(--white)}}
/* Original parent letters */
.parent-voice-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:32px;align-items:start}.parent-voice-card{margin:0;padding:26px;background:var(--white);border:1px solid var(--pale);border-radius:8px}.parent-voice-card figcaption>span{font-size:11px;color:var(--blue)}.parent-voice-card h3{font-size:19px;margin:9px 0 22px}.parent-voice-card a{display:block}.parent-voice-card img{display:block;width:100%;height:auto}.voice-expand{display:block;text-align:right;color:var(--blue);font-size:11px;margin-top:15px}.parent-voice-card a:hover .voice-expand{text-decoration:underline}
/* Shared footer */
.site-footer{background:var(--blue);color:var(--white);padding:55px 0 25px}.site-footer a{color:var(--white)}.site-footer a:focus-visible{outline-color:var(--white)}.site-footer-main{display:grid;grid-template-columns:1.05fr .75fr 1fr;gap:55px}.site-footer .brand{color:var(--white)}.footer-tagline{font:500 18px/1.9 var(--serif);margin:22px 0 17px}.footer-school address{font-size:12px;font-style:normal;line-height:2}.footer-location{display:inline-block;margin-top:14px;font-size:12px;text-decoration:underline;text-underline-offset:5px}.footer-label{font-size:13px;font-weight:600;margin-bottom:20px;letter-spacing:.05em}.footer-sitemap ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.footer-sitemap a{font-size:13px}.footer-sitemap a:hover{text-decoration:underline;text-underline-offset:5px}.footer-contact>p:not(.footer-label){font-size:11px;line-height:1.9}.footer-contact .footer-phone{display:block;font:500 30px/1.8 var(--serif);white-space:nowrap;margin-top:13px}.footer-contact>small{display:block;font-size:10px}.site-footer .button{background:var(--white);color:var(--blue);margin-top:23px;width:100%;font-size:12px}.site-footer-bottom{display:flex;align-items:center;gap:30px;border-top:1px solid var(--white);padding-top:22px;margin-top:40px;font-size:10px}.site-footer-bottom>a:last-child{margin-left:auto}.site-footer-bottom>span{font-size:9px}
@media(max-width:1100px){.site-footer-main{gap:30px}.footer-contact .footer-phone{font-size:25px}.site-footer .brand strong{font-size:24px}}
@media(max-width:900px){.parent-voice-grid{grid-template-columns:1fr;gap:20px}.parent-voice-card{padding:22px}.parent-voice-card h3{font-size:18px}.site-footer{padding:42px 0 95px}.site-footer-main{grid-template-columns:1fr;gap:35px}.footer-sitemap ul{grid-template-columns:1fr 1fr;gap:15px}.footer-label{margin-bottom:16px}.footer-contact .footer-phone{font-size:31px}.site-footer-bottom{flex-wrap:wrap;gap:18px;margin-top:30px}.site-footer-bottom>a:last-child{margin-left:0;width:100%}}
/* Parent letter image borders */
.parent-voice-card img{border:1px solid var(--ink)}
/* Parent voice slideshow */
.voice-slideshow{max-width:850px;margin:32px auto 0}.voice-slides{display:grid;align-items:start}.voice-slide{grid-area:1/1;min-width:0}.voice-slide[hidden]{display:none}.voice-slide:not([hidden]){display:block}.voice-slide img{max-height:380px;width:auto;max-width:100%;margin:0 auto}.voice-slide .voice-expand{text-align:center}.voice-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px}.voice-prev,.voice-next{width:48px;height:48px;border:1px solid var(--blue);border-radius:50%;color:var(--blue);background:var(--white);font-size:20px}.voice-prev:hover,.voice-next:hover{background:var(--blue);color:var(--white)}.voice-dots{display:flex;align-items:center;gap:0}.voice-dot{display:flex;align-items:center;justify-content:center;width:36px;height:44px;padding:0;border:0;background:transparent}.voice-dot:after{content:'';width:8px;height:8px;border:1px solid var(--blue);border-radius:50%;background:var(--white)}.voice-dot[aria-current=true]:after{background:var(--blue)}.voice-position{font-size:12px;color:var(--blue);font-variant-numeric:tabular-nums;min-width:32px}
@media(max-width:900px){.voice-controls{gap:9px}.voice-dot{width:30px}.voice-slideshow .parent-voice-card{padding:22px 16px}.voice-slide img{max-height:none;width:100%}}
/* Slideshow arrows at either side of the image card */
.voice-slideshow{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;column-gap:16px;max-width:978px}.voice-slides{grid-column:2;grid-row:1}.voice-controls{display:contents}.voice-prev{grid-column:1;grid-row:1;align-self:center;justify-self:center}.voice-next{grid-column:3;grid-row:1;align-self:center;justify-self:center}.voice-dots{grid-column:2;grid-row:2;justify-self:center;margin-top:18px;padding-right:48px}.voice-position{grid-column:2;grid-row:2;align-self:center;justify-self:center;transform:translateX(80px);margin-top:18px;pointer-events:none}
@media(max-width:900px){.voice-slideshow{grid-template-columns:36px minmax(0,1fr) 36px;column-gap:6px}.voice-prev,.voice-next{width:36px;height:44px;font-size:18px}.voice-slideshow .parent-voice-card{padding:18px 10px}.voice-slideshow .parent-voice-card h3{font-size:16px}.voice-dots{padding-right:40px}.voice-position{transform:translateX(67px)}}
/* Five main menus with accessible submenus */
#navigation{gap:20px;align-items:center}.nav-item{position:relative}.nav-parent{display:flex;align-items:center}.submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:transparent;color:var(--white);font-size:16px}.submenu-toggle[aria-expanded=true] span{transform:rotate(180deg)}.submenu{position:absolute;top:100%;left:0;min-width:245px;padding:12px 0;background:var(--white);border:1px solid var(--blue);border-radius:0 0 8px 8px;z-index:30}.submenu[hidden]{display:none}.header nav .submenu a{display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--blue);padding:13px 20px;font-size:12px;white-space:nowrap}.header nav .submenu a:hover{background:var(--pale);text-decoration:none}.header nav .submenu a:focus-visible{outline-color:var(--blue);outline-offset:-4px}.submenu a span{font-size:14px}.site-footer .footer-submenu{display:block;padding:7px 0 5px 12px;margin:0}.footer-submenu li{margin:4px 0}.footer-submenu a{font-size:11px}.footer-sitemap>ul>li>a{font-weight:600}.voices-anchor{scroll-margin-top:112px}
@media(max-width:1100px){#navigation{gap:12px}.submenu-toggle{width:26px}.header nav .submenu a{font-size:12px}}
@media(max-width:900px){#navigation{align-items:stretch;gap:0;max-height:calc(100dvh - 80px);overflow-y:auto}.nav-parent{justify-content:space-between}.nav-parent>a{flex:1}.submenu-toggle{width:44px;height:44px}.submenu{position:static;min-width:0;border:0;border-radius:0;background:var(--white);padding:5px 0;margin:0 0 10px}.header nav .submenu a{font-size:13px;padding:12px 18px;white-space:normal}.footer-sitemap>ul{grid-template-columns:1fr 1fr;align-items:start}.site-footer .footer-submenu{display:block}.site-footer .footer-submenu a{font-size:10px}}
/* Align submenu chevrons beside menu labels */
.submenu-toggle{line-height:1;padding:0;margin-left:4px;flex:0 0 24px;width:24px;height:32px;align-self:center}.submenu-toggle span{font-size:0;display:block;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);transform-origin:center}.submenu-toggle[aria-expanded=true] span{transform:translateY(2px) rotate(225deg)}
@media(max-width:1100px){.submenu-toggle{width:22px;flex-basis:22px}}
@media(max-width:900px){.submenu-toggle{width:44px;height:44px;flex-basis:44px;margin-left:0}.submenu-toggle span{width:7px;height:7px}}
/* Keep menu chevrons fixed when submenus open */
.submenu-toggle[aria-expanded=true] span{transform:translateY(-2px) rotate(45deg)}
/* Dedicated subpages and category indexes */
.page-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.page-hub-card{display:block;background:var(--pale);border-radius:8px;padding:30px}.page-hub-card h2{font-size:25px;display:flex;justify-content:space-between;gap:20px}.page-hub-card h2 span{font:400 22px var(--sans);align-self:center}.page-hub-card p{font-size:14px;line-height:2;margin-top:16px}.page-hub-card:hover h2{text-decoration:underline;text-underline-offset:7px}.voice-page-links{padding-top:30px;padding-bottom:10px}.header nav .submenu a[aria-current=page]{background:var(--pale);text-decoration:underline;text-underline-offset:5px}
@media(max-width:900px){.page-hub-grid{grid-template-columns:1fr;gap:18px}.page-hub-card{padding:24px}.page-hub-card h2{font-size:22px}.voice-page-links{gap:12px}.voice-page-links .button{width:100%}}
/* Mobile layout: full-width reading and intentional phrase breaks */
.text-phrase{display:inline}.map-address{font-size:14px;line-height:2;margin:18px 0 24px}.map-frame{border:1px solid var(--pale);border-radius:8px;overflow:hidden;margin:24px 0}.map-frame iframe{display:block;border:0;width:100%;height:420px}
@media(max-width:900px){
 html{scroll-padding-top:76px}body{font-size:15px;line-height:1.95}.wrap{padding-left:20px;padding-right:20px}.section{padding:44px 0}h1,h2,h3{line-break:strict;overflow-wrap:normal;word-break:normal}.text-phrase{display:inline-block;max-width:100%}h2{font-size:24px;line-height:1.65;letter-spacing:.02em}h3{font-size:19px;line-height:1.7}.page-heading h1{font-size:28px;line-height:1.6;letter-spacing:.02em}.page-heading{padding-bottom:30px}.page-heading>.wrap>p:last-child{font-size:14px;line-height:1.95}.breadcrumb{font-size:11px;line-height:2.1;margin-bottom:22px}.breadcrumb span{margin:0 7px}.section-label{font-size:12px;line-height:1.8}.section-label span{font-size:10px}.section-heading{margin-bottom:25px}
 .header{height:76px;padding:0 16px;gap:10px}.header .brand{gap:10px;min-width:0}.header .brand strong{font-size:21px;letter-spacing:.04em}.header .brand small{font-size:6px;letter-spacing:.2em}.header .brand-mark{font-size:21px;padding:3px 6px}.header .header-right{flex-shrink:0}.header #navigation{top:76px;max-height:calc(100dvh - 76px);padding:12px 20px calc(24px + env(safe-area-inset-bottom))}.nav-parent>a{font-size:15px;line-height:1.8;white-space:normal;padding:15px 4px}.header nav .submenu a{font-size:14px;line-height:1.8;padding:14px 16px}.submenu a span{flex-shrink:0}
 .home-page .hero{display:flex;flex-direction:column;overflow:visible;min-height:0;padding-bottom:0}.home-page .hero-copy{order:0;width:100%;padding:32px 20px 0}.home-page .hero h1{max-width:none;font-size:34px;line-height:1.4}.home-page .hero-years{font-size:88px;line-height:1.25;letter-spacing:-.04em}.home-page .hero-years>span{font-size:38px;letter-spacing:0}.home-page .hero h2{max-width:none;font-size:clamp(20px,6vw,26px);line-height:1.7;margin:16px 0 22px;letter-spacing:0}.home-page .hero-description{font-size:14px;line-height:2.05;max-width:none;margin:0 0 24px}.home-page .hero-description br{display:none}.home-page .hero .actions{width:100%;max-width:none}.home-page .hero .button{font-size:14px;padding:14px 20px;min-height:52px}.home-page .hero-photo{position:relative!important;order:1;width:calc(100% - 40px);height:230px;margin:28px 20px;top:auto;right:auto;z-index:auto;flex-shrink:0}.home-page .hero-photo .photo-center{margin:0}.home-page .hero-photo .photo-caption{left:24px;top:22px;font-size:9px}.home-page .hero-photo-note{font-size:17px;right:25px;bottom:25px}.home-page .hero-photo .photo-center small{display:block}
 .trust-strip{grid-template-columns:1fr;padding:10px 20px}.trust-strip>div{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:16px;row-gap:4px;text-align:left;justify-content:initial;align-items:center;padding:20px 0;border-right:0;border-bottom:1px solid var(--white)}.trust-strip>div>span{font-size:12px;grid-column:1;grid-row:1 / span 2;align-self:center}.trust-strip strong{font-size:28px;line-height:1.5;white-space:normal;grid-column:2}.trust-strip strong span{font-size:19px;display:inline-block}.trust-strip small{grid-column:2;font-size:12px;line-height:1.8;margin:0}.home-page .trust-strip .consistent-support strong{font-size:22px;line-height:1.6}.home-page .trust-strip .consistent-support strong span{display:inline-block;font-size:18px;white-space:nowrap}.home-page .trust-strip .consistent-support small{font-size:12px}.trust-strip .trust-message{display:none}.trust-strip>div:nth-child(3){border:0}
 .introduction-copy,.greeting-copy>p:not(.section-label),.message-copy>p:not(.section-label),.detail-body>p,.detail-grid p,.course-grid p:not(.course-lead),.course-grid li{font-size:15px;line-height:2}.home-introduction h2,.greeting-copy h2,.message h2{font-size:24px;line-height:1.7;letter-spacing:.02em}.greeting-layout{gap:25px}.greeting-portrait{min-height:240px}.signature{flex-wrap:wrap;gap:10px}.signature strong{font-size:24px}.style-grid{grid-template-columns:1fr;gap:16px}.style-grid article{padding:24px}.style-grid article:last-child{grid-column:auto}.style-grid h3{font-size:19px}.style-grid p{font-size:15px;line-height:1.95}.style-number{font-size:25px;margin-bottom:10px}#school-support h2{font-size:22px;line-height:1.7}.steps,.steps.three{grid-template-columns:1fr;gap:25px}.steps li{padding-top:16px}.steps h3{font-size:19px;margin:10px 0}.steps p{font-size:15px;line-height:1.95}.steps span{font-size:11px}
 .button{white-space:normal;overflow-wrap:normal;font-size:13px;gap:12px;min-height:52px;padding:13px 20px}.button>span{flex-shrink:0;white-space:nowrap}.section-heading>.button,.detail-body>.button{width:100%}.section-actions{gap:12px}.section-actions>.button{width:100%}.page-hub-card h2{font-size:21px;gap:12px}.page-hub-card h2 span{flex-shrink:0;font-size:20px}.page-hub-card p{font-size:15px}.page-hub-card{padding:24px}.course-grid article{padding:25px}.course-lead{font-size:21px}.recruitment-panel{padding:22px 20px}.recruitment-panel h3{font-size:19px;line-height:1.8}.recruitment-panel>p:not(.section-label){font-size:14px}
 .voice-slideshow{position:relative;display:grid;grid-template-columns:1fr;column-gap:0;max-width:100%;margin-top:26px}.voice-slides{grid-column:1;grid-row:1}.voice-slideshow .parent-voice-card{padding:20px 14px}.voice-slideshow .parent-voice-card h3{font-size:18px;line-height:1.8;margin-bottom:20px}.voice-slide img{width:100%;max-height:none}.voice-prev,.voice-next{position:absolute;grid-column:auto;grid-row:auto;top:50%;transform:translateY(-50%);width:40px;height:44px;z-index:2;background:var(--white)}.voice-prev{left:-14px}.voice-next{right:-14px}.voice-slide a{margin:0 14px}.voice-dots{grid-column:1;grid-row:2;margin-top:14px;padding-right:44px;justify-self:center}.voice-position{grid-column:1;grid-row:2;margin-top:14px;transform:translateX(68px)}.voice-expand{font-size:12px}.parent-voice-card figcaption>span{font-size:12px}.student-voice-grid .parent-voice-card{padding:22px 16px}.student-voice-grid .parent-voice-card h3{font-size:18px;line-height:1.8}
 .access-list>div{grid-template-columns:1fr;gap:4px;padding:14px 0}.access-list dt{font-size:13px}.access-list dd{font-size:14px;line-height:1.95}.access-note,.content-note{font-size:12px;line-height:1.95}.contact h2{font-size:23px;line-height:1.8;letter-spacing:0}.contact>.wrap>p:not(.section-label){font-size:14px}.contact-options .button{font-size:13px}.phone{font-size:32px}.invitation p{font-size:23px;line-height:1.8;letter-spacing:.02em}.invitation small{font-size:13px;line-height:1.9}
 .site-footer-main{gap:32px}.footer-sitemap>ul{grid-template-columns:1fr;gap:22px}.footer-sitemap a{font-size:15px;line-height:1.8}.site-footer .footer-submenu{padding:10px 0 0 16px}.site-footer .footer-submenu a{font-size:14px;display:inline-block;padding:5px 0}.footer-submenu li{margin:0}.footer-label{font-size:14px}.footer-school address,.footer-contact>p:not(.footer-label){font-size:13px;line-height:2}.footer-location{font-size:13px}.footer-contact>small{font-size:12px}.site-footer .button{font-size:13px}.site-footer{padding-bottom:calc(105px + env(safe-area-inset-bottom))}.site-footer-bottom{font-size:11px;gap:16px}.mobile-contact{bottom:calc(12px + env(safe-area-inset-bottom));font-size:14px;min-height:52px;padding:13px 22px}.table-scroll table{font-size:13px}.table-scroll th,.table-scroll td{padding:13px}.map-frame iframe{height:340px}.map-address{font-size:14px}.map-section .button{width:100%}
}
@media(max-width:359px){.header .brand strong{font-size:18px}.header .brand small{font-size:5px}.header .brand-mark{font-size:19px}.header .brand{gap:8px}.home-page .hero h1{font-size:31px}.home-page .hero-years{font-size:78px}.home-page .hero-years>span{font-size:34px}.trust-strip>div{grid-template-columns:88px minmax(0,1fr);column-gap:12px}.home-page .trust-strip .consistent-support strong{font-size:20px}.home-page .trust-strip .consistent-support strong span{font-size:16px}.button{padding-left:16px;padding-right:16px}.page-heading h1{font-size:26px}}
/* White CTA separates page content from the navy footer */
.invitation{background:var(--white);color:var(--blue);border-top:1px solid var(--pale);padding:40px 0}.invitation .button.inverse{background:var(--blue);color:var(--white)}
/* Compact shared footer */
.site-footer{padding-top:40px}.site-footer-main{grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr) minmax(0,1fr);gap:28px}.footer-sitemap>ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 15px;align-items:start}.footer-sitemap>ul>li{min-width:0}.site-footer .footer-submenu{padding:7px 0 0;margin:0}.footer-submenu li{margin:3px 0}.site-footer .footer-submenu a{font-size:11px;line-height:1.8}.footer-sitemap a{font-size:12px;line-height:1.8}.footer-label{margin-bottom:16px}.footer-tagline{font-size:16px;margin:16px 0}.site-footer .brand strong{font-size:24px}.footer-contact .footer-phone{font-size:27px;line-height:1.6}.site-footer-bottom{margin-top:28px;padding-top:18px}.site-footer .button{margin-top:18px}
@media(min-width:901px) and (max-width:1050px){.site-footer-main{grid-template-columns:1fr 1fr;gap:28px 40px}.footer-school{grid-column:1;grid-row:1}.footer-contact{grid-column:2;grid-row:1}.footer-sitemap{grid-column:1 / -1;grid-row:2}.footer-sitemap>ul{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.invitation{padding:32px 0}.invitation p{font-size:22px}.site-footer{padding-top:32px;padding-bottom:calc(98px + env(safe-area-inset-bottom))}.site-footer-main{grid-template-columns:1fr;gap:26px}.footer-tagline{display:none}.footer-school address{margin-top:16px}.footer-sitemap>ul{grid-template-columns:1fr 1fr;gap:12px 18px}.site-footer .footer-submenu{display:none}.footer-sitemap a{display:block;font-size:14px;line-height:1.8;padding:4px 0}.footer-sitemap .footer-label{margin-bottom:10px}.footer-contact>.footer-label,.footer-contact>p:not(.footer-label){display:none}.footer-contact .footer-phone{font-size:29px;margin-top:0}.site-footer .button{margin-top:14px}.site-footer-bottom{margin-top:24px;font-size:10px;gap:12px}.site-footer-bottom>a:last-child{width:auto;margin-left:auto}}
/* Shorter menu groups and readable mobile sentence lengths */
@media(min-width:1051px){.footer-sitemap>ul>li:nth-child(1){grid-column:1;grid-row:1}.footer-sitemap>ul>li:nth-child(2){grid-column:1;grid-row:2}.footer-sitemap>ul>li:nth-child(3){grid-column:2;grid-row:2}.footer-sitemap>ul>li:nth-child(4){grid-column:3;grid-row:2}.footer-sitemap>ul>li:nth-child(5){grid-column:2 / 4;grid-row:1}.footer-sitemap>ul{row-gap:16px}}
@media(max-width:900px){.hero-sentence{display:block}.hero-sentence+.hero-sentence{margin-top:8px}.hero-description,.introduction-copy p,.detail-body>p{text-wrap:pretty}.footer-contact>.button{display:none}.footer-sitemap>ul{gap:8px 18px}}

/* Compact inner-page title bands */
.page-heading{padding:16px 0 26px}.page-heading .breadcrumb{margin-bottom:16px;line-height:1.8}.page-heading .section-label{margin-bottom:8px}.page-heading h1{font-size:36px;line-height:1.4;margin-bottom:10px}.page-heading>.wrap>p:last-child{line-height:1.8}
@media(max-width:900px){.page-heading{padding:12px 0 22px}.page-heading .breadcrumb{margin-bottom:12px;font-size:10px;line-height:1.9}.page-heading .section-label{margin-bottom:6px}.page-heading h1{font-size:27px;line-height:1.45;margin-bottom:10px}.page-heading>.wrap>p:last-child{font-size:13px;line-height:1.8}}
@media(max-width:359px){.page-heading h1{font-size:25px}}
/* Grade course pages and the admissions menu */
.grade-description>p{font-size:15px;line-height:2;margin:20px 0}.grade-description .section-label{margin-top:22px}#navigation{gap:14px}
@media(min-width:1051px){.site-footer-main{grid-template-columns:minmax(0,.85fr) minmax(0,1.9fr) minmax(0,1fr)}.footer-sitemap>ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px}.footer-sitemap>ul>li:nth-child(1){grid-column:1;grid-row:1}.footer-sitemap>ul>li:nth-child(2){grid-column:1;grid-row:2}.footer-sitemap>ul>li:nth-child(3){grid-column:2;grid-row:2}.footer-sitemap>ul>li:nth-child(4){grid-column:3;grid-row:2}.footer-sitemap>ul>li:nth-child(5){grid-column:4;grid-row:2}.footer-sitemap>ul>li:nth-child(6){grid-column:4;grid-row:1}.site-footer .brand strong{font-size:22px}}
@media(min-width:901px) and (max-width:1050px){.footer-sitemap>ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){#navigation{gap:0}.grade-description>p{font-size:15px}}
/* Grade course feature blocks */
.grade-feature{padding:24px;background:var(--pale);border-radius:8px}.pale .grade-feature{background:var(--white)}.grade-feature h3{font-size:19px}.grade-feature p{font-size:14px;line-height:2;margin-top:12px}.grade-feature .style-number{margin-bottom:12px}
@media(max-width:900px){.grade-feature{padding:22px}.grade-feature p{font-size:15px}.grade-feature h3{font-size:19px}}
/* November mobile refinement: calm type and contact in the header */
.mobile-header-contact,.mobile-strengths{display:none}.home-page .hero-tagline{white-space:nowrap}.hero-photo-note{display:none}
@media(max-width:900px){
 html{scroll-padding-top:68px}.header{height:68px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px;padding:0 16px}.header .brand{gap:0;overflow:hidden}.header .brand-mark{display:none}.header .brand strong{font-size:18px;white-space:nowrap;letter-spacing:.02em}.header .brand small{font-size:5.5px;letter-spacing:.16em;white-space:nowrap}.header .header-right{align-self:stretch;justify-content:center}.mobile-header-contact{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid var(--white);border-radius:5px;background:var(--white);color:var(--blue);font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap}.header #navigation{top:68px;max-height:calc(100dvh - 68px)}.header .menu-toggle{width:40px;height:44px}.mobile-header-contact:focus-visible{outline-offset:3px}
 .home-page .hero-copy{padding-top:28px}.home-page .hero h1{font-size:clamp(26px,7.2vw,34px);line-height:1.5;letter-spacing:.02em;max-width:none;white-space:nowrap}.home-page .hero h1>br{display:none}.home-page .hero-years{font-size:1.15em;line-height:inherit;letter-spacing:-.03em}.home-page .hero-years>span{font-size:.8em;letter-spacing:0}.home-page .hero .hero-tagline{font-size:clamp(15px,4.45vw,21px);letter-spacing:0;line-height:1.65;margin:14px 0 22px;white-space:nowrap}.home-page .hero-description{font-size:14px;line-height:2}.home-page .hero-photo{height:210px;margin-top:24px;margin-bottom:24px}
 .home-page .trust-strip{display:none}.mobile-strengths{display:block;background:var(--pale);padding:24px 0}.mobile-strengths .wrap{display:grid;gap:12px}.mobile-strengths article{display:flex;align-items:flex-start;gap:13px;background:var(--white);padding:18px 16px;border-radius:6px}.strength-index{font:500 13px/1.8 var(--sans);color:var(--blue);padding-top:2px;flex-shrink:0}.mobile-strengths h3{font:600 clamp(15px,4.25vw,18px)/1.7 var(--sans);letter-spacing:0;white-space:nowrap}.mobile-strengths p{font-size:12px;line-height:1.85;margin-top:5px;letter-spacing:0}
 .section-label span{display:inline-block;margin:0 0 0 10px;font-size:9px;letter-spacing:.12em}.recruitment-panel .section-label span{display:block;margin:6px 0 0}.section-label{line-height:1.8}.home-introduction h2,.greeting-copy h2,.message h2{font-size:22px}.section-heading>.button{font-size:12px;gap:10px}.page-heading h1{font-size:25px;line-height:1.5}.page-hub-card h2{font-size:20px}.parent-voice-card h3,.voice-slideshow .parent-voice-card h3{font-size:17px;line-height:1.7}.site-footer{padding-bottom:26px}.site-footer .footer-contact>.button{display:inline-flex}.site-footer-bottom{margin-top:22px}.button{font-size:13px}
}
@media(max-width:359px){.header{padding:0 12px;column-gap:7px}.header .brand strong{font-size:16px}.header .brand small{font-size:5px;letter-spacing:.1em}.mobile-header-contact{font-size:11px;padding:8px 9px}.header .menu-toggle{width:36px}.mobile-strengths article{padding:16px 12px;gap:9px}.mobile-strengths h3{font-size:14px}.mobile-strengths p{font-size:11px}.home-page .hero .hero-tagline{font-size:15px}.home-introduction h2,.greeting-copy h2,.message h2{font-size:21px}}
/* Mobile reading rhythm: consistent body size, line height and spacing */
@media(max-width:900px){
 body{font-size:16px;line-height:1.9;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 main p,main li,main dd{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty;letter-spacing:.01em}
 .home-page .hero-description,.introduction-copy,.greeting-copy>p:not(.section-label),.message-copy>p:not(.section-label),.detail-body>p,.detail-grid p,.grade-feature p,.grade-description>p,.course-grid p:not(.course-lead),.course-grid li,.style-grid p,.steps p,.page-hub-card p,.contact>.wrap>p:not(.section-label),.access-list dd{font-size:16px;line-height:1.9}
 .page-heading>.wrap>p:last-child,.recruitment-panel>p:not(.section-label),.mobile-strengths p,.results-placeholder p,.voice-placeholder p,.map-address{font-size:14px;line-height:1.85}
 .content-note,.access-note,.detail-panel p,.fee-details>div{font-size:14px;line-height:1.9}
 .section-label{font-size:12px;line-height:1.8;letter-spacing:.04em}.section-label span{font-size:10px;letter-spacing:.08em}.tag{font-size:12px;line-height:1.6}
 .introduction-copy p+p{margin-top:16px}.greeting-copy>p:not(.section-label),.message-copy>p:not(.section-label){margin-top:18px}.hero-sentence+.hero-sentence{margin-top:12px}.detail-body>p,.grade-description>p{margin:18px 0}
 .course-grid article,.grade-feature,.detail-panel,.recruitment-panel{padding:22px 18px}.course-grid h3{font-size:26px}.detail-grid{gap:20px}.grade-feature h3,.style-grid h3,.steps h3{font-size:19px;line-height:1.65;margin-bottom:10px}
 .page-hub-card{padding:22px 18px}.page-hub-card h2{font-size:20px;line-height:1.6}.page-hub-card p{margin-top:12px}.page-heading h1{line-height:1.45}.page-heading{padding-top:18px;padding-bottom:22px}
 .section{padding:38px 0}.section-heading{margin-bottom:24px}.home-introduction h2,.greeting-copy h2,.message h2{line-height:1.65;letter-spacing:.01em}
 .button,.home-page .hero .button,.section-heading>.button,.contact-options .button{font-size:14px;line-height:1.6;min-height:50px;padding:13px 18px;gap:10px}
 .signature small,.contact-options small{font-size:12px;line-height:1.7}.parent-voice-card figcaption>span,.voice-expand,.voice-position{font-size:13px}.parent-voice-card h3,.voice-slideshow .parent-voice-card h3{font-size:18px;line-height:1.7;letter-spacing:0}
 .voice-slideshow .parent-voice-card{padding:20px 12px}.voice-slide a{margin:0 8px}.voice-prev{left:-16px}.voice-next{right:-16px}.voice-controls button{touch-action:manipulation}
 .table-scroll table{font-size:14px;line-height:1.8}.table-scroll caption{font-size:14px;padding:14px 16px}.table-scroll th,.table-scroll td{padding:12px 14px}.access-list dt{font-size:14px;margin-bottom:3px}.access-list>div{padding:16px 0}
 .nav-parent>a,.header nav .submenu a{font-size:15px;line-height:1.8}.footer-sitemap a{font-size:14px}.footer-school address,.footer-contact>small{font-size:13px;line-height:1.9}.site-footer-bottom{font-size:12px;line-height:1.8}.site-footer .button{font-size:14px}
}
/* Mobile hero inspired by the supplied photo-first reference */
.mobile-hero-image,.mobile-hero-image-label,.mobile-hero-divider{display:none}
@media(max-width:900px){
 .home-page .hero{display:flex;flex-direction:column;background:var(--white)}.home-page .hero-photo{order:0;width:100%;height:auto;aspect-ratio:1.45;margin:0;outline:none;background:var(--pale);overflow:hidden}.home-page .hero-photo>.photo-caption,.home-page .hero-photo>.photo-center{display:none}.mobile-hero-image{display:block;width:100%;height:100%;object-fit:cover;object-position:65% 38%}.mobile-hero-image-label{display:block;position:absolute;top:10px;right:12px;background:var(--white);color:var(--blue);font-size:10px;padding:2px 8px;border-radius:3px}.home-page .hero-photo:after{content:'';position:absolute;inset:auto auto -1px -10%;width:120%;height:34px;border:0;background:var(--white);border-radius:55% 55% 0 0 / 100% 100% 0 0;transform:rotate(-3deg)}
 .home-page .hero-copy{order:1;display:flex;flex-direction:column;align-items:center;width:100%;padding:12px 20px 28px;text-align:center}.home-page .hero .hero-tagline{order:0;margin:0 0 10px;font-size:clamp(17px,5.15vw,26px);font-weight:600;line-height:1.65;letter-spacing:0;white-space:nowrap}.home-page .hero h1{order:1;font-size:clamp(22px,6vw,30px);font-weight:600;line-height:1.6;letter-spacing:.02em;margin:0}.home-page .hero-years{font-size:1.16em}.home-page .hero-years>span{font-size:.78em}.home-page .hero h1>br{display:none}
 .mobile-hero-divider{order:2;display:flex;align-items:center;justify-content:center;gap:16px;width:72%;margin:15px auto;color:var(--blue);opacity:.45}.mobile-hero-divider>span{height:1px;background:var(--blue);flex:1}.mobile-hero-divider svg{width:25px;height:23px;flex-shrink:0}.home-page .hero-description{order:3;font-size:14px;line-height:1.85;letter-spacing:0;margin:0 0 23px;max-width:38em}.home-page .hero-sentence{display:block}.home-page .hero-sentence+.hero-sentence{margin-top:8px}.home-page .hero .actions{order:4;display:flex;flex-direction:column;gap:11px;width:100%;max-width:440px!important}.home-page .hero .button{font-size:16px;font-weight:700;min-height:52px;padding:13px 22px;justify-content:center}.home-page .hero .button span{position:absolute;right:20px}.home-page .hero .button{position:relative;padding-left:36px;padding-right:36px}
}
@media(max-width:359px){.home-page .hero-copy{padding-left:16px;padding-right:16px}.home-page .hero .hero-tagline{font-size:17px}.home-page .hero h1{font-size:22px}.home-page .hero-description{font-size:14px}.home-page .hero .button{font-size:15px}}
/* Filled buttons and stronger page-specific calls to action */
:root{--button-secondary:#3973A4}
.button,.button.outline,.button.inverse{background:var(--blue);border-color:var(--blue);color:var(--white);font-weight:600;box-shadow:0 3px 0 var(--pale)}
.button.secondary,.button.outline.secondary{background:var(--button-secondary);border-color:var(--button-secondary);color:var(--white)}
.button:hover,.button.outline:hover,.button.inverse:hover{box-shadow:0 5px 0 var(--pale)}
.header .button.small{background:var(--button-secondary);border-color:var(--button-secondary);color:var(--white);box-shadow:none}
.mobile-header-contact{background:var(--button-secondary);border-color:var(--button-secondary);color:var(--white)}
.site-footer .button{background:var(--button-secondary);border-color:var(--white);color:var(--white);box-shadow:none}
.page-cta{background:var(--pale);border-top:0;padding:36px 0}.page-cta>.wrap{display:flex;justify-content:space-between;align-items:center;gap:36px;border-left:5px solid var(--blue);padding-top:12px;padding-bottom:12px}.cta-copy{flex:1;min-width:0}.cta-eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--blue);margin-bottom:10px}.page-cta h2{font-size:clamp(23px,2.3vw,31px);line-height:1.6;letter-spacing:.02em}.page-cta .cta-copy>p{font:400 14px/1.9 var(--sans);color:var(--ink);margin-top:12px;letter-spacing:0}.page-cta>.wrap>.button{flex-shrink:0;min-width:245px;padding-top:16px;padding-bottom:16px;font-size:14px}
.contact.section{background:var(--pale)}.contact-options{background:var(--white);padding:30px 22px;border-radius:12px}
.hero-opening-part{display:inline}.hero-opening wbr{display:none}
@media(max-width:900px){.home-page .hero-description{text-align:left;font-size:16px;line-height:1.9;width:100%;max-width:40em;margin-bottom:24px}.home-page .hero-opening-part{display:block;font-weight:500;line-height:1.8;white-space:nowrap;letter-spacing:0}.home-page .hero-opening{margin-bottom:16px}.home-page .hero-sentence+.hero-sentence{margin-top:14px}.page-cta{padding:30px 20px}.page-cta>.wrap{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:6px 0 6px 18px;margin:0;border-left-width:4px}.page-cta h2{font-size:23px;line-height:1.65}.page-cta .cta-copy>p{font-size:15px;line-height:1.9}.page-cta>.wrap>.button{min-width:0;width:100%;font-size:14px;gap:12px;padding:14px 16px;min-height:54px}.cta-eyebrow{font-size:12px}.contact-options{padding:25px 16px}.site-footer .button{font-size:14px}}
@media(max-width:359px){.home-page .hero-opening-part{font-size:15px}.page-cta h2{font-size:21px}.page-cta>.wrap{padding-left:14px}}

/* Footer navigation: four clearly separated groups */
@media(min-width:901px){
 .site-footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 48px;align-items:start}
 .footer-school{grid-column:1;grid-row:1}.footer-contact{grid-column:2;grid-row:1;justify-self:end;width:100%;max-width:390px}
 .footer-sitemap{grid-column:1 / -1;grid-row:2;border-top:1px solid #ffffff30;padding-top:24px}
 .footer-sitemap>.footer-label{display:none}.footer-sitemap>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
 .footer-sitemap>ul>li:nth-child(n){grid-column:auto;grid-row:auto;min-width:0;border-left:1px solid #ffffff30;padding-left:20px}
 .footer-sitemap>ul>li>a{font-size:15px;font-weight:700;line-height:1.8}
 .site-footer .footer-submenu{padding:10px 0 0;margin:0}.footer-submenu li{margin:0}.site-footer .footer-submenu a{display:inline-block;font-size:13px;line-height:1.8;padding:5px 0}
 .footer-contact>.footer-label{margin-bottom:8px}.footer-contact>p:not(.footer-label){font-size:13px}.footer-contact .footer-phone{font-size:28px;margin-top:6px}.footer-contact .button{margin-top:12px}
 .footer-tagline{font-size:15px;margin:12px 0}.footer-school address{font-size:13px;line-height:1.9}.footer-location{display:inline-block;margin-top:10px}
}
.site-footer-bottom{flex-wrap:wrap;gap:12px 22px}.site-footer-bottom a:hover,.footer-sitemap a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){.footer-sitemap>.footer-label{display:none}.footer-sitemap{border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30;padding:14px 0}.footer-sitemap>ul{grid-template-columns:1fr 1fr;gap:10px 18px;margin:0}.footer-sitemap>ul>li:nth-child(n){grid-column:auto;grid-row:auto}.footer-sitemap>ul>li>a{font-size:14px;padding:8px 0}.site-footer-bottom{gap:12px 18px}.site-footer-bottom>a:last-child{margin-left:0}}

.privacy-policy{max-width:980px}.privacy-policy .policy-intro{font-size:16px;line-height:2}.privacy-policy>section{margin-top:30px}.privacy-policy h2{font:700 20px/1.7 var(--sans);margin-bottom:12px;letter-spacing:0}.privacy-policy p,.privacy-policy li,.privacy-policy address{font-size:15px;line-height:2}.privacy-policy p+p{margin-top:12px}.privacy-policy ul{padding-left:1.4em;margin:8px 0 12px}.privacy-policy address{font-style:normal}.policy-link{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}@media(max-width:900px){.privacy-policy h2{font-size:18px}.privacy-policy p,.privacy-policy li,.privacy-policy address{font-size:15px;line-height:1.95}}
.form-privacy-note{max-width:760px;margin:24px auto 0;font-size:13px;line-height:1.9;text-align:left}.contact-options small{max-width:100%}

.course-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:24px 0;color:var(--blue)}.course-facts>div{padding:14px 0;border-bottom:1px solid #123b7026;min-width:0}.course-facts dt{font-size:12px;font-weight:700;line-height:1.7;margin-bottom:5px}.course-facts dd{margin:0;font-size:16px;line-height:1.8;overflow-wrap:anywhere}.pale .course-facts>div{border-bottom-color:#123b7026}.grade-feature h3+p{margin-top:12px}@media(max-width:900px){.course-facts{grid-template-columns:1fr;gap:0;margin:20px 0}.course-facts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:13px 0}.course-facts dt{font-size:13px;margin:0;padding-top:2px}.course-facts dd{font-size:15px;line-height:1.9}.grade-feature h3{font-size:19px;line-height:1.7}}

/* Elementary course: illustrated introduction and course navigation */
.elementary-icon-defs{position:absolute;width:0;height:0;overflow:hidden}.elementary-intro{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#eef8ff 0%,#fff 30%,#fff 70%,#f2f7fb 100%);padding:38px 0 70px;color:var(--blue)}.elementary-intro:before{content:'';position:absolute;z-index:-1;width:75%;height:270px;right:-12%;top:-195px;transform:rotate(12deg);background:#e3f2fb;border-radius:50%;opacity:.7}.elementary-intro:after{content:'';position:absolute;z-index:-1;width:90%;height:240px;left:-35%;top:-202px;transform:rotate(-12deg);background:#e3f2fb;border-radius:50%;opacity:.55}.elementary-intro-wrap{position:relative;z-index:1;max-width:1380px;padding:0 38px;margin:auto}.elementary-hero-grid{display:grid;grid-template-columns:1.06fr 1fr;gap:30px;align-items:center}.elementary-ribbon{display:inline-flex;align-items:center;gap:14px;padding:8px 29px 8px 15px;min-height:50px;background:var(--blue);color:var(--white);clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%);border-radius:4px;font-size:17px;font-weight:700;line-height:1.5;letter-spacing:.12em}.elementary-ribbon svg{width:40px;height:40px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.ribbon-divider{padding:0 6px}.elementary-hero-copy h1{font:700 clamp(31px,3.3vw,47px)/1.5 var(--serif);letter-spacing:.03em;margin:22px 0 20px;color:var(--blue)}.elementary-title-line{display:block;white-space:nowrap}.elementary-title-line em{position:relative;font-style:normal;isolation:isolate}.elementary-title-line em:after{content:'';position:absolute;z-index:-1;height:9px;bottom:3px;left:-3px;right:-5px;background:#fff1a6;transform:rotate(-2deg);border-radius:50% 35% 40% 30%}.elementary-lead{font-size:15px;font-weight:500;line-height:1.95;max-width:620px;color:var(--ink)}.elementary-values{list-style:none;padding:0;margin:25px 0 0;display:flex;gap:10px;align-items:center}.elementary-values li{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border-radius:40px;background:#e6f4fd;padding:10px 16px;font-size:15px;font-weight:700;line-height:1.5}.elementary-values svg{width:27px;height:27px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.elementary-hero-visual{min-width:0;display:flex;flex-direction:column;align-items:center}.elementary-students{width:100%;height:auto;aspect-ratio:1.8;object-fit:contain;display:block;max-height:290px}.elementary-growth{width:100%;margin-top:-8px}.elementary-growth-line{display:block;width:100%;height:auto}.elementary-growth ol{list-style:none;padding:0;margin:-3px 0 0;display:grid;grid-template-columns:repeat(4,1fr);font-size:13px;font-weight:700;line-height:1.6;text-align:center}.elementary-growth li{padding:0 3px}.elementary-course-heading{display:flex;align-items:center;justify-content:center;gap:26px;margin:40px auto 22px;max-width:1100px}.elementary-course-heading>span{height:1px;flex:1;background:#123b7080}.elementary-course-heading h2{font:700 27px/1.5 var(--serif);white-space:nowrap;letter-spacing:.04em}.elementary-course-heading strong{font-family:var(--sans);color:#3973a4;font-size:40px;line-height:1;padding:0 3px;vertical-align:baseline}.elementary-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.elementary-course-card{position:relative;display:grid;grid-template-columns:74px minmax(0,1fr);align-items:start;gap:17px;min-width:0;padding:25px 23px 39px;border:1px solid #bccfdf;border-radius:15px;background:#ffffffed;box-shadow:0 3px 8px #123b7006;transition:border-color .2s,box-shadow .2s}.elementary-course-card:hover{border-color:var(--blue);box-shadow:0 5px 18px #123b7015}.elementary-course-icon{display:flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:50%;background:#e6f4fd}.elementary-course-icon svg{width:46px;height:46px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.elementary-course-card h3{font:700 clamp(20px,1.8vw,25px)/1.5 var(--serif);margin:0 0 12px;white-space:nowrap;letter-spacing:.015em}.elementary-course-card p{font-size:13px;line-height:1.9;color:var(--ink)}.elementary-card-arrow{position:absolute;bottom:12px;right:17px;display:flex;align-items:center;justify-content:center;width:34px;height:25px;border-radius:20px;background:#e6f4fd;color:var(--blue);font-size:20px;line-height:1}.elementary-wave{position:absolute;left:0;bottom:-1px;width:100%;height:90px;z-index:0;pointer-events:none}.elementary-page #individual{padding-top:48px}
@media(min-width:901px) and (max-width:1150px){.elementary-intro-wrap{padding:0 28px}.elementary-hero-grid{gap:20px;grid-template-columns:1.05fr 1fr}.elementary-hero-copy h1{font-size:34px}.elementary-ribbon{font-size:14px}.elementary-values{gap:7px}.elementary-values li{padding:9px 10px;font-size:12px;gap:6px}.elementary-values svg{width:23px;height:23px}.elementary-course-card{grid-template-columns:52px minmax(0,1fr);gap:12px;padding:20px 16px 40px}.elementary-course-icon{width:52px;height:52px}.elementary-course-icon svg{width:34px;height:34px}.elementary-course-card h3{font-size:20px}.elementary-lead{font-size:14px}.elementary-desktop-break{display:none}}
@media(max-width:900px){.elementary-intro{padding:26px 0 48px}.elementary-intro-wrap{padding:0 22px;max-width:650px}.elementary-hero-grid{grid-template-columns:1fr;gap:18px}.elementary-ribbon{min-height:40px;font-size:13px;letter-spacing:.1em;padding:5px 21px 5px 10px;gap:9px}.elementary-ribbon svg{width:30px;height:30px}.elementary-hero-copy h1{font-size:clamp(22px,6.6vw,34px);line-height:1.6;letter-spacing:.015em;margin:20px 0 16px}.elementary-title-line em:after{height:7px;bottom:1px}.elementary-lead{font-size:15px;line-height:1.95;font-weight:400}.elementary-desktop-break{display:none}.elementary-values{gap:7px;margin-top:20px;justify-content:space-between}.elementary-values li{flex:1;padding:9px 7px;font-size:12px;gap:5px}.elementary-values svg{width:23px;height:23px;flex-shrink:0}.elementary-hero-visual{max-width:520px;width:100%;margin:auto}.elementary-students{aspect-ratio:1.95;max-height:250px}.elementary-growth{margin-top:-8px}.elementary-growth ol{font-size:11px;line-height:1.6;margin-top:-4px}.elementary-course-heading{gap:14px;margin:30px 0 20px}.elementary-course-heading h2{font-size:22px;letter-spacing:0}.elementary-course-heading strong{font-size:32px}.elementary-course-grid{grid-template-columns:1fr;gap:14px}.elementary-course-card{grid-template-columns:62px minmax(0,1fr);padding:20px 19px 33px;gap:16px;border-radius:12px}.elementary-course-icon{width:62px;height:62px}.elementary-course-icon svg{width:39px;height:39px}.elementary-course-card h3{font-size:22px;margin-bottom:9px;letter-spacing:0}.elementary-course-card p{font-size:14px;line-height:1.9}.elementary-wave{height:55px}.elementary-page #individual{padding-top:36px}}
@media(max-width:359px){.elementary-intro-wrap{padding:0 18px}.elementary-values{gap:5px}.elementary-values li{font-size:10px;padding:8px 5px;gap:4px}.elementary-values svg{width:19px;height:19px}.elementary-course-heading h2{font-size:20px}.elementary-course-card{grid-template-columns:48px minmax(0,1fr);padding:19px 15px 33px;gap:12px}.elementary-course-icon{width:48px;height:48px}.elementary-course-icon svg{width:32px;height:32px}.elementary-course-card h3{font-size:20px}.elementary-growth ol{font-size:10px}}

/* Elementary individual lessons: progression and subject choices */
.elementary-individual{position:relative;isolation:isolate;overflow:hidden;padding:36px 0 65px;background:linear-gradient(165deg,#f2f7fb,#fff 35%,#f2f7fb);color:var(--blue);scroll-margin-top:112px}.lesson-section-heading{text-align:center;margin:0 auto 34px;max-width:1160px}.lesson-section-label{display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:14px}.lesson-section-label p{font-size:17px;line-height:1.4;font-weight:700;border:1.5px solid var(--blue);border-radius:40px;background:#edf7fe;padding:8px 29px}.lesson-rays{width:35px;height:32px}.lesson-rays:last-child{transform:scaleX(-1)}.lesson-section-heading h2{font:700 clamp(30px,3.25vw,45px)/1.6 var(--serif);letter-spacing:.015em;margin:0 0 16px}.lesson-section-heading em,.lesson-subject-copy em{position:relative;font-style:normal;isolation:isolate}.lesson-section-heading em:after,.lesson-subject-copy em:after{content:'';position:absolute;z-index:-1;left:0;right:0;bottom:0;height:7px;background:#fff1a6;border-radius:50%;transform:rotate(-1deg)}.lesson-section-heading>p{font-size:14px;line-height:1.95;color:var(--ink)}.lesson-comparison{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:16px;align-items:stretch;margin-bottom:28px}.lesson-option{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;align-items:center;border:1.5px solid #bed4e8;border-radius:24px;background:#ffffffdf;padding:25px 22px;min-width:0}.lesson-option-80{grid-template-columns:minmax(0,1fr) 130px}.lesson-option-copy{min-width:0}.lesson-option h3{display:flex;align-items:center;justify-content:center;gap:5px;border-radius:40px;background:#e6f4fd;white-space:nowrap;font:700 clamp(18px,1.8vw,25px)/1.6 var(--serif);letter-spacing:0;margin:0 0 15px;padding:2px 12px 2px 0}.lesson-clock{width:40px;height:40px;flex-shrink:0}.lesson-heading-divider{font-size:.85em;font-weight:400;padding:0 3px}.lesson-option p{font-size:14px;line-height:2;color:var(--ink)}.lesson-character{position:relative;width:130px;height:160px;overflow:hidden;align-self:end}.lesson-character img{position:absolute;top:-25%;left:-20%;width:240%;height:auto;max-width:none}.lesson-character-girl img{left:-110%}.lesson-step-arrow{align-self:center}.lesson-step-arrow svg{display:block;width:100%;height:auto}.lesson-subject-panel{display:grid;grid-template-columns:95px minmax(0,1.8fr) minmax(130px,.8fr) minmax(180px,1fr);align-items:center;gap:24px;padding:25px;border:1.5px solid #bed4e8;border-radius:23px;background:#ffffffdf}.lesson-stack{padding-right:20px;border-right:1px solid #bed4e8}.lesson-stack svg{display:block;width:75px;height:75px;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.lesson-subject-copy h3{font:700 clamp(21px,2.1vw,28px)/1.7 var(--serif);margin-bottom:13px;letter-spacing:0}.lesson-subject-copy p{font-size:13px;line-height:2;color:var(--ink)}.lesson-subject-books svg{display:block;width:100%;height:auto}.lesson-subject-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;margin:0;padding:0 0 0 20px;border-left:1px solid #bed4e8}.lesson-subject-list li{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border-radius:30px;background:#e6f4fd;padding:7px 12px;font-size:15px;line-height:1.5;font-weight:700}.lesson-subject-list li:last-child{grid-column:1/-1;justify-self:center}.lesson-subject-list svg{width:24px;height:24px;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.lesson-bottom-wave{position:absolute;z-index:-1;left:0;bottom:-1px;width:100%;height:60px;pointer-events:none}
@media(min-width:901px) and (max-width:1150px){.lesson-option{grid-template-columns:100px minmax(0,1fr);gap:10px;padding:22px 15px}.lesson-option-80{grid-template-columns:minmax(0,1fr) 100px}.lesson-character{width:100px;height:145px}.lesson-option h3{font-size:18px;padding-right:7px}.lesson-clock{width:30px;height:30px}.lesson-option p{font-size:13px}.lesson-comparison{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr);gap:10px}.lesson-subject-panel{grid-template-columns:75px minmax(0,1fr) 210px;gap:20px}.lesson-subject-books{display:none}.lesson-stack svg{width:60px;height:60px}.lesson-subject-list{padding-left:15px}.lesson-subject-list li{font-size:13px;padding:7px 9px}}
@media(max-width:900px){.elementary-individual{padding:30px 0 45px;scroll-margin-top:68px}.lesson-section-heading{margin-bottom:24px}.lesson-section-label{gap:10px;margin-bottom:14px}.lesson-section-label p{font-size:15px;padding:7px 25px}.lesson-rays{width:27px;height:27px}.lesson-section-heading h2{font-size:clamp(23px,5.8vw,30px);line-height:1.75;margin-bottom:16px;letter-spacing:0}.lesson-section-heading h2 .text-phrase{display:inline-block}.lesson-section-heading>p{text-align:left;font-size:15px;line-height:1.95}.lesson-comparison{grid-template-columns:1fr;gap:10px;margin-bottom:20px}.lesson-option,.lesson-option-80{grid-template-columns:90px minmax(0,1fr);gap:14px;padding:20px 17px;border-radius:18px}.lesson-option-copy{display:contents}.lesson-option h3{grid-column:1/-1;grid-row:1;font-size:clamp(18px,5vw,23px);margin:0 0 3px;padding:4px 9px 4px 0;gap:4px}.lesson-clock{width:34px;height:34px}.lesson-character,.lesson-character-girl{grid-column:1;grid-row:2;width:90px;height:130px;align-self:end}.lesson-option p{grid-column:2;grid-row:2;font-size:14px;line-height:1.95}.lesson-step-arrow{width:35px;height:40px;justify-self:center;overflow:hidden;transform:rotate(25deg)}.lesson-step-arrow svg{margin-top:-4px}.lesson-subject-panel{grid-template-columns:1fr;padding:23px 19px;border-radius:18px;gap:20px}.lesson-stack,.lesson-subject-books{display:none}.lesson-subject-copy h3{font-size:23px;line-height:1.8;text-align:center;margin-bottom:15px}.lesson-subject-copy p{font-size:15px;line-height:1.95}.lesson-subject-list{padding:18px 0 0;border-left:0;border-top:1px solid #bed4e8;gap:10px;max-width:350px;width:100%;justify-self:center}.lesson-subject-list li{font-size:15px;padding:8px 15px}.lesson-subject-list li:last-child{min-width:45%}.lesson-bottom-wave{height:40px}}
@media(max-width:359px){.lesson-option,.lesson-option-80{grid-template-columns:70px minmax(0,1fr);padding:18px 13px;gap:11px}.lesson-character,.lesson-character-girl{width:70px;height:110px}.lesson-option h3{font-size:17px;gap:0}.lesson-clock{width:29px;height:29px}.lesson-heading-divider{padding:0 2px}.lesson-option p{font-size:14px}.lesson-subject-panel{padding:20px 16px}.lesson-subject-copy h3{font-size:21px}.lesson-subject-list li{padding:8px 11px}}
.lesson-character-boy img{width:260%;left:-25%}@media(max-width:900px){.elementary-growth ol{font-size:10px}.elementary-growth li{padding:0}}

/* Matching illustrated special courses */
.lesson-option h3{flex-wrap:wrap;padding:7px 12px;gap:2px 6px;white-space:normal}.lesson-option h3>span{display:flex;flex-direction:column;align-items:center}.lesson-stage{display:block;font:600 13px/1.6 var(--sans);white-space:normal;text-align:center;max-width:100%}.elementary-special{position:relative;isolation:isolate;overflow:hidden;padding:48px 0 70px;background:linear-gradient(155deg,#f2f7fb,#fff 45%,#f2f7fb);scroll-margin-top:112px}.elementary-special-ikunou{background:linear-gradient(165deg,#f2f7fb,#fff 35%,#f2f7fb)}.elementary-special .lesson-section-heading{margin-bottom:26px}.special-overview{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.7fr);gap:45px;align-items:center;border:1.5px solid #bed4e8;border-radius:24px;background:#ffffffdc;padding:30px 35px}.special-illustration{min-width:0;display:flex;justify-content:center;align-items:center}.special-illustration>svg{display:block;width:100%;max-width:360px;height:auto}.special-overview .course-facts{margin:0 0 20px}.special-description p{font-size:15px;line-height:2;color:var(--ink)}.special-description p+p{margin-top:12px}.special-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.special-feature{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:start;padding:23px 20px;border:1px solid #bed4e8;border-radius:17px;background:#ffffffdc}.special-feature-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;background:#e6f4fd;border-radius:50%;color:var(--blue)}.special-feature-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.special-feature h3{font:700 21px/1.7 var(--serif);margin-bottom:9px}.special-feature p{font-size:14px;line-height:1.95;color:var(--ink)}.special-brain-orbit{position:relative;width:310px;height:270px;max-width:100%;margin:auto}.special-main-icon{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);width:180px;height:180px;border-radius:50%;background:#e6f4fd;box-shadow:0 0 0 15px #f2f7fb}.special-main-icon svg{width:120px;height:120px;stroke:var(--blue);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.special-orbit-subject{position:absolute;display:flex;align-items:center;justify-content:center;gap:7px;background:#fff8d2;border:1px solid #ebdf9b;border-radius:30px;padding:9px 16px;color:var(--blue);font-size:16px;font-weight:700;line-height:1.5}.special-orbit-subject svg{width:26px;height:26px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.special-orbit-kokugo{left:0;top:20px}.special-orbit-math{right:0;top:55px}.special-orbit-english{left:10px;bottom:0}
@media(min-width:901px) and (max-width:1150px){.special-overview{gap:25px;padding:25px;grid-template-columns:minmax(210px,.8fr) minmax(0,1.5fr)}.special-feature{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:20px 15px}.special-feature-icon{width:44px;height:44px}.special-feature-icon svg{width:28px;height:28px}.special-feature h3{font-size:18px}}
@media(max-width:900px){.lesson-option h3{font-size:22px;gap:3px 7px;padding:7px 12px}.lesson-stage{font-size:12px;line-height:1.7}.elementary-special{padding:32px 0 48px;scroll-margin-top:68px}.elementary-special .lesson-section-heading{margin-bottom:22px}.special-overview{grid-template-columns:1fr;gap:16px;padding:21px 19px;border-radius:18px}.special-illustration>svg{max-width:270px}.special-brain-orbit{width:260px;height:240px}.special-main-icon{width:155px;height:155px}.special-main-icon svg{width:100px;height:100px}.special-orbit-subject{font-size:14px;padding:8px 12px}.special-orbit-subject svg{width:23px;height:23px}.special-overview .course-facts{margin:0 0 20px}.special-description p{font-size:15px;line-height:1.95}.special-feature-grid{grid-template-columns:1fr;gap:14px;margin-top:18px}.special-feature{grid-template-columns:52px minmax(0,1fr);gap:14px;padding:20px 17px;border-radius:14px}.special-feature-icon{width:52px;height:52px}.special-feature-icon svg{width:31px;height:31px}.special-feature h3{font-size:20px;margin-bottom:7px}.special-feature p{font-size:14px;line-height:1.95}}
@media(max-width:359px){.lesson-option h3{font-size:20px;padding:7px 8px}.lesson-stage{font-size:11px}.special-overview{padding:20px 15px}.special-feature{grid-template-columns:43px minmax(0,1fr);padding:18px 14px;gap:12px}.special-feature-icon{width:43px;height:43px}.special-feature-icon svg{width:27px;height:27px}.special-feature h3{font-size:18px}}

.home-page .hero h1{white-space:nowrap}

/* Junior high: calm, clear blue editorial layout */
.junior-icon-defs{position:absolute;width:0;height:0;overflow:hidden}.junior-wrap{max-width:1380px;margin:auto;padding:0 48px}.junior-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#f7fbff,#eaf4fd 75%,#f2f7fb);padding:34px 0 42px;color:var(--blue)}.junior-hero:after{content:'';position:absolute;z-index:-1;right:-8%;top:20%;width:50%;height:60%;background:#dceefd;clip-path:polygon(100% 0,100% 80%,0 100%,0 65%)}.junior-hero-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,.8fr);gap:18px;align-items:center}.junior-eyebrow{font-size:12px;line-height:1.6;font-weight:700;letter-spacing:.18em;color:var(--blue);margin-bottom:17px}.junior-page-title{border-left:4px solid #62a4d7;padding-left:23px;margin-bottom:43px}.junior-page-title h1{font:700 clamp(34px,4vw,55px)/1.4 var(--sans);letter-spacing:.08em;margin-bottom:10px}.junior-page-title>p{font-size:16px;line-height:1.8;font-weight:500}.junior-intro-label{font-size:18px;font-weight:700;margin-bottom:20px}.junior-main-title{font:700 clamp(23px,2.55vw,39px)/1.6 var(--sans);letter-spacing:.005em;white-space:nowrap;margin-bottom:24px;position:relative;display:inline-block;isolation:isolate}.junior-main-title:after{content:'';position:absolute;z-index:-1;bottom:3px;left:0;right:0;height:9px;background:#bcdff8;transform:rotate(-.8deg)}.junior-hero-description{font-size:16px;line-height:2.1;color:var(--ink);max-width:800px}.junior-hero-art{align-self:center;min-width:0}.junior-hero-art img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;object-position:center bottom}.junior-facts{margin:38px 0 0;display:grid;grid-template-columns:1.15fr .85fr 1.15fr;gap:0;color:var(--blue)}.junior-facts>div{display:flex;align-items:center;justify-content:center;gap:20px;padding:0 25px;min-width:0}.junior-facts>div+div{border-left:1px solid #8faecb}.junior-facts svg{width:48px;height:48px;stroke:currentColor;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.junior-facts dt{font-size:17px;font-weight:700;line-height:1.7;margin-bottom:5px}.junior-facts dd{font-size:15px;line-height:1.8;margin:0}.junior-section{padding:58px 0;color:var(--blue)}.junior-pale{background:#f2f7fb}.junior-section-heading .junior-eyebrow{font-size:11px;margin-bottom:11px;letter-spacing:.15em}.junior-section-heading h2{font:700 clamp(26px,2.8vw,36px)/1.7 var(--sans);letter-spacing:.02em;margin:0 0 18px}.junior-section-lead{font-size:16px;line-height:2;color:var(--ink);margin-bottom:28px}.junior-test-example{display:grid;grid-template-columns:1fr 1.1fr;gap:35px;align-items:center;padding:30px 35px;border:1px solid #c7d8e7;border-radius:10px;background:linear-gradient(115deg,#f2f7fb,#fff);margin-bottom:26px}.junior-small-label{display:inline-block;font-size:12px;font-weight:700;color:#3973a4;line-height:1.5;margin-bottom:12px}.junior-example-copy h3{font-size:25px;line-height:1.8;margin-bottom:12px}.junior-example-copy>p{font-size:14px;line-height:1.95;color:var(--ink)}.junior-subject-diagram{display:flex;align-items:center;justify-content:center;gap:24px}.junior-subject-diagram>div{display:flex;align-items:center;flex-direction:column;gap:12px;min-width:0}.junior-subject-diagram>div>span{font-size:13px;font-weight:700;white-space:nowrap}.junior-subject-diagram strong{font-size:25px;font-weight:700;line-height:1.6;padding:20px 28px;border:1px solid #a9c7df;border-radius:8px;white-space:nowrap;background:#e6f3fc;min-width:140px;text-align:center}.junior-subject-diagram>div:last-child strong{color:white;background:var(--blue);border-color:var(--blue)}.junior-plus{font-size:26px;color:#3973a4}.junior-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.junior-feature{padding:26px;border-top:3px solid #3973a4;background:#f2f7fb;border-radius:0 0 7px 7px;min-width:0}.junior-feature>svg{width:38px;height:38px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:16px}.junior-feature h3{font-size:20px;line-height:1.7;margin-bottom:12px}.junior-feature p{font-size:14px;line-height:1.95;color:var(--ink)}.junior-exam-steps{list-style:none;margin:25px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.junior-exam-steps li{background:white;padding:25px 22px;border:1px solid #d5e2ed;border-radius:8px}.junior-exam-steps li>span{display:block;font-size:26px;line-height:1;font-weight:700;color:#3973a4;margin-bottom:20px}.junior-exam-steps h3{font-size:19px;line-height:1.7;margin-bottom:12px}.junior-exam-steps p{font-size:14px;line-height:1.95;color:var(--ink)}.junior-study-panel{display:grid;grid-template-columns:120px minmax(0,1fr);gap:35px;background:#f2f7fb;border:1px solid #d5e2ed;border-radius:10px;padding:32px 35px}.junior-study-icon{align-self:center;display:flex;align-items:center;justify-content:center;width:120px;height:120px;background:white;border-radius:50%}.junior-study-icon svg{width:64px;height:64px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.junior-study-panel p:not(.junior-eyebrow){font-size:15px;line-height:2;color:var(--ink)}.junior-study-note{margin-top:12px}.junior-recruitment{margin-top:30px;border-left:3px solid #9dbbd5;padding:15px 22px;background:#f2f7fb}.junior-recruitment h3{font-size:16px;margin-bottom:8px}.junior-recruitment p{font-size:14px;line-height:1.95;color:var(--ink)}.junior-recruitment .content-note{font-size:12px;margin-top:10px}
@media(min-width:901px) and (max-width:1150px){.junior-wrap{padding:0 30px}.junior-hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,.75fr)}.junior-page-title{margin-bottom:32px}.junior-hero-description{font-size:15px}.junior-desktop-break{display:none}.junior-facts>div{gap:12px;padding:0 16px}.junior-facts svg{width:38px;height:38px}.junior-facts dt{font-size:15px}.junior-facts dd{font-size:12px}.junior-subject-diagram{gap:15px}.junior-subject-diagram strong{font-size:21px;padding:17px 20px;min-width:115px}.junior-exam-steps{gap:15px}.junior-exam-steps li{padding:22px 17px}.junior-exam-steps h3{font-size:17px}}
@media(max-width:900px){.junior-wrap{padding:0 22px;max-width:700px}.junior-hero{padding:28px 0 30px}.junior-hero-grid{grid-template-columns:1fr;gap:20px}.junior-eyebrow{font-size:11px;margin-bottom:13px}.junior-page-title{padding-left:17px;margin-bottom:30px;border-left-width:3px}.junior-page-title h1{font-size:36px;margin-bottom:8px}.junior-page-title>p{font-size:14px;line-height:1.9}.junior-intro-label{font-size:15px;margin-bottom:15px}.junior-main-title{font-size:clamp(16px,5.2vw,30px);letter-spacing:0;margin-bottom:18px;line-height:1.8}.junior-main-title:after{height:7px;bottom:1px}.junior-hero-description{font-size:15px;line-height:1.95}.junior-desktop-break{display:none}.junior-hero-art{max-width:280px;justify-self:center;width:70%}.junior-hero-art img{max-height:280px}.junior-hero:after{top:25%;width:85%;height:45%}.junior-facts{grid-template-columns:1fr;margin-top:24px;gap:0;background:#ffffffb3;border-radius:8px;padding:0 17px}.junior-facts>div{justify-content:flex-start;padding:16px 0;gap:18px}.junior-facts>div+div{border-left:0;border-top:1px solid #d5e2ed}.junior-facts svg{width:35px;height:35px}.junior-facts dt{font-size:14px;margin-bottom:2px}.junior-facts dd{font-size:14px;line-height:1.8}.junior-section{padding:38px 0}.junior-section-heading h2{font-size:24px;line-height:1.8;margin-bottom:16px;letter-spacing:0}.junior-section-lead{font-size:15px;line-height:1.95;margin-bottom:22px}.junior-test-example{grid-template-columns:1fr;gap:23px;padding:23px 20px;margin-bottom:20px}.junior-example-copy h3{font-size:22px}.junior-example-copy>p{font-size:15px}.junior-subject-diagram{gap:12px}.junior-subject-diagram>div{gap:8px}.junior-subject-diagram>div>span{font-size:11px}.junior-subject-diagram strong{font-size:20px;padding:15px 19px;min-width:110px}.junior-plus{font-size:21px}.junior-feature-grid{grid-template-columns:1fr;gap:15px}.junior-feature{padding:22px}.junior-feature>svg{width:32px;height:32px;margin-bottom:12px}.junior-feature h3{font-size:19px;margin-bottom:9px}.junior-feature p{font-size:15px}.junior-exam-steps{grid-template-columns:1fr;gap:14px;margin-top:22px}.junior-exam-steps li{position:relative;padding:22px 20px 22px 70px;min-width:0}.junior-exam-steps li>span{position:absolute;left:20px;top:26px;font-size:23px;margin:0}.junior-exam-steps h3{font-size:19px;margin-bottom:10px}.junior-exam-steps p{font-size:15px}.junior-study-panel{grid-template-columns:1fr;gap:20px;padding:24px 21px}.junior-study-icon{width:75px;height:75px}.junior-study-icon svg{width:42px;height:42px}.junior-study-panel .junior-section-heading h2{font-size:22px}.junior-recruitment{margin-top:23px;padding:15px 17px}.junior-recruitment p{font-size:14px}}
@media(max-width:359px){.junior-wrap{padding:0 18px}.junior-subject-diagram{gap:8px}.junior-subject-diagram strong{font-size:18px;padding:14px 12px;min-width:98px}.junior-subject-diagram>div>span{font-size:10px}.junior-test-example{padding:22px 16px}.junior-section-heading h2{font-size:22px}}

/* Junior high learning story: foundations, efficient study, then entrance exams */
.junior-curriculum{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.8fr);gap:40px;align-items:center;margin-top:32px;padding:30px 32px;border:1px solid #c7d8e7;border-radius:10px;background:linear-gradient(120deg,#fff,#f2f7fb)}.junior-curriculum h3{font-size:25px;line-height:1.8;margin-bottom:15px}.junior-curriculum-copy>p:not(.junior-small-label){font-size:15px;line-height:2;color:var(--ink);margin-top:13px}.junior-curriculum-example{margin:0;text-align:center;align-self:center}.junior-curriculum-example a{display:block;background:white;padding:13px;border:1px solid #c7d8e7;border-radius:5px}.junior-curriculum-example img{display:block;width:100%;height:auto;max-width:380px;margin:auto}.junior-curriculum-example a>span{display:inline-block;font-size:12px;text-decoration:underline;text-underline-offset:4px;margin-top:12px}.junior-curriculum-example figcaption{font-size:12px;line-height:1.8;margin-top:11px}.junior-learning-cycle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:23px 0 0}.junior-learning-cycle li{border-top:2px solid #89b5d7;padding-top:10px;font-size:13px;line-height:1.8;font-weight:600}.junior-learning-cycle li>span{display:block;font-size:11px;color:#3973a4;font-weight:700;margin-bottom:3px}.junior-efficient-study{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;align-items:center;background:#f2f7fb;border-left:3px solid #88b3d3;padding:25px 28px;margin-top:28px;scroll-margin-top:125px}.junior-efficient-study .junior-small-label{margin-bottom:7px}.junior-efficient-study h3{font-size:22px;line-height:1.8;margin-bottom:11px}.junior-efficient-study p:not(.junior-small-label){font-size:14px;line-height:1.95;color:var(--ink)}.junior-efficient-diagram{display:flex;align-items:center;justify-content:center;gap:15px}.junior-efficient-diagram>div{display:flex;flex-direction:column;text-align:center;gap:9px;min-width:0}.junior-efficient-diagram>div>span{font-size:11px;font-weight:600;white-space:nowrap}.junior-efficient-diagram strong{display:block;white-space:nowrap;padding:12px 17px;border:1px solid #aac7de;background:white;border-radius:5px;font-size:18px;line-height:1.7}.junior-efficient-diagram>div:last-child strong{background:#e1effa}.junior-efficient-diagram>span{font-size:23px;color:#3973a4;margin-top:23px}.junior-school-consultation{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:20px;background:white;border:1px solid #d5e2ed;border-radius:8px;padding:26px 28px;margin-top:24px}.junior-school-consultation>svg{width:43px;height:43px;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.junior-school-consultation h3{font-size:21px;line-height:1.8;margin-bottom:10px}.junior-school-consultation p{font-size:15px;line-height:2;color:var(--ink)}
@media(max-width:1100px) and (min-width:901px){.junior-efficient-study{grid-template-columns:1fr;gap:20px}.junior-efficient-diagram{justify-content:flex-start}.junior-curriculum{gap:25px;padding:25px}.junior-curriculum h3{font-size:22px}}
@media(max-width:900px){.junior-curriculum{grid-template-columns:1fr;gap:25px;padding:23px 20px;margin-top:23px}.junior-curriculum h3{font-size:22px;line-height:1.8}.junior-curriculum-copy>p:not(.junior-small-label){font-size:15px;line-height:1.95}.junior-curriculum-example{max-width:330px;justify-self:center;width:100%}.junior-learning-cycle{gap:10px;margin-top:20px}.junior-learning-cycle li{font-size:12px;line-height:1.8}.junior-efficient-study{grid-template-columns:1fr;gap:21px;padding:22px 19px;margin-top:23px;scroll-margin-top:80px}.junior-efficient-study h3{font-size:21px}.junior-efficient-study p:not(.junior-small-label){font-size:15px}.junior-efficient-diagram{gap:12px}.junior-efficient-diagram strong{font-size:17px;padding:11px 13px}.junior-efficient-diagram>div>span{font-size:10px}.junior-school-consultation{grid-template-columns:1fr;gap:15px;padding:23px 21px;margin-top:20px}.junior-school-consultation>svg{width:35px;height:35px}.junior-school-consultation h3{font-size:20px}.junior-school-consultation p{font-size:15px;line-height:1.95}}
@media(max-width:359px){.junior-curriculum{padding:21px 16px}.junior-curriculum h3{font-size:20px}.junior-efficient-study{padding:20px 15px}.junior-efficient-diagram{gap:8px}.junior-efficient-diagram strong{font-size:15px;padding:10px 9px}.junior-learning-cycle{gap:8px}.junior-learning-cycle li{font-size:11px}}

/* High school course: matching mature blue design */
.senior-hero .junior-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:30px}.senior-hero .junior-page-title{margin-bottom:38px}.senior-main-title{font:700 clamp(30px,3.1vw,45px)/1.65 var(--sans);letter-spacing:.015em;margin:0 0 24px;position:relative;isolation:isolate;display:inline-block}.senior-main-title:after{content:'';position:absolute;left:0;bottom:-2px;width:73%;height:8px;background:#bcdff8;border-radius:50%;transform:rotate(-1deg);z-index:-1}.senior-hero-art img{max-height:440px}.senior-video-panel{display:grid;grid-template-columns:110px minmax(0,1fr);gap:30px;align-items:center;border:1px solid #d5e2ed;border-radius:10px;background:white;padding:32px}.senior-video-icon{width:110px;height:110px;background:#e6f3fc;border-radius:50%;display:flex;align-items:center;justify-content:center}.senior-video-icon svg{width:60px;height:60px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.senior-video-panel h3{font-size:23px;line-height:1.8;margin-bottom:14px}.senior-video-panel p{font-size:15px;line-height:2;color:var(--ink)}.senior-video-panel p+p{margin-top:12px}
@media(min-width:901px) and (max-width:1150px){.senior-main-title{font-size:32px}.senior-hero .junior-hero-grid{gap:20px;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr)}}
@media(max-width:900px){.senior-hero .junior-hero-grid{grid-template-columns:1fr;gap:20px}.senior-hero .junior-page-title{margin-bottom:30px}.senior-main-title{font-size:clamp(22px,6vw,32px);line-height:1.8;letter-spacing:0;margin-bottom:20px}.senior-hero-art img{max-height:290px}.senior-video-panel{grid-template-columns:1fr;padding:24px 21px;gap:19px}.senior-video-icon{width:75px;height:75px}.senior-video-icon svg{width:42px;height:42px}.senior-video-panel h3{font-size:21px}.senior-video-panel p{font-size:15px;line-height:1.95}}

/* Site-wide spacing and shared course first views */
:root{--site-width:1280px;--site-gutter:40px;--section-space:56px}
.wrap,.junior-wrap,.elementary-intro-wrap,.course-wrap{width:100%;max-width:var(--site-width);margin-left:auto;margin-right:auto;padding-left:var(--site-gutter);padding-right:var(--site-gutter)}
.section,.junior-section,.elementary-special,.elementary-individual{padding-top:var(--section-space);padding-bottom:var(--section-space)}
main .page-heading{padding-top:30px;padding-bottom:30px}main .page-heading .section-label{margin-bottom:10px}main .page-heading h1{margin-bottom:12px}
.elementary-course-overview{padding:35px 0 42px;background:white}.elementary-course-overview .elementary-course-heading{margin:0 auto 23px}
.course-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#f7fbff,#eaf4fd 75%,#f2f7fb);padding:36px 0;color:var(--blue)}
.course-hero:after{content:'';position:absolute;z-index:-1;right:-8%;top:21%;width:50%;height:60%;background:#dceefd;clip-path:polygon(100% 0,100% 80%,0 100%,0 65%)}
.course-hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:35px;align-items:center}
.course-hero-copy{display:grid;grid-template-rows:32px 122px 38px 124px minmax(96px,auto);min-width:0}
.course-eyebrow{display:flex;align-items:center;gap:9px;margin:0;font-size:12px;font-weight:700;letter-spacing:.16em;line-height:1.6;align-self:start}.course-eyebrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.course-page-title{border-left:3px solid #62a4d7;padding-left:20px;align-self:start}.course-page-title h1{font:700 48px/1.4 var(--sans);letter-spacing:.04em;margin:0 0 9px}.course-page-title p{font-size:15px;line-height:1.9;font-weight:500;margin:0}
.course-intro-label{font-size:16px;line-height:1.8;font-weight:700;margin:0;align-self:start}
.course-main-title{font:700 clamp(26px,2.5vw,36px)/1.6 var(--sans);letter-spacing:0;margin:0;align-self:start}.course-main-title>span{display:block;max-width:100%}.course-title-nowrap{white-space:nowrap}.course-hero-junior .course-main-title{font-size:clamp(22px,2.4vw,35px)}
.course-hero-description{font-size:15px;line-height:2.05;color:var(--ink);margin:0;align-self:start}.course-hero-art{width:100%;height:380px;min-width:0;display:flex;align-items:center;justify-content:center}.course-hero-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:450px}.course-hero-elementary .course-hero-art img{max-width:460px}
.course-hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:28px 0 0;padding:22px 0 0;border-top:1px solid #c9dceb}.course-hero-facts>div{padding:0 25px;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:0 15px}.course-hero-facts>div+div{border-left:1px solid #a8bfd3}.course-hero-facts dt{display:contents;font-size:15px;font-weight:700;line-height:1.8}.course-hero-facts dt svg{grid-column:1;grid-row:1/3;align-self:center;width:40px;height:40px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}.course-hero-facts dt>span{grid-column:2;grid-row:1}.course-hero-facts dd{grid-column:2;grid-row:2;font-size:14px;line-height:1.9;margin:4px 0 0}
main h1,main h2,main h3,main p,main li{line-break:strict;word-break:normal}main h2,main h3{text-wrap:pretty}main img{max-width:100%}.junior-curriculum-example img{max-width:268px}.section-heading,.junior-section-heading{margin-bottom:24px}.junior-section-heading h2{margin-bottom:0}.junior-section-lead{margin-bottom:26px}
@media(min-width:901px){.home-page .hero{max-width:none}.home-page .hero-copy{padding-left:max(40px,calc((100vw - 1200px)/2))}}
@media(min-width:901px) and (max-width:1150px){.course-hero-grid{gap:22px;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.course-hero-copy{grid-template-rows:32px 118px 36px 108px minmax(100px,auto)}.course-page-title h1{font-size:42px}.course-page-title p{font-size:13px}.course-main-title{font-size:29px}.course-hero-junior .course-main-title{font-size:23px}.course-hero-description{font-size:14px;line-height:2}.course-hero-art{height:330px}.course-hero-facts>div{padding:0 16px;grid-template-columns:34px minmax(0,1fr);gap:0 12px}.course-hero-facts dt svg{width:32px;height:32px}.course-hero-facts dd{font-size:12px}.course-hero-facts dt{font-size:14px}}
@media(max-width:900px){:root{--site-gutter:22px;--section-space:40px}.course-hero{padding:27px 0 30px}.course-hero-grid{grid-template-columns:1fr;gap:20px}.course-hero-copy{grid-template-rows:auto 116px 35px 100px auto}.course-eyebrow{font-size:11px;margin-bottom:18px}.course-page-title{padding-left:16px}.course-page-title h1{font-size:36px;margin-bottom:7px}.course-page-title p{font-size:14px;line-height:1.9}.course-intro-label{font-size:15px}.course-main-title{font-size:clamp(22px,6vw,30px);line-height:1.8}.course-hero-junior .course-main-title{font-size:clamp(16px,5.1vw,28px);line-height:1.8}.course-hero-description{font-size:15px;line-height:1.95}.course-hero-art{height:240px;max-width:340px;justify-self:center;width:85%}.course-hero-art img{height:100%;max-width:300px}.course-hero:after{width:85%;top:30%;height:40%}.course-hero-facts{grid-template-columns:1fr;margin-top:22px;padding:0 17px;border-top:0;border-radius:8px;background:#ffffffc9}.course-hero-facts>div{padding:15px 0;grid-template-columns:35px minmax(0,1fr);gap:0 17px}.course-hero-facts>div+div{border-left:0;border-top:1px solid #d5e2ed}.course-hero-facts dt{font-size:14px}.course-hero-facts dt svg{width:33px;height:33px}.course-hero-facts dd{font-size:14px;margin-top:1px}.elementary-course-overview{padding:30px 0}.elementary-course-overview .elementary-course-heading{margin-bottom:20px}.section-heading,.junior-section-heading{margin-bottom:20px}main .page-heading{padding:25px 0}.junior-section-lead{margin-bottom:22px}main p{overflow-wrap:break-word}}
@media(max-width:359px){:root{--site-gutter:18px}.course-hero-copy{grid-template-rows:auto 116px 35px 96px auto}.course-main-title{font-size:22px}.course-hero-junior .course-main-title{font-size:16px}.course-hero-art{height:210px}}
.system-grade-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.system-grade-links a{display:grid;grid-template-columns:1fr auto;gap:7px 12px;border:1px solid #c7d8e7;background:#f2f7fb;padding:22px;border-radius:8px;color:var(--blue)}.system-grade-links strong{font-size:22px;line-height:1.6}.system-grade-links a>span:first-of-type{grid-column:1;font-size:14px;line-height:1.8}.system-grade-links a>span:last-child{grid-column:2;grid-row:1/3;align-self:center}.system-grade-links a:hover{border-color:var(--blue)}@media(max-width:900px){.system-grade-links{grid-template-columns:1fr;gap:13px}.system-grade-links a{padding:19px 21px}.system-grade-links strong{font-size:20px}}
/* Photo spaces stay empty until the school's own photographs arrive. */
.photo-placeholder{outline:none}.photo-placeholder .photo-center,.photo-placeholder .photo-caption{display:none}
@media(max-width:900px){.course-hero-copy{grid-template-rows:auto 116px 35px 100px minmax(118px,auto)}.course-hero-facts>div{min-height:86px}}@media(max-width:480px){.course-hero-copy{grid-template-rows:auto 116px 35px 100px minmax(176px,auto)}}@media(max-width:359px){.course-hero-copy{grid-template-rows:auto 116px 35px 96px minmax(176px,auto)}}

/* Keep every desktop dropdown within the viewport, including the rightmost menu. */
@media(min-width:901px){#navigation .nav-group .submenu{left:auto;right:0;min-width:245px;max-width:calc(100vw - 48px)}.header #navigation .submenu a{white-space:normal}.header #navigation .submenu a>span{flex-shrink:0}}
/* A continuous learning journey, from elementary to high school. */
.system-page .page-heading{position:relative;background:linear-gradient(115deg,#e1f2ff,#f3f9fd 65%,#e0f1ff);padding:30px 0 44px;overflow:hidden}.system-page .page-heading:after{content:"";position:absolute;bottom:-28px;left:-5%;width:110%;height:55px;border-radius:50%;background:#fff}.system-page .page-heading .wrap{display:grid;grid-template-columns:auto 1fr;column-gap:30px;align-items:center}.system-page .page-heading .section-label{grid-column:1;margin:0 0 5px}.system-page .page-heading h1{font-size:30px;margin:0;grid-column:1;grid-row:2}.system-page .page-heading .wrap>p:last-child{grid-column:2;grid-row:1/3;border-left:1px solid #a8cbe7;padding-left:30px;margin:0;font-size:14px}.system-overview{position:relative;overflow:hidden;padding:38px 0 62px;background:linear-gradient(180deg,#fff,#f6fbff)}.system-overview:after{content:"";position:absolute;bottom:-55px;left:-5%;width:110%;height:95px;border-radius:50%;background:#e3f3ff;transform:rotate(-2deg)}.system-overview>.wrap{position:relative;z-index:1}.system-overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:26px;align-items:center}.system-overview-copy .section-label{font-size:13px;margin:0 0 22px}.system-overview-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.6;margin:0 0 30px;letter-spacing:.02em}.system-overview-copy h2 span{position:relative;isolation:isolate}.system-overview-copy h2 span:after{content:"";position:absolute;left:-3px;right:-3px;bottom:0;height:8px;background:#ffe777;border-radius:50%;z-index:-1;transform:rotate(-1deg)}.system-overview-description{border:1px solid #c9deef;border-radius:16px;background:#f3f9ff;padding:22px 24px}.system-overview-description p{margin:0;border-left:4px solid #82c8ff;padding-left:16px;font-size:15px;line-height:2.05;color:var(--ink)}.system-overview-art img{display:block;width:100%;height:auto}.system-course-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}.system-course-cards a{display:flex;align-items:center;gap:18px;padding:22px 20px;border:1px solid #accfe9;border-radius:16px;background:linear-gradient(130deg,#fff,#eff8ff);color:var(--blue);text-decoration:none;box-shadow:0 3px 5px #123b7005}.system-course-cards a:hover{border-color:var(--blue);background:#e8f5ff}.system-course-cards svg{width:66px;height:66px;flex-shrink:0;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:#e1f2ff}.system-card-copy{display:flex;flex-direction:column;gap:5px;border-left:1px solid #9ec5e5;padding-left:18px;min-width:0}.system-card-copy strong{font-size:25px}.system-card-copy>span{font-size:13px;line-height:1.7}.system-card-arrow{margin-left:auto;background:#e0f1ff;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}
@media(max-width:1100px){.system-course-cards a{gap:10px;padding:18px 14px}.system-course-cards svg{width:46px;height:50px}.system-card-copy{padding-left:12px}.system-card-copy strong{font-size:22px}.system-card-copy>span{font-size:12px}.system-card-arrow{width:25px;height:25px}}
@media(max-width:900px){.system-page .page-heading{padding:24px 0 38px}.system-page .page-heading .wrap{display:block}.system-page .page-heading h1{font-size:26px}.system-page .page-heading .wrap>p:last-child{border:0;padding:12px 0 0;font-size:13px}.system-overview{padding:28px 0 48px}.system-overview-grid{grid-template-columns:1fr;gap:22px}.system-overview-copy .section-label{margin-bottom:14px}.system-overview-copy h2{font-size:clamp(24px,6.4vw,34px);margin-bottom:20px}.system-overview-description{padding:19px 17px}.system-overview-description p{font-size:14px;padding-left:13px;line-height:2}.system-overview-art{max-width:430px;width:100%;margin:auto}.system-course-cards{grid-template-columns:1fr;gap:12px;margin-top:24px}.system-course-cards a{padding:17px 20px;gap:18px}.system-course-cards svg{width:53px;height:55px}.system-card-copy{padding-left:18px}.system-card-copy>span{font-size:13px}.system-card-arrow{width:30px;height:30px}}
.system-individual{padding:48px 0 44px;background:linear-gradient(120deg,#fff,#f6fbff)}.system-individual-top{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.system-individual .section-label{font-size:14px;margin:0 0 18px}.system-individual h2{font-size:clamp(28px,3.2vw,43px);line-height:1.5;letter-spacing:.015em;margin:0}.system-individual h2 span:last-child{background:linear-gradient(transparent 86%,#bae7ff 86%)}.system-individual-top>img{display:block;width:100%;max-width:490px;max-height:265px;object-fit:contain;justify-self:end}.system-individual-lead{font-size:16px;line-height:1.9;margin:22px 0}.system-individual-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.system-individual-cards article{display:grid;grid-template-columns:64px 1fr;gap:22px;align-items:start;background:#edf7fc;border-radius:16px;padding:26px}.system-individual-cards svg{width:62px;height:62px;stroke:#0879ae;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none;margin-top:5px}.system-individual-cards h3{font-size:21px;line-height:1.6;margin:0 0 8px;color:var(--blue)}.system-individual-cards p{font-size:14px;line-height:1.9;margin:0}.system-individual-note{font-size:12px;line-height:1.9;margin:18px 0 0;color:#42566b}
@media(max-width:900px){.system-individual{padding:32px 0}.system-individual-top{grid-template-columns:1fr;gap:18px}.system-individual .section-label{font-size:12px;margin-bottom:13px}.system-individual h2{font-size:clamp(24px,6.6vw,34px);line-height:1.6}.system-individual-top>img{max-width:360px;max-height:210px;justify-self:center}.system-individual-lead{font-size:14px;line-height:2;margin:20px 0}.system-individual-lead .desktop-break{display:none}.system-individual-cards{grid-template-columns:1fr;gap:14px}.system-individual-cards article{grid-template-columns:42px 1fr;gap:16px;padding:20px 18px}.system-individual-cards svg{width:42px;height:42px}.system-individual-cards h3{font-size:17px}.system-individual-cards p{font-size:14px}.system-individual-note{font-size:12px}}
.system-plan{padding:42px 0;background:linear-gradient(110deg,#fff,#f7fbff)}.system-plan-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}.system-plan-copy{border-left:2px solid #c4dcef;padding-left:28px}.system-plan .section-label{font-size:13px;margin:0 0 12px}.system-plan h2{font-size:clamp(23px,2.4vw,32px);line-height:1.6;letter-spacing:0;margin:0 0 17px}.system-plan h2>span{background:linear-gradient(transparent 67%,#ffe777 67%,#ffe777 93%,transparent 93%)}.system-plan-copy>p:last-child{font-size:14px;line-height:1.9;margin:0}.system-plan-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:24px 18px;border-radius:90px;background:#edf7ff}.system-plan-steps li{text-align:center;position:relative}.system-plan-steps li+li:before{content:"";position:absolute;left:-22%;top:37px;width:35%;height:2px;background:#c0dcef}.system-plan-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 10px;border:2px solid #cee7f8;border-radius:50%;background:#f7fbff}.system-plan-icon svg{width:46px;height:46px;stroke:#267ab7;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none}.system-plan-steps strong{font-size:14px;line-height:1.6;color:var(--blue);white-space:nowrap}
@media(max-width:1100px){.system-plan-grid{grid-template-columns:1fr;gap:24px}.system-plan-steps{max-width:620px;width:100%;justify-self:center}}
@media(max-width:900px){.system-plan{padding:32px 0}.system-plan-copy{padding-left:17px}.system-plan h2{font-size:clamp(20px,5.1vw,28px);line-height:1.7}.system-plan .section-label{font-size:12px}.system-plan-copy>p:last-child{font-size:14px}.system-plan .desktop-break{display:none}.system-plan-steps{padding:20px 10px;gap:8px;border-radius:22px}.system-plan-icon{width:60px;height:60px;margin-bottom:10px}.system-plan-icon svg{width:39px;height:39px}.system-plan-steps strong{font-size:clamp(10px,3vw,13px)}.system-plan-steps li+li:before{top:30px;left:-20%;width:30%}}
/* Official school materials supplied through Google Drive. */
.school-brand{display:inline-flex;align-items:center;background:#fff;padding:9px 12px;border-radius:5px;line-height:1;flex-shrink:0}.school-brand .school-logo{display:block;width:280px;height:auto;max-width:100%;object-fit:contain}.site-footer .school-brand{max-width:100%;width:290px}.school-director{overflow:hidden;border-radius:8px;background:#edf3f6;width:100%;max-width:360px;aspect-ratio:4/5;min-height:0!important;height:auto!important;align-self:start}.school-director img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 32%}.school-hero-photo picture,.school-hero-photo .school-hero-image{display:block;width:100%;height:100%}.school-hero-photo .school-hero-image{object-fit:cover;object-position:50% 50%}.home-page .school-hero-photo:before{display:none}.school-photo{margin:0;min-width:0}.school-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px}.school-photo figcaption{font-size:13px;line-height:1.8;padding-top:11px;color:var(--blue)}.school-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:26px 0}.school-gallery .school-photo img{height:340px;object-fit:contain;background:#edf4f8}.school-gallery .school-photo:first-child img{object-fit:cover}.school-hub-banner{margin:0 0 28px;overflow:hidden;border-radius:10px;max-height:360px}.school-hub-banner img{display:block;width:100%;max-height:360px;object-fit:cover;object-position:50% 42%}.school-access-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:30px}.school-access-photos img{height:250px;object-fit:contain;background:#edf4f8}.access-layout .school-photo img{height:360px;object-fit:contain;background:#edf4f8}.school-system-art{max-width:380px;margin:auto;width:100%}.school-system-art .school-photo img{height:360px;object-fit:contain;background:#e9f3fa}.school-teaching-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:490px;width:100%;justify-self:end}.school-teaching-pair img{width:100%;height:290px;object-fit:cover;border-radius:9px;object-position:50% 35%}.school-programming-photo{padding:28px 0;background:#f3f9fe}.school-programming-photo .school-photo{max-width:500px;margin:auto}.school-programming-photo img{height:350px;object-fit:contain;background:#e5f0f8}.school-course-scenes h2{font-size:clamp(22px,2.5vw,30px)}
@media(min-width:901px){.home-page .school-hero-photo:after{border:0;background:linear-gradient(90deg,#fff,transparent 25%)}.header .school-brand .school-logo{width:260px}}
@media(max-width:1100px) and (min-width:901px){.header .school-brand .school-logo{width:210px}}
@media(max-width:900px){.header .school-brand{padding:7px 8px;max-width:calc(100vw - 172px)}.header .school-brand .school-logo{width:175px}.home-page .school-hero-photo{aspect-ratio:1.3;height:auto}.school-hero-photo .school-hero-image{object-position:50% 33%}.school-director{max-width:310px;justify-self:center}.school-gallery{gap:22px;grid-template-columns:1fr}.school-gallery .school-photo img{height:320px}.school-access-photos{grid-template-columns:1fr;gap:22px}.school-access-photos img{height:290px}.school-hub-banner,.school-hub-banner img{max-height:260px}.school-system-art{max-width:330px}.school-system-art .school-photo img{height:350px}.school-teaching-pair{max-width:390px;justify-self:center;gap:10px}.school-teaching-pair img{height:245px}.access-layout .school-photo img{height:290px}.school-programming-photo img{height:320px}.site-footer .school-brand{width:260px}.school-photo figcaption{font-size:12px}}

/* Frame the director from the chest up with less space above his head. */
.school-director img{object-position:50% 85%}
/* Separate the footer from the navy sticky header at the bottom of a page. */
.site-footer{background:#f2f7fb;color:var(--blue);border-top:1px solid #d4e1ec}.site-footer a,.site-footer .brand,.site-footer .footer-label,.site-footer address,.site-footer small{color:var(--blue)}.site-footer .button{background:var(--blue);color:#fff;border-color:var(--blue)}.site-footer .button:hover{background:#24568b;color:#fff}.site-footer .footer-sitemap,.site-footer .footer-sitemap>ul>li:nth-child(n),.site-footer .site-footer-bottom{border-color:#cddde9}.site-footer .footer-location{border-color:var(--blue)}
/* A single logo in the sticky header; a quiet text signature in the footer. */
.footer-school-name{display:inline-block;font-size:23px;line-height:1.6;font-weight:700;letter-spacing:.04em;text-decoration:none}.home-about-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:center}.home-about-copy{min-width:0}.home-introduction .home-about-copy h2{font-size:clamp(24px,2.2vw,30px);line-height:1.7}.home-about-photo{width:100%;aspect-ratio:1;margin:0;position:relative;isolation:isolate}.home-about-photo:before{content:"";position:absolute;inset:12px -10px -12px 10px;background:#e7f2fa;border-radius:50%;z-index:-1}.home-about-photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:60% 20%}.admission-results h2{font-size:clamp(25px,3vw,36px)}.results-year-note{font-size:14px;line-height:1.9}.results-highlight{background:#e9f4fc;border-left:4px solid #3973a4;padding:20px 24px;margin:24px 0;display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;color:var(--blue)}.results-highlight strong{font-size:18px;line-height:1.8}.results-highlight span{font-size:12px}.admission-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.admission-result-card{border:1px solid #d3e2ee;border-radius:10px;overflow:hidden;align-self:start}.admission-result-card h3{background:#f2f7fb;font-size:19px;margin:0;padding:17px 22px;color:var(--blue)}.admission-result-card dl{margin:0;padding:6px 22px}.admission-result-card dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:14px 0;border-bottom:1px solid #e0eaf2;align-items:start}.admission-result-card dl>div:last-child{border:0}.admission-result-card dt{font-size:15px;line-height:1.8}.admission-result-card dd{margin:0;font-weight:700;color:var(--blue);white-space:nowrap;line-height:1.8}.results-source{font-size:12px;line-height:1.9;margin-top:20px}
@media(max-width:1100px){.home-about-layout{grid-template-columns:minmax(0,1fr) 245px;gap:28px}}
@media(max-width:900px){.home-about-layout{grid-template-columns:1fr;gap:28px}.home-about-photo{width:245px;max-width:80%;justify-self:center}.home-introduction .home-about-copy h2{font-size:24px}.footer-school-name{font-size:21px}.admission-results-grid{grid-template-columns:1fr;gap:18px}.admission-result-card h3{font-size:17px;padding:15px 18px}.admission-result-card dl{padding:4px 18px}.admission-result-card dt{font-size:14px}.results-highlight{padding:17px 19px}.results-highlight strong{font-size:16px}}

.admission-result-card dt{overflow-wrap:anywhere}
/* Keep activity photos inside the course they describe. */
.course-inline-photo{margin:0;min-width:0}.course-inline-photo img{display:block;width:100%;height:300px;object-fit:contain;background:#edf5fa;border-radius:12px}.course-inline-photo figcaption{font-size:12px;line-height:1.8;margin-top:9px;color:var(--blue)}.special-overview>.course-inline-photo{width:100%;max-width:360px;justify-self:center}.special-overview>.course-inline-photo img{height:330px}.elementary-individual>.elementary-intro-wrap{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:26px;align-items:center}.elementary-individual .lesson-section-heading{grid-column:1;margin:0}.elementary-individual .lesson-section-heading+.course-inline-photo{grid-column:2;grid-row:1}.elementary-individual .lesson-comparison,.elementary-individual .lesson-subjects{grid-column:1/-1}.junior-section .course-inline-photo{max-width:380px;margin:22px auto 28px}.junior-section .course-inline-photo img{height:300px}
@media(max-width:900px){.elementary-individual>.elementary-intro-wrap{display:block}.elementary-individual .course-inline-photo{max-width:310px;margin:24px auto}.course-inline-photo img,.special-overview>.course-inline-photo img{height:300px}.special-overview>.course-inline-photo{max-width:310px}.junior-section .course-inline-photo{max-width:310px;margin:20px auto 24px}}
@media(max-width:359px){.admission-result-card dl{padding-left:12px;padding-right:12px}}
/* Keep the first-view headlines stable while the external body font loads. */
.home-page .hero h1,.home-page .hero h1 span,.home-page .hero .hero-tagline{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo',sans-serif}
/* Readable, locally rooted greeting with sentence-based line breaks. */
#home-greeting .greeting-copy{container-type:inline-size}#home-greeting .greeting-copy h2{font-size:clamp(20px,4.1cqw,30px);line-height:1.65;letter-spacing:0;margin-bottom:24px}#home-greeting .greeting-copy h2 span{display:inline-block}#home-greeting .greeting-copy>p:not(.section-label){font-size:16px;line-height:2;margin:0 0 19px}#home-greeting .signature{margin-top:23px}
@media(min-width:901px){#home-greeting .greeting-copy h2{white-space:nowrap}}
@media(max-width:900px){#home-greeting .greeting-copy h2{font-size:clamp(21px,6vw,26px);line-height:1.7;white-space:normal;margin-bottom:22px}#home-greeting .greeting-copy>p:not(.section-label){font-size:15px;line-height:2;margin-bottom:19px}}
/* Align the complete individual-learning section, with the real photo beside the final panel. */
#individual>.elementary-intro-wrap{display:block}#individual .lesson-section-heading{margin-bottom:30px}#individual .lesson-lower-row{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:28px;align-items:center;width:100%}#individual .lesson-lower-row .lesson-subject-panel{width:100%;grid-template-columns:minmax(0,1fr) 180px;gap:22px}#individual .lesson-lower-row .lesson-stack,#individual .lesson-lower-row .lesson-subject-books{display:none}#individual .lesson-lower-row .lesson-subject-copy h3{font-size:24px}#individual .lesson-lower-row>.course-inline-photo{width:230px;max-width:100%;margin:0;justify-self:center}#individual .lesson-lower-row>.course-inline-photo img{width:230px;height:230px;border-radius:50%;object-fit:cover;object-position:50% 38%;background:none}#individual .lesson-lower-row>.course-inline-photo figcaption{text-align:center}
@media(max-width:1100px){#individual .lesson-lower-row{grid-template-columns:1fr;gap:24px}#individual .lesson-lower-row .lesson-subject-panel{grid-template-columns:minmax(0,1fr) 210px}#individual .lesson-lower-row>.course-inline-photo{width:220px}#individual .lesson-lower-row>.course-inline-photo img{width:220px;height:220px}}
@media(max-width:900px){#individual .lesson-section-heading{margin-bottom:24px}#individual .lesson-lower-row .lesson-subject-panel{grid-template-columns:1fr;gap:18px}#individual .lesson-lower-row .lesson-subject-copy h3{font-size:22px}#individual .lesson-comparison{width:100%}}
/* Parent menu labels expand their children instead of opening index pages. */
.header #navigation .nav-category-toggle{width:auto;min-width:0;display:flex;align-items:center;gap:10px;padding:12px 0;border:0;background:transparent;color:#fff;font-size:inherit;font-weight:700;line-height:1.6;text-align:left}.header #navigation .nav-category-label{white-space:nowrap}.header #navigation .nav-chevron{font-size:13px;line-height:1;transform:none}.footer-group-label{display:block;font-size:15px;font-weight:700;line-height:1.8}.site-footer{background:var(--blue);color:#fff;border-color:var(--blue)}.site-footer a,.site-footer .footer-label,.site-footer address,.site-footer small,.site-footer .footer-group-label{color:#fff}.site-footer .button{background:#3973a4;color:#fff;border-color:#b8d1e6}.site-footer .button:hover{background:#2c6395}.site-footer .footer-sitemap,.site-footer .footer-sitemap>ul>li:nth-child(n),.site-footer .site-footer-bottom{border-color:#ffffff30}.site-footer .footer-location{border-color:#fff}.philosophy-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px 38px;align-items:start}.philosophy-copy{min-width:0}.philosophy-copy h2{font-size:clamp(24px,2.5vw,32px);line-height:1.7;margin-bottom:22px}.philosophy-copy p{font-size:16px;line-height:2;margin-bottom:22px}.philosophy-photo{margin:0}.philosophy-photo img{display:block;width:100%;height:390px;object-fit:cover;object-position:50% 30%;border-radius:12px}.philosophy-photo figcaption{font-size:12px;line-height:1.8;margin-top:10px}.philosophy-layout>.detail-panel{grid-column:1/-1;margin:0}.philosophy-layout>.button{grid-column:1;justify-self:start}
@media(max-width:900px){.header #navigation .nav-category-toggle{width:100%;justify-content:space-between;padding:13px 12px;font-size:15px}.header #navigation .nav-parent{display:block}.footer-group-label{font-size:14px;padding:8px 0}.philosophy-layout{grid-template-columns:1fr;gap:22px}.philosophy-copy p{font-size:15px}.philosophy-photo{max-width:310px;width:100%;justify-self:center}.philosophy-photo img{height:330px}.philosophy-layout>.detail-panel{grid-column:1}}
@media(min-width:901px){.header #navigation .nav-category-toggle{font-size:12px}}@media(min-width:901px) and (max-width:1100px){.header #navigation .nav-category-toggle{font-size:10px;gap:7px}}
.header #navigation .nav-category-toggle{flex:0 0 auto;height:auto;margin-left:0}.header #navigation .nav-category-toggle>.nav-category-label{font-size:inherit;width:auto;height:auto;border:0;transform:none;display:inline;line-height:1.6}.header #navigation .nav-category-toggle>.nav-chevron{font-size:0;display:block;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);flex-shrink:0}
@media(max-width:900px){.home-page .school-hero-photo:after{bottom:-15px;height:50px}.course-hero-copy{grid-template-rows:auto!important}.course-page-title{margin-bottom:24px}.course-intro-label{margin-bottom:12px}.course-main-title{margin-bottom:18px}.course-hero-description{min-height:0}.site-footer .footer-submenu{display:block;padding-top:5px}.site-footer .footer-submenu a{display:inline-block;font-size:12px;line-height:1.8;padding:4px 0}.footer-sitemap>ul{align-items:start}}
/* Use the supplied official image logo in the mobile header as well. */
@media(max-width:900px){.header>a.school-brand{display:flex;height:44px;align-items:center;padding:7px 8px;flex-shrink:0}.header>a.school-brand>.school-logo{display:block!important;width:175px;max-width:100%;height:auto;max-height:30px;object-fit:contain}}
/* Mobile reading order follows the explanation, rather than collecting photos between sections. */
@media(max-width:900px){
 .home-about-layout{display:flex;flex-direction:column;gap:0;align-items:stretch}.home-about-copy{display:contents}.home-about-copy>.section-label{order:0;margin-bottom:14px}.home-about-copy>h2{order:1;margin-bottom:22px}.home-about-layout>.home-about-photo{order:2;width:235px;max-width:76%;align-self:center;margin:0 0 25px}.home-about-copy>.introduction-copy{order:3;margin:0 0 18px}.home-about-copy>.button{order:4;align-self:flex-start}.home-about-copy .introduction-copy p{margin-bottom:12px;text-align:justify;line-height:1.95}
 #home-greeting .greeting-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}#home-greeting .greeting-copy{display:contents;container-type:normal}#home-greeting .greeting-copy>.section-label{order:0;margin:0 0 20px}#home-greeting .school-director{order:1;align-self:center;margin:0 0 24px;max-width:285px}#home-greeting .greeting-copy>h2{order:2;margin:0 0 20px}#home-greeting .greeting-copy>p:not(.section-label){order:3;text-align:justify;line-height:1.95;margin:0 0 16px}#home-greeting .greeting-sentence-break{display:none}#home-greeting .greeting-copy>.signature{order:4;margin:8px 0 20px}#home-greeting .greeting-copy>.button{order:5;align-self:flex-start}
 .home-page .page-cta h2{font-size:clamp(21px,5.8vw,27px);letter-spacing:0;white-space:nowrap}.home-page .page-cta p{line-height:1.95}
 main .detail-body>p,main .philosophy-copy p,main .course-hero-description,main .lesson-option-copy p,main .lesson-subject-copy p,main .special-overview-copy p,main .junior-section-lead,main .junior-feature p,main .senior-video-panel p{ text-align:justify;line-height:1.95}
 .section,.junior-section{padding-top:34px;padding-bottom:34px}.course-hero-art{margin-top:0}.home-page .hero-description .hero-sentence{line-height:1.95}
}
.elementary-real-teaching{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:760px;margin:0 auto 30px}.elementary-real-teaching figure{margin:0;min-width:0}.elementary-real-teaching img{display:block;width:100%;height:330px;object-fit:cover;object-position:50% 30%;border-radius:14px}.elementary-real-teaching figcaption{font-size:13px;line-height:1.8;margin-top:9px;color:var(--blue)}
@media(max-width:900px){.elementary-real-teaching{gap:12px;margin-bottom:24px}.elementary-real-teaching img{height:235px}.elementary-real-teaching figcaption{font-size:12px;line-height:1.7}}
.gallery-help{font-size:13px;margin-top:13px}.classroom-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.classroom-gallery .school-photo a{display:block;background:#edf4f8;border-radius:10px;overflow:hidden}.classroom-gallery .school-photo img{height:290px;object-fit:contain!important}.classroom-gallery .school-photo:first-child{grid-column:1/-1}.classroom-gallery .school-photo:first-child img{height:380px;object-fit:cover!important}.classroom-gallery .school-photo a:focus-visible{outline-offset:4px}
@media(max-width:900px){.classroom-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}.classroom-gallery .school-photo img{height:210px}.classroom-gallery .school-photo:first-child img{height:220px}.classroom-gallery .school-photo figcaption{font-size:12px;line-height:1.7;padding-top:8px}.gallery-help{font-size:12px;line-height:1.8}}
@media(max-width:900px){.home-page .page-cta h2{font-size:clamp(18px,5.2vw,25px)}.home-page .hero-description{text-align:justify;line-height:1.95}.introduction-copy,.philosophy-copy,.detail-body>p,.greeting-copy>p{overflow-wrap:break-word}}
/* A quiet outline contact link beside the official logo on mobile. */
@media(max-width:900px){.header .mobile-header-contact{background:transparent;color:#fff;border:1px solid #ffffffb3;border-radius:4px;box-shadow:none;min-height:40px}.header .mobile-header-contact:hover,.header .mobile-header-contact:focus-visible{background:#ffffff12;border-color:#fff;color:#fff}}
/* On mobile, finish the message with the director's signature below the link. */
@media(max-width:900px){#home-greeting .greeting-copy>.button{order:4;margin:4px 0 24px}#home-greeting .greeting-copy>.signature{order:5;margin:0}}
.home-voices-more{display:flex;justify-content:center;margin-top:28px}.home-voices-more .button{min-width:280px}@media(max-width:900px){.home-voices-more{margin-top:24px}.home-voices-more .button{width:100%;min-width:0}}
@media(max-width:900px){.mobile-heading-phrase{display:inline-block;max-width:100%;word-break:keep-all;overflow-wrap:normal}.progression-note{container-type:inline-size;padding:22px 18px}.progression-note h3{font-size:min(18px,5.8cqw);letter-spacing:0;line-height:1.8;white-space:nowrap}}
@media(max-width:900px){.fees-intro-title{font-size:clamp(17px,5.25vw,26px);letter-spacing:0;white-space:nowrap;line-height:1.7}}
.home-news{display:none}.news-page-label{font-size:26px;font-weight:700;color:var(--blue)}.news-article{max-width:960px}.news-article>time{display:block;color:#516b82;font-size:14px;margin-bottom:14px}.news-article h1{font-size:clamp(25px,3vw,36px);line-height:1.6;letter-spacing:.015em;margin:0 0 30px}.news-article-body p{font-size:16px;line-height:2;margin:0 0 22px}.news-home-link{margin-top:20px}.news-article-navigation{display:grid;grid-template-columns:1fr 1fr;gap:24px;position:static;background:none;padding:24px 0;margin-top:32px;border-top:1px solid #cbdce9;border-bottom:1px solid #cbdce9}.news-article-navigation a{display:flex;flex-direction:column;gap:8px;padding:0;font-size:15px;line-height:1.8}.news-article-navigation small{font-size:12px}.news-next{grid-column:2;text-align:right}
@media(max-width:900px){.home-news{display:block;background:#f2f7fb;padding:30px 0}.home-news .section-label{margin-bottom:9px}.home-news h2{font-size:25px;margin-bottom:18px;line-height:1.5}.home-news-items{border-top:1px solid #ccdce9}.home-news-item{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:8px 15px;padding:20px 0;border-bottom:1px solid #ccdce9;color:var(--blue)}.home-news-item time{grid-column:1;font-size:12px;line-height:1.7;color:#516b82}.home-news-item>span:not(.news-item-arrow){grid-column:1;font-size:16px;font-weight:600;line-height:1.8}.home-news-item .news-item-arrow{grid-column:2;grid-row:1/3;align-self:center}.news-article h1{font-size:25px;line-height:1.7;margin-bottom:24px}.news-article-body p{font-size:15px;line-height:1.95;text-align:justify}.news-page-label{font-size:23px}.news-article-navigation{display:grid;grid-template-columns:1fr;gap:20px}.news-next{grid-column:1}.news-article-navigation a{padding:0;font-size:14px}}
/* Show the same news block above About Us on desktop as well. */
@media(min-width:901px){.home-news{display:block;background:#f2f7fb;padding:34px 0}.home-news>.wrap{display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:36px;align-items:center}.home-news .section-label{grid-column:1;grid-row:1;margin-bottom:5px}.home-news h2{grid-column:1;grid-row:2;font-size:27px;line-height:1.5;margin:0}.home-news-items{grid-column:2;grid-row:1/3;border-top:1px solid #ccdce9}.home-news-item{display:grid;grid-template-columns:110px minmax(0,1fr) 24px;align-items:center;gap:22px;padding:21px 0;border-bottom:1px solid #ccdce9;color:var(--blue)}.home-news-item time{font-size:13px;color:#516b82;line-height:1.8}.home-news-item>span:not(.news-item-arrow){font-size:16px;font-weight:600;line-height:1.8}.news-item-arrow{justify-self:end}}
/* Align news with the site content and keep its reading order simple. */
.home-news{display:block;background:#f2f7fb;padding:40px 0}.home-news>.wrap{display:block;width:100%;max-width:1280px;margin:0 auto;padding-left:var(--site-gutter,40px);padding-right:var(--site-gutter,40px)}.home-news .section-label{display:block;grid-column:auto;grid-row:auto;margin:0 0 7px;font-size:11px;line-height:1.6;letter-spacing:.14em}.home-news h2{grid-column:auto;grid-row:auto;font-size:28px;line-height:1.5;letter-spacing:.03em;margin:0 0 20px}.home-news-items{grid-column:auto;grid-row:auto;min-width:0;border:1px solid #d3e1ec;border-radius:10px;background:#fff;overflow:hidden}.home-news-item{display:grid;grid-template-columns:110px minmax(0,1fr) 26px;align-items:center;gap:22px;min-width:0;padding:24px 28px;border:0;color:var(--blue)}.home-news-item+.home-news-item{border-top:1px solid #dce7ef}.home-news-item time{grid-column:1;grid-row:1;font-size:13px;line-height:1.7;color:#536a7c;white-space:nowrap}.home-news-item>span:not(.news-item-arrow){grid-column:2;grid-row:1;min-width:0;font-size:16px;font-weight:600;line-height:1.8;overflow-wrap:break-word}.home-news-item .news-item-arrow{grid-column:3;grid-row:1;align-self:center;justify-self:center;line-height:1}.home-news-item:hover{background:#f8fbfe}.home-news-item:focus-visible{outline-offset:-4px}
@media(max-width:900px){.home-news{padding:30px 0}.home-news h2{font-size:24px;margin-bottom:17px}.home-news-item{grid-template-columns:minmax(0,1fr) 22px;gap:8px 16px;padding:20px}.home-news-item time{grid-column:1;grid-row:1;font-size:12px}.home-news-item>span:not(.news-item-arrow){grid-column:1;grid-row:2;font-size:15px;line-height:1.85}.home-news-item .news-item-arrow{grid-column:2;grid-row:1/3}}

#home-greeting .school-director{width:min(100%,260px);max-width:100%;justify-self:center;align-self:center}
@media(max-width:900px){#home-greeting .school-director{width:min(65%,205px)}}
.school-channels{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

/* Show the whole portrait in the greeting, including the shoulders and jacket. */
:is(#home-greeting, #message) .school-director {
  width: min(100%, 360px);
  aspect-ratio: auto;
}
:is(#home-greeting, #message) .school-director img {
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  :is(#home-greeting, #message) .school-director {
    width: min(100%, 280px);
  }
}

.school-news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}
.school-news-feed li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  align-items: baseline;
  gap: .35rem 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #dce7ef;
}
.school-news-feed li > span { color: #536a7c; font-size: .875rem; }
.school-news-feed a { color: var(--blue); font-weight: 600; overflow-wrap: anywhere; }
.school-news-feed a:hover, .school-news-more:hover { text-decoration: underline; }
.school-news-more { display: block; padding: .9rem 1.4rem; color: var(--blue); text-align: right; }
@media (max-width: 680px) {
  .school-news-feed li { grid-template-columns: minmax(0, 1fr); padding: .85rem 1rem; }
}
@media (max-width: 900px) {
  .header > a.school-brand {
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: white;
  }
  .header > a.school-brand > .school-logo { display: none !important; }
  .header > a.school-brand::after {
    content: "個別英数学院";
    font: 700 clamp(18px, 5vw, 23px)/1.3 var(--sans);
    white-space: nowrap;
  }
  .header #navigation { background: var(--blue); color: white; }
  .header #navigation .submenu {
    margin: 0 12px 14px;
    padding: 0 0 0 16px;
    background: transparent;
    border: 0;
    border-inline-start: 1px solid rgba(255,255,255,.38);
    border-radius: 0;
  }
  .header #navigation .submenu a {
    min-height: 44px;
    padding: 9px 0 9px 4px;
    color: white;
    background: transparent;
  }
  .header #navigation .submenu a:is(:hover, :focus-visible, [aria-current="page"]) {
    text-decoration: underline;
    text-underline-offset: 4px;
    outline-color: white;
  }
}
