@charset "utf-8";

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

.none {
	opacity: 0.4;
	pointer-events:none;
}

body {
	overflow-x: hidden;
}

div#header_wrap{
	width:100%;
	height:90px;
	z-index: 9999;
}

div#header{
	margin:0 auto;
	position:relative;
	max-width:100%;
	padding:0 20px;
	box-sizing: border-box;
}

div#header h1{
	position:absolute;
	top:20px;
	left:20px;
	line-height:0;
	font-size:0;
}

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

.nav_btn{
	/*position:absolute;
	top:0;
	right:20px;
	width:40px;
	display:none;*/
	cursor: pointer;
}

ul#headnavi li{
	float:left;
}

div#gnavi_wrap{
	position:fixed;
	height: 100vh;
	background:#000;
	top:0;
	right: 0;
	height: 100%;
	padding: 6% 3% 3%;
	box-sizing: border-box;
	transform: translateX(100%);
	transition:all 0.3s ease-in-out;
	z-index: 9999;
}


/*div#gnavi_inner {
	position: relative;
}*/

div#gnavi_wrap.on{
	transform: none;
}

.nav_cls {
	position: absolute;
	right: 15px;
	top: 15px;
	cursor: pointer;
}
ul.pc_nav{
	margin:0;
	font-size:0;
	line-height:0;
	height: 100%;
}
ul.pc_nav li{
	padding-bottom: 30px;
	height: 12.5%;
	max-height: 80px;
	box-sizing: border-box;
}

ul.pc_nav li a {
	display:block;
	width:100%;
	height:100%;
	position:relative;
	padding:0;
	box-sizing: border-box;
}
/*ul.pc_nav li a img {
	position:absolute;
	top:5px;
	left:-100%;
	right:-100%;
	margin:0 auto;
	z-index:2;
	transition:all 0.3s ease-in-out;
}
ul.pc_nav li a:hover img {
	opacity:0.8;
}*/
ul.pc_nav li a img {
	position: relative;
	max-height: 100%;
}
/*ul.pc_nav li a:after {
	content:"";
	position:absolute;
	bottom:-2px;
	left:0;
	width:0;
	height:1px;
	background:#fff;
	transition:all 0.3s ease-in-out;
}
ul.pc_nav li a:hover:after {
	width:100%;
	left:0%;
}
ul.pc_nav li a.cr:after {
	width:100%;
	left:0%;
}*/




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

ul.sp_nav {
	position:absolute;
	top:0;
	left:0;
	right:0;
	background:#333;
	z-index:9999;
	display:none;
}
.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:#EEE;
	color:#333;
}
.sp_nav li a.cr,.sp_nav li a:hover {
	text-decoration:none;
	background:rgba(255,255,255,0.5);
}


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

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

div#contents_wrap{
	width:100%;
	overflow: hidden;
}

div#mainimage_wrap{
}

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

div#container{
	max-width:1280px;
	margin:60px auto 60px;
	padding:0 10px;
}

div#entry_wrap {
	background: url(../images/common/entry_bj.jpg) center center;
	background-size: cover;
	text-align: center;
	padding: 60px 10px;
	box-sizing: border-box;
	margin: 10px auto;
}


div#footer_wrap{
	width:100%;
	background: #333333;
	position: relative;
}

.pagetop {
	position: absolute;
	right: 0;
	bottom: 0;
}

div#footer{
	margin:0 auto;
	padding:20px;
	color: #fff;
}

.copyright{
	position: absolute;
	bottom:15px;
	left:15px;
}

div#footer .f_l {
	float: left;
}

div#footer .f_r {
	float: right;
}

div#footer .f_r ul{
	float: left;
	margin-left: 30px;
}
div#footer .f_r ul li{
	padding-bottom: 1px;
	margin-bottom: 9px;
	font-size: 14px;
	color: rgba(255,255,255,0.3);
}
div#footer .f_r ul li a{
	color: rgba(255,255,255,1);
}
div#footer .f_r ul li a:hover{
	border-bottom: solid 1px #fff;
}


address{
	max-width:960px;
	margin:0 auto;
	padding:0 10px;
	text-align:right;
	font-style:normal;
	font-size:10px;
}


@media screen and (max-width: 1000px){
	
	div#footer .f_r ul{
		margin-left: 15px;
	}
	
	div#footer .f_r ul li{
		margin-bottom: 5px;
		font-size: 12px;
	}
}

@media screen and (max-width: 900px){

	div#footer .f_l {
		float: none;
		text-align: center;
	}

	div#footer .f_r {
		float: none;
		text-align: center;
		margin-bottom: 20px;
	}

	div#footer .f_r ul{
		float:none;
		display: inline-block;
		margin-left: 0;
		padding: 10px;
		vertical-align: top;
	}
	div#footer .f_r ul li{
		margin-bottom: 5px;
		font-size: 12px;
		text-align: left;
	}
	div#footer .f_r ul li a:hover{
		border-bottom: solid 1px #fff;
	}
	
	.copyright{
		position: static;
		margin-top: 10px;
		margin-bottom: 20px;
		
	}
	
	div#entry_wrap {
		background: url(../images/common/entry_bg_s.jpg) top center;
		background-size: cover;
		text-align: center;
	}
}

@media screen and (max-width: 767px){
	
	div#header h1{
		top:15px;
		left:10px;
		width: 40%;
	}
	
	ul#headnavi{
		right: 10px;
	}
	
	div#container{
		margin:40px auto 40px;
	}


}


@media screen and (max-width: 600px){

	div#header_wrap{
		height:auto;
	}

	div#header {
		padding: 0;
	}
	
	div#header h1{
		top:10px;
		left:10px;
		width: 50%;
	}
	
	ul#headnavi{
		position: relative;
		margin-left:auto ;
		margin-right: 0;
		width: 40%;
		right: 0;
	}

	ul#headnavi li:nth-child(1){
		width: 69.5652%
	}
	ul#headnavi li:nth-child(2){
		width: 30.4348%
	}
	
	div#gnavi_wrap{
		padding: 15% 10% 10%;
	}
	
	ul.pc_nav li{
		padding-bottom: 20px;
		height: 10%;
	}
	
}	

@media screen and (max-width: 350px){
	
	div#footer .f_r ul{
		padding: 5px;
	}
	
}



@media print {
	
	div#header h1 {
		 width: 40%;
	}
	div#footer .f_r ul {
		width: calc(25% - 30px);
	}
	
	div#footer .f_l {
		float: none;
		text-align: center;
	}
	
	.copyright{
		position: static;
		margin-top: 10px;
		margin-bottom: 20px;
	}
	
}


