@keyframes gradMove {
    0%   {
        background-position: 0% 0%;
    }
    100%  {
        background-position: 200% 200%;
    }
}
/*---------------------- header ----------------------*/
.h_top {
    width: 100%;
    padding: 20px 0;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
}
.h_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.h_logo {
    width: auto;
    max-width: 220px;
    height: 36px;
}
.h_logo img {
    object-fit: contain;
    object-position: left;
}

.h_r {
    display: flex;
    align-items: center;
    gap: 24px;
}
.h_menu {
    display: flex;
    align-items: center;
    gap: 12px;
}
.h_menu > ul > li {
    position: relative;
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--gray-600);
}
.h_menu > ul > li > a {
    padding: 0 20px;
}
.h_menu > ul > li.on {
    color: var(--primary);
}
.h_menu > ul > li.btn {
    position: relative;
}
.h_menu > ul > li.primary {
    margin-left: 10px;
}
.h_menu > ul > li.primary > a {
    border-radius: var(--radius);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    transition: background .4s ease;
}
.h_menu > ul > li.primary > a:hover {
    background: var(--primary-hover);
}

.menu_sub {
    padding-top: 10px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}
.menu_main:hover ~ .menu_sub,
.menu_sub:hover  {
    opacity: 1;
    pointer-events: all;
}
.menu_sub ul {
    padding: 10px 6px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
}
.menu_sub a {
    width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: var(--ft15);
    font-weight: var(--medium);
    color: var(--gray-600);
    text-align: center;
    text-wrap: nowrap;
}
.menu_sub a:hover {
    background-color: var(--gray-100);
}

.h_menu .btn .menu_main {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: var(--primary);
    color: var(--white);
}
.h_menu > ul > li.h_btn {
    margin-left: 16px;
}
.h_menu > ul > li.h_btn > a {
    padding: 8px 20px;
    border-radius: 40px;
    background-color: var(--primary);
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.menu_effect {
    height: 32px;
    padding: 6px 16px;
    border-radius: 30px;
    background-color: var(--gray-200);
    display: flex;
    /* align-items: center; */
    gap: 6px;
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    white-space: nowrap;
    transform: translateX(-50%);
    animation: effect .5s ease infinite alternate;
}
@keyframes effect {
    100% {
        margin-top: 6px;
    }
}
.menu_effect::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url(/images/effect.svg) no-repeat center/contain;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
}
.menu_effect img {
    width: 13px;
    height: 13px;
    margin-top: 3px;
}
.menu_effect p {
    font-size: 13px;
    font-weight: var(--semi-bold);
    color: var(--primary);
    white-space: nowrap;
    transform: translateZ(0);
}
.menu_left {
    display: flex;
    align-items: center;
    gap: 0px;
}
.menu_right {
    padding-left: 12px;
    position: relative;
}
.menu_right::before {
    content: '';
    display: block;
    width: 1px;
    height: 12px;
    background-color: var(--dark-line);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.m_h {
    display: none;
    align-items: center;
    gap: 10px;
}
.h_tel {
    border-radius: 40px;
    background-color: var(--gray-200);
}
.h_tel a {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.h_tel img {
    width: 12px;
    height: 12px;
}
.h_tel p {
    font-size: var(--ft12);
    font-weight: var(--semi-bold);
    color: var(--primary);
}
.h_ham {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.h_ham span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--gray-700);
}

/*-- quick_menu --*/
.quick_menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 140px;
    right: 40px;
    z-index: 10;
}
.quick_menu li {
    width: 90px;
    border-radius: var(--radius);
    background-color: var(--primary);
    box-shadow: var(--shadow);
}
.quick_menu li a {
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.quick_menu li a.col {
    flex-direction: column;
    text-align: center;
}
.quick_menu li.primary  {
    background: linear-gradient(
        90deg,
        #0B4A8B,
        #1466C2,
        #0B4A8B
    );
    background-size: 200% 200%;
    animation: gradMove 2.5s linear infinite;
    color: var(--white);
    transition: all .5s ease;
}
.quick_menu img {
    width: 16px;
    height: 16px;
}
.quick_menu p {
    font-size: 13px;
    font-weight: var(--semi-bold);
    color: var(--white);
}
.quick_menu .quick_white {
    background-color: var(--white);
}
.quick_menu .quick_white p {
    color: var(--primary);
}

/*-- top_btn --*/
.top_btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray-700);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: fixed;
    right: 40px;
    bottom: 50px;
    z-index: 10;
    cursor: pointer;
}
.top_btn img {
    width: 20px;
    height: 20px;
    opacity: .6;
    transition: opacity .4s ease;
}
.top_btn:hover img {
    opacity: 1;
}


/*-- ham_box --*/
.ham_box.popup {
    padding: 10px;
    justify-content: end;
    align-items: start;
    overflow-y: auto;
    overflow-x: hidden;
}
.ham_box .popup_box {
    width: 100%;
    max-width: 700px;
    height: calc(100% - 20px);
    padding: 150px 70px 50px;
    background-color: var(--primary);
    border-radius: var(--radius);
    transform: scale(1) translateX(100%);
    transition: transform .4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}
.ham_box.open .popup_box {
    transform: scale(1) translateX(0);
    transition: transform .6s ease;
}
.main_ham_title {
    margin-bottom: 80px;
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.main_ham_list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.main_ham_list > li {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-200);
}
.main_ham_list .ham_label {
    width: 100px;
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--white);
    flex-shrink: 0;
}
.main_ham_list .ham_menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.main_ham_list .ham_menu li {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--white-600);
    transition: color .3s ease;
}
.main_ham_list .ham_menu li.on {
    color: var(--white);
}
.main_ham_list .ham_menu li:hover {
    color: var(--white);
}
.ham_link {
    width: 100%;
    max-width: 240px;
    height: 100px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.ham_link_inner {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}
.ham_link_inner p {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.ham_link_inner .cir {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--black-400);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .3s ease;
}
.ham_link:hover .ham_link_inner .cir {
    transform: translateX(5px);
}
.ham_link_inner .cir img {
    width: 12px;
    height: 12px;
}
.ham_logo_mark {
    width: 300px;
    opacity: .1;
    position: absolute;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}

/*---------------------- footer ----------------------*/
.f_inner {
    padding: 120px 0 50px;
}
.f_top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}
.f_title {
    font-weight: var(--semi-bold);
}
.f_info_list {
    margin-top: 24px;
    display: flex;
    gap: 100px;
}
.f_info p {
    width: fit-content;
    margin-bottom: 8px;
    font-size: var(--ft14);
    color: var(--gray-600);
    display: flex;
    gap: 10px;
    white-space: nowrap;
}
.f_info strong {
    font-weight: var(--semi-bold);
    color: var(--gray-600);
}

.f_menu {
    display: flex;
    gap: 18px;
}
.f_menu li {
    font-size: var(--ft14);
}
.f_menu li:first-child {
    font-weight: var(--semi-bold);
}

.f_btm {
    width: 100%;
    margin-top: 60px;
    padding: 14px 20px;
    border-radius: var(--radius);
    background-color: var(--gray-200);
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 12px;
}
.f_btm * {
    width: fit-content;
    font-size: var(--ft14);
    color: var(--gray-600);
}

/*---------------------- loader_bg ----------------------*/
.loader_bg {
    width: 100%;
    height: 100dvh;
    background-color: var(--black-400);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.loader_bg.active {
    opacity: 1;
    pointer-events: all;
}
.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    --loader-scale: 1;
    --loader-color: var(--white);
    background: var(--loader-color);
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    transform: rotate(0) scale(var(--loader-scale));
    animation: loader 1s infinite linear;
}
@keyframes loader {
    to {
        transform: rotate(1turn) scale(var(--loader-scale));
    }
}

/*---------------------- popup ----------------------*/
.popup {
    width: 100%;
    height: 100dvh;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.popup.open {
    opacity: 1;
    pointer-events: all;
}
.popup_bg {
    width: 100%;
    height: 100%;
    background-color: var(--black-400);
    position: fixed;
    top: 0;
    left: 0;
}
.popup_scroll {
    width: 100%;
    max-height: 100%;
    padding: 60px 0;
    overflow: auto;
    display: flex;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.popup_scroll::-webkit-scrollbar {
    display: none;
}
.popup_box {
    width: 100%;
    max-width: 420px;
    height: fit-content;
    padding: 60px 28px 40px;
    border-radius: 20px;
    background-color: var(--white);
    position: relative;
    z-index: 1;
    transform: scale(.9);
    transition: transform .3s ease;
}
.popup.open .popup_box {
    transform: scale(1);
}
.popup_close {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.popup_title {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    margin-bottom: 10px;
}
.popup_text {
    color: var(--gray-600);
}
.popup_img {
    width: 150px;
    margin: 0 auto;
}

/*-- ham_popup --*/
.ham_popup {
    justify-content: end;
    padding: 0;
}
.ham_popup .popup_box {
    width: 70%;
    height: 100%;
    padding: 70px 20px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: scale(1) translateX(100%);
    transition: transform .5s ease;
}
.ham_popup.open .popup_box {
    transform: translateX(0);
}
.ham_list li {
    margin-bottom: 20px;
    font-weight: var(--semi-bold);
    color: var(--gray-600);
}
.ham_list li.on {
    color: var(--primary);
}
.ham_list li:last-child {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--dark-line);
}
.ham_list li.h_btn {
    margin-top: 0;
    padding-top: 0;
    border: none;
    position: relative;
}
.ham_list li.h_btn a {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: var(--primary);
    font-weight: var(--semi-bold);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.ham_btm li {
    margin-top: 10px;
    border-radius: var(--radius);
    background-color: var(--primary);
}
.ham_btm a {
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.ham_btm img {
    width: 16px;
    height: 16px;
}
.ham_btm p {
    font-size: var(--ft14);
    font-weight: var(--semi-bold);
    color: var(--white);
}

.ham_btm li.quick_white {
    background-color: var(--gray-200);
}
.ham_btm li.quick_white p {
    color: var(--primary);
}

/*-- img_popup --*/
.img_popup .img_popup_box {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
.img_popup .popup_close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
}
.img_popup .popup_close img {
    width: 24px;
    height: 24px;
}
.img_append {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    max-height: 80vh;
    overflow: hidden;
}
.img_append img {
    object-fit: contain;
}

/*-- login_popup  --*/
.login_popup .popup_box {
    padding-top: 100px;
}
.login_popup .popup_title {
    font-size: var(--ft24);
    margin-bottom: 24px;
}
.login_list {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}
.login_list li {
    width: 100%;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.login_list img {
    width: 32px;
    height: 32px;
    position: absolute;
    left: 20px;
}
.login_list p {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    text-align: center;
}
.login_list li:first-child {
    background-color: #FEE500;
}
.login_list li:first-child p {
    color: #392020;
}
.login_list li:last-child {
    background-color: #03C75A;
}
.login_list li:last-child p {
    color: var(--white);
}


/*-- policy_container --*/
.policy_container {
    margin-top: 180px;
}
.policy_title {
    font-size: var(--ft40);
    font-weight: var(--semi-bold);
    text-align: center;
}
.policy_wrap {
    width: 100%;
    padding: 40px;
    margin-top: 32px;
    border-radius: var(--radius-lg);
    background-color: var(--gray-100);
}

/*---------------------- notice_popup ----------------------*/
.notice_popup .popup_box {
    width: 400px;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.popup_swiper {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
}
.popup_swiper .swiper-slide {
    background-color: var(--gray-200);
}
.pagination-number {
    padding: 4px 16px;
    background-color: var(--black-300);
    border-radius: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}
.pagination-number,
.pagination-number span {
    font-size: var(--ft14);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.notice_popup_btm {
    width: 100%;
    height: 50px;
    background-color: var(--white);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup_today_close label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.popup_today_close span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup_today_close span img {
    width: 8px;
    height: 8px;
}
.popup_today_close input:checked ~ label span {
    background-color: var(--primary);
}

.popup_today_close p {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--gray-400);
}
.popup_btm_close {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--gray-600);
    cursor: pointer;
}


@media all and (max-width: 1500px) {
    /*-- ham_box --*/
    .ham_box .popup_box {
        padding: 120px 60px 50px;
    }
    .main_ham_title {
        margin-bottom: 50px;
        font-size: var(--ft28);
    }
}

@media all and (max-width: 1400px) {
    /*-- header --*/
    .quick_menu {
        right: 20px;
    }
    .top_btn {
        right: 20px;
        bottom: 20px;
    }

    /*-- policy_container --*/
    .policy_container {
        margin-top: 120px;
    }
    .policy_title {
        font-size: var(--ft28);
    }

}

@media all and (max-width: 1024px) {
    /*-- header --*/
    .h_top {
        padding: 14px 0;
    }
    .h_logo {
        max-width: 180px;
    }
    .h_menu {
        display: none;
    }
    .quick_menu {
        display: none;
    }
    .m_h {
        display: flex;
    }

    /*-- ham_box --*/
    .ham_box .popup_box {
        padding: 80px 40px 40px;
    }
    .main_ham_title {
        font-size: var(--ft24);
    }
    .main_ham_list > li {
        gap: 20px;
    }
    .main_ham_list .ham_label {
        font-size: var(--ft18);
    }
    .main_ham_list .ham_menu li {
        font-size: var(--ft16);
    }

    /*-- footer --*/
    .f_info_list {
        flex-direction: column;
        gap: 20px;
    }
}

@media all and (max-width: 768px) {
    /*-- header --*/
    .top_btn {
        width: 40px;
        height: 40px;
    }
    .top_btn img {
        width: 14px;
        height: 14px;
    }
    .h_logo {
        height: 28px;
    }
    .h_btn a {
        font-size: var(--ft14);
        padding: 6px 14px;
    }

    /*-- ham_box --*/
    .ham_box .popup_box {
        max-width: 100%;
        height: auto;
        min-height: calc(100dvh - 20px);
        padding: 80px 20px 20px;
    }
    .main_ham_title {
       display: none;
    }
    .main_ham_list {
        gap: 16px;
    }
    .main_ham_list > li {
        padding-bottom: 16px;
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .main_ham_list .ham_menu li {
        font-size: var(--ft14);
    }
    .main_ham_list .ham_menu {
        gap: 16px;
    }
    .ham_logo_mark {
        width: 200px;
    }

    /*-- footer --*/
    .f_inner {
        padding: 80px 0;
    }
    .f_top {
        flex-direction: column;
    }
    .f_btm {
        margin-top: 32px;
        justify-content: start;
        flex-direction: column;
        align-items: start;
        gap: 6px;
    }

    /*-- popup --*/
    .popup_scroll {
        padding: 40px 0;
    }
    .popup_box {
        border-radius: 10px;
        padding: 40px 16px;
    }
    .popup_close {
        top: 16px;
        right: 16px;
    }

    .popup_img {
        width: 100px;
    }

    .login_list li {
        height: 54px;
    }
    .login_list img {
        width: 26px;
        height: 26px;
        left: 16px;
    }

    .login_popup .popup_box {
        padding-top: 60px;
    }
    .login_popup .popup_title {
        font-size: var(--ft20);
        margin-bottom: 16px;
    }

    /*-- policy_container --*/
    .policy_title {
        font-size: var(--ft24);
    }
    .policy_wrap {
        margin-top: 24px;
        padding: 24px;
    }

}
/* service toast */
.service_toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    z-index: 9999;
    max-width: min(520px, calc(100vw - 32px));
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(22, 32, 45, .94);
    color: var(--white);
    font-size: var(--ft16);
    font-weight: var(--medium);
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
}
.service_toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media all and (max-width: 768px) {
    .service_toast {
        bottom: 24px;
        padding: 12px 16px;
        font-size: var(--ft14);
    }
}
