/* topImgWrap */

.topImgWrap {
	width: 100%;
	background-repeat: no-repeat;
	background-position: 50% 0;
	-webkit-background-size: contain;
	background-size: contain;
	border-bottom: 6px solid #114956;
	margin-bottom: 25px;
}


/*contentsWrap*/

.contentsWrap {
	width: 100%;
}

.contentsWrap h2 {
	width: 100%;
	background-repeat: no-repeat;
	background-position: 50%;
	-webkit-background-size: contain;
	background-size: contain;
}


/* facility */

#facility h2 {
	background-image: url(../img/sisetsu/facility.png);
}

.contentsWrap>p.center {
	font-size: 20px;
	margin-bottom: 20px;
}

#facility .box1 img,
#facility .box2 img,
#facility .box3 img {
	max-width: 100%;
}

#facility .box2,
#facility .box3 {
	width: 50%;
}

#facility .box3 img {
	margin: 0 auto;
}


/* gallery */

#gallery .carousel {
	width: 100%;
}

#gallery .carousel .box {
	position: relative;
}

#gallery .carousel .box p {
	position: absolute;
	width: 100%;
	height: 1.5em;
	bottom: 5px;
	right: 5px;
	text-align: right;
	color: #FFF;
	text-shadow: 1px 1px 2px #000;
}


/* availability */

#availability .fxws {
	width: 100%;
}

#availability img {
	max-width: 100%;
}

/*360°*/

.img360 {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

.ricoh-theta-tour-image {
	margin: 0 auto;
}

.contentBox>h3 {
	height: auto;
}



/* PCの場合 */

@media screen and (min-width: 980px) {
	/* topImgWrap */
	.topImgWrap {
		height: 150px;
		background-image: url(../img/sisetsu/top.jpg);
	}
	/* contentsWrap */
	.contentsWrap .title {
		font-size: 40px;
		margin-bottom: 25px;
	}
	/* facility */
	#facility {
		margin-bottom: 90px;
	}
	#facility h2 {
		height: 50px;
	}
	#facility .box1 {
		width: 412px;
		margin-bottom: 25px;
	}
	#facility .text1 {
		width: 788px;
		padding: 15px 30px;
		font-size: 18px;
	}
	#facility .box2,
	#facility .box3 {
		margin-bottom: 25px;
	}
	/* gallery */
	#gallery {
		margin-bottom: 20px;
	}
	#gallery .carousel .box {
		width: 400px;
		margin-bottom: 50px;
	}
	#gallery .carousel .box img {
		max-width: 100%;
	}
	/* availability */
	#availability {
		margin-bottom: 150px;
	}
	#availability .box {
		width: 50%;
		margin-bottom: 25px;
	}
}


/* SPの場合 */

@media screen and (max-width: 980px) {
	/* topImgWrap */
	.topImgWrap {
		height: 22.5vw;
		background-image: url(../img/sisetsu/sp_top.png);
		-webkit-background-size: cover;
		background-size: cover;
	}
	/* contentsWrap */
	.contentsWrap>p.center {
		font-size: 14px;
	}
	.contentsWrap .title {
		font-size: 20px;
		padding-left: 10px;
		margin-bottom: 10px;
	}
	/* facility */
	#facility {
		margin-bottom: 25px;
	}
	#facility .box1 {
		width: 65%;
		margin: 0 auto 10px;
	}
	#facility .text1 {
		width: 100%;
		padding: 10px;
		font-size: 14px;
	}
	#facility .box2 {
		width: 80%;
		margin: 0 auto 20px;
	}
	#facility .box3:first-child {
		width: 60%;
	}
	#facility .box3:last-child {
		width: 40%;
	}
	/* gallery */
	#gallery {
		margin-bottom: 25px;
	}
	#gallery .carousel .box img {
		max-width: 100%;
		margin: 0 auto;
	}
	.prev,
	.next {
		z-index: 500;
		position: absolute;
		font-size: 80px;
		top: 50%;
		margin-top: -40px;
		color: rgba(51, 51, 51, .8);
	}
	prev {
		left: 0;
	}
	.next {
		right: 0;
	}
	/* availability */
	#availability {
		margin-bottom: 40px;
	}
	#availability .box {
		width: 80%;
		margin: 0 auto 25px;
	}
}


/* 縦長の場合 */

@media only screen and (max-width: 980px) and (orientation: portrait) {
	/* contentsWrap */
	#facility h2 {
		height: 6vh;
	}
}


/* 横長の場合 */

@media only screen and (max-width: 980px) and (orientation: landscape) {
	/* contentsWrap */
	#facility h2 {
		height: 12vh;
	}
	#gallery .carousel .box img {
		width: 100%;
	}
}