/* =========================================================
   W FIVE  lang-ja.css  (日本語ページだけで読み込む、文字の調整)
   英語のページは、Wix版の見た目を、そのまま再現している。
   日本語は、文字の形・長さ・行間が違うため、ここで、サイズや行間を調整している。
   フォント: 英数字は、これまでと同じ(Wix Madefor Text / Barlow)。かな・漢字は、Noto Sans JP(無料・OFL)。
   ========================================================= */
html[lang="ja"] {
  --font-text: "Wix Madefor Text", "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-label: "Barlow", "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
html[lang="ja"] body { line-break: strict; overflow-wrap: break-word; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { word-break: auto-phrase; text-wrap: balance; }
html[lang="ja"] p { text-wrap: pretty; }

/* ---------- 共通: ボタン・ヘッダー・フッター ---------- */
html[lang="ja"] .btn { font-weight: 700; letter-spacing: 0.06em; }
html[lang="ja"] .btn-rect { font-size: 15px; letter-spacing: 0.04em; }
html[lang="ja"] .site-nav__link { font-size: 15px; letter-spacing: 0.04em; }
html[lang="ja"] .mobile-menu__link { letter-spacing: 0.06em; }
html[lang="ja"] .site-footer__copy, html[lang="ja"] .site-footer__legal { font-size: 15px; line-height: 1.8; }
html[lang="ja"] .newsletter__title { font-size: 14px; }
html[lang="ja"] .newsletter__label, html[lang="ja"] .newsletter__input { font-size: 14px; }

/* ---------- Home ---------- */
html[lang="ja"] .hero__title { max-width: 11em; font-size: clamp(34px, 4.6vw, 88px); line-height: 1.3; font-weight: 500; letter-spacing: 0.01em; }
html[lang="ja"] .hero__lead { font-size: 21px; line-height: 1.75; letter-spacing: 0.02em; }
html[lang="ja"] .split__title { font-size: 26px; line-height: 1.55; font-weight: 500; }
html[lang="ja"] .split__text p, html[lang="ja"] .story__text p:not(.story__label) { font-size: 16px; line-height: 1.95; letter-spacing: 0.02em; }
html[lang="ja"] .story__label { letter-spacing: 0.1em; }
html[lang="ja"] .story__title { font-size: 26px; font-weight: 500; line-height: 1.5; }

html[lang="ja"] .five__kicker { font-size: 24px; line-height: 1.5; font-weight: 500; }
html[lang="ja"] .five__lead { max-width: 1180px; font-size: 22px; line-height: 1.85; letter-spacing: 0.02em; }
html[lang="ja"] .five-card h3 { font-weight: 700; font-size: 19px; letter-spacing: 0.12em; }
html[lang="ja"] .five-card p { font-size: 16px; line-height: 1.75; letter-spacing: 0.02em; }

html[lang="ja"] .marquee__track span { font-size: 38px; font-weight: 400; letter-spacing: 0.04em; }
html[lang="ja"] .wwd__text { font-size: 17px; line-height: 1.95; letter-spacing: 0.02em; }

html[lang="ja"] .focus__title { font-family: "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-weight: 400; line-height: 1.1; letter-spacing: 0.02em; }
html[lang="ja"] .focus-pill { padding: 8px; font-size: 15px; line-height: 1.4; letter-spacing: 0.02em; }
html[lang="ja"] .focus-desc { font-size: 15px; line-height: 1.75; letter-spacing: 0.02em; }

html[lang="ja"] .growth__title { font-size: 38px; font-weight: 400; line-height: 1.35; }
html[lang="ja"] .growth-card__head { font-size: 21px; font-weight: 500; line-height: 1.4; }
html[lang="ja"] .growth-card__body p { font-size: 15px; line-height: 1.8; letter-spacing: 0.02em; }

html[lang="ja"] .built-card__body h2 { font-size: 24px; font-weight: 500; line-height: 1.5; }
html[lang="ja"] .built-card__body p { font-size: 16px; line-height: 1.85; letter-spacing: 0.02em; }

html[lang="ja"] .team__title { font-size: 38px; font-weight: 400; }
html[lang="ja"] .member__name { font-size: 18px; font-weight: 500; line-height: 1.6; }
html[lang="ja"] .member p { font-size: 15px; line-height: 1.85; letter-spacing: 0.02em; }

html[lang="ja"] .path__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.4; font-weight: 400; }

/* ---------- About ---------- */
html[lang="ja"] .about-hero__title { font-size: 40px; font-weight: 400; letter-spacing: 0.04em; }
html[lang="ja"] .ceo__title { font-size: clamp(36px, 3.6vw, 52px); font-weight: 300; letter-spacing: 0.02em; line-height: 1.35; }
html[lang="ja"] .ceo__text p { font-size: 16px; line-height: 1.95; letter-spacing: 0.02em; }

/* THE W FIVE PYRAMID(デザイナーが作った図の、日本語の調整) */
html[lang="ja"] .w5-wrap { font-family: Arial, "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
html[lang="ja"] .w5-wrap .tier-label { font-family: Arial, "Noto Sans JP Variable", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; letter-spacing: 0.05em; }
html[lang="ja"] .w5-wrap .tier-accountability .tier-label { font-size: 10.5px; letter-spacing: 0; }
html[lang="ja"] .w5-wrap .eyebrow { letter-spacing: 0.2em; }
html[lang="ja"] .w5-wrap .content-title { letter-spacing: 0; line-height: 1.3; font-weight: 500; }
html[lang="ja"] .w5-wrap .content-copy { font-size: 16px; line-height: 1.9; letter-spacing: 0.02em; }

/* ---------- News ---------- */
html[lang="ja"] .news__title { font-size: 44px; font-weight: 300; letter-spacing: 0.04em; }
html[lang="ja"] .news-card__title { font-size: 20px; font-weight: 400; line-height: 1.5; }
html[lang="ja"] .news-card__excerpt { font-size: 15px; line-height: 1.85; letter-spacing: 0.02em; }
html[lang="ja"] .btn-outline { font-size: 14px; letter-spacing: 0.06em; }
html[lang="ja"] .post__title { font-size: 30px; font-weight: 300; line-height: 1.5; letter-spacing: 0.02em; }
html[lang="ja"] .post__lead { font-size: 17px; line-height: 1.85; letter-spacing: 0.02em; }
html[lang="ja"] .post__body p { font-size: 15px; line-height: 1.95; letter-spacing: 0.02em; }

/* ---------- Contact ---------- */
html[lang="ja"] .contact__title { font-size: clamp(40px, 4vw, 56px); font-weight: 300; letter-spacing: 0.04em; line-height: 1.3; }
html[lang="ja"] .contact__intro p { font-size: 15px; line-height: 1.9; letter-spacing: 0.02em; }
html[lang="ja"] .field label { font-size: 13px; }
html[lang="ja"] .field input, html[lang="ja"] .field textarea { font-size: 15px; }
html[lang="ja"] .contact-form__submit { font-size: 15px; letter-spacing: 0.1em; }

/* ---------- 法務ページ ---------- */
html[lang="ja"] .legal__title { font-size: 38px; font-weight: 400; line-height: 1.4; }
html[lang="ja"] .legal-section h2 { font-family: var(--font-text); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; text-transform: none; }
html[lang="ja"] .legal-section p, html[lang="ja"] .legal-section li { font-size: 15px; line-height: 1.95; letter-spacing: 0.02em; }

/* ---------- スマホ ---------- */
@media (max-width: 759px) {
  html[lang="ja"] .hero__title { font-size: clamp(30px, 8.4vw, 48px); }
  html[lang="ja"] .hero__lead { font-size: 17px; }
  html[lang="ja"] .split__title, html[lang="ja"] .story__title { font-size: 22px; }
  html[lang="ja"] .five__lead { font-size: 17px; line-height: 1.85; }
  html[lang="ja"] .five__kicker { font-size: 20px; }
  html[lang="ja"] .marquee__track span { font-size: 24px; }
  html[lang="ja"] .growth__title, html[lang="ja"] .team__title { font-size: 28px; }
  html[lang="ja"] .path__title { font-size: 26px; }
  html[lang="ja"] .about-hero__title { font-size: 30px; }
  html[lang="ja"] .ceo__title { font-size: 32px; }
  html[lang="ja"] .news__title { font-size: 32px; }
  html[lang="ja"] .post__title { font-size: 24px; }
  html[lang="ja"] .legal__title { font-size: 28px; }
  html[lang="ja"] .contact__title { font-size: 36px; }
}

/* 送信完了の表示(日本語) */
html[lang="ja"] .contact-done__title { font-size: 30px; font-weight: 300; letter-spacing: 0.04em; }
html[lang="ja"] .contact-done p { font-size: 15px; line-height: 1.9; letter-spacing: 0.02em; }
