@charset "Shift_JIS";

/* トップページは非表示(PCのみ) */
#MainWrap[data-mode=""] #CategoryPageSearch{
	display:none;
}

#CategoryPageSearch header {
	background-color: #0b2265;
    color: #fff;
}
.search_div .text_label,
.select_div select {
	display: block;
	border: 1px solid #666;
	position: relative;
	border-radius: 5px;
}
.search_div .text_label input {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: none;
	border: none;
	box-shadow: none;
	outline: none;
	padding: 0 60px 0 10px;
	width: 100%;
	background-color: #fff;
	border-radius: 5px;
	line-height: 35px;
	height: 35px;
}
.search_div .text_label select {
	position: absolute;
	right: 60px;
	top: 0;
	bottom: 0;
	margin: auto;
	line-height: 25px;
	height: 25px;
}
.select_div select{
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: none;
	box-shadow: none;
	outline: none;
	padding: 7px 10px 7px 10px;
	height: 37px;
	font-size: 12px;
	width: 100%;
}

.select_div select option {
	padding: 5px;
}

.search_button {
	display: block;
	height: 100%;
	width: 50px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	color: var(--mainthema-background-color);
}
.search_button > span {
	width: 100%;
	display: inline-block;
	height: 30px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	border-left: 2px solid var(--mainthema-background-color);
	text-indent: -100%;
	overflow: hidden;
}
.search_button > i {
	width: 100%;
	line-height: 48px;
	font-size: 20px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	margin: auto;
	display: inline-block;
}
.search_button:hover > i {
    color: var(--main-link-hovercolor);
}

.search_button:hover {
	color: #0B2265;
}

.search_div > input[type=submit] {
	display: none;
}

#CategoryPageSearch > .seach_type_tab {
	display: table;
	table-layout: fixed;
	width: 100%;
}

#CategoryPageSearch .seach_type_tab > a {
	box-sizing: border-box;
	color: #fff;
	display: table-cell;
	opacity: 0.4;
	text-align: center;
	text-shadow: 1px 1px #000;
}

#CategoryPageSearch .seach_type_tab > a > span {
	line-height: 25px;
}

#CategoryPageSearch .seach_type_tab > a.seach_type_tab-select {
	opacity: 1;
}

#CategoryPageSearch .seach_type_tab > a.seach_type_tab-select > span {
	position: relative;
}

#CategoryPageSearch .seach_type_tab > a:first-child {
	border-left: none;
}

#CategoryPageSearch .seach_type_tab > a:last-child {
	border-right: none;
}

#CategoryPageSearch ul > li {
	margin: 15px auto;
	max-width: 360px;
	padding: 0 10px;
	width: 100%;
}

#CategoryPageSearch ul > li.active_tab {
	display: block;
}
#CategoryPageSearch .search_button > i{
	line-height:38px;
}

a.seach_type_tab-select > span:before {
	content: "";
	display: block;
	position: absolute;
	margin:auto;
	left:-20px;
	top:0;
	bottom:0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 13px;
	border-color: transparent transparent transparent #fff;
}

#CategoryPageSearch #search_config {
	margin-top: 10px;
}

#CategoryPageSearch #search_config > a {
	color: var(--mainthema-background-color);
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	display: block;
    text-decoration: none;
}

#CategoryPageSearch #search_config > ul {
	padding: 10px 10px 0;
	border-top: 2px solid var(--mainthema-background-color);
}

#ItemView #CategoryPageSearch{
	margin-top:30px;
}

@media screen and (max-width: 768px) {
	#MainContents #CategoryPageSearch {
		margin-bottom: 20px;
	}
	/* トップページは非表示(PCのみ) */
	#MainWrap[data-mode=""] #CategoryPageSearch{
		display:block;
	}
}
/* IE用 セレクトボックス */


/* IE 10 以下 */

.select_div:after {
	display: none!important\9;
}

.select_div .category_select_box {
	padding: 2px 5px 2px 5px !important\9;
}


/* IE 10 & 11 */

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
	.select_div:after {
		display: none!important;
	}
	.select_div category_select_box {
		padding: 2px 5px 2px 5px !important;
	}
}