/* home.css 위에 얹는 일본어 판. 글꼴과 줄바꿈만 바꾼다(짜임·색은 한국어 판과 같다). */
@font-face { font-family: "Allday Sans JP"; src: url("/fonts/allday-sans-ja.woff") format("woff"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Allday Rounded JP"; src: url("/fonts/mplus-rounded-ja.woff") format("woff"); font-weight: 400 900; font-display: swap; }
:root {
  --display: "Allday Rounded JP", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --body: "Allday Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
/* home.css의 keep-all은 띄어쓰기가 없는 일본어에서 줄을 못 바꿔 화면 밖으로 넘친다. */
body { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
/* 큰 글자는 낱말 가운데서 끊기면 읽기 어렵다. 제목·설명·칩은 phrases_ja.py가 넣은 <wbr>(문절 경계)에서만 줄을 바꾼다. */
h1, h2, h3, .desc, .chip, .eyebrow { word-break: keep-all; overflow-wrap: anywhere; }
/* 둥근 고딕 큰 제목은 둥근미소보다 글자 폭이 넓어 같은 크기면 한 줄이 넘친다. */
.title { font-weight: 800; letter-spacing: 0; }
.hero h1 { font-size: clamp(30px, 8.2vw, 56px); }
.feat h2 { font-size: clamp(26px, 7vw, 44px); }
/* 가타카나 로고는 한글 로고보다 가로로 길어(8.4:1, 한글 5.9:1) 같은 높이면 머리줄이 넘친다. */
.brand img.word { height: 17px; }
@media (max-width: 520px) {
  .brand img.word { height: 14px; }
}
