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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*サイトタイトルここから*/
.site-name-text-link {
font-size: 36px;
}
/*サイトタイトルここまで*/


/*必要ならばここにコードを書く*/

.article h2{
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
	}

.article h2:before, .article h2:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}
.article h2:before {
  left: 7px;
}
.article h2:after {
  right: 7px;
}

.article h3 {
  font-size: 18px !important;/*文字のサイズ*/
  background: #f9fab4;/*背景色*/
  padding: .5em .7em;/*余白*/
  color: #050505;
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
	

	
/****************
タブ見出しボックス
****************/
/*タブ見出しボックスのカスタマイズ*/
.tab-caption-box-label{ 
  border-radius: 0px;  /*上部の角の丸みをなくす*/
}
.tab-caption-box-content{
  position: relative;  /*要素を相対配置にする*/
  border: solid 1px;  /*線の種類、太さ*/
  border-radius: 0px;  /*下部の角の丸みをなくす*/
  top: 2px;  /*位置の調整*/
}
	
/************************************
** 記事内目次
************************************/
.toc {
  background: #f9f9f9!important;
  border: 0!important;
  display: block!important;
  border-top: 5px solid!important;
  border-top-color: #cd853f!important;/*お好みの色に*/
  box-shadow: 0 2px 2px rgba(0,0,0,.2)!important;
  padding: 20px 32px 7px 32px!important;
  margin-bottom: 5%!important;
  width:95%;
  border-radius:10px;
}
@media screen and (min-width:600px){
.toc {
  padding: 20px 35px 15px 35px!important;
  width:70%;
}
}
.toc-title{
  margin: 0 20px 20px -10px!important;
  font-size: 23px!important;
  font-weight: 700!important;
  color: #cd853f!important;/*お好みの色に*/
  background-color: initial;
}
.toc-title:before{
  font-family: "Font Awesome 5 Free";
  content: "\f03a";
  font-weight: 900 !important;
  font-size: 20px;
  color: #fff;
  background-color: #cd853f;/*お好みの色に*/
  border-radius: 50%;
  padding: 14px;
}
.toc a{
  color:#333;
  display: block;
  border-bottom: dashed 1px silver;
  padding-bottom: .5em;/*下の点線との間*/
  padding-top: 0em!important;/*下の点線との間*/
}
.toc ul li{
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 .4em 1.4em;
  position: relative;
}
.toc ul li:before{
  font-family: "Font Awesome 5 Free"!important;
  content: "\f138";
  position: absolute!important;
  left: -0.3em!important;
  color: #cd853f;/*お好みの色に*/
  font-weight: 900;
}
.toc li li{
  font-weight: 400;
  padding-top:.5em;
  margin-top:0!important;
}
.toc_list li{
  margin-top:-5%!important;
}
@media screen and (min-width:834px){
.toc_list li{/*PCでは目次のh2同士の間隔は抑えめに*/
  margin-top:-1.8%!important;
}
}

/************************************
** サイドバーの目次
************************************/
.sidebar .toc{
  background:transparent!important;
  border:initial!important;
  border-top: initial!important;
  border-top-color: initial!important;
  box-shadow:initial!important;
  margin-bottom:initial!important;
  width: initial!important;
  border-radius:initial!important;
  padding-top:initial!important;
}
.sidebar .toc li li:before{
  color:#fad9a7;/*お好みの色に*/
}


.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #e6e647; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

/*あわせて読みたい*/
.bct-together .blogcard-label{
  background-color:#e6e647;
}

/*関連記事*/
.bct-related .blogcard-label{
	background-color:#e6e647;
}

/*参考記事*/
.bct-reference .blogcard-label{
	background-color:#e6e647;
}

/*参考リンク*/
.bct-reference-link .blogcard-label {
    background-color: #e6e647;
}

/*人気記事*/
.bct-popular .blogcard-label {
    background-color: #e6e647;
}

/*詳細はこちら*/
.bct-detail .blogcard-label{
  background-color:#e6e647;
}

/*チェック*/
.bct-check .blogcard-label{
  background-color:#e6e647;
}

/*ピックアップ*/
.bct-pickup .blogcard-label{
  background-color:#e6e647;
}

/*公式サイト*/
.bct-official .blogcard-label{
  background-color:#e6e647;
}

/*ダウンロード*/
.bct-dl .blogcard-label{
  background-color:#e6e647;
}


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

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

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

.box-menu-icon{
  color: #e6e647;
}

.box-menu:hover {
    box-shadow: inset 2px 2px 0 0 
#e6e647,2px 2px 0 0 #e6e647,2px 0 0 0 #e6e647,0 2px 0 0
    #e6e647;
} 

@media screen and (max-width: 1023px) {
  .tagline {
    display: none;
  }
}

.sidebar h3{

              color:#030303;

              background-color:#e6e647;

}

.box-menu-icon{
  color: #e6e647;
}

.box-menu:hover {
    box-shadow: inset 2px 2px 0 0 
#e6e647,2px 2px 0 0 #e6e647,2px 0 0 0 #e6e647,0 2px 0 0
    #e6e647;
} 

#sidebar .author-box .author-name a {
  color: #e6e647;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 18px;
}


