﻿

/* 공통 */
.wrap>div>*:not(:first-child){
    margin-bottom: 5rem;
}

/* 제목 */
.wrap h2{
    font-size: 2.6rem;
    font-weight:  700;
    margin-bottom: .87rem;
}
.wrap h3{
    font-size: 1.3rem;
    color: var(--btn-color);
}
@media (max-width:984px) {
    .wrap h2{
        text-align: center;
    }
    .wrap h3{
        text-align: center;
        width :100%;
    }
}
@media (max-width: 768px) {
    .wrap {
            margin-top: 20px;
    }
    .wrap h3 {
        display: none;
    }
}

/* 전체보기 버튼 */
.mobile{
     display: none;
}
.more_btn{
    font-size: 1.12rem;
}

.m_more_btn{
    display: none;
}
@media (max-width:984px) {
    .mobile{
         display: block;
    }
    .more_btn{
        display: none;  
    }
    .m_more_btn{
        margin: 2rem auto 0 auto;
        display: block;
        width: 100%;
        border-radius: 50px;
        height: 4.4rem;
        line-height: 4.4rem;
        background: var(--btn-color);
        color: #fff;
    }
}






/*팝업모달이벤트 24.11.20*/
/*.mo_modalbox{
   display: block ;
}*/
 
.smog2 {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
}
 
.mo_modalbox{
    width: 470px;
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000000000;
    transition: all 0.3s ease;
    animation: unset;
    visibility: hidden;
     display:none;


}

.modal_pagination {
    margin: 0 auto;
    display: table;
    margin-bottom:10px;
    text-align: center;
}
.modal_pagination .swiper-pagination-bullet {
    margin-right:6px;
    width:9px;
    height:9px;
        background: #ffffff;
        opacity: 1;
    transition:all 0.3s ease;
}
 
.modal_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background:var(--sub-color);
    width:40px !important;
    border-radius:20px;
     transition:all 0.3s ease;
     opacity:1;
}
 

.mo_modal_event img{
    width: 100%;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    object-fit: contain;
}

.mo_modal_event:hover{
    cursor:pointer;
}
.mo_modal_btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#ffffff;
    height:70px;
   border-bottom-left-radius:20px;
    border-bottom-right-radius:20px;
 
}
.mo_modal_btn button{
    width:50%;
    background:transparent;
    border-radius:unset;
    height:70px;          
    color: #4a4a4a;
}
.mo_modal_btn button:first-child{
    border-right:1px solid #bfbfbf;
}
 
/*.wrap{
    margin-top:100px;
}*/

.mo_modalbox .swiper-button-next, .swiper-button-prev {
    width: 55px;
    height: 55px;
    background-size: cover; 
}
.modal_arrow .swiper-button-next, .modal_arrow .swiper-button-prev {
    width: 55px;
    height: 55px;
}
.modal_arrow .swiper-button-next img, .modal_arrow .swiper-button-prev img {
    width: 100%;   /* 버튼 크기에 맞춰서 꽉 */
    height: 100%;  /* 버튼 크기에 맞춰서 꽉 */
    object-fit: contain; /* 비율 유지하면서 꽉 채우기 */
}
/* Swiper 기본 아이콘 제거 */
.mo_modalbox .swiper-button-next::after, .mo_modalbox .swiper-button-prev::after {
    display: none;
}

.modal_arrow .swiper-button-next{
        right: -75px;
}
.modal_arrow .swiper-button-prev{
        left: -75px;
}
@media(max-width:768px) {
        .mo_modalbox .swiper-button-next, .mo_modalbox .swiper-button-prev {
        display:none;
    }
}
@media(max-width:580px) {
    .mo_modalbox {
        width: 100%;
        display: block ;
        display: none;
        top: unset;
        left: 0;
        bottom:0;
        transform: unset;
    }
    .mo_modal_btn {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}







/* 메인배너 */
.mainBanner {
    width: 1200px;
}
/* PC/Mobile 이미지 분리 */
.pcBanner img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}
.mainBanner.mobBanner { display: none; }
.mainBanner .swiper-slide {
  height: auto;
  min-height: 300px;
}
.mainBanner img {
  width: 100%;
  border-radius: 3rem;
}
@media (max-width: 1280px) {
    .mainBanner {
        width: 100%;
        width: calc(100% - 3rem);
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 768px) {


    .mainBanner{
        width: 100%;
    }
  .mainBanner img {
    border-radius: 0;
  }
  .mainBanner.pcBanner { 
      display: none;
  }
  .mainBanner.mobBanner { 
      display: block;
  }
  .mobBanner img{
    max-height: 600px;
    object-fit: cover;
    width: 100%;
  }
}

.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
  font-size: 14px;
  position: relative;
    padding: 0 1.5rem;
}
@media (max-width: 480px) {
    .swiper-controls {
        margin-top: 5px;
        padding: 0 15px;
    }
}

/* 숫자들 */
.page-current, .page-total {
  width: 30px;
  text-align: center;
  font-weight: 500;
}

/* 진행바 */
.progress-bar {
  flex: 1;
  height: 4px;
  background: #ccc;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  max-width: 300px;
}
.progress-bar .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #333;
  width: 0%;
  transition: width 0.3s ease;
}

/* 버튼들 (하단 정렬 상태) */
.mainBanner .swiper-button-prev, .mainBanner .swiper-button-next {
  position: static;
  transform: none !important;
  font-size: 12px !important;  /* 크기 줄이기 */
  width: 20px;       /* 버튼 자체 영역 줄이기 */
  height: 20px;
  color: #333;
  cursor: pointer;
    margin-top: 3px;
}
.mainBanner .swiper-button-prev::after, .mainBanner .swiper-button-next::after {
  font-size: 12px;   /* Swiper 내부 아이콘 크기도 함께 줄이기 */
}

/* 자동재생 버튼 영역 */
.autoplay-controls {
  display: flex;
  gap: 4px;
}
.autoplay-controls button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #333;
}








/* 2. 퀵메뉴 */
.quick{
    width: 100%;
    margin: auto;
    text-align: center;
    justify-content: space-around;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}
.quick li {
    background: #F8F8F8;
    border-radius: 1.56rem;
    aspect-ratio: 1 / 1; /* 정사각형 비율 유지 */
    width: 100%; /* 원하는 너비 기준에서 자동 높이 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
}
.quick img{
    max-width: 85px;
    width: 100%;
}
.quick p {
    font-size: 1.1rem;
    margin-top: .8rem;
    color: var(--btn-color);
}
.quick li:hover {
        animation: bounce 0.8s infinite;
        box-shadow: var(--box-shadow);
}
.quick br{
    display: none;
}

/* 바운스 애니메이션 */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .quick{
        column-gap: .93rem;
    }
    .quick img{
        max-width: 68px;
    }
    .quick p {
        font-size: 1rem;
    }
}
@media (max-width: 984px) {
    .quick img{
        max-width: 60px;
    }
    .quick p {
        font-size: .93rem;
        margin-top: .5rem;
    }
}

@media (max-width:  768px) {
    .quick{
        grid-template-columns: repeat(3, 1fr);
        gap: .8rem;
    }
    .quick li{
        padding: 2rem 0;
         aspect-ratio: unset;
         display: block;
    }
    .quick img{
        max-width: 45px;
    }
    .quick br{
        display: block;
    }
    .quick p{
        display: inline-block;
        margin-left: 10px;
        text-align: left;
    }
}
@media (max-width: 480px) {
    .quick li{
        display:  flex;
    padding: 1rem 0;
    }
    .quick p{
        text-align: center;
        margin-left: 0;
    }
}

/* 3. 추천요금제 */
.best_plan{
    padding:  3rem;
    border: 1px solid #e1e1e1;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}
/* 추천요금제 - 좌측 */

.opt_obj input[type="radio"] + span {
    height: 4.4rem;
    line-height: 4.4rem;
}
@media (max-width:1080px) {
    .opt_obj input[type="radio"] + span {
        height: 3.3rem;
        line-height: 3.3rem;
        padding: 0 1rem;
    }
}
@media (max-width:580px) {
    .label_tag {
        margin-right: 6px;
        margin-bottom: 6px;
        border-radius: 10px;
        font-size: 1rem;
    }
    .label_tag input[type="radio"]:checked + span {
        width: 100%;
        border-radius: 10px;
    }
}


.best_plan>li:first-child{
    margin-right: 3rem;
  height: 100%;
}
.best_plan .more_btn{
    margin-top: 7rem;
}
.best_plan h3{
    margin: 1.2rem 0 2.5rem 0;
}

.plan_swiper {
    width: 72%;
  height: 620px;
  margin-right: 0 !important;
  padding-right: 1.7rem !important;
}
.plan_swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* 추천요금제 페이지네이션 */
.plan_swiper {
  position: relative;
}
.best_plan .swiper-slide {
    overflow: hidden;
}
.best_plan .plan {
    padding: 1.7rem;
    height: 195px;
}
/* progressbar 막대 오른쪽 세로 정렬 */
.plan_swiper .swiper-pagination-progressbar {
  position: absolute;
  top: 50% !important;
  right: 0 !important;
  left: unset !important;
  transform: translateY(-50%);
  width: 6px !important;
  background: rgba(0, 0, 0, 0.1);
  z-index: 10;
}
/* 실제 채워지는 진행 막대 */
.plan_swiper .swiper-pagination-progressbar-fill {
  background: #4f4f4f !important;
}


@media (max-width: 1200px) {
    .best_plan > li:first-child {
        margin-right: 2rem;
    }
    .best_plan{
        padding: 2rem;
    }
}

@media (max-width: 1080px) {
    .best_plan{
        display: block;
    }
    .best_plan br{
        display: none;
    }
        .best_plan > li:first-child {
            margin-right: 0;
            width: 100%;
        }
        .best_plan .tab_btn{
            display: flex;
            flex-wrap: wrap;
            margin-bottom: .4rem;
        }
        .best_plan .more_btn {
        margin: 1rem 0 2rem 0;
        text-align: right;
        margin-left:auto;
        width: 100%;
    }
    .plan_swiper {
        width: unset;
        height: 420px;
    }
}
@media (max-width: 1080px) {
    .plan_swiper {
        width: unset;
    }
}
@media (max-width: 768px) {
    .best_plan {
        border: none;
        padding: 0;
    }

    .plan_swiper {
        padding-right: 0 !important;
        height: 280px;
        margin-bottom: 0;
    }

    .plan {
        height: 95% !important;
    }
    .plan_swiper .swiper-pagination {
        width: 100%;
        position: absolute;
        transform: translate(0, 0) !important;
        flex-direction: row;
        height: 12px;
        bottom: 0 !important;
}
/* progressbar 막대 오른쪽 세로 정렬 */
.plan_swiper .swiper-pagination-progressbar {
  position: absolute;
  top: unset !important;
  bottom : 0 !important;
  right: 0 !important;
  left:0 !important;
  transform: translateY(-50%);`
  background: rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 100% !important;
}
}

@media (max-width:480px) {
    .plan_swiper {
        height: 330px;
    }
}
@media (max-width: 360px) {
    .plan_swiper {
        height: 340px;
    }
}
/* 4. 이벤트 */
.event .flex{
}
.eventBanner{
    padding-bottom: 2.5rem !important;
}
.eventBanner a{
    display: block;
}
.event_banner{
    border-radius: 3rem;
    width: 100%;
    object-fit: cover;
    width: 100%;
}
.event .swiper-pagination {
    position: absolute;
    width: 220px;
    border-radius: 10px;
    overflow: hidden;
}
.event .swiper-pagination-progressbar-fill {
    background: #ff4d4d; /* 진행 바 색상 */
    border-radius: 20px;
}
/* 전체 점 스타일 */
.event .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #bdbdbd;
  border-radius: 50%;
  opacity: 1; /* Swiper 기본은 0.2~1이라 고정 */
  transition: all 0.3s ease;
}
/* 현재 active된 점 (길쭉한 형태로 변경) */
.event .swiper-pagination-bullet-active {
  background: #444;
  border-radius: 8px;
  width: 36px;
}

.event .swiper-button-prev{
    display: none;
}
.event .swiper-button-next{
    display: none;
}

@media (max-width:984px) {

    .event .swiper-button-prev{
        display: block;
        left: 15px;
    }
    .event .swiper-button-next{
        display: block;
        right: 50px;
    }
    /* Swiper 기본 아이콘 제거 */
    .event .swiper-button-next::after, .event .swiper-button-prev::after {
      display: none;
    }
    .event .swiper-button-prev img, .event .swiper-button-next img {
      width: 4rem;
      height: 4rem;
      object-fit: contain;
    }
    .eventBanner{
        padding-bottom: 0 !important;
    }
    .event .swiper-pagination{
        display: none;
    }

}



/* 5. 공지사항/FAQ */
.info{
    width: 100%;
    column-gap: 1rem;
      align-items: stretch; /*  높이 동일하게 */
}
.info>li{
    box-shadow: var(--box-shadow);
    border-radius: 3rem;
    padding: 3rem;
}
.info>li>.flex{
    margin-bottom: 2rem;
}
.info h4{
    font-size: 2rem;
    font-weight: 600;
}
.faq li, .notice_box>li{
    padding: 8px 0;
}
/* 공지사항 */
.notice{
    flex: 3;
}
.notice_box>li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.notice_tit, .faq li{
    font-size: 1.13rem;
    color: var(--btn-color);
    line-height: 150%;
    cursor: pointer;
}
.notice_tit{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notice_date{
    color: #B4B4B4;
    font-size: 1.13rem;
    white-space: nowrap;
}
/* faq */
.faq{
    flex: 2;
}

@media (max-width:984px) {




    .info{
        display: block;
    }
    .notice{
        margin-bottom: 1rem;
    }
}






/* 6. 고객서비스 */
.cs_center {
  width: 100%;
  position: relative;
  background: #e2efff;
  padding: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs_center>ul {
  justify-content: space-around;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

.cs1 {
  flex: 1;
}

.cs2 {
  flex: 2;
  background: #fff;
  border-radius: 3rem;
  padding: 3.3rem 1rem;
  justify-content: space-around;
  position: relative; /* 이미지 기준 고정 */
  overflow: visible;
  display: flex;
}

.cs2>div {
  flex: 1;
}

.cs2_1 {
  text-align: center;
  border-right: 1px solid #d4d4d4;
}

.cs_center_QA {
  position: absolute;
  top: -30px;     /* 박스 위로 살짝 띄우기 */
  right: -40px;   /* 박스 밖으로 살짝 나가게 */
  z-index: 10;
  width: 130px;
  height: auto;
}




.cs2 h4{
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.cs2_1>p{
    font-size: 2.6rem;
    font-weight: 700;
}
.cs2_2 p{
    font-size: 1.35rem;
    line-height: 145%;
    text-align: center;
}
.cs2_2>p:first-child{
    margin-bottom: 10px;
}

@media (max-width:984px) {

    .cs_center>ul{
        display: block;
    }
    .cs1>p{
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.2rem;
    }
    .cs1 br{
        display: none;
    }

}

@media (max-width:768px) {
    .cs_center {
        padding: 3rem;
    }
    .cs2_1 > p {
        font-size: 2.3rem;
    }
    .cs_center h2{
        display: none;
    }
    .cs1>p {
        display: none;
    }
    .cs2{
        display: block;
    }
    .cs2_1{
        border-right: none;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .cs_center_QA {
        width: 120px;
        right: -30px;
    }
}


@media (max-width:360px) {
    .cs_center_QA {
        width: 85px;
    }
}



.footer{
    margin-top: 0;
}


