@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){
  /*必要ならばここにコードを書く*/
}
/*サイドバー見出しデザインカスタマイズ：moe追記*/
h3.widget-sidebar-title {
    color: #333333;                      /* 文字色 */
    background: #ffffff;                 /* 背景色 */
    padding: 0.25em 0.6em;               /* [上下][左右]の余白 */
    border-top: none;                    /* 上枠 */
    border-right: none;                  /* 右枠 */
    border-bottom: none;                  /* 下枠 */
    border-left: solid 6px #676396;      /* 左枠 */
  }


/*見出しデザインのカスタマイズ：moe追記*/
.article h2 
{
  font-size: 20px !important;/*文字のサイズ*/
  position: relative;
  padding: .8em .8em .8em 1.2em;
  color: #FFF;
  background: #676396;
  border-radius: 50em 50em 50em 50em;
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
}
.article h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 40px;
  border: 10px solid transparent;
  border-top: 13px solid #676396;
  width: 0;
  height: 0;
}

.article h3 {
  position: relative;
  border:none;
	color: #676396;
}
.article h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: -webkit-repeating-linear-gradient(-45deg, #676396, #676396 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #676396, #676396 2px, #fff 2px, #fff 4px);
}


.article h4 {
  border: none;  /*Cocoon標準のデザインにあるボーダーを取る*/
  position: relative;  /*要素を相対配置にする*/
  padding: .1em .3em .4em .5em;  /*余白*/
  border-left: solid 8px #a8bcc8;  /*左の線の種類、太さ、色*/
  color: #676396;  /*文字の色*/
  border-bottom: solid 2px #8195a2;  /*下の線の種類、太さ、色*/
}
.article h4:before { /*左ラインの下部の色*/
  position: absolute;  /*要素を絶対配置にする*/
  content: '';  /*空欄を挿入する*/
  left: -8px;  /*左下部の線の位置の調整*/
  bottom: -2px;  /*左下部の線の位置の調整*/
  width: 8px;  /*左下部の線の太さ*/
  background-color: #676396;  /*左下部の色*/
  height: 50%;  /*左下部の線の色の高さ*/
}


.article h5 {
  border-top: none;  /*Cocoon標準のデザインにあるボーダーを取る*/
  border-bottom: solid 1px #a8bcc8;  /*下の線の種類、太さ、色*/
  position: relative;  /*要素を相対配置にする*/
  color: #676396;  /*文字の色*/
}
.article h5::after {
  position: absolute;  /*要素を絶対配置にする*/
  content: " ";  /*空欄を挿入する*/
  border-bottom: solid 2.5px #676396;  /*左の線の種類、太さ、色*/
  left: 0px;  /*左の線の位置の調整*/
  bottom: -1px;  /*左の線の位置の調整*/
  width: 30%;  /*左の線の長さ*/
}

.article h6 {
  border: dashed 1px #676396;
  padding: 1em;
  color: #676396;
}

/*目次タイトルの文字を変更*/
.toc-title {
    font-weight: bold;
	color: #000000;
}

/*目次の背景色と枠線を変更*/
.toc {
		background: #f5f5f5;
}





