@charset "utf-8";
/*------------------------------------------------------------------
 リシェアニマルクリニック お知らせ見出し（テキスト版）
 news_cont1_titleYYYYMMDD.png を廃止し、文字を HTML テキストで表示する。
 枝飾りの帯だけを固定画像 news_cont1_title_band.png として使う。
 配信先: /css/news-title.css   （news.css の後に読み込む）
------------------------------------------------------------------*/

/* 見出し本体 — 既存 .clinic_cont3 .titleYYYYMMDD と同寸 (363x73) */
.clinic_cont3 .news_title {
  display: flex;
  align-items: center;          /* 縦中央＝元画像の文字中心 y=36.5 に一致 */
  justify-content: center;
  width: 363px;
  height: 73px;
  margin: 0 auto 36px auto;
  box-sizing: border-box;
  font-family: "Yu Mincho", "YuMincho", "游明朝",
               "Hiragino Mincho ProN", "ヒラギノ明朝 ProN",
               "Noto Serif JP", "Shippori Mincho", serif;
  font-size: 22px;              /* 元画像実測: 文字インク 240x22px */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #333333;               /* 元画像実測 rgb(51,51,51) */
  text-align: center;
  background: url(../img/news/news_cont1_title_band.png) center bottom no-repeat;
  background-size: 363px 22px;  /* 帯は y=51..72 の 22px */
  -webkit-font-smoothing: antialiased;
}

/* 長いタイトル（2行）用 — 帯に重ならないよう自動縮小 */
.clinic_cont3 .news_title.news_title--2line {
  height: 73px;
  font-size: 17px;
  line-height: 1.35;
}

/* スマホ: 既存の @media print, screen and (max-width:920px) と同じ挙動 */
@media print, screen and (max-width: 920px) {
  .clinic_cont3 .news_title {
    width: 100%;
    max-width: 363px;
    background-size: 100% 22px;
  }
}
@media print, screen and (max-width: 640px) {
  .clinic_cont3 .news_title { font-size: 19px; }
  .clinic_cont3 .news_title.news_title--2line { font-size: 15px; }
}
