/*---検索フォーム全体----*/
.search_contents{
	width: 100%;
	height: 100%;
	background-color: white;
	clear: both;
	text-align: center;
	margin: 0 auto;
}

.search-title{
	color: black;
	margin: 0 auto;
	border-radius: 0.5em;
	padding: 10px 20px;
	width: 55%;
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	background-color: #ECFBFB;
	border: 1px solid black;
}

.title-span{
	display: inline-block;
}

/*---検索フォーム位置指定---*/
.tabAccordion {
	margin: 0 auto;
	margin-top: 20px;
	width: 80%;
	height: 80px;
	font-size: 12px;
	position: relative;
}

.tabAccordion dl {
	top: 0;
	left: 0;
	width: 100%;
	position: absolute;
}

.tabAccordion dl:nth-child(2) dt {
	left: 33.3%;
}

.tabAccordion dl:nth-child(3) dt {
	left: 66.6%;
	border-right: none;
}

/*---全体的なフォーム装飾---*/
.tabAccordion dl dt {
	top: 0;
	left: 0;
	width: 33.3%;
	font-weight: bold;
	position: absolute;
	border-right: #999 1px solid;
	border-bottom: #999 1px solid;
	background-color: #ffffff;
	box-sizing: border-box;
}

.tabAccordion dl dt a {
	padding: 15px 0;
	width: 100%;
	font-weight: bold;
	display: block;
	text-align: center;
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	border-top:1px solid black;
	border-left:1px solid black;
}

.tabAccordion dl dd{
	top: 59px;
	left: auto;
	right: 0px;
	padding-left: 10px;
	padding-bottom: 10px;
	width: 100%;
	position: absolute;
	text-align: left;
	overflow-y: auto;
	display: none;
	box-sizing: border-box;
	background-color: #edf6f6;
	border-right:1px solid black;
	border-bottom:1px solid black;
	border-left:1px solid black;
	z-index: 12;
}

.tabAccordion dl dd.btnAcv {
	display: block;
}

.tabAccordion dl dt.btnAcv {
	border-bottom: none;
	background: #edf6f6;
}

.tabAccordion dl dt a::after{
	content: "＋";
	font-size: 20px;
	margin-left: 15px;
}

.tabAccordion dl dt.btnAcv a::after{
	content: "－";
	font-size: 20px;
	margin-left: 15px;
}

.search_contents label{
	font-weight: 400;
	color: black;
}

/*---検索フォームの有無---*/
.bottom-search-area{
	display: none;
}

/*---学校種別とエリア共通----*/
.select-tab{
	font-size: 18px;
	letter-spacing: 1px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.select-tab a{
	text-decoration: none;
	color: black;
}

.select-area{
	background-color: white;
}

.tabAccordion input[type="checkbox"]{
	margin-right: 2px;
	margin-left: 2px;
	margin-top: 5px;
}

.area-label{
	margin-right: 1px;
}

/*---学校種別----*/
.schoolcategory-td{
	font-size: 20px;
	padding-top: 10px;
	padding-left: 12px;
	width: 180px;
	text-align: center;
}

.schoolcategory{
	padding-top: 5px;
	padding-left: 10px;
	display: flex;
	flex-wrap : wrap;
	font-size: 16px;
	width: calc(100% - 180px);
}

.schoolcategory-content{
	display: flex;
	flex-wrap: wrap;
	padding-top: 7px;
	padding-bottom: 3px;
}

.schoolcategory-area{
	padding-top: 8px;
	padding-left: 19px;
}

.schoolcategory-label{
	width: 100%;
}

#school-icon{
	width: 25px;
	fill: #4ac1c1;
	height: 2.2ex;
	margin-left: 12px;
	margin-right: 6px;
	vertical-align: middle;
	position: relative;
	top: -0.1em;
}

/*---検索ボタン関係----*/
#submit-btn{
	display: inline-block;
	font-weight: bold;
}

.submit-area{
	background-color: #B0DEDE;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 60px;
	letter-spacing: 20px;
	font-size: 20px;
	color: black;
	border: 1px solid black;
}

.submit-area:hover{
	opacity: 0.7;
	cursor: pointer;
}

#search-icon{
	display: inline-block;
	font-weight: bold;
	height: 2ex;
	margin-right: 10px;
}

/*---エリア----*/
.search_contents .area-content{
	display: flex;
	flex-wrap: wrap;
	padding-top: 7px;
	padding-bottom: 3px;
}

.search_contents .region-td{
	font-size: 20px;
	padding-top: 10px;
	padding-left: 30px;
	height: 20px;
	width: 200px;
}

.search_contents .prefecture-td{
	width: calc(100% - 200px);
	padding-top: 10px;
	padding-left: 19px;
	display: flex;
	flex-wrap : wrap;
	font-size: 15px;
	height: auto;
}

.prefecture-label{
	padding-left: 5px;
	width: 90px;
}

#area-icon{
	color: #4ac1c1;
	margin-right: 10px;
	height: 2.2ex;
	vertical-align: middle;
	position: relative;
	top: -0.1em;
}

@media only screen and (min-width: 825px) {
	.tabAccordion dl dt:hover > a {
		background: #edf6f6;
	}
}

@media only screen and (max-width: 825px) {
	.tabAccordion {
		width: 100%;
		height: auto;
		border: none;
	}

	.tabAccordion dl {
		top: auto;
		left: auto;
		width: 100%;
		position: relative;
		margin-bottom: 0px;
	}

	.tabAccordion dl dt {
		top: auto;
		left: auto;
		width: 100%;
		position: relative;
		border-bottom: #999 1px solid;
		border-right: none;
	}

	.tabAccordion dl:first-child dt {
		border-top: #999 1px solid;
	}

	.tabAccordion dl:nth-child(2) dt,
	.tabAccordion dl:nth-child(3) dt{
		left: auto;
	}

	.tabAccordion dl dt a {
		padding: 20px;
		padding-right: 15%;
		letter-spacing: 10px;
		height: auto;
		line-height: 1em;
		text-align: center;
		border: none;
	}

	.tabAccordion dl dt a:after {
		content: '';
		margin-top: -4px;
		top: 50%;
		right: 15px;
		width: 8px;
		height: 8px;
		font-size: 1em;
		font-weight: bold;
		line-height: 1.2em;
		display: block;
		position: absolute;
		border-top: 2px solid #666;
		border-right: 2px solid #666;
		-moz-transform: rotate(135deg);
		-webkit-transform: rotate(135deg);
		transform: rotate(135deg);
	}

	.tabAccordion dl dt.btnAcv {
		border-bottom: #999 1px solid;
		background: #edf6f6;
	}

	.tabAccordion dl dt.btnAcv a:after {
		content: none;
	}

	.tabAccordion dl dd {
		top: auto;
		left: auto;
		padding: 20px;
		width: 100%;
		height: auto;
		position: relative;
		border: none;
		border-bottom: #999 1px solid;
	}

	.search-title{
		font-size: 20px;
		width: 80%;
	}

	.prefecture-label{
		padding-left: 3px;
		width: 100px;
	}

	.schoolcategory-td{
		width: 100%;
		padding-top: 2px;
		padding-left: 2px;
		text-align: left;
	}

	.schoolcategory{
		width: 100%;
	}

	.search_contents .region-td{
		width: 100%;
		padding-bottom: 5px;
		padding-top: 1px;
		padding-left: 2px;
	}

	.search_contents .prefecture-td{
		width: 100%;
	}

	.search_contents{
		padding-top: 15px;
	}
}

@media only screen and (max-width: 619px) {
	.bottom-search-area{
		display: block;
	}
}
