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

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



.related-entry-card-thumb {
	padding-top: 160px;
	position: relative;
	overflow: hidden;
}
.related-entry-card-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.pager-post-navi a figure {
	padding-top: 120px;
	position: relative;
	overflow: hidden;
}
.pager-post-navi a figure img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sns-share-buttons a .button-caption {
	padding-right: 10px;
}



/*===============================================
     投稿テンプレート アフィリエイトボタン
===============================================*/

.btn_rakuten,
.btn_amazon,
.btn_official {
	box-shadow: 0px 3px 3px 0px #aaa;
	font-weight: bold;
	transition: all 0.2s ease;
}

.btn_rakuten:hover,
.btn_amazon:hover,
.btn_official:hover {
	transform: translateY(2px);
	box-shadow: 0px 1px 1px 0px #aaa;
}



.btn_official {
	width: 70%;
	height: 60px;
	line-height: 60px;
	text-align: center;
	border-radius: 10px;
	margin: 10px;
	font-size: 22px;
	color: #fff;
	
	border: 3px solid #ee7800;
	background-color: #ee7800;
}
.btn_official a {
	display: inline-block;
	width: 100%;
	height: 60px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
}

.btn_rakuten {
	display: inline-block;
	width: 240px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 30px;
	margin: 10px;
	font-size: 20px;
	
	border: 3px solid #bf0000;
	background-color: #bf0000;
	color: #fff;
}
.btn_rakuten a {
	display: inline-block;
	color: #fff;
	width: 240px;
	height: 40px;
	border-radius: 30px;
	text-decoration: none;
}
		
.btn_amazon {
	display: inline-block;
	width: 240px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 30px;
	margin: 10px;
	font-size: 20px;
	border: 3px solid #ff9900;
	background-color: #fff;
	color: #ff9900;
}
.btn_amazon a {
	display: inline-block;
	color: #000;
	width: 240px;
	height: 40px;
	border-radius: 30px;
	text-decoration: none;
}
	




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

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

/*480px以下*/
@media screen and (max-width: 480px){

.related-entry-card-thumb {
	padding-top: 38%;
}

.pager-post-navi a figure {
	padding-top: 20%;
}


}
