
/********** header **********/
.h_top {
    position: fixed;
    top: 0;
    z-index: 99;
    left: 0;
    right: 0;
}
.h_top::before {
    width: 100%;
    height: 100%;
    background: var(--white-800);
    content: '';
    display: block;
    position: absolute;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .4s ease, opacity .6s ease;
    backdrop-filter: blur(8px);
}
.h_top.scroll::before {
    transform: translateY(0);
    opacity: 1;
} 
.h_top.scroll .h_inner {
    padding: 20px 100px;
}
.h_inner {
    padding: 30px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    transition: padding .4s ease;
}
.h_nav > ul {
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: start;
    align-items: center;
}
.h_nav > ul > li {
    position: relative;
}
.h_logo a {
    width: 130px;
    height: auto;
    position: relative;
}


.h_main_menu > a {
    color: var(--ft-main);
    transition: background .3s ease, color .3s ease;
    text-transform: uppercase;
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    position: relative;
}
.h_main_menu.on > a::after  {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -110%);
    opacity: 0.6;
    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;
}



/********** quick_menu **********/
.quick_menu {
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    border-radius: var(--radius-lg);
    background: var(--black-800);
    backdrop-filter: blur(14px);
    box-shadow: var(--box-shadow);
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    z-index: 9;
}
.quick_menu * {
    opacity: 0;
}
.quick_menu .q_title {
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: white;
    padding-left: 24px;
}
.quick_menu .q_menu {
    display: flex;
    align-items: center;
    gap: 10px;

}
.quick_menu .q_menu li {
    flex: 1 0 0;
}
.quick_menu .q_menu a {
    width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    position: relative;
}
.quick_menu a::before {
    content: '';
    display: block;
    position: absolute;
    inset: -10px -4px;
    border-radius: var(--radius-md);
    background: var(--white-100);
    opacity: 0;
    transform: scale(.5);
    transition: transform .4s ease, opacity .3s ease;
}
.quick_menu .q_icon {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.quick_menu a:hover::before {
    transform: scale(1);
    opacity: 1;
}
.quick_menu a:hover .q_icon {
    transform: scale(.95);  
}

.quick_menu .q_text {
    font-size: var(--ft13);
    color: white;
}
.quick_menu .top_btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}
.quick_menu .top_btn:hover .q_icon img {
    transform: translateY(-100%);
    transition: transform .4s ease;
}

.quick_menu .top_btn:hover .q_icon {
    transform: scale(.95);  
}

/********** footer **********/
footer {
    width: 100%;
    min-height: 470px;
    position: relative;
    z-index: 2;
}
footer * {
    color: white;
}
.footer::before {
    content: '';
    display: block;
    position: absolute;
    inset: 10px;
    background: var(--primary);
    border-radius: var(--radius-md);
}
.f_inner {
    display: flex;
    align-items: end;
    gap: var(--con-gap);
    padding-top: var(--con-gap);
    padding-bottom: var(--con-gap);
}
.f_logo {
    width: 600px;
    height: auto;
    filter: invert(1);
    opacity: 0.2;
}
.f_r {
    flex: 1 0 0;
}

.f_t {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 80px;
}
.f_t .title {
    font-size: var(--ft24);
    font-weight: var(--semi-bold);
    color: white;
}
.f_link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.f_link a {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: background .3s ease;
}
.f_link a .icon {
    transition: transform .3s ease;
}
.f_link a:hover {
    background: var(--white-800);
}
.f_link a:hover .icon {
    transform: scale(.95);
}

.f_link img {
    width: 20px;
    height: 20px;
}

.f_b {
    margin-bottom: 60px;
}
.f_b li {
    margin-bottom: 10px;
}
.f_b b {
    margin-right: 6px;
}
.f_info *, .f_address * {
    font-size: var(--ft14);
}
.f_address li {
    display: flex;
    align-items: center;
}

.f_f {
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.f_menu {
    display: flex;
    align-items: center;
    gap: 5px;
}
.f_menu a {
    width: fit-content;
    font-size: var(--ft14);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--white-100);
    transition: background .3s ease;
    border: 1px solid transparent;
}
.f_menu a:hover {
    background: var(--white-200);
    border-color: var(--white-300);
}
.f_copyright p,
.f_copyright a {
    font-size: var(--ft14);
    text-align: right;

}


/**** case card ****/
.case_card {
    height: 100%;
    
}
.case_card a {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.case_card .body {
    padding: 20px 24px 40px;
}
.case_card .thumb {
    aspect-ratio: 1.5 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 30px;
}

.case_card .category {
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    color: var(--accent);
    margin-bottom: 16px;
}
.case_card .title {
    font-size: var(--ft20);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
    margin-bottom: 16px;
}
.case_card .desc {
    font-size: var(--ft16);
    color: var(--ft-sub);
    font-weight: var(--medium);
    margin-bottom: 20px;
}
.case_card .date {
    font-size: var(--ft14);
    color: var(--ft-light);
    font-weight: var(--medium);
}
.case_card .result {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--gray-900);
    padding: 16px 24px;
}
.case_card .result .icon {
    width: 22px;
    height: 22px;
}
.case_card .result span {
    color: white;
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
}

/***** shorts_card *****/
.shorts_card .thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 2 / 3;
}
.shorts_card .info_box {
    display: flex;
    align-items: start;
    gap: 14px;
}
.shorts_card .title {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    margin-bottom: 12px;
}
.shorts_card .name {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--ft-sub);
    margin-bottom: 6px;
}
.shorts_card .date {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--ft-light);
}
.shorts_card .profile_thumb {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/***** review card *****/
.review_card .thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 30px;
}
.review_card .title {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    margin-bottom: 24px;
}
.review_card .desc {
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--ft-sub);
    margin-bottom: 24px;
}
.review_card .info_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review_card .date {
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--ft-light);
}
.review_card .category {
    width: fit-content;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--gray-900);
    color: white;
    font-size: var(--ft16);
    font-weight: var(--medium);
    line-height: 1;
}

/* 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-500);
    margin-right: 10px;
    margin-top: calc(1em - 4px);
}


/* 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: white;
    font-size: var(--ft16);
}
#scrolldown .icon {
    width: 16px;
    height: 16px;
    animation: scrollFloat 1.5s ease-in-out infinite;
    background: white;
    -webkit-mask: url('/images/icon/caret-down.svg') no-repeat center / cover;
    mask: url('/images/icon/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 ---------------------------*/
.load_up,
.load_right,
.load_left {
    opacity: 0;
}
.page_title_box {
    padding-top: calc(var(--page-padding) - 10px);
}
.page_title_box .title {
    padding: 6px 0;
    font-size: var(--d3);
    text-transform: uppercase;
    font-weight: var(--bold);
}

.sec-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


/*** sub pge ***/
.sub_page .hero_sec {
    margin-top: var(--header-gap);
    margin-bottom: var(--con-gap);
}
.sub_page .hero_sec .inner {
    height: 600px;
    
}
.sub_page .hero_sec .sec_content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    flex-direction: column;
}
.sub_page .hero_sec .bg {
    position: absolute;
    inset: 0;    
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub_page .hero_sec .bg img {
    height: auto;
}
.sub_page .hero_sec .text_box {
    position: relative;
    padding: var(--con-gap);
}
.sub_page .hero_sec h1,
.sub_page .hero_sec p {
    font-size: var(--ft46);
    color: white;
}
.sub_page .hero_sec .page_nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}
.sub_page .hero_sec .page_nav a {
    padding: 10px 20px;
    border-radius: 99px;
    color: white;
    background: var(--white-400);
    backdrop-filter: blur(6px);
    border: 1px solid var(--white-500);
    font-size: var(--ft18);
    font-weight: var(--medium);
    transition: color .4s ease, background .4s ease;
}
.sub_page .hero_sec .page_nav a:hover {
    background: var(--white-300);
}
.sub_page .hero_sec .page_nav li.on a {
    background: white;
    color: var(--ft-main);
    font-weight: var(--semi-bold);
}

.sub_page .tab_menu {
    margin-bottom: 40px;
}

.sec_control {
    margin-bottom: 40px;
}
.sec_control .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sec_control .total {
    font-size: var(--ft16);
    color: var(--ft-sub);
    font-weight: var(--medium);
}
.sec_control .total b {
    font-size: var(--ft18);
    color: var(--accent);
    font-weight: var(--semi-bold);
}

.sub_page .con_list {
    display: grid;
    gap: 60px 40px;
}
.sub_page .con_list.grid_4 {
    grid-template-columns: repeat(4, 1fr);
}
.sub_page .con_list.grid_3 {
    grid-template-columns: repeat(3, 1fr);
}

/*** breadcrumb ***/
.breadcrumb {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb ol > li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-300);
    font-size: var(--ft14);
    font-weight: var(--medium);
}

.breadcrumb ol > li:not(:last-child)::after {
    content: "";
    width: 18px;
    aspect-ratio: 1;
    background: var(--gray-300);
    mask: url('/images/icon/caret-right.svg') no-repeat center / cover;
    -webkit-mask: url('/images/icon/caret-right.svg') no-repeat center / cover;
    color: var(--gray-500);
    flex-shrink: 0;
}

.breadcrumb a {
    color: inherit;
}

.breadcrumb ol > li[aria-current="page"] {
    color: white;
    font-weight: var(--semi-bold);
}

.detail_page .breadcrumb {
    position: static;
    margin-bottom: 40px;
    transform: translateX(0);
}
.detail_page .breadcrumb ol {
    justify-content: center;
}
.detail_page .breadcrumb ol > li {
    color: var(--ft-light);
}
.detail_page .breadcrumb ol > li[aria-current="page"] {
    color: var(--ft-sub);
    font-weight: var(--semi-bold);
}


/* tab_menu */
.tab_menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tab_menu a {
    color: var(--ft-sub);
    font-weight: var(--medium);
    font-size: var(--ft18);
    padding-bottom: 8px;
    position: relative;
}
.tab_menu a:hover {
    color: var(--primary);
}
.tab_menu a.on {
    color: var(--primary);
    font-weight: var(--semi-bold);
}
.tab_menu a.on::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}


/* 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: .6;
    font-size: var(--ft16);
    padding: 0 10px;
    transition: opacity .3s ease, background .3s ease;
    border-radius: var(--radius-sm);
    color: var(--gray-800);
    font-weight: var(--medium);
}

.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;
}
.pagination_btn a img {
    width: 24px;
    height: 24px;
    aspect-ratio: 1;
}

.pagination_number li.page_click a {
    color: white;
    background: var(--primary);
    opacity: 1;
    font-weight: var(--semi-bold);
}

/****** 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-radius: var(--radius-md);
    background: var(--bg-light);
}

.input_box .input {
    font-size: clamp(16px, var(--ft18), 18px);
    flex: 1 0 0;
    font-weight: var(--medium);
    height: 100%;
    padding: 20px 24px; 
}

.input_box .btn {
    /* width: var(--icon-btn-sm);
    height: var(--icon-btn-sm); */
    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');
}

.search_box:focus-within ,
.input_box:focus-within  {
    outline: 2px dashed var(--primary);
}

/* textarea */
.textarea_box {
    height: var(--height, 250px);
}

/* radio */
.radio_box label {
    border-radius: var(--radius-md);
    background: var(--bg-light);
    font-size: clamp(16px, var(--ft18), 18px);
    flex: 1 0 0;
    font-weight: var(--medium);
    height: 100%;
    color: var(--gray-800);
    font-weight: var(--medium);
}
.radio_group input:checked + label {
    background: var(--primary);
    color: var(--white);
}

/* search */
.search_box {
    width:  340px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;    
    border-radius: var(--radius-md);
    background: var(--bg-light);
    padding-right: 24px;
}
.search_input {
    padding: 16px 0 16px 24px;
}
.search_btn {
    width: 20px;
    height: 20px;
    background: url('/images/icon/search.svg') no-repeat center / cover;
}



/* checkbox */
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox input + span {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    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: 1600px) {
    /*-- footer --*/
    .f_logo {
        width: 500px;
    }
    .f_t {
        margin-bottom: 40px;
    }
    .f_t .title {
        font-size: var(--ft20);
    }

    /*-- sub_page --*/
    .sub_page .hero_sec .inner {
        height: 500px;
    }
    .sub_page .hero_sec h1, 
    .sub_page .hero_sec p {
        font-size: var(--ft40);
    }
}

@media all and (max-width: 1400px) {

    /*-- header --*/
    .h_main_menu > a {
        font-size: var(--ft16);
    }

    /*-- footer --*/
    .f_logo {
        width: 400px;
    }
    .f_b {
        margin-bottom: 30px;
    }


    /*-- sub_page --*/
    .sub_page .hero_sec .inner {
        height: 450px;
    }
    .sub_page .hero_sec h1, 
    .sub_page .hero_sec p {
        font-size: var(--ft36);
    }


    .review_card .title {
        margin-bottom: 20px;
        font-size: var(--ft18);
    }

    .sub_page .con_list.grid_4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
}

@media all and (max-width: 1200px) {
    /*-- quick_menu --*/
    .quick_menu {
        padding-left: 32px;
    }
    .quick_menu a:hover::before {
        inset: -6px;
    }
    .quick_menu .q_title {
        display: none;
    }
    .quick_menu .top_btn {
        width: 32px;
        height: 32px;
    }
    .quick_menu .q_icon {
        width: 18px;
        height: 18px;
    }

    /*-- footer --*/
    .f_inner {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .f_logo {
        width: 200px;
    }
    .f_r {
        width: 100%;
    }


    .sub_page .con_list.grid_3 {
       gap: 32px 20px;
    }
}



@media all and (max-width: 1024px) {

    /*-- header --*/
    .h_inner  {
        padding: 20px 40px;
        z-index: 12;
        position: relative;
    }
    .h_top.scroll .h_inner {
        padding: 12px 40px;
    }
    .h_logo a {
        width: 100px;
    }
    .h_nav {
        display: none;
    }

    .h_m_r {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .h_tel {
        height: 36px;
        border-radius: var(--radius-md);
        background-color: var(--gray-100);
    }
    .h_tel a {
        padding: 0 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .h_tel img {
        width: 14px;
        height: 14px;
    }
    .h_tel p {
        font-size: var(--ft16);
        font-weight: var(--semi-bold);
        color: var(--primary);
    }
    .h_ham {
        width: 32px;
        height: 36px;
        border-radius: var(--radius-md);
        background-color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .h_ham span,
    .h_ham span::before,
    .h_ham span::after {
        content: '';
        position: absolute;
        display: block;
        width: 18px;
        height: 2px;
        background-color: var(--white);
        border-radius: 1px;
        transition: all .4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .h_ham span::before {
        transform: translateY(-5px);
    }

    .h_ham span::after {
        transform: translateY(5px);
    }

    .h_ham.active span {
        background-color: transparent;
    }

    .h_ham.active span::before {
        transform: rotate(45deg);
    }

    .h_ham.active span::after {
        transform: rotate(-45deg);
    }


    /*-- ham_popup --*/
    .h_top.scroll:has(.ham_popup.open) .h_inner {
        padding: 20px 20px;
    }
    .ham_popup {
        display: block;
        width: 100%;
        height: 100dvh;
        padding: 10px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 11;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50px);
    }
    .ham_popup.open {
        pointer-events: all;
    }
    .ham_popup .overlay {
        position: fixed;
        inset: 0;
        background: var(--dimd);
    }
    .ham_inner {
        width: 100%;
        height: 100%;
        padding: 80px 20px 20px;
        border-radius: var(--radius-md);
        background-color: var(--white);
        overflow-y: auto;
        position: relative;
        z-index: 1;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .ham_inner::-webkit-scrollbar {
        display: none;
    }
    .ham_main_menu {
        margin-bottom: 10px;
    }
    
    .ham_main_menu .ham_main,
    .ham_main_menu > a {
        padding: 16px;
        overflow: hidden;
        background-color: var(--gray-100);
        border-radius: var(--radius-md);
        font-size: var(--ft20);
        font-weight: var(--semi-bold);
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .ham_main_menu.contact > a {
        background: var(--primary);
        color: white;
    }
    
    .ham_main_menu > .ham_main::after {
        content: '';
        display: block;
        width: 13px;
        height: 13px;
        background: url(/images/icon/chevron-right.svg) no-repeat center/contain;
        transform: rotate(90deg);
        transition: transform .4s ease;
    }
    .ham_main_menu.open .ham_main::after {
        transform: rotate(270deg);
    }
    .ham_main_menu:hover > a {
        background: var(--gray-200);
    }
    .ham_main_menu.on > .ham_main,
    .ham_main_menu.on > a {
        padding-left: 24px;
    }
    .ham_main_menu.on > .ham_main::before,
    .ham_main_menu.on > a::before {
        content: '';
        display: block;
        width: 5px;
        height: 5px;
        background: var(--primary);
        border-radius: 50%;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        position: absolute;
    }
    .ham_sub_wrap {
        display: none;
    }
    .ham_sub_box {
        padding: 10px 0;
    }
    .ham_sub_box a {
        padding: 10px 16px;
        font-size: var(--ft18);
    }

    .ham_nav_link {
        width: 100%;
        border-radius: var(--radius-md);
        background: var(--primary);
    }
    .ham_nav_link a {
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .ham_nav_link_icon {
        width: 20px;
        height: 20px;
    }
    .ham_nav_link_text {
        font-size: var(--ft20);
        color: var(--white);
        font-weight: var(--semi-bold);
    }




    /*-- sub_page --*/
    .sub_page .hero_sec .inner {
        height: 350px;
    }
    .sub_page .hero_sec h1, 
    .sub_page .hero_sec p {
        font-size: var(--ft32);
    }
    .sub_page .hero_sec .page_nav {
        margin-top: 40px;
    }

    .sub_page .con_list.grid_3 {
       grid-template-columns: repeat(2, 1fr);
    }
    .sub_page .con_list.grid_4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}



@media all and (max-width: 768px) {

    /*-- header --*/
    .h_inner  {
        padding: 20px 20px;        
    }
    .h_top.scroll .h_inner {
        padding: 12px 20px;
    }
    .h_logo a {
        width: 80px;
    }

    /*-- quick menu --*/    
    .quick_menu {
        width: 100%;
        height: fit-content;
        bottom: 0;
        left: 0;
        right: 0;
        transform: unset;
        opacity: 1;
        justify-content: center;
        padding: 6px 6px 10px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        pointer-events: visible;
    }
    .quick_menu * {
        opacity: 1;
    }
    .quick_menu .q_menu {
        display: contents;
    }
    .quick_menu .pc_only {
        display: none;
    }
    .quick_menu .q_menu > li {
        min-width: max-content;
    }
    .quick_menu .q_menu a {
        padding: 6px;
        width: 100%;
    }
    .quick_menu .top_btn {
        width: 36px;
        height: 36px;
        position: fixed;
        bottom: 80px;
        right: 16px;
        z-index: 5;
        margin-right: 0;
        box-shadow: var(--shadow);
    }




    /*-- footer --*/
    .footer {
        margin-bottom: 80px;
    }
    .f_inner {
        padding: 30px;
    }
    .f_logo {
        width: 120px;
    }
    .f_t {
        margin-bottom: 24px;
        flex-direction: column;
        gap: 10px;
    }
    .f_link a {
        width: 32px;
        height: 32px;
    }
    .f_link img {
        width: 16px;
        height: 16px;
    }
    .f_f {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
    .f_copyright p, 
    .f_copyright a {
        text-align: left;
    }


    /*-- sub_page --*/
    .breadcrumb {
        top: 20px;
    }
    .breadcrumb ol,
    .breadcrumb ol > li {
        gap: 4px;
    }
    .breadcrumb ol > li:not(:last-child)::after {
        width: 14px;
    }
    .sub_page .hero_sec .inner {
        height: 280px;
    }
    .sub_page .hero_sec .text_box {
        padding: 20px;
    }
    .sub_page .hero_sec .bg img {
        height: 100%;
        transform: none !important;
    }
    .sub_page .hero_sec h1, 
    .sub_page .hero_sec p {
        font-size: var(--ft24);
    }
    .sub_page .card a::after {
        inset: -10px;
    }
    .sub_page .hero_sec .page_nav {
        margin-top: 32px;
        gap: 10px;
    }
    .sub_page .hero_sec .page_nav a {
        padding: 8px 12px;
        font-size: var(--ft16);
    }


    /*-- sec_contorol --*/
    .sub_page .tab_menu {
        margin-bottom: 24px;
        gap: 16px;
    }
    .tab_menu a {
        font-size: var(--ft16);
    }
    .input_box {
        width: 100%;
    }
    .sec_control .row {
        flex-direction: column;
        align-items: start;
        gap: 32px;
    }
    .sec_control .row form {
        width: 100%;
    }
    .sec_control .total {
        order: 2;
    }

    .review_card .thumb {
        margin-bottom: 12px;
    }
    .review_card .title {
        margin-bottom: 12px;
        font-size: var(--ft18);
    }
    .review_card .desc {
        margin-bottom: 16px;
    }
    .review_card .category {
        font-size: var(--ft14);
    }
    .review_card .date {
        font-size: var(--ft14);
    }

    .shorts_card .thumb {
        margin-bottom: 12px;
    }
    .shorts_card .info_box {
        gap: 10px;
    }
    .shorts_card .profile_thumb {
        width: 20px;
    }
    .shorts_card .title {
        margin-bottom: 8px;
        font-size: var(--ft18);
    }

    .case_card .body {
        padding: 16px 16px 32px;
    }
    .case_card .title {
        margin-bottom: 8px;
        font-size: var(--ft18);
    }
    .case_card .result {
        padding: 16px;
        gap: 10px;
    }
    .case_card .result .icon {
        width: 16px;
        height: 16px;
    }
    .case_card .result span {
        font-size: var(--ft16);
    }

    .sub_page .con_list.grid_3,
    .sub_page .con_list.grid_4 {
        gap: 20px 10px;
    }
    


    /*-- form_box --*/
    .form_box > label {
        margin-bottom: 10px;
    }
    .input_box {
        height: 50px;
    }
    .input_box .input {
        padding: 0 16px;
    }
    .textarea_box {
        height: 200px;
    }
    .textarea_box textarea.input {
        padding: 16px;
    }
    
    /*-- more_btn --*/
    .more_btn .btn_icon::after {
        width: 16px;
        height: 16px;
    }
}   


@media all and (max-width: 500px) {
    .sub_page .con_list.grid_3 {
        grid-template-columns: repeat(1, 1fr);
    }
    .sub_page .con_list.grid_4 {
        grid-template-columns: repeat(1, 1fr);
    }
}