.hidden {
    display: none;
}

body {
    font-family: "Kaisei Decol", serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

#menu {
    display: none;
}

@media screen and (max-width: 1024px) and (min-width: 768px){
    .menu {
        height: 100vh;
        background-color: #06430C;
        z-index: -1;
        position: fixed;
        display: flex !important;
        width: 100%;
        color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 3%;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0s 0.5s; 
        justify-content: center;
    }
    
    .menu.visible {
        visibility: visible; 
        opacity: 1; 
        z-index: 20;
        transition: opacity 0.5s ease, visibility 0s; 
    }
    
    .menu .button {
        position: absolute;
        top: 9%;
        right: 10%;
    }
    
    .menu .button svg {
        font-size: 40px;
    }
    
    .menu.visible {
        opacity: 1;
    }
    
    .menu a {
        display: flex;
        flex-flow: column;
        align-items: center;
    }
    
    .menu img {
        width: 100%;
        margin: 1% 0;
    }
    
    .menu img:nth-of-type(2) {
        width: 70%;
    }
    
    .menu ul:nth-of-type(1) a{
        font-size: 1.8vw;
        position: relative;
        color: #fff;
    }
    
    .menu ul:nth-of-type(1) a::before {
        content: "";
        position: absolute;
        left: -50%;
        top: 50%;
        transform: rotate(45deg) translateY(-60%);
        width: 1.8vw;
        height: 1.8vw;
        background-color: #ffffff;
    }
    
    .menu ul {
        display: flex;
        gap: 10%;
        width: 100%;
        justify-content: center;
        margin-top: 3%;
    }
    
    .menu ul li {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    .menu ul:nth-of-type(2) li {
        width: 20%;
    }
    
    .menu h3 {
        font-size: 1.6vw;
    }
    
    .menu h4 {
        font-size: 1.4vw;
        margin-left: 5%;
    }
    
    .reserve {
        max-width: 280px;
        width: 20%;
        aspect-ratio: 4.5 / 1;
        border: 1px solid #0F4414;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        position: relative;
        color: #24580B;
        background-color: #fff;
        margin-top: 4%;
    }
    
    .reserve span {
        transform: translateX(10%);
        font-size: 1.2vw;
    }
    
    .reserve span::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: rotate(45deg) translateY(-60%);
        left: -40%;
        width: 1.4vw;
        height: 1.4vw;
        background-color: #225631;
    }
    
    /*  */
    nav {
        top: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        align-items: center;
        justify-content: end;
        gap: 2%;
        padding:1% 2% 1% 0;
        box-sizing: border-box;
        z-index: 10;
        position: fixed;
        display: flex !important;
    }
    
    nav a {
        width: 15%;
    }
    
    nav img {
        width: 100%;
    }
    
    .button {
        width: 30px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 10;
        position: relative;
    }
    
    .button span {
        display: block;
        height: 4px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }
}

@media screen and (max-width: 767px) {
    .menu {
        height: 100vh;
        background-color: #06430C;
        z-index: -1;
        display: flex !important;
        position: fixed;
        width: 100%;
        color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 3%;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0s 0.5s; 
        justify-content: center;
    }
    
    .menu.visible {
        visibility: visible; 
        opacity: 1; 
        z-index: 20;
        transition: opacity 0.5s ease, visibility 0s; 
    }
    
    .menu .button {
        position: absolute;
        top: 5%;
        right: 10%;
    }
    
    .menu .button i {
        font-size: 40px;
    }
    
    .menu.visible {
        opacity: 1;
    }
    
    .menu a {
        display: flex;
        flex-flow: column;
        align-items: center;
    }
    
    .menu img {
        width: 80%;
        max-width: 250px;
        margin: 1% 0;
    }
    
    .menu img:nth-of-type(2) {
        width: 60%;
    }
    
    .menu ul:nth-of-type(1) a{
        font-size: 1rem;
        position: relative;
        margin-bottom: 10%;
        color: #fff;
        align-items: start;
    }
    
    .menu ul:nth-of-type(1) a:last-of-type {
        margin-bottom: 4%;
    }
    
    .menu ul:nth-of-type(1) a::before {
        content: "";
        position: absolute;
        left: -10%;
        top: 50%;
        transform: rotate(45deg) translateY(-60%);
        width: 1.8vw;
        height: 1.8vw;
        background-color: #ffffff;
    }
    
    .menu ul {
        display: flex;
        gap: 10%;
        width: 80%;
        padding: 0 5%;
        justify-content: center;
        flex-flow: column;
        box-sizing: border-box;
        margin-top: 2%;
    }
    
    
    .menu ul li {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    .menu ul:nth-of-type(2) li {
        width: 20%;
        margin-top: 5%;
    }
    
    .menu h3 {
        font-size: 3vw;
        margin-right: 20%;
    }
    
    .menu h4 {
        font-size: 2vw;
        margin-left: 5%;
    }
    
    .reserve {
        max-width: 280px;
        width: 50%;
        min-width: 100px;
        aspect-ratio: 4.5 / 1;
        border: 1px solid #0F4414;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        position: relative;
        color: #24580B;
        background-color: #fff;
        margin-top: 4%;
    }
    
    .reserve span {
        transform: translateX(10%);
        font-size: 3vw;
    }
    
    .reserve span::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: rotate(45deg) translateY(-60%);
        left: -40%;
        width: 4vw;
        height: 4vw;
        background-color: #225631;
    }

    /*  */
    nav {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 2%;
        padding: 1% 2% 1% 5%;
        box-sizing: border-box;
        z-index: 10;
        position: fixed;
        display: flex !important;
    }
    
    nav a {
        width: 25%;
    }
    
    nav img {
        width: 100%;    
        min-width: 130px;
    }
    
    .button {
        width: 30px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 10;
        position: relative;
        font-size: 40px;
    }
    
    .button span {
        display: block;
        height: 4px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }
}