﻿/* Translations use the Chinese layout with space for longer English and Japanese copy. */
html:lang(en) body,html:lang(ja) body{overflow-wrap:break-word}
html:lang(en) #site-header .brand,html:lang(ja) #site-header .brand{flex-basis:230px;width:230px}
html:lang(en) #site-header .nav a,html:lang(ja) #site-header .nav a{padding-inline:7px;font-size:11px}
html:lang(en) .heroText h1,html:lang(ja) .heroText h1{font-size:clamp(30px,3.5vw,48px);line-height:1.25}
html:lang(en) .heroText p,html:lang(ja) .heroText p{max-width:650px}
html:lang(en) .quick .q,html:lang(ja) .quick .q{min-width:0}
html:lang(en) .quick small,html:lang(ja) .quick small{line-height:1.5}
html:lang(en) .enterprise-list,html:lang(ja) .enterprise-list{line-height:1.7}
html:lang(en) .ent-service-card,html:lang(ja) .ent-service-card{min-width:0}
html:lang(en) .detail-hero h1,html:lang(ja) .detail-hero h1{line-height:1.3;font-size:clamp(28px,3vw,44px)}
html:lang(en) .detail-description br{display:none}
html:lang(en) .contact-options small,html:lang(ja) .contact-options small{line-height:1.5}
@media(max-width:1300px){html:lang(en) #site-header,html:lang(ja) #site-header{height:auto;min-height:68px}html:lang(en) #site-header .site-header-inner,html:lang(ja) #site-header .site-header-inner{flex-wrap:wrap;padding-block:10px;gap:10px}html:lang(en) #site-header .nav,html:lang(ja) #site-header .nav{order:3;flex-basis:100%;height:42px;overflow-x:auto;justify-content:flex-start}html:lang(en) #site-header .actions,html:lang(ja) #site-header .actions{margin-left:auto}html:lang(en) #site-header .nav a,html:lang(ja) #site-header .nav a{flex:none}}
@media(max-width:700px){html:lang(en) .heroText h1,html:lang(ja) .heroText h1{font-size:29px}html:lang(en) #site-header .brand,html:lang(ja) #site-header .brand{flex-basis:210px;width:210px}html:lang(en) .heroText,html:lang(ja) .heroText{max-width:100%}html:lang(en) .heroText p,html:lang(ja) .heroText p{font-size:13px}}
html:lang(en) .hero,html:lang(ja) .hero{height:350px}
html:lang(en) .heroText,html:lang(ja) .heroText{width:680px;max-width:65%;padding:34px 0 25px 48px}
html:lang(en) .heroText h1,html:lang(ja) .heroText h1{font-size:40px;line-height:1.2;margin:0 0 14px}
html:lang(en) .heroText p,html:lang(ja) .heroText p{line-height:1.65;font-size:15px;margin:0 0 18px}
html:lang(en) .heroBtns,html:lang(ja) .heroBtns{display:flex;flex-wrap:wrap;gap:10px}
html:lang(en) .v2-service h3,html:lang(ja) .v2-service h3{white-space:normal!important;overflow-wrap:break-word;line-height:1.4;min-height:48px}
html:lang(en) .v2-panel strong,html:lang(ja) .v2-panel strong{white-space:normal;font-size:13px}
html:lang(en) .student-body h3,html:lang(ja) .student-body h3{white-space:normal}
html:lang(en) .paths .enterprise-title,html:lang(ja) .paths .enterprise-title{white-space:normal!important;height:auto!important;line-height:1.4!important}
@media(max-width:700px){html:lang(en) .hero,html:lang(ja) .hero{height:auto;min-height:400px}html:lang(en) .heroText,html:lang(ja) .heroText{width:100%;max-width:100%;padding:28px 22px}html:lang(en) .heroText h1,html:lang(ja) .heroText h1{font-size:29px}html:lang(en) .heroText p,html:lang(ja) .heroText p{font-size:13px}html:lang(en) .v2-service h3,html:lang(ja) .v2-service h3{min-height:0}}
@media(max-width:700px){html:lang(en) .stats,html:lang(ja) .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html:lang(en) .stat,html:lang(ja) .stat{min-width:0;width:100%;box-sizing:border-box}html:lang(en) .stat>div,html:lang(ja) .stat>div{min-width:0}}
/* Isolate translated learning-path copy from legacy fixed-width grids. */
html:lang(en) .paths .student-body,html:lang(ja) .paths .student-body,html:lang(en) .paths .enterprise-body,html:lang(ja) .paths .enterprise-body{display:block!important;width:auto!important;min-width:0!important;max-width:none!important}
html:lang(en) .paths .enterprise-inner,html:lang(ja) .paths .enterprise-inner{display:block!important;width:100%!important;padding:18px 16px!important}
html:lang(en) .paths .enterprise-title,html:lang(ja) .paths .enterprise-title{width:100%!important;white-space:normal!important;height:auto!important;min-height:0!important}
html:lang(en) .paths .enterprise-list li,html:lang(ja) .paths .enterprise-list li,html:lang(en) .paths .checks li,html:lang(ja) .paths .checks li{white-space:normal!important;height:auto!important;max-height:none!important}
html:lang(en) .paths .student-body h3,html:lang(ja) .paths .student-body h3{white-space:normal!important}
html:lang(en) .workshop-role-table table,html:lang(ja) .workshop-role-table table{min-width:760px}
@media(min-width:1001px){html:lang(en) .paths,html:lang(ja) .paths{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
