@charset "UTF-8";


.header {
	height: 70vh;
}

h2 {
	margin: 0;
	font-family: "Hiragino Sans";
	font-weight: 700;
	font-size: 30px;
	color: #fff;
	padding: 5px;
	text-align: center;
	position: absolute;
	top: 20px;
	/*上から20px*/
	left: auto;
	right: 20px;
	/*左から30px*/
	text-shadow: 2px 2px 2px #000;
	background-color: rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------
    お問い合せページ
-------------------------------------------------- */
/*WEBでのご予約・お問合せ*/

.wrap {}


.swiper-slide img {
	width: 100%;
	margin: 0 auto;
	padding: 0 auto;
}

/* サムネイルのスタイル */
.thumbnail .swiper-slide {
	opacity: 0.8;
}

/* サムネイルのアクティブスタイル */
.thumbnail .swiper-slide-thumb-active {
	opacity: 1;
}

.box-parent {
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 5 auto;
	display: flex;
	flex-wrap: wrap;
	/*折り返し指定*/

	/*子要素を均等に配置して余白を設ける*/
	max-width: 1280px;
	margin: 0 auto;
	/*装飾用*/
}

.box-child {
	width: 30%;
	margin: 5 auto;
	display: flex;
	/*装飾用*/
}

.box-child:nth-of-type(n+4) {
	margin-top: 0px;
	/*子要素を折り返した垂直方向の上部の余白指定*/
}

.box-img {
	width: 100%;
	height: auto;
	position: relative;
}

.box-img img {
	display: block;
	width: 100%;
	height: 100%;
	/*画像のアスペクト比固定で高さを可変にする設定*/
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.box-text {
	flex-grow: 1;
	/*子要素の高さ調整のための指定*/
	padding: 0px;
	box-sizing: border-box;
	/*装飾用*/
}

@media screen and (max-width: 1360px) {
	.box-parent {
		width: 100%;
		max-width: initial;
	}
}

@media screen and (max-width: 1280px) {
	.box-child {
		width: 30%;
	}

	.box-child:nth-of-type(n+3) {
		margin-top: 00px;
	}
}

@media screen and (max-width: 680px) {
	.box-child {
		width: 100%;
	}

	.box-child:nth-of-type(n+2) {
		margin-top: 0px;
	}

	h2 {
		margin: 0;
		font-family: "Hiragino Sans";
		font-weight: 700;
		font-size: 16px;
		padding: 3px;
		text-align: center;
		color: #fff;
		position: absolute;
		top: 10px;
		right: 10px;
		left: auto;
		text-shadow: 2px 2px 2px #000;
		background-color: rgba(0, 0, 0, 0.3);
	}
}
