/* Match the page's real Pretendard / blue / white / grey system. */
body.one-ending-study .credentials-band{display:grid;grid-template-columns:1fr 1.2fr 1.25fr;align-items:center;gap:26px;padding:22px max(32px,calc((100% - 1120px)/2));text-align:left}
body.one-ending-study .credentials-band>span{font-size:15px;line-height:1.65;white-space:normal}
body.one-ending-study .credentials-band .one-former-career{display:grid;grid-template-columns:22px 1fr;gap:0 6px}
.one-former-career>i{grid-row:1/3;font-size:14px;font-style:normal;color:#7b8797}.one-former-career>strong{grid-column:2;font-weight:600}
body.one-ending-study #teacher.one-finale{position:relative;isolation:isolate;max-width:none;width:100%;margin:0;border:0;overflow:hidden}
.one-ending-anchor{position:absolute;top:0;left:0;width:0;height:0}
.one-finale-copy{position:relative;z-index:2}
body.one-ending-study #one-finale-title{margin:0;font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:48px;line-height:1.32;font-weight:750;letter-spacing:-.045em;text-wrap:initial}
#one-finale-title>span{display:block}#one-finale-title em{font:inherit;font-style:normal;color:#0060ff}
.one-finale-copy>p{font-size:18px;line-height:1.65;margin:22px 0 0;letter-spacing:-.025em;font-weight:500}.split-copy-break{display:none}
.one-photo-wall{position:relative;isolation:isolate;overflow:hidden;background:#e8edf3;min-width:0}
.one-photo-row{position:absolute;left:0;right:0;overflow:hidden}.photo-row-top{top:0;height:calc(60% - 3px)}.photo-row-bottom{bottom:0;height:calc(40% - 3px)}
.one-photo-track{display:flex;width:200%;height:100%;animation:one-ending-flow 44s linear infinite;animation-play-state:paused}.photo-row-bottom .one-photo-track{animation-duration:52s;animation-direction:reverse}
.one-photo-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:0 0 50%;width:50%;height:100%;padding-right:6px}.photo-row-bottom .one-photo-group{grid-template-columns:repeat(3,minmax(0,1fr))}
.one-photo{position:relative;height:100%;margin:0;min-width:0;overflow:hidden;background:#e8edf3}.one-photo img{position:absolute;left:0;bottom:0;width:100%;height:130%;max-width:none;object-fit:cover;object-position:center bottom}.photo-row-bottom .one-photo img{height:140%}
.one-finale.is-running .one-photo-track{animation-play-state:running;will-change:transform}@keyframes one-ending-flow{to{transform:translate3d(-50%,0,0)}}
/* White: echo the rounded curriculum surface and the timetable's grey ground. */
body.one-ending-study #teacher.finale-white{padding:32px 32px 44px;background:#f7f9fc;color:#191f28}
.finale-white .one-finale-panel{max-width:1232px;margin:auto;padding:48px 52px 32px;border-radius:32px;background:#fff}
.finale-white .one-finale-copy{text-align:center}.finale-white .one-finale-copy>p{color:#6b7684}
.finale-white .one-photo-wall{height:340px;border-radius:20px;margin-top:32px}
/* Blue: the same saturated field that carries teaching and app management. */
body.one-ending-study #teacher.finale-blue{padding:68px 32px 34px;background:#2859f5;color:#fff}
.finale-blue .one-finale-panel{max-width:1120px;min-height:440px;margin:auto;display:grid;grid-template-columns:.9fr 1.3fr;align-items:center;gap:50px}
.finale-blue .one-finale-copy{text-align:left}.finale-blue #one-finale-title,.finale-blue #one-finale-title em,.finale-blue .one-finale-copy>p{color:#fff}
.finale-blue .one-finale-copy>p{max-width:22em}.finale-blue .split-copy-break{display:block}.finale-blue .one-photo-wall{height:440px;border-radius:24px}
body.one-ending-study.ending-blue .taste-footer.compact-footer{background:#2859f5;color:#fff}
body.one-ending-study.ending-blue .compact-footer :is(.taste-close h2,.contact-number,.contact-number span,.contact-number strong,.footer-details a){color:#fff}
body.one-ending-study.ending-blue #contact.compact-footer .contact-number strong{color:#fff!important}
body.one-ending-study.ending-blue .compact-footer .footer-logo{filter:invert(1);mix-blend-mode:screen;opacity:.45}
/* Photo: keep the client-provided image composition, with the site's navy ink. */
body.one-ending-study #teacher.finale-photo{padding:80px 32px;min-height:630px;display:grid;place-items:center;background:#142238;color:#fff}
.finale-photo .one-photo-wall{position:absolute;inset:8px;z-index:-3;height:auto;background:#142238}.finale-photo .one-photo{background:#142238}
.one-photo-wash{position:absolute;inset:0;z-index:-2;background:rgba(10,23,43,.6)}
.finale-photo .one-finale-copy{text-align:center;max-width:1120px;width:100%}
body.one-ending-study .finale-photo #one-finale-title{font-size:64px;line-height:1.35;color:#fff}.finale-photo #one-finale-title em{color:#b7d1ff}.finale-photo .one-finale-copy>p{color:#fff}
body.one-ending-study.ending-photo .taste-footer.compact-footer{background:#142238;color:#fff}
body.one-ending-study.ending-photo .compact-footer :is(.taste-close h2,.contact-number,.contact-number span,.footer-details a){color:#fff}
body.one-ending-study.ending-photo #contact.compact-footer .contact-number strong{color:#b7d1ff!important}
body.one-ending-study.ending-photo .compact-footer .footer-logo{filter:invert(1);mix-blend-mode:screen;opacity:.45}
@media(min-width:761px) and (max-width:1100px){body.one-ending-study .credentials-band{gap:18px}body.one-ending-study .credentials-band>span{font-size:13px}.finale-white .one-finale-panel{padding:40px 32px 28px}.finale-blue .one-finale-panel{gap:30px;grid-template-columns:.9fr 1.15fr}body.one-ending-study #one-finale-title{font-size:40px}.finale-blue .one-photo-wall{height:410px}body.one-ending-study .finale-photo #one-finale-title{font-size:56px}}
@media(max-width:760px){
 body.one-ending-study .credentials-band{grid-template-columns:1fr;gap:9px;padding:20px 24px}body.one-ending-study .credentials-band>span{font-size:13px;line-height:1.6}
 body.one-ending-study #one-finale-title{font-size:32px;line-height:1.4}.one-finale-copy>p{font-size:15px;line-height:1.65;margin-top:16px}
 .one-photo-track{width:300%;animation-duration:48s}.photo-row-bottom .one-photo-track{animation-duration:58s}.one-photo img{height:115%}.photo-row-bottom .one-photo img{height:120%}
 body.one-ending-study #teacher.finale-white{padding:20px 16px 24px}.finale-white .one-finale-panel{padding:30px 18px 18px;border-radius:24px}.finale-white .one-photo-wall{height:330px;margin-top:24px;border-radius:16px}
 body.one-ending-study #teacher.finale-blue{padding:46px 24px 18px}.finale-blue .one-finale-panel{grid-template-columns:1fr;min-height:0;gap:26px;max-width:500px}.finale-blue .one-photo-wall{height:330px;border-radius:20px}.finale-blue .split-copy-break{display:none}
 body.one-ending-study #teacher.finale-photo{min-height:520px;padding:64px 24px}.finale-photo .one-photo-wall{inset:5px}body.one-ending-study .finale-photo #one-finale-title{font-size:38px;line-height:1.4}
}
@media(prefers-reduced-motion:reduce){.one-photo-track{animation:none!important;transform:none!important;will-change:auto!important}}
