@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 固定ページのタイトルを中央寄せにする */
.page .entry-title {
  text-align: center;
}


/*全てをまとめて非表示*/
.home.page .entry-title,
.home.page .date-tags,
.home.page .author-info{
  display: none;
}

/* ==========================================
 * スマホで何をやっても文字が小さくならない時の一括強制上書き
 * ========================================== */
@media screen and (max-width: 480px) {
  /* 本文、段落、リスト、強調文字、リンクなど、全ての文字を強制的に15pxにします */
  .home .entry-content,
  .home .entry-content p,
  .home .entry-content span,
  .home .entry-content font,
  .home .entry-content a,
  .home .entry-content li,
  .home .entry-content strong,
  .home .entry-content em,
  .home .entry-content [style*="font-size"] {
    font-size: 15px !important;
  }

  /* H2、H3、H4などの見出しと、その中の文字もまとめて強制的に小さくします */
  .home .entry-content h2, .home .entry-content h2 *,
  .home .entry-content h3, .home .entry-content h3 *,
  .home .entry-content h4, .home .entry-content h4 * {
    font-size: 20px !important;
  }
}

/* 印をつけた特定の文字だけは、スマホでも強制的に大きくする */
@media screen and (max-width: 480px) {
  .home .entry-content .tokudai-text,
  .home .entry-content .tokudai-text * {
    font-size: 24px !important; /* スマホで表示したい特大サイズ（お好みの数字に） */
    font-weight: bold !important; /* 太字にする */
  }
}




/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
