@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{
	position: fixed;
	background: rgba(255, 255, 255, .8);
	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);
	height:60px;
	min-width: 100%;
	width:100%;
	z-index:1000;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#header-inner{
	margin:0 auto;
	max-width:1280px;
	position:relative;
	margin: 0 auto;
}
h1{
	margin:5px 10px;
	width:35%;
	float:left;
}

/* header SP */

.header-spmenu {
	width: 50px;
	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:60%;
	float:right;
	font-size:1.4em;
	line-height:1.6em;
	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;
}

/* cf */
nav > ul:after {
    content:" ";
    display:block;
    clear:both;
}

nav > ul > li {
	width:25%;
	float:left;
	line-height:60px;
	text-align:center;
}
nav > ul > li > a {
	color:#333;
	text-decoration:none;
    display: block;
}
nav > ul > li > a.active {
	color:#333;
}
nav > ul > li:hover {
	color:#0e328a;
	background:rgba(10,32,85,0.2);
	text-decoration:none;
    -webkit-transition: all .5s;
    transition: all .5s;
}

/* 繝｡繧､繝ｳ繝｡繝九Η繝ｼ縺ｮ閭梧勹 繧ｪ繝ｼ繝舌・ */
.navrollover {
	
}
nav > ul > li > ul {
	background:rgba(255,255,255,0.8);
	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);
	padding-bottom:10px;
	display: none;
}
nav > ul > li > ul li{
	float:none;
	width:100%;
	font-size:0.9em;
	line-height:1.6em;
	padding:12px 5px;
}

nav > ul li li a {
    display: block;
	color:#333;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}


@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:#30487f;
	font-size:1.2em;
	font-weight:bold;
		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.5em;
		padding:5px 10px;
		color:#fff;
		text-align:left;
		position: relative;
		float: none;
		display: block;
		border-left: none;
		border-bottom: 1px solid #6f7fa6;
	}
nav > ul > li a{
		background:url(../img/common/footer_yaji.png) left 50% no-repeat;
		color:#fff;
		text-align:left;
		line-height:1.8em;
		padding-left: 20px;
}
nav > ul > li:hover {
	color:#fff;
	background:none;
	text-decoration:none;
}
	
	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;
	}
	nav > ul > li > a br {
		display: none;	
	}
	nav > ul > li > ul {
		width: 100%;
/*	display: none;*/
		display:block !important;
		position: relative;
		top: 0;
		left: 0;
		background: none;
		padding: 0;
	}
	nav > ul > li > ul.bg1 {
		background: none;
	}
	nav > ul > li > ul.bg2 {
		background: none;
	}
	nav > ul > li > ul.bg3 {
		background: none;
	}
	nav > ul > li > ul.bg4 {
		background: none;
	}
	
nav > ul > li > ul {
	background:none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

nav > ul > li > ul li{
	width:100%;
	font-size:1.0em;
	padding:0px 5px;
}
	nav > ul > li > ul li a {
		width: 100%;
		display: block;
		background:url(../img/common/footer_yaji.png) left 50% no-repeat;
		color:#fff;
		text-align:left;
		line-height:2.5em;
		padding: 0 0 0 20px;
	}
	
	.close-button {
		width: 30%;
		cursor: pointer;
		text-align: center;
		color: #FFF;
		margin: 20px auto;
		padding: 8px;
	}
	#side-navi {
		display: none;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}

	
}


/*FOOTER*/

#globalFooter{
	background:#30487f;
	overflow:hidden;
/*	margin-top:50px;*/
}
#globalFooter .footl{
	float:left;
	margin-top:5px;
	padding: 0 20px;
}
#globalFooter .footr{
	float:right;
	color:#fff;
	font-size:1.3em;
	line-height:1.7em;
	text-align:right;
	padding: 0 20px;
}
#globalFooter .footr a{
	color:#fff;
}

#globalFooter .footernav{
	border-top:1px solid #6f7fa6;
	margin-top:10px;
	padding:20px;
	overflow:hidden;
}

#globalFooter .footernav > ul.wfb {
	width:34%;
	float:left;
}
#globalFooter .footernav > ul.wfs {
	width:22%;
	float:left;
}
#globalFooter .footernav ul > li{
	font-size:1.5em;
	margin: 2px 10px;
}
#globalFooter .footernav ul ul > li{
	font-size:0.8em;
	margin: 2px 10px;
}
#globalFooter .footernav ul li{
	color:#fff;
	text-align:left;
	line-height:1.8em;
	
}
#globalFooter .footernav ul li span.yaji{
	background:url(../img/common/footer_yaji.png) left 50% no-repeat;
	padding-left:15px;
	color:#fff;
}
#globalFooter .footernav ul li a.yaji{
	background:url(../img/common/footer_yaji.png) left 50% no-repeat;
	padding-left:15px;
	display:block;
	color:#fff;
}
#globalFooter .footernav ul li li a.yaji{
	display:inline-block;	
}
#globalFooter .footernav ul li li a{
	display:inline-block;	
	color:#fff;
}

.footer{
	background:#0a2973;
	padding:10px 20px;
	color:#fff;
	font-size:1.3em;
	text-align:center;
}

@media screen and (max-width: 800px){
#globalFooter .footernav > ul.wfb,
#globalFooter .footernav > ul.wfs {
	width:50%;
	float:left;
}
}
@media screen and (max-width: 460px){
#globalFooter .footernav > ul.wfb,
#globalFooter .footernav > ul.wfs {
	width:100%;
	float:none;
}
}