/* Japanese typography and line-breaking adjustments for the EHS page */
.ehs_page_ja {
   font-family: "Pretendard JP", "Yu Gothic", "Meiryo", sans-serif;
}

.ehs_page_ja .ehs_visual_text p,
.ehs_page_ja .ehs_env_head h2 em,
.ehs_page_ja .ehs_env_head p,
.ehs_page_ja .ehs_env_card_text h3,
.ehs_page_ja .ehs_env_card_text p,
.ehs_page_ja .ehs_env_card_points li,
.ehs_page_ja .ehs_env_detail_text h3,
.ehs_page_ja .ehs_env_detail_text p,
.ehs_page_ja .ehs_env_detail_text li,
.ehs_page_ja .ehs_env_tabs button,
.ehs_page_ja .mo_ehs_head h2 em,
.ehs_page_ja .mo_ehs_head p,
.ehs_page_ja .mo_ehs_card_body h3,
.ehs_page_ja .mo_ehs_card_body p,
.ehs_page_ja .mo_ehs_card_body li {
   line-break: strict;
   word-break: normal;
   overflow-wrap: break-word;
}

.ehs_page_ja .ehs_env_card_text h3,
.ehs_page_ja .ehs_env_detail_text h3,
.ehs_page_ja .mo_ehs_card_body h3 {
   line-height: 1.3;
   text-wrap: balance;
}

.ehs_page_ja .fold_br {
   display: none;
}

.ehs_page_ja .ehs_env_head p,
.ehs_page_ja .ehs_env_card_text p,
.ehs_page_ja .ehs_env_detail_text p,
.ehs_page_ja .mo_ehs_head p,
.ehs_page_ja .mo_ehs_card_body p {
   word-break: auto-phrase;
   text-wrap: pretty;
}

.ehs_page_ja .mo_ehs_card_body li {
   word-break: auto-phrase;
   text-wrap: pretty;
}

.ehs_page_ja .mo_ehs_card_body .ehs_term_group {
   display: inline-block;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
   .ehs_page_ja .ehs_env_head h2 em {
      font-size: clamp(18px, 2.6vw, 25px);
   }

   .ehs_page_ja .ehs_env_head p {
      max-width: 680px;
   }
}

@media screen and (max-width: 599px) {
   .ehs_page_ja .mo_ehs_head h2 {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
   }

   .ehs_page_ja .mo_ehs_head h2 span {
      font-size: clamp(38px, 11vw, 48px);
   }

   .ehs_page_ja .mo_ehs_head h2 em {
      padding-bottom: 0;
      font-size: clamp(14px, 4vw, 18px);
   }
}

@media screen and (max-width: 320px) {
   .ehs_page_ja .fold_br {
      display: inline;
   }
}
