@charset 'utf-8';

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/*--------------------------------------------------------------------------
   メニュー
---------------------------------------------------------------------------*/


/* ------------------------------------------------ drawer menu */
.drawer-menu {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	height: 100%;
	padding: 160px 0 0 60px;
	background-color: rgba(255,255,255,0);
	/*-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: .5s;
	transition-duration: .5s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	-webkit-transform-origin: right center;
	-ms-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: perspective(500px) rotateY(-90deg);
	transform: perspective(500px) rotateY(-90deg);
	opacity: 0;*/
}
/*.drawer-menu ul {
	margin-left: 30px;
}*/

.drawer-menu li {
	text-align: left;
}

.drawer-menu .Back_Home{
	margin-left: 30px;
	outline: none;
}

.drawer-menu li a {
	display: block;
	height: 40px;
	line-height: 40px;
	font-size: 12px;
	  font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #FFF;
	-webkit-transition: all .8s;
	transition: all .8s;
	letter-spacing: 0.02em;
	outline: none;
}

.drawer-menu li p {
	font-size: 12px;
	  font-family: 'Roboto', sans-serif;
	font-weight: 500;
	color: #FFF;
	display: block;
    height: 50px;
    line-height: 50px;
	letter-spacing: 0.02em;
}





/*******アコーディオン*************/

.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: 12px;
	font-weight:lighter;
	display: block;
	margin: 0 auto;
	color: #222;
	/*line-height: 2.2em;*/
}

@media only screen and (max-width: 640px) {
.accordion li .child li a {
	font-size: 12px;
	font-weight:lighter;
	display: block;
	margin: 0 auto;
	/*line-height: 2.2em;*/
}	
}

/*******アコーディオン*************/

/* ------------------------------------------------ checkbox */
.check {
	display: none;
}

/* ------------------------------------------------ menu button */
.menu-btn {
	position: fixed;
	display: block;
	top: 40px;
	left: 40px;
	display: block;
	width: 40px;
	height: 40px;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
	z-index: 3;
}


.bar {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 40px;
	height: 1px;
	background: #222;
	-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;
}









