/* Same grids, colors and images; let each language wrap naturally. */
.cecil-i18n-mirrored :is(h1,h2,h3,h4,p,li,td,th,dt,dd){overflow-wrap:break-word}
.cecil-language-en :is(h1,h2,h3,h4,p,li,td,th,dt,dd){word-break:normal;line-break:auto}
.cecil-language-ko :is(h1,h2,h3,h4,p,li,td,th,dt,dd){word-break:keep-all;line-break:auto}
.cecil-language-zh :is(h1,h2,h3,h4,p,li,td,th,dt,dd){word-break:normal;line-break:strict}
.cecil-i18n-mirrored :is(.cecil-phrase,.cecil-phrase-group,bdi){white-space:normal;max-width:100%}
.cecil-i18n-mirrored :is(.header-btn,.btn,.cr-submit,.cr-course-card,.cr-service-card){white-space:normal;overflow-wrap:break-word}
.cecil-i18n-mirrored :is(.primary-nav a,.footer-nav a){overflow-wrap:break-word}
@media(max-width:767px){.cecil-i18n-mirrored :is(h1,h2,h3){text-wrap:balance}.cecil-i18n-mirrored .header-btn{line-height:1.35}}

/* Override only Japanese-specific phrase wrapping; preserve the visual layout. */
body.cecil-design-v128.cecil-design-v129.cecil-i18n-mirrored main#main :is(h1,h2,h3) bdi.cecil-phrase {
  display:inline!important;
  white-space:normal!important;
  word-break:inherit!important;
  line-break:inherit!important;
  overflow-wrap:inherit!important;
}
body.cecil-design-v128.cecil-design-v129.cecil-language-en main#main :is(h1,h2,h3,h4,p,li,td,th,dt,dd) {
  word-break:normal!important;
  line-break:auto!important;
  overflow-wrap:break-word!important;
}
body.cecil-design-v128.cecil-design-v129.cecil-language-ko main#main :is(h1,h2,h3,h4,p,li,td,th,dt,dd) {
  word-break:keep-all!important;
  line-break:auto!important;
  overflow-wrap:break-word!important;
}
body.cecil-design-v128.cecil-design-v129.cecil-language-zh main#main :is(h1,h2,h3,h4,p,li,td,th,dt,dd) {
  word-break:normal!important;
  line-break:strict!important;
  overflow-wrap:break-word!important;
}
body.cecil-i18n-mirrored main :is(.cecil-nowrap,.reasons-v2-nowrap,.hogushi-formula-item,.cecil-hero-detail-actions .btn) {
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body.cecil-i18n-mirrored .primary-nav :is(a,.cecil-menu-parent-label) {
  white-space:normal;
  line-height:1.45;
}
