/*! Pushy - v1.1.0 - 2017-1-30
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */


/* Menu Appearance */

.pushy {
	position: fixed;
	width: 480px;
	height: 100%;
	top: 0;
	z-index: 9999;
	background: #fff;
	overflow-x: hidden;
  	-webkit-overflow-scrolling: touch;
}
.pushy::-webkit-scrollbar {	width: 0px;}


body.dolls .pushy{background: #19151a;}


.menu-btn {
	top: 0px;
	right: 0px;
	position: fixed;
	z-index: 9998;
	display: block;
	box-sizing: content-box;
	width: 40px;
	height: 47px;
	padding: 10px 15px;
	background: #fff;
	-moz-border-radius: 0 0px 0px 10px;
	-webkit-border-radius: 0 0px 10px 10px;
	border-radius: 0 0px 0px 10px;
	webkit-transition: all 0.6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	transition: all 0.6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.buttonmenu {
	text-align: center;
	width: 50px;
	left: 11px;
	top: 46px;
	position: absolute;
	font-size: 10px;
}

.buttonmenu:before {	content: 'MENU';}
.pushy-open-left .buttonmenu:before,
.pushy-open-right .buttonmenu:before {	content: 'CLOSE';}

/* ハンバーガー */
.hamburger-icon {
	position: relative;
	display: block;
	margin-top: 15px;
}

.hamburger-icon,
.hamburger-icon:before,
.hamburger-icon:after {
	width: 40px;
	height: 4px;
	-webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	background-color: #352e36;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}

.hamburger-icon:before,
.hamburger-icon:after {
	position: absolute;
	top: -10px;
	left: 0;
	content: ' ';
}

.hamburger-icon:after {	top: 10px;}

.pushy-open-right .hamburger-icon {
	background-color: transparent;
}

.pushy-open-right .hamburger-icon:before,
.pushy-open-right .hamburger-icon:after {
	top: 0;
}

.pushy-open-right .hamburger-icon:before {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.pushy-open-right .hamburger-icon:after {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.pushy.pushy-left {
	left: 0;
}

.pushy.pushy-right {
	right: 0;
}

.pushy-content {
	visibility: hidden;
}


/* Menu Movement */

.pushy-left {
	-webkit-transform: translate3d(-480px, 0, 0);
	-ms-transform: translate3d(-480px, 0, 0);
	transform: translate3d(-480px, 0, 0);
}

/*.pushy-open-left .pushy_contentinner,*/
.pushy-open-left .push,
.pushy-open-left .menu-btn {
	-webkit-transform: translate3d(480px, 0, 0);
	-ms-transform: translate3d(480px, 0, 0);
	transform: translate3d(480px, 0, 0);
}

.pushy-right {
	-webkit-transform: translate3d(480px, 0, 0);
	-ms-transform: translate3d(480px, 0, 0);
	transform: translate3d(480px, 0, 0);
}
/*
.pushy-open-right .pushy_contentinner,*/
.pushy-open-right .push,
.pushy-open-right .menu-btn {
	-webkit-transform: translate3d(-480px, 0, 0);
	-ms-transform: translate3d(-480px, 0, 0);
	transform: translate3d(-480px, 0, 0);
}

.pushy-open-left .pushy,
.pushy-open-right .pushy {
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.pushy-open-left .pushy-content,
.pushy-open-right .pushy-content {
	visibility: visible;
}


/* Menu Transitions */

.pushy_contentinner,
.pushy,
.push {
	transition: transform 0.6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.pushy-content {
	transition: visibility 0.6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}


/* Site Overlay */

.site-overlay {
	display: none;
}

.pushy-open-left .site-overlay,
.pushy-open-right .site-overlay {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9997;
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-animation: fade 500ms;
	animation: fade 500ms;
}

@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


/* Submenu Appearance */

.pushy-submenu {
	/* Submenu Buttons */
	/* Submenu Icon */
}

.pushy-submenu ul {
	padding-left: 15px;
	transition: max-height 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.pushy-submenu ul .pushy-link {
	transition: opacity 0.3s ease-in-out;
}

.pushy-submenu button {
	width: 100%;
	color: #b3b3b1;
	padding: 15px 30px;
	text-align: left;
	background: transparent;
	border: 0;
}

.pushy-submenu button:hover {
	color: #FFF;
}

.pushy-submenu > a,
.pushy-submenu > button {
	position: relative;
}

.pushy-submenu > a::after,
.pushy-submenu > button::after {
	content: '';
	display: block;
	height: 11px;
	width: 8px;
	position: absolute;
	top: 50%;
	right: 15px;
	background: url("../img/arrow.svg") no-repeat;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	transition: transform 0.3s;
}


/* Submenu Movement */

.pushy-submenu-closed ul {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
}

.pushy-submenu-closed .pushy-link {opacity: 0;}

.pushy-submenu-open {
	/* Submenu Icon */
}

.pushy-submenu-open ul {
	max-height: 1000px;
	visibility: visible;
}

.pushy-submenu-open .pushy-link {opacity: 1;}

.pushy-submenu-open a::after,
.pushy-submenu-open button::after {
	-webkit-transform: translateY(-50%) rotate(90deg);
	-ms-transform: translateY(-50%) rotate(90deg);
	transform: translateY(-50%) rotate(90deg);
}
