/*------------------------------------------------------*/
/* 広告
/*------------------------------------------------------*/

.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 {
	display: inline-block;
	width: 30%;
	margin: 5px 2px 0 0;
	padding: 10px 1px;
	text-align: center;
	text-decoration: none;
	font-weight: 800;
	text-shadow: 1px 1px 1px #dcdcdc;
	font-size: 12px;
	color: #fff !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.booklink-link2 a:hover,
.kaerebalink-link1 a:hover {
	opacity: 0.75;
}

.booklink-link2 a:active
.kaerebalink-link1 a:active {
	position: relative;
	top: 1px;
}

.shoplinkyahoo img {
	display: none;
}

.shoplinkamazon img {
	display: none;
}

.shoplinkrakuten img {
	display: none;
}

.shoplinkkindle img {
	display: none;
}

.shoplinkkakakucom img {
	display: none;
}

.booklink-footer {
	display: none;
}

/*ボタンを変えるときはここから*/
.shoplinkamazon a {
	color: #fff; /*color:#FF9901 !important;*/
	border: 1px solid #ff9901;
	background-color: #ff9901;
}
.shoplinkrakuten a {
	color: #fff;/*color:#c20004 !important;*/
	border: 1px solid #c20004;
	background-color: #c20004;
}
.shoplinkkindle a {
	color: #007dcd !important;
	border: 1px solid #007dcd !important;
}
.shoplinkkakakucom a {
	color: #314995 !important;
	border: 1px solid #314995;
}
.shoplinkyahoo a {
	font-size: 10px;
	color: #7b0099 !important;
	border: 1px solid #7b0099 !important;
}

p.amazon {
	width: 80px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #ccbb00;
	border-radius: 6px;
	margin: 1px 0 1px 0;
}

p.rakuten {
	width: 80px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #cc0033;
	border-radius: 6px;
}

/* PC */
@media (min-width: 1200px) {
	.ad-sp {
		display: none;
	}

	p.rakuten {
		margin: 1px 0 0 0;
	}
}

/* SP */
@media (min-width: 320px) and (max-width: 1199.98px) {
	.ad {
		display: none;
	}

	.kaereba {
		max-width: 100%;
		padding: 5px 5px 0 0;
		margin-left: auto;
		margin-right: auto;
		border: 1px solid #444;
		border-radius: 10px;
	}	

	p.rakuten {
		margin: 1px 0 1px 0;
	}
}