.schools-hero{position:relative;height:calc(338 * var(--space-unit));display:grid;place-items:center;background:#eff8ff url('assets/schools/hero-background.png') center/cover no-repeat;clip-path:ellipse(83% 100% at 50% 0);padding-bottom:calc(12 * var(--space-unit))}
.schools-hero-panel{width:calc(466 * var(--space-unit));min-height:calc(143 * var(--space-unit));max-width:92%;padding:calc(25 * var(--space-unit)) calc(18 * var(--space-unit));border-radius:calc(26 * var(--space-unit));background:#ffffffed;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.schools-hero h1{font-size:calc(30 * var(--type-unit));font-weight:700;line-height:1.5;color:#111;letter-spacing:.02em}
.schools-rainbow{width:calc(67 * var(--space-unit));height:3px;background:linear-gradient(90deg,#fe5475 0%,#ff984c 23%,#f4d744 40%,#83d8a7 62%,#7edbd5 100%);margin:3px 0 calc(15 * var(--space-unit))}
.schools-hero-panel p{font-size:calc(17 * var(--type-unit));line-height:1.7;color:#111}
.schools-content{padding-top:calc(50 * var(--space-unit));padding-bottom:calc(76 * var(--space-unit))}
.schools-region{--area-bg:#ffecee;--area-accent:#fd3055;border:1px solid #e4e9f1;border-radius:var(--corner-radius);overflow:hidden;background:#fff;margin-bottom:calc(10 * var(--space-unit))}
.schools-region.region-2{--area-bg:#eaf4ff;--area-accent:#3c8cff}.schools-region.region-3{--area-bg:#faf2dd;--area-accent:#f4bb1f}.schools-region.region-4{--area-bg:#e7f5f0;--area-accent:#43c29a}.schools-region.region-5{--area-bg:#eee7fa;--area-accent:#9a6beb}
.schools-region>summary{display:flex;align-items:center;gap:calc(18 * var(--space-unit));min-height:calc(70 * var(--space-unit));padding:calc(14 * var(--space-unit)) calc(22 * var(--space-unit));background:var(--area-bg);cursor:pointer;list-style:none}
.schools-region summary::-webkit-details-marker{display:none}.schools-region summary::marker{content:''}
.schools-region h2{font-size:calc(19 * var(--type-unit));font-weight:500;line-height:1.5;color:#111}
.schools-pin{width:calc(25 * var(--space-unit));height:calc(33 * var(--space-unit));flex-shrink:0;color:var(--area-accent)}
.schools-region-toggle{margin-left:auto;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;flex-shrink:0;color:var(--area-accent)}
.schools-plus{display:block;position:relative;width:16px;height:16px;color:inherit;flex-shrink:0}.schools-plus:before,.schools-plus:after{content:'';position:absolute;background:currentColor;left:0;top:7px;width:16px;height:2px;border-radius:1px}.schools-plus:after{transform:rotate(90deg);transition:transform .2s}
.schools-region[open]>summary .schools-plus:after,.schools-prefecture[open]>summary .schools-plus:after{transform:rotate(0)}
.schools-prefectures{padding:calc(8 * var(--space-unit)) calc(32 * var(--space-unit)) calc(12 * var(--space-unit))}
.schools-prefecture{border-bottom:1px solid #e4e9f1}.schools-prefecture:last-child{border-bottom:0}
.schools-prefecture>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:calc(56 * var(--space-unit));padding:calc(13 * var(--space-unit)) 0;list-style:none;cursor:pointer;color:#334c68}
.schools-prefecture h3{font-size:calc(17 * var(--type-unit));font-weight:400;line-height:1.6;color:#111}
.school-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:calc(16 * var(--space-unit)) calc(8 * var(--space-unit)) calc(16 * var(--space-unit)) calc(32 * var(--space-unit));min-height:calc(56 * var(--space-unit));font-size:calc(16 * var(--type-unit));line-height:1.8;color:#111;border-top:1px solid #e4e9f1;transition:color .2s}
.school-link>span{min-width:0;overflow-wrap:anywhere}.schools-arrow{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:#808080;flex:0 0 26px;transition:transform .2s ease}.schools-arrow svg{width:9px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.schools-region summary:focus-visible,.school-link:focus-visible{outline:2px solid #2e9bf5;outline-offset:-3px}
@media(hover:hover) and (pointer:fine){.school-link:hover{color:#2295f7}.school-link:hover .schools-arrow{transform:translateX(3px)}.schools-region>summary:hover{filter:brightness(.985)}}
@media(max-width:1200px){.schools-content{width:86.666667%}}
@media(max-width:767px){.schools-hero{height:260px;clip-path:ellipse(105% 100% at 50% 0)}.schools-hero-panel{width:86.666667%;padding:22px 14px;min-height:125px}.schools-hero h1{font-size:24px}.schools-hero-panel p{font-size:14px}.schools-content{padding-top:40px;padding-bottom:55px}.schools-region>summary{min-height:64px;padding:14px;gap:12px}.schools-region h2{font-size:17px}.schools-pin{width:22px;height:29px}.schools-region-toggle{width:30px;height:30px}.schools-prefectures{padding:4px 18px 10px}.schools-prefecture h3{font-size:16px}.schools-prefecture>summary{min-height:54px}.school-link{font-size:14.5px;padding:15px 0 15px 14px;gap:10px}}
@media(prefers-reduced-motion:reduce){.schools-plus:after,.schools-arrow,.school-link{transition:none}}
@media(min-width:768px){.schools-content{width:47.847222vw;max-width:86.666667%}}

.schools-prefectures{padding-left:calc(65 * var(--space-unit))}
@media(max-width:767px){.schools-prefectures{padding-left:48px}}

.school-link{padding-right:0}

.schools-arrow{background:#ecf6fe;color:#087dfb}

.schools-region{border:1px solid #e4e9f1}
.schools-region-toggle{background:#fff;color:#808080}
.schools-region-toggle>.schools-plus{display:none}
.schools-region-toggle:after{content:'';display:block;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateX(-2px) rotate(45deg);transition:transform .2s ease}
.schools-region[open]>.summary .schools-region-toggle:after{transform:rotate(135deg)}
.schools-region[open]>summary .schools-region-toggle:after{transform:translateY(-2px) rotate(135deg)}
.schools-region-toggle>.schools-plus{display:block}.schools-region-toggle:after{display:none}

.schools-prefecture>summary>.schools-plus{color:#808080}

.schools-prefecture>summary>.schools-plus{width:18px;height:18px}.schools-prefecture>summary>.schools-plus:before,.schools-prefecture>summary>.schools-plus:after{width:18px;top:8px}

.schools-prefecture>summary>.schools-plus{width:16px;height:16px}.schools-prefecture>summary>.schools-plus:before,.schools-prefecture>summary>.schools-plus:after{width:16px;height:1px;top:7.5px}

.schools-region-toggle>.schools-plus:before,.schools-region-toggle>.schools-plus:after{height:1px;top:7.5px}

.schools-region{border-color:#ccd0d6}.schools-region-toggle,.schools-prefecture>summary>.schools-plus{color:#595959}

.schools-pin{width:calc(21 * var(--space-unit));height:calc(28 * var(--space-unit))}
.schools-prefectures{padding-left:calc(61 * var(--space-unit))}
@media(max-width:767px){.schools-pin{width:19px;height:25.333px}.schools-prefectures{padding-left:45px}}

.schools-region>summary{gap:calc(17 * var(--space-unit))}.schools-prefectures{padding-left:calc(60 * var(--space-unit))}
@media(max-width:767px){.schools-region>summary{gap:11px}.schools-prefectures{padding-left:44px}}

.schools-prefecture>summary{transition:background-color .2s ease}
@media(hover:hover) and (pointer:fine){.schools-prefecture>summary:hover{background:#f3f3f3}}

.schools-prefecture>summary{position:relative;isolation:isolate}
.schools-prefecture>summary:before{content:'';position:absolute;inset:0 calc(-32 * var(--space-unit)) 0 calc(-60 * var(--space-unit));background:var(--area-bg);opacity:0;z-index:-1;pointer-events:none;transition:opacity .2s ease}
.schools-prefecture:first-child>summary:before{top:calc(-8 * var(--space-unit))}
.schools-prefecture:last-child:not([open])>summary:before{bottom:calc(-12 * var(--space-unit))}
@media(hover:hover) and (pointer:fine){.schools-prefecture>summary:hover{background:transparent}.schools-prefecture>summary:hover:before{opacity:1}}
@media(max-width:767px){.schools-prefecture>summary:before{left:-44px;right:-18px}.schools-prefecture:first-child>summary:before{top:-4px}.schools-prefecture:last-child:not([open])>summary:before{bottom:-10px}}
@media(prefers-reduced-motion:reduce){.schools-prefecture>summary:before{transition:none}}
.schools-prefecture:first-child>summary:before{top:0}.schools-prefecture:last-child:not([open])>summary:before{bottom:0}

.schools-region{border-color:var(--area-bg)}

.schools-prefecture:first-child>summary:before{top:calc(-8 * var(--space-unit))}.schools-prefecture:last-child:not([open])>summary:before{bottom:calc(-12 * var(--space-unit))}
@media(max-width:767px){.schools-prefecture:first-child>summary:before{top:-4px}.schools-prefecture:last-child:not([open])>summary:before{bottom:-10px}}

.schools-region{border-width:2px}

.schools-arrow{background:var(--area-bg);color:var(--area-accent)}
@media(hover:hover) and (pointer:fine){.school-link:hover{color:var(--area-accent)}}
.schools-region-toggle,.schools-prefecture>summary>.schools-plus{color:var(--area-accent)}

.schools-prefectures{padding-top:0;padding-bottom:0}.schools-prefecture:first-child>summary:before{top:0}.schools-prefecture:last-child:not([open])>summary:before{bottom:0}

.schools-prefecture>summary>.schools-plus{color:#a0a7b0}

.school-link{position:relative;isolation:isolate}
.school-link:before{content:'';position:absolute;inset:0 calc(-32 * var(--space-unit)) 0 calc(-60 * var(--space-unit));background:var(--area-bg);opacity:0;z-index:-1;pointer-events:none;transition:opacity .2s ease}
@media(hover:hover) and (pointer:fine){.school-link:hover{color:#111}.school-link:hover:before{opacity:1}}
@media(max-width:767px){.school-link:before{left:-44px;right:-18px}}
@media(prefers-reduced-motion:reduce){.school-link:before{transition:none}}
.school-link:before{display:none}
@media(hover:hover) and (pointer:fine){.school-link:hover{color:var(--area-accent)}}

.schools-rainbow{margin:calc(7 * var(--space-unit)) 0 calc(11 * var(--space-unit))}

.schools-prefecture>summary h3{transition:color .2s ease}.schools-prefecture>summary:before{display:none}
@media(hover:hover) and (pointer:fine){.schools-prefecture>summary:hover{background:transparent}.schools-prefecture>summary:hover h3{color:var(--area-accent)}}

.schools-prefecture>summary:before{display:block}
@media(hover:hover) and (pointer:fine){.schools-prefecture>summary:hover h3{color:#111}.schools-prefecture>summary:hover:before{opacity:1}}

.schools-prefecture{border-bottom-color:#e4e9f1}.school-link{border-top-color:#e4e9f1}

@media(max-width:767px){
 .schools-pin{display:none}
 .schools-prefectures{padding-left:14px}
 .schools-prefecture>summary:before{left:-14px}
 .school-link:before{left:-14px}
}
@media(max-width:767px){.schools-hero-panel>p{display:none}}

@media(max-width:767px){.schools-hero{height:calc(231 * 100vw / 390)}}

@media(max-width:767px){
 .schools-hero-panel{position:relative;isolation:isolate;background:transparent}
 .schools-hero-panel:before{content:'';position:absolute;inset:0;background:#ffffffed;border-radius:inherit;transform:scale(.9,.81);transform-origin:center;z-index:-1;pointer-events:none}
}
@media(max-width:767px){.schools-hero-panel{transform:translateY(15px)}}

.schools-hero-arc{display:none}
@media(max-width:767px){
 .schools-hero-arc{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none}
 .schools-hero-arc text{font-family:var(--font-en);font-size:16px;font-weight:500;letter-spacing:2px;fill:#6cbfaf}
}
@media(max-width:767px){.schools-hero{clip-path:ellipse(77.827% 100% at 50% 0)}}

/* Temporarily hide the English arc and its side rules. */
@media(max-width:767px){.schools-hero-arc{display:none}}

@media(max-width:767px){.schools-hero-arc{display:block;position:relative;inset:auto;width:100%;height:calc(100 * 100vw / 390);margin-top:calc(-54 * 100vw / 390);overflow:visible;z-index:3}}

@media(max-width:767px){.schools-region>summary{padding-left:20px}.schools-prefectures{padding-left:20px}.schools-prefecture>summary:before{left:-20px}}

@media(max-width:767px){.schools-prefecture>summary h3{padding-left:14px}}

@media(max-width:767px){.school-name{min-width:0}.school-name-main{display:inline-block;max-width:100%}.school-name-campus{display:inline-block;white-space:nowrap}}

@media(max-width:767px){.school-name-campus{display:block}}

@media(max-width:767px){.schools-prefecture>summary{position:relative}.schools-prefecture>summary h3{width:100%;padding-left:0;text-align:center}.schools-prefecture>summary>.schools-plus{position:absolute;right:0;top:50%;transform:translateY(-50%)}}

@media(max-width:767px){.schools-prefecture>summary h3{position:relative;left:-20px;flex:0 0 calc(100% + 4px);width:calc(100% + 4px);padding:0;text-align:center}}

@media(max-width:767px){.schools-prefecture[open]>summary:before{display:block;opacity:1;background:var(--area-bg)}}

@media(max-width:767px){.schools-prefecture>summary h3{left:auto;flex:1;width:auto;padding:0;text-align:left}.schools-prefecture>summary>.schools-plus{right:3px}.school-link{padding-left:0}}

@media(max-width:767px){.schools-prefecture>summary h3{position:relative;left:-20px;flex:0 0 calc(100% + 1px);width:calc(100% + 1px);padding:0;text-align:center}}

/* All campus names switch together once every school name fits on one line. */
@media(max-width:767px){
 .schools-single-line .school-name{white-space:nowrap}
 .schools-single-line .school-name-campus{display:inline}
}
.schools-fit-probe .school-name{white-space:nowrap!important}
.schools-fit-probe .school-name-main,.schools-fit-probe .school-name-campus{display:inline!important}

