/* Injected raw (never imported by any JS module, never part of the normal
   build's CSS bundle graph) into every page's <head> by vite.config.js's
   minchoFontPlugin() — active only for `npm run build:mincho` /
   `/preview-mincho/`. Every selector below was hand-audited against the
   site's actual copy (index.html + src/data/*.js + every src/pages/*.js
   page) to contain Japanese text and nothing else worth keeping in the
   current sans-serif — English headlines ("HOW WE CREATE", "CONTACT",
   step titles like "Brief"), labels/eyebrows, category/filter buttons,
   MENU, numbers, and the logo SVG are deliberately NOT listed here, so
   they keep the site's existing font untouched.

   `!important` is used deliberately and only here — on every declaration
   in this file, not just font-family/font-weight: this stylesheet is
   injected at the very top of <head> (same place as the loader's own
   critical CSS), *before* the page's real bundled stylesheet in source
   order, so without `!important` the real stylesheet's own declaration
   for that same property — arriving later in the cascade at the same
   specificity — wins and silently cancels the override (this bit a
   max-width fix below during this round's own work: it was first added
   without `!important` and measured as having no effect at all until
   that was caught and fixed). Nowhere else in this project uses
   `!important`; it's confined to this one file, whose entire purpose is
   overriding the current font/layout for a themed comparison build.

   Weight tiers (this round's addition — previously every selector below
   just inherited whatever weight the current font already had):
     700 — large catchcopy / section-representative Japanese headlines /
           creator & work detail catchcopy. The one tier that needs an
           actual bold *file* (added this round) rather than relying on
           the browser's synthetic bold, which most CJK serif faces
           render as a crude, uneven stroke-thickening rather than a
           real bold design.
     600 — "medium heading" emphasis: section subcopy sitting right under
           the big English headline, HOW WE CREATE's step names, WHAT WE
           DO's item names, PRIVACY's section titles.
     400 — normal running text: intro/description/profile/privacy body
           copy, and small supplementary text (card names, form labels,
           error/status messages, footer-style copy). This is also the
           font's own default weight, so these rules exist to override
           font-*family* only — no explicit font-weight is needed on
           them, and none is set, to avoid a redundant declaration.
   See the end of this file for the handful of line-break/measure
   adjustments (max-width, line-height, letter-spacing) needed after
   these weight changes — no selector's actual font-size was touched
   except where noted there. */

:root {
  --font-jp-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

/* =======================================================================
   700 — large catchcopy / section-representative headlines / detail
   catchcopy
   ======================================================================= */
.hero__tagline,
.concept__headline,
.contact__headline .text-reveal-line__inner,
.contact-page__lede .text-reveal-line__inner,
.creator-detail__statement .text-reveal-line__inner,
.work-detail__concept .text-reveal-line__inner {
  font-family: var(--font-jp-mincho) !important;
  font-weight: 700 !important;
}

/* Not a large catchcopy like the group above — WORKS' own filter-button
   gloss (すべて/依頼されたもの/頼まれていないもの/実験), at 0.75em inside
   an already-small button. Kept as its own rule rather than folded into
   either tier group above/below: it needs the 700 *file* those large
   headlines use (this project's whole reason for shipping a 700 weight —
   Zen Old Mincho's synthetic/faux bold is a crude, uneven stroke-
   thickening, worse than doing nothing at this small a size), not the 600
   "medium emphasis heading" tier just below, which was visibly less
   legible in a side-by-side comparison at this exact size (both tried
   live before choosing). The other half of this legibility fix — raising
   this same element's opacity from 0.75 to 0.9 (1 when the button is
   active) — lives in works.css itself since the normal build's sans-serif
   version of this same button needed that opacity bump too, without also
   needing a synthetic-bold risk of its own. */
.works__filter-btn-ja {
  font-family: var(--font-jp-mincho) !important;
  font-weight: 700 !important;
}

/* CONCEPT's headline wrap fix (max-width: 11ch → 12ch) now lives in the
   shared concept.css instead of here — it was fixing a `ch`-unit/font-
   metric mismatch present in both typefaces (11ch fit the sans version
   with only ~3% to spare; Zen Old Mincho's own slightly narrower
   "0"-glyph-relative metrics were enough to tip it into an unwanted
   second wrap), not something specific to this font, so it's fixed once
   for both builds rather than patched here for this one. */

/* =======================================================================
   600 — medium "emphasis" headings
   ======================================================================= */
.creators__subcopy .text-reveal-line__inner,
.works__subcopy .text-reveal-line__inner,
.what-we-do__subcopy .text-reveal-line__inner,
.what-we-do__item-name,
.how-we-create__subcopy .text-reveal-line__inner,
.how-we-create__step-name,
.creators-list__lede .text-reveal-line__inner,
.works-list__lede .text-reveal-line__inner,
.privacy-page__headline-ja,
.privacy-page__section-title,
/* CONTACT's own post-submit "thanks" page (v0.2.22) — its one headline
   is this page's own plain WordPress Page title (the_title()), always
   Japanese in practice (e.g. "お問合せ完了"), set at `font-weight: 600`
   in contact-thanks.css — same weight tier as .privacy-page__headline-ja
   above regardless of its own larger font-size (this file's tiers are
   organized by which font FILE weight is needed, not by size). */
.contact-thanks-page__headline,
/* TOP CONTACT's own four offerings ("映像制作"/"企画・ビジュアル開発"/
   "仕組みづくり"/"ざっくり相談") — short Japanese heading-style labels,
   same tier as .what-we-do__item-name's own equivalent role. */
.contact__offering-title,
/* The main CTA pill's own label ("ご相談はこちら") — Japanese now, unlike
   every other filled-pill button on the site (SEND MESSAGE, the old
   English "CONTACT" this replaces), so it needs its own font-family
   entry for the first time. Same reasoning now applies to the shared
   subpage CTA button (src/components/subpage-cta) — its own label was
   the English "CONTACT" until this round's copy unification replaced it
   with the same "ご相談はこちら" text. */
.contact__cta-label-row,
.subpage-cta__button {
  font-family: var(--font-jp-mincho) !important;
  font-weight: 600 !important;
}

/* =======================================================================
   400 — normal running text / small supplementary text
   ======================================================================= */
.hero__subcopy,
.concept__block .text-reveal-line__inner,
.what-we-do__lede .text-reveal-line__inner,
.what-we-do__item-desc .text-reveal-line__inner,
.how-we-create__lede .text-reveal-line__inner,
.how-we-create__step-desc,
.contact__copy .text-reveal-line__inner,
.creators__lede .text-reveal-line__inner,
.works__lede .text-reveal-line__inner,
.contact__credit-ja,
.contact__credit-closing,
.site-footer__credit-ja,
.site-footer__credit-closing,
.creator-card__name-ja,
.creator-card__statement,
.creator-card__statement--static,
.subpage-cta__copy,
.creators-list-card__name-ja,
.creator-detail__name-ja .text-reveal-line__inner,
.creator-detail__profile-text .text-reveal-line__inner,
.creator-detail__not-found-text,
.creator-detail__not-found-link,
.creator-detail__related-empty,
.work-detail__description .text-reveal-line__inner,
.work-detail__not-found-text,
.work-detail__not-found-link,
/* CREATOR block (work-detail's own "担当クリエイター" section) and
   CONTACT's consultation banner — both new this round. Deliberately NOT
   listed: .work-detail__creator-name (shows the creator's own stylized
   English nameEn, e.g. "twotwomi") and .work-detail__creator-role (always
   English, e.g. "SCREENWRITER / AI FILM DIRECTOR") — same "leave English
   alone" rule as everywhere else in this file. */
.work-detail__creator-name-ja,
.work-detail__creator-statement,
.work-detail__creator-profile-link,
.contact-page__consultation-banner-label,
.contact-page__consultation-banner-title,
.contact-page__consultation-banner-creators,
.contact-page__guide,
.contact-page__required-note,
.contact-page__checkbox-label,
.contact-page__error,
.contact-page__status,
/* CATEGORY's own <option> labels are Japanese ("映像制作"/"企画・ビジュア
   ル開発"/"仕組みづくり"/"ざっくり相談", contact.js's own CATEGORIES) —
   this affects the select's own closed/current-value display in every
   browser tested; the open dropdown list itself is native OS chrome in
   some browsers and may not honor this, which no amount of CSS here can
   change. */
.contact-page__select,
.privacy-page__intro,
.privacy-page__section-body,
.privacy-page__list,
.privacy-page__date,
/* CONTACT's own post-submit "thanks" page (v0.2.22) — its body is this
   page's own plain WordPress Page content (the_content()), normal
   running Japanese text, same tier/role as .privacy-page__intro/
   .privacy-page__section-body above. Targeting the container itself
   (not each individual <p> the_content() produces) is deliberate, same
   as those two selectors — font-family inherits down to every child
   paragraph from here. */
.contact-thanks-page__body,
/* TOP CONTACT's own new offering descriptions, flow steps, reassurance
   lines and closing note under the buttons — all Japanese running/small
   text. */
.contact__offering-desc,
.contact__flow-step,
.contact__reassurance,
.contact__cta-note {
  font-family: var(--font-jp-mincho) !important;
}

/* WORKS' own end-of-section CONTACT CTA and each WHAT WE DO item's own
   per-consultation-type CTA both reuse the shared .view-all-link
   component (view-all-link.css) — the exact same class VIEW ALL WORKS'
   own English-only label uses elsewhere in this section, so the font
   override is scoped through each usage's own wrapper class
   (.works__cta / .what-we-do__item-cta) rather than the bare
   .view-all-link__label, which would incorrectly also apply here to that
   English text. */
.works__cta .view-all-link__label,
.what-we-do__item-cta .view-all-link__label {
  font-family: var(--font-jp-mincho) !important;
}

/* This round's three new .view-all-link buttons ("このクリエイターに相談
   する" / "この作品のような映像を相談する") — their Japanese label text sits
   directly in the <a> itself (no separate .view-all-link__label span, since
   these aren't built via renderViewAllLink()), so the override targets each
   button's own wrapper class directly instead. */
.work-detail__creator-consult-link,
.work-detail__consult-link,
.creator-detail__consult-link {
  font-family: var(--font-jp-mincho) !important;
}

/* Free-text fields only (name/company/message) — where a visitor is
   actually likely to type Japanese ("フォーム内の日本語"). The CATEGORY
   <select>'s own options are the fixed English category list and stay on
   the current font; EMAIL is excluded since an email address is always
   Latin/ASCII. */
.contact-page__input[type="text"],
.contact-page__textarea {
  font-family: var(--font-jp-mincho) !important;
}

/* =======================================================================
   Line-break / measure adjustments — max-width/line-height/letter-spacing
   only, no font-size changes, no fixed <br>, no transform/left offsets.
   ======================================================================= */

/* .hero__copy (the tagline+subcopy column, bottom-right of the FV) caps
   its own width at 46vw on ≤768px screens (hero.css, unchanged). Zen Old
   Mincho's own per-character width — even though very close to the sans
   font overall — pushes the longer of the two subcopy sentences
   ("プロンプトが、カメラになる。", ~196px natural width) past what 46vw
   provides at phone widths, so each br-separated sentence in
   .hero__subcopy's own markup (index.html's pre-existing `<br />` between
   the two sentences, unchanged) wraps a second time, leaving "る。" (1–2
   characters) as an orphan on its own line.

   Widening .hero__copy to fit that sentence on one line was tried first,
   but measuring it (getBoundingClientRect) against the persistent
   .hero__wordmark logo — which sits bottom-left and is large/visible at
   rest before any scroll, hero.css, unchanged — showed it isn't safe at
   any of the required mobile widths without either overlapping the logo
   outright or crowding it far closer than the site's own design intends
   (its own comment in hero.css calls for "a clear gap"):
     320px: logo right edge 150px, 46vw copy already only 3px clear —
            widening to fit the sentence (needs ~196px) would overlap the
            logo by ~46px.
     375px: original 46vw copy leaves 27px clear of the logo; widening
            enough to fit the sentence shrinks that to just 4px — visibly
            crowds the logo in a screenshot even though the boxes don't
            technically intersect.
     390px: same trade, 30px clear down to 14px.
   So .hero__copy's max-width is left untouched at every width, and the
   fix instead targets the wrap quality itself. */

/* text-wrap: pretty (Chromium) softens the remaining wrap instead of
   widening the box: at 320px it moves the break so both sentences end on
   a consistent "〜になる。" / "〜なる。" unit (4 and 3 characters) rather
   than dumping "る。" alone; at 375/390px the shorter second sentence
   already fits on one line as-is, and pretty picks a better break for
   the longer first sentence's remaining wrap ("プロンプトが、カメラに"
   / "なる。") instead of a raw greedy fill. No max-width change, so the
   logo keeps its original, full clearance at every width. Unsupported
   browsers simply ignore the declaration and keep today's wrap. */
.hero__subcopy {
  text-wrap: pretty !important;
}

/* .privacy-page__section-title wraps its own leading "01"/"02"... number
   in a dedicated child span — carved back out to the current font (and
   its own original weight) so the number itself doesn't inherit the 600
   applied to its parent above. */
.privacy-page__section-title .privacy-page__section-number {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
}

/* =======================================================================
   Wrap-quality fixes — found by scanning every priority selector across
   all 8 required widths and checking actual per-line text (not just
   widths) for word-internal breaks and 1–2 character orphans. Each of
   the five spots below was confirmed to have a real problem in plain
   Mincho wrapping, and each was tried with both text-wrap: pretty and
   text-wrap: balance (Chromium) to see which one actually helps *this*
   text — the two aren't interchangeable: balance sometimes fixes one
   break only by introducing a worse one elsewhere (e.g. it fixes
   PRIVACY's "07" title but splits "プライバシーポリシー" mid-word in
   "08"; it fixes CREATORS一覧's "クリエイター" split but only by
   splitting the hiragana verb "つくる" instead — the better trade of the
   two). No font-size/max-width/letter-spacing changes were needed for
   any of these; wording is unchanged. Unsupported browsers ignore the
   declaration and keep today's wrap, so every line below is additive. */

/* HOW WE CREATE subcopy: the sentence's own hard `<br>` after "言葉から、"
   and its narrow-width font-size step are both shared now (index.html,
   how-we-create.css — not Mincho-specific). `text-wrap: pretty` stays
   here as a safety net for the second line ("まだない映像が生まれるまで。")
   in case a future edit ever narrows its column enough to need a further
   wrap — it keeps any such wrap from leaving a raw 1–2 character orphan,
   without touching the "映像" compound the way `balance` does. */
.how-we-create__subcopy .text-reveal-line__inner {
  text-wrap: pretty !important;
}

/* CREATORS一覧 lede, 320px: plain/pretty both split the loanword
   "クリエイター" as "クリエ"/"イター。". balance moves the break earlier
   ("...をつく"/"る、5人のクリエイター。"), splitting the hiragana verb
   stem "つくる" instead — a much less jarring break than cutting a
   katakana loanword in half, and the loanword now reads intact. */
.creators-list__lede .text-reveal-line__inner {
  text-wrap: balance !important;
}

/* クリエイター詳細キャッチコピー, 320px: plain wrap splits the kanji
   compound "景色" across lines 1–2 and leaves "る。" as a 1-char orphan
   on its own third line. pretty keeps "景色" intact and only splits the
   hiragana verb ending ("つ"/"くる。") — balance was tried too but splits
   the "言葉" compound instead, which is worse. */
.creator-detail__statement .text-reveal-line__inner {
  text-wrap: pretty !important;
}

/* CONTACTページのリード文 (/contact/), 390/375px: plain wrap leaves "う。"
   as a 1-char orphan on the lede's second line. balance redistributes the
   whole sentence into two clean, evenly-sized lines at a natural
   grammatical break, with no word-internal splits — clearly better than
   pretty's result here, which only shortens the orphan. */
.contact-page__lede .text-reveal-line__inner {
  text-wrap: balance !important;
}

/* PRIVACY POLICY条項見出し "07", 320px: plain wrap splits the compound
   "解析" across lines as "解"/"析" — a 1-char orphan that also breaks a
   2-kanji word. pretty keeps "解析" together. balance also fixes "07" but
   at the cost of splitting "プライバシーポリシー" mid-word in the
   neighboring "08" title, so pretty is the safer, narrower fix here. */
.privacy-page__section-title {
  text-wrap: pretty !important;
}

/* =======================================================================
   Additional wrap-quality fixes — found this round's full-site sweep
   (every priority selector, all 8 widths, all pages, reading actual
   per-line text). Every one of the selectors below showed a plain
   "N。"/"nす。" 1–2 character orphan (the trailing polite-verb ending
   ます/です/しています, or a "まで"/"から" particle-and-punctuation pair)
   at one or more widths — `pretty` was tried against `balance` for each
   exactly as above, and in every one of these `pretty` was the
   clear winner: it consistently shifts the break onto the ending's own
   word boundary (turning e.g. "しま"/"す。" into "し"/"ます。") without
   ever splitting a compound word or loanword the way `balance` did here
   (balance fragmented WHAT WE DO's item descriptions into extra, shorter
   lines at every width tried, and produced no improvement at all — byte-
   identical output to no wrap keyword — on PRIVACY's numbered-reasons
   list, whose own residual orphan is fixed separately below instead).
   `.creators__lede` used to be listed here too — removed when its column
   width was widened (creators.css, max-width text-width fix round): with
   the wider box `pretty` still left a "たち。" orphan on the loanword
   "クリエイター"'s own sentence at 1024px, while `balance` (now set as a
   plain, non-important rule in creators.css itself, applying to both
   builds identically) gives a clean word-boundary two-line split instead
   — so this selector's own text-wrap now comes from the shared file, not
   from here. */
.what-we-do__lede .text-reveal-line__inner,
.what-we-do__item-desc .text-reveal-line__inner,
.how-we-create__lede .text-reveal-line__inner,
.how-we-create__step-desc,
.contact__copy .text-reveal-line__inner,
.creator-detail__profile-text .text-reveal-line__inner,
.concept__block .text-reveal-line__inner {
  text-wrap: pretty !important;
}

/* 実績詳細の説明文 (.work-detail__description), all 6 works, 390/375/320px:
   plain wrap repeatedly split a katakana loanword right down the middle
   (ショートフィルム→ショー/トフィルム, ブランドムービー→ブランドムー/
   ビー, etc.) — the one case in this whole round where `pretty` picked a
   *different* mid-word split rather than actually avoiding one (still
   split "ショート" as "ショ"/"ート。"), while `balance` gave every one of
   the six a clean, evenly-sized two-line break with the loanword intact
   every time. */
.work-detail__description .text-reveal-line__inner {
  text-wrap: balance !important;
}

/* TOPページ CONTACTセクションの見出し (.contact__headline), 320px: this
   used to carry a `text-wrap: pretty` rule here (it once softened the
   plain-wrap orphan "を、" to "のを、"). Superseded by the more precise
   fix in vite.config.js's CONTACT_HEADLINE_FIX, a build-time string
   replace (no runtime JS at all) that glues the exact phrase "ものを、"
   together with `white-space: nowrap` so it can never be split at all, at
   any width — a stronger, more predictable guarantee than `pretty`'s own
   heuristic choice of break point. Removed from here rather than left
   stacked on top of the nowrap fix: with "ものを、" already atomic,
   there's no remaining wrap decision left in this line for `pretty` to
   influence, so keeping both was only doing one thing twice
   ("同じ語句への処理が重複していないか"). */

