/* Figma completion frames: PC 2333:515 / SP 2334:813.
   Requested changes retained: responsive FV, square portraits, mobile autoplay,
   readable PBL text, larger LINE title, and mobile skills image omission. */
:root{--orange:#ff5c0b;--cream:#fdf9f3;--pale:#f1f8ff}
.block-title h2{font-weight:700;letter-spacing:0;color:#1e1e1e}
#reasons h2,#weekly h2,#voices h2{color:#092d63}
#projects,#teacher{background:#fff}#projects{background:#fdf9f3}
#annual{background:#f3f8ff}#application{background:#fff}
#cases .wrap{position:relative}
#cases .block-title{position:relative;z-index:1}
#cases .case-ages{display:block}#cases .case-ages:after{display:none}
#cases .case-four{color:#ff5c0b}
.career{display:block;padding:0;border:0;border-radius:10px;overflow:hidden;--case-color:#ee803f;background:#fff3e8}
.case-2{background:#fff3e8}.case-3{background:#fffbe7;--case-color:#c5aa37}.case-4{background:#eff6fe;--case-color:#3876c5}.case-5{background:#f5efff;--case-color:#8565bd}
.career-body{display:grid;align-content:center;gap:12px;padding:24px}
.career-guide{font-size:16px;font-weight:700;color:var(--case-color)}
.career-heading{display:flex;align-items:center;gap:20px}
.career .eyebrow,.career .career-age{margin:0;font-size:32px;font-weight:700;color:var(--case-color)}
.career-body>img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.career h3{font-size:20px;margin:0;color:#092d63;line-height:1.65}
.career-theme{display:inline;margin:0;font-size:inherit}.career-theme:after{content:'｜'}
.career-subjects,.case-2 .career-subjects,.case-3 .career-subjects,.case-4 .career-subjects,.case-5 .career-subjects{display:flex;gap:0 12px;border-radius:0;background:none;padding:0;font-size:16px;line-height:1.5}
.career-subjects span:not(:last-child):after{content:'｜';margin-left:12px}
.case-tabs button{border:1px solid #ff5c0b66;border-radius:22px;background:white;color:#0a2b63;font-weight:700}
.case-tabs button[aria-pressed=true]{background:#fff3e8;color:#0a2b63;border-color:#ff5c0b}
.project-photo{width:100%;height:auto;object-fit:cover;border-radius:0}
.project-lead{display:block;margin:0;padding:0}.project-flow{display:grid;grid-template-columns:1fr 3fr;gap:28px;margin:22px 0}
.dx-feature{border-radius:10px;padding:24px 20px;display:flex;flex-direction:column;justify-content:center;gap:12px;color:white;background:linear-gradient(#493b3bcc,#493b3bcc),url('assets/pbl-nsg.webp') center/cover;text-align:center}
.dx-feature h3{color:white;font-size:26px}.dx-feature p{font-size:18px;line-height:1.65}
#projects .process{margin:0;gap:24px}.process-card{padding:12px;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 8px #00000008}
#projects .process-card h3{color:#e86521;font-weight:700}.process-number{top:10px;left:10px}
.nsg{position:relative;border-radius:10px;overflow:hidden;background:#ff650a;color:#fff;padding:22px 28px;display:block;margin:18px 0}
.nsg>div{position:relative;z-index:1}.nsg>img{position:absolute;right:0;top:0;height:100%;width:55%;object-fit:cover;opacity:.3}.nsg h3,.nsg strong{color:white;font-size:inherit;display:inline}.nsg p{font-size:17px}.nsg strong{font-size:23px}
.domain-heading{font-size:15px;color:white;background:#7d8793;border-radius:4px;padding:10px}.domains{gap:0}.domains li{padding:12px 8px;border:1px solid #dce0e6;background:white;text-align:center;justify-content:center}
.fees-table{border-collapse:separate;border-spacing:0;width:100%;font-size:23px;border:1px solid #ccd7e5;border-radius:8px;overflow:hidden;color:#1e1e1e}
.fees-table th,.fees-table td{padding:14px 22px;border-right:1px solid #d1d8e3;border-bottom:1px solid #d1d8e3}.fees-table th{font-size:20px;text-align:left}.fees-table thead{background:#3765bd;color:white}.fees-table thead th:not(:first-child),.fees-table td{text-align:center}.fees-table tbody tr:first-child{background:#fff9eb}.fees-table tbody th{color:#163d6a}.fees-table th img{width:56px;float:left;margin-right:14px}.fees-table strong{color:#bf5943;font-size:32px}.fees-table small{font-size:18px}.fees-table tr:last-child>*{border-bottom:0}.fees-table tr>:last-child{border-right:0}
.teacher-profile{background:#083fa5;border:0;border-radius:8px;color:white;padding:32px;gap:36px;box-shadow:none}.teacher-profile h3,.teacher-profile p{color:white}.teacher-profile h3{font-weight:700}.teacher-profile blockquote{background:#fff1b8;color:#123b83;font-size:27px;border:0;border-radius:4px;padding:20px;margin:18px 0;white-space:pre-line}
#teacher .block-title em{color:#1748b8}.teacher-profile>img{width:280px;height:auto;object-fit:cover}
#annual .term{display:flex;flex-direction:column;background:#cf6b9f;color:white;padding:14px 10px}.calendar .term.autumn{background:#3375bd}.calendar .term>b{writing-mode:horizontal-tb;padding:0;background:none;color:inherit}.calendar .term p{padding:8px 0 0;font-size:17px}.calendar .break{display:flex;flex-direction:column;justify-content:center;gap:8px;background:#fbe8f2;font-size:17px}.calendar .break.autumn{background:#e0f2ff}.calendar .break>b{background:none;color:inherit;padding:0;font-size:16px}.calendar strong{font-size:16px;margin:0}.calendar-copy{font-size:16px;line-height:1.65}
#annual h2{color:#1e1e1e}.calendar-phrase{white-space:normal}
#voices .slides{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.voice{display:flex;align-items:center;padding:20px;gap:24px;border:0;border-radius:0;background:white}.voice>img,.voice>.voice-photo{width:36%;flex:none;aspect-ratio:1;object-fit:cover;border-radius:5px}.voice>div{padding:0;flex:1;min-width:0}.voice h3{font-size:23px}.voice p{font-size:14px}.voice blockquote{font-size:19px;margin-top:12px}.voice blockquote .keep{display:inline;white-space:normal}
#faq .faq-label{font-size:76px;line-height:1.1;color:#1e1e1e;font-weight:400;margin:0 0 8px}#faq .block-title h2{font-size:24px}.faq details{border:1px solid #d6e4f0;border-radius:10px;padding:20px;background:white}.faq .answer{background:#eff7fd;padding:14px;font-size:16px;line-height:1.65}.faq summary{font-weight:700}.faq summary>span{background:#eaf4fb;color:#123766}
.application-icons{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.application-icons img:first-child{width:144px}.application-icons img:last-child{width:76px}.application-card{background:#e5f2ff;border:0;border-radius:10px;padding:24px}.application-card>.eyebrow{color:#2162b0}.application-card h3{background:white;color:#18599e;margin:14px 0 0;padding:14px 14px 0;font-size:20px;border-radius:8px 8px 0 0}.application-period{background:white;padding:8px 14px 16px;margin:0 0 14px!important;border-radius:0 0 8px 8px;color:#1e1e1e;font-size:26px!important}.application-period>span{display:inline;font-size:inherit!important;color:inherit}.application-card ul{display:flex;flex-direction:column;gap:8px;padding:0;list-style:none}.application-card li{display:flex;align-items:center;gap:10px;font-size:16px;color:#123b76}.application-card li:before{display:none}.application-card li img{width:24px;height:24px;object-fit:contain}.application-button{font-size:15px;padding:8px 16px;min-height:44px}.closing{display:grid;grid-template-columns:1fr 270px;align-items:center;gap:20px 50px}.closing-tagline{grid-column:1;grid-row:1;background:linear-gradient(110deg,#ff9852,#9b8ed7);color:white;text-align:center;padding:20px;border-radius:0;font-size:27px;line-height:1.5;margin:0}.closing h2{grid-column:1;grid-row:2;color:#1e1e1e}.closing>img{grid-column:2;grid-row:1/3;max-width:100%;width:270px;height:auto}.closing h2 em{color:#ff650a}
#contact .cta-pair{grid-template-columns:1fr;gap:12px;margin-top:20px}#contact .cta{padding:16px;text-align:center;min-height:0;gap:8px}#contact .cta strong{display:flex;align-items:center;justify-content:center;gap:12px;font-size:25px;width:100%;line-height:1.5}#contact .cta strong img{width:28px;height:28px;object-fit:contain}#contact .cta strong b{margin-left:auto;font-size:30px}#contact .cta strong>span{flex:1}#contact .cta strong br{display:none}#contact .cta>span{font-size:16px}
footer{background:#fff;color:#123762;padding:32px 0}.footer-layout{background:#f1f8ff;border-radius:8px;padding:24px;gap:24px}.footer-layout address{color:#123762}.footer-layout button{color:#123762;background:#e8f1fa;border:0}
@media(min-width:768px){
 .wrap{max-width:1320px;width:calc(100% - 64px)}.block{padding:40px 0}.block-title{margin-bottom:24px}
 #cases{padding-top:0}#cases .block-title{min-height:210px;text-align:left;display:flex;align-items:center;padding:30px;max-width:62%;margin:0}#cases .block-title h2{font-size:32px}#cases>.wrap>.lead-photo{position:absolute;top:0;right:0;width:60%;height:210px;object-fit:cover;object-position:center;margin:0;border-radius:0;mask-image:linear-gradient(to right,transparent,black 30%)}
 #cases .slides{gap:14px}.career-body{grid-template-columns:36% 1fr;grid-template-rows:auto auto auto auto;column-gap:28px;padding:18px;min-height:285px}.career-body>img{grid-column:1;grid-row:1/5;max-height:310px}.career-body>:not(img){grid-column:2}.career:nth-child(even){background:#fff3e8}#cases .slide-item:nth-child(even) .career-body{grid-template-columns:1fr 36%}#cases .slide-item:nth-child(even) .career-body>img{grid-column:2}#cases .slide-item:nth-child(even) .career-body>:not(img){grid-column:1}.career-guide{justify-self:start;background:var(--case-color);color:white;padding:2px 12px;font-size:16px}.career-heading .eyebrow{font-size:22px;line-height:1.1;max-width:62px;padding:5px;border:1px solid currentColor;background:white}.career-heading .career-age{font-size:32px}.career h3{font-size:19px}.career-subjects{font-size:16px}
 #skills>.wrap{position:relative}#skills .block-title,#skills .lead{position:relative;z-index:1;text-align:left;width:65%}#skills .lead-photo{position:absolute;right:0;top:0;width:55%;height:170px;object-fit:cover;margin:0;mask-image:linear-gradient(to right,transparent,black 35%)}#skills .slider{margin-top:50px}.skill{border-radius:8px}.subjects li{background:none;border:0;padding:0;font-size:18px;min-height:0}.subjects{gap:4px;border-top:1px solid #ddd;padding-top:16px}
 #projects>.wrap{position:relative}#projects .block-title{position:relative;z-index:1;text-align:left;max-width:65%;padding:22px 28px;margin:0;min-height:160px}#projects .block-title h2{font-size:36px}#projects .project-photo{position:absolute;right:0;top:0;width:55%;height:215px;mask-image:linear-gradient(to right,transparent,black 30%)}#projects .project-lead{position:relative}#projects .project-lead h3{text-align:left;padding-left:28px;font-size:19px;margin-bottom:32px}.project-caption,.project-name{display:inline;font-size:19px;font-weight:400}.project-copy-line{display:inline}#projects .project-lead p{text-align:center;font-size:18px;margin:0}#projects .process-card h3{font-size:21px}#projects .process-card p{font-size:16px}.domain-heading{float:left;width:16%;min-height:94px;margin:0}.domains{width:84%;grid-template-columns:repeat(6,minmax(0,1fr))}.domains li{font-size:11px;min-height:47px;padding:6px}.domains img{width:23px;height:23px}
 #tuition .fees,#tuition>.wrap>.block-title{display:none}.advanced{margin:14px 0;background:#f7fbff;padding:10px;text-align:center;font-size:18px}.advanced strong{font-size:26px}.cost-breakdown{max-width:none}.selection{display:flex;justify-content:space-between}
 #timing>.wrap{position:relative;padding-top:35px}#timing .block-title{position:relative;z-index:1;margin:0 auto;width:72%;min-height:105px}#timing .block-title h2{font-size:31px}#timing .timing-photos{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;height:240px;pointer-events:none}#timing .timing-photos img{width:23%;height:240px;object-fit:cover}#timing .note{position:relative;text-align:center;font-size:15px;margin-bottom:70px}#timing .note br{display:none}.timing-axis{margin-left:18%}.timing-axis>div{padding-top:0}.timing-comparison{grid-template-columns:1fr;gap:18px}.timing-option{display:grid;grid-template-columns:15% 19% 22% 1fr;gap:12px;align-items:center;border:0;padding:0;position:relative;min-height:115px}.timing-option h3{background:#ef7937;color:white;border-radius:8px;padding:18px 10px;font-size:20px;text-align:center;margin:0}.timing-option.is-later h3{background:#929292;color:white}.period-bar{display:none}.period-detail{background:#f2f2f2;margin:0;padding:18px 10px;min-height:100px;justify-content:center;text-align:center;font-size:15px}.study-detail{background:#e9f3ff}.work-period{background:#f68248;color:white;min-height:100px;padding:14px}.work-period p{font-weight:500;font-size:16px}.work-period strong{color:#ec7536;border:1px solid currentColor;border-radius:100%;background:white;min-width:100px;min-height:100px;display:flex;align-items:center;justify-content:center;font-size:36px;margin-right:-5px}.is-later .work-period{background:#ffd0bb;color:#444}.is-later .work-period strong{background:white}.period-inactive{position:absolute;left:16%;bottom:-22px;font-size:13px}.is-later .study-detail{grid-column:3}.is-later .work-period{grid-column:4}#timing .timing-result{margin:34px auto 0;max-width:850px;background:white;border:1px solid #f36518;border-radius:8px;padding:12px;font-size:25px}#timing .timing-result br{display:none}
 #simulation .wrap{max-width:1080px}.line-promo h2{justify-content:center;font-size:18px}.line-promo h2 br{display:none}.line-promo button{display:grid;grid-template-columns:55px 1fr 36px;gap:3px 16px;position:relative;padding:18px 28px 18px 90px}.simulation-kicker{grid-column:1/4}.simulation-kicker img{position:absolute;left:25px;top:38px}.line-promo strong{grid-column:1/4;text-align:left;white-space:nowrap}.simulation-receive{display:inline;margin-left:10px;font-size:18px}.line-promo .simulation-detail{grid-column:1/4}.simulation-arrow{position:absolute;right:24px;top:45px}
 #weekly>.wrap{display:grid;grid-template-columns:28% 1fr;column-gap:24px;position:relative}#weekly .block-title{grid-column:2;text-align:left;border-left:4px solid #ff945e;padding-left:24px;margin-bottom:10px}#weekly .week-intro{display:contents}#weekly .week-intro>img{position:absolute;left:0;top:0;width:26%;height:100%;object-fit:cover;border-radius:0}#weekly .week-intro p{grid-column:2;font-size:17px;margin:0 0 16px}#weekly .week-intro p br{display:none}#weekly .weekdays,#weekly .week-label{display:none}.study-plan{grid-column:2;display:grid;grid-template-columns:1fr 2fr;gap:0;margin:0;background:#fff8ee}.study-plan .study-time{font-size:15px;padding:46px 8px 8px;margin:0;grid-row:1;background:#edf7ff}.study-plan .weekday-time{grid-column:1}.study-plan .weekend-time{grid-column:2;background:#fff8ee}.study-plan .weekday-card{grid-column:1;grid-row:2;padding:8px 14px;display:block;background:#edf7ff;border-radius:0;position:relative}.study-plan .weekend-cards{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:0}.study-plan article{position:relative;padding:8px 14px;display:block;border-radius:0;background:#fff8ee}.study-plan h3{position:absolute;top:-80px;left:0;right:0;padding:4px;background:#326bc0;color:white;font-size:19px;text-align:center;grid-column:auto}.study-plan img{width:55px;height:48px;margin:0 auto 8px}.study-plan ul{font-size:15px;padding-left:18px;grid-column:auto}.study-result{grid-column:2;font-size:18px;text-align:left;padding:10px;margin-top:12px}.study-result br{display:none}
 #annual .block-title{text-align:left;margin-bottom:12px}#annual h2{font-size:25px}#annual h2 em{color:#1e1e1e}.teacher-profile{max-width:1100px;margin:auto;grid-template-columns:280px 1fr}.teacher-profile h3{font-size:30px}.teacher-profile p{font-size:18px}
 #application .application-card{max-width:1000px;margin:auto}#application .application-icons{max-width:800px;margin:0 auto 12px}.application-card>.eyebrow{font-size:35px}.application-card ul{flex-direction:row;justify-content:center;gap:30px}.application-card .application-button{margin:16px auto 0;width:240px}.application-until{padding:0 12px}.application-card .application-period br{display:none}
}
@media(max-width:767px){
 .block{padding:32px 0}.wrap{width:calc(100% - 40px);max-width:500px}.block-title{text-align:left;margin-bottom:16px}.block-title h2{font-size:25px;line-height:1.5;letter-spacing:0;font-weight:700}.lead{text-align:left;font-size:15px}.block-title .keep{display:inline}
 #reasons{padding-top:20px;padding-bottom:20px}#reasons h2{font-size:23px}#reasons .reasons-grid{gap:12px}.reason{padding:14px;grid-template-columns:44px minmax(0,1fr);gap:6px 12px}.reason h3{font-size:20px;line-height:1.5}.reason p{font-size:14px;line-height:1.6}.reason-mark{width:44px}.reason-mark img{width:44px;height:43px}
 #skills .block-title h2{font-size:26px;color:#1e1e1e}#skills .lead{margin-bottom:20px}.slider-nav{gap:12px;margin-top:14px}.slider-nav button{border-radius:22px;width:100px;height:44px;min-height:44px;font-size:15px;font-weight:700;padding:0}.slider-nav button[data-direction='1']{background:#ff5c0b;color:white;border-color:#ff5c0b}.slider-nav button:disabled{background:#f1f3f5;color:#a8b0ba;border:1px solid #d8e0e8}.slider-nav output{font-size:15px;font-weight:700}
 #projects .block-title h2{font-size:25px}#projects .project-photo{border-radius:8px;margin:14px 0;height:auto}#projects .project-lead h3{line-height:1.6;margin:12px 0}.project-caption{font-size:15px;font-weight:400}.project-name{font-size:18px}#projects .project-lead p{font-size:14px;margin-bottom:0}.project-flow{display:flex;flex-direction:column;gap:14px;margin:14px 0}.dx-feature{min-height:176px;padding:18px;gap:5px}.dx-feature h3{font-size:23px}.dx-feature p{font-size:16px}#projects .process{gap:14px}#projects .process-card{grid-template-columns:minmax(90px,43%) minmax(0,1fr);gap:5px 12px;border-radius:8px;padding:12px 10px;min-height:100px}#projects .process-card img{width:100%;height:auto;max-height:90px;object-fit:cover}#projects .process-card h3{font-size:15px}#projects .process-card p{font-size:12px}.process-number{top:6px;left:6px;width:24px;height:24px;font-size:12px}.nsg{padding:16px;margin:14px 0}.nsg p{font-size:14px}.nsg h3{font-size:16px}.nsg strong{font-size:22px}.nsg>img{width:100%;opacity:.2}.domain-heading{font-size:14px;margin:16px 0 0}.domains{grid-template-columns:repeat(3,minmax(0,1fr))}.domains li{font-size:10px;padding:10px 3px;gap:3px;min-height:50px}.domains img{width:18px;height:18px}
 #cases .block-title{margin:0 0 18px}#cases .block-title h2{font-size:23px;line-height:1.5;color:#1e1e1e;letter-spacing:-.02em}#cases .case-ages{font-size:22px;margin:0}#cases .case-four{color:inherit}#cases .lead-photo{width:100%;height:auto;aspect-ratio:350/243.511;object-fit:cover;margin:0 0 18px}.case-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.case-tabs button{height:44px;min-height:44px;font-size:14px;padding:0 12px;flex:none}.case-tabs button:nth-child(1){width:30%}.case-tabs button:nth-child(2){width:calc(70% - 8px)}.case-tabs button:nth-child(3){width:20%}.case-tabs button:nth-child(4){width:calc(49% - 8px)}.case-tabs button:nth-child(5){width:calc(31% - 8px)}#cases .slide-item{padding:0 16px}.career{padding:0;border:0;border-radius:10px}.career-body{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px}.career-guide{font-size:14px;line-height:1.65}.career-heading{gap:12px;flex-wrap:wrap}.career .eyebrow,.career .career-age{font-size:22px;line-height:1.45}.career-body>img{width:100%;height:auto;aspect-ratio:290/243.6;object-fit:cover;border-radius:8px}.career h3{font-size:16px;line-height:1.65;margin:0}.career-theme{display:block}.career h3 .keep{display:inline;white-space:normal}.career-subjects{font-size:14px;gap:0 8px;line-height:1.5}.career-subjects span:not(:last-child):after{margin-left:8px}#cases .slider-nav{margin-top:12px}
 .fees-table{display:none}#tuition .fees{display:block}.fee{padding:14px 0;border:0;background:none}.fee+.fee{margin-top:14px}.fee h3{font-size:16px}.fee>strong{font-size:28px}.fee.featured>strong{font-size:38px}.fee .fee-bar{height:12px}.advanced{font-size:15px;padding:14px;margin:16px 0}.advanced strong{font-size:25px}
 #timing .block-title h2{font-size:23px}#timing .note{font-size:14px}#timing .timing-photos{margin:14px 0}.timing-option{padding:16px}#simulation{padding:20px 0}.line-promo{padding:16px}.line-promo button{width:100%}.line-promo strong{font-size:clamp(18px,6.15vw,24px)}
 #weekly .block-title h2{font-size:25px}#weekly .week-intro{gap:14px;margin:0 0 14px;align-items:center}#weekly .week-intro img{width:110px;height:170px}#weekly .week-intro p{font-size:15px;line-height:1.65}.weekdays{gap:4px;margin:0 0 6px}.week-label{margin:0 0 14px}.study-plan{display:flex;flex-direction:column;gap:12px;margin:0}.study-plan .study-time{font-size:18px;line-height:1.6;margin:0;grid-column:auto}.study-plan .weekend-time{color:#e56822}.study-plan .weekday-card{display:grid;grid-template-columns:120px 1fr;padding:14px;border-radius:10px;background:#eaf6ff;gap:8px 12px}.study-plan .weekday-card h3{grid-column:1;text-align:center;font-size:20px;color:#2265ad}.study-plan .weekday-card img{grid-column:1;grid-row:2;width:120px;height:95px}.study-plan .weekday-card ul{grid-column:2;grid-row:1/3;padding-left:14px;font-size:13px;align-self:center}.study-plan .weekend-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.study-plan .weekend-cards article{display:flex;flex-direction:column;align-items:stretch;gap:10px;background:#fff3e5;border-radius:10px;padding:14px 10px}.study-plan .weekend-cards h3{font-size:20px;text-align:center;grid-column:auto;color:#2265ad}.study-plan .weekend-cards img{width:120px;height:100px;margin:auto}.study-plan .weekend-cards ul{padding-left:16px;font-size:13px;grid-column:auto}.study-result{font-size:16px;text-align:left;padding:14px;line-height:1.65;margin-top:14px}.study-result:before{content:'→ '}
 #annual .block-title{margin-bottom:14px}#annual h2{font-size:23px}#annual h2 em{display:block;color:#1e1e1e;font-size:28px}.calendar-copy{font-size:14px;line-height:1.65;margin-bottom:16px}.calendar{grid-template-columns:2.15fr 1fr;gap:8px}.calendar .term{padding:10px 6px}.calendar .term>b{padding:0}.calendar .term p{font-size:14px;white-space:normal;padding:6px 0 0}.calendar .break{font-size:14px;padding:10px 4px;gap:6px}.calendar .break>b,.calendar strong{font-size:14px}
 #voices .slides{display:block}.voice{display:block;padding:0;border-radius:8px;overflow:hidden}.voice>img,.voice>.voice-photo{width:100%;border-radius:0;aspect-ratio:1;height:auto}.voice>div{padding:18px 14px;text-align:center}.voice h3{font-size:22px}.voice p{font-size:14px}.voice blockquote{font-size:18px;line-height:1.65}.voice blockquote .keep{display:inline-block}#slider-3-item-4 blockquote{font-size:18px}
 #teacher .block-title h2{font-size:25px}.teacher-profile{display:flex;flex-direction:column;padding:18px;gap:14px;margin:0;align-items:stretch}.teacher-profile>img{width:210px;height:285px;margin:auto}.teacher-profile h3{font-size:23px;margin:0 0 14px}.teacher-profile p{font-size:15px;line-height:1.65}.teacher-profile blockquote{font-size:21px;padding:14px;line-height:1.5;margin:14px 0}
 #faq .block-title{text-align:left;margin-bottom:16px}#faq .faq-label{font-size:56px;line-height:1.1}#faq .block-title h2{font-size:18px}.faq{gap:12px}.faq details{padding:14px}.faq summary{font-size:16px;line-height:1.5}.faq .answer{padding:12px 10px;font-size:14px;margin-top:12px}.faq summary>span{width:26px;height:26px;flex:none}
 #application .block-title h2{font-size:25px}.application-card{padding:16px}.application-card>.eyebrow{font-size:26px;margin:0}.application-card h3{font-size:17px;padding:12px 14px 0}.application-period{font-size:18px!important;line-height:1.4}.application-period>span{display:block}.application-card li{font-size:15px}.application-card .application-button{margin-top:12px}.application-card ul{gap:8px}#application .note{text-align:left;font-size:13px;line-height:1.8}
 #contact{padding:24px 0}.closing{display:flex;flex-direction:column;gap:14px;margin:0}.closing-tagline{font-size:23px;line-height:32px;padding:24px 14px;width:100%;order:0}.closing>img{order:1;width:270px;max-width:100%;height:auto;margin:0 auto}.closing h2{order:2;width:100%;text-align:center;font-size:24px;line-height:1.6;margin:0}.closing-line{white-space:nowrap}#contact .cta-pair{margin-top:14px;gap:14px}#contact .cta{padding:14px 12px}#contact .cta strong{font-size:17px;gap:7px}#contact .cta strong img{width:20px;height:20px}#contact .cta strong b{font-size:25px}#contact .cta strong br{display:block}#contact .cta>span{font-size:13px}#contact .cta-line strong{font-size:20px}.contact-phone{margin-top:14px;font-size:20px}.contact-phone small{font-size:12px}
 footer{padding:24px 0}.footer-layout{padding:16px;display:block}.footer-layout h2{font-size:20px}.footer-layout address{font-size:14px}.footer-layout nav{display:flex;flex-direction:column;gap:8px;margin-top:16px}.footer-layout button{min-height:40px;text-align:left;padding:8px 12px}
}
@media(max-width:374px){.block-title h2,#weekly .block-title h2{font-size:22px}.reason h3{font-size:18px}.reason p{font-size:12px}#cases .block-title h2{font-size:20px}#cases .case-ages{font-size:19px}.case-tabs button{font-size:12px;padding:0 6px}.career .eyebrow,.career .career-age{font-size:19px}.career-guide{font-size:12px}.career h3{font-size:14px}.career-subjects{font-size:12px}#weekly .week-intro img{width:90px;height:145px}#weekly .week-intro p{font-size:13px}.study-plan .weekday-card{grid-template-columns:95px 1fr;gap:8px}.study-plan .weekday-card img{width:95px}.study-plan .weekday-card ul{font-size:12px}.closing h2{font-size:21px}#contact .cta strong{font-size:15px}#contact .cta-line strong{font-size:18px}#projects .process-card h3{font-size:13px}#projects .process-card p{font-size:11px}}
/* Final visual alignment and medium-width safeguards. */
#annual .calendar .term.autumn{background:#3375bd;color:white}
#teacher .block-title em{display:inline;white-space:normal}
#teacher .teacher-profile blockquote{white-space:normal}
#projects .project-photo{object-position:center top}
@media(min-width:1051px){
 #cases .block-title h2{font-size:40px}#cases .block-title{min-height:300px;max-width:64%;padding:30px}#cases>.wrap>.lead-photo{height:300px;width:62%;object-position:center 38%}
 .career-body{position:relative;grid-template-columns:36% 1fr;min-height:340px;padding:24px 28px;gap:12px 28px;align-content:center}.career-body>img{position:absolute;left:0;top:0;width:38%;height:100%;max-height:none;border-radius:0;clip-path:polygon(0 0,100% 0,88% 100%,0 100%)}.career-body>:not(img){align-self:center}.career-guide{align-self:start;line-height:1.5;height:auto}.career-heading .career-age{font-size:42px}.career-heading .eyebrow{font-size:25px}.career h3{font-size:22px}.career-subjects{font-size:18px}
 #cases .slide-item:nth-child(even) .career-body>img{left:auto;right:0;clip-path:polygon(12% 0,100% 0,100% 100%,0 100%)}
 #projects .block-title h2{font-size:42px}#projects .block-title{min-height:165px}#projects .project-photo{height:225px}
 .intro-label{font-size:23px;letter-spacing:.2em}.enrollment h2{font-size:36px}.enrollment p{font-size:23px}.enrollment img{width:210px}.proofs>div{font-size:20px}.proofs img{width:95px;height:95px}
}
@media(min-width:768px){
 #voices .block-title br,#teacher .block-title br,#reasons .block-title br{display:none}
 #voices .block-title h2,#teacher .block-title h2{font-size:36px}
 #teacher .teacher-profile{align-items:center}
 .career-guide{align-self:start;justify-self:start}
 #cases .career-body{grid-template-rows:repeat(4,min-content)}
 #cases .career-body>img{grid-row:1/5}
 .nsg{padding:20px 28px;min-height:150px}.nsg p{margin:4px 0}.nsg strong{margin:0}
}
@media(min-width:768px) and (max-width:1050px){
 .wrap{width:calc(100% - 40px)}.block-title h2{font-size:28px}.career-body{grid-template-columns:36% 1fr;padding:18px;gap:10px 20px}.career-heading{gap:12px}.career-heading .career-age{font-size:26px}.career h3{font-size:17px}.career-subjects{font-size:14px}#cases .block-title h2{font-size:27px}#cases .block-title{padding:20px;max-width:66%}.career-guide{font-size:12px}
 #projects .block-title h2{font-size:29px}.project-flow{grid-template-columns:1fr 3fr;gap:12px}#projects .process{gap:10px}.dx-feature{padding:12px}.dx-feature h3{font-size:20px}.dx-feature p{font-size:14px}#projects .process-card h3{font-size:16px}#projects .process-card p{font-size:13px}.domains{grid-template-columns:repeat(3,1fr)}.domain-heading{min-height:180px}
 .fees-table{font-size:17px}.fees-table th{font-size:15px}.fees-table strong{font-size:22px}.fees-table td,.fees-table th{padding:10px}.fees-table th img{width:35px}.fees-table small{font-size:12px}
 #timing .block-title h2{font-size:24px}.timing-option{gap:8px}.timing-option h3{font-size:16px}.period-detail{font-size:12px;padding:12px 4px}.work-period{gap:4px;padding:8px}.work-period p{font-size:12px}.work-period strong{font-size:25px;min-width:70px;min-height:70px}.work-period strong small{font-size:12px}
 #weekly>.wrap{grid-template-columns:23% 1fr}#weekly .week-intro>img{width:21%}#weekly .block-title{padding-left:14px}#weekly h2{font-size:28px}#weekly .week-intro p{font-size:14px}.study-plan .study-time{font-size:12px}.study-plan article,.study-plan .weekday-card{padding:8px}.study-plan ul{font-size:12px}.study-result{font-size:14px}
 .voice{padding:14px;gap:14px}.voice h3{font-size:19px}.voice p{font-size:12px}.voice blockquote{font-size:15px}.teacher-profile{grid-template-columns:220px 1fr;padding:24px}.teacher-profile>img{width:220px}.teacher-profile p{font-size:15px}.teacher-profile blockquote{font-size:23px}.line-promo strong{font-size:27px}.simulation-receive{font-size:15px}.closing{gap:20px}.closing-tagline{font-size:22px}.closing h2{font-size:26px}
}
@media(max-width:767px){
 #teacher .block-title h2{font-size:25px;text-wrap:pretty}#teacher .block-title em{word-break:normal}
 .closing-tagline{font-family:inherit;font-weight:700;font-size:22px}
 .career-heading{gap:8px;flex-wrap:nowrap}.case-2 .career-age,.case-4 .career-age{font-size:18px}.case-2 .eyebrow,.case-4 .eyebrow{font-size:20px}
}
@media(min-width:768px){
 .costs{max-width:none;padding:24px}.costs dl{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;padding:0;background:none;border-radius:0}.costs dl>div{padding:12px;background:#ffffffb3;border-bottom:1px solid #d2e0ee}.costs dl>div:nth-child(2){grid-column:1;grid-row:2}.costs dl>div:nth-child(3){grid-column:2;grid-row:1}.costs dl>div:nth-child(4){grid-column:2;grid-row:2}.costs .total{border-top:1px solid #7595a8;margin-top:48px;background:#ffffffb3;padding:8px 16px}.selection{max-width:none;border:1px solid #8eafc6;background:transparent;text-align:left;padding:12px 20px}
 #timing .timing-photos{max-width:none;width:100%;margin:0}.timing-axis{border-bottom:1px solid #3a6992;padding-bottom:8px;position:relative}.timing-axis:after{content:'›';position:absolute;right:-7px;bottom:-18px;font-size:26px;color:#3a6992}
 #voices .voice{min-height:245px}
}
@media(max-width:767px){.fv-description>span{white-space:normal}.fv-description>span:first-child{white-space:nowrap}}
@media(max-width:374px){
 #cases .block-title h2{font-size:clamp(17px,5.5vw,20px)}#cases .case-ages{font-size:clamp(17px,5.8vw,20px)}
 .career-heading{display:flex;flex-wrap:wrap;gap:2px 12px}.career-heading .eyebrow{white-space:nowrap;font-size:19px}.career-heading .career-age{font-size:17px;white-space:nowrap}
 .case-2 .career-heading,.case-4 .career-heading{flex-direction:column;align-items:flex-start}
}
@media(min-width:768px){
 .timing-option{grid-template-columns:15% 17% 20% 1fr}.timing-option.is-later{grid-template-columns:15% 20% 20% 1fr}.timing-option .work-period{background:linear-gradient(to right,#f68248 calc(100% - 115px),transparent calc(100% - 115px));border-radius:0;min-height:105px}.timing-option.is-later .work-period{background:linear-gradient(to right,#ffd0bb calc(100% - 115px),transparent calc(100% - 115px))}.timing-option .work-period strong{margin-right:0}.timing-option h3{font-size:18px}.timing-option .period-detail span{max-width:155px}.work-period p{white-space:nowrap;font-size:15px}
}
@media(min-width:768px) and (max-width:1050px){.timing-option h3{font-size:14px}.timing-option .work-period{background:linear-gradient(to right,#f68248 calc(100% - 72px),transparent calc(100% - 72px))}.timing-option.is-later .work-period{background:linear-gradient(to right,#ffd0bb calc(100% - 72px),transparent calc(100% - 72px))}.work-period p{font-size:11px}.work-period>img{display:none}}
.application-link{font:inherit;color:inherit;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){#voices .slides,#voices .slide-item,#voices .voice{height:auto;min-height:0}#voices .voice>div{height:auto}}

/* SP reference: Figma 2334:1004, 2334:1013, 2334:1166. */
.sp-nsg-break{display:none}.tuition-icon{display:none}.advanced>p{margin:0}.nsg-support span+span:before{content:' '}
@media(max-width:767px){
 #projects .nsg{padding:16px;margin:14px 0;border-radius:8px;background:#ff6309;min-height:0;display:flex;flex-direction:column;gap:6px}
 #projects .nsg>div{display:flex;flex-direction:column;gap:6px}
 #projects .nsg p{margin:0;line-height:1.65;font-weight:700}
 #projects .nsg .nsg-intro{font-size:16px}
 #projects .nsg-support{display:flex;flex-direction:column;gap:6px;font-size:14px}
 #projects .nsg-support span+span{font-size:20px} .nsg-support span+span:before{content:none}
 #projects .nsg-message{display:flex;flex-direction:column;gap:6px;font-size:16px}
 #projects .nsg strong{font-size:32px;line-height:1.5;margin:0;white-space:nowrap}
 #projects .nsg>img{position:static;width:100%;height:auto;aspect-ratio:318/130;object-fit:cover;opacity:1;border-radius:0}
 .sp-nsg-break{display:block}
 #projects .domain-heading{float:none;width:auto;min-height:0;background:none;color:#092d63;font-size:18px;font-weight:700;line-height:1.65;padding:0;margin:14px 0;text-align:center}
 #projects .domains{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;padding:8px 0;background:#fff;border-radius:10px}
 #projects .domains li{border:0;background:none;min-height:32px;padding:0;gap:8px;text-align:left;justify-content:flex-start;font-size:14px;line-height:1.5;color:#092d63}
 #projects .domains img{width:20px;height:20px;object-fit:contain;flex-shrink:0}
 #projects .domains li:nth-child(10){font-size:12px;letter-spacing:-.4px}
 #tuition{background:#f7fbff;padding:32px 0}
 #tuition>.wrap{display:flex;flex-direction:column;gap:14px}
 #tuition .block-title{margin:0;text-align:left}#tuition .block-title h2{font-size:28px;line-height:1.5;color:#092d63}
 #tuition .fees{border-radius:12px;overflow:hidden;background:#fff;margin:0}
 #tuition .fee{padding:16px;margin:0;background:#fff;border:0;border-radius:0;display:flex;flex-direction:column;gap:8px;color:#1e1e1e}
 #tuition .fee h3{margin:0;color:#092d63;font-size:16px;line-height:1.65}
 .fee-crown{width:28px;height:28px;object-fit:contain;float:left;margin:12px 8px 0 0}
 #tuition .fee-amount{display:flex;align-items:center;justify-content:space-between;gap:8px}
 #tuition .fee-amount p{font-size:14px;color:#092d63;margin:0;line-height:1.65}
 #tuition .fee-amount strong{font-size:30px;color:#1e1e1e;line-height:1.5;white-space:nowrap}
 #tuition .fee-amount small{font-size:16px}
 #tuition .featured .fee-amount{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
 #tuition .featured .fee-amount strong{font-size:40px;color:#cb4c36}
 #tuition .fee-bar{margin:0;height:14px;background:#edf2f7;border-radius:7px}
 #tuition .fee-bar span{background:#91a8c4;border-radius:7px}
 #tuition .featured .fee-bar span{background:#ff5c0b}
 #tuition .fee .fee-diff{font-size:13px;font-weight:700;color:#1e1e1e;margin:0;line-height:1.65}
 #tuition .fee-diff b{font-size:20px;color:inherit}#tuition .fee-diff small{font-size:13px}
 #tuition .featured .fee-diff,#tuition .featured .fee-diff b{font-size:15px}
 #tuition .fee:last-child .fee-diff{color:#cb4c36}#tuition .fee .fee-difference{font-size:30px;color:inherit}
 #tuition .advanced{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:0;border-radius:12px;background:white;text-align:left;font-size:16px;line-height:1.5;color:#0a2b63}
 #tuition .advanced img{display:block;width:80px;height:76px;object-fit:contain}
 #tuition .advanced strong{display:block;font-size:30px;line-height:1.5;color:#0063de;white-space:nowrap}#tuition .advanced small{font-size:16px}
 #tuition .costs{padding:16px;margin:0;background:#e4f2ff;border-radius:10px}
 #tuition .costs h3{display:flex;align-items:center;gap:8px;font-size:19px;line-height:1.65;color:#092d63;margin:0 0 14px}
 #tuition .costs h3 img{display:block;width:27px;height:28px;object-fit:contain}
 #tuition .costs dl{margin:0;display:block}#tuition .costs dl>div{padding:10px 8px;background:#fff;display:flex;justify-content:space-between;gap:8px;border:0}
 #tuition .costs dt{font-size:14px;color:#1e1e1e;gap:8px}#tuition .costs dt img{width:24px;height:26px}
 #tuition .costs dd{font-size:15px;font-weight:700;color:#1e1e1e;white-space:nowrap}
 #tuition .total{margin:0;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0}
 #tuition .total span{font-size:15px;color:#092d63}#tuition .total strong{font-size:34px;color:#cb4c36;white-space:nowrap}#tuition .total small{font-size:16px}
 #tuition .selection{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 16px;margin:0;background:#edf6ff;border-radius:8px;font-size:17px;color:#092d63;font-weight:700}
 #tuition .selection img{display:block;width:24px;height:24px;object-fit:contain}
}
@media(max-width:359px){
 #projects .nsg strong{font-size:27px}#projects .nsg-support span+span{font-size:17px}
 #projects .domains li{font-size:12px;gap:5px}#projects .domains li:nth-child(10){font-size:10px}
 #tuition .fee h3{font-size:14px}#tuition .fee-amount strong{font-size:26px}#tuition .fee .fee-difference{font-size:26px}
 #tuition .advanced{gap:10px}#tuition .advanced img{width:60px}#tuition .advanced strong{font-size:26px}
 #tuition .costs h3{font-size:17px}#tuition .costs dt{font-size:12px}
}
@media(max-width:767px){#projects .nsg>div{padding:0}#projects .nsg .nsg-intro{line-height:1.5}#projects .nsg-message>span{line-height:1.5}}
/* Absolute photos must use the whole case card, not their former grid area. */
@media(min-width:1051px){
 #cases .career-body>img,#cases .slide-item:nth-child(even) .career-body>img{grid-area:auto;top:0;bottom:0;width:38%;height:100%;margin:0}
 #cases .career-body>img{left:0;right:auto}
 #cases .slide-item:nth-child(even) .career-body>img{left:auto;right:0}
}
#contact .cta strong{justify-content:flex-start;text-align:left}
#contact .cta strong img{align-self:flex-start;margin-top:5px}
.contact-phone{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.contact-phone>img{width:28px;height:28px;object-fit:contain}
@media(max-width:767px){
 .closing h2{text-align:left}
 #contact .cta-request strong{font-size:16px}
 #contact .cta-line strong>span{font-size:16px}#contact .cta-line strong>span::first-line{font-size:14px}
 #contact .contact-phone{font-size:16px;gap:6px}.contact-phone>img{width:24px;height:24px}#contact .contact-phone small{font-size:12px}
 #timing .block-title h2{font-size:22px;text-wrap:balance}
 .calendar-copy{text-wrap:pretty}
}
@media(max-width:359px){#contact .cta-request strong{font-size:13px}#contact .cta-line strong>span{font-size:14px}#timing .block-title h2{font-size:20px}}
@media(max-width:767px){#contact .cta-line strong>span{font-size:20px}#contact .cta-line strong>span::first-line{font-size:16px}}
@media(max-width:359px){#contact .cta-line strong>span{font-size:17px}}
@media(min-width:768px) and (max-width:1050px){#weekly .week-intro>img{height:auto;aspect-ratio:174/279;object-fit:cover}}
#contact .cta-request strong>span{font-size:inherit}
@media(min-width:768px) and (max-width:1050px){#cases .career-body>img{height:auto;aspect-ratio:502/340;object-fit:cover;align-self:center}}

/* Desktop case cards: reserve separate image/text regions and keep badges inside their borders. */
@media(min-width:768px){
 #cases .career-heading .eyebrow{flex:0 0 70px;width:70px;max-width:none;padding:5px 7px;font-size:22px;line-height:1.15;box-sizing:border-box}
 #cases .career-heading .eyebrow span{display:block}
 #cases .career-heading{min-width:0;gap:18px}
 #cases .career-heading .career-age{min-width:0;line-height:1.35}
 #cases .career-subjects{font-size:16px;line-height:1.6;gap:4px 10px}
}
@media(min-width:1051px){
 #cases .career-body,#cases .slide-item:nth-child(even) .career-body{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:12px;min-height:340px;padding:30px 28px 30px 41%;box-sizing:border-box}
 #cases .slide-item:nth-child(even) .career-body{padding:30px 41% 30px 40px}
 #cases .career-body>:not(img){align-self:stretch;min-width:0;margin:0}
 #cases .career-body .career-guide{align-self:flex-start}
 #cases .career-body>img,#cases .slide-item:nth-child(even) .career-body>img{width:40%;height:100%;object-fit:cover;clip-path:polygon(0 0,100% 0,80% 100%,0 100%)}
 #cases .slide-item:nth-child(even) .career-body>img{clip-path:polygon(20% 0,100% 0,100% 100%,0 100%)}
 #cases .career-heading .career-age{font-size:clamp(30px,2.92vw,42px)}
 #cases .career h3{font-size:clamp(17px,1.53vw,22px);line-height:1.65;overflow-wrap:anywhere}
}
@media(min-width:768px) and (max-width:1050px){
 #cases .career-body,#cases .slide-item:nth-child(even) .career-body{grid-template-columns:minmax(0,36fr) minmax(0,64fr)}
 #cases .slide-item:nth-child(even) .career-body{grid-template-columns:minmax(0,64fr) minmax(0,36fr)}
 #cases .career-body>:not(img){min-width:0}
 #cases .career-heading{gap:10px}
 #cases .career-heading .eyebrow{flex-basis:56px;width:56px;font-size:18px;padding:4px}
 #cases .career-heading .career-age{font-size:24px}
 #cases .career-subjects{font-size:14px}
}

/* CASE 01 uses the PC Figma image at its original framing, not the mobile crop. */
.case-photo-pc{display:none}
@media(min-width:1051px){
 #cases .case-1 .career-body{aspect-ratio:1392/360;min-height:0}
 #cases .case-1 .career-body>img{display:none}
 #cases .case-1 .career-body>.case-photo-pc{display:block;position:absolute;left:0;top:0;width:39.87%;height:100%;margin:0;clip-path:polygon(0 0,100% 0,80% 100%,0 100%);overflow:hidden}
}
/* PC LINE card: icon at left, all copy on the same text axis, arrow at right. */
@media(min-width:768px){
 #simulation .line-promo{padding:18px 24px 20px}
 #simulation .line-promo h2{font-size:24px;margin-bottom:14px}
 #simulation .line-promo button{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:20px 96px 20px 150px;min-height:168px;color:#008736;text-align:left;position:relative}
 #simulation .simulation-kicker{display:block;line-height:1.4;font-size:20px;text-align:left}
 #simulation .simulation-kicker img{position:absolute;left:58px;top:50%;transform:translateY(-50%);width:64px;height:64px}
 #simulation .line-promo strong{font-size:44px;line-height:1.35;text-align:left;white-space:nowrap}
 #simulation .simulation-receive{display:inline;font-size:24px;margin-left:12px;vertical-align:baseline}
 #simulation .simulation-detail{display:block;text-align:left}
 #simulation .line-promo small{font-size:18px;line-height:1.5}
 #simulation .simulation-arrow{position:absolute;right:52px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#008736;color:white;font-size:38px;line-height:1;padding-bottom:4px}
}
@media(min-width:768px) and (max-width:1100px){
 #simulation .line-promo button{padding-left:104px;padding-right:62px;min-height:142px}
 #simulation .simulation-kicker img{left:28px;width:52px;height:52px}
 #simulation .line-promo strong{font-size:clamp(25px,3.6vw,38px)}
 #simulation .simulation-receive{font-size:18px;margin-left:6px}
 #simulation .simulation-arrow{right:20px;width:34px;height:34px;font-size:30px}
 #simulation .line-promo small{font-size:14px}
 #simulation .line-promo h2{font-size:20px}
}
@media(min-width:768px) and (max-width:1050px){
 #cases .case-1 .career-body>img{display:none}
 #cases .case-1 .career-body>.case-photo-pc{display:block;grid-column:1;grid-row:1/5;width:100%;height:auto;aspect-ratio:555/360;align-self:center;clip-path:polygon(0 0,100% 0,80% 100%,0 100%);overflow:hidden}
}

/* All PC photos use the original Figma artwork, with its original framing. */
@media(min-width:768px){
 #cases .career-body>img{display:none}
 #cases .career-body>.case-photo-pc{display:block;grid-column:1;grid-row:1/5;width:100%;height:auto;align-self:center;overflow:hidden}
 #cases .slide-item:nth-child(even) .career-body>.case-photo-pc{grid-column:2}
 #cases .career-heading .eyebrow{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px solid currentColor;border-radius:8px;line-height:1;margin:0;gap:3px;background:#fff}
 #cases .career-heading .eyebrow span:first-child{font-size:14px;line-height:1.15}
 #cases .career-heading .eyebrow span:last-child{font-size:28px;line-height:1.05}
}
@media(min-width:1051px){
 #cases .career{container-type:inline-size}
 #cases .career-body,#cases .slide-item:nth-child(even) .career-body{min-height:0;aspect-ratio:1392/360;padding-top:2.4cqw;padding-bottom:2.4cqw;gap:1cqw}
 #cases .case-2 .career-body{aspect-ratio:1392/363}
 #cases .case-4 .career-body{aspect-ratio:1392/334}
 #cases .case-5 .career-body{aspect-ratio:1392/323}
 #cases .career-body>.case-photo-pc,#cases .case-1 .career-body>.case-photo-pc{display:block;position:absolute;left:0;right:auto;top:0;width:39.87%;height:100%;margin:0;clip-path:polygon(0 0,100% 0,80% 100%,0 100%)}
 #cases .slide-item:nth-child(even) .career-body>.case-photo-pc{left:auto;right:0;width:43.68%;clip-path:polygon(17% 0,100% 0,100% 100%,0 100%)}
 #cases .case-4 .career-body>.case-photo-pc{width:40.45%}
 #cases .case-5 .career-body>.case-photo-pc{width:43.82%;clip-path:polygon(0 0,100% 0,82% 100%,0 100%)}
 #cases .case-5 .career-body{padding-left:44%}
 #cases .career-heading{gap:2.7cqw}
 #cases .career-heading .eyebrow{flex:0 0 7.5cqw;width:7.5cqw;height:7.5cqw;padding:.65cqw .9cqw;gap:.2cqw;border-radius:.6cqw}
 #cases .career-heading .eyebrow span:first-child{font-size:1.8cqw}
 #cases .career-heading .eyebrow span:last-child{font-size:3.5cqw}
 #cases .career-heading .career-age{font-size:3.8cqw;line-height:1.2}
 #cases .career-guide{font-size:1.65cqw;border-radius:5px;padding:.25cqw 1.2cqw;line-height:1.4}
 #cases .career h3{font-size:1.8cqw;line-height:1.5}
 #cases .career-subjects{font-size:1.6cqw;line-height:1.5}
 #cases .slide-item:nth-child(even) .career-body{padding-right:41%}
}
@media(min-width:1051px){
 #cases .career-subjects{font-size:1.35cqw;gap:4px .8cqw}
 #cases .career-subjects span:not(:last-child):after{margin-left:.8cqw}
 #cases #slider-2-item-4 .career-body>.case-photo-pc{width:40.45%}
}

/* PC review: preserve the two-row reasons and the original closing hierarchy. */
@media(min-width:768px){
 #reasons .reasons-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 #reasons .reason{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px 24px;padding:28px 30px;background:#fff;border:1px solid #eee4d8;border-radius:8px}
 #reasons .reason-mark{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:center;gap:12px;width:100px;margin:0;font-size:26px}
 #reasons .reason-mark img{width:80px;height:80px;object-fit:contain}
 #reasons .reason h3{grid-column:2;font-size:clamp(23px,2.35vw,34px);line-height:1.45;color:#163668;margin:0}
 #reasons .reason h3 .keep{display:block}
 #reasons .reason p{grid-column:2;font-size:18px;line-height:1.6;margin:0}
 #projects .nsg{padding:32px 40px;min-height:210px}
 #projects .nsg p{font-size:clamp(22px,2.2vw,32px);line-height:1.7;margin:0;font-weight:700}
 #projects .nsg strong{font-size:1.2em}
 #timing .work-period p{font-size:clamp(18px,1.75vw,22px);line-height:1.45;font-weight:700}
 #application>.wrap{max-width:1260px}
 #application .block-title{position:relative;border-left:5px solid #f17639;padding:8px 100px;margin-bottom:28px}
 #application .block-title h2{font-size:clamp(27px,2.8vw,38px)}
 #application .application-card{position:relative;max-width:none;padding:28px 40px;background:linear-gradient(135deg,#eaf3ff,#f0f3ff);border-radius:20px}
 #application .application-icons{justify-content:center;margin:0 auto 4px}
 #application .application-icons img:first-child{width:190px;height:auto}
 #application .application-icons img:last-child{position:absolute;right:40px;top:-110px;width:150px;height:auto}
 #application .application-card>.eyebrow{font-size:clamp(40px,4.4vw,60px);line-height:1.25;margin:0 auto 26px;text-align:center;color:#3867c5}
 #application .application-details{background:#fff;border-radius:22px;padding:20px 38px;box-shadow:0 4px 10px #4872b510}
 #application .application-details h3{display:flex;align-items:center;justify-content:center;gap:24px;background:none;padding:0;margin:0;font-size:24px;color:#3867c5}
 #application .application-details h3:before,#application .application-details h3:after{content:'';width:22%;height:1px;background:#809dce}
 #application .application-period{background:none;border-radius:0;padding:18px 0!important;margin:0!important;font-size:28px!important;border-bottom:1px solid #edf0f5}
 #application .application-card ul{background:none;padding:20px 0 0;margin:0;gap:24px;align-items:center}
 #application .application-card li{font-size:18px;color:#222;gap:12px}
 #application .application-card li+li:before{display:block;content:'/';margin-right:14px;font-size:25px;color:#333}
 #application .application-card li img{width:38px;height:38px}
 #application .application-link{text-decoration:none}
 #application .note{font-size:18px;line-height:1.7;text-align:center;margin-top:18px}
 #contact{background:white}
 #contact>.wrap{position:relative;isolation:isolate;border:1px solid #ddd;border-radius:14px;padding:60px 40px 25px;background:#fafafa;overflow:hidden}
 #contact .closing{display:block;position:static;margin:0}
 #contact .closing>img{position:absolute;z-index:-1;right:0;top:0;width:36%;height:590px;max-height:76%;object-fit:cover;object-position:center top;mask-image:linear-gradient(to right,transparent,#000 20%)}
 #contact .closing-tagline{width:65%;padding:44px 12px;margin:0 0 28px;border-radius:10px;font-family:inherit;font-weight:700;font-size:clamp(23px,2.3vw,32px);letter-spacing:.16em;background:linear-gradient(110deg,#ff954f,#ed8656 45%,#696bc1)}
 #contact .closing h2{width:72%;font-size:clamp(24px,2.35vw,34px);line-height:1.8;margin:0;border-left:4px solid #f18142;border-radius:5px;padding:22px 26px;background:#fffc}
 #contact .closing-line{white-space:normal}
 #contact .cta-pair{margin-top:24px;gap:20px}
 #contact .cta{position:relative;text-align:left;padding:26px 90px 26px 160px;min-height:145px;border:2px solid #fffd;box-shadow:0 5px 10px #0002}
 #contact .cta strong{font-size:clamp(23px,2.25vw,32px);line-height:1.5;gap:0}
 #contact .cta strong img{position:absolute;left:35px;top:50%;transform:translateY(-50%);width:90px;height:90px;margin:0;background:#fff;border-radius:50%;padding:18px;object-fit:contain}
 #contact .cta strong b{position:absolute;right:36px;top:50%;transform:translateY(-50%);background:white;color:#ef873d;border-radius:50%;width:44px;height:44px;text-align:center;line-height:39px;font-size:40px}
 #contact .cta-line strong b{color:#51b957}
 #contact .cta>span{font-size:20px;text-align:left;align-self:flex-start}
 #contact .cta-request{background:linear-gradient(110deg,#f59243,#ee792f)}
 #contact .cta-line{background:linear-gradient(110deg,#63ba60,#48b650)}
 #contact .contact-phone{font-size:26px;margin:24px 0 0;gap:16px}
 #contact .contact-phone small{font-size:18px}
 #contact .contact-phone>img{width:48px;height:48px}
 footer .footer-layout{display:block;padding:0;background:white;border:1px solid #6781bf;border-radius:10px;overflow:hidden}
 footer .footer-layout>div{padding:36px 40px}
 footer .footer-layout h2{font-size:clamp(24px,2.6vw,36px);color:#173678;border-bottom:1px solid #8498bc;padding-bottom:22px;margin:0 0 22px}
 footer .footer-layout h2 span{font-size:inherit}
 footer .footer-layout address{font-size:22px;line-height:1.6}
 footer .footer-layout address p{margin:12px 0}
 footer .footer-contacts{display:flex;align-items:center;gap:18px}
 footer .footer-contacts a{display:inline-flex;align-items:center;gap:14px;text-decoration:none}
 footer .footer-contacts img{width:32px;height:32px}
 footer .footer-layout nav{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;background:#eff4ff;padding:36px 40px;margin:0}
 footer .footer-layout button{padding:0;min-height:44px;background:none;font-size:18px;color:#23457e}
 footer .footer-layout button+button:before{content:'/';margin-right:10px}
}
@media(min-width:768px) and (max-width:1050px){
 #reasons .reason{grid-template-columns:65px 1fr;padding:20px;gap:12px}
 #reasons .reason-mark{width:65px}#reasons .reason-mark img{width:60px;height:60px}
 #reasons .reason h3{font-size:22px}#reasons .reason p{font-size:14px}
 #timing .work-period p{font-size:16px}
 #application .application-card{padding:24px}#application .application-details{padding:20px}
 #application .application-card li{font-size:14px}#application .application-card ul{gap:12px}
 #application .application-card li+li:before{margin-right:0}
 #contact .cta{padding-left:110px;padding-right:70px}#contact .cta strong img{width:65px;height:65px;left:24px;padding:12px}
 #contact .cta>span{font-size:16px}#contact .cta strong b{right:20px}
 #contact .closing-tagline{width:70%}#contact .closing h2{width:80%;font-size:23px}
}
@media(max-width:767px){
 .footer-layout h2 span{display:block;font-size:14px;margin-top:5px}
 .footer-layout address p{margin:12px 0}.footer-contacts img{width:22px;height:22px;vertical-align:middle;margin-right:6px}
 .footer-contacts>span{display:none}.footer-contacts a{display:block}
}

.footer-address{display:flex;align-items:center;gap:14px}.footer-address>img{width:32px;height:32px;flex:none;object-fit:contain}
@media(max-width:767px){.footer-address{gap:6px}.footer-address>img{width:22px;height:22px}}

/* FV introduction CTA: compact chevrons and spacing from the PC Figma. */
@media(min-width:768px){
 #introduction .cta{min-height:156px;padding:14px 14px 8px;gap:5px}
 #introduction .cta>b{display:flex;align-items:center;justify-content:center;width:20px;height:12px;font-size:0;line-height:1;flex:none}
 #introduction .cta>b::before{content:"";width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg)}
}

/* Mobile introduction CTA spacing, preserving desktop geometry. */
@media(max-width:767px){
 #introduction .cta-pair{gap:12px}
 #introduction .cta{padding:12px 10px 8px;gap:4px;min-height:132px}
 #introduction .cta-request{height:108px;min-height:108px;padding:8px;gap:3px}
 #introduction .cta>b{display:flex;align-items:center;justify-content:center;width:18px;height:10px;font-size:0;line-height:1;flex:none}
 #introduction .cta>b::before{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg)}
}

/* Enlarge only the mobile introductory simulation title. */
@media(max-width:767px){
 #introduction .cta-line strong>.line-title{font-size:1.08em;line-height:1.388889}
}

.proofs picture{display:block;flex:none}.proofs picture img{display:block}

/* Yellow dotted divider beneath the desktop enrollment heading. */
@media(min-width:768px){
 #introduction .enrollment h2::after{content:"";display:block;width:min(72%,640px);height:6px;margin:8px auto 0;background:radial-gradient(circle,#ffe084 2.5px,transparent 3px) center/20px 6px repeat-x}
 #introduction .enrollment p{margin-top:8px}
}

/* Keep all desktop timeline segments at the same height as study/wait. */
@media(min-width:768px){
 #timing .timing-option .work-period{height:100px;min-height:100px;padding-top:0;padding-bottom:0}
}

/* Mobile application and footer icon/text alignment. */
@media(max-width:767px){
 #application .application-card ul{padding:12px 14px;margin:0;gap:12px}
 #application .application-card li{display:flex;align-items:center;gap:10px;line-height:1.6}
 #application .application-card li img{flex:0 0 24px;width:24px;height:24px}
 footer .footer-contacts{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 footer .footer-contacts a{display:flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere}
 footer .footer-contacts img{display:block;flex:0 0 22px;width:22px;height:22px;margin:0}
 footer .footer-address{align-items:flex-start;gap:8px}
 footer .footer-address>img{flex:0 0 22px;margin-top:4px}
}

/* PC waiting-period annotation, matching the Figma bracket and hatch. */
@media (min-width:768px){
 .timing-option.is-later>.period-detail:not(.study-detail){background:repeating-linear-gradient(120deg,transparent 0 3px,#dedede 3px 4px),#f2f2f2}
 .timing-option.is-later>.period-inactive{left:calc(15% + 12px);width:20%;bottom:-23px;height:16px;margin:0;display:flex;align-items:center;justify-content:center;border-left:1px solid #e8aa8e;border-right:1px solid #e8aa8e;font-size:13px;line-height:18px;color:#555}
 .timing-option.is-later>.period-inactive::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #e8aa8e}
 .timing-option.is-later>.period-inactive span{position:relative;padding:0 7px;background:#e9e9e9;border-radius:2px;font-weight:700}
}

.axis-age-34{display:none}
@media(min-width:768px){
 .timing-axis{margin-left:calc(15% + 12px)}
 .timing-axis>div{position:relative}
 .timing-axis .axis-age-34{display:block;position:absolute;left:22%;transform:translateX(-50%)}
 .timing-axis .axis-age-34::after{content:"";position:absolute;left:50%;top:100%;height:9px;border-left:1px solid #3a6992}
 #timing .work-label-break{display:none}
 #timing .timing-option .work-period{display:grid;grid-template-columns:1fr 100px;gap:15px;padding:0;background-clip:border-box;position:relative}
 #timing .work-period>img{position:absolute;left:14px;top:38px}
 #timing .work-period p{grid-column:1;text-align:center;margin:0;padding-left:0;font-size:clamp(12px,1.4vw,20px);line-height:1.7}
 #timing .work-period strong{grid-column:2;margin:0}
}
@media(min-width:768px) and (max-width:1050px){
 #timing .timing-option .work-period{grid-template-columns:1fr 70px;gap:2px}
 #timing .work-period p{padding-left:0;font-size:clamp(10px,1.3vw,14px)}
}

/* Keep each mobile age scale adjacent to its own bar. */
.card-age-axis{display:none}
@media(max-width:767px){
 #timing .timing-axis{display:none}
 #timing .card-age-axis{display:flex;justify-content:space-between;align-items:center;margin:0 0 5px;color:#173863;font-size:13px;line-height:1.5;font-weight:700}
}

/* Mobile age labels inside the comparison bars. */
.bar-age{display:none}
@media(max-width:767px){
 #timing .period-bar{position:relative;height:32px}
 #timing .bar-age{display:block;position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;font-size:12px;font-weight:700;line-height:1;color:#fff;text-shadow:0 1px 2px #0008}
 #timing .bar-age-start{left:6px}
 #timing .bar-age-end{right:7px}
 #timing .is-later .bar-age{color:#173863;text-shadow:none}
}

/* Label each mobile phase directly; age ranges belong to their segment. */
.mobile-timeline{display:none}
@media(max-width:767px){
 #timing .period-bar{display:none}
 #timing .mobile-timeline{display:flex;gap:3px;margin:0 0 20px}
 #timing .timeline-phase{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;padding:12px 4px;border-radius:5px;text-align:center;color:#173863;flex:1}
 #timing .timeline-phase b{font-size:14px;line-height:1.4;white-space:nowrap}
 #timing .timeline-phase span{font-size:12px;line-height:1.4;white-space:nowrap}
 #timing .phase-study{background:#e1efff;border-top:5px solid #408fea}
 #timing .phase-wait{background:#eceef1;border-top:5px solid #9ca3ad}
 #timing .phase-work{background:#fff0e3;border-top:5px solid #ff650a;flex:1.5}
 #timing .is-later .phase-work{background:#fff0e8;border-top-color:#e99874}
 #timing .period-inactive{display:none}
}
