/* Japanese uses a self-hosted, OFL-licensed Noto Sans JP subset. Existing
   Korean, English and Chinese typography remains owned by the original CSS. */
@font-face{font-family:SignalcareJapanese;src:url('/assets/fonts/SignalcareJP-Copy-Nov02.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
html[lang="ja"] body{font-family:SignalcareJapanese,"Noto Sans JP","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;letter-spacing:0;word-break:normal;line-break:strict;overflow-wrap:anywhere}
html[lang="ja"] :is(h1,h2,h3,h4){letter-spacing:-.025em;line-height:1.45;word-break:normal;line-break:strict}
html[lang="ja"] .bm-chapter h3 .typo-ja-title-unit{display:inline-block;white-space:nowrap}
html[lang="ja"] :is(p,li,dd,td,figcaption){line-height:1.9;letter-spacing:0;word-break:normal;line-break:strict}
html[lang="ja"] :is(.typo-unit.typo-unit,.typo-word.typo-word){display:inline!important;word-break:normal;line-break:strict;overflow-wrap:anywhere}
html[lang="ja"] :is(.nav-top,.dropdown-link,.drawer-link,summary,button,label){word-break:normal;line-break:strict}
html[lang="ja"] .home-hero .hero-copy h1{font-size:clamp(42px,3.9vw,72px);line-height:1.5;letter-spacing:-.025em;max-width:19em}
html[lang="ja"] .home-hero .hero-copy p{max-width:37em;line-height:1.9}
html[lang="ja"] .desktop-nav{gap:28px;font-size:14px}
html[lang="ja"] .header-tools>.button-small{font-size:13px;padding-inline:14px;gap:9px}
html[lang="ja"] .button{letter-spacing:0}
html[lang="ja"] .inner-title h1{font-size:clamp(36px,3.8vw,68px)}
html[lang="ja"] .section-head h2,html[lang="ja"] .sc-company-heading h2{font-size:clamp(32px,3.3vw,56px)}
html[lang="ja"] .material-stage-copy :is(p,h2){font-size:23px;font-weight:400;line-height:1.65;letter-spacing:-.02em}
html[lang="ja"] .material-stage-copy h2 .typo-unit.typo-unit{display:inline-block!important;white-space:nowrap!important}
html[lang="ja"] .beyond-materials-refined .bm-intro h2{font-size:clamp(36px,3.3vw,50px);line-height:1.45}
html[lang="ja"] .beyond-materials-refined .bm-chapter h3{font-size:clamp(28px,2.3vw,36px);line-height:1.5}
html[lang="ja"] .beyond-materials-refined .bm-status{flex-shrink:1}
html[lang="ja"] .beyond-materials-refined .bm-body{font-size:16px;line-height:1.95}
/* The fourth language choice remains legible on the existing mobile drawer. */
.languages a[lang="ja"]{font-family:"Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
@media(max-width:1250px){html[lang="ja"] .desktop-nav{gap:18px;font-size:13px}}
@media(max-width:767px){
 html[lang="ja"] .home-hero .hero-copy h1{font-size:clamp(29px,7.8vw,42px);line-height:1.55}
 html[lang="ja"] .inner-title h1{font-size:clamp(29px,7.5vw,42px);line-height:1.55}
 html[lang="ja"] :is(.section-head h2,.sc-company-heading h2){font-size:clamp(28px,7.3vw,36px);line-height:1.5}
 html[lang="ja"] .beyond-materials-refined .bm-intro h2{font-size:clamp(28px,7.2vw,36px)}
 html[lang="ja"] .beyond-materials-refined .bm-chapter h3{font-size:clamp(25px,6.5vw,30px)}
 html[lang="ja"] .beyond-materials-refined .bm-body{font-size:15px}
 html[lang="ja"] :is(.visual-feature-grid,.visual-photo-process) h3{font-size:20px;line-height:1.6}
 html[lang="ja"] .faq-item summary{font-size:19px;line-height:1.65}
}
@media(max-width:359px){
 html[lang="ja"] :is(.visual-feature-grid,.visual-photo-process) h3{font-size:17px}
 html[lang="ja"] .application-card h3{font-size:24px}
}

@media(max-width:1023px){html[lang="ja"] .material-stage-copy :is(p,h2){font-size:19px}}
@media(max-width:600px){html[lang="ja"] .material-stage-copy :is(p,h2){font-size:16px;line-height:1.7}}

html[lang="ja"] .recognition-counts .patent-count-unit{font-size:16px;color:var(--blue);margin-left:-7px}
html[lang="ja"] .sc-company-count-value{display:flex;align-items:baseline;gap:4px}
html[lang="ja"] .sc-company-ip-count .patent-count-unit{font-size:16px;line-height:1;color:var(--sc-blue)}

/* Long official award names follow Japanese line flow within narrow cards.
   Keep their authored font size and avoid balancing beyond the card edge. */
html[lang="ja"] :is(.sc-research-award,.recognition-award) h3{
 inline-size:100%;min-inline-size:0;padding-inline-end:.5em;word-break:normal;overflow-wrap:anywhere;text-wrap:pretty
}
html[lang="ja"] :is(.sc-research-award,.recognition-award) h3 .typo-unit.typo-unit{display:inline!important}
