@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,
.article h6 {
  background: none; /* 背景色を削除 */
  border: none;     /* 枠線を削除 */
  border-radius: 0; /* 角丸を削除 */
}

.article h1 {
   --baloon-color:#6d5353;
   position: relative;
   border-bottom: 3px solid var(--baloon-color);
   padding:.3em 0;
   color:#6d5353; /* 文字色（黒）*/  
}
.article h1:before, .article h1:after {
   position: absolute;
   content: '';
   left: 1em;
   width: 0;
   height: 0;
   border-width: 14px 12px 0;
   border-style: solid;
}
.article h1:before {   
   bottom: -14px;   
   border-color:var(--baloon-color) transparent transparent;
}
.article h1:after {
   bottom: -10px;
   border-color: #ffffff transparent transparent;
}

/*H2見出し*/
.article h2 {
    color: #6d5353;/*文字色*/
    font-size: 20px;/*文字サイズ*/
    display: block;
    border: 2px dashed #816930;/*吹き出し線（太さ 破線 色）*/
    position: relative;
    padding: 1em;/*文字回りの余白（上下左右）*/
    border-radius: 30px;/*吹き出し角丸サイズ（四隅）*/
    display: block;
}
.article h2:before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 20%;/*吹き出しの矢印部の左右位置*/
    transform: translateX(-50%) rotate(-45deg);
    width: 10px;
    height: 10px;
    border: 2px dashed #816930;/*吹き出しの矢印部の線（太さ 破線 色）*/
    border-top: none;
    border-right: none;
    background-color: #efece0;/*吹き出しの矢印部の内側背景*/
}
.article h2:after {
    content: '';
    background: #efece0;/*背景色*/
    left: 4px;/*背景左右ずれ*/
    top: 10px;/*背景上下ずれ*/
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    border-radius: 30px;/*背景角丸サイズ（四隅）*/
}



/* サイドバー見出し */
.sidebar h3 {
  background: transparent;  /* 背景を透明にする */
}

.sidebar h3 {
    font-size: 20px;/*文字サイズ*/
    padding: 20px 20px 20px 50px;/*文字回りの余白（上 右 下 左）*/
    text-indent: -25px;
    display: block;
    color: #505050;/*文字色（グレー）*/
    background: #efece0;
    border-radius: 30px 0px 0px 30px;/*角丸サイズ（左上 右上 右下 左下）*/
}
.sidebar h3:before {
    content: '●';
    color: #fff;/*左側丸い部分の色*/
    margin-right: 8px;/*左側丸い部分から右側への余白*/
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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