/********* header CSS *********/
*{
    scroll-behavior: smooth;
}
header{
    width:100%;
    position:sticky;
    top:0;
    left:0;
    transition: all 0.2s;
    z-index: 99;
    background-color:#fff;
    color:#111;
}

.hd-wrap{
    height:13rem;
    padding-inline:14.5rem;
    align-items: center;
}

.hd-wrap,
.pc-menu,
.pc-nav,
.hd-btn__wrap {
    display:flex;
    flex-flow:row wrap;
}

.hd-wrap{
    justify-content: space-between;
}

.logo-box{
    width:25%;
    height:auto;
    display: flex;
    max-width: fit-content;
    justify-content: center;
    position:relative;
}

.pc-nav {
    width: auto;
    justify-content: end;
    position: relative;
}

.pc-nav > li{
    font-size: 1.9rem;
    position: relative;
}

.pc-nav > li + li{
    margin-left: 2vw;
}

.pc-nav > li > a {
    color: #333;
}

.hd-btn__wrap {
    width: 3.3rem;
    align-items: center;
    justify-content: flex-end;
    display:none;
}
.hd-btn__wrap .hd-info a {
    color: #fff;
    font-size: 1.6rem;
}
.hd-btn__wrap .hd-info a:not(:first-child) {
    margin-left: 2rem;
}

.btn-menu {
    width: 6rem;
    height: 3rem;
    position: relative;
}

.btn-menu .bar {
    display: block; 
    width: 100%; 
    height: 0.2rem; 
    background: #111; 
    position: absolute;
    top:0;
    left: 0;
}

.btn-menu .bar:nth-of-type(2) {
    top:50%;
    transform: translateY(-50%);
}
.btn-menu .bar:nth-of-type(3) {
    top:auto;
    bottom:0;
}

/* 모바일 메뉴 */

.m-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    overflow: auto;
}

.m-menu .m-menu-inner {
    width: 100%;
    max-width: 1590px;
    margin-top: 10%;
    position: relative;
}

.m-menu .m-nav{
    margin-top:10%;
}

.m-menu .m-nav .main-menu{
    font-size: 3.5rem;
    color: #111;
    display: inline-block;
    padding-block: 2rem;
    font-weight:700;
    width:100%;
    padding-inline:10%;
}


.m-menu .m-nav .sub-menu a {
    display: block;
    font-size: 2rem;
    color: #ccc;
    font-weight: 300;
    padding: 1rem 0;
}

.m-menu-open .m-menu {
    visibility: visible;
    opacity: 1;
}

.m-menu-close {
    cursor: pointer;
    position: absolute;
    top: -50px;
    right: 0rem;
    transform: translateY(-100%);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    justify-content: end;
    align-items: center;
    transition: all 0.4s;
}

.m-menu-close .bar{
    position:relative;
}

.m-menu-close::after,
.m-menu-close::before{
    content: '';
    position: absolute;
    width: 6rem;
    height: 2px;
    background: #111;
}

.m-menu-close::after{
    transform: rotate(45deg);
}

.m-menu-close::before{
    transform: rotate(-45deg);
}

.m-menu-top a {
    display: none;
}

#sitemap{
    display:none;
}

/* 푸터 */
footer {
    background: #1f1f1f;
    padding: 8rem 0;
}

/* 스크롤이 끝에 닿았을 때 footer의 padding-bottom 제거 */
footer.scroll-end {
    padding-bottom: 0;
}

footer .inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.f-left{
    display:flex;
    align-items:center;
    gap:16rem;
}

.f-left .f-info{
    font-size:1.7rem;
    color:#fff;
    position:relative;
}

.f-left .f-info::after{
    content: '';
    position: absolute;
    width:1px;
    height:100%;
    background-color:#575757;
    left:-8rem;
    top:0;
}

.f-left .f-info li{
    color:#fff;
}

.f-left .f-info li.copy{
    color:#999;
}

.f-left .f-info li + li{
    margin-top:0.8rem;
}

.f-right .f-menu li{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    gap:1rem;
}

.f-right .f-menu li button{
    border: none;
    background: none;
    cursor:pointer;
}

.f-right .f-menu .txt{
    font-size:13px;
    color:#999;
    font-weight:500;
}

.f-left .f-info .locate span.hide-992{
    display:inline-block !important;
    color:#fff;
}

/* 퀵 메뉴 */

.pc-quick{
    position:fixed;
    bottom:50%;
    right:0rem;
    transform: translateY(50%);
    z-index: 1000;
}

.pc-quick .quick-menu{
    display:flex;
    flex-direction:column;
    position:relative;
    align-items:center;
    background-color: #f5f5f5;
}

.pc-quick .quick-menu .pc-quick-item,
.pc-quick .quick-menu .pc-quick-item a,
.pc-quick .top-btn a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1rem;
    cursor:pointer;
    position:relative;
}

.pc-quick .quick-menu .pc-quick-item{
    padding-block:2.5rem;
    width:100%;
}

.pc-quick .quick-menu .pc-quick-item .txt{
    font-size:14px;
    font-weight:600;
    color:#444;
}

.pc-quick .quick-menu .pc-quick-item:first-child::after,
.pc-quick .quick-menu .pc-quick-item:nth-child(2)::after{
    content: '';
    position: absolute;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    width:80%;
    height:1px;
    background-color:#e1e1e1;
}

.pc-quick .top-btn{

}

.pc-quick .top-btn a{
    background-color:#12385f;
    padding-inline:3.5rem;
    padding-block:0.75rem;
}

.pc-quick .top-btn a .txt{
    color:#fff;
    text-align:center;
    font-size:1.6rem;
    font-weight:600;
}

.mobile-quick{
    position:fixed;
    bottom:0;
    z-index: 1000;
    left:0;
    width:100%;
    transition: all 0.3s ease;
}


.m-menu-open .mobile-quick{
    display:none !important;
}

/* 스크롤이 끝에 닿았을 때의 스타일 */
.mobile-quick.scroll-end{
    position: relative;
    margin-top: 5rem;
}

.mobile-quick .quick-menu{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
    background-color:#fff;
}

.mobile-quick .quick-menu .mobile-quick-item{
    background-color:#f5f7f6;
    width:25%;
}

.mobile-quick .quick-menu .mobile-quick-item a{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:1rem;
    cursor:pointer;
    position:relative;
    font-size:min(3.2vw,2.8rem);
    height:17rem;
    font-weight:600;
    position:relative;
}

.mobile-quick .quick-menu .mobile-quick-item:not(:last-child) a::after{
    content: '';
    position: absolute;
    right:0;
    top:50%;
    transform: translateY(-50%);
    width:1px;
    height:50%;
    background-color:#e1e1e1;
}

.mobile-quick .quick-menu .mobile-quick-item:last-child{
    background-color:#12385f;
}

.mobile-quick .quick-menu .mobile-quick-item img{
    max-width:34px;
}

.mobile-quick .quick-menu .mobile-quick-item:last-child img{
    max-width:25px;
}

.mobile-quick .quick-menu .mobile-quick-item:last-child .txt{
    color:#Fff;
    font-size:min(2.5vw,2rem);
}


@media screen and (max-width:768px){
    .mobile-quick .quick-menu .mobile-quick-item a{
        height:14rem;
    }
}



/** modal **/
#non-reimbursable-modal{
    height: 100%;
    width: 100%;
    border: none;
    position: fixed;
    top: 0;
    overflow: hidden;
    display:none;
    justify-content:center;
    align-items:center;
    z-index: 1000;
    padding-inline:4%;
}

#non-reimbursable-modal .modal-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

#non-reimbursable-modal .modal-wrapper{
    width:100%;
    max-width:60rem;
    background-color:#e8eff7;
    position:relative;
    padding-inline:3%;
    padding-block:2.7% 2.5%;
    max-height: 90vh;
}

#non-reimbursable-modal .modal-header{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:2rem;
    position:relative;
}

#non-reimbursable-modal .modal-header .tit-box{
    margin-bottom:0;
}

#non-reimbursable-modal .modal-header .tit-box .tit{
    color:#29306f;
    margin-top:3rem;
}
#non-reimbursable-modal .modal-header .modalCloseBtn{
    position:absolute;
    width:3rem;
    height:3rem;
    right:0rem;
    top:0rem;
    border: none;
    background: none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

#non-reimbursable-modal .modal-header .modalCloseBtn::after,
#non-reimbursable-modal .modal-header .modalCloseBtn::before{
    content: '';
    position: absolute;
    width:3rem;
    height:1px;
    background-color:#29306f;
}

#non-reimbursable-modal .modal-header .modalCloseBtn::before{
    transform:rotate(45deg);
}

#non-reimbursable-modal .modal-header .modalCloseBtn::after{
    transform:rotate(-45deg);
}


#non-reimbursable-modal .modal-body{
    background-color:#fff;
    border-radius:2rem;
    position:relative;
    z-index: 100;
}
#non-reimbursable-modal .non-reimbursable-list{
    max-height: 55vh;
    overflow: auto;
    padding-right: 1rem; /* 스크롤바 공간 확보 */
    padding-block:1.5rem;
    padding-inline:5%;
}

/* 커스텀 스크롤바 스타일링 */
/* #non-reimbursable-modal .non-reimbursable-list::-webkit-scrollbar {
    display:none;
} */

#non-reimbursable-modal .non-reimbursable-list::-webkit-scrollbar-track {
    background: #f1f1f1; /* 스크롤바 트랙 배경색 */
    border-radius: 3px;
}

#non-reimbursable-modal .non-reimbursable-list::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* 스크롤바 색상 */
    border-radius: 3px;
    transition: background 0.3s ease;
}

#non-reimbursable-modal .non-reimbursable-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; /* 호버 시 스크롤바 색상 */
}

#non-reimbursable-modal .non-reimbursable-list::-webkit-scrollbar {
    position: absolute;
    right: 2rem; /* 원하는 위치로 조절 */
    width: 6px;
    transform: translateX(10px); /* 추가 위치 조절 */
}

/* Firefox용 스크롤바 스타일링 */
#non-reimbursable-modal .non-reimbursable-list {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
    position:relative;
}

#non-reimbursable-modal .non-reimbursable-list .list{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    padding-block:1rem;
}

#non-reimbursable-modal .non-reimbursable-list .list:not(:last-child){
    border-bottom:1px solid #e1e1e1;
}

#non-reimbursable-modal .non-reimbursable-list .list .list-tit{
    font-size:1.6rem;
    font-weight:600;
}

#non-reimbursable-modal .non-reimbursable-list .list .cost{
    font-size:1.6rem;
    color:#43465f;
}

#non-reimbursable-modal .deco.img{
    position:absolute;
    bottom:0;
    right:0;
    width:100%;
    max-width: 25rem;
    object-fit: cover;
}

@media screen and (max-width:992px){
    #non-reimbursable-modal .modal-wrapper{
        padding-inline: 4rem;
        padding-block: 8%;
    }
}

/* 1400 = inner size */
@media screen and (max-width:1800px){
    .hd-wrap{
        padding-inline:4%;
    }
}

@media screen and (max-width:1500px){
    .logo-box {
        max-width: 15vw;
    }
    .hd-wrap{
        padding-inline:5%;
    }
    .pc-nav > li{
        font-size:1.7rem;
    }
    .m-menu-close {
        top: auto;
        right:2rem;
        transform: none;
    }
}

@media screen and (max-width:1300px){
    .pc-nav > li + li {
        margin-left: 1.25vw;
    }
}

@media screen and (max-width:1200px){
    .pc-nav > li {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:1100px){
    .pc-nav > li + li {
        margin-left: 1vw;
    }
}

@media screen and (max-width:992px){
    #sitemap{
        display:block;
    }
    .hd-wrap{
        justify-content: start;
        /* padding-inline:6%; */
        position:relative;
        height: 12.5rem;
    }
    .logo-box {
        width: calc(100% - 15rem);
        max-width: 30rem;
        padding-left: 0rem;
    }
    .pc-nav {
        display: none;
    }

    .hd-btn__wrap{
        display:block;
        width:4rem;
        position:absolute;
        right:2rem;
    }
    .btn-menu .bar{
        height:2px !important;
    }
    .btn-menu .bar:nth-of-type(2){
        width:80%;
        left:0;
        transform: none;
    }
    .btn-menu,
    .btn-menu .bar,
    .btn-menu .bar:nth-of-type(3){
        width:100%;
    }

    .m-menu-top {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        padding-inline: 6%;
    }

    .m-menu-top a {
        display: block;
    }

    .m-menu-top .m-menu-logo{
        max-width:200px;
    }

    /* .logo, 
    .hd-btn__wrap {
        width: 50%;
    } */
}

@media screen and (max-width:768px){
    .m-menu .m-menu-inner,
    .m-menu .m-nav{
        margin-top:12.5%;
    }

    .logo-box {
        width: calc(100% - 15rem);
        max-width: 28rem;
        padding-left: 0rem;
    }
}


/********* footer CSS *********/

/* 1400 = inner size */
@media screen and (max-width:1400px){

}

@media screen and (max-width:992px){
    footer{
        background-color: #1d1d1d;
    }
    footer .inner{
        flex-direction:column;
        justify-content: center;
        gap:4rem;
    }

    .f-left{
        flex-direction:column;
        gap:4rem;
    }

    .f-left .f-logo{
        width:40vw;
        max-width:280px;
    }

    .f-left .f-info::after{
        display:none;
    }

    .f-left .f-info li{
        text-align:center;
        font-size:min(2.5vw,20px);
    }

    .f-right .f-menu .txt{
        background-color:#575757;
        padding:1rem 2.5rem;
    }

    .f-left .f-info .locate span.hide-992{
        display:none !important;
        color:#fff;
    }
}

@media screen and (max-width:480px){
    .f-left .f-info li{
        font-size:min(2.8vw,20px);
    }
}