@charset "utf-8";
/*========= ぼかしのためのCSS ===============*/

.mainblur{
	filter: blur(8px);
}

/*========= ふわっと上から ===============*/

.fadeDown{
animation-name: fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

.fadeDownTrigger{
    opacity: 0;
}

/*========= 順番に現れる ===============*/

.nav01d li:nth-of-type(1){
    animation-delay: .1s;
}

.nav01d li:nth-of-type(2){
    animation-delay: .15s;
}

.nav01d li:nth-of-type(3){
    animation-delay: .2s;
}

.nav01d li:nth-of-type(4){
    animation-delay: .25s;
}

.nav01d li:nth-of-type(5){
    animation-delay: .35s;
}

.nav01d li:nth-of-type(6){
    animation-delay: .4s;
}

.nav01d li:nth-of-type(7){
    animation-delay: .45s;
}

.nav01d li:nth-of-type(8){
    animation-delay: .50s;
}

.nav01d li:nth-of-type(9){
    animation-delay: .55s;
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(51,51,51,0.7);/*背景を少し透過させる*/
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:99;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 99; 
    width: 100%;
    height: 100svh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;/*はじめは非表示*/
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
	width: 100%;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
	padding: 0;
}

#g-nav.panelactive ul {
    display: block;
}
/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	letter-spacing: 1px;
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	font-size: 16px;
}
#g-nav span {
    position: relative;
}
#g-nav span::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: -4px;
    /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
}
#g-nav span:hover::after {
    visibility: visible;
    opacity: 1;
}
/* 開いているページナビにライン */
.under_line2 span::after {
    visibility: visible!important;
    opacity: 1!important;
}


/*========= ボタンのためのCSS ===============*/

/*ボタン外側*/
.openbtn{
	position:fixed;
    display: block;
	top: 5px;
	right: 5px;
	z-index: 999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 50px;
    height:50px;
    background: #fbb03b;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #fff;
  }


.openbtn span:nth-of-type(1) {
	top:15px;	
  	width: 45%;
}

.openbtn span:nth-of-type(2) {
	top:23px;
  	width: 35%;
}

.openbtn span:nth-of-type(3) {
	top:31px;
  	width: 20%;
}

/*activeクラスが付与されると線が回転して×になる*/

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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