/* 夜tax 本体トップ（https://tax-nightwork.com/）の書体を LP（/lp/・2026-10-26「書体と配色の統一」）にそろえる（2026-10-27）
   役割：主要見出し＝Zen Old Mincho 700／本文・小見出し・ボタン・フォーム＝Noto Sans JP 400・500・700（丸ゴシック Zen Maru Gothic・游ゴシックの指定を置き換える）
   色・余白・画像は変えない（出村さんの依頼は書体）。ファーストビューや見出しの「文字入り画像」は CSS では変わらない
   読み込むのは index.php（トップのテンプレート）だけ＝記事・カテゴリ・/company/・/lp/ には効かない
   ・部品ごとの書体の指定（游ゴシック・Noto の並び違い・Zen Maru）に勝つため、:not(#nt-type-x) で詳細度を ID 1 つ分上げる（!important は使わない）
   ・アイコン（Font Awesome・icomoon）は要素のクラスと ::before／::after の指定のまま＝触らない */

/* Web フォント：トップで使う文字だけに絞った WOFF2（build_type.py・Noto Sans JP／Zen Old Mincho は SIL OFL）。足りない字は Hiragino → 游 → メイリオ */
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/noto-sans-jp-400-top.woff2?v=20261027) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/noto-sans-jp-500-top.woff2?v=20261027) format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/noto-sans-jp-700-top.woff2?v=20261027) format("woff2"); }
@font-face { font-family: "Zen Old Mincho"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/zen-old-mincho-700-top.woff2?v=20261027) format("woff2"); }

:root {
  --nt-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --nt-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

/* ---- 土台：すべての文字を Noto Sans JP に（アイコンの要素は除く） ---- */
html body { font-family: var(--nt-sans); }
html body :not(#nt-type-x):not(:is(.fa, .fas, .far, .fab, .fal, [class*="fa-"], [class^="icon-"], [class*=" icon-"])) { font-family: var(--nt-sans); }

/* ---- 主要見出し＝Zen Old Mincho 700（LP と同じ要素。h2 を一括で明朝にはしない） ---- */
html body .nt-video-title:not(#nt-type-x),
html body .nt-video-title :not(#nt-type-x),
html body .ntpub-title:not(#nt-type-x),
html body .ntpub-title :not(#nt-type-x),
html body .sc-tax-guide-inner > h2:not(#nt-type-x),
html body .sc-tax-guide-inner > h2 :not(#nt-type-x),
html body .tn-voices__title:not(#nt-type-x),
html body .tn-voices__title :not(#nt-type-x),
html body .nt-contact-title:not(#nt-type-x),
html body .nt-contact-title :not(#nt-type-x) {
  font-family: var(--nt-serif);
  font-weight: 700;
}
/* 大きさ・字間は LP の見出しと同じ（スマホ／641px 以上） */
html body .nt-video-title:not(#nt-type-x) { font-size: 26px; letter-spacing: .02em; line-height: 1.5; }
html body .ntpub-title:not(#nt-type-x) { font-size: 26px; letter-spacing: .02em; line-height: 1.5; }
html body .sc-tax-guide-inner > h2:not(#nt-type-x) { font-size: 26px; letter-spacing: .02em; line-height: 1.5; }
html body .tn-voices__title:not(#nt-type-x) { font-size: 28px; letter-spacing: .02em; line-height: 1.5; }
html body .nt-contact-title:not(#nt-type-x) { font-size: 26px; letter-spacing: .02em; line-height: 1.5; }
@media (min-width: 641px) {
  html body .nt-video-title:not(#nt-type-x),
  html body .ntpub-title:not(#nt-type-x),
  html body .nt-contact-title:not(#nt-type-x) { font-size: 34px; }
  html body .sc-tax-guide-inner > h2:not(#nt-type-x),
  html body .tn-voices__title:not(#nt-type-x) { font-size: 36px; }
}

/* ---- 文字組（LP と同じ：本文は 1.8 前後で読みやすく。太さは丸ゴシックの 900 → 700） ---- */
html body .sc-qa .qa-question p:not(#nt-type-x) { font-weight: 700; }
html body .sc-qa .qa-answer p:not(#nt-type-x) { font-weight: 400; line-height: 1.85; }
html body .wrap-solve-problems .item > div > p + p:not(#nt-type-x) { font-weight: 400; line-height: 1.8; }
html body .sc-process-inner p:not(#nt-type-x) { font-weight: 400; line-height: 1.8; }
html body .sc-tax-guide-inner p:not(#nt-type-x) { font-weight: 500; line-height: 1.75; }
html body .tn-voices__line-copy:not(#nt-type-x) { font-weight: 400; line-height: 1.8; }
html body .nt-eyebrow:not(#nt-type-x) { font-weight: 500; letter-spacing: .08em; }
