@charset "UTF-8";
/* 電話受付時間の共通表示
   時刻そのものの変更は functions.php の shiba_tel_hours_text() を直す。
   このファイルは見た目だけを扱う。 */

.tel_hours {
  font-weight: bold;
}
.tel_hours .num {
  font-size: 1.15em;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
/* 折り返しは「～」の位置だけに限る。
   font-size を継承させないと、テーマ側の span 向けの指定（追従バーの 1.1rem など）を
   拾ってしまい、数字だけが極端に大きくなる。 */
.tel_hours .nb {
  white-space: nowrap;
  font-size: inherit;
  line-height: inherit;
}

/* 色地の上に置く場合は白帯にする。
   背景がグラデーションでも明暗差が変わらず、常に読める状態を保てる。 */
.tel_hours--chip {
  display: inline-block;
  background: #fff;
  color: #4e4637;
  border-radius: 999px;
  padding: 0.2em 0.9em;
  line-height: 1.6;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
  opacity: 1;
}

/* 白地・濃茶地に置く一行表記（フッター・アクセス・料金ページ） */
p.txt02 .tel_hours {
  font-size: 1rem;
}
/* 料金ページのCTAは枠内の span をまとめて 24px にする指定があり、
   そのままでは受付時間だけが極端に大きくなる。ここだけ個別に打ち消す。 */
.p-cta-main__inner .item_inner .inner .tel_hours,
.p-cta-main__inner .item_inner .inner .tel_hours .nb {
  font-size: 0.9375rem;
}
.p-cta-main__inner .item_inner .inner .tel_hours .num {
  font-size: 1.15em;
}

/* SPメニュー内の電話ボタン */
header .header_in nav .nav_cta a .txt_s .tel_hours--chip {
  font-size: 0.8125rem;
  margin-top: 0.3rem;
}

/* 共通CTA（黄色地）の電話ボタン */
.common_cta_content .cta_buttons a .txt_s .tel_hours--chip {
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

/* インプラントCTA（橙ボタン）。元指定の透過を解除して白帯の色を正しく出す */
.cta_implant .cta_inner .cta_buttons .btn .sub {
  opacity: 1;
  display: block;
  margin-top: 0.5em;
}
.cta_implant .cta_inner .cta_buttons .btn .sub .tel_hours--chip {
  font-size: 0.8125rem;
}

/* ブログ記事下のCTA（背景 #9E8D69） */
.contact-cta .phone-details .tel_hours--chip {
  font-size: 0.8125rem;
  margin-top: 0.4em;
}

/* SP画面下の追従バー。
   元は高さが 4.438rem の固定で、文字サイズ「大」にすると1行目の行送りだけで
   高さを使い切り、2行目が下にはみ出していた。縦積みの中央そろえに変え、
   高さを下限指定に直して、どの文字サイズでも収まるようにする。 */
div.bottom_button ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 4.438rem;
  padding: 0.3rem 0.2rem;
  line-height: 1.25;
}
div.bottom_button ul li a span {
  line-height: 1.25;
}

/* 枠が画面幅の半分で固定（文字サイズ切替で広がらない）ため、ここだけ幅の余裕が薄い。
   帯を横いっぱいに使い、狭い端末では文字を一段落とす。折り返しも許してあるので、
   最も厳しい組み合わせでも欠けずに2行になる。 */
.bottom_button ul li a p .tel_hours--chip {
  display: block;
  margin: 2px 4px 0;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  font-size: 0.6875rem;
  line-height: 1.35;
}
@media screen and (max-width: 374px) {
  .bottom_button ul li a p .tel_hours--chip {
    font-size: 0.625rem;
    margin: 2px 2px 0;
    padding: 0.1em 0.2em;
  }
}

/* ------------------------------------------------------------
   電話受付時間の表（トップページ上部と下部で共用）
   ------------------------------------------------------------ */
.hours_table_wrap {
  overflow-x: auto;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9375rem;
}
.hours-table th,
.hours-table td {
  border: 1px solid #ccc;
  padding: 12px 6px;
}
.hours-table thead th {
  background: #665c47;
  color: #fff;
  font-weight: bold;
  width: 8%;
}
.hours-table thead th.hours-table__label {
  width: 44%;
}
.hours-table tbody th.hours-table__label {
  background: #f7f5f0;
  color: #4a4132;
  font-weight: bold;
}
.hours-table__time {
  display: inline-block;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}
/* 「午前10時～」「午後5時30分」の単位で折り返す */
.hours-table__time .nb {
  white-space: nowrap;
}
.hours-table tbody td {
  color: #665c47;
  font-weight: bold;
  font-size: 1.05em;
}
.hours_note {
  text-align: center;
  margin: 0.9rem 0 0;
  font-size: 0.9375rem;
}
/* 狭い画面では「・」の位置で折り返す（「除く）」だけが行に残るのを防ぐ） */
.hours_note .nb {
  white-space: nowrap;
}
.hours_tel {
  text-align: center;
  margin: 1.2rem 0 0;
  line-height: 1.5;
}
.hours_tel__label {
  display: block;
  font-size: 0.875rem;
  color: #6d6555;
}
.hours_tel__no {
  font-size: 1.75rem;
  font-weight: bold;
  color: #4a4132;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

/* トップ上部に置く方の囲み */
.topHours {
  margin: 3rem 0;
}
.topHours .hours_block {
  background: #f5f3f0;
  border-radius: 8px;
  padding: 2rem 1.5rem;
}

@media screen and (max-width: 767px) {
  .hours-table {
    font-size: 0.8125rem;
  }
  .hours-table th,
  .hours-table td {
    padding: 8px 3px;
  }
  .hours-table thead th.hours-table__label,
  .hours-table tbody th.hours-table__label {
    width: 46%;
    white-space: normal;
  }
  .hours-table__time {
    font-size: 0.95em;
  }
  .topHours {
    margin: 2rem 0;
  }
  .topHours .hours_block {
    padding: 1.5rem 0.9rem;
  }
  .hours_tel__no {
    font-size: 1.5rem;
  }
}
