@charset "UTF-8";
/* CSS Document */


/****************************************************************************************************
客室専用
****************************************************************************************************/

.subPageBox {
	padding: 90px 0;
}
.expBox {
	padding: 70px 0 0 0;
}
.subTitle {
}
#contents .subPageBox p {
	color: #FFF;
}

.wpPagenavi {
	font-size: 13px;
	line-height: 2;
	text-align: center;
}

.wpPagenavi span {
	display: inline-block;
	padding: 0 10px;
}
.pagePrev {
	float: left;
}

.pageNext {
	float: right;
}

.wpPagenavi a {
	text-decoration: none;
}

#photoBlock {
	padding: 35px 0;
	width: 1026px;
}
.photoBox {
	float: left;
	width: 240px;
	height: 240px;
	overflow: hidden;
	display:table-cell;
	text-align: center;
}
/*.photoBox + .photoBox*/
.photoBox {
	margin-left: 13px;
}
/*.photoBox:nth-child(4n+1) {
	margin-left: 0;
}*/
.photoBox:nth-child(n+5) {
	margin-top: 13px;
}
.selected {
	opacity: 0.5;
}

.img-H {
	height: 240px;
	margin-left: -65px;
}
.img-W {
	width: 240px;
}

@media screen and (max-width: 750px) {
	.subPageBox {
		width: 100%;
		padding: 10% 5%;
	}
	#photoBlock {
		padding: 0;
		width: 100%;
	}
	.photoBox {
		margin-left: 0;
	}
	.photoBox + .photoBox {
		margin-left: 4%;
	}
	.photoBox:nth-child(4n+1) {
		margin-left: 0;
	}
	.photoBox:nth-child(n+5) {
		margin-top: 4%;
	}
	.photoBox {
		width: 22%;
		height: auto;
	}
	.photoBox img {
		width: auto;
		height: auto;
	}
	
	.photoBox img.img-H {
		height: 100%;
		margin-left: 0;
	}
	.photoBox img.img-W {
		width: 100%;
	}
}