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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* H2見出しの上の余白を広げる（スマホ重視設定） */
.article h2 {
    margin-top: 3.5em !important; /* 見出しの上の余白を文字3.5個分に設定 */
    margin-bottom: 1.5em !important; /* 見出しの下の余白を少し広げる */
}

/* H3見出しも合わせて調整する場合 */
.article h3 {
    margin-top: 2.5em !important;
    margin-bottom: 1.2em !important;
}