@charset "utf-8";
/* 일본어 사이트 전역 본문 폰트 — Pretendard JP (2026-09-28). jpn/head.lib.php 에서 bootstrap 뒤에 불러온다.
   /font/ 에 PretendardJP 는 400·600 만 있다 — 500(Medium)·700(Bold) 파일이 올라오면 여기에 @font-face 를 추가한다.
   없는 굵기를 요청하면 가짜 굵은체로 번지므로 굵은 글자는 600 으로 못박는다. --site-font 는 헤더 규칙(header_footer_*.css)이 쓴다. */
@font-face {font-family: 'Pretendard JP'; src: url('/font/PretendardJP-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'Pretendard JP'; src: url('/font/PretendardJP-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap;}
:root {--site-font: 'Pretendard JP', 'Hiragino Sans', 'Meiryo', sans-serif;}
/* html body … 로 한 단계 높인다: head.php 가 본문 중간에 bootstrap.min.css 를 한 번 더 불러 body 글꼴을 Helvetica 로 되돌리기 때문 */
html body, html body th, html body td, html body input, html body select, html body textarea, html body button {font-family: var(--site-font);}
b, strong, h1, h2, h3, h4, h5, h6 {font-weight: 600;}
/* 흐림 보정: 옛 CSS 의 300(Light) 은 가늘어 흐리게 보이므로 400 으로 올린다(Light 파일은 선언하지 않음) */

/* 애매한 줄바꿈 방지 */
h1, h2, h3, h4, h5, h6, #visual_wrap .txt_box p, .sub_content, .tit, .title {text-wrap: balance;}
p, dd, li {text-wrap: pretty;}

/* 줄바꿈: 옛 CSS 가 곳곳에 word-break: keep-all 을 걸어 두었는데, 띄어쓰기가 없는 일·중문은 keep-all 이면
   한 문장 전체가 끊기지 않아 모바일에서 화면 밖으로 넘친다. 일·중문 페이지에서는 글자 단위 줄바꿈으로 되돌리고
   문장부호 금칙(line-break: strict)을 지킨다. */
html body * {word-break: normal !important; line-break: strict; overflow-wrap: anywhere;}
