/* Shared, statically generated qualification entrances; exercise UI is app-owned. */
@font-face{font-family:BrandNoto;src:url('/fonts/noto-sans-jp-home.woff2') format('woff2');font-weight:400 700;font-display:swap}
.sd-brand-home{--brand-ink:#171717;--brand-paper:#f5f2e9;--brand-red:#e83b31}
.sd-brand-brandbar{position:relative;z-index:90;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding:16px 34px 16px 84px;background:#171717;color:#fffdf7;border-bottom:1px solid #44403b;font-family:BrandNoto,'Yu Gothic',Meiryo,sans-serif}
.sd-brand-brand{display:flex;align-items:baseline;gap:17px;min-height:44px;text-decoration:none!important;color:#fffdf7!important}
.sd-brand-wordmark{display:inline-block;transform:skew(-7deg);font-size:29px;font-weight:700;letter-spacing:-.065em;white-space:nowrap;line-height:1.5}.sd-brand-wordmark>span{color:#ff4a3c}
.sd-brand-wordmark-en{color:#bdb8ae;font-size:9px;letter-spacing:.15em;font-weight:700;white-space:nowrap}.sd-brand-brand-note{font-size:12px;letter-spacing:.04em;color:#e2ded5;white-space:nowrap}
.sd-brand-hero{display:flex;align-items:center;justify-content:space-between;gap:44px;max-width:1080px;margin:0 auto;position:relative;z-index:1;font-family:BrandNoto,'Yu Gothic',Meiryo,sans-serif;color:#171717!important}
.sd-brand-hero-copy{min-width:0;flex:1}.sd-brand-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 24px;font-size:13px;font-weight:700;line-height:1.5;letter-spacing:.06em;color:#171717}.sd-brand-eyebrow>span:first-child{display:inline-block;width:9px;height:9px;background:#e83b31;transform:rotate(45deg)}
.sd-brand-web{margin-left:8px;padding:4px 8px;border:1px solid #c9c3b7;font-size:11px;letter-spacing:0;color:#5e5b54}
.sd-brand-title{margin:0;font-size:clamp(46px,5.2vw,70px);font-weight:700;line-height:1.28;letter-spacing:-.05em;color:#171717}.sd-brand-title>span{display:block;margin-top:11px;font-size:22px;line-height:1.5;letter-spacing:0;font-weight:700;color:#171717}
.sd-brand-hero-lead{margin:26px 0 10px;font-weight:700;font-size:21px;letter-spacing:.025em;line-height:1.6;color:#171717}.sd-brand-route{display:inline-block;white-space:nowrap}.sd-brand-hero-note{margin:0;max-width:580px;font-size:14px;line-height:1.9;color:#66635f}
.sd-brand-availability{margin:22px 0 0;font-size:12px;line-height:1.8;font-weight:500;color:#49463f}.sd-brand-availability>span{color:#c9342b;font-weight:700;margin-right:5px}
.sd-brand-emblem{flex:0 0 190px;display:grid;place-items:center;gap:18px;align-self:center;margin-right:30px}.sd-brand-emblem>div{display:grid;place-items:center;width:160px;height:160px;background:#171717;color:#fffdf7;font-size:92px;font-weight:700;line-height:1;transform:skew(-7deg);box-shadow:10px 10px 0 #e83b31}.sd-brand-emblem>span{font-size:9px;letter-spacing:.13em;color:#777167;text-align:center;max-width:210px;font-weight:700}
.sd-brand-caption{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 30px;background:#171717;color:#fffdf7;font:600 10px/1.6 BrandNoto,'Yu Gothic',Meiryo,sans-serif;letter-spacing:.12em}.sd-brand-caption>span:last-child{letter-spacing:0;font-size:11px;color:#c8c2b6}
.sd-brand-brand:focus-visible{outline:3px solid #ff9287;outline-offset:5px}
@layer qualification-ui{
 html body.sd-brand-home #homeScreen>.hero,html body.sd-brand-home .brand-bar{display:block!important;background:repeating-linear-gradient(120deg,transparent 0 17px,#17171704 17px 18px,transparent 18px 24px),#f5f2e9!important;padding:42px 34px 36px!important;border:0!important;border-left:5px solid #e83b31!important;border-bottom:0!important;margin:0!important;color:#171717!important;text-align:left!important;min-height:0!important;overflow:hidden!important}
 html body.sd-brand-home .brand-bar:before{display:none!important}
 html body.sd-brand-home #homeScreen>.hero>.sd-brand-original-hero,html body.sd-brand-home .brand-bar>.sd-brand-original-hero{display:none!important}
 html body.sd-brand-home[data-brand-scope] #homeScreen>.hero>:not(.sd-brand-hero),html body.sd-brand-home[data-brand-scope] .brand-bar>:not(.sd-brand-hero){display:none!important}
 html body.sd-brand-home #homeScreen>.hero>.qualification-portal-nav,html body.sd-brand-home .brand-bar>.qualification-portal-nav{display:none!important}
 html body.sd-brand-home:not(.sd-quiz-active):has(#homeScreen.active) :is(#fixedPageNav,#pageHistoryNav){display:none!important}
 html body.sd-brand-home .brand-bar .sd-brand-hero h1,html body.sd-brand-home #homeScreen>.hero .sd-brand-hero h1,html body.sd-brand-home .sd-brand-title>span{color:#171717!important;text-shadow:none!important}
 html body.sd-brand-home:not(.sd-quiz-active):has(#homeScreen.active) #appMenuButton,html body.sd-brand-home:has(.brand-bar) #appMenuButton{top:var(--sd-brand-menu-top,13px)!important;left:var(--sd-brand-menu-left,16px)!important;z-index:110!important;background:#242321!important;color:#fffdf7!important;border-color:#716d65!important}
 html body.sd-brand-home .sd-brand-wordmark{color:#fffdf7!important}html body.sd-brand-home .sd-brand-wordmark>span{color:#ff4a3c!important}
 html body.sd-brand-home .sd-brand-wordmark-en{color:#bdb8ae!important}html body.sd-brand-home .sd-brand-brand-note{color:#e2ded5!important}
 html body.sd-brand-home .sd-brand-caption #subjectTopHomeBtn{position:static!important;display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important;min-height:24px!important;width:auto!important;border:0!important;background:transparent!important;color:#fffdf7!important;font-size:11px!important;box-shadow:none!important}
 html body.sd-brand-home .sd-brand-caption #subjectTopHomeBtn svg{width:16px!important;height:16px!important}
 html body.sd-brand-home .home-main{padding-top:24px!important}
 html body.sd-brand-home #homeScreen .home-buttons{padding-top:22px!important}
 html body.sd-brand-home .web-intro{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 0 14px!important;margin:0!important;font-size:14px!important}
}
@media(max-width:700px){
 .sd-brand-brandbar{min-height:70px;padding:12px 20px 12px 74px;gap:12px}.sd-brand-brand{gap:0;flex-direction:column;align-items:flex-start;justify-content:center;min-height:44px}.sd-brand-wordmark{font-size:25px;line-height:1.2}.sd-brand-wordmark-en{font-size:7px;margin-top:5px;letter-spacing:.12em}.sd-brand-brand-note{font-size:10px;white-space:nowrap;text-align:right;line-height:1.7}
 .sd-brand-hero{gap:15px;align-items:flex-start}.sd-brand-eyebrow{font-size:11px;margin-bottom:19px;gap:7px;letter-spacing:0}.sd-brand-web{font-size:10px;margin-left:2px;padding:3px 5px}
 .sd-brand-title{font-size:42px;line-height:1.3}.sd-brand-title>span{font-size:16px;margin-top:7px}.sd-brand-hero-lead{font-size:18px;margin-top:22px;line-height:1.6}.sd-brand-hero-note{font-size:12px;line-height:1.85;margin-top:10px}.sd-brand-availability{font-size:10px;margin-top:18px;max-width:290px}
 .sd-brand-emblem{flex:0 0 66px;align-self:flex-start;margin:48px 8px 0 0;gap:12px}.sd-brand-emblem>div{width:62px;height:67px;font-size:38px;box-shadow:5px 5px 0 #e83b31}.sd-brand-emblem>span{display:none}
 .sd-brand-caption{padding:10px 18px;font-size:8px;letter-spacing:.08em}.sd-brand-caption>span:last-child{display:none}
 @layer qualification-ui{html body.sd-brand-home #homeScreen>.hero,html body.sd-brand-home .brand-bar{padding:28px 20px 26px!important;border-left-width:4px!important}}
}
@media(max-width:360px){.sd-brand-brand-note{display:none}.sd-brand-title{font-size:36px}.sd-brand-emblem{flex-basis:48px;margin-right:1px}.sd-brand-emblem>div{width:47px;height:54px;font-size:31px}.sd-brand-hero-note{font-size:11px}.sd-brand-hero{gap:10px}.sd-brand-web{font-size:9px}}
.sd-brand-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
@layer qualification-ui{
 html body.sd-brand-home .sd-brand-caption .night-mode-toggle{position:static!important;margin:0!important;padding:0!important;color:#fffdf7!important;font-size:11px!important;background:transparent!important}
 html body.sd-brand-home .sd-brand-caption .night-mode-toggle span{color:#fffdf7!important;font-size:11px!important}
 html body.sd-brand-home .sd-brand-caption .night-mode-toggle input{margin:0!important}
 html body.sd-brand-home .sd-brand-caption .sd-brand-controls:has(#subjectTopHomeBtn){gap:14px!important}
}
@media(max-width:700px){.sd-brand-caption{flex-wrap:wrap;gap:8px}.sd-brand-caption>span:nth-child(2){display:none}.sd-brand-controls{gap:10px;margin-left:auto}}
