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

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

/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}

.entry-content h2 {
  color: #ffffff;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
  line-height: 1.3;/*行高*/
  background: #CC9F9F;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

h2:before {
  content: '●';
  color: #fbf8f5;
  margin-right: 8px;
}

.entry-content h3 {
   padding: 0.3em 0; /* 内側余白調整 */
   border-bottom: dotted 6px #CC9F9F; /*点線・太さ・色 */
   color:#333; /* 文字色（黒）*/
}

/* 先頭に丸いアクセント*/
.entry-content h4 {
   background:none;
   color: #333;
   position: relative;
   padding: .3em 1em 1em 40px;
  }

h4::before,
h4::after{
   position: absolute;
   content: '';
   border-radius: 100%;
}

h4::before {
   top: .6em;
   left: .2em;
   z-index: 2;
   width: 22px;
   height: 22px;
   background: #CC9F9F;
   opacity: .5;
}
h4::after{
   top: 1.1em;
   left: .7em;
   width: 15px;
   height: 15px;
   background: #CC9F9F;
   opacity: .5;
}

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

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

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