﻿
/*reset 초기화*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
}
b {
    font-weight: 600;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, enter, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;    padding: 0;    border: 0;    font-size: 100%;    vertical-align: middle;
    background: transparent;    font-style: normal;    scroll-behavior: smooth;
}
html, body {
    width: 100%;
    letter-spacing: -2%;
    color: #111;
    -webkit-text-size-adjust: 100% !important; /* 크롬, 사파리, 오페라 신버전 */
    -ms-text-size-adjust: 100% !important; /* IE */
    -moz-text-size-adjust: 100% !important; /* 파이어폭스 */
    -o-text-size-adjust: 100% !important; /* 오페라 구버전 */
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{ overflow-x: unset; }
article, aside, details, figcaption, figure, footer, hgroup, menu, nav, section { display: block; }
ol, ul, li{ list-style: none;}
a {text-decoration: none;    color: #000;}
table {border-collapse: collapse;    border-spacing: 0;    table-layout: fixed;}
span {vertical-align: baseline;}
/*button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}*/
/* 아이폰 안드로이드 css 기초세팅 */
label {
    -webkit-tap-highlight-color: transparent; /* iOS 탭 하이라이트 제거 */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* 표준 */
}
html, body {
    touch-action: manipulation; /* 기본 동작 최소화 */
    -webkit-overflow-scrolling: touch; /* iOS에서 스무스 스크롤 활성화 */
}
button, input, select, textarea {
    -webkit-appearance: none; /* iOS 기본 스타일 제거 */
    appearance: none;
    border-radius: 0; /* 라운드 제거 */
}
textarea{
    /*resize: none;*/
    outline: none;
}
button{
    font-size: .93rem;
}

/* 스와이퍼 페이지네이션 점형태 쫀쫀하게 표현 */
.swiper-pagination-clickable .swiper-pagination-bullet {
    transition: all 0.3s ease !important;
}


/* 스크롤 커스텀 */
body::-webkit-scrollbar {
    width: 12px;
    background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
    border: 1px solid transparent;
}
bodyu::-webkit-scrollbar-track {
    border-radius: 10px;
}


/*헤더*/
header {
    font-size: 0.98rem;
    width: 100%;
    height: 80px;
    background: white;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all 0.5s ease;
}
.header_wrap{
    max-width: 1180px;
    height: 80px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #4f4f4f;
}

@media (max-width:1200px) {

    .header_wrap{
        margin: 0 1.5rem;
    }

}


/*마스터페이지 헤더 변경*/
.header1{
    height: 80px;
    max-width: 680px;
}

.header1 img{
        width: 160px;
        cursor: pointer;
    }

@media (max-width:1200px) {

    .header1{
        padding: 0 1.5rem;
    }
    
}

@media (max-width:768px) {

    .header1{
        height: 60px;
    }
    
}


@media (max-width:480px) {

    .header1 img{
        width: 120px;
    }
    
}



.h_box {
    width: 1280px;
    height: 80px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #4f4f4f;
}

.header_left{
    display: flex;
    height: 100%;
    column-gap: 3rem;
}

.nav {
    width: 100%;
    height: 80px;
}
.nav li:hover {
    color: var(--sub-color);
    font-weight: 600;
}
.nav > ul {
    height: 100%;
    line-height: 80px;
    display: flex;
    text-align: center;
    column-gap: 3rem;
}
.nav > ul > li {
    font-weight:600;
    position:relative;
    height:60px;
}
.nav > ul > li:hover>a{
    color: var(--sub-color);
}
.gnb>li>a{
    display:block;
    font-weight: 600;
    line-height: 80px;
    color: #000;
    cursor: pointer;
}
.mini {
    margin-top: -1px;
    display: none;
    background: #fff;
    border-radius: var(--border-15px);
    border: 1px solid #eee;
    text-align: center;
    width: 10rem;
    position: absolute;
    left: 44%;
    transform: translateX(-50%);
    box-shadow: 0 5px 10px rgba(92,92,92,0.25);
    padding: 15px 10px;
}
.menu li:hover .mini {
    display: block;
    color: black;
}
.mini li a { 
    line-height: 45px;
    display: block;
    width: calc(100% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #706F6F;
    cursor: pointer;
}
.mini li>a:hover {
    color: var(--main-color);
}

.header_wrap h1{
    display: flex;
    align-items: center;
    height: 100%;
}

.logo{
    cursor:pointer;
    width: 160px;
}

.side_gnb{
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    justify-content: space-between;
}

.side_service{
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
}

    .side_service p,
    .side_service p a {
        color: #858585;
        font-size: 0.81rem;
    }



/*.loginbox{
    display: flex;
    justify-content: space-around;
    align-items: center;
    column-gap: 12px;
}
.loginbox>p{
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.loginbox p:not(:last-child){
    padding: 9px 15px;
    background: #706F6F;
    color: #fff;
    border-radius: 30px;
}*/


.header_quick{
    display: flex;
    column-gap: 1.5rem;
    height: 80px;
}

.my_quick, .search_quick, .allmenu_quick{
    color: #858585;
    font-size: 0.75rem;
    text-align: center;
    cursor: pointer;
}

.my_quick img, .search_quick img, .allmenu_quick img{
    width: 24px;
    margin-bottom: 0.2rem;
}

/* 헤더 로그인 버튼 */
.header_quick>*, .my_quick>a {
    display: flex;
    flex-direction: column;   /* 세로 배치 */
    align-items: center;      /* 가로 가운데 */
    justify-content: center;  /* 세로 가운데 (필요 시) */
}
.my_quick>a{
    color: #858585;
}
.mini2{
    margin-top: -1px;
    display: none;
    background: #fff;
    border-radius: var(--border-15px);
    border: 1px solid #eee;
    text-align: center;
    width: 10rem;
    position: absolute;
    left: auto;
    top: 80px;
    margin-left: 161px;
    transform: translateX(-50%);
    box-shadow: 0 5px 10px rgba(92, 92, 92, 0.25);
    padding: 15px 10px;
}
.mini2 a{
    line-height: 45px;
    display: block;
    width: calc(100% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #706F6F;
    cursor: pointer;
    font-size: .93rem;
}

.mini2 a:hover {
    color: var(--main-color);
}




.side_logout{
    color: #BBBBBB;
}
.side_menu{
    display: none;
}

.logout{
    font-size: 0.82rem;
    color: #999;
    background: none;
    border: none;
    text-indent: 0;
    cursor: pointer;
}

.m_btn{
    display:none;
}
.m_menu{
    position: fixed;
    top: 0;
    right: -100%;
    background: white;
    z-index: 1;
}
.m_logout{
    width: 31px;
    height: 31px;
}


/*PC 전체메뉴*/
.m_menu {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 99999;
}

.m_menu_header{
        max-width: 1180px;
        height: 80px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.close{
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;   /* 세로 배치 */
    align-items: center;      /* 가로 가운데 */
    justify-content: center; 
    padding-left: 5px;
    width: 44px;
}
.x_btn{
        width: 22px;
        margin-bottom: 0.2rem;
        cursor: pointer;
    }

.close p{
    font-size: 0.75rem;
    color: #858585;
}

.m_minibox{
    width: 1180px;
    height: auto;
    margin: 0 auto;
}

.menu_tit, .menu_tex{
    display: flex;
}
.menu_tit img{
    display: none;
}

.menu_tit{
    gap: 5rem;
    padding: 3rem 0;
    border-bottom: 1px solid #EBEBEB;
}
.menu_tit:last-child{
    border: none;
}
.menu_tit>div{
    font-size: 1.38rem;
    font-weight:600;
    width: 110px;
    cursor: pointer;
}
.menu_tit>div:first-of-type{
    cursor: default;
}
@media (max-width:984px) {
    .menu_tit > div:first-of-type {
        cursor: pointer;
    }
}
.menu_tex{
    flex-wrap: wrap;
    row-gap: 3rem;
}
.menu_tex li{
    width: 200px;
}
.menu_event div{
    min-width: 110px;
}
.menu_tex li, .menu_tex li a{
    font-size: 1.13rem;
    font-weight: 500; 
    display: block;
}

.menu_tex>li a:hover {
        color: var(--main-color);
    }

.service{
    display: none;
}





@media(max-width:1200px) {

    .m_menu{
        padding: 0 1.5rem;
    }

}

@media(max-width:1080px) {

    .side_service {
        display: none;
    }
}

/* 모바일 메뉴 */
.info_tags{
    display: none;
}
@media(max-width:984px) {

    .header_left{
        width: unset;
    }

    .nav > ul{
        display: none;
    }
   
    .side_menu{
        display: flex;
        align-items: center;
        column-gap: 1.6rem;
    }
    .side_menu>img{
        cursor: pointer;
    }
    .header_wrap {
        width: calc(100% - 40px);
        margin: 0px 20px;
        justify-content: space-between;
    }

    .side_gnb{
        justify-content: flex-end;
    }

    /*모바일 사이드메뉴*/
    .m_menu{  
        display: block;
        width: 350px;
        right: -360px;
        transition: right 0.4s ease-in-out;
        overflow-y: auto;
        box-shadow: -2px 0 15px 0 rgba(92,92,92,0.1);
        padding: 0;

      /* 안전영역 보정 */
        padding-bottom: calc(1rem + constant(safe-area-inset-bottom));
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));

    }

    /* 스크롤 커스텀 */
    .m_menu::-webkit-scrollbar {
        width: 9px;
    }
    .m_menu::-webkit-scrollbar-thumb {
        background-color: #c1c1c1;
        border-radius: 10px;
        border: 1px solid transparent;
    }
    .m_menu::-webkit-scrollbar-track {
        background: #F5F5F5;
        border-radius: 10px;
    }

    .m_menu_header{
        height: auto;
        line-height: unset;
        padding: 1.5rem 1.46rem;
        border-bottom: 1px solid #f4f4f4;
    }

/* 신청내역조회/선불서비스 버튼 */
    .info_tags {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.93rem;
        color: #858585;
    }
    .info_tags a {
        display: inline-block;
        padding: 8px 10px;
        border-radius: 10px;
        background: #f4f4f4;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease;
    }
    .info_tags a:hover {
        background: #e9e9e9;
    }


    .m_menu_header .logo{
        display: none;
    }

    .close{
        text-align: right;
    }

    .x_btn{
        padding-left: 2px;
        transition: all 0.5s ease;
    }
    .m_minibox{
        width:100%;
        margin:auto;
        height:auto;
        position:relative;
    }
    
    .menu_tit{
        display: block;
        height: auto;
        line-height: 60px;
        cursor: pointer;
        border: none;
        padding: 0;
    }

    .menu_event{
        cursor: default;
    }

    .menu_tit>div{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        width: auto;
        transition: all 0.3s ease-in-out;
        font-size: 1.13rem;
        padding: 0 1.5rem;
        border-bottom: 1px solid #f4f4f4;
    }
    .menu_tit>div:hover{
        transition: all 0.3s ease-in-out;
    }

    .menu_tit:last-child>div{
        border: none;
    }

    .menu_tit > div.no-border {
    border: #fff;
}

    .menu_tit img{
    display: block;
    width: 15px;
    height: 15px;
}

    .menu_tex{
        line-height: 54px;
        font-size: 0.94rem;
        display: none;
        background-color: #F2F7FB;
        padding: 0.5rem 0;
    }

     .menu_tit:last-child .menu_tex{
        margin-bottom: 80px;

     }

    .menu_tex li{
        width: 100%;
        font-size: 1rem;
        padding: 0 1.5rem;
    }
     .menu_tex li a{
         font-size: 1rem;
         color: #222;
     }
    
    .menu_tex a{
        display: block;
    }

    .service{
     position: fixed;
  bottom: 0;
  width: 350px;
  height: 80px;
  background-color: #000;
  display: flex;
  color: #fff;
  z-index: 999;
    }

    .service>p,
     .service>div{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .service>p{
        color: #fff;
            font-size: 1.13rem;
    }

    .service img{
        width: 18px;
        display: inline;
    }

    .service div{
        justify-content: center;
    }

    .service>div{
        gap: 0.5rem;
    }

        .service div p {
            color: var(--main-color);
            font-weight: 600;
            font-size: 1.13rem;
        }

    .s_box {
        width: 31%;
    }
}
@media(max-width:768px) {
    .header , .header_wrap , .header_quick {
    height: 60px;
}
    .logo{
        width: 140px;
    }

    .my_quick img, .search_quick img, .allmenu_quick img{
        width: 20px;
    }

    .side_menu {
        column-gap: 1.7rem;
    }
    .side_menu>img {
        width: 25px;
    }
    .m_btn{
        top: 0;
    }
    .m_btn {
        width: 24px;
        height: 20px;
    }
    .m_logout{
        width: 25px;
        height: 25px;
    }
    .lines {
        width: 100%;
        height: 3px;
    }
    .x_btn {
        width: 20px;
        height: 20px;
    }
    .t_logo {
        width: 200px;
        top: -2px;
        left: 22px;
    }

    .menu_tex li:hover a{
        color: var(--main-color);
    }

    .mini2{
        top: 60px;
    }

}

@media(max-width:480px) {

    /*헤더*/
    header {
        height: 60px;
    }
    .header_wrap {
        height: 60px;
    }
    
    .logo {
        width: 120px;
    }

    .m_menu,
    .service{
        width: 280px;
    }

    .m_btn {
        width:24px;
        height: 17px;
    }
    .lines {
        width: 100%;
        height: 3px;
    }

}

@media(max-width: 360px) {

    .logo {
        width: 110px;
    }
}

/* 로그인 모달창 */
.login_modal>div{
    padding: 2.2rem;
    max-width: 480px;
    /*max-height: 530px;*/
}
.login_tit{
        margin-bottom: 1.9rem;
}
.login_tit h3{
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--sub-color);
}
.login_tit .x_btn{
    cursor: pointer;
}

.login_modal .checkon {
    border: 1px solid #ddd;
    background: #fff;
}
.login_modal .chk_box input[type="checkbox"]:checked + .checkon {
    background: var(--sub-color);
}
.login_modal .next_btn{
    width: 100%;
    margin-top: 1rem;
    height: 68px;
    line-height: 68px;
    text-indent: 0;
    color: #fff;
    background: var(--sub-color);
}

.login_menu{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.8rem 0;
}
.login_menu li{
    color: #626262;
    margin: 0 0.6rem;
    cursor: pointer;
}
.sns{
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.9rem;
}
.sns>img{
    cursor: pointer;
    width: 50px;
    height: 50px;
}

@media (max-width:480px) {
    .login_modal > div {
        padding: 2rem 1.5rem;
    }
    .login_modal .next_btn {
        margin-top: 1rem;
    }
    .login_menu li {
        margin: 0 0.3rem;
    }
    .sns > img {
        margin: 0 0.6rem;
        width: 48px;
        height: 48px;
    }
}






/* 푸터 */
.footer{
    color: #fff;
    background: #1C1C1C;
    margin-top: 5rem;
}
.footer_wrap{
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 0;
}

.footer_contents{
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
}
.left_footer{
    width: 70%;
}
.footer ul{
    display: flex;
    column-gap: 1rem;
    row-gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.87rem;
    line-height: 160%;
}

.footer_notice{
    font-size: 0.94rem !important;
}

.footer_notice li{
    cursor: pointer;
}

.footer_notice li:nth-of-type(2n-1) {
    cursor: pointer;
}
.notice_strong{
    color: var(--main-color);
}
.footer_dashed{ color: #c2c2c2; }



.footer_info {
    font-size: 13px;
    column-gap: 0.4rem !important;
    color: #8d8d8d;
    margin-bottom: 0 !important;
}

.strong{
    color:#fff;
}

.footer_logo{ 
    width: 130px;
    margin: 2rem 0 1rem 0;
    cursor: pointer;
}
.footer .footer_notice > li.footer_bold {
    font-weight: 700;
}
.footer_time {
    font-size: 0.94rem !important;
    color: #666666 !important;
}
.footer_time li {
    color: #666666;
    font-weight: 400;
}
.footer_time > li:nth-child(3) {
    font-weight: 600;
}
.footer > div > p {
    font-size: 13px;
    color: #999999;
}
.copyright{
     font-size: 0.82rem; 
    color: #666666;
}

.footer_time{
    display: block !important;
}

.right_footer .footer_bold{
    color: #fff;
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tel{
    font-size: 1.38rem;
    font-weight: 600;
    color: var(--main-color);
}

.footer_bold span {
    color: var(--main-color);
    font-weight: 600;
}

.right_footer .footer_bold:last-child{
    color: #8d8d8d;
    display: block;
}


@media (max-width:1280px) {
    .footer_wrap {
        max-width: none;
        width: 100%;
        padding: 3rem 1.5rem;
    }
}

@media (max-width:987px) {

    .footer_contents{
        display: block;
    }

    .left_footer,
    .right_footer{
        width: 100%;
    }

    .left_footer{
        margin-bottom: 2rem;
    }

     .right_footer{
         border-top: 1px solid #8d8d8d;
         padding-top: 2rem;
     }

     .right_footer .footer_bold{
         margin-bottom: 1rem;
     }

     .footer_time,
     .right_footer .footer_bold:last-child{
         margin-bottom: 0 !important;
     }

}




/* 사이드바 스크롤 커스텀 */
.side_list ul::-webkit-scrollbar {
    width: 14px;
    cursor: pointer;
}
.side_list ul::-webkit-scrollbar-thumb {
    background-color: #B8B8B8;
    border-radius: 10px;
    padding-right: 5px;
    background-clip: padding-box;
    border: 2px solid transparent;
    cursor: pointer;
}
.side_list ul::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0px 0px 5px white;
}



/* 탑버튼 */
.fixed_box {
    position: fixed;
    bottom: 50px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #000;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fixed_box2{
    display: none;
}
.fixed_box:hover{
    cursor: pointer;
}

.topbtn{
    width: 19px;   
}


@media (max-width:1080px) {
    .fixed_box {
        right: 1.5rem;
    }
}
@media (max-width:768px) {

    .fixed_box{
        width: 50px;
        height: 50px;
        bottom: 50px;
    }

    .topbtn{
    width: 20px;   
}

}



.loading {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.loading>*{
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 99999;
}





/* #region 인증번호 인증 모달창 */
.smog3 {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 0.5);
    z-index: 999999;
}

.auth_modal h5{
    text-align:center;
    font-size:1.3rem;
    font-weight:600;
    margin-bottom:20px;
    color:#313131;
}
.input_group {
    height:60px;
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:8px;
    padding:5px;
    width:100%;
    font-size:1rem;
    box-sizing:border-box;
    border:1px solid #eee;
    border-radius:12px;
    background:#fff;
    position:relative;
    min-width: 120px;
}
.input_group input{
    flex:1;
    border:none;
    background:transparent;
    font-size:1rem;
    color:#1e1e1e;
    outline:none;
    height: 100%;
}
.input_group button {
    width:110px;
    border:none;
    background:var(--bg-color);
    color:var(--main-color);
    border-radius:10px;
    cursor:pointer;
    border:1px solid #c8e7f1;
    transition:all 0.2s;
    height: 100%;
}
/* 버튼 비활성화 시 */
.input_group button:disabled{
    background:#f4f4f4;
    color:#bbb;
    cursor:default;
    border-color: #d6d6d6;
}
.auth_timer {
    position:absolute;
    right:130px;
    color:#ff4444;
    font-size:0.9rem;
    font-weight:500;
}
.auth_result{
    color:var(--main-color);
    margin-top:1.3rem;
    text-align:center;
}
.btn_close {
    display:block;
    margin:1.3rem auto 0;
    background:#aaa;
    height:60px !important;
    line-height:60px !important;
    border:none;
    border-radius:12px;
    color:#fff;
    cursor:pointer;
}
/* #endregion */







.lds-ring,.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid var(--main-color);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--main-color) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

