html, body {
  scroll-behavior: auto !important;
}

header {
    z-index: 9999;
    width: 100%;
    transition: all .3s ease-in-out;
    position: absolute;
}

header.fixed {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    transition: all .3s ease-in-out;
    position: fixed;
}

header.fixed .v_logo img {
    transition: all .3s ease-in-out;
}

nav {
    z-index: 81;
}

.v_green_box {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(0, 110, 99, 0.8);
    transition: all .3s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.v_lang_box {
    column-gap: 15px;
    display: flex;
    flex-direction: row;
}

.v_lang_item {
    color: white;
    cursor: pointer;
}

.v_lang_item:hover {
    color: white;
}

.v_social_box {
    margin-left: 30px;
    column-gap: 10px;
    display: flex;
    flex-direction: row;
}

.v_social_box a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v_social_box a:hover {
    background-color: white;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
}

.v_social_box a i {
    font-size: 14px;
}

.v_menu_box {
    z-index: 80;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.v_logo {
    padding: 20px 0;
}

.v_logo img {
    width: 100%;
    max-width: 288px;
    transition: all .3s ease-in-out;
}

.v_menu_ul {
    height: 100%;
    display: flex;
    flex-direction: row;
}

.v_menu_ul > li {
    padding-left: 70px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all .3s ease-in-out;
}

.v_menu_ul li:last-child{
    padding-right: 0;
}

.v_menu_ul h6 {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    font-family: "Barlow", "Noto Sans TC", "Noto Sans SC", serif;
}

.v_menu_ul li:hover h6::after {
    bottom: -15px;
    width: 100%;
    height: 6px;
    background-color: var(--gold-color);
    content: "　";
    position: absolute;
}

@media screen and (min-width: 1200px) {
    .v_menu_ul li:hover .v_menu_sub_menu {
        display: flex;
    }
}

.v_menu_sub_menu {
    left: 0;
    padding: 30px 0;
    width: 100%;
    background-color: rgba(207, 143, 116, .8);
    row-gap: 30px;
    position: absolute;
    flex-direction: column;
    display: none;
}

.v_menu_sub_ul {
    left: 0;
    gap: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.v_menu_sub_ul > li {
    padding: 0 20px;
}

.v_menu_sub_ul li a{
    color: white;
}

.v_menu_sub_ul li a:hover {
    text-decoration: underline;
}

.v_menu_sub_ul > div {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}

@media screen and (max-width: 1768px) {
    .v_logo img {
        max-width: 240px;
    }
}

@media screen and (max-width: 1600px) {
    .v_menu_ul > li {
        padding-left: 40px;
    }
}

@media screen and (max-width: 1400px) {
    .v_lr {
        padding-left: 4rem!important;
        padding-right: 4rem!important;
    }
}

#MobileMenuDiv {
    display: none;
}


@media screen and (max-width: 1280px) {
    .v_lr {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media screen and (max-width: 1199px) {
    .overflow-hidden {
        overflow: hidden;
    }
    
    .v_lr {
        padding-left: 40px!important;
        padding-right: 40px!important;
    }

    .v_logo {
        padding: 15px 0;
    }

    .v_logo img {
        max-width: 165px;
    }

    nav {
        width: 100%;
        overflow: auto;
    }

    .v_green_box {
        justify-content: space-between;
    }

    #MobileMenuDiv {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: white;
    }

    #MobileMenuDiv > div {
        cursor: pointer;
    }

    #MobileMenuDiv > div > i {
        font-size: 32px;
        color: var(--green-color);
    }

    .v_menu_box {
        display: none;
    }

    .v_menu_box.active {
        width: 100%;
        height: 100vh;
        padding: 0 0 40px 0!important;
        display: flex;
        justify-content: center;
        position: absolute;
    }

    .v_menu_box .v_logo {
        display: none;
    }

    .v_menu_ul {
        height: calc(100vh - 160px);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        overflow: auto;
    }

    .v_menu_ul > li {
        width: 100%;
        margin-bottom: 30px;
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .v_menu_ul > li:last-child{
        margin-bottom: 0;
    }

    .v_menu_ul > li.active > .v_menu_sub_menu {
        width: 100%;
        display: flex;
    }

    .v_menu_ul h6 br {
        display: none;
    }

    .v_menu_sub_menu {
        margin-top: 10px;
        row-gap: 10px;
        top: 0!important;
        padding: 0;
        position: relative;
        display: none;
        background-color: transparent;
    }

    .v_menu_ul li:hover h6::after {
        bottom: auto!important;
        width: 100%;
        height: 0;
        background-color: none;
        position: relative;
    }

    .v_menu_sub_ul {
        width: 100%;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .v_menu_sub_ul > div {
        display: none;
    }

    .v_menu_sub_ul > li {
        width: 100%;
        padding: 0;
        border-bottom: 1px dashed lightgrey;
    }

    .v_menu_sub_ul li a {
        font-size: 16px;
        padding: 10px 0;
        color: var(--text-color);
        display: flex;
    }

    .v_menu_sub_ul li a:hover {
        text-decoration: none;
    }
}


@media screen and (max-width: 640px) {
    .v_lr {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
}