@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{
  display: none;
}

/*固定ページのシェアボタンを非表示*/
.page .sns-share{
  display: none;
}

/*固定ページのフォローボタンを非表示*/
.page .sns-follow{
  display: none;
}

/*固定ページの投稿日を非表示*/
.page .post-date{
  display: none;
}

/*固定ページの更新日を非表示*/
.page .post-update{
  display: none;
}

/*固定ページの投稿者名を非表示*/
.page .author-info{
  display: none;
}

/* h1～h6のデザインリセット */
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: initial;
  border-width: none;
  text-decoration: none;
  box-shadow: none;
  font-weight: normal;
  font-size: initial;
  line-height: initial;
  color: initial;
}

.article h2::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 0px;
  left: 0;
  bottom: 0px;
  background-color: #e57373;
}

.article h2::before {
  content: none;
}

.article h4::before {
content: none;
}

/* --- H2：角丸の付箋風ボックス（オレンジ） --- */
/* H2の基本デザイン設定 */
.entry-content h2 {
  background: #E8854A; /* メインカラー（オレンジ）を背景に */
  color: #FFFFFF; /* 文字色を白に */
  border: none; /* 枠線をなしに */
  border-radius: 10px; /* 角丸にする */
  padding: 15px 20px; /* パディングでふっくら感を出す */
  margin: 1.5em 0 1.5em; /* 上下の余白を調整 */
  position: relative;
  z-index: 1;
  font-size: 1.5rem; /* サイズを少し大きく */
}

/* H2の::before/::after装飾は今回はシンプルにするため省略 */


/* --- H3：ドットとアクセントピンクの縁取り --- */
/* H3の基本デザイン設定 */
.entry-content h3 {
  background: #FFF8E1; /* サブカラー（クリーム）を背景に */
  color: #333333; /* 文字色を濃いグレーに */
  border: 2px solid #F06292; /* アクセントカラー（ピンク）で枠線を設定 */
  border-radius: 5px; /* やや角丸に */
  border-style: dotted; /* 枠線をドット（点線）にして可愛さを出す */
  padding: 5px 20px;
  margin: 2.5em 0 1.5em;
  font-size: 1.3rem;
}

/* --- H4：シンプルなオレンジの左線（棒線） --- */
/* H4の基本デザイン設定 */
.entry-content h4 {
  background: none; /* 背景色なし */
  color: #333333; /* 文字色は濃いグレー */
  border: none; /* 枠線なし */
  border-left: 5px solid #E8854A; /* 左にメインカラー（オレンジ）の太めの実線を引く */
  border-radius: 0; /* 角丸はなし */
  padding: 5px 15px; /* 左線の隣に十分なスペースを確保 */
  margin: 2em 0 1em;
  font-size: 1.2rem;
}


/* --- H5・H6：標準テキストにメインカラーを適用 --- */
/* H5の設定 */
.entry-content h5 {
  color: #E8854A; /* 文字色をメインカラー（オレンジ）に */
  border: none;
  font-size: 1.1rem;
  margin: 1.5em 0 0.5em;
  padding-left: 5px; /* わずかに左に余白を持たせ、段落と区別 */
}

/* H6の設定 */
.entry-content h6 {
  color: #E8854A; /* 文字色をメインカラー（オレンジ）に */
  border: none;
  font-size: 1rem;
  margin: 1em 0 0.5em;
  padding-left: 5px;
}

.main {
  padding-top: 0;
}

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

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

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