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

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


/************************************
****　目次
************************************/
/* 目次
-------------------------------------------------- */
#main .entry-content .toc {
  /* 目次全体デザイン */
  background: #f6f1eb;
  /* 目次全体の背景色を変える場合はここを変更 */
  border: none;
  display: block;
  padding: 20px 25px;
}

#main .entry-content .toc .toc-title {
/* 目次の文字指定 */
  text-align: center;
  margin: 0 20px 0 -10px;
  padding-left: -20px;
  font-weight: 700;
  color: #444
  /* 目次の文字色を変える場合はここを変更 */

}

#main .entry-content .toc .toc-title:before {
  /* 目次のアイコン設定 */
  top: 0;
  left: -45px;
  width: 50px;
  height: 50px;
  font-family: "Font Awesome 5 Free";
  content: "\f03a";
  /* アイコンを変える場合はここを変更 */
  font-size: 20px;
  margin-right: 5px;
  color: #444;
  /* アイコンの色を変える場合はここを変更 */
  background-color: #444;
  /* アイコンの背景色を変える場合はここを変更 */
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  padding: 14px;
}

#main .entry-content .toc .toc-content ol {
  /* 目次のデザインカスタマイズ */
  padding: 0 0.5em;
  position: relative;
}

#main .entry-content .toc .toc-content ol li {
  line-height: 1.5;
  padding: 0.3em 0 0.3em 1.4em;
  border-bottom: dashed 1px silver;
  list-style-type: none !important;
}

#main .entry-content .toc .toc-content ol li:before {
  /* 目次の各節の先頭にあるアイコンを設定 */
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  /* アイコンを変える場合はここを変更 */
  position: absolute;
  left: 0.5em;
  font-weight: bold;
}

#main .entry-content .toc .toc-content ol li:last-of-type {
  border-bottom: none;
}

#main .entry-content .toc .toc-content .toc-list li {
  font-weight: 700;
  /* h2のみ太文字に */
}

#main .entry-content .toc .toc-content .toc-list li li {
  font-weight: 500;
  /* h3以降の文字サイズを普通に */
}

#main .entry-content .toc .toc-content ol li li:before {
  /* 目次の各節の先頭にあるアイコンを設定 */
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  /* アイコンを変える場合はここを変更 */
  position: absolute;
  left: 0.5em;
  font-weight: bold;
  color: #e6680c;
}


/************************************
************************************/
/*　パンくずリスト関連　*/
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	/*　通常ここまでの3つがセットで必要　*/

	display: block;
	font-size: 11px;
	box-sizing: border-box;
	padding: 0.6em 1em 1.5em 1.5em;

}
/*　色を変更する　*/
.breadcrumb-home a,
.breadcrumb-home .fa-home,
.breadcrumb-item a {
	color: var(--cocoon-text-color);
}
/*　マウスオーバー時の色　*/
.breadcrumb-home a:hover,
.breadcrumb-item a:hover {
	color: #e6680c;
}
/*　不要なアイコンを消す　*/
.breadcrumb-item>.fa {
 	display:none;
}
/* 区切り「＞」の調整　*/
.breadcrumb .sp {
    margin: 0 6px;
}
/* パンくずリストがくっつかないようにブレイクポイントを追加　*/
@media screen and (min-width: 1287px){
	.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
    	margin: 6px auto 0;
		padding: 0.6em 0em 1em;
	}
}
/*　タイトル関連　*/
/*　メインエリアの位置を上げてタイトルの位置を調整　*/
.main {
    padding-top: 11px!important;
}
/*　スマホでタイトルの左右に空間ができるのを削除　*/
@media screen and (max-width: 480px) {
	.entry-title {
	    padding: 0.6em 0;
	}
}
/*　パンくずの位置が変わった場合のタイトルの調整　*/
@media screen and (min-width: 1287px){
	.entry-title {
	    font-size: 29px;
	    padding: 0 0em !important;
		line-height: 1.4em!important;
	}
}
/*　日付タグの位置を左寄せ　*/
.main .date-tags {
    text-align: left!important;
    margin-bottom: 2em;
}
.main .entry-header .post-date {
	margin-left: 0px !important;
	margin-right: 8px !important;
}

/************************************
 モバイルボタン
************************************/

/*モバイルボタンの背景色*/
.mobile-menu-buttons {
 background: #f6f1eb!important;align-content
 color:#444444;
}




/************************************
 * グローバルナビゲーション
************************************/

/*タイトルロゴの余白調整*/
header .logo-image {
    margin-top: 0px;
    margin-bottom: -5px;
}
/*グローバルナビの大きさと余白調整*/
.navi-in a {
    font-size: 13px;
    font-weight: bold;
    padding-right: 20px!important; 
    padding-left: 20px!important; 
    transition: all 0.3s ease-in-out;
}
/*グローバルナビのマウスオーバー時のアンダーライン*/
.navi-in a::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    left: 50%;
    bottom: 0;
    transition: .25s ease-out;
    border-bottom: 2px solid;
    border-bottom-color: #be056d;
}
/*グローバルナビのマウスオーバー時の文字色変化*/
.navi-in a:hover {
  	background-color: inherit;
  	color: #be056d;
}
/*グローバルナビのマウスオーバー時のアンダーラインをのばす*/
.navi-in a:hover::after {
    left: 0;
    width: 100%;
}
/*グローバルメニューの高さを変更*/
#navi .navi-in > ul li{
	height: 34px;
}
/*下矢印を消す*/
.navi-in .has-icon {
    display: none!important;
}
/*サブメニューのアンダーラインを抑止*/
.navi-in>ul .sub-menu a:hover::after {
    width: 0;
}
/*サブメニューの背景*/
.navi-in>ul .sub-menu {
    display: none;
    position: absolute;
    margin: 0;
    min-width: 240px;
    list-style: none;
    padding: 0;
    background-color: #242a2e !important;
    z-index: 99;
    text-align: left;
}
/*サブメニューの文字色*/
.navi-in>ul .sub-menu a {
    color: #fff;
}
/*サブメニューのマウスオーバー時の文字色と背景*/
.navi-in>ul .sub-menu a:hover {
    background-color: #293035;
    color: #be056d;
}
/*サブメニューを狭くして罫を入れる*/
.navi-in>ul .sub-menu li {
    border-top: 1px solid #3c4246;
    height: 40px;
    line-height: 40px;
}
.navi-in>ul .sub-menu li:first-child {
    border-top: none;
}
.navi-in>ul .sub-menu li:last-child {
    height:  41px;
}
.navi-in>ul .sub-menu li:last-childa:hover {
    height:  40px;
}


/****************************************
 * PR表記
 * *************************************/
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
	border-top:none;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #444; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #f6f1eb;
    padding: 3px 0;
    margin-bottom: 2em;	
	/* 背景斜線 */
background-image: linear-gradient(-45deg, #fff 25%, #eee 25%, #eee 50%, #fff 50%, #fff 75%, #eee 75%, #eee);
  background-size: 4px 4px;
	
}

/***************************************
 * 見出し
 * ****************************/
.article h1 {
	padding: 0;
	font-size: 24px;
	font-weight: 800;
	margin-top:10px;
}

.article h2{
background: none;
line-height: 1.2em;
font-size: 23px;
padding: 0.5em;
background: #fff;
border-left: solid 5px #444;
margin-top:45px;
}


.article h3{
  background: none;
  line-height: 1.2em;
color: #444;
font-size: 19px;
  padding: 5px 0px;
  border-top:none;
  border-left:none;
  border-right:none;
  border-bottom: solid 3px #f2ebe3;
  position: relative;
	margin-top:35px;
}

.article h3:after {
	  background: none;
  line-height: 1.2em;
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #e6680c;
  bottom: -3px;
  width: 20%;
}

.article h4{
font-size: 17px;
	font-weight:bold;
	color: #e6680c;
  line-height: 1.2em;
  padding: 5px 0px 0px 0px;
  border:none;
margin-top:40px;
}

/* H1〜4  CSS ここまで*/

/*media Queries 1030px以下
-----------------------------------------------------------------------------*/
@media screen and (max-width: 1030px){
.article h1 {
	padding: 0 2% 2% 2%;
	font-size: 19px;
	line-height: 1.4em;
}
	
.article h2 {
	font-size: 18px;
	}
	
.article h3 {
		font-size: 16px;
	}
	
.article h4 {
		font-size: 16px;
	}

}



/************************************
** トップシェアボタンのみ丸くする
************************************/

/*トップシェアボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons {
	justify-content: center; /*中央に寄せる*/
}

/*トップシェアボタンのリンク*/
.sns-share.ss-top .sns-buttons a {
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
}

/*トップシェアボタンのアイコン*/
.sns-share.ss-top .sns-buttons a .social-icon {
	font-size: 18px; /*アイコンの大きさ*/
}

/*トップシェアボタンのキャプション*/
.sns-share.ss-top .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*トップシェアボタンのシェア数*/
.sns-share.ss-top .sns-buttons a .share-count {
	right: -2px; /*右側からの距離*/
	bottom: -2px; /*下側からの距離*/
	padding: 2px; /*内側の余白*/
	font-size: 10px; /*文字の大きさ*/
	border: solid 1px; /*線*/
	border-radius: 3px; /*丸み*/
	background-color: inherit; /*背景色*/
}

/*シェア数の表示が必要ないトップシェアボタン*/
.sns-share.ss-top .sns-buttons a .share-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}

/*************************************/
/* カテゴリーラベルを非表示 */
.cat-label{
display: none;
}


/*****************************************/
/*ブログカード*/

.blogcard{
	border: 1px solid #b6966a !important;
}

.internal-blogcard-footer{
	display: none;
}


.internal-blogcard-footer{
	display: none;
}


.blogcard-type .blogcard-label{
background-color:#b6966a;
}

.internal-blogcard-snippet{
display: none;
}

.blogcard-title{
font-size: 1.2em;
}


/*******************************************/
/*PR表記位置調節*/
.pr-label-s {
	top:-16px;
	background: #f6f1eb;
	border:none;
}

/***********************************************/
/*楽天リンクカスタム*/

/*Cocoon商品リンク：枠線を細く*/
.rakuten-item-box{
margin: 0;
padding: 12px 15px; /*余白調整*/
border: solid 1px #ccc; /*線の太さ*/
}
/*Cocoon商品リンク：料率を非表示*/
.product-affiliate-rate{
display:none;
}

/*Cocoon商品リンク：キャッシュ情報を非表示*/

.cache-delete-link{
display:none;
}

/****************************************/
/*reCAPTCHA*/
.grecaptcha-badge { visibility: hidden; }



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

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

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