/* CSS Document */


#catch{
	background-size: contain;
	position: relative;
}
#catch .inner{
	width: 100%;
	margin: auto;
	position: relative;
}

#catch .inner img {

	display: block;
    margin: 0 auto;
	width: 100%;
	height: 200px;
	text-align: center;object-fit: cover;
	
}
#catch .inner h1{
	color: #000;
text-shadow: 
        #fff 1px 1px 0, #fff -1px -1px 0,/*右下、左上*/
        #fff -1px 1px 0, #fff 1px -1px 0,/*右上、左下*/
        #fff 0px 1px 0, #fff  0-1px 0,/*右、左*/
        #fff -1px 0 0, #fff 1px 0 0;/*上、下*/

}
#contents .inner{

	margin: auto;
	position: relative;
	padding: 30px 0;
}
.flex{
	display: flex;
	flex-direction: column;
	
}
.r{
	text-align: right;
	
}
 a.link {
    font-size: 1.6rem;
    line-height: 2;
    display: block;
    color: #000;
    background: #fff;
    border: 1px solid #e59373;
    border-radius: 2px;
    width: 50%;
    margin: 10px auto;
    text-align: center;
    position: relative;
    text-decoration: none;
}

 a.link::after{
	content: "";
	margin: auto;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: .7rem 0 .7rem 1rem;
	border-color: transparent transparent transparent #e59373;
	top: 0;
	bottom: 0;
	right:  1rem;
}
 a.link:hover{
	color: #fff;
	background: #e59373;
	border: 1px solid #e59373;
	border-radius: 2px;
	position: relative;
	text-decoration: none;
}
 a.link:hover::after{
	content: "";
	margin: auto;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: .7rem 0 .7rem 1rem;
	border-color: transparent transparent transparent #fff;
	top: 0;
	bottom: 0;
	right:  1rem;
}

/* 沿革 */
#contents section#facility_data .inner{
	padding-top: 0;padding-bottom: 0;
}
#contents section#facility_data .article{
	margin: 10px 10px;
	font-size: 1.4rem;
}
#contents section#facility_data .list.article{
	margin: 10px 10px 20px;
	font-size: 1.4rem;
	border: 3px solid #e59373;
	border-radius: 4px;
	padding: 10px;
}
#contents section#facility_data .article p.discription{
	padding: 10px;
	font-size: 1.4rem;
	margin-bottom: 20px;	
border: 3px solid #F2CDBE ;}
#contents section#facility_data .article .build{
	width: 100%;
	margin-bottom: 10px;
	display: block;

}
#contents section#facility_data .article .build img{
	width: 100%;
	display: block;

}
.nsc{
	font-size: 1.1rem;
}
#contents section h2{
	clear: both;
	margin: 0 0 10px;
}
#contents section h2 span{
	display: block;
	clear: both;
	margin: 0 0;
	font-size: 1.2rem;
	line-height: 1.2;
}
#contents section#facility_data .article dl{
	clear: both;
	font-size: 1.4rem;
	margin: 10px;
	border-bottom: 1px solid #ddd;
}
#contents section#facility_data .article dl dd{
	clear: both;
	font-size: 1.2rem;
}
#contents section#facility_data .article dl::after{
	content: "";
	clear: both;
	display: block;
}
#contents section#facility_data .article::after{
	content: "";
	clear: both;
	display: block;
}
#contents section#facility_data .article table{
	width: 100%;
	border-collapse: collapse;
}
#contents section#facility_data .article table th{
	background-color:#e59373;
	color: #fff;
	font-weight: 400;
	padding: 5px;	border: 1px solid #F2CDBE ;

}
#contents section#facility_data .article table td{
	font-weight: 400;
	padding: 5px;
	font-size: 1.2rem;
	text-align: left;
	border: 1px solid #e59373;
}



#contents section#facility_data .capacity{
	font-size: 1.4rem;
	margin: 10px;
}
#contents section#facility_data .capacity table{
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
}
#contents section#facility_data .capacity table thead th{
background-color:#e59373;
color: #fff;
	font-weight: 400;
	padding: 5px;	border: 1px solid  #F2CDBE ;

}
#contents section#facility_data .capacity table tbody th{
	font-weight: 400;
	padding: 5px;
	text-align: center;
	border: 1px solid #e59373;
}
#contents section#facility_data .capacity table tbody td{
	font-weight: 400;
	padding: 5px;
	font-size: 1.2rem;
	text-align: center;
	border: 1px solid #e59373;
}

#contents section#facility_data .capacity::after{
	content: "";
	clear: both;
	display: block;
}

#contents section#facility_data .capacity::after{
	content: "";
	clear: both;
	display: block;
}

#contents section#facility_data .gallery_list{
	font-size: 1.4rem;
	margin: 10px;
}

.my-gallery{
	display: flex;
	flex-wrap: wrap;
}


.my-gallery figure{
	flex-basis: 30%;
	width: 30%;
	border-radius: 4px;
	box-sizing: border-box;
	margin: 1vw;
	box-shadow: 0 0 4px 0 #ccc;
}
.my-gallery figure img{
	width: 90%;
	display: block;
	margin:10px auto 0;
	border: 1px solid #ddd;}

.my-gallery figure figcaption{
	font-size: 1.2rem;
	width: 90%;
	display: block;
	margin:0 auto;
	min-height: 1em;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#map,.map{
	width: 100%;
	height: 70vw;
	max-height: 330px;
}



@media (min-width: 768px) {
	#catch{
		position: relative;
		background-size: contain;
	}
.flex{
	display: flex;
	flex-direction: row;
	justify-content:space-between;
}

	#catch .inner{
		width: 100%;
		margin: auto;
		position: relative;
		display: flex;
	}
	#catch .inner::after{
		content: "";
		display: block;
		clear: both;
	}

	#contents .inner{
		width: 100%;
		margin:30px auto;
		position: relative;
		padding: 30px 0;
	}
	#contents section#history_data .article h2{
		clear: both;
		font-size: 1.6rem;
		margin: 20px 10px 10px;
		border-bottom: 1px solid #ddd;
		color: #e59373;
	}

	#contents section#history_data .article dl{
		clear: both;
		font-size: 1.4rem;
		margin: 0 10px;
		display: block;
		border: 1px solid #eff8ff;
	}
	#contents section#history_data .article dl.even{
		background-color: #eff8ff;
	}
	#contents section#history_data .article dl dt{
		float: left;
		clear: both;
		font-size: 1.4rem;
		width: 7em;
		text-align: center;
		padding: 5px;
	}
	#contents section#history_data .article dl dd{
		float: left;		clear: none;
		font-size: 1.4rem;
		padding: 5px;
	}
	#contents section#facility_data .article .build{
		width: 48%;
		display: block;

	}
	#contents section#facility_data .article .data{
		width: 48%;
		display: block;

	}
	#contents section#facility_data .article table{
		width: 100%;


	}
	#contents section#facility_data .article .build img{
		width: 100%;
		display: block;
		box-shadow: 0 0 4px 0 #ccc;
	}

	.my-gallery figure {
		flex-basis: 22%;
		width: 18%;
		border-radius: 4px;
		box-sizing: border-box;
		margin: 1vw;
		box-shadow: 0 0 4px 0 #ccc;
	}
}
@media (min-width: 1040px) {
	#catch{
		position: relative;

	}
	#catch .inner{
		max-width: 1200px;
		margin: auto;
		padding: 0;
	}

	#contents .inner{
		width: 1040px;
		margin: auto;
		position: relative;
		padding: 30px 0;
	}
	#contents section#recruit_data {
		background-size: auto 300px;
		height: 300px;
	}
	.my-gallery figure {
		flex-basis: 22%;
		width: 18%;
		border-radius: 4px;
		box-sizing: border-box;
		margin: 15px;
		box-shadow: 0 0 4px 0 #ccc;
	}

}
