
/* searchTop */
#searchTop {
	width: 100%;
	position: relative;
	background: #FFF;
	float: left;
	margin: 15px 0 0;
	border-bottom: solid 1px #D6D6D6;

}

#searchTop p {
	float: left;
	padding: 15px 0 15px 15px;

}

#searchTop p a {
	display: block;
	width: 160px;
	height: 40px;
	font-size: 16px;
	line-height: 38px;
	text-align: center;
	border: solid 1px #17306C;
	border-radius: 5px;
	background: #FFF;
	color: #323232;
}

#searchTop p a i {
	color: #17306C;
	font-size: 20px;
	margin: 0 5px 0 0;
}

#searchTop p a.checked {
	background: #17306C;
	color: #FFF;
}

#searchTop p a.checked i {
	color: #FFF
}

/* searchSide */
#searchSide {
	width: 100%;
	position: relative;
	clear: both;
}

#searchSide h3 {
	font-size: 16px;
	line-height: 30px;
	padding: 15px;
	float: left;
}
#searchSideForm {
	background: #FFF;
}

.searchSideCategory,
.searchSideArea,
.searchSideCondition,
.searchSideKeyword {
	border-top: solid 1px #D6D6D6;
	clear: both;
}
.searchSideCategoryContent,
.searchSideAreaContent神奈川県,
.searchSideAreaContent東京都,
.searchSideAreaContent埼玉県,
.searchSideAreaContent千葉県,
.searchSideAreaContent茨城県,
.searchSideAreaContent栃木県,
.searchSideAreaContent群馬県,
.searchSideAreaContent山梨県,
.searchSideAreaContent愛知県,
.searchSideAreaContent静岡県,
.searchSideAreaContent岐阜県,
.searchSideAreaContent三重県,
.searchSideAreaContent大阪府,
.searchSideAreaContent兵庫県,
.searchSideAreaContent京都府,
.searchSideAreaContent滋賀県,
.searchSideAreaContent奈良県,
.searchSideAreaContent和歌山県,
.searchSideConditionContentFacility,
.searchSideConditionContentLicense,
.searchSideConditionContentEmploy,
.searchSideKeywordContent {
	clear: both;
}

#searchSide ul,
#searchSide li {
	display: inline;
}

#searchSide li label {
	display: none;
}
#searchSide li label.checked {
	display: inline-block;
	font-size: 13px;
	line-height: 20px;
	padding: 0 0 0 10px;
	min-width: 95px;
}
#searchSide li label.checked:last-child {
	margin-bottom: 5px;
}
#searchSide li label input {
	display: none;
}

#searchSide .btn ,
#searchBottom .btn {
	position: sticky;
	bottom: 0;
	width: 100%;
	height: 60px;
	border-top: solid 1px #EDEDED;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	background: #FFF;
}
#searchSide .btn input,
#searchBottom .btn input {
	display: block;
	width: 180px;
	height: 40px;
	line-height: 40px;
	margin: 0 auto;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	background: #1f3066;
	border: 0;
	border-radius: 5px;
	color: #FFF;
	float: right;
}
#searchSide .btn .clearForm,
#searchBottom .btn .clearForm {
	display: block;
	width: 70px;
	height: 40px;
	border: solid 1px #646464;
	color: #646464;
	font-size: 12px;
	line-height: 40px;
	padding: 0;
	text-align: center;
	cursor: pointer;
	border-radius: 5px;
	float: left;
	box-sizing: border-box;
}


/* #global-search */
#global-search {
}

#global-search label.checked {
	background: #17306C33;
}

#global-search p label{
	display: block;
	font-size: 16px;
	padding: 4px;
	border-radius: 4px;
	box-sizing: border-box;
}


#global-search ul {
}
#global-search li {
	display: flex;
	flex-wrap: wrap;
}
#global-search li label {
	display: block;
	font-size: 14px;
	padding: 4px;
	border-radius: 4px;
	box-sizing: border-box;
	width: calc(25% - 10px);
	text-align: center;
	border: solid 1px #CCC;
	margin: 5px;
}

#global-search .areatabs li label {
	width: calc(20% - 10px);
}
#global-search li label:has(input[type="checkbox"]:checked) {
	background-color: #17306C33;
	border: solid 1px #17306C;
}
#global-search li input[type="checkbox"] {
	display: none;
}

#global-search li input[type=text] {
	width: 1120px;
	font-size: 16px;
	padding: 8px;
	border: solid 2px #D6D6D6;
	border-radius: 4px;
	box-sizing: border-box;
}

#global-search .btn {
	width: 100%;
	border-top: solid 1px #EDEDED;
	margin: 0;
	padding: 20px;
	position: relative;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
}
#global-search .btn input {
	display: block;
	width: 250px;
	height: 50px;
	line-height: 50px;
	margin: 0 auto;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	background: #FDC701;
	border: 0;
	border-radius: 5px;
	color: #FFF;
}
#global-search .btn .clearForm {
	display: block;
	width: 120px;
	height: 30px;
	border: solid 1px #646464;
	color: #646464;
	font-size: 12px;
	line-height: 30px;
	padding: 0;
	text-align: center;
	cursor: pointer;
	border-radius: 5px;
	position: absolute;
	top: 20px;
	left: 20px;
}

/* modal */
.js-modal-open {}
.modal__content .js-modal-close {}
.modal__content .js-modal-close:hover { opacity: 0.8; }

.modal{
	width: 100%;
	z-index: 30;
}
.modal__bg{
	width: 100%;
	box-sizing: border-box;
}
.modal__content{
	z-index: 1000;
	background: #FAF9F3;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 0;
	text-align: left;
	clear: both;
}

.modal__content p, .modal__content ol {
	line-height: 2em;
	padding: 0 0 20px;
}
.modal__content .preftab_content p {
	padding: 0;
}
.modal__content .preftab_content ul {
	margin: 0 0 20px;
}
.modal__content .preftab_content ul.cities {
	background: #EEE;
}
.modal__content .preftab_content ul.cities li label{
	background: #FFf;
}
/* tab areatab conditiontab */
/*ラジオボタンを全て消す*/
input[name="tab_item"],
input[name="areatab_item"],
input[name="preftab_item"],
input[name="conditiontab_item"],
input[name="keywordtab_item"]  {
	display: none;
}

.tabs {
	margin-top: 50px;
	padding-bottom: 0;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	box-shadow: none;
}
.tabs .js-modal-close {
	display: block;
	width: 120px;
	height: 30px;
	position: absolute;
	top: 20px;
	right: 20px;
	background: #17306C;
	color: #FFF;
	font-size: 12px;
	line-height: 30px;
	padding: 0;
	text-align: center;
	cursor: pointer;
	border-radius: 5px;
}

/*タブのスタイル*/
.tab_item {
	width: calc(100%/4);
	border: solid 1px #FFF;
	box-sizing: border-box;
	height: 50px;
	background-color: #EDEDED;
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	color: #666;
	display: block;
	float: left;
	text-align: center;
	transition: all 0.2s ease;
}
.tab_item:hover {
	opacity: 0.75;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
	display: none;
	padding: 15px;
	clear: both;
	overflow-y: auto;
}

/*選択されているタブのコンテンツのみを表示*/
#category_check:checked ~ #category_content,
#area_check:checked ~ #area_content,
#condition_check:checked ~ #condition_content,
#keyword_check:checked ~ #keyword_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
	background-color: #FFF;
	border-top: solid 4px #17306C;
	color: #000;
	font-weight: bold;
}

/* areatab */
.areatabs {
	margin-top: 50px;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/*タブのスタイル*/
.areatab_item {
	width: calc(100% / 3);
	border: solid 1px #FFF;
	box-sizing: border-box;
	height: 40px;
	background-color: #EDEDED;
	line-height: 40px;
	font-size: 16px;
	text-align: center;
	color: #666;
	display: block;
	text-align: center;
	transition: all 0.2s ease;
	float: left;
}
.areatab_item:hover {
	opacity: 0.75;
}

/*タブ切り替えの中身のスタイル*/
.areatab_content {
	display: none;
	width: 100%;
	margin: 0;
	clear: both;
}

/*選択されているタブのコンテンツのみを表示*/
#関東_check:checked ~ #関東_content,
#東海_check:checked ~ #東海_content,
#関西_check:checked ~ #関西_content,
#中国_check:checked ~ #中国_content,
#九州_check:checked ~ #九州_content,
#dammy_check:checked ~ #dammy_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.areatabs input:checked + .areatab_item {
	background-color: #FFF;
	border-top: solid 4px #17306C;
	color: #000;
	font-weight: bold;
}

/* preftab */
.preftabs {
	margin-top: 50px;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/*タブのスタイル*/
.preftab_item {
	display: block;
	font-size: 16px;
	padding: 0 4px;
	border-radius: 4px;
	box-sizing: border-box;
	width: 160px;
	text-align: center;
	border: solid 1px #CCC;
	margin: 5px;
	float: left;
	height: 40px;
	line-height: 38px;
}
/*選択されているタブのスタイルを変える*/
.preftabs input:checked + .preftab_item {
	background: #17306C;
	color: #FFF;
}


/*タブ切り替えの中身のスタイル*/
.preftab_content {
	display: none;
	width: 100%;
	margin: 0;
	clear: both;
}

/*選択されているタブのコンテンツのみを表示*/
#神奈川県_check:checked ~ #神奈川県_content,
#東京都_check:checked ~ #東京都_content,
#埼玉県_check:checked ~ #埼玉県_content,
#千葉県_check:checked ~ #千葉県_content,
#茨城県_check:checked ~ #茨城県_content,
#栃木県_check:checked ~ #栃木県_content,
#群馬県_check:checked ~ #群馬県_content,
#山梨県_check:checked ~ #山梨県_content,
#愛知県_check:checked ~ #愛知県_content,
#静岡県_check:checked ~ #静岡県_content,
#岐阜県_check:checked ~ #岐阜県_content,
#三重県_check:checked ~ #三重県_content,
#大阪府_check:checked ~ #大阪府_content,
#兵庫県_check:checked ~ #兵庫県_content,
#京都府_check:checked ~ #京都府_content,
#滋賀県_check:checked ~ #滋賀県_content,
#奈良県_check:checked ~ #奈良県_content,
#和歌山県_check:checked ~ #和歌山県_content,
#山口県_check:checked ~ #山口県_content,
#福岡県_check:checked ~ #福岡県_content,
#佐賀県_check:checked ~ #佐賀県_content,
#長崎県_check:checked ~ #長崎県_content,
#熊本県_check:checked ~ #熊本県_content,
#大分県_check:checked ~ #大分県_content,
#dammy_check:checked ~ #dammy_content {
	display: block;
}


/* conditiontab */
.conditiontabs {
	margin-top: 50px;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/*タブのスタイル*/
.conditiontab_item {
	width: calc(100% / 3);
	border: solid 1px #FFF;
	box-sizing: border-box;
	height: 40px;
	background-color: #EDEDED;
	line-height: 40px;
	font-size: 16px;
	text-align: center;
	color: #666;
	display: block;
	text-align: center;4
	transition: all 0.2s ease;
	float: left;
}
.conditiontab_item:hover {
	opacity: 0.75;
}

/*タブ切り替えの中身のスタイル*/
.conditiontab_content {
	display: none;
	width: 100%;
	margin: 0;
	clear: both;
}

/*選択されているタブのコンテンツのみを表示*/
#facility_check:checked ~ #facility_content,
#license_check:checked ~ #license_content,
#employ_check:checked ~ #employ_content {
	display: block;
}

/*選択されているタブのスタイルを変える*/
.conditiontabs input:checked + .conditiontab_item {
	background-color: #FFF;
	border-top: solid 4px #17306C;
	color: #000;
	font-weight: bold;

}


@media only screen and (max-width: 768px) {
	#main.topPage { padding-top: 0; }
	#main.topPage h2 {
		position: static;
		background-color: #7D7D7D;
		color: #FFF;
		text-align: left;
	}
	#main.topPage h2 span {
		width: 100%;
		font-size: 18px;
		line-height: 60px;
		height: auto;
		display: block;
		background: none;
		vertical-align: unset;
		margin: 0;
		padding: 8px 5px;
		line-height: 1.5;
		overflow: hidden;
		box-sizing: border-box;
	}
	.modal {
		display: none;
		height: 100vh;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: -webkit-fill-available;
	}
	.modal__bg {
		height: 100vh;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
		height: -webkit-fill-available;
		padding: 0;
	}
	.modal__content {
		z-index: 1000;
		background: #FFF;
		position: relative;
		box-sizing: border-box;
		padding: 10px;
		border-radius: 10px;
		text-align: left;
		box-shadow: 0 0 5px #0003;
		height: -webkit-fill-available;
		transform: none;
		width: 100%;
		overflow-y: auto;
		border-radius: 0;
	}
	.modal__content .js-modal-close {
		top: 10px;
		right: 10px;
	}
	.modal__content #subButton {
		position: absolute;
		bottom: 20px;
		display: block;
		width: calc(100% - 40px);
	}
	.tabs {
		padding: 0;
		margin: 0;
		box-shadow: none;
	}
	.tab_content {
		padding: 40px 0 0;
	}

	.conditiontab_item {
		width: calc(100% / 3);
		display: block;
		float: left;
	}

	.areatab_item {
		width: calc(100% / 3);
		display: block;
		float: left;
	}
	.areatabs input:checked + .areatab_item {
		border-top: solid 2px #17306C;
	}
	.preftab_item {
		width: calc(50% - 10px);
		font-size: 14px;
		text-align: center;
		border-radius: 4px;
		padding: 4px;
		background: #FFF;
		border: solid 1px #CCC;
		margin: 5px;
		float: left;
		height: unset;
		line-height: unset;
	}
	.preftabs input:checked + .preftab_item {
		background: #17306C33;
		border: solid 1px #17306C;
		color: #17306C;
	}
	.preftab_content {
		box-sizing: border-box;
	}


	#global-search ul {
		display: flex;
		flex-wrap: wrap;
	}
	#global-search li {
		width: 100%;
		box-sizing: border-box;
	}

	#global-search li label {
		width: calc(50% - 10px);
		font-size: 14px;
		text-align: center;
		border-radius: 4px;
		padding: 4px;
		border: solid 1px #CCC;
		margin: 5px;
	}
	#global-search .areatabs li label {
		width: calc(50% - 10px);
	}
	#global-search li label:has(input[type="checkbox"]:checked) {
		background: #17306C33;
		border: solid 1px #17306C;
	}
	#global-search li input[type="checkbox"] {
		display: none;
	}


	#searchTop {
		margin: 0;
	}
	#searchTop p {
		float: left;
		width: 25%;
		box-sizing: border-box;
		padding: 5px;
	}
	#searchTop p a {
		width: 100%;
		height: auto;
		font-size: 12px;
		line-height: 20px;
		padding: 5px 0;
		box-sizing: border-box;
		border-bottom: solid 3px #17306C;
		color: #323232;
	}
	#searchTop p a i {
		font-size: 24px;
		line-height: 30px;
		color: #17306C;
		display: block;
		margin: 0;
	}

	#searchSideForm {
		margin: 0 0 60px;
	}

	#searchSide .btn {
		display: block;
		width: 100%;
	}


	#new-search #header,
	#new-search #lowerHed,
	#new-search #commonWrap,
	#new-search #footer {
		display: none;
	}
	#new-search .wrap { padding: 0; }

	#new-search #searchTop p {
		width: 50%;
	}
	#new-search #searchTop p a {
		font-size: 16px;
		line-height: 30px;
		padding: 15px 0;
	}
	#new-search #searchTop p a i {
		font-size: 36px;
		line-height: 40px;
	}

	#new-search #searchSide .btn {
		position: fixed;
		left: 0;
		bottom: 0;
	}

}
