@charset "UTF-8";

/*Gナビ*/
@media print, screen and (min-width : 768px) {
	.g-nav, .openbtn_box {
		display: none;
	}
}
@media screen and (max-width : 767px) {
	.nav_pc {
		display: none;
	}
}

/*Gナビモバイルここから*/
/* 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.8);
	transition: all 0.6s;/*動き*/
    overflow: auto;
}

/*アクティブクラスがついたら位置を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_box {
    color: #f7f7f7;
    text-align: center;
    padding: 50px 0 0 0;
}
.g-nav_logo {
    margin-top: 20px;
    padding: 0 10px;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}

.m_nav {
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0 auto;
}
.m_nav ul {
    display: flex;
	flex-wrap: wrap;
	width: 100%;
    list-style: none;
    font-size: 14px;
}
.m_nav ul li {
    width: 100%;
    text-align: left;
    padding: 0 5px;
}
.m_nav ul li a {
    width: 100%;
    display: block;
    line-height: 2.2em;
    color: #fff;
    margin-bottom: 3px;
    padding: 3px 0 3px 20px;
    background: url(../images/btn_next.svg) no-repeat center right 10px/ 6px auto, #ff7c1c;
    border-radius: 3px;-webkit-border-radius: 3px;-moz-border-radius: 3px;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
.m_nav li ul li.nav_sub a {
    background: url(../images/btn_next.svg) no-repeat center left 10px/ 6px auto;
    padding: 3px 0 3px 25px;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}


/*トグルボタン*/
.openbtn_box {
	top: 0px;
	right: 0px;
	width: 50px;
	height: 50px;
    background: #ff7c1c;
	z-index: 99999;/*ボタンを最前面に*/
	position: absolute;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
.openbtn {
	cursor: pointer;
	width: 100%;
	height: 100%;
}
/*×に変化*/	
.openbtn span {
	transition: all .4s;
	position: absolute;
	left: 12px;
	height: 2px;
	border-radius: 0px;
	background-color: #fff;
  	width: 50%;
}
.openbtn span:nth-of-type(1) {
	top:15px;
}
.openbtn span:nth-of-type(2) {
	top:24px;
    /*width: 50%;
    /*width: 70%;
    margin-left: 20%;*/
}
.openbtn span:nth-of-type(3) {
	top:33px;
    /*width: 20%;
    margin-left: 50%;*/*
}
.openbtn.active span:nth-of-type(1) {
	top: 18px;
	left: 10px;
	transform: translateY(6px) rotate(-45deg);
	width: 60%;
    background-color: #f7f7f7;
}
.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
	top: 30px;
	left: 10px;
	transform: translateY(-6px) rotate(45deg);
	width: 60%;
    margin-left: 0;
    background-color: #f7f7f7;
}
/*Gナビモバイルここまで*/


/*GナビPCここから*/
.nav_pc {
	width: 100%;
    background: #ff7c1c;
    margin-top: 6px;
}
.nav_pc ul {
	max-width: 1200px;
    width: 100%;
    margin: auto;
	display: flex;
    flex-wrap: wrap;
    vertical-align: middle;
    list-style: none;
    font-size: 15px;
}
.nav_pc ul li {
	text-align: center;
    width: -webkit-calc(100% / 7);
    width: calc(100% / 7);
}
.nav_pc ul li a {
	display: block;
	padding: 20px 0px 5px 0px;
	width: 100%;
    height: 100%;
    color: #fff;
	text-decoration: none;
    background: url(../images/nav_line.svg) no-repeat top 9px right;
    -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
.nav_pc ul li:first-child a {
    background: url(../images/nav_line.svg) no-repeat top 9px left, url(../images/nav_line.svg) no-repeat top 9px right;
}
.nav_pc ul li a:hover {
    filter: alpha(opacity=60);
	-ms-filter: "alpha( opacity=60 )";
    color: #fff;
	-webkit-transition: 0.6s ease-in-out;-moz-transition: 0.6s ease-in-out;-o-transition: 0.6s ease-in-out;transition: 0.6s ease-in-out;
}

/*マウスオーバーでアンダーラインが左右に広がる(親のみ適用)*/
.nav_in a {
	display: block;
	text-decoration: none;
	padding: 0px 0 0 0;
}
.nav_in > a:after {
	display: block;
	content: "";
	width: 0%;
	height: 3px;
	background: #fff;
	transition: .25s ease-out;
	-webkit-transition: .25s ease-out;-moz-transition: .25s ease-out;-o-transition: .25s ease-out;-ms-transition: .25s ease-out;
	margin: 12px auto -2px auto;
}
.nav_in > a:hover:after,
.nav_in > a.active:after {
	width: 98%;
}


.nav_pc ul li.nav_on a::after {
	display: block;
	content: "";
	width: 98%;
	height: 3px;
	background-color: #fff;
	margin-top: 12px;
	margin-right: auto;
	margin-bottom: -5px;
	margin-left: auto;
}



/*子ここから*/
.nav_pc li ul {
	list-style: none;
	position: absolute;
	top: 100%;
	margin: 2px 0 0 0;
	padding: 0;
	z-index: 10000;
    width: 260px;
}
.nav_pc li ul li.nav_sub {
	overflow: hidden;
	width: 100%;
	height: 0;
	color: #f7f7f7;
	-moz-transition: .2s;-webkit-transition: .2s;-o-transition: .2s;-ms-transition: .2s;transition: .2s;
	margin: 0;
	padding: 0;
	border: none;
}
.nav_pc li ul li.nav_sub a {
	height: 44px;
	width: 100%;
	padding: 0px 12px 0px 12px;
    background: url(../images/btn_next.svg) no-repeat right 5px center/ 5px auto, #f7f7f7;
	text-align: left;
	font-size: 15px;
	color: #252e48;
	text-indent: 0px;
	font-weight: normal;
	line-height: 46px;
	-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
.nav_pc li ul li.nav_sub a:hover{
	color: #252e48;
    background: url(../images/btn_next.svg) no-repeat right 5px center/ 5px auto, #d8eafc;
	transition: background 0.1s;
}
.nav_pc li:hover ul li.nav_sub {
	overflow: visible;
	height: 44px;
	border-bottom: 1px dotted #000;
}
.nav_pc li:hover ul li.nav_sub:first-child {
	border-top: 0;
}
.nav_pc li:hover ul li.nav_sub:last-child {
	border-bottom: 0;
}
/*子ここまで*/
/*GナビPCここまで*/