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

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

.header-container, .main, .sidebar, .footer {
  background-color: transparent;
}

#footer {
    background-color: transparent;
}

.logo-menu-button img {
  max-height: 43px;
}

/*サイドバー見出し中央寄せで両側にライン*/
.sidebar h3 {
	color: #9AA0A6 ;
    background: none;
    font-size: 19px;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
	border: none;
}
.sidebar h3::before, .sidebar h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20%; /*ラインの長さ*/
    border-top: 4px solid #5F6368; /*ラインの色*/
}
.sidebar h3::before {
    left: 0;
}
.sidebar h3::after {
    right: 0;
}
	
/*サイドバー人気記事のNo色変更*/
.widget-entry-cards.ranking-visible .no-1 .card-thumb::before {
    background: #FF386D;
}
.widget-entry-cards.ranking-visible .no-2 .card-thumb::before {
    background: #FF386D;
}
.widget-entry-cards.ranking-visible .no-3 .card-thumb::before {
    background: #FF386D;
}

/*ヘッダー背景透明化*/
#header-container {
background-color: transparent;
}

/************************************
****　目次
************************************/
.toc-title{
font-weight:bold;
}
.toc-title::after {
color:#337ab7;
}
.toc-list > li a {
font-weight: bold;
display:block;
margin-top:10px;
margin-left: 10px;
}
.toc-list > li a::before {
font-family: "Font Awesome 5 Free";
content : "\f144";
margin-right: 7px;
}
.toc-list > li li a {
font-weight: normal;
font-size: 95%;
margin-top:0;
margin-left: 2em;
}
.toc-list > li li a::before {
content: "";
width: 7px;
height: 7px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #66F859;/*こちらで緑点の色を変更できます*/
position: relative;
margin-bottom: 2px;
}
@media (max-width:880px){
.toc-list > li a {
margin-left: -10px;
}
.toc-list > li li a {
margin-left: -2em;
}
.toc-list > li li a::before {
left: 3px;
margin-bottom:1px;
}
}
.toc a:hover {
color: #333333;
text-decoration: underline;
}

/* 目次に戻るリンクを機能させる */
.toc-checkbox {
    height: 0;
    overflow: hidden;
    display: block;
    visibility: hidden;
}

/* 目次に戻るリンクのスタイル */
.back-toc {
    margin: 50px 0; /* 上下の余白 */
}
.back-toc a {
    color: #8ab4f8; /* 文字色 */
    text-decoration: none; /* 下線を消す */
}