/* tn-fix.css — 新テーマ側の調整（本番CSSには無い差分だけを書く。生成物ではないので手で編集してよい） */

/* フッターの電話番号を tel: リンク化したため、文字色を親（白）から継承させる */
.footer-info a { color: inherit; }
.footer-info a:hover { color: inherit; text-decoration: underline; }

/* <img> に width/height 属性（CLS対策）を付けたため、CSSで高さ指定の無い画像は縦横比を保つ（詳細度0＝既存の指定が常に優先） */
:where(img) { height: auto; }


/* 本文中の電話番号を tel: リンク化した箇所（見た目は元の文字のまま） */
a.tn-tel { color: inherit; text-decoration: none; }

/* 関連する診療へのリンク（下層ページ本文の末尾。inc/seo-extras.php） */
.tn-related { padding: 50px 15px 60px; background: #f4f8fc; font-family: "Noto Sans JP", sans-serif; }
.tn-related__in { max-width: 1170px; margin: 0 auto; }
.tn-related__ttl { margin: 0 0 22px; text-align: center; color: #004ea2; font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.tn-related__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin: 0; padding: 0; list-style: none; }
.tn-related__list a { display: flex; align-items: center; gap: 10px; min-width: 200px; min-height: 52px; padding: 10px 22px; border: 1px solid #004ea2; border-radius: 4px; background: #fff; color: #004ea2; font-size: 16px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background-color .2s, color .2s; }
.tn-related__list a::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.tn-related__list a:hover { background: #004ea2; color: #fff; }
@media (max-width: 767px) {
  .tn-related { padding: 36px 15px 44px; }
  .tn-related__ttl { margin-bottom: 16px; font-size: 19px; }
  .tn-related__list { gap: 10px; }
  .tn-related__list li { flex: 1 1 calc(50% - 5px); }
  .tn-related__list a { min-width: 0; padding: 10px 14px; font-size: 14px; }
}

/* 採用ページ：見出しを <p> から <h2> にしたため、太さ・大きさは元の <p> と同じにする（詳細度0＝ページCSSの指定が優先） */
:where(h2.team-title, h2.career-title) { font-weight: 400; font-size: inherit; }
