# Yahoo! JAPAN DESIGN.md

> Public preview. The complete DESIGN.md source (all 92 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Dense Japanese web portal aesthetic — portal indigo links, periwinkle-tinted panels, compact 14px Japanese type, hairline borders instead of shadows, and a fixed multi-column grid packed edge to edge with services, news, and widgets.

- Website: https://yahoo.co.jp
- Primary color: Navy `#1D3994`
- Fonts: Hiragino Kaku Gothic ProN
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/yahoo-japan

## Palette preview

- `error`: `#eb0013`
- `neutral`: `#f0f3f7`
- `outline`: `#9eb4db`
- `primary`: `#1d3994`
- `surface`: `#ffffff`
- `warning`: `#bc0cae`
- `on-error`: `#ffffff`
- `tertiary`: `#dd6214`

## Typography preview

- `body-md`: Hiragino Kaku Gothic ProN
- `body-sm`: Hiragino Kaku Gothic ProN

---

## Overview

Yahoo! JAPAN is the archetypal Japanese mega-portal: a dense, information-first page that treats every pixel as inventory. The mood is utilitarian and civic — part newspaper front page, part phone directory — with disaster alerts, weather, mail, shopping, and dozens of service links competing on one screen. Nothing is decorative; small thumbnails, bulleted headline lists, and tiny icons do all the work.

The personality is trustworthy and habitual rather than stylish. Whitespace is scarce by design, sections are separated by hairline rules and pale periwinkle panels, and the signature indigo link color (`primary`) marks nearly every interactive element. Imagery is functional: service icons in the header, square news thumbnails, and ad banners are the only large visuals.

## Colors

- **Portal Indigo / Primary (#1D3994):** The single most important color — used for virtually all text links, service icons, section headers, and active states. It reads as institutional "internet blue" rather than a saturated brand blue.
- **Action Blue / Secondary (#4070FF):** Reserved for the highest-value control on the page, the "検索" search button, plus small inline CTAs. Used sparingly so it stays findable in the density.
- **Yahoo Red / Error (#EB0013):** The brand mark red, echoed in alert text and critical labels.
- **Alert Magenta / Warning (#BC0CAE):** Reserved for the emergency banner (disaster warnings) — a magenta frame and label chip that must never be repurposed for decoration.
- **Badge Orange / Tertiary (#DD6214):** "NEW" flags and commerce accents.
- **Periwinkle Tints (surface-container #E6ECFE, surface-container-low #F1F5FF):** Cool blue-gray fills that group the search area, side rail widgets, and utility panels.
- **Outline (#9EB4DB, outline-variant #CEDAF3):** Desaturated blue borders used instead of shadows to divide panels.
- **Neutrals:** Black `#000000` headlines on white `#FFFFFF`, mid-gray `#666666` metadata, page tint `#F0F3F7` behind the white content grid.

## Typography

Type is a single Japanese sans stack — `"YJTop Ellipsis", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, Osaka, "MS PGothic", sans-serif` — tokenized here under Hiragino Kaku Gothic ProN. The system is aggressively compact: `body-md` at 14px is the workhorse for headlines, links, nav, and body copy alike.

- **Headlines:** Section titles (`headline-md`, `headline-sm`) use weight 700 at 15–16px; hierarchy comes from weight, not size.
- **Body/Links:** 14px regular in Portal Indigo; news lists run tight at `line-height` 1.4 or less.
- **Labels & metadata:** 12–13px (`label-sm`, `body-sm`) in mid-gray for timestamps, comment counts, and source names.
- **Caption:** 10px white on colored badges and legal microcopy.

## Layout

A fixed-width multi-column portal grid inside `container-max` ≈ 1400px. The classic homepage layout is a wide left rail of service links, a dominant center news column, and a right utility rail (login, weather, calendar widgets). Sub-services like Yahoo!ニュース narrow to a centered column.

Spacing is micro-scaled, not modular 8px: lists breathe with 1–5px gaps, panels pad at 8–10px. The page intentionally tolerates crowding — density is the brand.

## Elevation & Depth

Flat by convention. Hierarchy is built with hairline `outline`/`outline-variant` borders and periwinkle tonal fills, not box-shadows. The only shadow observed is a subtle inset keyline inside panels. Overlays (e.g., the "reduce similar articles" toast) use near-black translucent surfaces instead of elevated cards.

## Shapes

Near-square. Inputs and most panels are `rounded.none`; chips and small buttons use 2–4px (`sm`–`lg`) at most. `full` appears only on icon avatars (weather glyphs, the assistant mascot). Do not introduce large radii — they break the portal's hard-edged rhythm.

## Motion & Micro-interaction

Almost none. Hover feedback is an instant color/underline change (`state-change` ≈100ms); carousels and dropdown panels slide at ≈300ms ease-in-out (`surface-enter`). Nothing loops, nothing parallaxes.

## Voice & Content Strategy

- **Tone:** Terse, civic, and factual — headlines are compressed noun phrases, labels are 2–4 character service names (ショッピング, オークション, メール).
- **Language:** All-Japanese UI with katakana service names; timestamps use compact forms like `11/20(金) 22:09`.
- **Badging:** A literal uppercase "NEW" chip marks fresh headlines; disaster banners state the alert type, region, and a "詳細" details link — no sensational wording.
- **CTAs:** Noun or verb-phrase only (検索, 詳細, もっと見る) — never playful.

## Components

- **Search button (`button-primary`):** 34px-tall Action Blue bar, square corners, white label. Sits flush against the white input; the pair forms the page's only true CTA. (Real contrast ≈3.7:1 — see Do's and Don'ts.)
- **Secondary button (`button-secondary`):** Periwinkle fill + indigo text for utility actions like "地域を設定する".
- **Overlay button (`button-overlay`):** Translucent black → solid dark chip used for feed-preference toasts.
- **Nav link (`nav-link`):** Indigo 14px text, no padding chrome; underline on hover.
- **Card / panel (`card`, `panel-tinted`):** White or `#E6ECFE` rectangles divided by hairline borders; 8–10px padding.
- **Badge (`badge-new`):** Tiny orange "NEW" tag appended to headlines (≈2.7:1 contrast — intentional, see below).
- **Alert banner (`banner-alert` + `banner-alert-label`):** Magenta-framed box with a magenta label chip, black body text, and a "詳細" link; only for official emergency notices.

## Do's and Don'ts

- Do render links in Portal Indigo `#1D3994`, never in generic browser blue.
- Do keep the page dense — resist adding whitespace "for breathing room"; sections are separated by hairlines, not gaps.
- Do reserve Alert Magenta and Yahoo Red for genuine emergency/brand moments.
- Do keep corners square; roundness above 4px reads as off-brand.
- Don't add drop shadows, gradients, or glass effects — depth is hairlines and tints only.
- Don't enlarge body text above 14–15px in lists; density is the product.
- Note: the Action Blue search button (≈3.7:1) and orange NEW badge (≈2.7:1) fall below 4.5:1 contrast — they are faithful to the live site; do not "fix" them by darkening the brand colors, but do not reuse those pairs for new long-form text.
