@charset "utf-8";

#top_search {
	position: static;
	display: none;
	float: none;
	padding-bottom: 5px;
	width: 100%;
	min-width: 320px;
	height: auto;
	background: none;
	padding: 0px;
}
#top_search.acc_open {
	display: block;
}
#header_search_wrap {
	display: none;
}
#header_search_wrap.acc_open {
	display: block;
}
#top_search_a, #top_search_b {
	position: static;
	text-align: center;
	float: none;
	width: 100%;
	height: auto;
	margin: 0px;
	padding: 0px;
	background: #ffffff;
}

#top_search_a ul, #top_search_b ul {
	position: static;
	display: block;
	float: none;
	padding: 0px;
	margin: 0px auto;
	height:auto;
	width: auto;
	background: none;
	/* display: flex; */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	/* flex-wrap: wrap; */
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
}

#top_search_a li, #top_search_b li {
	display: block;
	float: none;
	width: 50%;
	height: auto;
	margin: 0px;
	padding: 0px;
	border: none;
	border-bottom: 1px solid #CCCCCC;
}
#top_search_a li:nth-last-child(-n+2) {
	border-bototm: none;
}
#top_search_a li:first-child, #top_search_b li:first-child {
	border: none;
}
#top_search_a li#gnav_0 {
	display: none;
}
#top_search_a ul li span, #top_search_b ul li span {
	display: block;
}

#top_search_a li img, #top_search_b li img {}
#top_search_a li#header_twitter {}
#top_search_a li#header_twitter img {}

#top_search_a li a, #top_search_b li a {
	display: block;
	float: none;
	min-height: 1em;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 10px 10px 30px;
	overflow: visible;
	text-align: left;
	text-indent: 0px;
	font-size: 1.6rem;
	font-weight: bold;
	white-space: normal;
	text-decoration: none;
	text-align: center;
	border-radius: 0px;
	border-right: 1px solid #CCCCCC;
	background-size: 30px auto;
	background-position: 20px center;
}
#top_search_a li:nth-child(2n+1) a {
	border: none;
}

#top_search_a li a:hover, #top_search_b li a:hover{
	float: none;
	width: auto;
	/*background: none;*/
}

#header_search {
	width: auto;
	position: static;
}

#header_search_link {
	width: 100%;
	margin: 0px 0px 5px;
	padding: 0px;
	table-layout: auto;
}

#header_search_link li {
	border-right: 1px solid #CCCCCC;
}
#header_search_link li:last-child {
	border-right: none;
}

#header_search_link li a {
	margin: 0px;
	padding: 1.5rem 0px;
	font-size: 1.3rem;
	font-weight: normal;
}

#search_keyword{
	float: none;
	width: auto;
	height: auto;
	padding: 12px;
	background: #F0EEEF;
}
#search_keyword .search_filetype{
	width: auto;
	background: none;
}

#top_search_keyword {
	display: block;
	position: static;
	clear: both;
	float: none;
	width: auto;
	height: auto;
	margin: 0px auto;
	padding: 3px 0px;
	text-align: center;
	transform: translate(0,0);
	padding-top: 20px;
	background-position: center top 10px;
}
#top_search_keyword a {
	display: none;
}
#cse-search-box {
	width: auto;
	text-align: center;
	display: block;
	background: none transparent;
}
#cse-search-box .select_sub input[type="radio"], #cse-search-box .select_sub input[type="radio"]+label {
	display: none;
}

#cse-search-box label[for="tmp_query"] {
	display: none;
}

#search_box_input_select {
	display: none;
}
#search_box_inputarea_wrap {
	background: none;
	float: none;
}
#search_box_inputarea {
	border: none;
}
#search_box_input_text {
	background: none;
}

#submit {
	width: 70px;
	height: 40px;
	vertical-align: top;
	margin: 0px;
	position: static;
}

#tmp_query {
	height: 38px !important;
	vertical-align: top;
	width: calc(90% - 70px);
	padding: 0px 0px !important;
	background-position: center;
	position: static;
	margin: 0px;
	border-width: 1px !important;
	text-indent: 1rem;
}
/*@media screen and (min-width: 481px) {
	#tmp_query {
		width:80%;
	}
}
*/
#he_right_a {
	margin: 0px;
	background: no-repeat;
}

@media only screen and (orientation : landscape) {
	#tmp_query{
		width: 70%;
	}
}