import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@godxjp/ui/data-display"; import { Flex, PageContainer } from "@godxjp/ui/layout"; /** * Typography · design-token foundation. Real semantic

-

elements (no * faked sizes): the base heading layer renders the reference-design scale and keeps * the document outline SEO/accessibility correct. Composed only from real * @godxjp/ui components. */ export default function Demo() { return ( Heading scale h1 20 / h2 18 / h3 14 / h4-h6 13px, weight 500 (h5/h6 collapse to 13px). SEO/a11y: exactly one <h1> per page (the page title above); h2-h6 below never skip a level.

<h2> 見出し · section heading · 18px / 500

<h3> 見出し · subsection · 14px / 500

<h4> 見出し · minor heading · 13px / 500

<h5> 見出し · 13px / 500
<h6> 見出し · 13px / 500
Body & weights Default body 14px / 1.7 (間 ma); dense tables 13px / 1.5. Three weights only · 400 body, 500 heading/label, 700 emphasis. NO 300, NO 600.

本文 14px / 1.7 · 漢字の密度に合わせて行間を広めに取り、読み疲れを抑えます。Body copy mixes 日本語 and Latin without breaking rhythm.

400 normal · 通常の本文 · regular body

500 medium · 見出し・ラベル · headings, labels

700 bold · 強調のみ · emphasis only

Tabular figures tabular-nums on every numeric column / large stat so digits align under 1.7 leading. ¥1,284,500 · tabular ✓ ¥1,284,500 · proportional ✗ Size scale Six steps on the JP-dense base. text-sm (14px) is body; text-base+ are for stats / large numerals, not running copy.

text-xs · 13px · 補足・密なテーブル

text-sm · 14px · 本文 body

text-base · 15px · やや大きい本文

text-lg · 19px · リード文 lead

text-xl · 22px · 小見出し統計

text-2xl · 26px · 大きな統計値

Font family font-sans · Noto Sans JP by default (Japanese + Latin, incl. the Vietnamese subset); M PLUS 2 is the fallback face for every supported locale. font-mono · the UI-monospace stack for code, IDs and aligned digits.

春はあけぼの · Số hóa văn bản · The quick brown fox jumps over the lazy dog 0123456789

const id = "EMP-2025-001"; // 0123456789 IlO0
Line height tight 1.25 · headings · normal 1.5 · dense tables · body 1.7 · running 日本語/Latin copy (the default applied to <body>).

tight 1.25 · 見出し向けの詰めた行間。Compact leading for headings and single-line labels where vertical rhythm should stay tight.

normal 1.5 · 密なテーブル向け。Slightly looser for dense tables and metadata where rows must stay scannable but not cramped.

body 1.7 · 本文向け。Generous leading for running mixed 日本語 and Latin copy so the kanji density never reads as a wall of text.

); }