@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
*/

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

/* 見出しのデザインを一律適用（デザインのみ共通化） */
.article h2, .article h3, .article h4, .article h5 {
  border-left: 3px solid #55A8DC !important; /* 左線 */
  padding: 1.0em 1.2em !important;    /* 余白 */
  background: rgba(85,168,220,.07) !important; /* 背景色 */
  color: #323232 !important;        /* 文字色 */
  margin-bottom: 20px !important;   /* 下の余白（少し広げました） */
  margin-top: 40px !important;      /* 上の余白（見出しの区切りを明確に） */
  
  /* スキンの干渉をリセット */
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 文字サイズを一般的な大きさに調整 */
.article h2 { font-size: 1.6em !important; } /* 約26px（一番大きい見出し） */
.article h3 { font-size: 1.4em !important; } /* 約22px（中見出し） */
.article h4 { font-size: 1.2em !important; } /* 約19px（小見出し） */

/* スキン特有の装飾アイコンや余計な飾りを消去 */
.article h2::before, .article h2::after,
.article h3::before, .article h3::after,
.article h4::before, .article h4::after {
  content: none !important;
  background: none !important;
}

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


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

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

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