Hankyu Hanshin Properties

Hankyu Hanshin Properties writes `font-feature-settings: "palt"` on `body` once and then adds positive tracking back on top — tighten with proportional metrics, then re-open by 0…

Back to all styles

Preview

Every style on this site is applied to the same sample page — same headline, same three columns, same footer. Only the stylesheet changes, so every difference you see below belongs to Hankyu Hanshin Properties, not to the copy.

A live page, not a screenshot — the frame scrolls. Open full preview ↗

At a glance

19tokens
13type steps
5radius steps

Hankyu Hanshin Properties, in one page

One gradient, six badges, everything else white and grey. A Hankyu-maroon purple `#7f0073` running into a pink `#c32381` is the only strong colour in the system; the rest is assembled from white and grey. What makes the page work typographically is not the colour at all — it is `palt` applied once on `body`, and then a small positive `letter-spacing` layered back over it.

Four things define this site.

  1. One line of `font-feature-settings: "palt"` on `body`, inherited by 1,175 elements (`html` stays `normal`; `body` carries `"palt"`). The extractor counts 531 visible text elements on the top page and 258 down-page. How tightly Japanese sits here is decided by `palt`, not by `letter-spacing`.
  2. On top of `palt`, a small positive `letter-spacing`. Nav at 15px gets `0.6px` (0.04em), the headline at 30px gets `1.8px` (0.06em), links at 14px get `0.84px` (0.06em). Tighten, then open back up slightly — a two-stage move.
  3. Mincho (Noto Serif JP) appears on headings only. The top-page hero headline at 30px on 13 elements, the lower-page title at 42px on 1 element. All body copy is gothic. `@font-face` declares eight weights from 200 to 900, but only 500 ever reaches `loaded`.
  4. Six badge colours for business categories. `#4ea075` (sustainability) / `#347885` (logistics) / `#8ca546` (development) / `#6da5ad` (DX) / `#c76fa3` (area management) / `#868e98` (other). All small tags at 11px with a 2px radius.

There are zero CSS custom properties on either page. The design tokens do not exist. No vertical writing either.

Every element at weight 700 belongs to OneTrust, the consent manager (`Privacy settings centre`, `Accept all cookies`, `Clear`, `Apply`, `ot-cat-header`). The site itself uses 300 / 400 / 500 only, and the lower pages contain not a single 700. The 14.4px / 700 button that shows up in the interactive scan is the CMP as well — do not take it as a component spec.

Density: low. A mega-menu nav packed with 12px type sits alongside a generous 30px Mincho headline.

Do's and don'ts

Do

  • Write body { font-feature-settings: "palt" } once and let it inherit
  • Layer letter-spacing above it at three steps, 0.02em / 0.04em / 0.06em, declared in em per element
  • Mincho (Noto Serif JP) on headings only; body copy stays gothic
  • Keep weights within 300 / 400 / 500
  • Use the six business badge colours as a set
  • One shadow only: rgba(0, 0, 0, 0.1) 0 3px 30px 0
  • Copy the gradient exactly: linear-gradient(90deg, #7f0073 0%, #c32381 100%)
  • Convert rem at 1rem = 10px (html { font-size: 62.5% })
  • Put Yu Gothic Medium *before* Regular so Windows does not render thin when the web font fails
  • Add , serif / , sans-serif to the Noto stacks — a single-word family has nowhere to fall back to

Don't

  • Do not use weight 700 — on the live site it belongs entirely to the OneTrust CMP, and the site proper has not one element
  • Do not remove palt — without it the Japanese punctuation strings out and the site’s texture is unreproducible
  • Do not apply palt and then set letter-spacing to 0 — the site tightens and then re-opens by 0.02–0.06em
  • Do not copy the Yu Gothic stack verbatim (Medium sits after Regular, which renders thin on Windows)
  • Do not write "Noto Serif JP" or "Noto Sans JP" as a single-word stack
  • Do not take Cormorant Infant above 300 — only 300 is loaded
  • Do not reset html to 16px — every rem on the site becomes 1.6× too large
  • Do not add shadows — there is one, and only one
  • Do not add or remove a business badge colour — the six work as a system

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 a business introduction page following the Hankyu Hanshin Properties design system.
- One line of `font-feature-settings: "palt"` on `body`, inherited by everything
- Above that, `letter-spacing` at three steps: 0.02em (captions) / 0.04em (nav, business names) / 0.06em (Mincho headings, links), declared in `em`. Body stays `normal`
- `html { font-size: 62.5% }` (10px); `body { font-size: 15px; line-height: 1.5 }`
- Japanese in `"Noto Sans JP"` first, with Yu Gothic Medium placed before Regular
- Headings only: `"Noto Serif JP"` 30px / 400 / `line-height: 1.6` / `letter-spacing: 0.06em`
- English section headings: `"Cormorant Infant"` 60px / weight 300 / `line-height: 1.2`
- Weights 300 / 400 / 500 only. Never 700
- Hero text panel: `linear-gradient(90deg, #7f0073 0%, #c32381 100%)`, white type, `border-radius: 7px`, `box-shadow: rgba(0,0,0,0.1) 0 3px 30px 0`
- "View all" links: `#7f0073` type / 14px / `border-radius: 100px`
- Business badges: 11px / white / `border-radius: 2px`, six colours as a set (`#4ea075 #347885 #8ca546 #6da5ad #c76fa3 #868e98`)
- Cards at `border-radius: 5px`; the one shadow above is the only shadow on the site
- Container 1160px, card 470px, breakpoints 1024 / 768 / 480px
- No vertical writing

The specification

Colour paletteRead the full spec

Primary

RoleValueMeasured
Hankyu Purple#7f00737 visible surfaces plus 8 text elements. Link text such as View all news releases, and button surfaces
Brand gradientlinear-gradient(90deg, #7f0073 0%, #c32381 100%)Reserved for the hero text panel (6 visible elements). A purple-to-pink surface set at an angle over photography
Pink#c32381The far stop of the gradient. Never used flat

The gradient runs at `90deg` (left to right) with stops at 0% and 100%. Neither the angle nor the stop positions are rounded.

Business category colours (badges)

BusinessValue
Sustainability#4ea075
Logistics#347885
Development#8ca546
DX#6da5ad
Area management#c76fa3
Other#868e98

All six: 11px / white type / `border-radius: 2px` / weight 400 / `line-height: 1.55`. Six colours work as one system — adding or dropping one breaks it.

Neutral

  • Text Primary (`#333333`): body and nav (65 elements on the top page, 48 down-page — the most)
  • Text Sub (`#3f464e`): section headings and Latin labels such as `News` (21 top / 11 down)
  • Text Muted (`#868e98`): breadcrumbs (4 down-page). The same value as the “other” badge
  • Text on Dark (`#ffffff`): on the gradient surface (23 elements)
  • Text Light (`#555555`): auxiliary copy
  • Dark Surface (`#27455c`): footer (6 visible surfaces)
  • Border / Divider (`#d0d5dd`): pager number cells (6 elements)
  • Surface (`#f8f8f8`) / `#f3f3f3` / `#f2f2f2`: three steps of pale ground
  • Subpage gradient (`linear-gradient(#f6f4f1 0%, #d3d0c9 100%)`): the lower-page hero background (`div::before.top_message_wrap_back`, 589,995px²). A vertical beige-to-grey wash — a different family from the purple on the top page
  • Background (`#ffffff`): page ground (`pageBackground.resolved`, sourced from `body`)
Type scaleRead the full spec

Japanese

  • Gothic — body and default: Noto Sans JP (Google Fonts). 93 elements on the top page, 58 down-page
  • Mincho — headings only: Noto Serif JP. 13 elements on the top page (the 30px hero headline) and 1 down-page (the 42px page title)
  • Font fetching: 61 requests to `fonts.gstatic.com`. Only five faces reach `loaded` — Noto Sans JP 400 and 500, Noto Serif JP 500, Inter 400, Cormorant Infant 300. Everything else (Noto Sans JP 100/200/300/600/700/800/900, Noto Serif JP 200/300/400/600/700/900) is declared and never painted

Latin

  • Sans-serif: Inter (weight 400). Used for `English` and dates like `2026.10.07` (8 elements top / 4 down)
  • Serif: Cormorant Infant (weight 300). The 60px section headings `News`, `Business`, `Pick up` (5 elements). Only that one weight is loaded, so never embolden it

font-family

/* Body and nav — the live declaration, verbatim */
font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Yu Gothic Medium",
             "Yu Gothic", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

/* Headings (Mincho) */
font-family: "Noto Serif JP";

/* Badges and some labels */
font-family: "Noto Sans JP";

/* Latin */
font-family: Inter;              /* dates, English */
font-family: "Cormorant Infant"; /* 60px section headings */

Fallback — what the site does versus what is correct

  • The Yu Gothic order is inverted. The site lists `Yu Gothic, YuGothic, "Yu Gothic Medium", "Yu Gothic Medium"`, so on Windows it lands on the second entry (Regular) and never reaches Medium — text renders thin. Noto Sans JP sits first and does actually load, so there is no visible damage today, but the moment the web font fails, Windows alone gets lighter type. Put Medium before Regular:
    font-family: "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic Medium", "Yu Gothic", YuGothic,
                 "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  • Hiragino is specified as `Pro`, not `ProN`. Pro and ProN are different faces (ProN carries JIS2004 glyphs). Match the site and use `Pro`; modernise the glyphs and use `ProN`. Pick one and apply it everywhere.
  • `"Noto Serif JP"` and `"Noto Sans JP"` have no fallback — a single-word stack. If the web font fails, it drops straight to the browser default. Add `, serif` / `, sans-serif`.

Sizes and weights

`html { font-size: 10px }` (62.5%) and `body { font-size: 15px; line-height: 22.5px }` — both completely fixed at 1440 / 1200 / 834 / 768 / 767 / 375px. Nothing is fluid. `1rem = 10px`, so the nav’s `14.4px` is `1.44rem`.

RoleFontSizeWeightLine heightTrackingNote
Display (EN)Cormorant Infant60px3001.2normalNews Business Pick up
Page title (JP)Noto Serif JP42px4001.22.52px (0.06em)Top message down-page
Hero headline (JP)Noto Serif JP30px4001.61.8px (0.06em)Inside the hero panel. Colour #ffffff
Heading 2 (JP)Noto Sans JP18px5001.5normalNews Business Features
Nav (JP)Noto Sans JP15px5001.470.6px (0.04em)Global nav
BodyNoto Sans JP15px4001.5 (22.5px)normalThe body default
Link (JP)Noto Sans JP14px4001.50.84px (0.06em)View all news releases
Lead (JP)Noto Sans JP16px4001.860.3pxLower-page body lead
CaptionNoto Sans JP13px4001.60.26px (0.02em)Read more, job titles
Date (EN)Inter14px4001.50.28px (0.02em)2026.10.07
Menu itemNoto Sans JP12px4001.5normalMega-menu entries (the most common size — 37 elements)
Badge"Noto Sans JP"11px4001.55normalBusiness categories

Three weights: 300 / 400 / 500 (73 / 47 / 5 elements on the top page). 700 exists only in OneTrust — the site itself never uses it.

300 is used by Cormorant Infant alone (the 60px Latin serif). No Japanese text is set at 300.

Leading and tracking

  • Body leading is 1.5 (`body { line-height: 22.5px }` = 15px × 1.5). It is declared in absolute `px`, but 65 elements on the top page and 39 down-page measure at a 1.50 ratio, meaning each block re-declares `1.5` itself. For new work, write the unitless `1.5`
  • Headings: hero 1.6 / page title 1.2 / nav 1.47 / Latin display 1.2
  • Only the lower-page lead opens to 1.86 (2 elements)
  • Tracking is `palt`'s job first and `letter-spacing`'s second.
    • Default is `normal` (76 elements top / 49 down — the most)
    • Opening happens at three steps: 0.02em / 0.04em / 0.06em
      • `0.06em` → Mincho headings (30px → 1.8px, 42px → 2.52px) and links (14px → 0.84px)
      • `0.04em` → nav (15px → 0.6px), business names (12px → 0.48px)
      • `0.02em` → captions (13px → 0.26px), dates (14px → 0.28px)
    • Declared in `em` on each element, so the px value scales with size. It is not inherited.

Line breaking and OpenType

Components and layoutRead the full spec

Buttons

Text-link pill (`View all news releases` / `View all businesses`)

  • Background: `transparent`
  • Text: `#7f0073` / 14px / 400 / `line-height: 1.5` / `letter-spacing: 0.06em`
  • Radius: `100px`

Hero panel (the gradient text block)

  • Background: `linear-gradient(90deg, #7f0073 0%, #c32381 100%)`
  • Text: `#ffffff` / Noto Serif JP 30px / 400 / `line-height: 1.6` / `letter-spacing: 0.06em`
  • Radius: `7px`
  • Shadow: `rgba(0, 0, 0, 0.1) 0 3px 30px 0`

Pager

  • Background `#d0d5dd` (unselected), radius `10px`

The OneTrust controls `Accept all cookies` / `Apply` / `Clear` (14.4px / 700 / `#7f0073` background) are not part of the component spec. The consent manager is simply painted in the brand colour — the site proper has no 700-weight button anywhere.

Badges

  • The six business categories: 11px / white / `border-radius: 2px` / `line-height: 1.55`
  • Recruitment track (`Graduate` / `Mid-career`): `border-radius: 5px` / 12px / `letter-spacing: 0.064em`

Cards

  • Background `#ffffff` / `#f8f8f8`
  • Radius: `5px` standard / `7px` hero panel / `3px` small / `1px` for `ENGLISH`
  • Shadow: `rgba(0, 0, 0, 0.1) 0 3px 30px 0` — one kind, on six elements, site-wide

Radius appears at 1 / 2 / 3 / 5 / 7 / 10 / 100px — seven values — but the centre of gravity is `5px` (10 elements). `100px` exists only for the text-link pill.

Inputs

There is a single keyword search field on the top page. No dedicated border colour or radius was detected; if you need one, align it to the card’s `5px`.

Container

UseWidthMeasured
Standard container1160px6 top / 5 down (the most)
Wide container1240px2 top / 1 down
Middle column960px4 top
Body column800px / 546pxdown-page
Card470px6 top
Side column300px2 top / 2 down

Spacing

There are no explicit spacing tokens. As with radius and shadow, the 1160px container and the 470px card width are the basis of the design. No `display: grid` gaps were detected (`gaps: []`) — layout is built from flex and margin.

LevelShadowUseMeasured
0noneDefault. Lower pages use no shadow at allAll 63 lower-page elements
1rgba(0, 0, 0, 0.1) 0 3px 30px 0The hero text panel6 elements on the top page

There is exactly one shadow on the site. A wide 30px blur with a small 3px offset — a broad, faint drop. Do not substitute a conventional `0 2px 4px`.

Responsive behaviourRead the full spec

Breakpoints

WidthOccurrences (top / lower page)
max-width: 1024px3 / 2
max-width: 768px3 / 2
max-width: 480px3 / 2
max-width: 1440px2 / 1
max-width: 1330px2 / 1
max-width: 1240px2 / 1
max-width: 1160px2 / 1
max-width: 880px2 / —
max-width: 600px2 / 2
min-width: 550px2 / 2
  • The spine is 1024 / 768 / 480px. 1440 / 1330 / 1240 / 1160 are container-width fine-tuning
  • `html` and `body` font sizes never change at any breakpoint — 10px and 15px, fixed. There is no fluid-root cliff as on Daiichi Sankyo or Sanyo Shokai (verified at ±1px around 768)

Touch targets

  • The text-link pill (14px / radius 100px), the business badges (11px / radius 2px) and the mega-menu items (12px) all fall below 44px. On mobile the height has to be built with vertical padding

Font size behaviour

  • Sizes are fixed across breakpoints. Shrinking on mobile is absorbed by layout — columns dropping — rather than by type

Drop-in CSS variables

The same values as a theme block. Add the class to <body> and the site repaints.

body.theme-hhp {--page-bg: #f8f8f8;
  --page-bg-gradient: none;
  --text-color: #333333;
  --heading-color: #333333;
  --link-color: #7f0073;
  --link-hover-color: #4c0045;
  --border-color: #d5d5d5;
  --card-bg: #f8f8f8;
  --card-shadow: 0 1px 2px rgba(51,51,51,0.06);
  --card-hover-shadow: 0 6px 18px rgba(51,51,51,0.12);
  --header-bg: #333333;
  --header-text-color: #ffffff;
  --header-shadow: none;
  --footer-bg: #f8f8f8;
  --footer-text-color: #6e6e6e;
  --button-bg: #7f0073;
  --button-text-color: #ffffff;
  --button-hover-bg: #4c0045;
  --button-border: none;
  --button-border-radius: 7px;
  --button-secondary-bg: #ececec;
  --button-secondary-text-color: #333333;
  --button-secondary-hover-bg: #e0e0e0;
  --button-secondary-border: 1px solid #d5d5d5;
  --prompt-bg: #eeeeee;
  --prompt-text-color: #333333;
  --base-font: var(--font-helvetica);
  --heading-font: var(--font-serif);
  --card-border-radius: 7px;
}

Download theme.css

Visually close to

Measured with a deterministic colour + geometry comparison across 958 styles. Not a hand-picked list.

Where this came from

Source document
jp/design-md/hhp/DESIGN.md · 13.4 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.