.wrapper::after {
    content: '';
    display: block;
    inset: 0;
    position: fixed;
    background: url('/images/paper_texture_0.png');
    z-index: 4;
    mix-blend-mode: difference;
    filter: invert(1);
    opacity: 0.2;
   
    pointer-events: none;
}
.wrapper {
    background: url('/images/paper_texture.png');
}

.serif {
    font-family: var(--serif);
}
/********** header **********/
.h_top {
    position: fixed;
    top: 0;
    z-index: 99;
    left: 0;
    right: 0;
    pointer-events: none;
}


.h_inner {
    padding: 60px;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: row-reverse;
    margin: 0 auto;
    transition: padding .4s ease, gap .4s ease;
    gap: var(--con-gap);
}


.h_logo {
    max-width: 200px;
    position: relative;
    padding-left: 40px;
    pointer-events: visible;
    transform: translateX(0);
    transition: .6s ease;
}
.h_logo a {
    width: 120px;
    height: auto;
    position: relative;
    transition: width .4s ease;
}
.h_logo::before {
    content: '';
    display: block;
    width: 2px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom, var(--gray-400), transparent);
}
.h_inner.is-footer_on {
    gap: 0;
}
.h_inner.is-footer_on .h_logo {
    transform: translateX(100%);
    max-width: 0;
    opacity: 0;
}



.h_nav > ul {
    width: 100%;
    display: flex;
    gap: 32px;
    justify-content: start;
    align-items: center;
    padding-top: 16px;
}
.h_nav > ul > li {
    position: relative;
    pointer-events: visible;
}

.h_main_menu > a {
    height: fit-content;
    color: var(--ft-main);
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    position: relative;
    writing-mode: vertical-lr;
    font-family: var(--serif);
    letter-spacing: 0.8rem;
}
.h_main_menu.on > a::before  {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-17px);
    position: absolute;
}

.h_sub_box {
    position: absolute;
    bottom: 10px;
    transform: translate(-50%, 100%);
    left: 50%;
    opacity: 0;
    transition: opacity .3s ease, bottom .4s ease;
    padding-top: 10px;
    padding: 10px;
    pointer-events: none;
}

.h_sub_box ul {
    border-radius: var(--radius-md);
    /* background: var(--bg-light); */
    /* box-shadow: var(--shadow); */
    /* padding: 10px; */
    /* border: 1px solid var(--line); */
}

.h_sub_box.active {
    opacity: 1;
    bottom: 0;
    pointer-events: visible;
}
.h_sub_menu {
    font-size: var(--ft16);
    text-align: center;
    color: var(--ft-main);
    padding: 10px 14px;
    font-weight: var(--semi-bold);
    border-radius: var(--radius-sm);
    transition: background .4s ease;
}
.h_sub_menu:hover {
    background: var(--gray-300);
}

  
.h_btn a {
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    font-size: var(--ft16);
    font-weight: var(--medium);
    padding: 10px 20px;
    transition: background .3s ease;
}
.h_btn a:hover {
    background: var(--bg-dark);
}

.h_m_r {
    display: none;
    z-index: 2;
}
.ham_popup {
    display: none;
    z-index: 2;
}

.h_home_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    height: fit-content;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
    pointer-events: visible;

}
.h_home_btn .btn_text {
    font-size: var(--ft16);
    color: var(--gray-500);
}

/* header scroll */
.h_top.scroll:not(.up) .h_logo::before {
    opacity: 0;
}
.h_logo::before,
.h_nav,
.h_nav li {
    transition: .4s ease;
}
.h_top.scroll:not(.up) .h_nav {    
    opacity: 0;
}
.h_top.scroll:not(.up) .h_nav li {
    pointer-events: none;
    transform: translateY(-50%);
    transition-delay: calc(var(--i) * 0.1s);
}
.h_top.scroll:not(.up) .h_home_btn {
    pointer-events: none;
    opacity: 0;
}


/********** top_btn **********/
.top_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: .4s ease;
}
.top_btn.active {
    pointer-events: visible;
    opacity: 1;
    top: 0;
}
.top_btn span {
    font-size: var(--ft16);
    color: var(--gray-600);
}
.top_btn .icon {
    width: 28px;
    height: auto;
    display: flex;
}


/********** footer **********/
footer {
    width: 100%;
    min-height: 470px;
    position: relative;
    z-index: 2;
}
footer * {
    color: var(--white);
}

.f_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
    position: relative;
    padding-top: 360px;
}
.f_container {
    position: relative;
    z-index: 1;
}
.f_logo {
    width: 150px;
    height: auto;
    margin-left: auto;
}
.f_name {
    font-family: var(--serif);
    font-size: var(--ft36);
    margin-bottom: 36px;
}

.f_info *, .f_menu *, .f_copyright * {
    font-size: clamp(13px, var(--ft14), 14px);
    font-family: var(--sans);
}
.f_info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.f_info li {
    display: flex;
    align-items: start;
    gap: 4px;
}

.f_btm .f_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    margin-top: 20px;
    gap: 10px;
}
.f_menu {
    display: flex;
    align-items: center;
    gap: 24px;
}
.f_menu a {
    color: white;
}
.f_menu a:hover {
    text-decoration: underline;
}
.f_copyright {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.f_copyright p,
.f_copyright a {
    width: fit-content;
    font-size: var(--ft14);
}

.f_deco_wrap {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
}
.f_deco {
    width: 100%;
    height: 600px;
    transform: translateY(calc(var(--i) * 80px));
    position: absolute;
}
.f_deco_1 {
    --i: 2;
    background: url('/images/footer_bg_3.png') no-repeat center top / cover;
}
.f_deco_2 {
    --i: 1;
    background: url('/images/footer_bg_2.png') no-repeat left top / cover;
}
.f_bg {
    position: absolute;
    z-index: 1;
    inset: 0;
}
.f_bg img {
    object-position: top;
}



/**** card ****/






/***** deco_list *****/

.deco_list li {
    display: flex;
    align-items: start;
}
.deco_list li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-600);
    margin-right: 10px;
    margin-top: 10px;
}


/* modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-content {
    background-color: #fff;
    margin: 15% auto; 
    padding: 60px 30px 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-con {
    margin-bottom: 50px;
}
.modal-text {
    font-size: var(--ft18);
}

.modal-btn {
    cursor: pointer;
    padding: 8px 16px;
    background: var(--point);
    color: #fff;
    border-radius: var(--border-radius);
    height: var(--btn);
    font-size: var(--ft16);
    width: 100%;
}

.modal-close {
    cursor: pointer;
    width: var(--icon-btn-sm);
    height: var(--icon-btn-sm);
    color: var(--ft-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px;
}

.tel-modal {
    display: none; /* 기본 숨김 */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
}

.tel-modal-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.tel-modal-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    /* backdrop-filter: blur(4px); */
    padding: 20px;
    border-radius: calc(var(--border-radius) * 2);
    text-align: center;
}
.tel-modal-content a {
    display: block;
    font-size: 18px;
    color: var(--ft-main);
    border-radius: var(--border-radius) ;
    background: white;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: var(--semi-bold);
    transition: filter .3s ease;
}
.tel-modal-content a:hover {
    filter: brightness(.9);
}
.tel-modal-close {
    width: 100%;
    border-radius: var(--border-radius) ;
    background: var(--gray-200);
    font-size: var(--ft16);
    margin-top: 10px;
    padding: 10px 20px;
    transition: opacity .3s ease;
}
.tel-modal-close:hover {
    opacity: .6;
}








/*********** btn **********/
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* more_btn */
.more_btn {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--white-100);
    backdrop-filter: blur(14px);
    position: relative;
    transition: background .2s ease;
    gap: 16px;
}

.more_btn .btn_text {
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--gray-800);
    transition: color .2s ease;
}
.more_btn .btn_icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}
.more_btn .btn_icon::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    background: #ffffff01;
    backdrop-filter: blur(6px);    
    border-radius: var(--radius-sm);
    border: 1px solid var(--white-600);
    opacity: 0;
    box-shadow: var(--shadow);
    transform: scale(0);
    transition: opacity .3s ease, transform .4s ease;
}
.more_btn .btn_icon::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
    background: var(--gray-800);
    -webkit-mask: url('/images/icon/right.svg') no-repeat center / cover;
    mask: url('/images/icon/right.svg') no-repeat center / cover;
    transition: background .3s ease;
}

.more_btn:hover {
    background: var(--primary);
    border-color: transparent;
    backdrop-filter: none;
}
.more_btn:hover .btn_icon {
    transform: translate(12px, -12px);
}
.more_btn:hover .btn_icon::before {
    opacity: 1;
    transform: scale(1);
}
.more_btn:hover .btn_icon::after {
    background: white;
}
.more_btn:hover .btn_text {
    color: white;
}


/* fill_btn */
.fill_btn {
    padding: 14px 16px 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    gap: 10px;
    transition: background .4s ease;
}
.fill_btn .btn_text {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: white;
}
.fill_btn .btn_icon {
    width: 16px;
    height: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
    background: white;
    -webkit-mask: url('/images/icon/chevron-right.svg') no-repeat center / cover;
    mask: url('/images/icon/chevron-right.svg') no-repeat center / cover;
    transition: transform .3s ease;
}
.fill_btn:hover {
    background: var(--hover-dark);
}
.fill_btn:hover .btn_icon {
    transform: translateX(3px);
}

/* btn tooltip */
.btn:has(.tooltip) {
    position: relative;
}
.btn .tooltip {
    position: absolute;
    background: var(--black-600);
    border-radius: 99px;
    color: white;
    font-size: var(--ft14);
    font-weight: var(--medium);
    padding: 6px 10px;
    line-height: 1;
    left: 100%;
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .2s ease;
}
.btn:hover .tooltip {
    transform: translateX(6px);
    opacity: 1;
}


/* 스크롤다운 */
#scrolldown {
    width: fit-content;
    position: fixed;
    z-index: 2;
    bottom: 80px;
    left: 50%;
    opacity: 1;
    pointer-events: none;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}
#scrolldown p {
    color: var(--gray-500);
    font-size: var(--ft16);
}
#scrolldown .icon {
    width: 16px;
    height: 16px;
    animation: scrollFloat 1.5s ease-in-out infinite;
    background: var(--gray-500);
    -webkit-mask: url('/images/base/caret-down.svg') no-repeat center / cover;
    mask: url('/images/base/caret-down.svg') no-repeat center / cover;
}


@keyframes scrollFloat {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(3px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    
}


/*--------------------------- page ---------------------------*/
.page_top {
    padding-top: 260px;
}
.page_title {
    font-size: var(--ft28);
    color: var(--ft-main);
    letter-spacing: 1.4rem;
}


/* tab_menu */
.tab_menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tab_menu a {
    color: var(--ft-main);
    opacity: 0.5;
    font-weight: var(--medium);
    font-size: var(--ft18);
    padding-bottom: 8px;
    position: relative;
    transition: opacity .3s ease;
}
.tab_menu a:hover {
    color: var(--primary);
    opacity: 1;
}
.tab_menu a.on {
    color: var(--primary);
    font-weight: var(--semi-bold);
    opacity: 1;
}
.tab_menu a.on::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}


/* pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--con-gap);
    margin-bottom: var(--sec-gap);
    --pagination-size: 36px;
}

.pagination_number {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_btn a,
.pagination_number li a {
    min-width: var(--pagination-size);
    height:  var(--pagination-size);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: .4;
    font-size: var(--ft16);
    padding: 0 10px;
    transition: opacity .3s ease, background .3s ease;
    border-radius: 50%;
    color: var(--gray-800);
    font-weight: var(--medium);
    font-family: var(--sans);
}

.pagination_btn a:hover,
.pagination_number li a:hover {
    background: var(--gray-100);
    opacity: .8;
}


.pagination_btn a {
    width: var(--pagination-size);
    aspect-ratio: 1;
    opacity: 0.6;
   
}
.pagination_btn a img {
    width: 24px;
    height: 24px;
    aspect-ratio: 1;
}

.pagination_number li.page_click a {
    color: var(--primary);
    opacity: 1;
    font-weight: var(--bold);
}
.pagination_number li.page_click a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--accent);
}

/****** title_ani ******/
.title_ani span {
    display: inline-block;
    min-width: 0.4ch;
}

/* -------------------- drop down -------------------- */
.drop_down {
    width: auto;
    height: var(--input-height);
    min-width: fit-content;
    cursor: pointer;
    position: relative;
    padding: 0 16px;
    font-size: var(--ft18);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--ft18);
    margin-left: auto;
}

.drop_down .icon {
    display: block;
}

.drop_down.active .icon {
    transform: rotate(180deg);
}

.drop_down_list {
    width: 100%;
    min-width: fit-content;
    padding: 6px 0;
    position: absolute;
    top: 100%;
    margin-top: 10px;
    padding: 6px;
    left: 0;
    color: var(--sub-ft);
    background-color: white;
    display: none;
    backdrop-filter: blur(4px);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-sm);
    z-index: 3;
}

.drop_down_list li {
    padding: 12px 20px;
    font-size: var(--ft16);
    border-radius: var(--border-radius-sm);
    color: inherit;
    text-wrap: nowrap;
    transition: .3s ease;
}

.drop_down_list li:hover {
    background-color: var(--hover);
    color: var(--primary);
}


/********** form **********/

/***** input *****/
.input_box {
    width:  100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.input_box .input {
    font-size: clamp(16px, var(--ft18), 18px);
    flex: 1 0 0;
    font-weight: var(--medium);
    height: 100%;
    font-family: var(--sans);
    padding: 20px 10px; 
}

.input_box .btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.input_box .btn .icon {
    flex-shrink: 0;
    background: transparent;
}
.input_box .btn .icon::before {
    background-image: url('/images/maneo/icon/search.svg');
}



/* textarea */
.textarea_box {
    height: var(--height, 250px);
}


/* search */
.search_box {
    width:  340px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 10px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.search_input {
    padding: 16px 0 16px 10px;
    font-family: var(--sans);
}
.search_input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;

    width: 18px;
    height: 18px;
    cursor: pointer;

    background: url('/images/icon/x-circle-solid.svg') no-repeat center / contain;
}
.search_btn {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    background: url('/images/icon/search.svg') no-repeat center / cover;
}



.search_box:focus-within ,
.input_box:focus-within  {
    border-color: transparent;
}
.search_box:focus-within::after ,
.input_box:focus-within::after  {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--primary), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


/* checkbox */
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox input + span {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-300);
    margin-right: 8px;
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* .checkbox input:checked + span {
    background-color: var(--primary);
    border-color: var(--primary);
} */
.checkbox input + span::after {
    content: '';
    position: relative;
    width: 3px;
    height: 6px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
    opacity: 0;
    transition: opacity .3s .2s ease-out;
}
.checkbox input + span::before {
    content: '';
    display: block;
    inset: 0px;
    background: var(--primary);
    position: absolute;
    border-radius: inherit;
    transform: scale(0);
    transition: transform .2s ease-out;
}
.checkbox input:checked + span {
    border-color: transparent;
}
.checkbox input:checked + span::before {
    opacity: 1;
    transform: scale(1);
}
.checkbox input:checked + span::after {
    opacity: 1;
}
.checkbox label {
    cursor: pointer;
}



/* ------------layout-------------- */
.row {
    display: flex;
    align-items: center;
}

.text_center {
    text-align: center;
}

/* -------------swiper------------ */

.swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    border-radius: 0;
}
.swiper-pagination-progressbar {
    background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .1));
}

.swiper-navigation {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.swiper-navigation.hide {
    display: none;
}
.swiper-prev,
.swiper-next {
    --swiper-btn: 56px;
    width: var(--swiper-btn);
    height: var(--swiper-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all .3s ease;
    background: white no-repeat center / 42%;
    box-shadow: var(--shadow);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    top: 50%;    
}
.swiper-button-disabled {
    cursor: auto;
    display: none;
}
.swiper-prev {
    left: 0;
    transform: translate(-50%, -50%);
    background-image: url('/images/icon/chevron-left.svg');
}
.swiper-next {
    right: 0;
    transform: translate(50%, -50%);
    background-image: url('/images/icon/chevron-right.svg');
}


.swiper-prev:not(.swiper-button-disabled):hover,
.swiper-next:not(.swiper-button-disabled):hover {
    box-shadow: var(--focus-shadow);
}




/* ----------------popup------------------- */
.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: flex;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.popup.show {    
    opacity: 1;
    pointer-events: visible;
}

.popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup-box {
    position: relative;
    background: white;
    padding: 20px;
    width: calc(100% - 40px);
    max-width: 500px;
    max-height: 80vh;
    border-radius: var(--border-radius);

}
.popup-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--primary-200);
}
.popup-title {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    text-align: center;
}
.popup-con {
    padding: 40px 20px var(--con-gap);
}
.popup-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
}
.popup-list dt {
    color: var(--ft-main);
    font-size: var(--ft16);
    font-weight: var(--medium);
}
.popup-list dd {
    color: var(--ft-sub);
    font-size: var(--ft16);
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-line;
}
.popup-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
}
.popup-bot .checkbox {
    cursor: pointer;
}
.popup-btn_wrap {
    width: 100%;
    display: flex;
    gap: 20px;
}
.popup-btn {
    width: 100%;
    height: var(--btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ft16);
    padding: 10px 20px;
}
.popup-btn:hover {
    opacity: 0.8;
}
.popup-btn.first {
    background: var(--primary);
    color: white;
}
.popup-btn.popup-close,
.popup-btn.popup-cancel {
    background: var(--gray-600);
    color: white;
}
.popup-btn.popup-delete {
    background: transparent;
    color: var(--warning);
    width: fit-content;
}

.popup-box > .popup-close {
    padding: 5px 12px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    transform: translateX(calc(100% + 10px));
    filter: invert(1);
}
.popup-box > .popup-close .icon {
    width: 26px;
    height: 26px;
}

@media (hover:hover) and (pointer:fine) {

 
}

@media all and (max-width: 1440px) {
    .h_inner {
        padding: 40px;
        gap: 40px;
    }
    .h_logo {
        padding-left: 30px;
    }
    .h_logo a {
        width: 100px;
    }
    .h_nav > ul {
        gap: 24px;
    }

}

@media all and (max-width: 1400px) {

   
}

@media all and (max-width: 1200px) {
    
}



@media all and (max-width: 1024px) {
   


    /*-- ham_popup --*/
    .h_logo a {
        width: 80px;
    }
    .h_top.scroll:has(.ham_popup.open) .h_inner {
        padding: 20px 20px;
    }
   
     /* -- footer -- */
     .f_logo {
        width: 120px;
    }
}


@media all and (max-width: 768px) {

    /*-- header --*/
    .h_inner  {
        padding: 20px 20px;        
        justify-content: space-between;
    }
  
    .h_logo {
        padding-left: 0;
    }
    .h_logo::before {
        content: unset;
    }
    .h_logo a {
        width: 80px;
    }
    .h_home_btn {
        display: none;
    }
    .h_inner .h_r {
        display: none;
    }
    .h_top.scroll .h_inner {
        padding: 10px;
    }
    .h_top.scroll .h_logo a {
        width: 60px;
    }

    .h_ham {
        position: relative;
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 1px solid rgba(20, 20, 20, .25);
        border-radius: 50%;
        background: rgba(255, 255, 255, .2);

        backdrop-filter: blur(6px);
        pointer-events: auto;
        cursor: pointer;

        transition:
            background .35s ease,
            border-color .35s ease;
    }

    .h_ham span,
    .h_ham span::before,
    .h_ham span::after {
        content: '';
        position: absolute;

        width: 18px;
        height: 1px;

        background: var(--ft-main);

        transition:
            transform .45s cubic-bezier(.22, 1, .36, 1),
            opacity .3s ease,
            background .3s ease;
    }

    .h_ham span::before {
        transform: translateY(-6px);
    }

    .h_ham span::after {
        transform: translateY(6px);
    }

    .h_ham.active span {
        background: transparent;
    }

    .h_ham.active span::before {
        transform: rotate(45deg);
    }

    .h_ham.active span::after {
        transform: rotate(-45deg);
    }
    

    .ham_popup {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        z-index: 50;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .45s ease,
            visibility 0s linear .45s;
    }

    .ham_popup.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transition-delay: 0s;
    }



    .ham_popup.open .overlay {
        opacity: 1;
    }

    /* 햄버거메뉴 */
    .ham_inner {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;

        padding: 200px 28px calc(50px + env(safe-area-inset-bottom));

        background: linear-gradient(rgba(32, 32, 32, 0.94),rgba(31, 31, 31, 0.98));
        transform: translateY(-35px);
        opacity: 0;

        transition:
            transform .75s cubic-bezier(.22, 1, .36, 1),
            opacity .45s ease;

        scrollbar-width: none;
        backdrop-filter: blur(4px);
    }

    .ham_inner::-webkit-scrollbar {
        display: none;
    }

    .ham_popup.open .ham_inner {
        transform: translateY(0);
        opacity: 1;
    }

    .ham_inner::before {
        content: '';
        position: absolute;
        top: 70px;
        right: -50px;
        width: 200px;
        height: 500px;
        background: url(/images/brush_texture.png) no-repeat center / contain;
        transform: rotate(45deg);
        pointer-events: none;
    }

    .inner_top {
        position: relative;
        z-index: 1;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

 
    .ham_nav {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .ham_main_menu {
        position: relative;
        margin: 0;
        overflow: hidden;

        border-bottom: 1px solid rgba(255, 255, 255, .14);

        opacity: 0;
        transform: translateY(24px);

        transition:
            opacity .55s ease,
            transform .7s cubic-bezier(.22, 1, .36, 1);
    }

    .ham_popup.open .ham_main_menu {
        opacity: 1;
        transform: translateY(0);
    }

    .ham_popup.open .ham_main_menu:nth-child(1) {
        transition-delay: .12s;
    }

    .ham_popup.open .ham_main_menu:nth-child(2) {
        transition-delay: .19s;
    }

    .ham_popup.open .ham_main_menu:nth-child(3) {
        transition-delay: .26s;
    }

    .ham_popup.open .ham_main_menu:nth-child(4) {
        transition-delay: .33s;
    }

    .ham_main_menu > a,
    .ham_main_menu > .ham_main {
        width: 100%;
        min-height: 82px;
        padding: 0 4px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        background: transparent;
        border-radius: 0;

        color: rgba(255, 255, 255, .82);
        font-size: clamp(24px, 7vw, 32px);
        letter-spacing: -.02em;

        transition:
            color .35s ease,
            padding-left .35s ease;
    }

    /* 화살표 */
    .ham_main_menu > a::after,
    .ham_main_menu > .ham_main::after {
        content: '';
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        background: currentColor;
        -webkit-mask:
            url('/images/icon/chevron-right.svg')
            no-repeat center / contain;
        mask:
            url('/images/icon/chevron-right.svg')
            no-repeat center / contain;
        opacity: .55;
        transform: translateX(-5px);
        transition:
            transform .35s ease,
            opacity .35s ease;
    }

    /* 현재 페이지 */
    .ham_main_menu.on > a,
    .ham_main_menu.on > .ham_main {
        padding-left: 22px;
        color: var(--white);
    }

    .ham_main_menu.on > a::before,
    .ham_main_menu.on > .ham_main::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 2px;

        width: 7px;
        height: 7px;

        border-radius: 50%;
        background: var(--accent);

        transform: translateY(-50%);
        box-shadow: 0 0 0 4px rgba(140, 37, 37, .12);
    }

    .ham_main_menu.on > a::after,
    .ham_main_menu.on > .ham_main::after {
        opacity: 1;
        transform: translateX(0);
    }

    /* 터치 시 피드백 */
    .ham_main_menu > a:active,
    .ham_main_menu > .ham_main:active {
        color: var(--white);
        padding-left: 12px;
    }

    .ham_sub_wrap {
        display: none;
        padding-bottom: 20px;
    }

    .ham_sub_box {
        padding: 0 0 0 22px;
    }

    .ham_sub_box li + li {
        margin-top: 4px;
    }

    .ham_sub_box a {
        position: relative;
        display: block;
        padding: 9px 0 9px 18px;

        color: rgba(255, 255, 255, .5);
        font-family: var(--sans);
        font-size: var(--ft16);
    }

    .ham_sub_box a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;

        width: 7px;
        height: 1px;

        background: rgba(255, 255, 255, .35);
    }

    .ham_main_menu.open > .ham_main::after {
        transform: rotate(90deg);
    }

    .h_top:has(.ham_popup.open) .h_inner {
        padding: 20px;
    }

    .h_top:has(.ham_popup.open) .h_logo {
        z-index: 60;
    }

    .h_top:has(.ham_popup.open) .h_logo img {
        filter: brightness(0) invert(1);
    }

    .h_top:has(.ham_popup.open) .h_ham {
        z-index: 60;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, .35);
    }

    .h_top:has(.ham_popup.open) .h_ham span::before,
    .h_top:has(.ham_popup.open) .h_ham span::after {
        background: var(--white);
    }

    /* -- footer -- */
    .f_logo {
        width: 84px;
    }
    .f_info {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .f_btm .f_box {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .f_copyright {
        gap: 10px;
    }


    /* -- page -- */
    .page_top {
        padding-top: 200px;
    }



    /* -- input -- */
    .search_box {
        width: 100%;
        max-width: 340px;
    }
    
    /* -- etc -- */
    .top_btn .icon {
        width: 24px;
    }
    #scrolldown {
        bottom: 40px;
    }
} 
    

@media all and (max-width: 500px) {
}