/* -------------------body--------------------- */
body {
    opacity: 0;
    transition: .5s ease;
}

body.fade-in {
    opacity: 1;
}

/*--------------------------- header ---------------------------*/
/*-- h_top --*/
.back_overlay {
    position: fixed;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all .4s;
    z-index: 3;
    visibility: hidden;
}
.back_overlay.on {
    background: var(--overlay);
    backdrop-filter: blur(5px);    
    visibility: visible;
}
.h_top {
    width: 100%;
    /* height: auto; */
    position: fixed;
    top: 0px;
    left: 0;
    transform: translateY(0);
    z-index: 99;
    transition: transform .5s ease, background .5s ease;
    padding: 20px;
    pointer-events: none;
    /* mix-blend-mode: difference;
    filter: invert(1) grayscale(1) sepia(0.7); */
}

.h_inner {
    height: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    border-radius: var(--border-radius-sm);
    transition: background .5s ease;    
}
.h_nav {
    pointer-events: auto;
    max-width: 100px;
}
.h_nav > ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    align-items: start;
}
.h_menu_box {
    width: 100%;
    height: 100%;
    position: relative;    
}
.h_nav_wrap {
    display: flex;
    gap: var(--con-gap);
    margin-top: 34px;
}
.h_nav_wrap.mobile {
    display: none;
}
.h_menu {
    font-size: var(--d1);
    font-weight: var(--medium);
    color: var(--ft-main);
    transition: opacity .3s ease;
}
/* 
.h_nav:hover .h_menu {
    opacity: 0.5;
} */
.h_menu:hover {
    opacity: .5;
}

.h_menu.on {
    text-decoration: underline;
}
.h_sub {
    width: max-content;
    transition: max-height 1s ease, opacity .3s .5s ease;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.h_sub:has(.h_sub_menu.on) {
    max-height: 300px;
    opacity: 1;
}

.h_menu_box:hover .h_sub {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    transition: max-height 2s ease, opacity .5s ease;
}
.h_sub_inner {
    height: fit-content;
    padding-left: 20px;
    position: relative;
    margin: 10px 0;
}
.h_sub_inner::before {
    content: '';
    display: block;
    width: 2px;
    height: 100%;
    background: color-mix(in srgb, var(--gray-400), transparent 50%);
    position: absolute;
    top: 0;
    left: 0;
}
.h_nav_wrap.mobile .h_sub_inner {
    padding-left: 0;
    padding-right: 20px;
}
.h_nav_wrap.mobile .h_sub_inner::before {
    left: auto;
    right: 0;
}
.h_sub_inner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 25%;
    background: var(--primary-600);
    transition: transform .3s ease;
   
}
.h_sub_inner > ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.h_sub_menu {
    text-align: left;
    font-size: var(--d3);
}
.h_sub_menu:hover {
    opacity: .5;
}
.h_sub_menu.on {
    opacity: 1;
}

.h_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .3s ease;
    pointer-events: auto;
}
.h_logo a {
    width: 80px;
    height: auto;
    position: relative;
    transition: all .3s ease;
}
.h_logo_img {
    border-radius: 0;
}
.h_ham {
    display: none;
    z-index: 2;
}



/* 모바일 gnb */
.ham_btn {
    width: 40px;
    height: 40px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    z-index: 99;
}

.ham_btn > div {
    width: 80%;
    height: 3px;
    position: absolute;
    background: var(--gray-600);
    transition: transform .3s ease;
}

.h_top.white .ham_btn > div {
    background: white;
}
.h_top.scroll .ham_btn > div,
header.m_open .h_top .ham_btn > div {
    background: var(--gray-600) !important;
}
.h_top.invert {
    mix-blend-mode: difference;
    filter: invert(1) grayscale(1) sepia(0.7);
}
body:has(.back_overlay.on) .h_top.invert {
    mix-blend-mode: unset;
    filter: unset;
}
.ham_btn>div:first-child {
    transform: translateY(-5px) rotate(0);
}

.ham_btn>div:last-child {
    transform: translateY(5px) rotate(0);
}
header.m_open .ham_btn>div:first-child {
    transform: translateY(0) rotate(45deg);
}

header.m_open .ham_btn>div:last-child {
    transform: translateY(0) rotate(-45deg);
}

.m_gnb {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100dvh;
    background: white;
    opacity: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    padding: 80px 0 0;    
    transition: right .8s ease;
    overflow: hidden;
}
.m_gnb .inner {
    width: 100%;
    height: 100%;   
    padding: 0 40px 40px;    
    overflow-y: auto;
}
.m_gnb_menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.m_gnb_item {
    border-top: 1px solid var(--primary-200);
    position: relative;
    cursor: pointer;
}
.m_gnb_item > a,
.m_gnb_item .m_gnb_head{
    padding: 14px 10px;
}
.m_gnb_item.m_my {
    border-top: 0;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}
.m_gnb_item.m_my p {
    font-size: var(--ft18);
    margin-bottom: 10px;
    padding-left: 10px;
}
.m_gnb_item.m_login {
    border: 0;
    font-size: var(--ft18);
    border: 1px solid var(--primary-300);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 20px;
}
.m_gnb_head {
    font-size: var(--ft24);
    font-weight: var(--medium);
}
.m_gnb_item.on .m_gnb_head {
    color: var(--primary);
}
.m_gnb_sub {
    padding: 10px;
}
.m_gnb_sub_item {
    font-size: var(--ft20);
    color: var(--gray-500);
}
.m_gnb_sub_item a {
    padding: 6px 0;
}
.m_gnb_menu .text_wrap {
    width: 100%;
}
.m_gnb_drop {
    position: relative;
}
.m_gnb_drop::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: var(--gray-600);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0);
    transition: transform .3s ease;
    mask: url('/images/icon/drop_arrow.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icon/drop_arrow.svg') no-repeat center / contain;
}
.m_gnb_item.open .m_gnb_drop::after {
    transform: translateY(-50%) rotate(-180deg);
}

.m_gnb_footer * {
    font-size: var(--ft16);    
}

.m_gnb_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.m_gnb_info .list dt {
    font-weight: var(--bold);
    margin-bottom: 6px;
}

.m_gnb_copyright {
    margin-top: 30px;
}

.m_gnb_copyright .link {
    text-decoration: underline;
}
.m_gnb_btn,
.m_gnb {
    display: none;
}


/* quick_menu */
.quick_menu {
    position: fixed;
    right: 0;
    bottom: 50px;
    z-index: 9;
    box-shadow: 0 0 14px #00000038;
}
.quick-list {
    display: flex;
    flex-direction: column;
    align-items: end;
}
.quick-btn {
    /* width: 40px; */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
}
.quick-btn.naver {
    background-color: var(--primary-600);
}
.quick-btn.kakao {
    background-color: var(--white-primary);
}
.quick-btn.insta {
    background-color: var(--primary-300);
}
.quick-btn.naver .btn-text {
    color: var(--gray-100);
}

.quick-btn .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-bottom: 4px;    
}
.quick-btn .icon img {
    transform: rotate(90deg);
}
.quick-btn .btn-text {
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    font-size: var(--d2);
}


/* top_btn */
.top_btn {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-100%) translateX(-50%);
    position: absolute;
    top: 10px;
    left: 50%;
    opacity: 0;
}
.top_btn .icon {
    width: 100%;
}



/* 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;
}




/*--------------------------- footer ---------------------------*/
footer {
    width: 100%;
    padding: var(--con-gap) 20px 20px;
    z-index: 2;
    position: relative;
}

.f_inner p,
.f_inner a {
    font-size: 12px;
     color: var(--gray-500);
}
.f_t {
    display: flex;
    align-items: center;
    gap: 4px 10px;
    flex-wrap: wrap;
}
.f_info, .f_copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.f_copyright {
    margin-top: 6px;
    font-size: 12px;
}

.f_copyright a {
    width: fit-content;
    height: fit-content;
    display: inline-block;
}
.f_copyright a:hover {
    text-decoration: underline;
}




/*--------------------------- btn ---------------------------*/

/*-- btn --*/
.btn {
    font-size: var(--ft20);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn span {
    display: block;
}

.btn .text_wrap {
    height: 1em;
    display: flex;
    overflow: hidden;
    position: relative;
    font-weight: var(--bold);
    text-transform: uppercase;
}

.btn .text_wrap.center {
    justify-content: center;
}

.btn .text_wrap>span {
    text-align: center;
    display: flex;
    align-items: center;
    line-height: 1em;
    font-size: inherit;
    font-weight: var(--bold);
}

.btn .text_wrap>span:last-child {
    position: absolute;
    top: 100%;
}

.btn:hover .text_wrap>span:not(.split) {
    transform: translateY(-100%);
    transition: transform .3s ease;
}

/* 링크버튼 */
.btn-link {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-100);
    padding: 4px 8px;
    background: var(--primary-600);
}
.btn-text {
    font-size: var(--d2);
    color: inherit;
}

.btn-icon,
.link-icon {
    width: var(--icon-btn);
    height: var(--icon-btn);
    border-radius: var(--border-radius-sm);
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


.btn-icon,
.link-icon {
    width: 14px;
    height: 14px;
    background: url('/images/icon/plus_w.svg') no-repeat center / cover;
    transition: background-image .4s ease;    
}
.btn-link.white {
    background: color-mix(in srgb, var(--primary-100), transparent 10%);;
}
.btn-link.white .btn-icon {
    background-image: url('/images/icon/plus.svg');
}
.btn-link.white .btn-text {
    color: var(--gray-600);
}
.btn:hover .btn-icon {
   rotate: 90deg;
   transition: rotate .3s ease;
}



/* 더보기 */
.more_btn {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-600);
}
.more_btn:hover,
.more_btn.white:hover {
    color: var(--point);
}
.more_btn .btn-text {
    transition: color .4s ease;
}

.more_btn.white {
    color: var(--gray-200);
}
.text-center .more_btn {
    margin-left: auto;
    margin-right: auto;
}

/* 기본버튼 */ 
.primary_btn {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 10px;
}
.primary_btn .btn-text {
    padding-left: 10px;
    display: inline-block;
}
.primary_btn:hover,
.primary_btn.white:hover {
    color: var(--point);
}
.primary_btn.white {
    color: var(--gray-200);
}


/* 파티클 버튼 */
.particle-btn {
    position: relative;
}
.btn-particle {
    width: 6px;
    height: 6px;
    /* background: url('/images/deco_f_1.svg') no-repeat center / contain; */
    background: white;
    border-radius: 50%;
    opacity: 0;
}
.particle-btn:hover .btn-particle {
    opacity: 1;
}
  .p-1 {
    position: absolute;
    top: 24%;
    left: 31%;
    scale: 1;
    z-index: -1;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
  }
  
  .p-2 {
    position: absolute;
    top: 41%;
    left: 36%;
    scale: .9;
    z-index: -1;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .p-3 {
    position: absolute;
    top: 43%;
    left: 42%;
    scale: .5;
    z-index: -1;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .p-4 {
    position: absolute;
    top: 42%;
    left: 50%;
    scale: .7;
    z-index: -1;
    transition: all .8s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .p-5 {
    position: absolute;
    top: 35%;
    left: 45%;
    scale: 1.1;
    z-index: -1;
    transition: all .6s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .p-6 {
    position: absolute;
    top: 35%;
    left: 60%;
    scale: .4;
    z-index: -1;
    transition: all .8s ease;
  }
  

  
  .particle-btn:hover .p-1 {
    top: -11%;
    left: -20%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .particle-btn:hover .p-2 {
    top: 12%;
    left: -2%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .particle-btn:hover .p-3 {
    top: 58%;
    left: -2%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .particle-btn:hover .p-4 {
    top: 38%;
    left: 95%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .particle-btn:hover .p-5 {
    top: 29%;
    left: 107%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .particle-btn:hover .p-6 {
    top: 5%;
    left: 60%;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .fil0 {
    fill: #FFFDEF
  }



/* 스크롤다운 */
.scroll_down {
    width: 36px;
    height: 36px;
    position: fixed;
    z-index: 2;
    bottom: 40px;
    left: 50%;
    opacity: 1;
    pointer-events: none;
    transform: translateX(-50%);
}
.scroll_down img {
    animation: scrollFloat 1.8s ease-in-out infinite;
}
@keyframes scrollFloat {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    
}


/*--------------------------- page ---------------------------*/
.load_up,
.load_right,
.load_left {
    opacity: 0;
}
/* .hero_sec {
    padding: var(--sec-gap) 0 calc(var(--sec-gap) / 2);
} */
.hero-title {
    color: var(--ft-main);
    font-weight: var(--medium);
    font-size: var(--t1);
}

.hero-title.text-left {
    text-align: left;
}
.hero-subtitle {
    font-size: var(--ft20);
    color: var(--ft-sub);
    text-align: center;
    margin-top: 40px;
}
.sec-title {
    font-size: var(--sec-title);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
}
.sec-sub_title {
    font-size: var(--d2);
    color: var(--primary-500);
}

.sec-name {
    padding: 2px 12px;
    border-radius: 99px;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    width: fit-content;
    color: var(--primary);
    font-size: var(--ft16);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    margin-bottom: 20px;
}
.sec-name.white {
    color: white;
}
.text-center .sec-name {
    margin: 0 auto 20px;
}

.hero-title_wrap {
    position: relative;
    display: flex;
}
.hero-title_wrap .count {    
    font-size: var(--t7);
    color: var(--primary);
    font-weight: var(--semi-bold);
    padding-left: 20px;
    display: inline-block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ft-sub);
    font-size: 14px;
}
.breadcrumb a {
    width: fit-content;
}

.sub_page .hero_sec {
    padding-top: var(--sec-gap);
}
.sub_page .hero-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px var(--con-gap);
    margin-bottom: 50px;
}
.sub_page .hero-content {
    padding: 10px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
}
.sub_page .hero-content .sec-bg {
    border-radius: var(--border-radius-lg);
    background: var(--img);
    height: 80vh;
    width: 100%;
    filter: brightness(.7);   
}

.sub_page .hero-title {
    font-weight: var(--bold);
    display: flex;
}
.sub_page .hero-title .char-box {
    overflow: hidden;
    display: inline-block;
}
.sub_page .hero-title .char {
    display: block;
    transform: translateX(-100%);
    opacity: 0;
    line-height: 1;
}

.sub_page .hero-text {
    position: absolute;
    bottom: var(--margin);
}
.sub_page .hero-text p {
    font-size: var(--t6);
    color: white;
}
.sub_page .sec-title {
    font-size: var(--ft42);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
}
.sub_page main {
    padding-bottom: var(--sec-gap);
}
.tab-area {
    position: sticky;
    bottom: 40px;
    left: 50%;
    width: fit-content;
    transform: translateX(-50%);  
    margin-top: 40px;  
    z-index: 5;
}
.tab-box {
    background: var(--glass-white);
    backdrop-filter: blur(6px);
    filter: drop-shadow(0 4px 6px #00000030);
    border-radius: var(--border-radius);
    padding: 6px;  
}

.tab-list {    
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}
.tab-list::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 8px 18px;
    border-radius: calc(var(--border-radius) * .8);
    font-size: var(--d1);
    cursor: pointer;
    color: #444;
    font-weight: var(--medium);
    position: relative;
    overflow: hidden;
}
.tab::before {
    opacity: 0;
    content: '';
    display: block;
    height: 3px;
    width: var(--bar-width, 0%);
    background: linear-gradient(to bottom, transparent, var(--point2) 20%);
    position: absolute;
    bottom: 0;
    left: 0;
}
.tab.active {
    background: var(--gray-500);
    transition: background .3s .3s ease;
    color: #fff; 
}

.tab.active::before {
    opacity: 1;
}

.slider {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--gray-300);
    pointer-events: none;
    z-index: -1;
    border-radius: calc(var(--border-radius) * .8);
}







/* detail_page */

.detail_page .page-title_sec {
    padding-top: var(--sec-gap);
}
.detail_page .page-title {
    font-size: var(--t2);
    text-transform: uppercase;
}
.detail_page .sec-title {
    font-size: var(--t5);
    font-weight: var(--medium);
}




/* tab_menu */
.tab_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.tab_menu .btn span {
    padding: 10px 20px;
}

.tab_menu .btn.active {
    background: var(--primary);
    color: white;
}

/* pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--con-gap);
}

.pagination_number {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_btn a,
.pagination_number li a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
    transition: opacity .3s ease, background .3s ease;
    border-radius: var(--border-radius-sm);
}

.pagination_btn a:hover,
.pagination_number li a:hover {
    background: var(--gray-100);
    opacity: .8;
}

.pagination_btn a {
    width: 36px;
    aspect-ratio: 1;
}
.pagination_btn a .icon {
    width: 18px;
    aspect-ratio: 1;
}

.pagination_number li a {
    min-width: var(--icon-btn-sm);
    height:  var(--icon-btn-sm);
    padding: 0 10px;
    font-size: var(--ft16);
    position: relative;
}


.pagination_number li.page_click a {
    color: var(--primary);
    opacity: 1;
    font-weight: var(--bold);
}



/* -------------------- 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----------------- */
/* search_input */

.search-input_box {
    width:  300px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--gray-300);
    padding: 10px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(6px);
    background: var(--glass-white);
}
.search-input_box .search-input {
    font-size: clamp(16px, var(--ft18), 18px);
    flex: 1 0 0;
    padding-left: 10px;
    font-size: 16px;
}
.search-input_box .search-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%;
}
.search-input_box .search-btn .icon {
    flex-shrink: 0;
    background: transparent;
}
.search-input_box .search-btn .icon::before {
    background-image: url('/images/maneo/icon/search.svg');
}
.search-input_box:has(input:focus),
.input_box:has(input:focus), .input_box:has(textarea:focus) {
    border-color: var(--primary);
}




/* checkbox */
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox span {
    width: 18px;
    height: 18px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkbox input:checked + span {
    background-color: var(--primary-400);
    border-color: var(--primary-400);
}
.checkbox input:checked + span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}



/* ------------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 {
    width: var(--icon-btn);
    height: var(--icon-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .3s ease;
     background: url('/images/icon/prev.svg') no-repeat center / 80%;
     cursor: pointer;
     z-index: 1;
}
.swiper-button-disabled {
    cursor: auto;
}
.swiper-next {
    background-image: url('/images/icon/next.svg');
}


.swiper-prev::after,
.swiper-next::after {
    content: '';
}



/* ----------------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) {

    /* ------------cursor-------------- */
    .cursor {
        width: 80px;
        height: 80px;
        /* aspect-ratio: 1 / 2; */
        background: #ffffff10;
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        font-size: var(--ft16);
        z-index: 99;
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
        transform-origin: 50% 0%;
        transition: transform .5s ease, opacity 0.4s ease;
        border-radius: 50%;
        border: 1px solid var(--gray-300);
    }

    .cursor.view {
        opacity: 1;
        color: var(--ft-main);
        transform: translate(-50%, -50%) scale(1);
    }
    .cursor.name.view {
        color: white;
    }

    /* swiper btn */
    .swiper-prev,
    .swiper-next {
        opacity: 0.7;
    }

   
    /* .swiper-next:hover {
        opacity: 1;
        transform: translateX(4px);
    }
    .swiper-prev:hover {
        opacity: 1;
        transform: translateX(-4px);
    } */
}

@media all and (max-width: 1200px) {
    /* 모바일 gnb */
    .gnb {
        display: none;
    }
    

    .m_gnb_btn,
    .m_gnb {
        display: flex;
    }
    header.m_open .m_gnb {
        pointer-events: visible;
        right: 0;
        opacity: 1;
        overflow-y: auto;
    }
  


}

@media all and (max-width: 960px) {
    .h_logo > a {
        width: 60px;
    }
    .h_t {
        width: 100%;
        display: flex;
        align-items: start;
        justify-content: space-between;
    }
    .h_ham {
        pointer-events: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        rotate: 0deg;
        transition: rotate .5s ease;
        cursor: pointer;
    }
    .h_ham.active {
        rotate: 45deg;
    }
    .h_ham-icon {
        width: 24px;
    }
    .h_nav_wrap.pc {
        display: none;
    }
    .h_nav_wrap.mobile {
        display: none;
        pointer-events: none;
        opacity: 0;
        /* background: var(--overlay);
        backdrop-filter: blur(4px); */
        position: fixed;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        height: 100vh;
        justify-content: flex-end;
        padding-right: 20px;
    }
    
    .h_nav_wrap.mobile.active {        
        pointer-events: auto;
    }
    .h_nav {
        margin-top: 100px;
        max-width: 100%;
    }
    .h_nav > ul > li {
        text-align: right;
        padding: 4px 0;
    }

    .h_menu {
        font-size: var(--d1);
    }
    .h_sub {
        width: 100%;
        position: static;
        transform: translateX(0);
        transition: unset;
        pointer-events: auto;
        opacity: 1;
        margin-top: 10px;
        max-height: 500px;
    }
    .h_sub_inner-line {
        left: auto;
        right: 0;
    }
    .h_sub_inner > ul > li a {
        text-align: right;
    }
    .h_nav:hover .h_menu {
        opacity: 1;
    }

   
}
@media all and (max-width:600px) {
    /* h_logo */
    .h_logo a {
        width: 40px;
    }

    /* popup */
    .popup-box > .popup-close {
        transform: translateY(-100%);
    }

    /* quick menu */
    .quick_menu {
        bottom: 0;
        left: 0;
        width: 100%;
    }
    .quick-list {
        flex-direction: row;
    }
    .quick-list > li {
        flex: 1 0 0;
    }
    .quick-btn {
        flex-direction: row;
        justify-content: center;
    }
    .quick-btn .icon {
        margin-right: 6px;
        margin-bottom: 0;
    }
    .quick-btn .icon img {
        transform: rotate(0deg);
    }
    .quick-btn .btn-text {
        writing-mode: unset;
        -webkit-writing-mode: unset;
    }
    /* footer */
    footer {
        padding-bottom: 60px;
    }

    /* topbtn */
    .top_btn,
    .scroll_down {
        width: 26px;
    }
    .scroll_down {
        bottom: 60px;
    }
}
@media all and (max-width: 500px) {


    /* pagination */
    .pagination_btn a {
        width: 32px;
    }
    .pagination_number li a {
        min-width: 36px;
        height: 36px;
    }


    /* popup */
    .popup-con {
        padding: 20px 0px var(--con-gap);
    }
    .popup-bot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0 0;
    }


    
}


