@charset "utf-8";

/*=====================================================
COMMON-LAYOUT
======================================================*/

div#header_wrap{
	width:100%;
	background:url(../images/top/bg.png) top left repeat-x;
	height:130px;
}

div#header{
	margin:0 auto;
	position:relative;
	max-width:960px;
	padding:0 10px;
}

div#header h1{
	position:absolute;
	top:20px;
	left:130px;
	font-size:10px;
	font-weight:normal;
}

div#header h1{
	position:absolute;
	top:30px;
	left:50%;
    transform: translateX(-50%);
	line-height:0;
	font-size:0;
}

ul#headnavi{
	position:absolute;
	top:20px;
	right:10px;
	font-size:0;
	line-height:0;
}

.nav_btn {
    position: fixed;
    top: 30px;
    right: 10px;
    width: 40px;
    display: none;
    z-index: 10000;
}

ul#headnavi li{
	float:left;
}

div#gnavi_wrap{
	position:relative;
}

ul.pc_nav{
	max-width:960px;
	margin:0 auto;
	font-size:16px;
	line-height:1.8;
    height: 30px;
    text-align: center;
}
ul.pc_nav li{
	float:left;
	width:19.79%;
    box-sizing: border-box;
    border-right: 1px solid #000000;
}
ul.pc_nav li a:hover{
    border-bottom: 1px solid #966731;
}
ul.pc_nav li:last-child{
    border-right: none;
}

ul.pc_nav li>a{
	display:block;
	position:relative;
}

ul.pc_nav li>a>img{
	transition:all 0.5s linear;
}

ul.pc_nav li>a>img.off{
	position:relative;
	z-index:1;
}

ul.pc_nav li>a:hover>img.off{
	opacity:0;
}

ul.pc_nav li>a:hover>img.on{
	opacity:1;
}

ul.pc_nav li>a.cr>img.off{
	display:none !important;
}

ul.pc_nav li>a.cr>img.on{
	position:relative !important;
	opacity:1;
}

ul.pc_nav li>a>img.on{
	position:absolute;
	top:0;
	left:0;
	z-index:2;
	opacity:0;
}

ul.pc_nav li>img.on{
	display:none;
}

ul.pc_nav li>img{
	position:relative;
	z-index:1;
	opacity:0.4;
}

.sp_nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 100px 0 0 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    height: calc(100% - 100px);
}

.sp_nav li {
	float:left;
	width:25%;
	border:1px solid #FFFFFF;
	box-sizing: border-box;
	text-align:center;
	line-height:40px;
}
.sp_nav li a {
	padding:0 1%;
	display:block;
	background:#F5F2E9;
	color:#333;
}
.sp_nav li a.cr,.sp_nav li a:hover {
	text-decoration:none;
	background:#966731;
    color:#fff;
}
ul.pc_nav li a.cr{
    border-bottom: 1px solid #966731;
}

.sp_nav li.inq {
	width:50%;
}

.sp_nav li.inq a {
	text-decoration:none;
	background:#900;
	color:#FFF;
}

div#contents_wrap{
	width:100%;
	background:url(../images/common/contents_bg.jpg) top left repeat-x;
}

div#mainimage_wrap{
	background:url(../images/top/main_bg.jpg) top center no-repeat;
}

div#mainimage{
	max-width:960px;
	margin:0 auto;
}

div#container{
	max-width:980px;
	margin:30px auto 40px;
	padding:0 10px;
}

div#footer_wrap{
    padding: 18px 0;
	width:100%;
	background: #fff;
}

div#footer{
	max-width:925px;
	margin:0 auto;
	padding:0 10px;
}

#copyright{
	background:#000;
	color:#CCC;
	padding:3px 0;
}
address{
	max-width:960px;
	margin:0 auto;
	padding:0 10px;
	text-align:right;
	font-style:normal;
	font-size:10px;
}
.footer_list{
}
.footer_list li{
    
    width: 49.86%;
    float: left;
     
}
.footer_list li a{
    display: block;
    padding: 27px 0;
    font-size: 16px;
    text-align: center;
    background: #3e3a39;
    color: #fff;
    transition: 0.5s;
}
.footer_list li a:hover{
    background: rgba(0,0,0,0.5);
}
.footer_list li:last-child{
    float: right;
}
.footer_border{
    border-bottom: 1px solid #abaaab;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.footer_logo{
    
    
}
.footer_logo li{
    width: 24.98%;
    float: left;
}
.footer_logo li:last-child{
    width: 72.98%;
    float: right;
    letter-spacing: -0.1em;
}
.page_top{
    position:absolute;
    right: 19px;
    bottom: 30px;
}
@media screen and (max-width: 767px){
    div#header_wrap{
        height:105px;
    }
	
	ul#headnavi{
		display:none;
	}
	
	ul.pc_nav{
		display:none;
	}

	.nav_btn{
		display:block;
	}
	.footer_list li{
    width: auto;
    float: none;
}
    .footer_list li:first-child{
        margin-bottom: 3%;
    }
    .footer_list li:last-child{
    width: auto;
    float: none;
}
    .footer_logo li{
        width:auto;
        float: none;
       
    }
    .footer_logo li:first-child{
         text-align: center;
        margin-bottom: 3%;
    }
    .footer_logo li:last-child{
        width: auto;
        float: none;
    }
    .page_top{
          text-align:right;
        right: 5px;
    }
    .page_top p{
      margin: auto;
        width: 70%;
    }

	
}


@media screen and (max-width: 600px){
      div#header_wrap{
        height:88px;
    }
	.sp_nav li {
		width:50%;
	}
	.sp_nav li.inq {
		width:100%;
	}
	
div#header h1 {
    left: 20px;
    width: calc(100% - 90px);
		transform: none;
}

}

#nav_close {
    background: #F5F2E9;
    color: #000;
    text-decoration: none;
    width: 100%!important;
    padding: 10px;
}

.nav_space{
    padding: 0 1%;
    display: block;
    background: #F5F2E9;
    color: #333;
}