/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width:640px) {

.sp_search {
    display: block !important;
    height: 65px !important;
}

.sublogo.txt_r {
    width: 100px;
    margin-right: auto !important;
    margin-left: 39px !important;
    text-align: left;
}

#globalnav .sp_search, #globalnav .sp_en {
    display: table;
}

.search_trigger{
	display: none !important;
}

#header_search {
    padding: 2px 15px;
}

.header_search_area.open {
    background-color: rgba(0,0,0,0);
}

.col2_btn a {
    float: none;
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
}


/*layout*/
/*------------------------------------------------------------------------------*/
.inner {
	width: 94%;
}
.sp {
	display: inherit;
}
.pc {
	display: none;
}
.pc_tb {
	display: none;
}
.tb {
	display: none;
}
.tb_sp {
	display: inherit;
}
body.open {
	overflow:hidden !important;
}
.open #cover {
	position: absolute;
	top: 0;
	background: rgba(0,0,0,0.1);
	z-index: 5;
}

/*header*/
/*------------------------------------------------------------------------------*/
#header_in {
	position: relative;
	height: 100px;
}

header #header_left {
	width: 100%;
	float: none;
}
header #logo {
	padding: 0;
	position: absolute;
	top: 20px;
	left: 3%;
	width: 78%;
	text-align: left;
}
header #logo img {
	width:140px;
}

#header_contact_sp{
	position:absolute;
	top:28px;
	right:56px;
}
#header_contact_sp a {
    border: none;
}
#sp_search_btn{
	position:absolute;
	top:28px;
	right:102px;
}


/*header_right*/
/*------------------------------------------------------------------------------*/
header #header_right {
    position: relative;
	float: none;
	width: 100%;
    z-index: 200;
}

/*h_menu*/
/*------------------------------------------------------------------------------*/
header #h_menu {
	float: none;
	width: 100%;
	padding-top: 0;
	position: absolute;
	bottom: 0;
	height: 70px;
	display:none;
}
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;
}

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav{
	float: none;
    position: fixed;
    z-index: 1000;
    right: -70%;
    top: 0;
    bottom: auto;
    left: auto;
    width: 70%;
    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: 36px;
	height: 36px;
	position:absolute;
	top: 33px;
	right: 10px;
	background:url(../image/common/gnav_btn.jpg) no-repeat center;
	background-size: 36px;
	display: block;
	text-indent:-9999px;
    z-index: 1100;
}
#gnav_btn a:focus{outline: none; }
.open #gnav_btn a{
	position:fixed;
	width: 36px;
	height: 36px;
	background:url(../image/common/gnav_btn02.jpg) no-repeat center;
	background-size: 36px;
	right:10px;
}
#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;
}
#globalnav li a{
	padding: 15px 10px 15px 10%;
	height: auto;
	background:url(../image/common/arr02.png) no-repeat 6% center;
	width:100% !important;
}
#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 {
		display: none;
}
#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{
	display:table !important;
}

/*foot_contact*/
/*------------------------------------------------------------------------------*/
#foot_contact {
    background: url(../image/common/footer_contact_bg02.jpg) no-repeat center;
    height: 490px;
}
#foot_contact .inner {
	padding-top: 50px;
	text-align: center;
}
#foot_contact .flt {
	width: 100%;
	padding: 0;
	float: none;
}
#foot_contact .flr {
	width: 100%;
	float: none;
}
#foot_contact .inner h3 {
	margin-bottom: 30px;
	font-size: 28px;
}
#foot_contact .inner p {
	display: none;
}
#foot_contact .flr li {
	float: none;
	margin: 0 auto 10px;
	width: 100%;
	display: block;
}
#foot_contact #bnr_in {
	width: 88%;
	max-width: 400px;
}
#foot_contact .flt, 
#foot_contact .flr {
	display: block;
}



/*footer*/
/*------------------------------------------------------------------------------*/
footer .inner {
	width: 100%;
}
footer #footer_top {
	padding: 0;
	border-top: 2px solid #D0D0D0;
}
.tb_sp {
	border-bottom:2px solid #CCC;
}
footer .tb_sp li {
	width: 50%;
	float: left;
	border-bottom: 2px solid #D0D0D0;
	padding: 0 5px 0 20px;
	background: url("../image/common/arr02.png") no-repeat 10px 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 .inner {
    flex-wrap: wrap;
    justify-content: center;
}
#footer_bottom ul {
    padding: 20px 0;
    flex-wrap: wrap;
}
#footer_bottom li {
    border-right: none;
    flex: 0 0 100%;
    padding: 0 2%;
    text-align: center;
}

#footer_bottom li:last-child {
	border-right: none;
}
#copyright {
	text-align: center;
	line-height: 1.2;
}


#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;
}


/*scroll_box*/
/*------------------------------------------------------------------------------*/
.scroll-box{
 width:100%;
 overflow:auto;
 overflow-x:auto;
 padding-bottom:10px;
}
.scroll-box > *{
 width:700px;
}
.scroll-box::-webkit-scrollbar {
 height: 10px;
}
.scroll-box::-webkit-scrollbar-track {
 border-radius: 10px;
 background: #ddd;
}
.scroll-box::-webkit-scrollbar-thumb {
 border-radius: 5px;
 background: #213F85;
}
.scroll-info{
 display:block;
 margin-bottom:10px;
 text-align:center;
 font-size:12px;
}




/*English*/
/*------------------------------------------------------------------------------*/
#en #foot_contact { height: 260px;}
#en #globalnav li#globalnav04 {width: 100%;}

#en #globalnav li#globalnav01 a,
#en #globalnav li#globalnav02 a,
#en #globalnav li#globalnav03 a,
#en #globalnav li#globalnav04 a,
#en #globalnav li#globalnav05 a, 
#en #globalnav li#globalnav06 a {
	background: url(../image/common/arr02.png) no-repeat 6% center;
}

#en footer #footer_top .pc {
	display: none;
}


/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/



/*------------------------------------------------------------------------------*/
/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width:420px) {

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav{
    right: -90%;
    width: 90%;
}


.sp_en a {
    width: 100% !important;
}


/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
