
.hamburger-menu{
	min-width: 72px;
	Position: relative;
}
#active:checked ~ .wrapper{
  /*left: 0;*/
  right:0;
}
.menu-btn{
  position: absolute;
  z-index: 2;
  right: 0px;
  top: 0px;
  height: 30px;
  width: 54px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  /*color: #fff;*/
  /*background: linear-gradient(90deg, #f92c78, #4114a1);*/
  /* background: linear-gradient(375deg, #1cc7d0, #2ede98); */
 /* background: linear-gradient(-45deg, #e3eefe 0%, #efddfb 100%); */
  transition: all 0.3s ease-in-out;
}
.menu-btn span,
.menu-btn:before,
.menu-btn:after{
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	border-bottom: 4px solid #fff;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu-btn:before{
  transform: translateY(-8px);
}
.menu-btn:after{
    transform: translateY(0px);
    max-width: 32px;
    right: 0;
    left: unset;
}

#active:checked + .menu-btn {
    width: 30px;
}

#active:checked + .menu-btn span,
#active:checked + .menu-btn:before,
#active:checked + .menu-btn:after{
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	border-bottom: 2px solid #fff;
}


.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}

/* closing animation */
#active:checked + .menu-btn span {
	transform: scaleX(0);
}
#active:checked + .menu-btn:before {
	transform: rotate(45deg);
  border-color: #fff;
}
#active:checked + .menu-btn:after {
	transform: rotate(-45deg);
  border-color: #fff;
}
.wrapper ul{
  position: absolute;
  top: 60%;
  left: 50%;
  height: 90%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
}
.wrapper ul li{
  height: 10%;
  margin: 15px 0;
}
.wrapper ul li a{
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  padding: 5px 30px;
  color: #fff;
  border-radius: 50px;
  position: absolute;
  line-height: 50px;
  margin: 5px 30px;
  opacity: 0;
  transition: all 0.3s ease;
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.wrapper ul li a:after{
  position: absolute;
  content: "";
  background: #fff;
   /*background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0);*/
  /*background: linear-gradient(375deg, #1cc7d0, #2ede98);*/
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50px;
  transform: scaleY(0);
  z-index: -1;
  transition: transform 0.3s ease;
}
.wrapper ul li a:hover:after{
  transform: scaleY(1);
}
.wrapper ul li a:hover{
  color: #1a73e8;
}
#active{
  display: none;
}


#active:checked ~ .wrapper ul li a{
  opacity: 1;
}
.wrapper ul li a{
  transition: opacity 1.2s, transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateX(100px);
}
#active:checked ~ .wrapper ul li a{
	transform: none;
	transition-timing-function: ease, cubic-bezier(.1,1.3,.3,1); /* easeOutBackを緩めた感じ */
   transition-delay: .6s;
  transform: translateX(-100px);
}

.header-top{
	position: relative;
	z-index: 80;
}
.main-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    left: 100%;
    z-index: 77;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
	transition: all 0.6s ease-in-out;
	background: url(/assets/img/menu-bg.jpg) right bottom no-repeat #243B33;
	background: url(/assets/img/menu-bg.png) right bottom no-repeat #243B33;
	background-size: cover;
	margin: 0;
}

.wrap-main-menu{
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-link{
	font-family: 'Cormorant';
	font-style: normal;
	font-weight: 700;
	font-size: 40px;
	line-height: 17px;
	text-align: center;
	color: #FFFFFF;
	text-decoration: none;
	
    margin: 1.8rem 0px 1rem 0px;
    padding-bottom: 0.8rem;
	display: inline-block;
	border-bottom: 1px solid transparent;
}

.main-link:hover, .wrap-main-menu .active .main-link{
	color: #BBAB8B;

	border-bottom: 1px solid #BBAB8B;

}

body.open-menu{
    overflow: hidden;
}

body.open-menu .main-menu{
    right: 0;
	left: 0;
}
