header {
    position: relative;
    z-index: 5;
}

.header_fixed_wrap {
    position: relative;
    width: var(--content_margin);
    position: fixed;
    top: 0;
    left: 0;
    margin-top: var(--top_margin);
    border-right: 1px solid #000;
    height: 100dvh;
    padding: 0 20px 0 var(--rel_padding);
}

.header_content_title {
    font-family: "Nanum Myeongjo", serif !important;
    font-weight: 700;
    font-size: 26px;
    display: block;
    width: fit-content;
    position: absolute;
    top: 80px;
}

.header_content_title.header_content_title_company {
    left: var(--rel_padding);
}

.header_content_title.header_content_title_brand {
    left: var(--rel_padding);
}

.header_content_title.header_content_title_notice {
    left: var(--rel_padding);
}

.header_content_title::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 6px;
    height: 6px;
    background-color: var(--m_color);
    border-radius: calc(1px / 0);
}

.header_logo_wrap a {
    display: block;
}

.header_logo_wrap svg {
    fill: var(--m_color);
}

.header_fixed_menu {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header_fixed_menu a {
    color: #000;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: all .3s ease-in-out;
}

.header_fixed_menu a:hover {
    color: #fff;
}

.header_fixed_menu a::after {
    width: calc(100% + 10px);
    height: 0px;
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    z-index: -1;
    background-color: var(--m_color);
    transition: all .3s ease-in-out;
}

.header_fixed_menu a:hover::after {
    height: calc(100% + 10px);
}

.header_fixed_menu a.active {
    color: #fff;
}

.header_fixed_menu a.active::after {
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    background-color: var(--m_color);
}

.header_fixed_menu a.active::before {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 1px;
    content: "";
    background-color: #ddd;
}

.main_left_svg {
    position: absolute;
    left: -2em;
    bottom: calc(15em + 60px);
    rotate: 90deg;
    width: 400px;
    opacity: .1;
    pointer-events: none;
}

.main_left_svg g {
    fill: var(--m_color);
}

.btn_top {
    background-color: #000;
    width: 40px;
    height: 40px;
    border-radius: calc(1px / 0);
    cursor: pointer;
    outline: 0;
    border: 0;
    position: absolute;
    bottom: 120px;
    right: 20px;
    transition: all .3s ease-in-out;
}

.btn_top:hover {
    background-color: var(--m_color);
}

/* wrap */
.wrap {
    margin-left: var(--content_margin);
    padding-left: 20px;
}

.content {
    padding-top: var(--top_margin);
    padding-bottom: 60px;
}

.top_menu_wrap {
    position: relative;
    width: var(--content_width);
    margin-bottom: 60px;
    padding-bottom: 60px;
}

.top_menu_wrap::after {
    width: 1px;
    height: 40px;
    content: "";
    position: absolute;
    background-color: #000;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.top_menu {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.top_menu>li {
    position: relative;
}

.top_menu>li>a {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    justify-content: center;
    opacity: #888;
    transition: all .3s ease-in-out;
}

.top_menu>li.on>a {
    font-weight: 600;
    color: #fff;
}

.top_menu>li::before {
    position: absolute;
    z-index: -1;
    left: -5px;
    bottom: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background-color: var(--m_color);
    transition: all .3s ease-in-out;
}
.top_menu>li:not(.on):hover a{
    color: #fff;
}
.top_menu>li:not(.on):hover::before {
    content: "";
    animation: top_menu_circle .4s ease-in-out;
}

@keyframes top_menu_circle {
    0% {
        height: 0px;
    }

    100% {
        height: calc(100% + 10px);
    }
}

.top_menu>li.on::before {
    content: "";
}

.top_menu_depth2 {
    display: none;
    left: 0;
    margin-top: 30px;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.top_menu_depth2::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ddd;
    bottom: -15px;
    left: 0;
    z-index: -1;
}

.top_menu_depth2.on {
    display: flex;
}
.top_menu_depth2>li{
    position: relative;
}
.top_menu_depth2>li:not(:last-child)::before{
    position: absolute;
    content: "";
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: .5px;
    height: 20px;
    background-color: #333;
}
.top_menu_depth2>li>a {
    font-size: 20px;
    opacity: 1;
    color: #888;
    text-decoration: none;
    transition: all .3s ease-in-out;
    position: relative;
    z-index: 2;
}

.top_menu_depth2>li>a::after {
    width: calc(100% + 20px);
    height: 3px;
    background-color: var(--m_color);
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    z-index: -1;
}

.top_menu_depth2>li>a:hover {
    color: #000;
}

.top_menu_depth2>li.on>a {
    color: #000;
    opacity: 1;
}

.top_menu_depth2>li.on>a::after {
    content: "";
}

.content_inner {
    width: var(--content_width);
    overflow: hidden;
}

/* Footer */

.footer {
    margin-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    width: var(--content_width);
}

.footer_logo {
    margin-right: 20px;
}
.footer_logo svg{
    fill: var(--m_color);
}
.footer_txt_wrap {
    flex: 1;
    display: flex;
}

.footer_txt {
    display: flex;
    flex: 1;
    align-items: center;
}

.footer_txt p {
    flex: 1;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
}

.copyright b {
    color: var(--m_color);
    font-weight: 700;
}

/* 인터렉션 */
.top_menu>li:not(.on):hover>a {
    opacity: 1;
}

/* 풀메뉴 */
.full_menu_btn {
    position: fixed;
    right: 140px;
    top: var(--top_margin);
    z-index: 11;
}

.full_menu_btn button {
    width: 40px;
    height: 40px;
    position: relative;
    background-color: transparent;
    border: unset;
    outline: unset;
    cursor: pointer;
}

.full_menu_btn button::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--m_color);
    border-radius: calc(1px / 0);
    top: 5px;
    left: 5px;
    z-index: -1;
    transform: scale(0);
    transition: all .3s ease-in-out;
}

.full_menu_btn button:hover::after {
    transform: scale(1);
}

.full_menu_btn button span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: calc(1px / 0);
    background-color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease-in-out;
}

.full_menu_btn button span:nth-child(1) {
    top: calc(50% - 6px);
}

.full_menu_btn button span:nth-child(3) {
    top: calc(50% + 6px)
}

.full_menu_open .full_menu_btn button span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.full_menu_open .full_menu_btn button span:nth-child(2) {
    opacity: 0;
}

.full_menu_open .full_menu_btn button span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.full_menu_wrap {
    display: flex;
    width: 100dvw;
    height: 100dvh;
    left: 105dvw;
    position: fixed;
    background-color: #fff;
    padding-top: var(--top_margin);
    transition: left .8s ease-in-out;
    z-index: 10;
}

.full_menu_open .full_menu_wrap {
    left: 0dvw;
}

.full_menu_left_wrap {
    width: var(--content_margin);
    padding: 0 20px 0 var(--rel_padding);
    margin-right: 20px;
    border-right: 1px solid #000;
}
.full_menu_logo svg{
    fill: var(--m_color);
}
.full_menu_depth1 {
    margin-top: 60px;
    width: calc(100% - var(--content_margin) - 20px - 140px);
}

.full_menu_depth1>li {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    opacity: 0;
    transition: all .3s ease-in-out;
    transition-delay: .8s;
}

.full_menu_open .full_menu_depth1>li {
    opacity: 1;
}

.full_menu_depth1 a {
    color: #000;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

.full_menu_depth2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.full_menu_depth2>li>a {
    color: #000;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: all .3s ease-in-out;
}

.full_menu_depth2>li>a::after {
    position: absolute;
    z-index: -1;
    background-color: var(--m_color);
    width: calc(100% + 5px);
    height: 0;
    content: "";
    left: 50%;
    bottom: -5px;
    transform: translate(-50%, -50%);
    transition: all .3s ease-in-out;
}

.full_menu_depth2>li>a:hover {
    color: #Fff;
    font-weight: 400;
    text-decoration: none;
}

.full_menu_depth2>li>a:hover::after {
    bottom: -50%;
    height: calc(100% + 5px);
}

/* Scroll_Down */
.scroll_down {
    position: fixed;
    bottom: 180px;
    right: 40px;
    rotate: 90deg;
    pointer-events: none;
}

.scroll_down::after {
    position: absolute;
    right: -85px;
    top: 50%;
    transform: translateY(calc(-50% - 3px));
    background-color: #000;
    width: 7px;
    height: 1px;
    rotate: 45deg;
    content: "";
}

.scroll_down::before {
    position: absolute;
    right: -84.5px;
    top: 50%;
    transform: translateY(calc(-50% + 5px));
    background-color: #000;
    width: 7px;
    height: 1px;
    rotate: -45deg;
    content: "";
}

.scroll_down span {
    font-size: 12px;
    position: relative;
}

.scroll_down span::after {
    content: "";
    position: absolute;
    left: calc(4em + 2px);
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 80px;
    background-color: #000;
    animation: scroll_down_anim 3s linear infinite;
    animation-delay: .5s;
}

.scroll_down span::before {
    content: "";
    left: calc(4em + 60px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    opacity: .05;
    width: 0px;
    height: 0px;
    position: absolute;
    animation: scroll_down_circle_anim 3s linear infinite;
    animation-delay: .5s;
}

@keyframes scroll_down_anim {
    0% {
        width: 0px;
    }

    30% {
        left: calc(4em + 2px);
        width: 80px;
    }

    50% {
        left: calc(4em + 2px);
        width: 80px;
    }

    80% {
        left: calc(4em + 80px);
        width: 0px;
    }

    100% {
        left: calc(4em + 80px);
        width: 0px;
    }
}

@keyframes scroll_down_circle_anim {
    0% {
        width: 0px;
        height: 0px;
    }

    20% {
        left: calc(4em + 80px);
        width: 0px;
        height: 0px;
    }

    40% {
        left: calc(4em + 60px);
        width: 40px;
        height: 40px;
    }

    80% {
        left: calc(4em + 60px);
        width: 40px;
        height: 40px;
    }

    100% {
        left: calc(4em + 80px);
        width: 0px;
        height: 0px;
    }
}

/* 반응형 */
@media (max-width: 1600px) {
    .footer_txt {
        flex-direction: column;
        align-items: flex-start;
        height: 60px;
        justify-content: center;
        gap: 10px;
    }

    .footer_txt p {
        text-align: left;
        flex: unset;
        white-space: wrap;
    }
}

@media (max-width: 1400px) {
    :root {
        --content_margin: 120px;
        --rel_padding: 100px;
        --content_width: calc(100% - var(--content_margin) - 20px);
    }

    .main_left_svg {
        display: none;
    }
    .header_content_title{
        display: none;
    }
    .header_fixed_wrap {
        padding: 0;
        padding-left: 40px;
    }
    .top_menu_wrap {
        width: var(--content_width);
    }

    .content_inner {
        width: var(--content_width);
    }

    .full_menu_left_wrap {
        padding: unset;
        padding-left: 40px;
    }

    .full_menu_btn {
        right: 40px;
    }

    .scroll_down {
        display: none;
    }
    .full_menu_btn button::after{
        content: unset;
    }
}

@media (max-width: 1024px) {
    .header_logo_wrap a {
        transform: scale(.68);
    }

    .full_menu_left_wrap {
        transform: scale(.68) translate(-25px, -15px);
    }

    :root {
        --content_width: calc(100% - 36px);
    }

    .header_fixed_wrap {
        width: 100dvw;
        height: 60px;
        margin-top: unset;
        padding: 0 18px;
        background-color: #fff;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }

    .wrap {
        padding: unset;
        margin: unset;
    }

    .content {
        padding-top: 100px;
    }

    .header_content_title,
    .main_left_svg,
    .btn_top,
    .header_fixed_menu {
        display: none;
    }

    .top_menu_wrap {
        margin: 0 auto 70px;
    }

    .content_inner {
        margin: 0 auto;
    }

    .top_menu>li>a {
        font-size: 26px;
    }

    .top_menu_depth2>li>a {
        font-size: 15px;
    }

    .footer {
        width: 100%;
        padding: 0 18px;
        align-items: flex-start;
    }

    .footer_txt_wrap {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .full_menu_btn {
        top: 10px;
        right: 18px;
    }

    .full_menu_left_wrap {
        border: unset;
        margin-right: unset;
    }

    .full_menu_wrap {
        padding: 10px 18px 0 18px;
        flex-direction: column;
    }

    .full_menu_left_wrap {
        padding: unset;
    }

    .full_menu_depth1>li {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .full_menu_depth1 a {
        font-size: 18px;
    }

    .full_menu_depth2 {
        margin-top: 20px;
        gap: 10px 20px;
    }

    .full_menu_depth2>li>a {
        font-size: 16px;
    }

    .full_menu_depth1 {
        margin-top: 40px;
        width: calc(100% - 18px);
    }
}

@media (max-width: 600px) {
    .top_menu_depth2{
        margin-top: 30px;
    }
    .top_menu_depth2>li:not(:last-child)::before{
        right: -8px;
    }
    .top_menu_depth2 {
        gap: 15px;
        flex-wrap: wrap;
    }

    .top_menu_depth2>li {
        text-align: center;
        white-space: nowrap;
    }

    .top_menu_depth2>li {
        /* width: calc(33.33% - 10px); */
    }
}
@media (max-width: 417px) {
    .top_menu_depth2>li:not(:last-child)::before{
        right: -2px;
    }
    .top_menu_depth2{
        gap: 5px;
    }
    .top_menu_depth2>li>a::after{
        width: 100%;
    }
}