#menu_toggle {
opacity: 0;
}

#menu_toggle:checked ~ .menu_btn > span {
  transform: rotate(45deg);
}
#menu_toggle:checked ~ .menu_btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu_toggle:checked ~ .menu_btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
/*Open menu*/
#menu_toggle:checked ~ nav .menu_box {
  visibility: visible;
  right: 0%;
}

.menu_btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: 1.5rem;
  right: 5%;
  border-radius: 3px;
  width: 40px;
  height: 40px;
  box-shadow: 0 0px 5px 0 #BC8EA5(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 20;
}
.menu_btn:hover{
  background-color: #F9F5F2;
}

.menu_btn > span,
.menu_btn > span::before,
.menu_btn > span::after {
  display: block;
  position: absolute;

  width: 100%;
  height: 4px;

  background-color: #BC8EA5;

  transition-duration: .25s;
}

.menu_btn > span::before {
  content: '';
  top: -8px;
}
.menu_btn > span::after {
  content: '';
  top: 8px;
}
/*Close menu*/
.menu_box {
  z-index: 10;
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  right: -100%;
  width: 80%;
  height: 80%;
  margin: 0px;
  padding: 80px 0;
  list-style: none;
  background-color: #F9F5F2;
  /*box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);*/
  border-top-left-radius: 4.6rem;
  border-bottom-left-radius: 4.6rem;
  transition-duration: .25s;
}
.menu_box li{
  margin: 30px 0 0 40px;
}

.menu_item {
  display: block;
  padding: 12px 24px;
  color: #BC8EA5;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  border-bottom: solid 1px #BC8EA5;
  text-decoration: none;
  transition-duration: .25s;
  font-family: rera, sans-serif;
  font-style: normal;
  font-weight: 100;
}
.menu_item:hover {
  background-color: #CFD8DC;
  border-left: solid 5px #ba024f;
  color: #ba024f;
}

/* large　PC　1024px 以上=================================== */

@media (min-width: 1024px) {
  .wrap{
    max-width: 1280px;
  }
    /*ハンバーガーメニュー欄外へ*/
 .menu_btn{
    top:-100px;
  }
 .menu_box {
    z-index: 100;
    display: block;
    position: relative;
    visibility: visible;
    top: -6.4rem;
    left:15%;
    /*width: 70%;
    max-width: 1024px;*/
    height: 0%;
    margin: 0px;
    padding: 0 0;
    list-style: none;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    transition-duration: .25s;
  }

  .menu_box li{
    margin: 30px 0 0 20px;
  }
  
  .menu_item {
    display: block;
    padding: 8px 0px;
    color: rgb(255, 255, 255);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    border-left: 0;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition-duration: .25s;
  }
  .menu_item:hover {
    background-color: transparent;
    border-left:0;
    color: #ba024f;
  }
  nav{
    display: flex;
  }
  .glob_nav li{
    display: flex;
  }


}
