/* screens smaller than 1400---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1024px) {


header #logo img {
    margin:0;
}
.open.header_search_area {
    height: auto;
    padding: 22px;
}

body.open {
	overflow:hidden !important;
}
.open #cover {
	position: absolute;
	top: 0;
	background: rgba(0,0,0,0.1);
	z-index: 5;
}

.sp_search {
    display: block !important;
    height: 75px !important;
}

.sp_en{
   display: table !important;

}

#globalnav .sp_search, #globalnav .sp_en {
    display: table;
}

.search_trigger{
	display: none !important;
}

#header_search {
    padding: 0px 15px;
}

.header_search_area{
	max-width: none;
}

.header_search_area.open {
    background-color: rgba(0,0,0,0);
}


/*header*/
/*------------------------------------------------------------------------------*/
#header_in {
	position: relative;
	height: 100px;
}
header #header_left {
	width: 100%;
	float: none;
}
header #logo {
	padding: 0;
	position: absolute;
	top: 12px;
	left: 3%;
	width: auto;
	text-align: left;
}

/*header_right*/
/*------------------------------------------------------------------------------*/
header #header_right {
	float: none;
	width: 100%;
}
/*h_menu*/
/*------------------------------------------------------------------------------*/
header #h_menu {
	float: none;
	width: 100%;
	padding-top: 0;
	position: absolute;
	bottom: 0;
	height: 70px;
}
header #h_menu li {
	float: left;
	width: 50%;
	margin-right: 0;
	display: table;
	height: 70px;
}
header #h_menu li a {
	height: 70px;
	line-height: 1.4;
	width: 100%;
	border-radius: 0;
	display: table-cell;
	vertical-align: middle;
}
header #h_menu li:nth-child(3) {
	display: none;
}
header #h_menu li:nth-child(1) .sub {
	background: url("../image/common/icon09.png") no-repeat left center;
	padding: 8px 0 8px 40px;
}
header #h_menu li:nth-child(2) .sub {
	background: url("../image/common/icon10.png") no-repeat left center;
	padding: 8px 0 8px 40px;
}





/*foot_contact*/
/*------------------------------------------------------------------------------*/
#foot_contact .inner {
	padding-top: 60px;
	text-align: center;
}
#foot_contact .flt {
	width: 100%;
	margin-bottom: 20px;
	float: none;
}
#foot_contact .inner h3 {
	margin-bottom: 10px;
}
#foot_contact .flr {
	width: 100%;
	float: none;
}




/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

@media only screen and (min-width:1025px) and (max-width:1399px) {

/*	header #header_left {
	    float: left;
	    width: 20%;
	}
	header #header_right {
	    float: right;
	    width: 80%;
	}
	header #h_menu li a {
	    display: block;
	    color: #fff;
	    height: 40px;
	    line-height: 40px;
	    width: 120px;
	    border-radius: 20px;
	    text-align: center;
	}
	header #h_menu .lang a {
	    background-color: #e4e4e4;
	    width: 120px;
	    border-radius: 20px;
	    color: #e50012;
	}
	header #h_menu {
	    float: right;
	    width: 420px;
	    padding-top: 30px;
	}
	header #h_menu li {
	    float: left;
	    margin-right: 5px;
	}

	#globalnav {
	    float: left;
	    width: -webkit-calc(100% - 430px);
	    width: calc(100% - 425px);
	    background: url(../image/common/line01.jpg) no-repeat left center;
	}
	#globalnav li a {padding: 0 3px;}
	#globalnav ul li .megaMenu {
		display: none;
		width: -webkit-calc(100% - 380px);
		width: calc(100% - 380px);
		left: 20%;
	}*/


}/*------------------------------------------------------------------------------*/


/* screens smaller than 1080---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1079px) {
	/*layout*/
	/*------------------------------------------------------------------------------*/
	.inner {
		width: 95%;
	}
	.pc {
		display: none;
	}
	.tb {
		display: inherit;
	}
	.tb_sp {
		display: inherit;
		border-bottom:2px solid #CCC;
	}

	/*foot_contact*/
	/*------------------------------------------------------------------------------*/
	#foot_contact .flt, 
	#foot_contact .flr {
		display: block;
	}

	/*footer*/
	/*------------------------------------------------------------------------------*/
	footer .inner {
		width: 100%;
	}
	footer #footer_top {
		padding: 0;
		border-top: 2px solid #D0D0D0;
	}
	footer .tb_sp li {
		width: 50%;
		float: left;
		border-bottom: 2px solid #D0D0D0;
		padding: 0 5px 0 30px;
		background: url("../image/common/arr02.png") no-repeat 20px 22px;
	}
	footer .tb_sp li a {
		display: block;
		padding: 15px 0;
	}
	footer .tb_sp li:nth-child(2n+1) {
		border-right: 2px solid #D0D0D0;
	}
	footer .tb_sp li:last-child,
	footer .tb_sp li:nth-last-child(2):nth-child(odd) {
		border-bottom: none;
	}
	#footer_bottom {
		padding: 0;
		border-top: 2px solid #D0D0D0;
	}

	#footer_bottom ul {
		padding: 20px 0;
	}


	#footer_youtube{
		text-align:center;
		width:100%;
		position:static;
		padding:15px 0;
		height:auto;
	}
	#footer_youtube a{
		display:inline-block;
	}
	#footer_youtube img{ width:35px;}
	#footer_youtube_txt{ display:inline-block; line-height:35px; margin-left:15px;}

	footer #footer_top .inner{
		padding:0;
	}

	/* pagetop */
	/*------------------------------------------------------------------------------*/
	a.pagetop {
		width: 50px;
		height: 50px;
		background: url(../image/common/pagetop.png) no-repeat 0 0;
		background-size: 50px;
	}

}/*------------------------------------------------------------------------------*/



/* screens smaller than 850---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:849px) {

	/*globalnav*/
	/*------------------------------------------------------------------------------*/
	#globalnav{
	    right: -60%;
	    width: 60%;
	}

	#foot_contact #bnr_in {
		width: 94%;
	}

	.sp_search{
		display: none;
	}

	.sp_en a {
	    width: 100% !important;
	}

}/*------------------------------------------------------------------------------*/



@media only screen and (max-width:1180px) {

	/*header*/
	/*------------------------------------------------------------------------------*/
	header #h_menu{display:none;}
	#header_contact_sp{
		position:absolute;
		top:27px;
		right:85px;
		display:block;
	}
	#header_contact_sp a{
		display:block;
		width:48px;
		height:48px;
		background:url(../image/common/icon_letter_red.png) no-repeat center center / 30px auto;
		overflow:hidden;
		text-indent:-9999px;
	}
	#header_contact_sp a:hover{
		opacity:0.7;
	}
	#sp_search_btn{
		position:absolute;
		top:27px;
		right:148px;
		display:block;
	}
	#sp_search_btn a{
		display:block;
		width:48px;
		height:48px;
		background:url(../image/search_icon.png) no-repeat center center / 24px auto;
		overflow:hidden;
		text-indent:-9999px;
	}
	#sp_search_btn a:hover{
		opacity:0.7;
	}

	.header_search_area{
		padding:20px 0;
		max-width: none;
		background:#FFF;
		border-top:1px solid #EEE;
		border-bottom:1px solid #EEE;
	}
	/*globalnav*/
	/*------------------------------------------------------------------------------*/
	#globalnav{
		float: none;
	    position: fixed;
	    z-index: 1000;
	    right: -40%;
	    top: 0;
	    bottom: auto;
	    left: auto;
	    width: 40%;
	    height: 100%;
	    -webkit-transition: all 0.5s;
	    transition: all 0.5s;
	    background: #fff none;
	}
	.open #globalnav {
	    right: 0%;
		overflow-y:auto;
	}
	#globalnav nav{width: 100%; }
	#gnav_btn{display:block;text-indent:-9999px;}
	#gnav_btn a{
		width: 48px;
		height: 48px;
		position:absolute;
		top: 28px;
		right: 2%;
		background:url(../image/common/gnav_btn.jpg) no-repeat center;
		background-size: 48px;
		display: block;
		text-indent:-9999px;
	    z-index: 1100;
	}
	#gnav_btn a:focus{outline: none; }
	.open #gnav_btn a{
		position:fixed;
		width: 54.5px;
		height: 48px;
		background:url(../image/common/gnav_btn02.jpg) no-repeat center;
		background-size: 54.5px;
	}
	#globalnav_in{
		display:block;
		width: 100%;
		overflow: visible;
		position:absolute;
		top: 100px;
		left: 0;
		z-index: 100;
	}
	.open #globalnav ul{
		display: block;
	}
	#globalnav li,
	#globalnav li#globalnav04 {
		float:none;
		width: 100%;
		height: auto;
		border-bottom: 2px solid #ddd;
		text-align: left;
		background: none;
	}
	#globalnav li a{
		padding: 15px 10px 15px 10%;
		height: auto;
		background:url(../image/common/arr02.png) no-repeat 6% center;
	}
	#globalnav li#globalnav01 a,
	#globalnav li#globalnav02 a,
	#globalnav li#globalnav03 a,
	#globalnav li#globalnav04 a,
	#globalnav li#globalnav05 a, 
	#globalnav li#globalnav06 a {
		background:url(../image/common/arr02.png) no-repeat 6% center;
	}
	#globalnav li a:hover,#globalnav li.main_current a{
		color: #333;
		position: relative;
	}
	#globalnav li a:hover:after,#globalnav li.main_current a:after{
		position: absolute;
		width: 34%;
		height: 2px;
		background: #E50012;
		bottom: -2px;
		left: 0;
		content: '';
	}
	#globalnav li .megaMenu_wrap {display: none;}
	#globalnav07, #lang_menu{display:block !important;}
	#globalnav07 a, #lang_menu a{display: block !important;}

	#lang_menu {
	    border-bottom: none !important;
	    margin: 10px auto 0;
	    width: 200px !important;
	}
	#lang_menu a {
	    background: #DDD !important;
	    border-radius: 5px;
	    text-align: center;
	    transition: 0.8s;
	}
	#lang_menu a:hover {
		color: #FFF !important;
		background-color: #E50012 !important;
	}
	#lang_menu a:hover:after, #lang_menu.main_current a:after{
		display: none
	}

}/*------------------------------------------------------------------------------*/




/*------------------------------------------------------------------------------*/
/*English*/
/*------------------------------------------------------------------------------*/


/* screens smaller than 1080--------------------------------------------------- */
@media only screen and (max-width:1079px){

	/*FOOTER*/
	#en footer #footer_top .pc {display: none;}

}
@media only screen and (max-width:1100px) {

	/*header*/
	#en header #logo {top: 0;}
	#en #globalnav li#globalnav04 {width: 100%;}
	
}/*------------------------------------------------------------------------------*/
