@charset "utf-8";
/* Mars Finder 検索BOXレイアウト調整 ========================== */


:root {
	--num: 100px;

	@media print, screen and (min-width: 1440px) and (max-width: 1599px) {
		--num: 90px;
	}

	@media print, screen and (min-width: 1366px) and (max-width: 1439px) {
		--num: 85px;
	}

	@media print, screen and (min-width: 1280px) and (max-width: 1365px) {
		--num: 80px;
	}

	@media print, screen and (min-width: 1200px) and (max-width: 1279px) {
		--num: 75px;
	}

	@media print, screen and (min-width: 1120px) and (max-width: 1199px) {
		--num: 70px;
	}

	@media print, screen and (min-width: 981px) and (max-width: 1119px) {
		--num: 64px;
	}

	@media screen and (min-width: 376px) and (max-width: 980px) {
		--num: 110px;
	}


}






footer .searchArea form,
.mf_finder_searchBox_items {
/*	width: 4.2rem;*/
	width: calc(var(--num) * 4.2);
}

@media screen and (min-width: 376px) and (max-width: 980px) {
	footer .searchArea form,
	.mf_finder_searchBox_items_wrapper,
	.mf_finder_searchBox_items,
	.mf_finder_searchBox_query_wrap {
		width: 100%;
	}

	.mf_finder_searchBox {
		margin-left: 0;
		margin-right: 0;
	}
}


.mf_finder_searchBox_items {
	justify-content: space-between;
	padding: 0;
/*	position: relative;*/
}



.mf_finder_searchBox_query_input,
.mf_finder_searchBox_suggest_item a {
	font-size: 14px;
}

.mf_finder_searchBox_query_input {
	width: calc(100% - calc( var(--num) * 0.9) );
}

.mf_finder_searchBox_query_input {
	padding: 0.1rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(var(--num) * 0.5);
/*	background: #fff;*/
	border:none;
}

.mf_finder_searchBox_query_wrap {
	height: calc( calc(var(--num) * 0.5) - 2px );
}


@media screen and (max-width: 980px) {
.mf_finder_searchBox_query_input {
	height: calc(var(--num) * 0.4);
	}
.mf_finder_searchBox_query_wrap {
	height: calc( calc(var(--num) * 0.4) - 2px);
	}
}

/*
.mf_finder_searchBox_query_wrap:before {
	content: 'サイト内を検索';
	display: block;
	letter-spacing: 0.1em;
	font-size: 0.9em;
	color: #999;
	position: absolute;
	top: calc( calc( calc(var(--num) * 0.5) - 14px ) / 2);
	left: 0.75em;
}*/

.mf_finder_searchBox_query_wrap:focus:before {
	cursor: text;
}

.mf_finder_searchBox_query_wrap:focus-within:before {
	content: '';
	display: none;
}

.mf_finder_searchBox_query_wrap input {
}




.mf_finder_searchBox_submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--num) * 0.9);
	content: "";
	background-color: #0072c4;
	padding: 0;
	border-radius: 0;
}

.mf_finder_searchBox_submit span {
	content: '';
	display: none;
/*
	display: block;
	letter-spacing: 0.1em;
	font-size: 0.9em;
	color: #999;
	position: absolute;
	top: calc( calc( calc(var(--num) * 0.375) - 14px ) / 2);
	left: -1.25em;
*/
}


/* 虫眼鏡アイコン */
@media (min-width: 640px) {
	.mf_finder_searchBox_submit:before {
		margin-left:	0;
		font-size: 0.225rem;
	}
}




.mf_finder_searchBox_suggest_items {
	background-color: #FFF;
}

.mf_finder_searchBox_suggest_item {
	padding: 0.5em;
}

.mf_finder_searchBox_suggest_item a {
	color: #555;
}

.mf_finder_searchBox_suggest_item a:hover {
	color: #FFF;
}




