@charset "utf-8";

.contact_area {
	margin-top: 120px;
}

.page_bg {
	background-color: var(--beige);
}


/*-------------------施設一覧-------------------*/

.facility_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 150px auto 0;
	width: 80%;
}

.facility_list li {
	margin-bottom: 25px;
	width: 46%;
}

.facility_list h3 {
	font-size: min(2.7vw,3.6rem);
	font-weight: normal;
	line-height: 1.4;
	margin-bottom: 4%;
	text-align: left;
}

.facility_list figure img {
	border-radius: 60px 0 0 0;
}


/*---------施設詳細情報---------*/

.facility_detail {
	background-color: #fff;
	box-shadow: 0px 0px 13px rgba(172,168,169,0.7);
	margin: 0 auto;
	padding: 7% 9%;
	position: relative;
	top: -55px;
	width: 94%;
}

.facility_detail .service_name {
	margin-bottom: 5%;
}

.facility_detail .service_name span {
	background-color: var(--deep_pink);
	color: #fff;
	display: inline-block;
	font-size: min(1.4vw,1.8rem);
	margin: 0 0 5px 0;
	padding: 2px 2.5% 0px;
}

.facility_detail .location {
	font-size: min(1.4vw,1.8rem);
	margin-bottom: 30px;
}

.facility_detail .location p {
	border-bottom: 1px solid #333;
	padding: 4% 0;
}

.facility_detail .location p.tsukama_s span {
	display: block;
	font-size: 2.2rem;
}

.facility_detail .location p.service_area {
	display: flex;
	flex-wrap: wrap;
}

.facility_detail .location p.service_area span {
	display: block;
	width: 37%;
}


/*========================================================================================================================
	1025px以上の場合
==========================================================================================================================*/


@media screen and (min-width: 1025px) {
	.facility_detail .location p.tsukama_s span {
		padding-left: 12px;
		position: relative;
	}

	.facility_detail .location p.tsukama_s span::before {
		background-color: var(--deep_pink);
		content: "";
		height: 25px;
		left: 0;
		position: absolute;
		top: 5px;
		width: 6px;
	}
}



/*========================================================================================================================
	600px以上1024px以下の場合
==========================================================================================================================*/

@media screen and (min-width: 600px) and (max-width: 1024px) {
	
	.contact_area {
		margin-top: 80px;
	}
	
	/*-------------------施設一覧-------------------*/

	.facility_list {
		display: block;
		margin: 100px auto 0;
		width: 90%;
	}

	.facility_list li {
		margin-bottom: 30px;
		width: 100%;
	}

	.facility_list h3 {
		font-size: min(4vw,3.2rem);
		margin-bottom: 0%;
	}

	.facility_list figure img {
		border-radius: 90px 0 0 0;
	}


	/*---------施設詳細情報---------*/

	.facility_detail {
		top: -50px;
	}

	.facility_detail .service_name {
		margin-bottom: 5%;
	}

	.facility_detail .service_name span {
		font-size: min(2.4vw,1.6rem);
		margin: 0 0 5px 0;
		padding: 2px 2% 0px;
	}

	.facility_detail .location {
		font-size: min(2.6vw,1.8rem);
		margin-bottom: 30px;
	}
	
	.facility_detail .location p.tsukama_s span {
		font-size: 2.0rem;
		margin-bottom: 3px;
		padding-left: 12px;
		position: relative;
	}

	.facility_detail .location p.tsukama_s span::before {
		background-color: var(--deep_pink);
		content: "";
		height: 24px;
		left: 0;
		position: absolute;
		top: 5px;
		width: 6px;
	}
}



/*========================================================================================================================
	599px以下の場合
==========================================================================================================================*/

@media screen and (max-width: 599px) {
	
	.contact_area {
		margin-top: 90px;
	}

	.page_bg {
		background-color: #fff;
	}
	
	
	/*-------------------施設一覧-------------------*/

	.facility_list {
		display: block;
		margin: 60px auto 0;
		width: 90%;
	}

	.facility_list li {
		margin-bottom: 40px;
		width: 100%;
	}

	.facility_list h3 {
		font-size: 2.6rem;
		margin-bottom: 25px;
		text-align: center;
	}

	.facility_list figure img {
		border-radius: 0 50px 0 0;
		box-shadow: 0px 0px 7px rgba(172,168,169,0.7);
	}
	
	
	/*---------施設詳細情報---------*/

	.facility_detail {
		box-shadow: 0px 0px 7px rgba(172,168,169,0.7);
		padding: 30px;
		top: 0;
		width: 100%;
	}

	.facility_detail .service_name {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-bottom: 15px;
		text-align: center;
	}

	.facility_detail .service_name span {
		font-size: 1.4rem;
		line-height: 1.2;
		margin: 0 0 2% 0;
		padding: 6px 6px 4px;
		width: 49%;
	}

	.facility_detail .location {
		border-top: 1px solid #333;
		font-size: 1.4rem;
		margin-bottom: 25px;
	}

	.facility_detail .location p {
		border-bottom: 1px solid #333;
		display: block;
		padding: 20px 15px;
	}
	
	.facility_detail .location p.tsukama_s span {
		font-size: 1.5rem;
		font-weight: bold;
	}

	.facility_detail .location p.service_area span {
		font-size: 1.5rem;
		font-weight: bold;
		width: 100%;
	}
	
	.facility_detail .linkbutton {
		margin: 0 auto;
	}
}
