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

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

/* 見出しカスタマイズ */

/* H1 */
.article h1::before {
    border-top: none;
}
.article h1::after {
    border-bottom: none;
}
/* H2 */
.article h2::before {
    border-top: none;
}
.article h2::after {
    border-bottom: none;
}
/* H3 */
.article h3::before {
    border-top: none;
}
.article h3::after {
    border-bottom: none;
}

.article h1 {
  line-height: 2em;
  margin-left: 20px;
  padding-left: 7px;
  position: relative;
  border-left: solid 2px #d9534f;
  box-shadow: -4px 0px #fff,
            -6px 0px #ffad60,
            -10px 0px #fff,
            -12px 0px #ffad60;
  padding-bottom: 10px;
}

.article h1:before {
  content: "";
  position: absolute;
  left: -25px;
  right: 0;
  bottom: 12px;
  border-bottom: 2px solid #d9534f;
  box-shadow: 0px 6px #ffad60;
}

.article h2 {
  padding: 1rem 1rem;
  border: 6px double #000;
  background: #FFDCA9;
}


.article h3 {
  border-bottom: 6px double #333;
  /*background: #E8F3D6;*/
}

.article h4 {
  position: relative;
  padding: 0 0 0 18px;
  border-bottom: none;
  border-top: none;
  color: #454545;
  font-size: 10.5pt;
}
.article h4:before {
  font-family: FontAwesome;
  content: "\f0c8";
  position: absolute;
  left : 0em;
  color: #b0c4de;
  padding-top: 0;
}
article h5 {
  border:1px gray solid;
  line-height: 3em;
  text-align: center;
  color: gray;
  font-family: 'Baloo Thambi 2', noto sans jp;
  font-weight: bold;
}





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

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

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

/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#96ceb4;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 10px 5px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    /*margin: 0 20px 20px -10px;*/
    padding-left: -20px;
    font-size: 20px;
    font-weight: 700;
    color: #96ceb4; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -35px;
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
   /* content : "\f0ca";  アイコンを変える場合はここを変更 */
    font-size:18px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#96ceb4; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 30%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:6px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.3em 0 0.3em 1.1em;
    border-bottom: dashed 1px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: FontAwesome;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #96ceb4; /* 色を変える場合はここを変更 */
}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}
