/* 夜tax 本体トップ：LP（/lp/）の 9 か所の部品を入れたときの色・書体の土台（2026-10-27・build_lp9.py が作る）
   ・色の変数は LP の type.css と同じ値（部品の CSS が var(--nt-ink) などを使う）
   ・LP の type.css／copy.css のうち、こんなお悩み・頼むとこうなる・たったの2つ・実績の 8 枚に効く規則だけ（body.nt-type → html body。トップの body には class が無い）
   ・LP と同じく、部品の中はテーマの青い文字色（* { color:#47679f }）を外して濃い色（--nt-ink）を受け継ぐ（詳細度 0・後から読むので * に勝つ）
   ・書体はトップの top-type.css のまま（Noto Sans JP）。「夜taxに頼むと、こうなります」は LP と同じ明朝 */
/* 書体の追加分（LP の部品で増えた字だけ・unicode-range でその字が出たときだけ読む。トップの top-type-20261027 のフォントはそのまま） */
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/noto-sans-jp-400-lp9.woff2?v=20261027) format("woff2"); unicode-range: U+203A, U+4E01, U+4E09, U+4E5D, U+4E95, U+4F50, U+4FC2, U+5150, U+5175, U+51E1, U+5217, U+5247, U+52B9, U+5317, U+5343, U+5426, U+5439, U+548C, U+54E1, U+56DB, U+578B, U+57CE, U+57FC, U+592E, U+5948, U+5A9B, U+5BAE, U+5BC4, U+5BCC, U+5BE7, U+5C0F, U+5C90, U+5CA1, U+5CA9, U+5CF6, U+5D0E, U+5DDD-5DDE, U+5DE5, U+5E81, U+5EAB, U+5F53, U+5FB3, U+5FD8, U+60A9, U+611B, U+62C5, U+639B, U+63CF, U+65AD, U+6697, U+6708, U+6728, U+6790, U+6803, U+6839, U+68A8, U+68D2, U+68EE, U+6B4C, U+6C96, U+6CC1, U+6D3E, U+6D77, U+6ECB, U+6F5F, U+7167, U+718A, U+7389, U+7565, U+7570, U+757F, U+77F3, U+795E, U+798F, U+79CB, U+79F0, U+7BB1, U+7D0D, U+7D3A, U+7E04, U+7FA4, U+7FCC, U+805E, U+826F, U+8272, U+8328, U+8449, U+8584, U+8907, U+8A00, U+8A33, U+8CC0, U+8FD1, U+9063, U+91CE-91CF, U+961C, U+9752, U+9759, U+9999, U+99AC, U+9CE5, U+9E7F; }
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/noto-sans-jp-500-lp9.woff2?v=20261027) format("woff2"); unicode-range: U+203A, U+4E01, U+4E09, U+4E5D, U+4E95, U+4F50, U+4FC2, U+5150, U+5175, U+51E1, U+5217, U+5247, U+52B9, U+5317, U+5343, U+5426, U+5439, U+548C, U+54E1, U+56DB, U+578B, U+57CE, U+57FC, U+592E, U+5948, U+5A9B, U+5BAE, U+5BC4, U+5BCC, U+5BE7, U+5C0F, U+5C90, U+5CA1, U+5CA9, U+5CF6, U+5D0E, U+5DDD-5DDE, U+5DE5, U+5E81, U+5EAB, U+5F53, U+5FB3, U+5FD8, U+60A9, U+611B, U+62C5, U+639B, U+63CF, U+65AD, U+6697, U+6708, U+6728, U+6790, U+6803, U+6839, U+68A8, U+68D2, U+68EE, U+6B4C, U+6C96, U+6CC1, U+6D3E, U+6D77, U+6ECB, U+6F5F, U+7167, U+718A, U+7389, U+7565, U+7570, U+757F, U+77F3, U+795E, U+798F, U+79CB, U+79F0, U+7BB1, U+7D0D, U+7D3A, U+7E04, U+7FA4, U+7FCC, U+805E, U+826F, U+8272, U+8328, U+8449, U+8584, U+8907, U+8A00, U+8A33, U+8CC0, U+8FD1, U+9063, U+91CE-91CF, U+961C, U+9752, U+9759, U+9999, U+99AC, U+9CE5, U+9E7F; }
@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/noto-sans-jp-700-lp9.woff2?v=20261027) format("woff2"); unicode-range: U+203A, U+4E01, U+4E09, U+4E5D, U+4E95, U+4F50, U+4FC2, U+5150, U+5175, U+51E1, U+5217, U+5247, U+52B9, U+5317, U+5343, U+5426, U+5439, U+548C, U+54E1, U+56DB, U+578B, U+57CE, U+57FC, U+592E, U+5948, U+5A9B, U+5BAE, U+5BC4, U+5BCC, U+5BE7, U+5C0F, U+5C90, U+5CA1, U+5CA9, U+5CF6, U+5D0E, U+5DDD-5DDE, U+5DE5, U+5E81, U+5EAB, U+5F53, U+5FB3, U+5FD8, U+60A9, U+611B, U+62C5, U+639B, U+63CF, U+65AD, U+6697, U+6708, U+6728, U+6790, U+6803, U+6839, U+68A8, U+68D2, U+68EE, U+6B4C, U+6C96, U+6CC1, U+6D3E, U+6D77, U+6ECB, U+6F5F, U+7167, U+718A, U+7389, U+7565, U+7570, U+757F, U+77F3, U+795E, U+798F, U+79CB, U+79F0, U+7BB1, U+7D0D, U+7D3A, U+7E04, U+7FA4, U+7FCC, U+805E, U+826F, U+8272, U+8328, U+8449, U+8584, U+8907, U+8A00, U+8A33, U+8CC0, U+8FD1, U+9063, U+91CE-91CF, U+961C, U+9752, U+9759, U+9999, U+99AC, U+9CE5, U+9E7F; }
@font-face { font-family: "Zen Old Mincho"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/zen-old-mincho-700-lp9.woff2?v=20261027) format("woff2"); unicode-range: U+591C, U+983C; }
:root {
  --nt-ink: #453B43;
  --nt-rose: #A7446B;
  --nt-sub: #6F5B66;
  --nt-bg: #FFF7FA;
  --nt-bg-2: #FBF7F8;
  --nt-grad: linear-gradient(135deg, #FFF7FA, #F3E5EC);
  --nt-band: linear-gradient(110deg, #B54D74, #8E4D6A);
  --nt-band-mid: #A14D6F;
  --nt-line: #E7D6DF;
  --nt-card: #FFFFFF;
  --nt-rose-pale: #F8EAF0;
}

/* ---- 部品の中の文字色（LP の :where(body.nt-type) * { color: inherit } と同じ考え方・部品の中だけ） ---- */
:where(.content-problem, .content-solve > .container > h2, .nt-solveflow, .nt-pref-card, #nt-price-reassurance, .sc-tax-guide, .nt-tax-awareness, .sc-record) { color: var(--nt-ink); }
:where(.content-problem, .content-solve > .container > h2, .nt-solveflow, .nt-pref-card, #nt-price-reassurance, .sc-tax-guide, .nt-tax-awareness, .sc-record) * { color: inherit; }

/* ---- LP copy.css より ---- */
html body .nt-copy-ttl,
html body .sc-recored-list h3,
html body .sc-recored-list p { font-family:"Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif }
html body .nt-copy-ttl { display:inline-block;font-size:22px;line-height:1.4;font-weight:700;color:#c7336d;letter-spacing:.02em;padding:0 4px 6px;border-bottom:3px solid #f6c9da }
html body .sc-recored-list li>img { display:none!important }
html body .sc-recored-list ul { display:grid!important;grid-template-columns:1fr 1fr;gap:0;max-width:720px;margin:0 auto!important;padding:0!important;border-top:1px solid #e6dbe3;list-style:none }
html body .sc-recored-list ul li { display:block!important;width:auto!important;margin:0!important;padding:14px 10px 16px!important;border-bottom:1px solid #e6dbe3;background:none!important;box-shadow:none!important;border-radius:0!important;text-align:left }
html body .sc-recored-list ul li:nth-child(odd) { border-right:1px solid #e6dbe3 }
html body .sc-recored-list ul li h3 { margin:0 0 4px!important;padding:0!important;text-align:left!important;background:none!important;color:#c7336d;font-weight:800;line-height:1.25 }
html body .sc-recored-list ul li h3::before,
html body .sc-recored-list ul li h3::after { content:none!important;display:none!important }
html body .sc-recored-list .nt-fact__label { display:block;font-size:11px;line-height:1.5;font-weight:700;color:#66738a;letter-spacing:.02em;margin-bottom:2px }
html body .sc-recored-list .nt-fact__num { display:block;font-size:20px;line-height:1.3;color:#2f4a7a }
html body .sc-recored-list ul li p { margin:0!important;font-size:12.5px!important;line-height:1.65!important;color:#405d88;text-align:left!important }
@media (min-width:768px) {
  html body .sc-recored-list ul { grid-template-columns:repeat(4,1fr) }
  html body .sc-recored-list ul li { border-right:1px solid #e6dbe3 }
  html body .sc-recored-list ul li:nth-child(4n) { border-right:0 }
  html body .sc-recored-list .nt-fact__num { font-size:24px }
}

/* ---- LP type.css より ---- */
html body .nt-copy-ttl,
html body .sc-tax-guide-inner > h2 { font-family: var(--nt-serif);
  font-weight: 700;
  color: var(--nt-ink);
  letter-spacing: .02em;
  line-height: 1.5; }
html body :is(.nt-copy-ttl) { font-family: var(--nt-serif); }
html body .nt-copy-ttl { font-size: 24px; letter-spacing: 0; border-bottom-color: var(--nt-line); }
@media (min-width: 641px) {
  html body .nt-copy-ttl { font-size: 34px; }
}
html body .sc-tax-guide-inner > h2 { font-size: 26px; }
html body .sc-tax-guide-inner > h2 span { font-family: var(--nt-serif); color: var(--nt-rose); font-weight: 700; }
html body .sc-tax-guide-inner p { font-family: var(--nt-sans); font-weight: 500; font-size: 16px; line-height: 1.75; color: var(--nt-ink); }
@media (min-width: 641px) {
  html body .sc-tax-guide-inner > h2 { font-size: 36px; }
}
html body .sc-recored-list .nt-fact__label { font-family: var(--nt-sans); font-weight: 500; color: var(--nt-sub); }
html body .sc-recored-list .nt-fact__num { font-family: var(--nt-sans); font-weight: 700; color: var(--nt-rose); }
html body .sc-recored-list ul li p { font-family: var(--nt-sans); font-weight: 400; color: var(--nt-ink); }
html body .sc-recored-list ul,
html body .sc-recored-list ul li { border-color: var(--nt-line); }
@media screen and (max-width: 640px) {
  html body .sc-record h2::before { background: var(--nt-band); }
  html body .sc-record h2::after { background-image: url(https://tax-nightwork.com/lp/wp-content/themes/tax-nightwork/assets/nighttax-type-20261026/img/record-ttl_after.png); }
  html body .sc-problem-inner .content-problem h2::before { background-image: url(https://tax-nightwork.com/lp/wp-content/themes/tax-nightwork/assets/nighttax-type-20261026/img/title-problem_bg.png); }
  html body .sc-problem-inner .content-problem h2::after { background-image: url(https://tax-nightwork.com/lp/wp-content/themes/tax-nightwork/assets/nighttax-type-20261026/img/before-problem_sp.png); }
}
html body .sc-problem-inner .content-problem::before { background-image: url(https://tax-nightwork.com/lp/wp-content/themes/tax-nightwork/assets/nighttax-type-20261026/img/before-problem.png); }
html body .sc-problem-inner .content-solve .wrap-solve-problems .group .item > div p:first-child,
html body .sc-problem-inner .content-solve .wrap-solve-problems .nighttax-solve-industries-title-part { color: var(--nt-rose); }

/* ---- 全国・お仕事のカード：LP は画面幅いっぱい（トップは .container の内側＝左右 14px 内側に入る）→ スマホだけ LP と同じ幅に ---- */
@media (max-width: 640px) {
  html body .content-solve .nighttax-profile-site-wrap .nighttax-profile-component { margin: 14px -14px 0; width: auto; }
}

/* ---- たったの2つ：2 つの手順の説明は LP の描画と同じ 700・行間 1.5（LP はテーマの規則が type.css の 500 に勝って 700。top-type.css の 500 を上書き） ---- */
html body .sc-tax-guide-inner .group-guide .item p:not(#nt-type-x) { font-weight: 700; line-height: 1.5; }

/* ---- 見出し「夜taxに頼むと、こうなります」＝明朝（top-type.css と同じ強さ） ---- */
html body .nt-copy-ttl:not(#nt-type-x),
html body .nt-copy-ttl :not(#nt-type-x) { font-family: var(--nt-serif); font-weight: 700; }
