@charset "UTF-8";
/* ===== 見出し・短いラベルの改行位置を整える（全ページ共通） =====
   text-wrap: balance   … 各行の長さをそろえ、「さい。」「ム」など1〜2文字だけの行を防ぐ
   word-break: auto-phrase … 日本語を文節単位で改行し、「リニ／ューアル」のような単語途中の改行を防ぐ
                            （Chrome・Edge対応。未対応のブラウザでは従来どおりの改行） */
h1, h2, h3, h4, h5,
.product-switcher__product,
.company-address {
  text-wrap: balance;
  word-break: auto-phrase;
  overflow-wrap: anywhere; /* 1文節が収まらない狭い枠では、はみ出さずに折り返す */
}

/* パンくずリスト：「ホーム」などの短いリンクが縦に折れないように */
.breadcrumb li:not(:last-child),
.breadcrumb a { white-space: nowrap; }

/* フッターの会社住所：<wbr>を入れた位置（区切り）以外では改行しない */
.company-address { word-break: keep-all; }

/* フッターの関連サイトリンク・トップの用途リンク：語の途中で折り返さない */
.portal-links a,
.specialist-card__use-grid a {
  text-wrap: balance;
  word-break: auto-phrase;
}

/* スマホ：製品切り替えボタンの文字が語の途中で折れないよう少し詰める */
@media (max-width: 480px) {
  .product-switcher__product { font-size: 11px; padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 380px) {
  .product-switcher__product { font-size: 10px; letter-spacing: -.03em; padding-left: 2px; padding-right: 2px; }
}
