@charset "utf-8";

/* ===================================================================

	検索 search

=================================================================== */

.serch_text {
	max-width: var(--def-max-width);
	width: var(--def-width);
	margin: 0 auto 40px;
}


.search_intro {
	margin: 0 auto 30px;
	font-family: var(--maru-font-family);
	font-weight: 700;
	font-size: var(--font-size--md);
	text-align: center;
}
.search_area_box {
	display: flex;
/*	flex-wrap: wrap;*/
	align-items: center;
	padding: 1.5em;
	margin-bottom: 30px;
	border-radius: 20px;
	background: rgba(var(--bs-primary-rgb),0.1);
}
.search_area_box:last-child {
	margin-bottom: 0;
}

.search_area_box h2 {
	width: 11rem;
	flex-shrink: 0;
	flex-grow: 0;
	font-size: var(--font-size--md);
	font-weight: 900;
}

.search_area_list {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% - 11rem);
}
.search_area_list li {
	width: 23.5%;
	margin: 1% 2% 1% 0;
}
.search_area_list li:nth-of-type(4n) {
	margin-right: 0;
}

a.btn_pref,
.btn_pref_none {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	padding: .8em 0.5em;
	border-radius: 1.8em;
	font-weight: 700;
	font-size: calc(var(--font-size--bs) * 1.2 );
	text-align: center;
}
a.btn_pref {
	border: 2px solid var(--bs-primary);
	background: var(--bs-white);
	color: var(--bs-primary);
}
.btn_pref::after,
a.btn_pref::after {
	content: none;
}
.btn_pref:hover,
a.btn_pref:hover {
	background: var(--bs-primary);
	color: var(--bs-white);
}

.btn_pref_num {
	margin-top: 0.3rem;
	font-size: var(--font-size--sm);
}

.btn_pref_none {
	position: relative;
	max-width: 400px;
	background: var(--bs-light);
	border: 2px solid var(--bs-gray);
	color: var(--bs-gray-light);
	line-height: 1;
}


/* ===================================================================

	検索 search 職種・条件を選択

=================================================================== */
.search_item_list {
	width: calc(100% - 11rem);
/*	display: flex;
	flex-wrap: wrap;*/
}
/*
.search_item_list li {
	width: calc((100% - 2em) / 3 );
	margin: 0.5em 1em 0.5em 0;
}
.search_item_list li:nth-of-type(3n) {
	margin-right: 0;
}*/
.search_item_list .input.select {
	display: flex;
	flex-wrap: wrap;
}
.search_item_list .checkbox {
	width: calc((100% - 2em) / 3 );
	margin: 0.5em 1em 0.5em 0;
	display: flex;
	align-items: center;
	height: 100%;
}
.search_item_list .checkbox:nth-of-type(3n) {
	margin-right: 0;
}
.search_item_list  input[type="checkbox"] {
	margin-top: .1em;
}
.search_item_list  a {
	color: var(--main-txt-color);
	text-decoration: underline;
}
.search_item_list  a:hover {
	color: var(--bs-gray-dark);
}



.search_footer_btn {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 800;
	padding: 20px;
	background: rgba(0, 0, 0, 0.3);
}

/* ===================================================================
	レスポンシブ対応用
=================================================================== */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){ 
	.search_area_list li {
		width: 32%;
		margin-right: 2%;
	}
	.search_area_list li:nth-of-type(4n) {
		margin-right: 2%;
	}
	.search_area_list li:nth-of-type(3n) {
		margin-right: 0;
	}


}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
	.search_area_box {
		display: block;
	}
	.search_area_box h2,
	.search_area_list,
	.search_item_list {
		width: 100%;
	}
	.search_area_box h2 {
		margin-bottom: 1rem;
		text-align: center;
	}

	
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
	.search_intro {
		margin-bottom: 20px;
	}
	.search_area_box {
		padding: 1rem;
	}
	.search_item_list .checkbox {
		width: calc((100% - 2em) / 2 );
		margin: 0.5em 1em 0.5em 0;
	}
	.search_item_list .checkbox:nth-of-type(3n) {
		margin-right: 1em;
	}
	.search_item_list .checkbox:nth-of-type(2n) {
		margin-right: 0;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
	.search_area_box {
		margin-bottom: 20px;
		padding: .5rem;
	}
	.search_area_box h2 {
		margin-bottom: 0.5rem;
	}
	.search_area_list li {
		width: 49%;
	}
	.search_area_list li:nth-of-type(3n) {
		margin-right: 2%;
	}
	.search_area_list li:nth-of-type(2n) {
		margin-right: 0;
	}
	a.btn_pref,
	.btn_pref_none {
		font-size: var(--font-size--bs);
	}

	.search_item_list .checkbox {
		width: 100%;
		margin: 0.3em 0;
	}
	.search_item_list .checkbox:nth-of-type(3n) {
		margin-right: 0;
	}
	
}
