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

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


/************************************
** Rinker用マイクロコピー
************************************/
/*
div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a:before {
	font-size: 0.55em;
	content: "＼スマイルセール開催中!／";
	color: #C44540;
	position: absolute;
	top: -24px;
}
*/


/*
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a:before {
	font-size: 0.50em;
	content: "＼お買い物マラソン開催中!／";
	color: #C44540;
	position: absolute;
	top: -24px;
}
*/




/*
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a:before {
	font-size: 0.5em;
	content: "＼セール実施中！／";
	color: #51A7E8;
	position: absolute;
	top: -20px;
}
*/

div.yyi-rinker-contents ul.yyi-rinker-links li{
	margin-top: 5px;
}
@media screen and (max-width: 568px){
	div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink {
		margin: 15px 0 0 0;
	}
	div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink {
		margin: 20px 0 0 0;
	}
	div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
		margin: 20px 0 0 0;
	}
	div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a:before {
		font-size: 0.8em;
		top: -24px;
	}
	div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a:before {
		font-size: 0.75em;
		top: -24px;
	}
	div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a:before {
		font-size: 0.75em;
		top: -24px;
	}
}



/************************************
** Rinker用CSS
************************************/

div.yyi-rinker-contents {
  box-shadow: none;
  border-radius: 6px;
}

div.yyi-rinker-contents div.yyi-rinker-box {
  align-items: center;
}

@media (max-width: 767px) {
  div.yyi-rinker-contents div.yyi-rinker-box {
    flex-direction: column;
    padding: 24px 12px;
  }
}

@media (max-width: 767px) {
  div.yyi-rinker-contents div.yyi-rinker-title {
    text-align: center;
  }
}

div.yyi-rinker-contents div.yyi-rinker-detail {
  margin-top: 0;
  padding-left: 0;
}

@media (max-width: 767px) {
  div.yyi-rinker-contents div.yyi-rinker-detail {
    text-align: center;
  }
}

div.yyi-rinker-contents div.yyi-rinker-info {
  margin-top: 0;
  margin-left: 16px;
}

@media (max-width: 767px) {
  div.yyi-rinker-contents div.yyi-rinker-info {
    width: 100%;
    max-width: 568px;
    margin-top: 16px;
    margin-left: 0;
  }
}

div.yyi-rinker-box .brand {
  margin-top: 0;
}

div.yyi-rinker-box .credit {
  display: none;
}

div.yyi-rinker-box .price-box {
  display: none;
}

div.yyi-rinker-contents ul.yyi-rinker-links {
  margin-bottom: 0;
  margin-left: -10px;
}

@media (max-width: 767px) {
  div.yyi-rinker-contents ul.yyi-rinker-links {
    margin-left: -5px;
    justify-content: center;
  }
}

div.yyi-rinker-contents ul.yyi-rinker-links li {
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 0;
  box-shadow: none;
  transition: .3s;
}

@media (max-width: 767px) {
  div.yyi-rinker-contents ul.yyi-rinker-links li {
    margin-left: 5px;
    width: calc(33.3333% - 5px);
    flex-grow: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 568px) {
  div.yyi-rinker-contents ul.yyi-rinker-links li {
    width: 100%;
  }
}

div.yyi-rinker-contents ul.yyi-rinker-links li:hover {
  box-shadow: none;
  opacity: 0.6;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a {
  height: 40px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a:hover {
  opacity: 1;
}

li.rakutenlink {
	width: 130px;
}


li.amazonlink {
	width: 130px;
}

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

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

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



/************************************
****　記事一覧
************************************/


h2.entry-card-title.card-title.e-card-title{/*タイトル部変更*/
font-size:18px;/*文字サイズ*/
color:#000000;/*文字の色*/
font-weight:bold;
/* text-align:center; */
line-height:1.8em;
margin-top:0.5em;
margin-bottom:0em;
padding: 0 0.3em 0;
}

@media screen and (max-width: 480px) {
   .new-entry-card-title.widget-entry-card-title.card-title {
      font-size: 18px;
   }
}

.entry-card-snippet.card-snippet.e-card-snippet {
   color: #888888;
	font-size: 14px;
}

/************************************
****　プロフィール欄
************************************/
.nwa .author-box {
max-width:none;
padding: 0;
margin-bottom:0;
}
aside#author_box-2.widget.widget-sidebar.widget-sidebar-standard.widget_author_box{
padding: 0!important;
border-radius: 10px;
}
@media (max-width: 1023px){
aside {
padding: 0 .5em;
}
}
.nwa .author-box .author-thumb {
width: 100%;
height:9em;
margin:0 0 5em 0;
border-radius: 10px 10px 0 0;
}
.author-box figure.author-thumb{
float: none;
text-align: center;
/*background: url( [こちらに背景画像のアップロードURLを入力] ) center no-repeat;*/
background-size: cover;
position: relative;
z-index: 0;
}
.author-box img.avatar.photo{
background-image: none;
padding: 0!important;
box-shadow:none;
}
.author-box figure.author-thumb img{
width: 40%;
max-width:180px;
margin-top:5em;
}
@media (min-width:1023px){
.nwa .author-box .author-thumb {
height:8em;
}
.author-box figure.author-thumb img{
max-width:120px;
}}
@media (max-width:480px){
.nwa .author-box .author-thumb {
height:8em;
}
.author-box figure.author-thumb img{
max-width:130px;
}}
.author-box .author-name {
margin: 0 0 1.5em 0;
}
.author-box .author-content .author-name a{
text-decoration: none;
font-size:1.2em;
color:#545454;
}
.nwa .author-box .author-description {
margin-bottom:1.5em
}
.author-box .author-content .author-description p{
font-size:14px;
color:#7b7b7b;
line-height:1.6em!important;
margin:1em;
}
#author_box-2 p{
margin:1em 2.5em;
}
/* プロフィール文 */
.author-description{
	margin-bottom: 16px;
}
.author-description p{
	margin: 0 0 0.5em 0;
	text-align: left;
	line-height: 1.5;
}

/* SNSボタン */
.author-follows{
	padding: 12px 0;
	background-color: #ffcccc;
}
.author-follows::before{
	content: '＼Follow me／';
	color: #333333;
	/* font-family: お好きなフォント(設定する場合); */
	letter-spacing: 0.1em; /* 字間を広く */
	font-size: 14px;
}
.author-box .sns-follow-buttons a.follow-button{
	width: 40px;
	height: 40px;
	margin: 6px 10px 2px 2px;
	border-radius: 20px;
	color: #333;
	border-color: #333;
	font-size: 24px;
	line-height: 1.6;
}
.author-box a.follow-button span::before {
	font-size: 22px;
}

/* SNSボタン マウスオーバーしたとき */
.author-box .sns-follow-buttons a.follow-button:hover{
	background-color: transparent;
	opacity: 0.6; /* 薄く */
	transform: scale(1.1); /* 1.1倍の大きさに */
}
/*FEEDLYとRSSを非表示*/
a.follow-button.feedly-button.feedly-follow-button-sq{
display:none;
}
a.follow-button.rss-button.rss-follow-button-sq{
display:none;
}

/************************************
** 個別記事　基本設定
************************************/

main > article {
    background: #fff;
    padding:12px;
}

.entry-content {
    padding:1em;
    margin: 1em auto 3em auto;
}

header .article-header{
    box-shadow:none;
    position:relative;
}



/* article-headerの表示順設定 */
.article-header{
display:flex;
flex-flow: column;
}

.entry-title{order:1;}
.date-tags{order:2;}
.eye-catch-wrap{order:3;}
.sns-share{order:5;}
.widget-below-single-content-title{order:6;}


.article-header h1 {
    position: absolute;
    z-index: 1;
    top:90px;
    left:60px;
    margin-right:18px;
    font-size:1.5em;
    color: #545454;
    text-shadow: 2px 2px 5px whitesmoke;
}

.article-header.category-header h1,
.article-header.tag-header h1{
    position: static;
}

.review-rating .rating-star{
    background-color: transparent;
    width: auto;
    position: absolute;
    z-index: 1;
    right: 0;
}
/************************************
****　本文記事タイトル　h1
************************************/
header.article-header.entry-header {
/*text-align:center;*/
margin-bottom: 3em;
}
.article-header h1 {
position: static;
font-size: 1.4em;
color: #333333;
background-color:#fff;
line-height:1.8em;
text-shadow: none;
margin:0;
padding: 1.5em 12px 1.1em;
}

.eye-catch{
  /* box-shadow: 0px 3px 7px 0 rgba(0,0,0,.2); */
	
  margin-left: 12px;
  margin-right: 12px;
  max-width: none;
  width: auto;
}
.eye-catch img{
height:auto!important;
-webkit-filter:none;
filter:none;
opacity:1;
transform: none;
}

/* アイキャッチ画像のキャプションを画像の下に配置 */
figcaption {
  color: #666666;
}

.eye-catch-caption {
	color: #666666;
    position: relative;
    bottom: 0;
    padding: 2px 0.0 0;
    text-align: left;
    width: 100%;
    font-size: 10px;
    background: #fff;
}

.eye-catch-caption a {
    color: #666666;
    text-decoration: none;
}

.wp-element-caption {
    color: #666666;
    position: relative;
    bottom: 0;
    padding: 2px 0.0 0;
    text-align: left;
    width: 100%;
    font-size: 10px;
    background: #fff;
}

.wp-element-caption a {
    color: #666666;
    text-decoration: none;
}


a.cat-link, a.tag-link{
font-size:.7em;
border-radius:10px;
border:0;
margin:0.5em;
padding:0 0.5em 0;
background:#33cccc!important;/*タグ色の変更はこちら*/
color:#fff!important;
}
.cat-link:hover ,.tag-link:hover {
opacity: .5;
transition: all .3s ease-in-out;
}
.entry-categories-tags {
margin-bottom: 0.4em;
}

/* 投稿日・更新日表示 */

.date-tags{
font-size:1.2em;
color:#7b7b7b;
top:5px;
right:0;
left: 0;
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
justify-content: center;
}

div.date-tags span.post-update{
order: 1;
}
span.fas.fa-history::before{
content:"\f2f1"
}
div.date-tags span.post-update,div.date-tags span.post-date{
margin-right: 10px;
}
@media (max-width:1023px){
.entry-categories-tags.ctdt-one-row {
padding: 0;
}
}
@media (max-width:420px){
.article-header h1 {
font-size: 1.2em;
}
.date-tags{
top:3px;
}
}
@media (max-width:834px){
main.main, div.sidebar {
padding:0;
}}
@media screen and (min-width: 601px) and (max-width: 834px){
div#content.content.cf{
margin:1em;
}}
@media screen and (max-width: 600px){
.content {
margin-top: 0px;
}}


.widget-below-single-content-title {
	text-align: center;
	background-color: #ffffff;
	padding-top: 3px;
	padding-bottom: 3px;
    margin-left: 12px;
    margin-right: 12px;
	margin-bottom: 0;
}

/* [PR]の文字列設定 */
#text-2 {
	background-color: #eeeeee;
	color: #888888;
	font-size: 11px;
}

/* 記事冒頭の広告用設定 */
#custom_html-4 {
	padding-top: 5px;
}


/* headerとリード文の余白調節 */
.widget.widget-below-single-content-title.widget_text {	
	margin-bottom: 0;
}

/************************************
****　目次
************************************/

.toc {
	border:2px solid #33cccc;
}

.toc-title{
font-size:20px;
font-weight:normal;
}
.toc-title::after {
font-size:14px;
color:#337ab7;
}
.toc-list > li a {
font-size: 17px;
font-weight: normal;
display:block;
margin-top:10px;
margin-left: 10px;
}
.toc-list > li a::before {
font-family: "Font Awesome 5 Free";
content : "\f138";
font-weight: bold;	
margin-right: 7px;
color: #ffcccc;
}
.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: #ffcccc;
position: relative;
margin-bottom: 2px;
}

@media (max-width:880px){
.toc-list > li a {
margin-left: -10px;
}
.toc-list > li li a {
  margin-left: -10px;
}
.toc-list > li li a::before {
left: 0px;
margin-bottom:1px;
}
}


.toc a:hover {
color: #333333;
text-decoration: none;
}



/************************************
****　SNSシェアボタン（全体設定)
************************************/


.sns-share{
margin: 0 0 0px;
}

.ss-top .sns-buttons {
margin: 0 0 4px;
}

.sns-share-message:before, .sns-follow-message:before, span.related-entry-main-heading.main-caption:before, .comment-title:before {
letter-spacing:.3em;
border-radius:20px;
border: 0;
padding: 0;
background-color:#3f5569;
color:#fff;
display: inline-block;
width: 40%;
}
.sns-share-message, .sns-follow-message, span.related-entry-main-heading.main-caption, .comment-title {
margin:20px 0 10px 0;
}
.sns-share.ss-high-and-low-lc a .button-caption.button-caption{
display:none;
}
.sns-share-buttons {
padding-right:10%;
padding-left:10%;	
}
.sns-share-buttons a {		
transition:0.5s;
}
.sns-share.ss-top.ss-col-6 a, .sns-share.ss-bottom.ss-col-6 a {
width: 13%;
}
.sns-share.ss-high-and-low-lc a .social-icon{
font-size: 25px;
}
@media (max-width:480px){
.sns-share-message:before, .sns-follow-message:before, span.related-entry-main-heading.main-caption:before, .comment-title:before {
width: 55%;
}
.sns-share-buttons {
padding-right:5%;
padding-left:5%;
}
.sns-share.ss-top.ss-col-3 a, .sns-share.ss-bottom.ss-col-3 a {
width: 15%;
}
.sns-share.ss-high-and-low-lc a .social-icon{
font-size: 20px;
}
}

/************************************
** SNSトップシェアボタンをシンプルにする
************************************/

/*枠組み*/
.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: none; /*線*/
}

/*アイコン*/
.sns-share.ss-top .sns-buttons a .social-icon {
	font-size: 20px; /*アイコンの大きさ*/
}

/*キャプション*/
.sns-share.ss-top .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*シェア数*/
.sns-share.ss-top .sns-buttons a .share-count {
	right: 0; /*右側からの距離*/
	bottom: -10px; /*下側からの距離*/
	left: 0; /*左側からの距離*/
	font-size: 10px; /*文字の大きさ*/
	color: #333; /*文字の色*/
}

/*アイコンをまとめて指定*/
.sns-share.ss-top [class*="-button"] {
	background-color: inherit; /*背景の色*/
}


/* トップシェアボタンのアイコン
-----------------------------------*/

/*Xアイコン*/
.sns-share.ss-top .sns-buttons .icon-x-corp:before {
	color: #000000; /*アイコンの色*/
}

/*Facebookアイコン*/
.sns-share.ss-top .sns-buttons .icon-facebook:before {
	color: #3b5998; /*アイコンの色*/
}

/*はてブアイコン*/
.sns-share.ss-top .sns-buttons .icon-hatena:before {
	color: #2c6ebd; /*アイコンの色*/
}

/*Pocketアイコン*/
.sns-share.ss-top .sns-buttons .icon-pocket:before {
	color: #ef4056; /*アイコンの色*/
}

/*LINEアイコン*/
.sns-share.ss-top .sns-buttons .icon-line:before {
	color: #00c300; /*アイコンの色*/
}

/*Pinterestアイコン*/
.sns-share.ss-top .sns-buttons .icon-pinterest:before {
	color: #bd081c; /*アイコンの色*/
}

/*LinkedInアイコン*/
.sns-share.ss-top .sns-buttons .icon-linkedin:before {
	color: #0077b5; /*アイコンの色*/
}

/*コピーアイコン*/
.sns-share.ss-top .sns-buttons .icon-copy:before {
	color: #333; /*アイコンの色*/
}

/*コメントアイコン*/
.sns-share.ss-top .sns-buttons .icon-comment:before {
	color: #333; /*アイコンの色*/
}


/* ボタンカラーがモノクロの場合
-----------------------------------*/

/*アイコンをまとめて指定*/
.sns-share.bc-monochrome.ss-top [class*="icon-"]:before {
	color: #333; /*アイコンの色*/
}


/* ボトムシェアボタンのキャプションを非表示 */

.sns-share.ss-high-and-low-lc a .button-caption.button-caption{
display:none;
}


/************************************
****　SNSフォローボタン（TOP画面)
************************************/

.top-follow-buttons {
  display: flex;
  justify-content: center;
}


.top-follow-buttons a {
   border-radius: 50%;

	width: 40px;
	height: 40px;
	margin-right: 4px;
	margin-left: 4px;

	text-decoration: none;
}


.sns-follow-buttons .x-corp-follow-button-sq {
	width: 60px;
}

.top-x-follow-button .icon-x-corp:before {
	color: #000000; /*アイコンの色*/
	font-size: 28px; /*アイコンの大きさ*/
}

.top-pinterest-follow-button .icon-pinterest:before {
	color: #bd081c; /*アイコンの色*/
	font-size: 28px; /*アイコンの大きさ*/
}

