
/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width:640px) {
/*layout*/
/*------------------------------------------------------------------------------*/
#wrapper {
	width: 100%;
	overflow: hidden;
}
.inner {
	width: 94%;
}
.sp {
	display: inherit;
}
.pc {
	display: none;
}
.pc_tb {
	display: none;
}
.tb {
	display: none;
}
.tb_sp {
	display: inherit;
}
.sp_none{display: none;}
.sp_block{display: block;}

/*header*/
/*------------------------------------------------------------------------------*/
header {
	background: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	z-index: 1000;
	position: absolute;
}
header .inner {position: static;}
header #logo {
	width: 26%;
	height: auto;
	z-index: 2;
}
header #logo img {
	width: 100%;
	height:auto;
}


/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav {
	width: 250px;
	height: 100%;
	background-color: #184784;
	z-index: 10000;
	position: fixed;
	top: 0;
	right: -250px;
	left: auto;
}
#gnav_btn {
	display: block;
	position: absolute;
	top: 30px;
	right: 0;
	z-index: 99999;
}
#gnav_btn a {
	display: block;
	width: 44.25px;
	height: 60px;
	text-indent: -9999px;
	background: url(../../image/corporate/gnav_btn.png) no-repeat center center;
	background-size: 44.25px;
	margin-right: 30px;
	-webkit-transition: all .3s;
	transition: all .3s;
}
#gnav_btn.open {
	top: 0;
	right: 0;
	position: fixed;
}
#gnav_btn.open a {
	background: url(../../image/corporate/gnav_btn_02.png) no-repeat center top;
	background-size: 44.25px;
	margin-right: 0;
}
#globalnav_in {
	display: block;
	width: 100%;
	overflow: hidden;
	padding-top: 60px;
}
#globalnav li {
	width: 100%;
	padding: 0;
	text-align: center;
	float: none;
}
#globalnav li a {
	padding: 10px 0;
	color: #fff;
}
.headercv_btn{
	width: 80%;
	margin: 20px auto 0;
	max-width: 320px;
}
.headercv_btn a{
	padding: 13px 10px;
	font-size: 16px;
}
/*footer*/
/*------------------------------------------------------------------------------*/
footer {
	background: url(../../image/corporate/footer_bg_01_sp.jpg) no-repeat center top;
	background-size: 700px;
	padding-top: 30px;
}
#common footer {
	background: url(../../image/corporate/footer_bg_02_sp.jpg) no-repeat center top;
	background-size: 700px;
	padding-top: 70px;
}
footer #footer_logo {
	margin-bottom: 30px;
}
footer #top_box04 {
	margin-bottom: 20px;
	height: 41vw;
}
footer #top_box04 dl {
	position: relative;
	padding: 0 10px;
}
footer #top_box04 dt .font02 {
	font-size: 16px;
	margin-bottom: 8px;
}
footer #top_box04 dt {
	margin-bottom: 10px;
	font-size: 12px;
	position: absolute;
	top: 30vw;
	left: 0;
	right: 0;
	line-height: 1.3;
}
footer #foot_nav {
	padding: 20px 0;
	text-align: center;
	border-bottom: 1px solid #8f99ad;
}
footer #foot_nav .flt_pc {
	width: 100%;
}
footer #foot_nav .flt_pc dl {
	float: none;
	width: 100%;
	padding-right: 0;
}
footer #foot_nav .flt_pc dt {
	margin-bottom: 12px;
}
footer #foot_nav .flt_pc li {
	display: none;
}
footer #foot_nav .flr_pc {
	width: 100%;
}
footer #foot_nav .flr_pc li {
	float: none;
	width: 100%;
	padding-right: 0;
	margin-bottom: 12px;
}
#footer_bottom {
	padding: 15px 0;
}
#footer_bottom ul {
	display: block;
}
/* pagetop */
/*------------------------------------------------------------------------------*/
#topcontrol {
	display: none;
}
/*------------------------------------------------------------------------------*/
}

/*------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------*/
/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width:420px) {
/*globalnav*/
/*------------------------------------------------------------------------------*/
#gnav_btn {
	top: 20px;
	right: 0;
}
#gnav_btn a {
	display: block;
	width: 35.4px;
	height: 48px;
	background-size: 35.4px;
	margin-right: 20px;
}
#globalnav li {
	font-size: 16px;
}
/*footer*/
/*------------------------------------------------------------------------------*/
footer #top_box04 {
	height: 45vw;
}
footer #top_box04 dl {
	padding: 0 5px;
}
footer #foot_nav .flt_pc dt, footer #foot_nav .flr_pc li {
	font-size: 14px;
}
/*------------------------------------------------------------------------------*/
}
