@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の変更 */
.article h2 {
position: relative;
color: #fff;/*文字色*/
padding: 0.7em;
border-radius: 0.2em;/*角丸*/
background: #fa8072;/*背景色*/
}

.article h2:after {
position: absolute;
content: '';
top: 100%;
left: 30px;
border: 15px solid transparent;
border-top: 15px solid #fa8072;/*背景色*/
width: 0;
height: 0;
}
/* 見出しh3の変更 */
.article h3 {
border: none;
padding: 0.5em;/*文字周りの余白*/
background: #ffe4e1;/*背景色*/
border-left: solid 10px #fa8072;/*左線（実線 太さ 色）*/
}
/* 見出しh4の変更 */
.article h4{
border: none;
position: relative;
margin: 0 0 1.5em;
padding: 0.5em 0.5em 0.3em 1.5em;
border-bottom: 3px solid #fa7364;/*下線*/
}
.article h4:before{
content: “”;
position: absolute;
background: #fa8072;/*上側の四角*/
top: 0;
left: 0.4em;
height: 12px;
width: 12px;
transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
-ms-transform: rotate(45deg);
}
.article h4:after{
content: “”;
position: absolute;
background:#fa7364;/*下側の四角*/
top: 1.0em;
left: 0;
height: 8px;
width: 8px;
transform: rotate(15deg);
-moz-transform: rotate(15deg);
-webkit-transform: rotate(15deg);
-o-transform: rotate(15deg);
-ms-transform: rotate(15deg);
}
/* 目次のH2見出しのみ太字にする */
.toc-content ol li{
  color: #8195a2;  /* 文字の色 */
  margin:0.5em;  /* 文字の余白 */
}
.toc-list > li{
  font-weight: bold;  /* h2のみ太字にする */
}
.toc-list > li li{
  font-weight: normal;  /* h2以外を標準の太さにする */
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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