@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

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

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

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

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

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

/*ビデオのサイズ*/

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
  
.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*ビデオのサイズここまで*/

/*--------------------------------------
  ヨメレバ・カエレバ（レスポンシブ）
--------------------------------------*/
.booklink-box, .kaerebalink-box{
    padding:25px;
    margin-bottom: 10px;
    border:double #CCC;
    overflow: hidden;
    font-size:small;
}
.booklink-image, .kaerebalink-image{
    margin:0 15px 0 0;
    float:left;
    min-width: 160px;
    text-align: center;
}
.booklink-image img, .kaerebalink-image img{
    margin:0 auto;
    text-align:center;
}
.booklink-info, .kaerebalink-info{
    margin:0;
    line-height:120%;
    overflow: hidden;
}
.booklink-name, .kaerebalink-name{
    margin-bottom:24px;
    line-height:1.5em;
}
.booklink-powered-date, .kaerebalink-powered-date{
     font-size:8px;
     margin-top:10px;
     font-family:verdana;
     line-height:120%;
}
.booklink-detail, .kaerebalink-detail{font-size: 12px;}
.booklink-powered-date, .kaerebalink-detail{margin-bottom:15px;}
.booklink-link2, .kaerebalink-link1{margin-top:10px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:30%;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    display:inline-block;
    margin:5px 2px 0 0;
    padding:10px 1px;
    text-align:center;
    float:left;
    text-decoration:none;
    font-weight:800;
    text-shadow:1px 1px 1px #dcdcdc;
    font-size:12px;
    color: #fff !important;
}
.booklink-link2 a:hover,
.kaerebalink-link1 a:hover{opacity: 0.6;}
.booklink-link2 a:active
.kaerebalink-link1 a:active{
    position:relative;
    top:1px;
}
/*ボタンを変えるときはここから*/
.shoplinkamazon a{color:#FF9901 !important;border: 1px solid #FF9901 !important;}
.shoplinkrakuten a{color:#c20004 !important;border: 1px solid #c20004 !important;}
.shoplinkkindle a{color:#007dcd !important;border: 1px solid #007dcd !important;}
.shoplinkkakakucom a{color:#314995 !important;border: 1px solid #314995;}
.shoplinkyahoo a{color:#7b0099 !important;border: 1px solid #7b0099 !important;}
/*ここまでを変更*/
.shoplinkyahoo img{display:none;}
.shoplinkyahoo a{font-size:10px;}
.booklink-footer{display: none;}

@media screen and (max-width: 680px) {
.booklink-box, .kaerebalink-box{padding:15px;}
.booklink-image, .kaerebalink-image{
    width: 100px !important;
    min-width: initial;
}
.booklink-name > a, .kaerebalink-name > a{
    font-size: 15px;
    font-weight: bold;
}
.booklink-name, .kaerebalink-name{margin-bottom:12px;}
.booklink-powered-date, .kaerebalink-powered-date{margin-top:5px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:calc(100% - 4px);
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    margin: 2px 0px;
    padding:10px 0px;
}
}

/*自作アフィリンク*/
/*boxの枠線のデザイン、幅など*/

#affili-box{
	border: 1px solid #b7b7b7;
	display: flex;
	width: 100%;
	margin-bottom: 20px;
	vertical-align : middle; 
}

/*1.イメージ画像の余白、、サイズ指定、上下中心など*/

.afi-image {
	padding: 30px 20px 0;
	margin: auto 0;
	max-width: 200px;
	height: auto;
}

/*アフィリリンクのイメージ画像の最大サイズ指定*/

.afi-image a img{
	max-width: 200px;
	height: auto;
	padding-right: 5px;
}

/*右側（説明、ボタン）の余白、幅*/

#afi-info{
	padding: 20px 20px 0;
	width: 80%;
}

/*本タイトルリンク(2)と説明(3)の間の余白*/

.afi-detail{
	margin-top: 5px;
}

/*ボタン、上の余白*/

#link-button{
	display: flex;
	margin-top: 20px;
}

/*ボタンの文字の装飾*/

#link-button a{
	font-size: 15px;
	color: white;
	font-weight: bold;
	font-family: arial;
	text-decoration: none;
	display: block;
}

/*それぞれのボタンの装飾*/

.acite-btn{
	background-color: #ffd700;
	border-radius: 5px;
	text-align: center;
	margin-right: 5px;
	width: 30%;
	padding: 10px 0;
}

.bcite-btn{
	background-color: #ff4500;
	border-radius: 5px;
	text-align: center;
	margin-right: 5px;
	width: 30%;
	padding: 10px 0;
}

.ccite-btn{
	background-color: #1e90ff;
	border-radius: 5px;
	text-align: center;
	margin-right: 5px;
	width: 30%;
	padding: 10px 0;
}

/*１つボタンの時の装飾*/

.acite-onebtn{
	background-color: #ff8c00;
	border-radius: 5px;
	text-align: center;
	width: 100%;
	padding: 10px 0;
}

/*2つボタンの時の装飾*/

.acite-twobtn{
	background-color: #ff8c00;
	border-radius: 5px;
	text-align: center;
	margin-right: 5px;
	width: 50%;
	padding: 10px 0;
}

.bcite-twobtn{
	background-color: #dc143c;
	border-radius: 5px;
	text-align: center;
	margin-right: 5px;
	width: 50%;
	padding: 10px 0;
}

/*768pxになったら、ボタンが縦並びになる。ボタンの幅や余白など調整*/

@media screen and (max-width: 768px) {
	#link-button{
		display: block;
	}

　　	.acite-btn,.bcite-btn,.ccite-btn,.acite-twobtn,.bcite-twobtn{
		margin: 0 auto 5px;
		width: 80%;
	}
		.afi-image {
		padding: 10px 5px 0;
		max-width: 100%;
}
.afi-image a img{
	max-width: 100%;
}
}

/*自作アフィリンクここまで*/

/*オレンジボタンここから*/

.btn-orange {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 4px;
  color: #ffffff;
  background-image: linear-gradient(45deg, #FFC107 0%, #ff8b5f 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #c58668;
}

/*オレンジボタンここまで*/