デザインの様式を、動くデモ・効く理由・実装で踏んだ罠つきで解剖する図鑑。
様式名: スイス・ミニマル / テーブル
「壊れた例」を押すと、この様式が成立しなくなる条件を実物で見られます。
| 対象 | 文字色 | 背景 | 実効背景 | 比 | 判定 |
|---|---|---|---|---|---|
| 本文(白地) | #1a1a1a | #ffffff | #ffffff | 17.40:1 | AA 合格 |
| 本文(ゼブラ偶数行) | #1a1a1a | #f9f9f9 | #f9f9f9 | 16.53:1 | AA 合格 |
| ヘッダ小見出し(白地のヘッダ行のみ) | #6b6b6b | #ffffff | #ffffff | 5.33:1 | AA 合格 |
| 差し色・状態『遅延』/リンク(白地) | #c8102e | #ffffff | #ffffff | 5.88:1 | AA 合格 |
| やりがちな失敗:小見出しをゼブラ地に置く | #767676 | #f9f9f9 | #f9f9f9 | 4.31:1 | 不合格 |
<!doctype html>
<html lang="ja"><head><meta charset="utf-8"><title>スイス・ミニマル データテーブル デモ</title><style>
*{box-sizing:border-box;margin:0;padding:0}
:root{
--ink:#1a1a1a; /* 本文。白地で 17.40:1 */
--sub:#6b6b6b; /* ヘッダ小見出し。白地で 5.33:1。ゼブラ地には置かない */
--accent:#c8102e; /* 差し色は1色だけ。白地で 5.88:1 */
--zebra:#f9f9f9; /* 偶数行。本文(黒)しか乗せない */
--line:#1a1a1a;
}
body{background:#fff;color:var(--ink);min-height:340px;padding:34px 30px;
font-family:"Helvetica Neue","Arial",system-ui,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
/* 字重コントラストで階層を作る(装飾しない)。400 と 700 の差だけ */
.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--sub);font-weight:700;margin-bottom:6px}
h2{font-size:24px;font-weight:700;letter-spacing:-.01em;margin-bottom:2px}
.meta{font-size:12px;color:var(--sub);margin-bottom:22px}
table{width:100%;border-collapse:collapse;font-size:13px}
/* ヘッダ:小見出しは大文字+トラッキング。境界はヘッダ下の1本の太線だけ */
thead th{text-align:left;font-size:10px;letter-spacing:.12em;color:var(--sub);
font-weight:700;text-transform:uppercase;padding:0 16px 10px 0}
thead tr{border-bottom:2px solid var(--line)}
/* 数値は右揃え+等幅数字。表組みの定石 */
th.num,td.num{text-align:right;font-variant-numeric:tabular-nums}
/* 行の区切りは罫線ではなく余白とゼブラで作る。罫線は引かない */
tbody td{padding:11px 16px 11px 0;font-weight:400}
tbody tr:nth-child(even){background:var(--zebra)}
.name{font-weight:700}
/* ステータスは色だけに頼らない。色+文字ラベルを併用(WCAG 1.4.1) */
.stat{font-weight:700}
.stat.late{color:var(--accent)}
/* リンクも色だけにしない。下線を必ず付ける */
a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
tfoot td{padding-top:14px;font-size:11px;color:var(--sub);font-weight:400}
</style></head><body>
<p class="eyebrow">Q2 REPORT</p>
<h2>案件別 進捗一覧</h2>
<p class="meta">2026年4月〜6月/全4件</p>
<table>
<thead>
<tr>
<th scope="col">案件</th>
<th scope="col">担当</th>
<th scope="col" class="num">予算(万)</th>
<th scope="col" class="num">進捗</th>
<th scope="col">状態</th>
</tr>
</thead>
<tbody>
<tr><td class="name">ブランドサイト刷新</td><td>伊藤</td><td class="num">240</td><td class="num">92%</td><td><span class="stat">進行中</span></td></tr>
<tr><td class="name">採用LP</td><td>佐藤</td><td class="num">88</td><td class="num">100%</td><td><span class="stat">完了</span></td></tr>
<tr><td class="name">物流ダッシュボード</td><td>田中</td><td class="num">410</td><td class="num">64%</td><td><span class="stat late">遅延</span></td></tr>
<tr><td class="name">EC 決済改修</td><td>伊藤</td><td class="num">150</td><td class="num">78%</td><td><span class="stat">進行中</span></td></tr>
</tbody>
<tfoot>
<tr><td colspan="5">出典: 社内進捗管理(2026-06-30 時点)/ <a href="#">全案件を見る</a></td></tr>
</tfoot>
</table>
</body></html>