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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*サイドバー広告*/
#sidebar .ad-wrap{min-height:280px;}
/*リンク広告*/
.ad-link .ad-wrap{min-height:90px;}
@media screen and (max-width: 768px){
.ad-link .ad-wrap{min-height:250px;}
}
/*インデックス部分の広告*/
div[class*="ad-index-"] .ad-wrap{
	min-height:200px;
}
@media screen and (max-width: 768px){
div[class*="ad-index-"] .ad-wrap{
	min-height:286px;
}
}
/*ページ内広告*/
.ads-fluid{
	min-height:200px;
}
@media screen and (max-width: 768px){
.ads-fluid{
	min-height:286px;
	
}}

/************************/
/*サムネイル付お勧め記事*/
/************************/
.pickup_post {
margin-top:10px;
padding:10px 15px;
}
.pickup {position: relative;}
.pickup_list li.pickup p {
position: absolute;
top: 50PX;
left: 5px;;
color: #fff; /*記事タイトル文字色*/
font-size: 16px; /*文字サイズ*/
font-weight:bold; /*太字*/
letter-spacing:0.5px;
text-decoration: none;
line-height: 1.2;
text-shadow: 0 0 7px rgba(0,0,0.3); /*文字の影*/
}
/*カテゴリーラベル表示部分*/
.pickup_list li.pickup span {
position: absolute;
top: 0;
left: 0;
margin: 0;
color: white; /*文字色*/
background: rgba(251,138,138,0.6); /*背景色*/
font-size: 15px; /*文字サイズ*/
line-height: 1;
padding: 5px 10px;
}
.pickup_list {
display:flex;
justify-content:space-between;/*均等配置*/
flex-wrap: wrap;
box-shadow: 0 2px 5px #f0f0f0; /*枠の影*/
transition: .5s;
}
.pickup_list li{
list-style:none;
width:150px; /*サムネイルサイズ*/
}
.pickup_list li img{border-radius:8px;}
/*オンマウスで傾ける*/
.pickup_list li {
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.pickup_list li:hover {
-webkit-transform: rotate(-10deg);
transform: rotate(-10deg);
}
/*端末サイズによる表示*/
@media only screen and (max-width: 1199px){
.pickup_list li{
width:20%;
margin: 0.25em 0;
}
}
@media only screen and (max-width: 767px){
.pickup_post {
padding: 0;
margin: 0.5em 0;
width:100%;
}
}
.pickup_list {
margin:0.5em;
padding: 0.25em 0;
}
.pickup_list li{
width:48.5%;
margin: 0.25em 0;
}

/* H2見出しカスタマイズ */
.article h2 {
/* H2線消し */
background:none;
border-bottom:none;
/* 文字の位置 */
text-align:center;
/* 背景色 */
background-color:#fff0f5;
/* 文字色 */
color: #5f6368;
/* 上下の余白 */
padding: 0.5em 0;
/*　上側の線　*/
border-top: 5px dashed #e57373;
/*　下側の線　*/
border-bottom: 5px dashed #e57373;
/*　右側の線　*/
border-right: 5px dashed #e57373;
/*　左側の線　*/
border-left: 5px dashed #e57373;
}
/*H3見出し*/
.post h3{
    border-bottom: 5px dashed #f08080;  /*下線太さ 種類 色*/
    border-left: transparent;  /*左線を透明*/
    color: #5f6368; /*文字色*/
}
 /* h4見出し*/
.post h4{
    border-bottom: 5px dashed #6cbb5a;  /*下線太さ 種類 色*/
    border-left: transparent;  /*左線を透明*/
    color: #5f6368; /*文字色*/
}
.post h4{ 
　　font-weight:bold;
}
/************************************
** 記事内目次
************************************/
.toc {
  background: #f9f9f9!important;
  border: 0!important;
  display: block!important;
  border-top: 5px solid!important;
  border-top-color: #e57373!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: #e57373!important;/*お好みの色に*/
  background-color: initial;
}
.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 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;
}
}
/* 一覧アイキャッチのカテゴリ非表示 */
.entry-card-thumb .cat-label {
  display: none !important;
}
/* yesno-card */
/wp-content/themes/cocoon-child/yesno-cards.js
