.menu-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 36px;
    width: 30px;
    background: transparent;
    border: none;
    outline: none;
    transition: opacity 0.2s;
}

.menu-btn:hover {
    opacity: 40%;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust opacity in JS */
    z-index: 998;
    transition: opacity 0.5s ease-in-out; /* Ensure smooth transitions */
    opacity: 0; /* Start fully transparent */
}

.menu-content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #f8b629;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.5s ease;
    z-index: 999; /* オーバーレイよりも上に */
}

.menu-content.show {
    transform: translateX(0);
}

.menu-content ul {
    list-style: none;
    padding: 20px;
}

.menu-content ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 800;
}

/* test */


  .menu-content li img {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px; /* 画像のサイズを調整 */
  }

  .menu-content li:hover img {
    display: block;
  }

@media screen and (max-width: 768px) {
    .menu-content {
        width: 45vw;
    }
}   