﻿/*
ここに独自の CSS を追加することができます。

詳しくは上のヘルプアイコンをクリックしてください。
*/


#toc_container { 
  margin-left: auto; 	
  margin-right: auto; 	
}

.page-page {
width: 100%;
text-align: center;
margin: 50px 0 60px;
}
 
.page-page span {
padding: 7px 10px;
margin: 20px 2px;
font-size: 12px;
background: #fff;
position: relative;
box-shadow: 0 0 1px 2px #d2691e inset;
}
 
.page-page span:before {
content:"NOW";
position: absolute;
top: -120%;
left: 0; /*追加しました*/
width: 100%;
display: block;
text-align: center;
background: #d2691e;
padding: 2px 0;
border-radius: 7px;
color: #fff;
font-size: 12px;
font-weight: bold;
}
 
.page-page span:after {
content:"";
top: -50%;
border: 8px solid transparent;
border-top-color: #800000;
position: absolute;
left: 50%;
margin-left: -8px;
border: ;
}
 
.page-page a {
text-decoration: none;
}
 
.page-page a span {
background: #d2691e;
color: #000;
padding: 7px 10px;
margin: 20px 2px;
color: #fff;
box-shadow: none;
font-weight: bold;
}
 
.page-page a span:before {
content:"";
padding: 0;
}
 
.page-page a span:after {
border: none;
}
 
/* 追加しました */
.page-page span {
opacity : 0.8;
}



/* 関連記事の調整 */

.related-entry-thumbnail {
	position: relative;
} 

.related-entry-title {
	border-bottom: 2px solid #d8a373;
	text-align: left;
}

.related-entry-title a {
	color: #ba0000;
	font-size: 16px;
}





/* 上段部分 */
.next-page-link {
  width:100%;
  margin: 40px 0 10px 0;
  text-align:center;
  border-radius:30px;
  background: #6c3524;
}
.next-page-link a {
  display:block;
  margin:5px 0;
  color: #fff;
  text-decoration:none;
}
.next-page-link:hover {
  background: #6a1917	;
}




/*--------------------------------------
  ヨメレバ・カエレバ　１
--------------------------------------*/
.booklink-box, .kaerebalink-box {
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 1px 1px 3px 1px #ddd;
	padding: 10px 15px;
}

.booklink-image, .kaerebalink-image {
	margin: 0 0 15px;
}

.booklink-image img, .kaerebalink-image img {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.booklink-info, .kaerebalink-info {
	text-align: center;
	line-height: 120%;
	overflow: hidden;
}

.booklink-name, .kaerebalink-name {
	font-size: 16px;
	margin-bottom: 14px;
	line-height: 1.2em;
}

.booklink-powered-date, .kaerebalink-powered-date {
	font-size: 8pt;
	line-height: 120%;
}

.booklink-powered-detail, .kaerebalink-detail {
	margin-bottom: 15px;
}

.booklink-link2, .kaerebalink-link1 {
	margin-top: 20px;
}

.kaerebalink-link1 div, .booklink-link2 div {
  float: left;
  width: 45%;
  margin-bottom: 1%;
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
}

.shoplinkamazon {
	width: 90%;
	height: 15px;
	overflow: hidden;
	background-color: #ff9901;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	margin: 0 auto 5px;
	padding: 10px 0;
	text-align: center;
}

.shoplinkrakuten {
	width: 90%;
	height: 15px;
	overflow: hidden;
	background-color: #c20004;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	margin: 0 auto 5px;
	padding: 10px 0;
	text-align: center;
}

.shoplinkyahoo {
	width: 90%;
	height: 15px;
	overflow: hidden;
	background-color: #800000;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	margin: 0 auto 5px;
	padding: 10px 0;
	text-align: center;
}

.shoplinkamazon:hover {
	background-color: #f5deb3;
}

.shoplinkrakuten:hover {
	background-color: #f5deb3;
}

.shoplinkyahoo:hover {
	background-color: #f5deb3;
}

.shoplinkamazon:active, .shoplinkrakuten:active, .shoplinkyahoo:active {
	position: relative;
	top: 1px;
}

.shoplinkamazon a, .shoplinkrakuten a, .shoplinkyahoo a {
	display: block;
	cursor: pointer;
	text-decoration: none;
	font-weight: 800;
	font-size: 12px;
}

.shoplinkamazon a {
	color: #fffacd;
}

.shoplinkrakuten a {
	color: #fffacd;
}


.shoplinkyahoo a {
	color: #fffacd;
}


.booklink-footer {
	clear: left;
}

/*--------------------------------------
 ヨメレバ・カエレバ　２
--------------------------------------*/
.booklink-box, .kaerebalink-box {
	width: 80%;
	margin: 20px auto;
	padding: 20px;
}

.booklink-image, .kaerebalink-image {
	margin: 0 15px 0 0;
	float: left;
}

.booklink-info, .kaerebalink-info {
	margin: 0;
	text-align: left;
}

.booklink-name, .kaerebalink-name {
	margin-bottom: 24px;
	line-height: 1.5;
}

.booklink-link2, .kaerebalink-link1 {
	margin-top: 10px;
}

.shoplinkamazon, .shoplinkrakuten, .shoplinkkindle, .shoplinkyahoo, .shoplinkseven {
	float: left;
	width: 30%;
	margin: 15px 1% 0 auto;
	padding: 10px 0;
}

.shoplinkyahoo a {
	font-size: 10px;
}

/*--------------------------------------
  ヨメレバ・カエレバ　３
--------------------------------------*/
@media only screen and (max-width: 480px) {
	.booklink-box, .kaerebalink-box {
		border: 1px solid #ccc;
		border-radius: 4px;
		padding: 10px 15px;
	}
	
	.booklink-image, .kaerebalink-image {
		margin: 0 0 10px;
		float: none;
	}
	
	.booklink-image img, .kaerebalink-image img {
		margin: 0 auto;
	}
	
	.booklink-info, .kaerebalink-info {
		font-size: 12px;
		margin: 0;
	}
	
	.booklink-name, .kaerebalink-name {
		font-size: 15px;
		margin-top: 2px;
	}
	
	.booklink-detail, .kaerebalink-detail {
		margin-top: 5px;
	}
	
	.booklink-powered-date, .kaerebalink-powered-date {
		font-size: 11px;
		margin-top: 5px;
	}
	
	.booklink-link2, .kaerebalink-link1 {
		font-size: 14px;
	}

.kaerebalink-link1 div, .booklink-link2 div {
  float: left;
  width: 96%;
  margin-bottom: 1%;
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
}
	
	.shoplinkamazon, .shoplinkrakuten, .shoplinkyahoo {
		float: none;
		width: 96%;
		margin: 5px 0;
		padding: 10px 0;
	}
}
