@charset "utf-8";

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ページごとスタイル
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.reviews-cont {
	background: url(images/reviews-bg.jpg) no-repeat top right #f2eede;
	padding: 40px 0;
}
.reviews-tit {
	padding: 0 0 0 12px;
}
.reviews #container-wrapper {
	max-width: 1052px;
	width: 100%;
}

.reviews #container-bottom {
	background: url(images/reviews-cont_bg_bottom.png) 0 bottom no-repeat;
	max-width: 958px;
	width: 100%;
}
.reviews-cont ul {
	padding: 0 40px;
	margin-top: -72px;
	position: relative;
	z-index: 1;
	clear: both;
	text-align: center;
}
.reviews-cont ul:after {
	content: "";
	display: block;
	clear: both;
}
.reviews-cont .pink {
	border: 5px solid #eb7374; 
}
.reviews-cont .green {
	border: 5px solid #7ac06b; 
}
.reviews-cont .blue {
	border: 5px solid #5c93c9; 
}
.reviews-cont li:nth-child(1),
.reviews-cont li:nth-child(8) {
	max-width: 560px;
	width: 64.5%;
}
.reviews-cont li:nth-child(n+2):nth-child(-n+7),
.reviews-cont li:nth-child(n+9):nth-child(-n+12) {
	max-width: 260px;
	width: 29.9%;
}
.reviews-cont li {
	transition-duration: .6s;
	-moz-transition-duration: .6s;
	-webkit-transition-duration: .6s;
	float: left;
}
.reviews-cont li a {
	display: block;
	position: relative;
}
.reviews-cont li a img {
	width: 100%;
	height: auto;
}
.reviews-cont li a:hover:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.reviews-cont li.pink a:hover:before {
	background: url(images/reviews-pink-txt.png) no-repeat center rgba(235,115,116,0.55); 
}
.reviews-cont li.green a:hover:before {
	background: url(images/reviews-green-txt.png) no-repeat center rgba(122,192,107,0.55); 
}
.reviews-cont li.blue a:hover:before {
	background: url(images/reviews-blue-txt.png) no-repeat center rgba(92,147,201,0.55); 
}
.reviews-cont li a:after {
	content: "";
	position: absolute;
	width: 51px;
	height: 51px;
	bottom: 10px;
	right: 10px;
}
.reviews-cont .pink a:after {
	background: url(images/reviews-pink-icon.png) no-repeat; 
}
.reviews-cont .green a:after {
	background: url(images/reviews-green-icon.png) no-repeat; 
}
.reviews-cont .blue a:after {
	background: url(images/reviews-blue-icon.png) no-repeat; 
}

#cboxOverlay {
	background: #000; 
	opacity: 0.6 !important;
	filter: alpha(opacity = 60);
}
#colorbox {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	bottom: 45px !important;
	right: 0 !important;
	margin: auto;
}
.cboxPhoto {
    border: 11px solid #fff;
    box-sizing: border-box;
    max-height: 700px !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}
#cboxWrapper {
	max-height: 54vw !important;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
}
#cboxTitle {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    line-height: 19px;
    background: #fff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px dashed #000;
}
#cboxClose {
	position: absolute;
	top: -62px;
	right: -11px;
	display: block;
	width: 131px;
	height: 37px;
	cursor: pointer;
	overflow: hidden;
	background: url(images/close_btn.png) no-repeat;
	border: none;
	font-size: 0;
}
#cboxLoadedContent {
	padding: 0;
}
#cboxClose:hover {
	 background-position: 0;
	 opacity: 0.6 !important;
	 filter: alpha(opacity = 60);
}
#cboxNext, #cboxPrevious {
	display: none !important;
}
/*#cboxNext {
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
#cboxPrevious {
	transform: rotate(225deg);
	-moz-transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
}*/

.wp-pagenavi {
	position: relative;
	margin: 50px auto 0;
	text-align: center;
	border-bottom: none;
	font-weight: bold;
}
.wp-pagenavi a, 
.wp-pagenavi span.current {
	display: inline-block;
	width: 41px;
	height: 41px;
	line-height: 41px;
	margin: 0 5px;
	color: #000;
	opacity: 1 !important;
	filter: alpha(opacity=100);
	transition: .2s;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: 19px;
	text-decoration: none;
	background: #016431;
	color: #fff;
	cursor: pointer;
}
.wp-pagenavi span.current {
	background: #a60c0c;
	color: #fff;
	cursor: auto;
}
.wp-pagenavi a:hover {
	background: #a60c0c;
	color: #fff;
}
.wp-pagenavi .nextpostslink, 
.wp-pagenavi .previouspostslink {
	width: 171px
}
.sp {
	display: none;
}
@media (min-width:769px) {
	.reviews-cont li:nth-child(n+3) {
		margin-top: 3.4%;
	}
	.reviews-cont li:nth-child(4),
	.reviews-cont li:nth-child(7),
	.reviews-cont li:nth-child(10) {
		clear: both;
	}
	.reviews-cont li:nth-child(8) {
		float: right;
	}
	.reviews-cont li:nth-child(2),
	.reviews-cont li:nth-child(3),
	.reviews-cont li:nth-child(5), 
	.reviews-cont li:nth-child(6),
	.reviews-cont li:nth-child(8),
	.reviews-cont li:nth-child(11),
	.reviews-cont li:nth-child(12) {
		margin-left: calc(5.6% - 20px);
	}
}

@media (max-width:768px) {
	.sp {
		display: block;
	}
	.pc {
		display: none;
	}
	.reviews #container-wrapper {
		margin: 0; 
	}
	.reviews-cont ul {
	    padding: 0 25px;
	    margin-top: -12%;
	}
	.reviews-tit {
	    padding: 0;
	}
	.reviews #container {
		padding: 0;
		background: none; 
	}
	#header-inner-sp {
		background: url(images/reviews-sp-bg01.png) no-repeat; 
		background-size: 100%;
		height: 21vw;
	}
	#header-inner-sp:after {
		content: "";
		display: block;
		clear: both;
	}
	#header-inner-sp h1 {
		width: 30%;
		padding: 3% 0 0 3%;
		float: left;
	}
	#header-inner-sp h1 img,
	.return-dybooks img,
	.reviews-tit img  {
		width: 100%;
	}
	.return-dybooks {
		width: 20%;
		float: right;
		padding: 3% 3% 0 0;
	}
	.reviews-cont {
	    padding: 24% 0 40px;
	    background-size: 65%;
	    background-position: 110% 16vw;
	}
	.reviews-tit {
		width: 81.5%;
	}
	.reviews-cont li {
		border-width: 2px !important;
		float: none;
		max-width: 100% !important;
		width: 100% !important;
	}
	.reviews-cont li + li {
		margin-top: 15px;
	}
	.reviews-cont li a:after {
	    width: 48px;
	    height: 48px;
	    bottom: 12px;
	    right: 12px;
	    background-size: 100% !important;
	}
	.wp-pagenavi span.current,
	.wp-pagenavi .page {
		display: none;
	}
	.wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {
	    width: 130px;
	    font-size: 15px;
	}
	.reviews #container-bottom {
		background: none;
		padding-bottom: 0;
	}
	.reviews #all-footer {
		height: auto;
		background: none;
		margin-top: 0;
		width: 100%;
	}
	.reviews .wp-pagenavi {
	    margin: 15px auto 0;
	}
	body.reviews {
		background: none;
	}
	.reviews #sp-foot li {
		width: 33%;
		float: left;
	}
	.reviews #sp-foot li img {
		width: 100%;
		height: auto;
	}
	.reviews #sp-foot ol {
		padding: 0 15px 11px;
	}
	.reviews #sp-foot .copy {
		background: #006732;
		text-align: center;
		height: 37px;
		line-height: 40px;
	}
	.reviews #sp-foot .copy img {
		width: 283px;
	}
	.reviews .sp-foot-tit {
		background: #c9931a;
		text-align: center;
		border-radius: 13px;
		height: 25px;
		line-height: 30px;
		margin: 12px 15px 5px; 
	}
	.reviews .sp-foot-tit img {
		width: 107px;
		height: auto;
	}
	.cboxPhoto,#cboxLoadedContent,#cboxContent,#cboxMiddleLeft,#cboxWrapper {
		width: 100% !important;
		height: auto !important;
	}
	#cboxTitle {
	    font-size: 13px;
	    line-height: 17px;
	}
	#colorbox {
		width: 89% !important;
		height: 87vh !important;
		bottom: 0 !important;
	}
	.cboxPhoto {
	    border: 5px solid #fff;
	}
	#cboxClose {
		width: 65px;
		height: 19px;
		background-size: 100%;
		top: -23px;
		right: -5px;
	}
}