/* screens smaller than 1280---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1279px) {

/*header*/
/*------------------------------------------------------------------------------*/
header {
	position: relative;
	background: none;
}
header #header_in {
	width: 100%;
	position: static;
	padding: 0;
}
header h1 {
	left: 3%;
	top: 5px;
	color: #333;
	line-height: 1.2;
	padding-right: 3%;
}
header #logo {
	left: 3%;
}

/*globalnav*/
/*------------------------------------------------------------------------------*/
#globalnav{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
}
#gnav_btn{display:block;}
#gnav_btn a{
	width: 45px;
	height: 60px;
	position:absolute;
	top: 20px;
	right: 5%;
	background:url(../image/common/gnav_btn01.png) no-repeat center center;
	background-size: 45px 60px;
	display: block;
	text-indent:-9999px;
    z-index: 110;
}
  #globalnav #close_btn {
    width: 12%;
    height: 60px;
    float: left;
    background: url("../image/common/gnav_btn02.png") no-repeat center center #111;
    background-size: 45px 60px;
    position: relative;
    right: -100%;
    cursor: pointer;
  }
#globalnav_in{
    width: 88%;
    float: left;
    position: relative;
    right: -88%;
	z-index:10000;
}
#globalnav li{
	float:none;
	width: 100%;
	height: auto;
	text-align: left;
	border-bottom: 1px solid #000;
	background: #111 url("../image/common/arr01.png") no-repeat 96% center;
}
#globalnav #globalnav02,
#globalnav #globalnav01 {
	background: #111 none;
}
#globalnav li a {
	padding: 14px 8vw;
	height: auto;
	color: #FFF;
}
#globalnav #globalnav07 {
	width: 100%;
}
#globalnav #globalnav07 a {
	color: #fff;
	padding: 14px 8vw;
	width: 100%;
	background: #111 url("../image/common/arr01.png") no-repeat 96% center;
}
#globalnav #globalnav07 a .icon{
	display: none;
}
#globalnav #globalnav07 .sub {
	color: #c2ab7e;
	margin-top: 2px;
}
#globalnav #globalnav07 a:hover {
	opacity: 1;
	color: #c2ab7e;
}
#globalnav li a:after {
	content: "";
	width: 6px;
	height: 6px;
	border-width: 1px 1px 0 0;
}
#globalnav .title {
	float: left;
	width: 90%;
}
#globalnav .acc_title .open-close {
    float:right;
    text-indent:-9999px;
    display:block;
    width:10%;
    height: auto;
    background: url(../image/common/open.png) no-repeat center;
    background-size: 16px 16px;
    padding: 18px 0;
    cursor: pointer;
} 
#globalnav .acc_title.active .open-close{
    background:url(../image/common/close.png) no-repeat center;
    background-size: 16px 16px;
}
#globalnav .unit .open-close {
	display: inherit;
}
#globalnav ul li .sub_menu {
	z-index: 1;
	position: static;
	width: 100%;
	display: none;
    opacity: 1;
    visibility: visible;
}
#globalnav li .sub_menu li  {
	border-bottom: none;
	width: 100%;
}
#globalnav li .sub_menu li a {
	background: #111 url("../image/common/arr01.png") no-repeat 11% center;
	color: #fff;
	padding-left: 14%;
}
#globalnav li .sub_menu li a:hover {
	background-color: #111;
	color: #c2ab7e;
}

/*------------------------------------------------------------------------------*/
}

/* screens smaller than 1025---------------------------------------------------------- */
@media only screen and (min-width:641px) and (max-width:1024px) {

/*layout*/
/*------------------------------------------------------------------------------*/
.pc {
	display: none;
}
.tb {
	display: inherit;
}
.tb_sp {
	display: inherit;
}
.inner {
	width: 95%;
}

/*footer*/
/*------------------------------------------------------------------------------*/
footer {
	padding-top: 40px;
	margin-top: 80px;
}
footer .inner {
	width: 100%;
}
#footer_top {
	position: relative;
}
footer #f_logo {
	margin-bottom: 110px;
}
#footer_top #f_bnr {
	padding: 0;
	position: absolute;
	top: 70px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 340px;
}
#footer_top #f_bnr li {
	float: left;
}
#footer_top #f_bnr li:first-child {
	margin-right: 15px;
}
#footer_top .unit {
  background: #0a425b;
}
#footer_top #f_m_01,
#footer_top #f_m_02,
#footer_top #f_m_03,
#footer_top #f_m_04,
#footer_top #f_m_05 {
	float: none;
	width: 100%;
}
#footer_top dl {
	margin-bottom: 0;
}
#footer_top dt,
#footer_top .f_menu01 li {
	margin-bottom: 0;
	border-top: 1px solid #25647d;
	font-size: 15px;
	padding: 15px 0;
    cursor: pointer;
    vertical-align: middle;
}
#footer_top dt a,
#footer_top .f_menu01 li a {
	color: #FFF;
}
#footer_top dl li a {
	font-size: 13px;
	color: #FFF;
}
#footer_top .title {
	float: left;
	width: 90%;
	padding-left: 10%;
}
#footer_top .acc_title .open-close {
    float:right;
    text-indent:-9999px;
    display:block;
    width:10%;
    background:url(../image/common/open.png) no-repeat center;
    background-size: 12px 12px;
    opacity: 0.5;
} 
#footer_top .acc_title.active .open-close{
    background:url(../image/common/close.png) no-repeat center;
    background-size: 12px 12px;
    opacity: 0.5;
}
#footer_top dt a {
	color: #FFF;
}
#footer_top .unit .open-close {
	display: inherit;
}
#footer_top  dl li {
	padding: 7px 0 7px 15px;
	font-size: 13px;
}
#footer_top  dd {
	padding-left: 12%;
	padding-bottom: 10px;
	display: none;
}
#footer_top .f_menu01 li {
	padding-left: 10%;
	font-size: 15px;
}
#footer_bottom {
	padding: 10px 0;
	border-top: none;
	text-align: center;
	font-size: 12px;
}
#footer_bottom .flt,
#footer_bottom .flr {
	float: none;
	width: 100%;
}
#footer_bottom .flr_pc {
	width: 100%;
	margin: 0 0 10px;
	text-align: center;
}
#footer_bottom .flt_pc {
	width: 100%;
}




/*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
