/*
カスタム CSS 機能へようこそ。

使い方についてはこちらをご覧ください
(英語ドキュメンテーション)。http://wp.me/PEmnE-Bt
*/
/*--------------------------------------
  ヨメレバ・カエレバ（レスポンシブ）
--------------------------------------*/
.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: .6;
}

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

/*ボタンを変えるときはここから*/
.shoplinkamazon a {
	background-color: #FF9901 !important;
}

.shoplinkrakuten a {
	background-color: #c20004 !important;
}

.shoplinkkindle a {
	background-color: #007dcd !important;
}

.shoplinkkakakucom a {
	background-color: #314995 !important;
}

.shoplinkyahoo a {
	background-color: #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 0;
		padding: 10px 0;
	}
}


/*--------------------------------------
  TOC+
--------------------------------------*/
#toc_container {
	display: block !important;
	width: 80% !important;
	background: #fff;
	border: 1px solid #ccc;
	font-size: 95%;
	box-sizing: border-box;
	line-height: 1.4;
	margin: 36px auto;
	padding: 1em 2em;
}
 
#toc_container .toc_title {
	text-align: center;
	background: #eee;
	border-bottom: 2px solid #ddd;
	padding: 0.4em 0;
}
 
#toc_container ul {
    list-style: none;
    margin-bottom: 0;
}
 
#toc_container ul li {
    margin: 0;
    padding-left: 0;
    text-indent: 0;
}
 
#toc_container ul a {
	display: block;
	text-decoration: none;
	color: #444;
	border-bottom: 1px dotted #ccc;
}
 
#toc_container .toc_list > li > a {
	border-bottom: 2px solid #ccc;
	font-size: 110%;
}
 
#toc_container ul ul {
	padding: 1em 0 1em 1em;
}
 
#toc_container li {
	margin-bottom: 0.8em;
	padding-bottom: 0.2em;
}