@charset "UTF-8";

/*Gナビ*/
@media print, screen and (min-width : 941px) {
	.g-nav, .openbtn_box {
		display: none;
	}
}
@media print, screen and (max-width : 940px){
	.nav_pc {
		display: none;
	}
}

/* SP*/
.g-nav {
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position: fixed;
	z-index: 999;
	/*ナビのスタート位置と形状*/
	top: 0;
	right: -120%;
	width: 100%;
	height: 100vh;/*ナビの高さ*/
	background: #000;
    background-color: rgba(0,0,0, 0.7);
	transition: all 0.6s;/*動き*/
}

/*アクティブクラスがついたら位置を0に*/
.g-nav.panelactive {
	right: 0;
}

/*ナビゲーションの縦スクロール*/
.g-nav.panelactive .g-nav-list {
	/*ナビの数が増えた場合縦スクロール*/
	position: fixed;
	z-index: 999; 
	width: 100%;
	height: 100vh;/*表示する高さ*/
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
.g-nav ul {
	/*ナビゲーション天地中央揃え*/
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
/*リストのレイアウト設定*/
.g-nav li {
	list-style: none;
	text-align: center;
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
}
.g-nav li a {
	color: #fff;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
@media print, screen and (min-width : 448px){
    .br_nav {display: none;}
}

/*トグルボタン*/
.openbtn_box {
	top: 0px;
	right: 0px;
	width: 49px;
	height: 49px;
	z-index: 99999;/*ボタンを最前面に*/
	position: absolute;
	background-color: #cbcbcb;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
.openbtn {
	/*position: fixed;*/
	/*z-index: 9999;ボタンを最前面に*/
	/*top: 10px;
	right: 10px;*/
	cursor: pointer;
	width: 46px;
	height: 50px;
}
/*×に変化*/	
.openbtn span {
	/*display: inline-block;*/
	transition: all .4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 0px;
	background-color: #000;
  	width: 45%;
}
.openbtn span:nth-of-type(1) {
	top:15px;	
}
.openbtn span:nth-of-type(2) {
	top:23px;
}
.openbtn span:nth-of-type(3) {
	top:31px;
}
.openbtn.active span:nth-of-type(1) {
	top: 18px;
	left: 18px;
	transform: translateY(6px) rotate(-45deg);
	width: 30%;
    background-color: #fff;
}
.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
	top: 30px;
	left: 18px;
	transform: translateY(-6px) rotate(45deg);
	width: 30%;
    background-color: #fff;
}


/*PC*/
.nav ul {
	width: 24%;
    display: flex;
	flex-wrap: wrap;
    list-style: none;
    margin: 10px 0 0 40px;
    float: left;
}
.nav li {
    text-align: center;
    height: 70px;
    font-size: 15px;
    font-weight: 400;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
    line-height: 2.8em;
}
@media print, screen and (max-width : 1140px){
    .nav li {
        font-size: calc(17/1140*100vw);
    }
}
.nav li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    text-decoration: none;
    -webkit-transition: 0.3s ease-in-out;-moz-transition: 0.3s ease-in-out;-o-transition: 0.3s ease-in-out;transition: 0.3s ease-in-out;
}
.nav li a:hover {
    text-decoration: underline;
}

/*
.nav li.nav01 {
    width: 93px;
}
*/
.nav li.nav02 {
    width: 50%;
}
.nav li.nav03 {
    width: 50%;
}
.nav li.nav04 {
    width: 40%;
}
/*
.nav li.nav05 {
    width: 9%;
}
.nav li.nav06 {
    width: 20%;
}
.nav li.nav07 {
    width: 18%;
}
.nav li.nav08 {
    width: 12%;
}
*/

/*マウスオーバーでアンダーライン*/
/*
.nav li a {
	display: block;
	position: relative;
	text-decoration: none;
}
.nav li a::before, .nav_pc li a::after {
    border-bottom: solid 2px #c80000;
	bottom: 0;
	content: "";
	display: block;
	position: absolute;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	width: 0;
}
.nav li a::before {left: 50%;}
.nav li a::after {right: 50%;}
.nav li a:hover::before, .nav_pc li a:hover::after {width: 50%;}
*/

/*該当ページ表示でアンダーライン*/
.nav li.nav_on a {
	background-image: url(./images/nav_on.svg);
	background-repeat: no-repeat;
	background-position: center bottom;
}

/*子ここから*/
.nav li ul {
	list-style: none;
	position: absolute;
	top: 100%;
	/*left: 158px;*/
	margin: 0;
	padding: 0;
	z-index: 10000;
}
.nav li ul li.navi_sub{
	overflow: hidden;
	width: 100%;
	height: 0;
	color: #fff;
	-moz-transition: .2s;
	-webkit-transition: .2s;
	-o-transition: .2s;
	-ms-transition: .2s;
	transition: .2s;
	margin: 0;
	padding: 0;
	border: none;
}
.nav li ul li.navi_sub a{
	height: 44px;
	width: 20%;
	padding-top: 0px;
	padding-right: 12px;
	padding-bottom: 0px;
	padding-left: 12px;
	background: #dedede;
	text-align: left;
	font-size: 15px;
	color: #000;
	text-indent: 0px;
	font-weight: normal;
	line-height: 46px;
	-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
	border-top: 1px dotted #CCCCCC;
}
.nav li ul li.navi_sub a:hover{
	color: #fff;
	background: #9f9b9b;
}
.nav li.navi_sub:hover > a{
	/*background: #6e7c0c;*/
	color: #F2F9C6;
}
.nav > li:hover > a{
	/*border-radius: 3px 3px 0 0;*/
}
.nav li:hover ul li.navi_sub{
	overflow: visible;
	height: 44px;
}
.nav li:hover ul li.navi_sub:first-child{
	border-top: 0;
}
.nav li:hover ul li.navi_sub:last-child{
	border-bottom: 0;
}
/*子ここまで*/