@charset "UTF-8";
@media screen and (min-width: 768px) { 
header {
	width: 100%;
	max-width:1024px;
	min-width: 480px;
	margin: 0 auto;
	padding: 0;
	font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-between;
	}
#titleimg-element{
	width:65%;
	}
#titleimg-element img{
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	}
#title-element{
	margin: 0;
	padding: 0;
	width: 30%;
	}
.gsc-control-cse {
	padding: 0em!important;
	}
input.gsc-search-button:hover, input.gsc-search-button:focus {
	background-color: #CCE2E2!important;
	}
#search-box{
	margin-top:5px;
	padding:0.3rem 0.3rem 0;
	}
}

@media screen and (max-width: 767px) {
header{
	height: 100%;
	flex-direction: column;
	-webkit-flex-direction: column;
	justify-content: wrap;
	padding:0 5px;
	}
#titleimg-element img{
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
	max-height: 100%;
	}
#title-element{
	width: 100%;
	align-items: right;
	margin: 0;
	padding: 0;
	}
.gsc-control-cse {
	padding: 0em!important;
	}
#search-box{
	margin-top:5px;
	padding:0 5px;
	}
}

#menu-box { /* g-nav */
	width: 100%;
	/*max-width: 1940px;*/
	margin: 0 auto;
	padding: 0;
	background: #ECECEC;
	}
#menu {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0;
	border-radius:1px;
	}
#menu li{
	display: block;
	float: left;
	width: 16.6%; /* カテゴリ数 */
	margin: 0;
	padding: 0;
	}
#menu li a {
	display: block;
	padding: 10px 0 10px; /* pxで指定 */
	background-color: #ECECEC;
	color: #37474F;
	transition: all .4s;
	text-align: center;
	text-decoration: none;
	border-right:1px solid #E0E0E0;
	}
/* 20171228 */
[data-current-nav="CL"] menu ul li:nth-child(1) a,
[data-current-nav="BZ"] menu ul li:nth-child(2) a,
[data-current-nav="ED"] menu ul li:nth-child(3) a,
[data-current-nav="CA"] menu ul li:nth-child(4) a,
[data-current-nav="CR"] menu ul li:nth-child(5) a,
[data-current-nav="support"] menu ul li:nth-child(6) a,

#menu li:last-child a{
	background-color: #CCE2E2;
	border-right: none;
	}
#menu li a:hover{
	background-color: #2ABB9B;
	color:#fff;
	text-decoration: underline;
	}

#toggle {
	display: none;
	}

/* 画面サイズが1024px以下 legacyNotePC,iPadPro */
@media only screen and (max-width: 1024px) {
#menu li {
	width: 33.3%;
	}
#menu li a {
	border-bottom:1px solid #E0E0E0;
	}
}
/* 画面サイズが480px以下で適用 */
@media only screen and (max-width: 480px) {
#menu {
	display: none;
	}
#menu li {
	width:100%;
	background-color: #2ABB9B;
	}
/* hamburger icon */
#toggle {
	display: block;
	position: relative;
	width: 100%;
	background-color: #DADFE1;
	}
#toggle a{
	display: block;
	position: relative;
	padding:8px 0 8px;
	color: #37474F;
	text-align: center;
	text-decoration: none;
	}
#toggle:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 25px;
	height: 25px;
	margin-top: -11px;
	background: url('/_css/img/menu-icon-s.png') no-repeat;
	}
}