@media screen and (max-width: 1024px) {
#logo {
  max-width: 30%;
  display: block;

}

#entry {
  display: none;
}

#entry-sp {
  display: block;
  background-color: #ea5415;
  padding: 4px 12px;
  border-radius: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  z-index: 10;
}

#entry-sp a {
  color: #fff;
  text-decoration: none;
  display: block;
}


nav {
  width: 100%;
  height: 100%;
  position: relative;
  background: #fff;
}


.drawer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* position: relative; */
  /* height: 70px; */
  width: 100vh;
}
.header a img{
  /* width: 250px; */
  height: auto;
  max-width: calc(100vw - 80px);
  /* height: auto; */
}

/*ナビゲーション部分*/
/* .navi ul li{
  list-style: none;
}
.navi ul{
  padding-bottom: 40px;
}
.navi ul li a {
  display:block;
  font-weight:bold;
  font-size: 12px;
  padding: 2em;
  border-bottom: 0px dotted #CCC;
  color:#333;
  text-decoration:none;
}
.navi ul li a:hover{
  background-color:rgba(0,0,0,0.5);
  color:orange;
} */



.navi ul.navi_menu{
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

ul.navi_menu li {
  width: 140px;
  margin-left: 0px;
  margin-top: 1px;
  text-align: center;
}

.navi li a {
  color: #fff;
  font-size: 12px;
  display: block;
  /* border-radius: 6px; */
  padding: 5px;
}

.navi li a:hover {
  background-color: #cae4c0;
  color: #000;
}

.navi {
  width: 90%;
  display: block;
  text-align: center;
  position: absolute;
  border: 5px solid #DB4E72;
  padding: 30px;
  bottom: 0px;
  right: 5px;
  transform: translate(105%,100%);
  height: 75vh;
  background: #f5fffa;
}

.navi.open{
  width: 90%;
  display: block;
  transition: 0.5s ease;
  /* position: absolute; */
  border: 5px solid #DB4E72;
  /* bottom: 0px; */
  /* right: 0px; */
  transform: translate(0% , 100%);
  /* padding: 30px; */
}




/*トグルボタンのスタイルを指定*/
.Toggle {
  display: block;
  position: relative;
  /* bodyに対しての絶対位置指定 */
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 9999;
  right: 15px;
}

.Toggle span {
  display: block;
  position: absolute;
  width: 50px;
  /* border-bottom: solid 4px #333; */
  -webkit-transition: .35s ease-in-out;
  /*変化の速度を指定*/
  -moz-transition: .35s ease-in-out;
  /*変化の速度を指定*/
  transition: .35s ease-in-out;
  /*変化の速度を指定*/

}

.Toggle span:nth-child(1) {
  top: 8px;
}

.Toggle span:nth-child(2) {
  top: 18px;
}

.Toggle span:nth-child(3) {
  top: 28px;
}

.Toggle.active {
  z-index: 9999;
}

.Toggle.active span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}









  header::after {
    display: none;
  }


  nav {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-around;
    align-items: center;

  }

  .Toggle {
    /* display: none; */
  }

  /* .navi {
    width: 100%;
    background-color: transparent;
    margin-top: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  } */

  /*  .navi ul{
   height: 70px;
   display: flex;
   flex-wrap: nowrap;
   justify-content: flex-end;
   align-items: center;
   min-width: 471px;
   padding-bottom: 0;
  }
  .navi ul li a{
   padding: 0.4em 1em;
   border-bottom: none; font-weight: normal; font-size: 12px;

  }*/

  /*    .navi ul li a:hover
  {
    background-color:transparent;
  }*/
  .navi ul {
    display: flex;
    justify-content: flex-end;
  }

  .navi li {
    width: 123px;
    margin-left: 10px;
    text-align: center;
  }

  .navi li a {
    /* background-color: #3B9753; */
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    display: block;
    /* border-radius: 6px; */
    padding: 5px;
  }

  .navi li a:hover {
    background-color: #cae4c0;
    color: #000;
  }

}