header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 100%;
    height: 89px;
}

header .header_logo_box {
    width: 155px;
}

header .header_logo_box img {
    width: 100%;
}

/* header .menu_bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

header .menu_bg.open {
    opacity: 1;
    pointer-events: all;
} */

header .menu_toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 99;
    width: 69px;
    height: 69px;
    cursor: pointer;
}

header .menu_toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 31px;
    height: 1px;
    background-color: #3B5E76;
    transition: 0.3s
}

header.front_header .menu_toggle span {
    background-color: #FFF;
}

header .menu_toggle span:nth-of-type(1) {
    top: 22px;
}

header .menu_toggle span:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

header .menu_toggle span:nth-of-type(3) {
    bottom: 22px;
}

header .menu_toggle.open span:nth-of-type(1) {
    top: 50%;
    transform: translateX(-50%) rotate(45deg);
}

header .menu_toggle.open span:nth-of-type(2) {
    opacity: 0;
}

header .menu_toggle.open span:nth-of-type(3) {
    bottom: 50%;
    transform: translateX(-50%) rotate(-45deg);
}

header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    overflow: auto;
    width: 0;
    max-width: 530px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    transition: width 0.8s ease-out, opacity 0.1s ease-out;
    opacity: 0;
}

header nav .bg_img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 364px;
}

header nav .bg_img img {
    width: 100%;
}

header .menu_toggle.open+nav {
    padding: 64px 20px 30px;
    width: 40%;
    opacity: 1;
}

header nav ul {
    display: flex;
    flex-direction: column;
    gap: max(3.3vw, 45px);
    margin-top: 15vh;
    text-orientation: upright;
    opacity: 0;
    transform: translateY(-10px);
    transition-duration: 0.3s;
    transition-delay: 0.5s;
}

header .menu_toggle.open+nav ul {
    transform: translateY(0);
    opacity: 1;
}

header nav ul li {
    position: relative;
}

header nav ul li ::before {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #FFF;
}

header nav ul li a {
    color: #FFF;
    font-size: 16px;
    line-height: 1.13;
    letter-spacing: 0.3em;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width:990px) {
    header {
        justify-content: flex-start;
        height: 80px;
    }

    header .menu_toggle {
        width: 60px;
        height: 60px;
    }

    header .menu_toggle span {
        width: 27px;
    }

    header .menu_toggle.open+nav {
        width: 530px;
        max-width: unset;
    }
}

@media screen and (max-width:768px) {
    header .menu_toggle.open+nav {
        width: 90%;
    }
}

@media screen and (max-width:500px) {
    header nav .bg_img{
        width: 300px;
    }
    header nav ul {
        gap: 35px;
    }
}