@charset "UTF-8";
/*リセット*/
    button {
	border: none;
	background-image: none;
	outline: none;
	background-color: #57117A;
	position: absolute;
    }

/*ハンバーガーメニュー*/
    .menu,
    .menu span {
	display: inline-block;
	-webkit-transition: all .4s;
	transition: all .4s;
	box-sizing: border-box;
	right: 10px;
    }

    .menu {
	width: 50px;
	height: 50px;
	top: 15px;
	z-index: 1000;
	background-image: url(../img/sp_menu.png);
    }

    .menu span {
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #FFFFFF;
	z-index: 10;
    }

    .menu span:nth-of-type(1) {
    top: 0px;
    }

    .menu span:nth-of-type(2) {
    top: 10px;
    }

    .menu span:nth-of-type(3) {
    bottom: 0px;
    }

    .menu.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
    }

    .menu.active span:nth-of-type(2) {
    opacity: 0;
    }

    .menu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
    }

    #nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    opacity: 0;
	background-color: #57117A;
    transition: all 0.3s ease-in-out;
    visibility:hidden;

    }

    #nav.active{
    right: 0;
    opacity: 1;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    }

    #nav ul{
    margin:50px 0;
    padding:20px 0;
    }

    #nav ul li{
    list-style-type: none;
	border-top: 1px dashed #9E4AC8;
    }

    #nav ul li a{
	display: block;
	padding: 10px 0;
	transition: all 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	color: #FFFFFF;
	font-size: 120%;
	border-bottom: 1px dashed #876697;
    }
