@charset "UTF-8";
/* CSS Document */

/* レスポンシブで画像を切り替える（CSS） */
@media screen and (max-width: 800px) {
    .pcnav {
        display:none; /* PC用画像を非表示にする */
    }
}
/* レスポンシブで画像を切り替える（CSS） */
@media screen and (min-width: 800px) {
    .spnav {
        display:none; /* PC用画像を非表示にする */
    }
}


body {
    position: relative;
    left: 0;
}
body.open{
	width: 100%;
    position: fixed;
}

/* ナビゲーション
----------------------------------------------------------------------------- */

/* sp menu setting */

.layer{
    display: none;
    width: 100%;
    height: 100%;
	position: fixed;
    top: 0;
	left: 0;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD000000,endColorstr=#DD000000); 
    background: rgba(0, 0, 0, 0.8);
	z-index: 999!important;
}
.layer:not(:target) {
	filter: none;
}

/*==================
header
====================*/

/*トップページナビゲーション*/

header{
	box-shadow: 0px 3px 3px -3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 3px 3px -3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 3px 3px -3px rgba(0, 0, 0, 0.2);
	min-width: 100%;
	width:100%;
	z-index:1000;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
/*	overflow:hidden;*/
}
header:after{
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

#header-inner{
	margin:0 auto;
	max-width:1280px;
	position:relative;
	margin: 0 auto;
}
h1{
	padding:15px 10px;
	width:30%;
	float:left;
}

/* header SP */

.header-spmenu {
	width: 60px;
	display: none;
	float: right;
	text-align: center;
	cursor: pointer;
	margin:5px;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/*==================================================

Navi
=================================================*/

/* header menu */

nav {
	width:68%;
	float:right;
	position: relative;
	z-index: 1000 !important;
	right:0;
}

nav > ul {
	width: 100%;
	position: relative;
	display: table;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000,endColorstr=#00000000); 
    background-color: rgba(0, 0, 0, 0);
}
nav > ul:not(:target) {
	filter: none;
}

nav > ul li a{
    display: block;
    padding: 15px 5px;
}

/* cf */

nav > ul:after {
    content:" ";
    display:block;
    clear:both;
}

nav > ul > li {
	width:20%;
	float:left;
	text-align:center;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}
nav > ul li ul{
	font-size:1.5em;
	background:#fff;
	}

nav > ul > li > ul li > a {
	color:#333;
	text-decoration:none;
    display: block;
	border-top:1px solid #dfdfdf;
}
nav > ul > li > ul li > a.active {
	color:#333;
}
nav > ul li:hover {
	color:#0e328a;
	background:rgba(0,102,199,0.1);
	text-decoration:none;
    -webkit-transition: all .5s;
    transition: all .5s;
}

@media only screen and (min-width: 820px) {
nav > ul {
    transform: skew(-10deg);
}

nav > ul > li:first-child {
	border-left:1px solid #dfdfdf;
}
nav > ul > li {
	border-right:1px solid #dfdfdf;
}
nav > ul > li > a {
    transform: skew(10deg);
}
nav > ul > li > ul > li > a {
    transform: skew(10deg);
}
nav > ul li ul{
	display:none;
	position:absolute;
	top:80px;
	width:20%;
	}

}

@media only screen and (max-width: 1000px) {
nav > ul li ul{
	top:70px;
	}

	}

@media only screen and (max-width: 820px) {
	
#wrapper {
	width: 100%;
	min-width: 100%;
}
	
	
h1{
	width:70%;
}

	/* header SP*/
	.header-spmenu {
		display: block;
	}
	
	/*==================================================
	
	Navi
	=================================================*/
	
	nav {
		width: 240px;
		height: 100%;
		position: fixed;
		background:#ffffff;
		top: 0;
		right: -240px;
	/*right:0;*/
	}
	
	nav > ul {
		width: 100%;
		height: 100%;
		position: relative;
		display: block;
		padding: 10px 0;
		overflow: hidden;
	}
	
	nav > ul > li {
		width: 100%;
		line-height:2.0em;
		padding:0px 10px;
		color:#fff;
		text-align:left;
		position: relative;
		float: none;
		display: block;
		border-left: none;
		border-bottom: 1px solid #6f7fa6;
	}
nav > ul > li a{
		color:#333;
		text-align:center;
		line-height:1.8em;
}
nav > ul > li > a{
    padding: 8px 5px;
}
nav > ul > li:hover {
	color:#222;
	background:none;
	text-decoration:none;
}
nav > ul li ul{
	font-size:1.3em;
	background:#fff;
	}

nav > ul > li > ul li > a {
    padding: 5px 5px;
}
	
	nav > ul > li,
	nav > ul > li:nth-of-type(1),
	nav > ul > li:nth-last-of-type(2) {
		/* bg image reset */
		background: none;
	}
	
	nav > ul > li:nth-last-of-type(1) {
		border-bottom: none;
	}
	
	
	.close-button {
		width: 30%;
		cursor: pointer;
		text-align: center;
		color: #333;
		margin: 10px auto;
		padding: 8px;
	font-size:1.2em;
	font-weight:bold;
	}
	#side-navi {
		display: none;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}

	
}


/*FOOTER*/

#globalFooter{
	border-top:3px solid #006dc4;
	overflow:hidden;
	margin-top:30px;
}
.footer{
	padding:15px 20px;
	font-size:1.2em;
	font-family:Verdana, Geneva, sans-serif;
	text-align:center;
}
