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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*キャッチフレーズ左に*/
.header-in .tagline {
text-align:left;
	padding-left: 10px;
}



/*ヘッダーを狭くする*/
.logo.logo-header.logo-text {
	padding: 0px;
}

/*サイトロゴのフォント変更-文字白*/
.logo-header a span{
font-family: 'Avenir','Helvetica Neue';
font-weight: bold;
font-size:50px;
}

/* サイドバーカスタマイズ */
.sidebar h3 {
  border-bottom:2px dotted #595959;/*下線の太さ、種類、色*/
  background:transparent;/*背景を透明に*/
  padding:10px 0 5px 3px;
}

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

/* H2 */

.article h2{

border-top:none;

border-bottom:none;

border-left:none;

border-right:none;

padding: 0;

}

.article h2{
font-size: 2em;/* フォントサイズ */
font-weight: bold;/* フォント太さ */   
padding-top: .5em;
padding-bottom: .2em;
margin-bottom: 1em;
border-bottom: solid 5px #111111;/* 線 */
background-color: transparent;
}


/* H3 */

.article h3{

border-top:none;

border-bottom:none;

border-left:none;

border-right:none;

padding: 0;

}

.article h3{
    position: relative;
    padding: 1rem 1rem 1rem 1.5rem;
    border: 3px solid #595959;
    font-weight: bold;
    font-size: 18px;
	border-radius: 10px;
}

h3:before,
h3:after {
    position: absolute;
    top: 100%;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}

h3:before {
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #595959;
    border-width: 12px;
}

h3:after {
    margin-left: -8px;
    border-color: transparent;
    border-top-color: white;
    border-width: 8px;
}
	
	
	
/* H4 */


.article h4{
border:none;
background:none;
padding: 0;
}

.article h4{
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #3b3b3b;
    color: #242424;
}

h4:before,
h4:after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}


h4:before {
    background-color: #3b3b3b;
}

h4:after {
    bottom: -11px;
    background-color: #fff;
}



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

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



/*サイトタイトル*/
.site-name-text{
font-size: 30px;
}

/*---------------------------------
カテゴリの行間とフォントを小さくする
--------------------------------*/
ul li, ol li {
padding-top:12px;
padding-bottom:12px;
line-height:1.8;}

/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#595959;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color: #595959; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: FontAwesome;
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#595959; /* アイコンの色を変える場合はここを変更 */
    background-color:595959; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.7em 0 0.5em 1.4em;
    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: #595959; /* 色を変える場合はここを変更 */
}
.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以降の文字サイズを普通に */
}