At a glance
Nara National Museum, in one page
Density through boldness, not through spacing. Tracking is `normal`, there is no `palt`, and instead almost every element including body copy sits at `font-weight: 500` with leading fixed at 1.80. One weight step up, and nothing else touched — an unusual decision.
Four things define this site.
- The root is 10px. `html { font-size: 10px }`, `body { font-size: 16px }`. `rem` is not based on 16px (`1rem = 10px`, `1.4rem = 14px`). Get that assumption wrong and every size is off by 1.6×.
- Body weight is 500. Of 194 visible elements, 167 are `font-weight: 500` (and 60 of 67 on the lower page). Only 10 elements use 400. Medium is the default here, not Regular — Noto Sans JP’s 400 is the exception.
- `line-height: 1.80` is uniform across the whole site. 165 of 194 on the top page; all 67 of 67 on the lower page. Headings, body and footnotes all share it.
- Tracking defaults to `normal` (170 of 194 measured). The exceptions are literal `px` values — `2px` / `4px` / `1px` / `3px` — on 24 elements total, all decorative headings and number blocks.
`font-feature-settings: "palt"` appears on zero elements. And zero in-house CSS custom properties — the 60 variables present are all WordPress / Gutenberg (`WordPress admin` 11, `WordPress / Gutenberg` 49). `--wp--preset--*` is not a design token; do not read it as one.
Density: medium. The 1.80 leading holds across every page, so headings through notes all move at the same rhythm.
Do's and don'ts
Do
- Set the root to 10px (
html { font-size: 10px }) and convertremagainst 10px - Set body copy at
font-weight: 500— that is the default here, and it is how the density is made - Apply
line-height: 1.8uniformly from headings all the way to notes - Keep tracking
normal; when you do add it, write literal px values (2px/4px) - Body colour is
#323131— not pure black - Drop one or two corners deep (
60px 0 0/0 0 60px). Pills at100px, cards at0px - Draw a 1px badge outline with
box-shadow: inset 0 0 0 1pxso nothing shifts - Draw the heading marker with
linear-gradient(rgba(0,0,0,0) 60%, #f0f0f0 60%)
Don't
- Do not add
font-feature-settings: "palt"— zero occurrences on the live site - Do not add
letter-spacingto body copy — the density comes from weight - Do not write
font-weight: 900—@font-facehas three files (400 / 500 / 700) and 900 renders as 700. The live site makes this mistake; do not copy it - Do not add Yu Gothic or Hiragino to
font-family— the Medium (500) setting then renders differently per environment - Do not read
--wp--preset--*as design tokens — all 60 variables are WordPress / Gutenberg; there are zero in-house tokens - Do not adopt
border-radius: 18pxor the#004d8alink colour — both belong to the STRIGHT cookie banner - Do not float cards with
box-shadow - Do not bring the stat block’s gold
#c57f23or purple#6f3e8finto ordinary UI — they exist only to make numbers readable
Copy this into your AI builder
Paste it as-is. Every value below was measured from the original site, not guessed.
Translated from the prompt block in the source document. Values unchanged.
Build an exhibition listing page following the Nara National Museum design system.
- `html` font size 10px (so `rem` is based on 10px)
- One font only: `"Noto Sans JP", sans-serif`. Body at 16px / `font-weight: 500`
- `line-height: 1.8` unified from headings to notes. `letter-spacing: normal`
- Do not use `font-feature-settings: "palt"`
- Brand green `#198479`, body colour `#323131`, background `#ffffff`, card ground `#f5f5f5`
- Date badges: "On view" = `#e71337` fill with white type; "Upcoming" = white ground with `box-shadow: inset 0 0 0 1px #e71337` and red type. Both at `border-radius: 0`
- "View more" is a `#2e2e2e` pill (`border-radius: 100px` / `padding: 10px 70px 10px 60px` / 14px / 500)
- Section surfaces drop only the top-left corner with `border-radius: 60px 0 0`
- No `box-shadow` anywhere
- Container 1080px, gaps 10–12px
The specification
Colour paletteRead the full spec
Primary
| Role | Value | Measured |
|---|---|---|
| Nara Green | #198479 | 26 filled surfaces, 8 text elements. Logo panel, the SEARCH and MENU round buttons, the selected tab, the Masterpiece and Special exhibition badges, lower-page heading text |
| Charcoal (surface) | #2e2e2e | 17 filled surfaces. The See top and Participate top pills, category band leads |
| Alert Red | #e71337 | 2 filled, 2 text. The On view (red fill) and Upcoming (red ring plus red type) date badges |
The brand green also appears in the consent manager. The cookie banner (STRIGHT by IIJ) uses `#198479` with `border-radius: 18px` for `Reject all` and `Accept all cookies`. But the same green also drives the logo panel, the `SEARCH` and `MENU` buttons, the tabs and the exhibition badges, so it belongs to the site rather than the CMP. Only the 18px radius is the CMP’s — do not adopt it.
Accent (for reading numbers and data)
Used only inside the `Narahaku in numbers` block. Never in ordinary UI.
- Gold (`#c57f23`): collection counts such as `In the collection` and `13 National Treasures` (6 visible elements)
- Purple (`#6f3e8f`): people counts such as `The current director is` / `26th` (5 visible elements)
- Cream (`#f2d69a`): the `Open today` label in the opening calendar
Neutral
- Text Primary (`#323131`): body and headings. 64 visible elements. Not pure black — `#323131`
- Text on Dark (`#ffffff`): type on green and charcoal surfaces (91 visible elements)
- Text Black (`#000000`): some headings and links (9 visible). Coexists with `#323131` — mildly inconsistent
- Link Blue (`#004d8a`): links inside the CMP (2 visible). Site links stay black
- Border (`#707070`): `1px solid` borders on link cards and the `Language` pill
- Surface (`#f5f5f5`): notice and exhibition card ground (4 visible)
- Surface Warm (`#f9f8f4`): the `Participate` and `About Narahaku` blocks (2 visible)
- Surface Sand (`#e8e3de`): the `Learn and research` block
- Surface Sub (`#f8f8f8`): lower-page title band
- Marker Gray (`#f0f0f0`): the band laid under the bottom half of a heading (see components)
- Stone (`#7a7671`): lower-page navigation cards
- Background (`#ffffff`): page ground (consistent on both pages, resolved from `body`)
Type scaleRead the full spec
Japanese
- Gothic — the only Japanese face: Noto Sans JP. `@font-face` carries three files — 400 / 500 / 700, not a variable font. The top page loads all three; the lower page loads only 500 and 700, because almost nothing there uses 400
- No Mincho. The logotype and the watermark lettering behind lower-page heroes (`NARA NATIONAL MUSEUM`) are images, handled separately
Latin
- There is no dedicated Latin face. `Language`, `SEARCH`, `MENU`, `HOME` all use the Latin glyphs of Noto Sans JP itself
- `Font Awesome` (5/6) and `slick` are declared in `@font-face` but measure `unloaded` on every page checked — the icon fonts are effectively unused
font-family
/* Body and UI — one stack for the whole site */
font-family: "Noto Sans JP", sans-serif;
- The chain has two steps only. No OS faces (Hiragino, Yu Gothic) are named, so a failed web font goes straight to generic `sans-serif`
- Do not lengthen the chain just because it looks short. Inserting Yu Gothic or Hiragino makes the Medium setting (weight 500) render differently per environment — Yu Gothic at default settings leans Light. Serving 500 entirely from Noto Sans JP is the premise of this design
- Only the CMP (cookie banner) is set in plain `sans-serif` (10 visible elements). That is not the site’s declaration
Sizes and weights
The root is 10px. `html { font-size: 10px }` / `body { font-size: 16px }`. `rem` converts against 10px (`2.7rem = 27px`).
| Role | Font | Size | Weight | Line height | Tracking | Note |
|---|---|---|---|---|---|---|
| Page title | Noto Sans JP | 27px | 700 | 1.80 (48.6px) | 2px | Director’s message, See exhibitions. Lower page asks for 900 but renders 700 |
| Stat number | Noto Sans JP | 24px | 400 | 1.80 | 4px | Current Director Narahaku. Colour #6f3e8f / #c57f23 |
| Card title | Noto Sans JP | 18px | 700 | 1.80 (32.4px) | normal | Narahaku Buddhist Sculpture Selection, 78th Shosoin Exhibition |
| Person | Noto Sans JP | 18px | 500 | 1.80 | normal | Director Yoichi Inoue |
| Body | Noto Sans JP | 16px | 500 | 1.80 (28.8px) | normal | Body. The body default, unchanged |
| Body lead | Noto Sans JP | 16px | 500 | 2.20 (35.2px) | normal | Exhibition intros (2 elements only) |
| UI / caption | Noto Sans JP | 14px | 500 | 1.80 (25.2px) | normal | Notes, button labels, View more (44 elements) |
| Tab | Noto Sans JP | 15px | 500 | 1.80 | normal | All Topics Press releases |
| Menu item | Noto Sans JP | 13px | 500 | 1.80 | normal | Organisation and staff, Narahaku volunteers |
| Small | Noto Sans JP | 12px | 500 | 1.80 (21.6px) | normal | Language Closed Open today (40 elements) |
| Building label | Noto Sans JP | 11px | 500 | 1.00 | normal | Buddhist Sculpture Hall, Bronze Hall, East New Wing (calendar legend) |
| Icon label | Noto Sans JP | 7px | 500 | 1.80 | normal | SEARCH MENU inside the round buttons |
`font-weight: 900` renders as 700. The lower page’s `Director’s message` asks for `900`, but `@font-face` carries only 400 / 500 / 700 — and it is not a variable font — so the browser picks 700. The intended weight never appears. Write 700 in new work.
Leading and tracking
- One leading: 1.80. 165 of 194 on the top page, all 67 of 67 down-page. Headings, body and notes alike
- Exceptions: `2.20` (exhibition intros, 2 elements), `1.00` (calendar legend, 19 elements), `1.20` (stat numbers, 2 elements)
- Tracking defaults to `normal` (170 of 194)
- Only 24 elements add tracking, all written literally in px:
- `2px` — the 27px page title (10 elements)
- `4px` — the 24px stat block (8 elements)
- `1px` — the small headings `Lectures` / `Events` (4 elements)
- `3px` — `National Museum` / `114` around the logo (2 elements)
Do not re-read `letter-spacing` as em here. This site writes px directly and the ratios are not consistent anyway (2px against 27px = 0.074em; 4px against 24px = 0.167em). Keep the px values. Never add tracking to body copy — the density is built from weight 500 and 1.80 leading. And apply `line-height: 1.8` to headings too: tightening them to 1.2–1.3 alone breaks the uniform rhythm this site depends on.
Line breaking and OpenType
- `line-break: strict`, `overflow-wrap: break-word`, `word-break: normal`
- Exhibition names mix corner brackets, dashes and full-width spaces. `break-all` would drop brackets to the start of a line — never use it
- 1.80 leading holds up over two to four heading lines. Do not tighten leading out of fear of a wrapped heading
- `palt` is not used. Even bracket-heavy exhibition names stay untightened, so Noto Sans JP keeps its native metrics alongside `letter-spacing: normal`
- Punctuation subsets such as `YakuHanJP` are not used either
- No vertical writing (`writing-mode` on 0 elements)
Components and layoutRead the full spec
Buttons
Primary — the green pill: background `#198479`, text `#ffffff`, padding `14px 26px`, radius `100px`, Noto Sans JP 15px / 500 / `letter-spacing: normal`.
Secondary — the charcoal pill with icon: background `#2e2e2e`, text `#ffffff`, padding `10px 70px 10px 60px` — asymmetric on purpose, 60px on the left for the icon and 70px on the right for the arrow. Radius `100px`, 14px / 500.
Ghost — the white pill, unselected tabs: background `#ffffff`, text `#323131`, padding `14px 26px`, radius `100px`, no border.
Outline — the `Language` pill: transparent, `1px solid #707070`, radius `100px`, padding `6px 20px 8px 35px` (35px on the left for the globe icon), 12px / 500.
Icon button — round: background `#198479`, radius `100%`, 7px / 500 (the words `SEARCH` / `MENU` sit underneath the mark).
Badges
| Kind | Background | Text | Radius | Padding | Size / weight |
|---|---|---|---|---|---|
Masterpiece Special | #198479 | #ffffff | 0px | 4px 10px | 12px / 500 |
On view | #e71337 | #ffffff | 0px | 4px 12px | 14px / 500 |
Upcoming | #ffffff | #e71337 | 0px | 4px 12px | 14px / 500 |
The `Upcoming` outline is not a `border` — it is a `box-shadow`. Measured: `border: 0px solid` plus `box-shadow: rgb(231,19,55) 0 0 0 1px inset`. An inset 1px ring draws the frame without shifting layout by a single pixel. Follow this.
Cards
- Background `#ffffff` (article ground `#f5f5f5`), border `1px solid #707070`, radius `0px`
- Padding `18px 12px` for link cards / `11px 55px 11px 12px` where an arrow sits on the right
- No shadow
Section panels — one or two corners, dropped far
Radius on this site is not “round everything” — it is one or two corners cut deep.
| Value | Use |
|---|---|
60px 0px 0px | The Notices section surface — top-left only |
0px 0px 60px | The About Narahaku block — bottom-right only |
60px 0px | Carousel outer frame (top-left and bottom-right) |
0px 0px 15px | Logo panel — bottom-right only |
100px | Pill buttons (14 elements) |
100% | Round icon buttons (3 elements) |
6px | The small MENU element (4 elements) |
`18px` is not adopted — that belongs only to the STRIGHT cookie banner buttons (4 elements).
Heading marker — a band under the bottom half
/* Lower-page section headings */
background: linear-gradient(rgba(0, 0, 0, 0) 60%, rgb(240, 240, 240) 60%);
color: #198479;
font-size: 27px;
font-weight: 700; /* the site asks for 900, but renders 700 */
letter-spacing: 2px;
line-height: 1.8;
Top 60% transparent, bottom 40% painted `#f0f0f0` — a highlighter effect, paired with green heading type.
Spacing
| Token | Value | Measured |
|---|---|---|
| XS | 1px | Separators |
| S | 10px | The most common gap (7 elements) |
| M | 12px | Gaps (5 elements); the `10px 15px` pair also appears 5 times |
| L | 20px / 25px | `20px 12px` (2), `25px` (2) |
| XL | 30px | Within a section |
| XXL | 35px | Between sections |
Container
- Max width `1080px` (7 elements — the most)
- Article column `1000px` (2 elements)
- Header and footer `1120px`
- Some wide blocks `1200px`
- Horizontal padding around 20px
Grid
- Two to four columns (exhibition cards 2–3, menus 4)
- Gutter 10px / 12px — quite tight
- The logo panel sits outside the grid: a green rectangle pinned to the top-left of the page, rounded 15px on the bottom-right only
| Level | Shadow | Use |
|---|---|---|
| 0 | none | The default. Cards, buttons, badges, panels — all of them |
| 1 | rgb(231,19,55) 0 0 0 1px inset | The red ring on the Upcoming badge (2 elements). Used in place of a border |
| — | rgba(0,0,0,0.5) 0 5px 15px 0 | The cookie banner only (1 element). Not a site component |
This site does not use shadow. Differentiation comes from “green and charcoal fills”, “a `1px solid #707070` frame”, and “pale surfaces in `#f5f5f5` / `#f9f8f4` / `#e8e3de`”.
Responsive behaviourRead the full spec
Breakpoints
| Name | Width | Description |
|---|---|---|
| Mobile | ≤ 767px | screen and (max-width: 767px) — 217 occurrences. Overwhelmingly the main switch |
| Desktop | ≥ 767px | screen and (min-width: 767px) — 18 occurrences |
| Tablet (device width) | ≤ 1024px | screen and (max-device-width: 1024px) — 17 occurrences. Note that it is device-width |
| Gutenberg | ≥ 600px / ≥ 782px | (min-width: 600px) 8 / (min-width: 782px) 6. WordPress defaults |
| iPad | 834–1366px | (min-width: 834px) and (max-width: 1366px) |
`max-width: 767px` and `min-width: 767px` are used together, so both match at exactly 767px. Fix one of them to 768px when you implement.
Touch targets
- Minimum 44 × 44px (WCAG). The pill buttons clear it with `padding: 14px 26px`
- The round icon buttons (`SEARCH` / `MENU`) are around 56px
Font size behaviour
- Page title 27px → 20–22px on mobile
- Body at 16px with weight 500 and `line-height: 1.8` stays put
- The stat block’s 24px / `letter-spacing: 4px` may drop to 2px tracking on mobile
Drop-in CSS variables
The same values as a theme block. Add the class to <body> and the site repaints.
body.theme-narahaku {--page-bg: #f5f5f5;
--page-bg-gradient: none;
--text-color: #323131;
--heading-color: #323131;
--link-color: #004d8a;
--link-hover-color: #003157;
--border-color: #d2d2d2;
--card-bg: #f5f5f5;
--card-shadow: 0 1px 2px rgba(50,49,49,0.06);
--card-hover-shadow: 0 6px 18px rgba(50,49,49,0.12);
--header-bg: #323131;
--header-text-color: #ffffff;
--header-shadow: none;
--footer-bg: #f5f5f5;
--footer-text-color: #6c6c6c;
--button-bg: #004d8a;
--button-text-color: #ffffff;
--button-hover-bg: #003157;
--button-border: none;
--button-border-radius: 60px;
--button-secondary-bg: #e9e9e9;
--button-secondary-text-color: #323131;
--button-secondary-hover-bg: #dedddd;
--button-secondary-border: 1px solid #d2d2d2;
--prompt-bg: #ebebeb;
--prompt-text-color: #323131;
--base-font: var(--font-helvetica);
--heading-font: var(--font-helvetica);
--card-border-radius: 60px;
}
Visually close to
Measured with a deterministic colour + geometry comparison across 958 styles. Not a hand-picked list.
- kyocera museum 77.4%
- aomori museum 71.3%
- kaminashi 71.1%
Where this came from
- Source document
jp/design-md/narahaku/DESIGN.md· 12.7 KB- Repository
- kzhrknt/awesome-design-md-jp
- Licence
- MIT
- Translation
- Translated from the original Japanese source document. Tokens, hex values and numbers are carried over unchanged.
Source text is reproduced under its original licence. Tokens, similarity scores and page structure are ours.