/* 夜tax 会社概要のページ（/lp/company/・テンプレート comp_temp.php）をメインの LP（/lp/）の「会社概要」の欄にそろえる（2026-10-28）
   ・ヘッダー・スマホのメニュー・フッター・下の固定ボタンは副業ページと同じ部品＝header.php が body に「nt-side nt-company」を付け、side.css が効く
   ・ここは会社概要の表とページの高さだけ。効くのは body.nt-company（comp_temp.php のときだけ）
   ・表の形はテーマの style.css の .sc-profile（メインの LP と同じ）。字の色と書体だけ type.css と同じ値に
   ・書体は side.css の Noto Sans JP（副業ページ用の絞り込み版）＋氏名の 3 字（恭・村・祐）だけの版（下の @font-face・unicode-range） */

@font-face { font-family: "Noto Sans JP"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/noto-sans-jp-400-company.woff2?v=20261028) format("woff2"); unicode-range: U+606D, U+6751, U+7950; }

/* ページが画面より短いとき：フッターを画面の下に置く（下に白い空きを残さない） */
body.nt-company .wrap-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
body.nt-company .sc-profile { flex: 1 0 auto; }

/* 見出し（メインの LP と同じ画像）：width・height を書いた＝高さは比率で */
body.nt-company .sc-profile h2 { text-align: center; }
body.nt-company .sc-profile h2 img { height: auto; vertical-align: top; }

/* 表：メインの LP（type.css の .sc-profile-inner td）と同じ字の色・書体 */
body.nt-company .sc-profile-inner td { font-family: var(--nt-sans); font-weight: 400; color: var(--nt-ink); text-align: left; overflow-wrap: anywhere; }
body.nt-company .sc-profile-inner td * { color: inherit; font-family: inherit; font-weight: inherit; } /* テーマの「* { color:#47679f }」が span に直接効いて紺になる */
body.nt-company .sc-profile-inner td img { height: auto; vertical-align: middle; }
/* 住所・登録番号は区切りの位置で折り返す（狭い幅でも「近畿税理士会129621」の途中で切らない） */
body.nt-company .nt-company-seg { display: inline-block; max-width: 100%; }

/* 戻るボタン（2026-10-28 b）：表の下の「メインページへ戻って」。ボタンの見た目は side.css の .nt-goback（副業ページと同じ）。
   副業ページでは淡い帯の中に置くが、ここは表と同じ灰色の面の上に置く＝帯の色と余白だけ外す */
body.nt-company .sc-profile .nt-goback { margin-top: 40px; padding: 0; background: none; }
@media (max-width: 640px) {
  body.nt-company .sc-profile .nt-goback { margin-top: 28px; }
}
