#header {
    height: 100px;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    position:relative;
    z-index:99;
}
#header .hd_logo {
    width:80px;
    height:fit-content;
}
#header .hd_logo img{
    width: 100%;
}
#header .hd_nav ul {
    width: 100%;
    justify-content: space-between;
}

#header .hd_nav ul li {
    white-space: nowrap;
    margin: 0 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hd_nav a {
    text-decoration: none;
    color: #000;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    z-index: 1;
    width: auto;
}

.dropdown .col-flex {
    width: auto;
    padding: 20px;
    text-align: left;
    text-align: center;
}

.dropdown a {
    display: block;
    padding: 12px 0;
    color: #333333;
}

.hd_nav li:hover .dropdown {
    display: flex;
}

.hd_nav .on {
    position: relative;
}

.hd_nav .on::after {
    content: "";
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
}


/* mobile */
@media screen and (max-width: 767px) {
    #header{
        padding-left:10px;
        padding-right:20px;
        width:100%;
        background-color: #fff;
        height:70px;
        position: fixed;
        z-index:9999;
    }
    #header .hd_logo {
        width:40px;
        height:fit-content;
    }
    .hd_nav {
        display: none;
    }

    #header .pointer{
        padding-right:20px;
    }
    #overlay{
        position:relative;
        z-index:999999;
    }

}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {}

/* pc */
@media screen and (min-width: 1025px) and (max-width: 1400px) {}