header {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    position: sticky;
}
#header_top {
    display: flex;
    padding: 20px 190px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #DDD;
    background: #fff;
}
#header_top > img {
    display: flex;
    width: 302px;
    height: 40px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 151/20;
    cursor: pointer;
}

.header_three {
    display: flex;
    padding: 12px 32px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 60px;
    background: var(--color-maingray, #EFEFEF);
    cursor: pointer;
}
.header_three > div {
    color: var(--color-gray70, #2B2B2B);
    font-size: var(--fontSize-16, 16px);
    font-weight: 400;
}
.header_three > div:hover {
    transition: 0.3s;
    color: var(--color-main, #008CCF);

}
#gnb {
    position: relative;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #DDD;
}

#gnb > ul {
    display: flex;
    margin: 0;
    padding: 0 190px;
    list-style: none;
    justify-content: space-between;
    height: 60px;
}

#gnb > ul > li {
    flex: 1;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#gnb > ul > li > a {
    text-decoration: none;
    color: #121212;
    font-size: 20px;
    font-weight: 500;
}

.submenu {
    opacity: 0;
    visibility: hidden;

    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#gnb::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: height 0.3s ease;
    z-index: 50;
    border-top: 1px solid #DDD;
}

.submenu li a:hover {
    background: var(--color-main10, #DBF2FD);
    color: #008CCF;
    font-weight: 600;
}
.submenu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 67px;
    text-decoration: none;
    color: #121212;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.2s ease;
}

#gnb:hover::after {
    height: 200px;
}

#gnb:hover .submenu {
    opacity: 1;
    visibility: visible;
}

#gnb > ul > li:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu:hover {
    background: var(--color-main10, #DBF2FD) !important;
}

#gnb > ul > li:hover > a {
    font-weight: 700;
}
.right_hd {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
#gogobtn {
    color: var(--color-gray0, #FFF);

    /* Heading/m-16 */
    font-family: var(--font-type, Pretendard);
    font-size: var(--fontSize-16, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 24px */
    display: flex;
    padding: 12px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 60px;
    background: var(--color-main, #008CCF);
    cursor: pointer;
}
