@charset 'utf-8';

/*--------------------------------------------------------------------------
   メニュー
---------------------------------------------------------------------------*/


/* ------------------------------------------------ drawer menu */
.drawer-menu {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	padding: 10rem;
	background-color: rgba(255,255,255,0.9);
	transform: translate(100%, 0);
	opacity: 0;
	z-index: 9;
	transition: all .8s;
}
@media only screen and (max-width: 870px) {
    .drawer-menu {
        width: 100vw;
    }
}
@media only screen and (max-width: 640px) {
    .drawer-menu {
		padding: 10rem 3rem;
    }
}

.drawer-menu li {
	text-align: left;
	z-index: 9;
	margin: 1rem 0;
}

.drawer-menu li a {
	display: block;
	height: 50px;
	line-height: 50px;
	font-size: 3rem;
	font-weight: 700;
	-webkit-transition: all .8s;
	transition: all .8s;
	z-index: 9;
	font-family: "neue-haas-grotesk-display", sans-serif;
	font-weight: 600;
	font-style: normal;
}


@media only screen and (max-width: 640px) {
	.drawer-menu li {
		margin: 0;
	}
	.drawer-menu li a {
	display: block;
	height: 60px;
	line-height: 60px;
	font-size: 2.5rem;
	font-weight: bold;
	-webkit-transition: all .8s;
	transition: all .8s;
}

.drawer-menu li p {
	font-size: 20px;
	color: #6E6E6E;
	font-weight: bold;
	display: block;
	height: 60px;
	line-height: 60px;
}
}

/* .drawer-menu li a:hover {
	color: #ccc;
} */

/*******アコーディオン*************/

/* .accordion li p:hover{
	color:#ccc;
	text-decoration: none;
    transition: all .5s ease;
}

.accordion li .child{
	display:none;
	position: relative;
}
.accordion li .child li {
	display: block;
}
.accordion li .child li a {
	font-size: 11px;
	font-weight:lighter;
	display: block;
	margin: 0 auto;
}
@media only screen and (max-width: 640px) {
.accordion li .child li a {
	font-size: 12px;
	font-weight:lighter;
	display: block;
	margin: 0 auto;
}	
} */

/*******アコーディオン*************/

/* ------------------------------------------------ checkbox */
.check {
	display: none;
}

/* ------------------------------------------------ menu button */
.menu-btn {
	position: fixed;
	display: block;
	top: 40px;
	right: 40px;
	display: block;
	width: 40px;
	height: 40px;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
	z-index: 3;
}

@media screen and (max-width: 639px) {
.menu-btn {
	position: fixed;
	display: block;
	top: 30px;
	right: 20px;
	display: block;
	width: 40px;
	height: 40px;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
	z-index: 3;
}
}
.bar {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 40px;
	height: 1px;
	background: #6E6E6E;
	-webkit-transition: all .5s;
	transition: all .5s;
	-webkit-transform-origin: left top;
	-ms-transform-origin: left top;
	transform-origin: left top;
}


.bar.middle {
	top: 14px;
	opacity: 1;
}

.bar.bottom {
	top: 28px;
	-webkit-transform-origin: left bottom;
	-ms-transform-origin: left bottom;
	transform-origin: left bottom;
}

.menu-btn__text {
	position: absolute;
	bottom: -15px;
	left: 0;
	right: 0;
	margin: auto;
	color: #222;
	-webkit-transition: all .5s;
	transition: all .5s;
	display: block;
	visibility: visible;
	opacity: 1;
}

.menu-btn:hover .bar {
	background: #999;
}

.menu-btn:hover .menu-btn__text {
	color: #999;
}

/* .close-menu {
	position: fixed;
	top: 0;
	left: 300px;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0);
	cursor: url(../images/cross.svg),auto;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	visibility: hidden;
	opacity: 0;
}

/* ------------------------------------------------ checked */
.check:checked ~ .drawer-menu {
	-webkit-transition-delay: .3s;
	transition-delay: .3s;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	opacity: 1;
	z-index: 2;
}

.check:checked ~ .contents {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.check:checked ~ .menu-btn .menu-btn__text {
	visibility: hidden;
	opacity: 0;
}

.check:checked ~ .menu-btn .bar.top {
	width: 56px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.check:checked ~ .menu-btn .bar.middle {
	opacity: 0;
}

.check:checked ~ .menu-btn .bar.bottom {
	width: 56px;
	top: 40px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.check:checked ~ .close-menu {
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
	-webkit-transition-delay: .3s;
	transition-delay: .3s;
	background: rgba(0,0,0,.5);
	visibility: visible;
	opacity: 1;
	z-index: 3;
}
@media only screen and (max-width: 640px) {
    .check:checked ~ .close-menu {
        opacity: 0;
    }
}




