/* -------------------body--------------------- */
body {
    opacity: 0;
    transition: .5s ease;
}

body.fade-in {
    opacity: 1;
}

/*--------------------------- header ---------------------------*/
/*-- h_top --*/
.h_top {
    width: 100%;
    height: auto;
    padding: 16px 60px;
    position: fixed;
    top: 0px;
    left: 0;
    background: transparent;
    transform: translateY(0);
    z-index: 99;
    transition: transform .5s ease, background .5s ease;
    overflow: hidden;
}

.h_inner {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.h_inner nav {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.h_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    transition: filter .3s ease;
}
.h_logo a {
    width: 130px;
    height: auto;
    position: relative;
    transition: all .3s ease;
}


.gnb {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 50px;
    height: 100%;    
}

.gnb_l {
    justify-content: flex-start;
    align-items: start;
}
.gnb_r {
    justify-content: flex-end;
}

.gnb_item {
    color: var(--gray-500);
    font-size: var(--ft18);
    transition: font-size .3s ease;
    position: relative;
}

.gnb_item > a {
    overflow: hidden;
    position: relative;
    text-transform: uppercase;
    padding: 10px;
    z-index: 2;
    font-weight: var(--medium);
    color: var(--ft-main);
}
.gnb_item.on > a {
    color: var(--primary);
}
.gnb_item.on > a::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: 15%;
    left: 0;
}
.h_top.white:not(.up, .open) .gnb_item.on > a::after {
    background: white;
}

.gnb_sub {
    width: 100%;
    height: fit-content;
    position: absolute;
    bottom: 20px;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
    transform: translateY(10px);
}
.gnb_sub::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px; /* 두께 강조 */
    background: var(--primary);
    transform: scaleX(0) translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.gnb_sub:hover::after {
    transform: scaleX(.8) translateY(-4px);
}
.gnb_sub_item.on > a {
    color: var(--primary);
    font-weight: 600; /* 강조 */
    opacity: 1;
}

.gnb_sub:hover > a {
    color: var(--primary);
}

.gnb_sub_item {
    width: 100%;
}
.gnb_sub_item a {
    font-size: var(--ft16);
    color: var(--ft-sub);
    font-weight: var(--medium);
    padding: 10px;
    opacity: 0.8;
    text-align: center;
}
/* .gnb_sub_item.on a {
    color: var(--primary);
    opacity: 1;
} */

.gnb_sub a:hover {
    color: var(--primary);
    opacity: 1;
}

/* 모바일 gnb */
.m_gnb_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;
}

.m_gnb_btn > div {
    width: 80%;
    height: 3px;
    position: absolute;
    background: var(--gray-600);
    transition: transform .3s ease;
}

.h_top.white .m_gnb_btn > div {
    background: white;
}
.h_top.scroll .m_gnb_btn > div,
header.m_open .h_top .m_gnb_btn > div {
    background: var(--gray-600) !important;
}

.m_gnb_btn>div:first-child {
    transform: translateY(-5px) rotate(0);
}

.m_gnb_btn>div:last-child {
    transform: translateY(5px) rotate(0);
}
header.m_open .m_gnb_btn>div:first-child {
    transform: translateY(0) rotate(45deg);
}

header.m_open .m_gnb_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;
}



/* scroll */
.h_top.scroll {
    transform: translateY(-100%);
}
.h_top.scroll.up {
    transform: translateY(0);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    background: rgba(255,255,255,0.6);
}
.h_top.white:not(.scroll) {
    background: linear-gradient(to top, transparent, #00000040);
}
header.m_open .h_top.white:not(.scroll)  {
    background: transparent;
}
/* white */
.h_top.white:not(.open):not(.up) .gnb_item a {
    color: white;
    transition: color .3s ease;
}
header:not(.m_open) .h_top.white:not(.open):not(.up) .h_logo {
    filter: invert(1);
}

/* open */
.h_top.open {
    background: white !important;
    filter: drop-shadow(0 4px 16px #00000010);
}

.h_top::after {
    content: '';
    display: block;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    height: 0;
    transition: height .3s ease;
}
.h_top.open::after {
    height: 240px;
}
.h_top.open .gnb_sub:hover::after {
    opacity: 1;
}

.m_gnb_btn,
.m_gnb {
    display: none;
}


/* quick_menu */
.quick_menu_area {
    position: fixed;
    right: 30px;
    bottom: 60px;
    z-index: 5;
    mix-blend-mode: normal;
    isolation: isolate;
    width: 120px;
    transform: translateY(-100px);
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    z-index: 9;
    
}
.quick_menu {
    width: 100%;
}

.qcall-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #ffffff80;
    backdrop-filter: blur(4px);
    filter: drop-shadow(0 4px 10px #00000040);
    border: 1px solid #2E4A3F60;
    cursor: pointer;
}
.qcall-btn .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: var(--point);
    mask: url('/images/icon/call.svg') no-repeat center / cover;
    -webkit-mask: url('/images/icon/call.svg') no-repeat center / cover;
}
.qcall-btn .btn-text {
    font-size: var(--ft15);
    flex-shrink: 0;
    color: var(--point);
}

/* 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;
}
.qcontact-btn {   
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--gray-100);
    background: var(--point);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease;
    font-size: var(--ft18);
    position: relative;
    box-shadow: 
    0 4px 6px rgba(0,0,0,0.15),   /* 기본 그림자 */
        0 10px 20px rgba(0,0,0,0.10),  /* 깊이감 */
        0 0 15px rgba(46,74,63,0.3);

}
.quick_menu_area.show .quick_menu a,
.quick_menu_area.show .quick_menu .qcall-btn,
.quick_menu_area.show .quick_menu .qtop-btn {
    pointer-events: visible;
}


.qcontact-btn .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: rotation 10s linear infinite;
}
@keyframes rotation {
    from { rotate: 0deg; }
    to { rotate: 360deg; }
}
.qcontact-btn .icon {
    width: 60px;
    height: auto;
    filter: invert(1);
    opacity: 0.8;
    transform: rotate(-30deg) translate(-2px, -2px);
}
.qcontact-btn:hover {
    scale: 0.9;
    box-shadow: 
    0 6px 8px rgba(0,0,0,0.2),
    0 12px 24px rgba(0,0,0,0.15),
    0 0 20px rgba(46,74,63,0.4);
}

.top_btn.pc {
    width: fit-content;
    height: auto;
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 3;
    display: none;
    cursor: pointer;
    mix-blend-mode: difference;
}

.top_btn .inner {
    width: fit-content;
    height: auto;
    padding: 10px;
    font-size: var(--ft18);
    color: var(--primary-100);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}

.top_btn.pc .icon {
    width: 16px;
    height: auto;
    aspect-ratio: 1;
    transform: translateY(0);
    transition: transform .3s ease;
    filter: invert(1);
}

.top_btn.pc:hover .icon {
    transform: translateY(6px);
}
.quick_menu:has(.top_btn.mo) {
    display: none;
}




/*--------------------------- footer ---------------------------*/
footer {
    width: 100%;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: var(--point);
    position: relative;
    z-index: 2;
}
footer * {
    color: var(--gray-100);
}
footer::after {
    content: '';
    display: block;
    width: 100%;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    background: var(--point);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-99%);
    height: 40px;
}

.f_header {
    display: grid;
    grid-template-columns: 1fr 33.333%;
    gap: var(--con-gap);
    margin-bottom: calc(var(--con-gap) * 2);
}

.f_copyright p {
    font-size: var(--ft46);
    font-family: var(--ft-serif);
}

.f_privacy {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.f_privacy a {
    width: fit-content;
    flex-shrink: 0;
    font-size: var(--ft14);
    border-radius: 99px;
    background: #ffffff20;
    padding: 5px 10px;
    transition: background .3s ease;
}

.f_privacy a:hover {
    background: #ffffff30;
}
.f_center {
    margin-bottom: var(--con-gap);
}
.f_center dt {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.f_center-title {
    position: relative;
    padding-right: 20px;
}
.f_center-title::after {
    content: '';
    display: block;
    height: 60%;
    width: 1px;
    background: var(--gray-300);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.f_center-call {
    display: flex;
    align-items: center;
    gap: 10px 30px;
    flex-wrap: wrap;
}
.f_center-call a {
    font-size: var(--ft32);
    font-family: var(--ft-serif);
}
.f_info {
    display: flex;
    align-items: center;
    gap: 10px 30px;
    flex-wrap: wrap;
    font-size: var(--ft16);
}
.f_bizer_link {
    padding-left: 20px;
    position: relative;
}
.f_bizer_link::after {
    content: '';
    display: block;
    height: 60%;
    width: 1px;
    background: var(--gray-300);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.f_right {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.f_gnb ul {
    padding-top: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}
.f_gnb a {
    font-size: var(--ft24);
    font-weight: var(--medium);
}
/*--------------------------- 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;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--ft-sub);
}
.btn-text {
    font-size: 18px;
    color: inherit;
}
.btn-icon {
    width: var(--icon-btn);
    height: var(--icon-btn);
    border-radius: 50%;
    border: 1px solid var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    scale: 1;
    transition: scale .5s ease;
}
.btn-icon .icon {
    width: 20px;
    height: 20px;
    scale: 1;
    transition: all .5s ease;
    overflow: hidden;
}
.btn-link .icon img {
    position: absolute;
    top: 0; left: 0;
}
.btn-link .icon img:nth-child(2) {
    transform: translate(-100%, 100%);
}
.btn-link:hover .btn-icon {
    scale: 0.9;
}
.btn-link:hover .btn-icon .icon {
    scale: 1.1;
}
.btn-link:hover .btn-icon .icon:has(img:nth-child(2)) img {
    top: -20px;
    left: 20px;
    transition: all .3s ease;
}

/* 더보기 */
.more_btn {
    width: fit-content;
    font-size: var(--ft20);
    color: var(--gray-500);
    padding: 4px 12px;
    border: 1px solid var(--gray-500);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    transition: all .3s ease;
}

.more_btn:hover {
    border-color: var(--gray-300);
    color: var(--gray-300);
}

/* 파티클 버튼 */
.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
  }



/*--------------------------- page ---------------------------*/
.load_up,
.load_right,
.load_left {
    opacity: 0;
}
.main_sec {
    padding: var(--sec-gap) 0 calc(var(--sec-gap) / 2);
}
.main-title {
    font-size: var(--ft70);
    font-family: var(--ft-serif);
    color: var(--ft-main);
    font-weight: var(--medium);
    text-align: center;
}
.main-title:not(.vertical) .split {
    opacity: 0;
}
.main-title .split span {
    display: inline-block;
    opacity: 0;
}
.main-title:not(.vertical) .split span {
    transform: translateY(50px);
    min-width: .6ch;
}
.main-title.text-left {
    text-align: left;
}
.main-sub_title {
    font-size: var(--ft20);
    color: var(--ft-sub);
    text-align: center;
    margin-top: 40px;
}
.sec-title {
    font-size: var(--ft46);
    font-family: var(--ft-serif);
    color: var(--ft-main);
    font-weight: var(--medium);
}
.sec-sub_title {
    font-size: var(--ft18);
    color: var(--ft-sub);
}

/* detail_page */
.detail_page .main_sec {
    margin-bottom: var(--con-gap);
    padding-bottom: 0;
}
.detail_page .main-title {
    font-size: var(--ft46);
}
.detail_page .main-header {
    border-bottom: 1px solid var(--gray-400);
    padding-bottom: var(--con-gap);
}
.detail_page .main-title {
    font-size: var(--ft46);
}

.detail_page .main-sub_title .date {
    color: var(--primary-500);
    font-size: var(--ft16);
    font-family: var(--ft-serif);
}

/* post_nav */
.post_nav {
    border-top: 1px solid var(--primary-400);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px var(--con-gap);
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: calc(var(--sec-gap) / 2);
}
.post_nav-prev,
.post_nav-next {
    min-width: 0;
}
.post_nav-title {
    font-size: var(--ft18);
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 30px;
}
.post_nav .btn-link {
    margin: 0 auto;
}
.post_nav .btn-prev .icon {
    rotate: -90deg;
}
.post_nav .btn-list .btn-icon {
    border: 0;
    width: fit-content;
}
.post_nav .btn-text {
    font-family: var(--ft-serif);
    font-size: var(--ft24);
    font-weight: var(--medium);
}



/* side_category */
.side_category-area,
.side_sticky-area {
    width: 100%;
    height: fit-content;
    position: sticky;
    top: var(--sticky-top);
}
.side_category-wrap {
    display: flex;
    flex-direction: column;    
    gap: 14px;
    
}
.side_category-item {
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
}
.side_category-item a {
    font-size: var(--ft18);
    color: var(--gray-400);
    padding: 1rem 0;
    font-weight: var(--medium);
}
.side_category-item:not(.active):hover a {
    color: var(--ft-sub);
}
.side_category-item::after  {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gray-600);
    transition: width .5s ease;
}
.side_category-item.active::after  {
    width: 100%;
    left: 0;
    right: auto;
}
.side_category-item.active a {
    color: var(--ft-main);
}

/* page-contetn */
.page_content-area {
    display: grid;
    grid-template-columns: clamp(200px, 17vw, 320px) 1fr;
    width: 100%;
    gap: var(--con-gap);
    padding-bottom: var(--sec-gap);
    align-items: start;
}


/* 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: 50%;
}

.pagination_btn a:hover,
.pagination_number li a:hover {
    background: var(--primary-200);
    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: 44px;
    height: 44px;
    padding: 0 10px;
    font-size: var(--ft18);
    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: fit-content;
    height: var(--input-height);
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.815);
    border: 1px solid white;
    padding: 0 20px;
    transition: transform .3s ease;
}

.search-input_box input[type="search"] {
    border: 0;
    padding: 0;
}

.search-input_box:has(input[type="search"]:focus) {
    background: white;
} */
.search-input_box {
    width:  300px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--gray-600);
    padding-left: 10px;
}
.search-input_box .search-input {
    font-size: clamp(16px, var(--ft18), 18px);
    flex: 1 0 0;
}
.search-input_box .search-btn {
    width: var(--icon-btn-sm);
    height: var(--icon-btn-sm);
    flex-shrink: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.search-input_box .search-btn .icon {
    width: 20px;
    height: 20px;
}
.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(--gray-500);
    border-color: var(--gray-500);
}
.checkbox input:checked + span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 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);
    aspect-ratio: 1;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: white;
}

.swiper-prev::after,
.swiper-next::after {
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    background: var(--gray-500);
}

.swiper-next::after {
    mask: url('/images/icon/chevron-right.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icon/chevron-right.svg') no-repeat center / contain;
}

.swiper-prev::after {
    mask: url('/images/icon/chevron-left.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icon/chevron-left.svg') no-repeat center / contain;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}


/* ----------------popup------------------- */
/* .popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity .5s ease;
}
.popup.show {
    display: flex;
    opacity: 1;
}

.popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup-box {
    position: relative;
}

.popup-con {
    background: #fff;
    width: 400px;
    text-align: center;
}

.popup-img {
    width: 100%;
    height: 500px;
    display: block;
    border-radius: 8px;
}

.popup-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
}
.popup-bot .checkbox {
    cursor: pointer;
}
.popup-bot label p {
    font-size: 14px;
}

.popup-bot .popup-close {
    padding: 5px 12px;
    cursor: pointer;
    font-size: var(--ft14);
}
.popup-bot .popup-close:hover {
    background: var(--gray-100);
}
.popup-bot .popup-close .icon {
    width: 26px;
    height: 26px;
}

.popup-swiper-pagination {
    bottom: 0 !important;
    transform: translateY(calc(100% + 10px));
}

.popup-swiper-pagination .swiper-pagination-bullet {
    background: #f9f8f477;
}

.popup-swiper-pagination .swiper-pagination-bullet-active {
    background: #f9f8f4e1;
} */

/* popup */
/* ----------------popup------------------- */
.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity .5s ease;
}
.popup.show {
    display: flex;
    opacity: 1;
}

.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-prev:hover,
    .swiper-next:hover {
        opacity: 1;
        filter: drop-shadow(4px 10px 10px #00000010);
    }
}

@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;
    }
    
    
    /* header */
    .h_top {
        padding: 10px 40px;
    }

    .h_logo {
        min-width: 90px;
    }

    /* footer */ 
    .f_info .list {
        gap: 10px;
    }

    /* quick_menu */
    .quick_menu_area {
        width: 110px;
    }

    /* tabmenu */
    .tab_menu {
        gap: 20px;
    }

    .tab_menu .btn span {
        padding: 6px 12px;
    }

    /* page */
    .main-title {
        font-size: var(--ft60);
    }
    .sec-title {
        font-size: var(--ft42);
    }


}

@media all and (max-width: 960px) {
    /* footer */
    footer {
        padding: 40px 20px;
    }
    .f_header {
        grid-template-columns: 1fr;
        margin-bottom: var(--con-gap);
        gap: 40px;
    }
    .f_copyright p {
        font-size: var(--ft32);
    }
    /* quickmenu */
    .quick_menu_area{
        right: 20px;
        width: 100px;
    }

    /* btn */
    .btn-link {
        gap: 10px;
    }
    .btn-icon .icon {
        width: 18px;
        height: 18px;
    }

    /* page */
    .main-title {
        font-size: clamp(var(--ft46), 5vw , var(--ft56));
    }
    .page_content-area {
        grid-template-columns: 1fr;
        gap: calc(var(--con-gap) / 2);
    }
    .side_category-area, .side_sticky-area {
        position: static;
        overflow-x: auto;
    }
    .side_category-wrap {
        flex-direction: row;
        gap: 0;
    }
    .side_category-item a {
        padding: 1rem;
    }

    .main-sub_title {
        margin-top: 20px;
    }
    .sec-title {
        font-size: var(--ft36) !important;
    }
    .detail_page .main-title {
        font-size: var(--ft42);
    }
   
}
@media all and (max-width:600px) {
    .f_gnb ul {
        padding-top: 0;
        gap: 10px;
    }
    .popup-box > .popup-close {
        transform: translateY(-100%);
    } 
}
@media all and (max-width: 500px) {
    .h_top {
        padding: 10px 16px;
    }

    .f_logo {
        width: 230px;
        margin-bottom: 50px;
    }

    .drop_down_list li {
        padding: 8px 16px;
    }

    /* footer */
    footer::after {        
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        height: 20px;
    }
    .f_top {
        gap: 40px;
    }

    .f_bot {
        padding-bottom: 30px;
    }

    .f_sns .icon {
        width: 24px;
    }

    .f_privacy {
        margin-bottom: 0;
    }

    .f_bot .copyright {
        font-size: var(--ft18);
        row-gap: 4px;
    }

    /* pagination */
    .pagination_btn a {
        width: 32px;
    }
    .pagination_number li a {
        min-width: 36px;
        height: 36px;
    }



    /* quickmenu */
    .quick_menu_area {
        right: 10px;
        bottom: 40px;
        width: 10vw;
        min-width: 40px;
        gap: 10px;
    }
    .quick_menu .btn-text {
        display: none;
    }
    .qtop-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 10px;
        border-radius: 999px;
        background: #ffffff80;
        backdrop-filter: blur(4px);
        filter: drop-shadow(0 4px 10px #00000040);
        /* border: 1px solid #2E4A3F60; */
        cursor: pointer;
    }
    .qcall-btn,
    .qtop-btn {
        aspect-ratio: 1;
    }
    .qcall-btn .icon,
    .qcontact-btn .icon,
    .qtop-btn .icon {
        width: 18px;
        height: 18px;
    }
    .qcontact-btn .bg,
    .qcontact-btn .btn-particle,
    .qcontact-btn .icon img {
        display: none;
    }
    .qcontact-btn .icon {
        background: white;
        transform: rotate(0) translate(0);
        filter: invert(0);
        mask: url('/images/icon/write_f.svg') no-repeat center / contain;
        -webkit-mask: url('/images/icon/write_f.svg') no-repeat center / contain;
    }
    .quick_menu:has(.top_btn.mo) {
        display: block;
    }
 
   

    /* btn */
    .btn-text {
        font-size: var(--ft16);
    }
    .btn-icon .icon {
        width: 16px;
        height: 16px;
    }

    /* page */
    .sec-title {
        font-size: var(--ft32) !important;
    }
    .detail_page .main-title {
        font-size: var(--ft36);
    }

    /* post_nav  */
    .post_nav {
        grid-template-columns: 1fr 1fr;
        padding-top: 0;
        column-gap: 20px;
    }
    
    .post-nav-list {
        padding: 10px 0;
        border-bottom: 1px solid var(--primary-300);
        grid-column: span 2;
        grid-row: 1;
    }
    .post_nav-title {
        margin-top: 20px;
    }
    
    /* popup */
    .popup-con {
        padding: 20px 0px var(--con-gap);
    }
    .popup-bot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0 0;
    }
}

