/*
Theme Name: Precious Child H1
Theme URI: https://tcd-theme.com/tcd019
Description: Precious TCD019用。トップページのロゴと下層ページの固有タイトルに適切なH1を設定します。
Author: 行政書士なかじま法務事務所
Template: precious_tcd019
Version: 4.1.2.3
*/

/* H1へ変更しても親テーマと同じ見た目を維持する */
.headline1 {
  font-weight: bold;
}

.product_title {
  font-size: 1.17em;
  font-weight: bold;
}

#logo_image_mobile {
  margin: 0;
  font-size: inherit;
  font-weight: normal;
}

/* トップページの主題を検索エンジンと読み上げソフトに伝えるH1 */
.nakajima-home-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (min-width: 771px) {
  #post_title h1 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 160%;
  }
}

@media screen and (max-width: 770px) {
  #post_title h1 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 160%;
  }
}

/* 商品ページの目次はH2のみ表示 */
body.single-product #rtoc-mokuji-wrapper .level-2 {
  display: none;
}

/* 投稿記事の目次もH2のみ表示 */
body.single-post #rtoc-mokuji-wrapper .level-2 {
  display: none;
}
