@charset "UTF-8";
/* CSS Document */
/*==============================================
ハンバーガーメニュー
===============================================*/
.openbtn {
    display: none;
}
#menu {
    top: 0;
    width: 100%;
    padding: 40px 2.5% 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}
#menu.active {
    background-color: #fff;
}
@media only screen and (max-width:820px) {
    /*==============================================
ハンバーガーメニュー
===============================================*/
    .openbtn {
        position: fixed;
        background: var(--main);
		background-color: transparent;
        cursor: pointer;
        width: 60px;
        height: 60px;
        z-index: 99999;
        display: block;
		transition: 0.25s;
    }
    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        -webkit-transition: all .4s;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 50%;
        height: 1px;
        background: #fff;
        width: 60%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
	header.active .openbtn span{
		background: #000;
	}
	.openbtn.black span {
		background: #000;
	}
    .openbtn span:nth-of-type(1) {
        top: 25px;
    }
    .openbtn span:nth-of-type(2) {
        top: 35px;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 27px;
        left: 50%;
        -webkit-transform: translate(-50%, 6px) rotate(-45deg);
        transform: translate(-50%, 6px) rotate(-45deg);
    }
    .openbtn.active span:nth-of-type(2) {
        top: 38px;
        left: 50%;
        -webkit-transform: translate(-50%, -6px) rotate(45deg);
        transform: translate(-50%, -6px) rotate(45deg);
    }
	.openbtn.active2{
		background-color: var(--main);
	}
    /*メニュー右寄せ ==============================================*/
    .openbtn.rightBtn {
        top: 0;
        right: 0;
    }
    /*==============================================
OPENメニュー
===============================================*/
    #menu {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: var(--main);
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    #menu.panelactive {
        z-index: 999;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    /*ナビゲーション ====================================================*/
    #menu ul {
        text-align: left;
    }
    #menu.all ul {
        display: none
    }
    #menu.panelactive > ul {
        display: block;
    }
/*メニュー左から右に ==============================================*/
#menu.slideRight{
	z-index: 999;
	top:0;
    left: -120%;
	transition: all 0.6s;
}
#menu.slideRight.panelactive{
	left: 0;
}
	#menu.slideRight ul li{
		position: relative;
		opacity: 0;
		left: -10px;
	}
	#menu.slideRight ul li.effect_1{
		transition: 0.5s 0.5s all;
	}
	#menu.slideRight ul li.effect_2{
		transition: 0.5s 0.6s;
	}
	#menu.slideRight ul li.effect_3{
		transition: 0.5s 0.7s;
	}
	#menu.slideRight ul li.effect_4{
		transition: 0.5s 0.8s;
	}
	#menu.slideRight ul li.effect_5{
		transition: 0.5s 0.9s;
	}
	#menu.slideRight ul li.effect_6{
		transition: 0.5s 1s;
	}
	#menu.slideRight ul li.effect_7{
		transition: 0.5s 1.1s;
	}
	#menu.slideRight ul li.effect_8{
		transition: 0.5s 1.2s;
	}
	#menu.slideRight.panelactive ul li{
		opacity: 1;
		left: 0;
	}
	#menu.slideRight.panelactive ul li.logo_menu{
		display: none;
	}
}