/* -------------------body--------------------- */
/* body {
    opacity: 0;
    transition: .5s ease;
}

body.fade-in {
    opacity: 1;
} */

/*--------------------------- header ---------------------------*/

.h_box {
    width: calc(50% - (var(--page-padding) * 2) + 20px);
    max-width: 570px;
    background: var(--primary);
    backdrop-filter: blur(8px);
    padding: 10px;
    position: fixed;
    bottom: calc(var(--page-padding) - 10px);
    right: calc(var(--page-padding) - 10px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.h_box  * {
    font-size: var(--d3);
    font-weight: var(--medium);
}

.h_logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .3s ease;
    pointer-events: auto;
    /* filter: invert(1); */
}
.h_logo a {
    width: 100%;
    height: auto;
    position: relative;
    transition: all .3s ease;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    /* align-items: start; */
}
.h_logo_img {
    border-radius: 0;
}
.h_logo_img .logo {
    object-fit: contain;
}
.h_logo_img:first-child {
    width: 22%;
}
.h_logo_img:last-child {
    width: 75%;
    margin-bottom: -12px;
}


.h_box_desc {
    margin-top: 20px;
}
.h_ham {
    display: none;
    z-index: 2;
}
.h_nav_wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    
}

.h_nav {
    width: 100%;
    height: fit-content;
    pointer-events: auto;
}
.h_nav .spacer {
    width: 100%;
}
.h_nav > ul {
    width: 100%;
    display: flex;
    gap: 30px;
    justify-content: start;
    align-items: start;
}
.h_menu_box {
    position: relative;    
}


.h_menu {
    color: var(--ft-main);
    transition: background .3s ease, color .3s ease;
    text-transform: uppercase;
    font-size: var(--d3);
    font-weight: var(--bold);
}

.h_menu:hover {
    text-decoration: underline;
}

.h_menu.on {
    text-decoration: underline;
}

.h_link {
    display: flex;
    align-items: center;
    gap: 30px;
}
.h_link a {    
    text-transform: uppercase;
    font-weight: var(--bold);
}
.h_link a:hover {
    text-decoration: underline;
}
.h_b {
    padding: 20px;
    display: none;
}
.h_info {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.h_info * {
    font-size: var(--ft14);
}
.h_info li:nth-child(2) {
    text-align: right;
}
.h_info li:last-child {
    grid-column: span 2;
    text-align: justify;
    text-align-last: justify;
    /* text-transform: uppercase; */
}





/* 모바일 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);
}


/* 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 ---------------------------*/
.wrapper {
    position: relative;
}
footer {
    width: 50%;   
}
footer  * {
    font-size: var(--d3);
    font-weight: var(--medium);
}
.f_link {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}
.f_link a {    
    text-transform: uppercase;
    font-weight: var(--bold);
}
.f_link a:hover {
    text-decoration: underline;
}
.f_b {
    padding: var(--page-padding);
    padding-top: 0;
}
.f_info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.f_info a {
    display: inline;
}

.f_copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.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;
}
.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;
}


/* 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) {

 
}

@media all and (max-width: 1200px) {
    .h_nav > ul {
        gap: 20px;
    }
}
@media all and (max-width: 960px) {
   
   
}
@media all and (max-width:860px) {
    .sec-half {
        grid-template-columns: 1fr;
    } 
    
    .h_box {
        width: 100%;
        max-width: unset;
        padding-left: var(--page-padding);
        padding-right: var(--page-padding);
        padding-bottom: 45px;
        bottom: 0;
        right: 0;
    }
    .h_logo_img:last-child {
        margin-bottom: -2.4vw;
    }
    .h_nav > ul {
        justify-content: space-between;
    }
    .h_nav .spacer {
        display: none;
    }
    
    .h_info {
        display: none;
    }


    footer {
        width: 100%;
        position: relative;
        z-index: 9;
    }
    .f_b {
        padding-bottom: 10px;
    }
}
@media all and (max-width: 460px) {       
    .h_nav > ul,
    .h_link {
        gap: 10px;
    } 
    .h_box * {
        font-size: 11px;
    } 
}
@media all and (max-width: 400px) {
    
    .h_info {
        margin-top: 10px;
    }
}
@media all and (max-width: 360px) {
    .h_box * {
        font-size: 10px;
    }
}



