/*--------------------------- header ---------------------------*/
header.new {
    display: none;
    appearance: none;
}
/*-- h_top --*/
.h_gnb, .h_gnb_util {
    display: none;
}
.h_top {
    width: 100%;
    height: var(--header-h);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: transform .3s ease;
    transform: translateY(0);
}
.h_top::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateY(-100%);
    transition: transform .3s ease;
}
.h_inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.h_logo {
    width: 140px;
    height: auto;
    transition: transform .3s ease;
}
.contact_btn a {
    padding: 6px 30px;
    background-color: var(--gray-500);
    border-radius: 30px;
    font-size: var(--ft16);
    font-weight: var(--bold);
    color: var(--white);
}
.h_top.h_scroll {
    transform: translateY(-100%);
}
/* .h_top.hide {
    transform: translateY(-100%);
}
.h_top.h_scroll::before {
    transform: translateY(0);
} */
/* .h_top.h_scroll::before {
    transform: translateY(0);
}
.h_top.h_scroll .h_logo {
    filter: brightness(1) invert(0);
    -webkit-filter: brightness(1) invert(0);
} */

/*-- quick_menu --*/
.hidden {
    display: none !important;
}
.quick_menu {
    width: 70px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    overflow: hidden;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.05));
    background-color: var(--gray-500);
}
.quick_menu div {
    width: 100%;
    height: 75px;
    background-color: var(--gray-500);
    transition: background .3s ease;
}
.quick_menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.quick_menu a span {
    display: none;
}
.quick_menu a:hover {
    filter: brightness(0.8);
}
.quick_menu figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.quick_menu img {
    width: 22px;
    height: 22px;
}
.quick_menu figcaption {
    font-size: var(--ft12);
    font-weight: var(--medium);
    color: var(--white);
}
.quick_menu div.top_btn {
    width: 100%;
    height: 24px;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: var(--ft12);
    font-weight: var(--medium);
    color: var(--white);
}

.quick_menu .none {
    display: none !important;
}
/*--------------------------- footer ---------------------------*/
.footer .blind {
    display: none;
}
.footer {
    padding: 70px 0 120px;
    background-color: var(--gray-500);
}
.footer_l {
    width: 460px;
}
.footer_top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer_top > div {
    width: 100%;
}
.footer_bot {
    margin-top: 120px;
    display: flex;
    align-items: center;
    gap: 70px;
}
.footer_logo {
    width: 130px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.footer_text > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer_text p,
.footer_text span {
    height: 68px;
    font-size: var(--ft56);
    color: var(--gray-200);
}
.footer_bot .insta_btn a {
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .3s ease;
}
.footer_bot .insta_btn .icon {
    width: 14px;
    height: 14px;
    background: white;
    mask: url('/images/insta_icon.svg') no-repeat center / cover;
    -webkit-mask: url('/images/insta_icon.svg') no-repeat center / cover;
}
.footer_bot .insta_btn a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.footer_ani {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: textBox 10s infinite ease;
}
.footer_inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.footer_right .list_title {
    font-size: var(--ft14);
    color: white;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: left;
}
.footer_right .menu_item {
    font-size: var(--ft14);
    font-weight: 300;
    color: var(--gray-300);
}

.footer_ani {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: textBox 10s infinite ease;
}


.footer_ani_inner {
    height: 68px;
    overflow: hidden;
}
.ani_box {
    animation: textAni 10s infinite ease;
}
@keyframes textAni {
    0% {
        transform: translateY(0);
    }
    5%,25% {
        transform: translateY(-20%);
    }
    30%,50% {
        transform: translateY(-40%);
    }
    55%,75% {
        transform: translateY(-60%);
    }
    80%,100% {
        transform: translateY(-80%);
    }
}
.footer_ani p {
    width: fit-content;
    color: var(--gray-300);
    transform: translateY(4px);
}

.footer_btm {
    display: flex;
    align-items: end;
    margin-top: 20px;
}
.footer_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer_info *,
.copyright {
    font-size: var(--ft14);
    color: var(--gray-300);
}


/*-------------------------- pagination -------------------------*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--contant-gap);
    margin-top: 100px;
}
.pagination .pagination_btn {
    width: 32px;
    height: 32px;
}
.pagination .pagination_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination ul {
    display: flex;
    gap: 4px;
}
.pagination ul li {
    width: 32px;
    height: 32px;
}
.pagination ul li a {
    font-size: var(--ft14);
    text-align: center;
    line-height: 32px;
}
.pagination i {
    font-size: var(--ft12);
    color: var(--gray-400);
}
.pagination span {
    font-size: var(--ft18);
    color: var(--gray-400);
}
.pagination ul li:hover,
.pagination ul li.page_click {
    background-color: var(--gray-500);
}
.pagination ul li:hover a,
.pagination ul li.page_click a {
    color: var(--white);
}


/*--------------------------- loader_bg ---------------------------*/
.loader_bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
body:has(.loader_bg.active) {
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    touch-action: none;
}
.loader_bg.active {
    display: flex;
}
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid var(--white);
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
} 

/*--------------------------- path ---------------------------*/
.path {
    display: flex;
    align-items: center;
    gap: 16px;
}
.path .home {
    width: 16px;
    height: 16px;
}
.path p {
    font-size: var(--ft18);
    font-weight: var(--medium);
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 16px;
}
.path p::before {
    content: '/';
    display: block;
    font-size: var(--ft18);
    font-weight: var(--medium);
    color: var(--gray-300);
}
.path p.bold {
    color: var(--gray-500);   
}

.path.white .home {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.path.white p,
.path.white p::before,
.path.white p.bold {
    color: var(--white);
}

/*--------------------------- btn ---------------------------*/

/*-- link_btn --*/
.link_btn {
    width: fit-content;
    margin: 100px auto;
}
.link_btn a {
    width: 100%;
    max-width: 630px;
    padding: 28px 60px;
    background-color: var(--gray-500);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.link_text {
    display: flex;
    align-items: center;
    gap: 24px;
}
.link_eng {
    font-size: var(--ft40);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.link_kr {
    font-size: var(--ft24);
    color: var(--white);
}
.link_hover {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.link_hover img {
    width: 20px;
    height: 20px;
}
.link_hover img:last-child {
    position: absolute;
    transform: translateX(calc(-100% - 50px));
}
.link_btn:hover img {
    transition: transform .3s ease;
}
.link_btn:hover img:first-child {
    transform: translateX(calc(100% + 50px));
}
.link_btn:hover img:last-child {
    transform: translateX(0);
}


/*-- btn --*/
.btn {
    width: fit-content;
    position: relative;
}
.btn::before,
.btn::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--dark-line);
    position: absolute;
    left: 0;
    bottom: 0;
}
.btn::after {
    background-color: var(--gray-500);
    width: 0;
    left: auto;
    right: 0;
    transition: all .3s ease;
}
.btn a {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-bottom: 20px;
}
.btn p {
    font-size: var(--ft20);
    font-weight: var(--medium);
}
.btn div {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.btn img:last-child {
    position: absolute;
    transform: translateX(-120%);
}
.btn:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}
.btn:hover img {
    transition: transform .3s ease;
}
.btn:hover img:first-child {
    transform: translateX(120%);
}
.btn:hover img:last-child {
    transform: translateX(0);
}


/*--------------------------- list_date ---------------------------*/
.list_date {
    display: flex;
    align-items: center;
    gap: 12px;
}
.list_date img {
    width: 16px;
    height: 16px;
}
.list_date > div {
    display: flex;
    align-items: center;
    gap: 16px;
}
.list_date * {
    font-size: var(--ft18);
    color: var(--gray-400);
}
.list_date .bold {
    font-weight: var(--semi-bold);
    display: inline-block;
    margin-right: 8px;
}


@media all and (max-width: 1200px) {
    /*-- footer --*/
    .footer_l {
        width: 300px;
    }
    .footer_logo {
        width: 200px;
    }
    .footer_text p, 
    .footer_text span {
        font-size: 40px;
        height: 44px;
    }
    .footer_bot {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-top: 60px;
    }

    .footer_ani_inner {
        height: 44px;
    }
    
    /*-- btn --*/
    .link_btn a {
        padding: 24px 40px;
    }
    .link_eng {
        font-size: var(--ft28);
    }
    .link_kr {
        font-size: var(--ft20);
    }
    .link_hover {
        width: 40px;
        height: 40px;
    }
    .link_hover img:last-child {
        position: absolute;
        transform: translateX(calc(-100% - 40px));
    }
    .link_btn:hover img:first-child {
        transform: translateX(calc(100% + 40px));
    }
}

@media all and (max-width: 900px) {
    .footer {
        padding-top: 50px;
    }
    .footer_logo {
        width: 150px;
    }
    .footer_inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer_text p, 
    .footer_text span {
        font-size: 24px;
        height: 29px;
    }
    .footer_ani_inner {
        height: 29px;
        
    }
   
    /*-- path --*/
    .path {
        gap: 10px;
    }
    .path p {
        font-size: var(--ft16);
        gap: 10px;
    }
}

@media all and (max-width: 600px) {
    /*-- header --*/
   
    .h_logo {
        width: 120px;
    }
    .contact_btn a {
        padding: 6px 20px;
        font-size: var(--ft14);
    }

    .quick_menu {
        width: 100%;
        top: auto;
        bottom: 0;
        transform: translateY(0);
        display: flex;
        overflow: visible;
    }
    .quick_menu a:not(.top_btn) {
        /* height: 60px; */
        padding-bottom: 20px;
    }
    .quick_menu a.quick_contact {
        order: -1;
        position: relative;
    }
    .quick_menu a.quick_contact span {
        display: block;
        padding: 6px 10px;
        border-radius: 10px;
        background-color: white;
        position: absolute;
        top: -40%;
        animation: floatUpDown 1.3s ease-in-out infinite;
    }
    @keyframes floatUpDown {
        0%   { transform: translateY(0); }
        50%  { transform: translateY(-5px); }
        100% { transform: translateY(0); }
      }
    .quick_menu a.quick_contact span::before {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background-color: inherit;
        position: absolute;
        bottom: 0;
        left: 50%;
        translate: -50% 50%;
        rotate: 45deg;
    }
   
    .quick_menu img {
        width: 18px;
        height: 18px;
    }
    .quick_menu div.top_btn {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    .quick_menu .quick_contact {
        order: 0;
        background-color: var(--primary);
    }

    /*-- footer --*/
    .footer {
        padding-bottom: 110px;
    }

    /*-- btn --*/
    .link_btn a {
        padding: 14px 24px;
    }
    .link_text {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .link_eng {
        font-size: var(--ft22);
    }
    .link_kr {
        font-size: var(--ft14);
    }
    .link_hover {
        width: 30px;
        height: 30px;
    }
    .link_hover img {
        width: 16px;
        height: 16px;
    }
    .link_hover img:last-child {
        transform: translateX(calc(-100% - 30px));
    }
    .link_btn:hover img:first-child {
        transform: translateX(calc(100% + 30px));
    }
}