﻿

.wrap{
    margin-top: 110px;
}

.wrap>div{
    width: 680px;
}
@media (max-width:768px) {
    .wrap>div{
        width: 100%;
    }
}

.wrap_bottom {
    width: 1000px;
}


/*이벤트 배너*/
.top_banner{
    height: 250px;
}

.btn1{
    font-size: 1.03rem;
    font-weight: 500;
}


@media (max-width: 768px) {
    .wrap{
    margin-top: 80px;
    }
    .planSwiper {
        display: block;
    }
    .top_banner{
        height: 100%;
    }
}



/* 요금제 */
.planWrap{
    position: relative;
}

/*공유하기*/
.share{
    position: absolute;
    width: 20px;
    right: 1.2rem;
    top: 20px;
    cursor: pointer;
    z-index: 9;
}

.plan{
    box-shadow: none;
    border-radius: 0;
    cursor: default;
}

.plan:hover{
    box-shadow: none;
    cursor: default;
}

.infoprice{
    display: block;
}

.plan_info{
    width: 100%;
    max-width: unset;
    justify-content: space-around;
    margin: 1.5rem 0;
}

.plan_info img{
    width: 25px;
    height: 25px;
}

.info_wrap{
    column-gap: 0.5rem;
    height: 42px;
}

.infoprice .info_wrap:nth-of-type(2){
    padding: 0 3rem;
    border-left: 1px solid var(--btn-color);
    border-right: 1px solid var(--btn-color);
}

.info_wrap p{
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

.call_wrap p{
    margin-bottom: 0.2rem;
}

.call_wrap span{
    color: #ADADAD;
}

.plan_price{
    width: 100%;
}

.bps_guide{
    margin-right: 0;
}


@media (max-width:580px) {
    .plan_info img{
        width: 20px;
        height: 20px;
    }
    .infoprice .info_wrap:nth-of-type(2){
        padding: 0 2rem;
    }
}
@media (max-width:480px) {
    .info_wrap{
        height: 33px;
    }
    .plan_info img{
        width: 15px;
        height: 15px;
    }
    .info_wrap p{
    font-size: 0.87rem;
}
    .call_wrap span{
        font-size: 0.75rem;
    }
    .infoprice .info_wrap:nth-of-type(2){
        padding: 0 8%;
    }
}




/*말풍선*/
.bps_guide{
    position: absolute;
    top: 100%;
    background-color: rgba(0,0,0,1);
    border-radius: 15px;
    padding: 1rem;
  color: #fff;
  font-size: 0.87rem;
  z-index: 999;
  line-height: 140%;
  word-break: keep-all;
  margin-right: 2rem;
  display: none;
  max-width: 80vw;
}
.bps_guide_layer {
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 80vh;
    word-break: keep-all;
    position: absolute;
    z-index: 9999;
    --arrow-left: 50%;
}
.bps_guide_layer .arrow_svg {
    position: absolute;
    top: -10px;
    left: var(--arrow-left);
    transform: translateX(-50%);
}




/* 사전 유심 구매 */
.prebuy{
    margin-top: 4rem;
    margin-bottom: 1rem;
}
h3{
    font-size: 1.3rem !important;
    font-weight: 800;
    color: var(--sub2-color);
    margin-bottom: 1rem;
}
@media (max-width:580px){
    h3{
        font-size: 1.13rem;
    }
}

.open_obj{
    padding: 0.5rem 1rem;
    justify-content: space-between;
    cursor: default;
}
.open_obj:hover{
    background-color: var(--bg2-color);
}
.open_obj>div{
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
}
.open_obj>div>p{
    font-size: 2.2rem;
}
.next_btn{
    height: 58px;
    line-height: 58px;
    width: 180px;
    margin: 0.5rem 0;
}


@media (max-width:580px) {
    .next_btn{
        width: 30%;
    }
}
@media (max-width: 360px) {
    .open_obj{
        display: block;
    }
    .next_btn{
        width: 100%;
        height: 50px;
        line-height: 50px;
        margin-top: 1rem;
    }
}



/*혜택/상세정보*/
.contents{
    padding: 5px;
}
.tab{
    margin: 2rem 0;
    position: static;
    top: auto;
    transition: top 0.3s;
    z-index: 999;
}
.tab.fixed {
  position: fixed;
  top: 12px; /* 헤더 높이에 맞게 조정 */
  left: 50%;
  max-width: 680px;
  transform: translate(-50%);
}
@media (max-width:1080px) {
    .tab.fixed {
        top: 16px;
    }
}
@media (max-width:768px) {
    .tab.fixed {
        top: -4px;
    }
}
@media (max-width:580px) {
    .tab.fixed {
        top: 0px;
    }
}
@media (max-width:480px) {
    .tab.fixed {
        top: 4px;
    }
}
@media (max-width:360px) {
    .tab.fixed {
        top: 8px;
    }
}



.tab input[type="radio"] {
    display: none;
}
.tab label input[type="radio"]:checked + span{
    color: #000;
    border-bottom: 2px solid #000;
}
.tab label{
    width: 100%;
    cursor: pointer;
    margin-bottom: 1rem;
}
.tab label span{
    cursor: pointer;
    width: 100%;
    display: inline-block;
    font-weight: 600;
    background-color: #fff;
    color: #D1D1D1;
    padding: 1rem 0;
    border-bottom: 2px solid #D1D1D1;
    text-align: center;
}
.tab label:first-of-type span{
    border-right: 1px solid #fff;
}


/*혜택*/
.benefit_wrap{
    width: 99%;
    margin: auto;
}
.benefit h3{
    margin-bottom: 1.5rem;
}
.benefit .open_obj{
    background-color: #fff;
    padding: 0.8rem 0;
}
.benefit .open_obj>div{
    column-gap: .8rem;
    width: 80%;
}
.benefit .open_obj img{
    border-radius: 50%;
}
.benefit .type_title span{
    line-height: 140%;
}
.mini_btn{
    width: 90px;
    padding: 0.5rem 0;
    color: var(--g-color);
    border: 1px solid var(--btn-color);
    border-radius: 10px;
    white-space: nowrap;
    text-align: center;
}



.benefit_tit{
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--sub2-color);
}
.benefit_tex{
    color: #868c91;
}



/* #region 혜택 넘버링 */
.benefit_wrap .open_obj>div>span:first-of-type{
    flex: 0 0 .1.15rem;  /* 너비 절대 고정 */
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;  /* 줄어들지 않도록 */
    min-height: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    background: var(--main-color);
    border-radius: 50%;
    font-size: .7rem;
    color: #fff;
}
.benefit_wrap>div:nth-of-type(1) .open_obj>div>span:first-of-type{
    background: #EA4100;
}
.benefit_wrap>div:nth-of-type(2) .open_obj>div>span:first-of-type{
    background: #EC6833;
}
.benefit_wrap>div:nth-of-type(3) .open_obj>div>span:first-of-type{
    background: #EF9066;
}
.benefit_wrap>div:nth-of-type(4) .open_obj>div>span:first-of-type{
    background: #FBB896;
}
.benefit_wrap>div:nth-of-type(5) .open_obj>div>span:first-of-type{
    background: #F5DFCC;
}
/* #endregion */



@media (max-width:580px) {
    .open_obj span:first-child{
        font-size: 1.13rem;
    }
    .open_obj span:last-child{
        font-size: 0.87rem;
    }
}
@media (max-width:480px) {
    .benefit .open_obj{
        display: block;
    }
    .benefit .open_obj>div{
        width: 100%;
        column-gap: 4px;
        margin-bottom: .8rem;
    }
    .mini_btn{
        width: 100%;
        padding: 0.65rem 1rem;
        margin-bottom:1.5rem;
        display: block;
        text-align: center;
    }
}




/*더보기 버튼*/
.more{
    width: 100%;
    height: auto;
    justify-content: center;
    column-gap: 0.5rem;
    align-items: center;
    color: var(--g-color);
    margin: 1rem auto;
    padding: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px 0 rgb(36 41 46 / 6%);
    border-radius: 12px;
    border: 1px solid #e3e3e3;
}
.more img {
  transition: transform 0.3s ease;
}
.more.active img {
  transform: rotate(180deg);
}
@media (max-width:580px){
    .more{
        margin: 2rem auto;
    }
}




/* 요금제 상세정보 */
.noticebox{
    min-height:250px;
    height:auto;
    margin:auto;
}
.noti{
    width: 100%;
    position: relative;
    height: 90px;
    max-height: 90px;
    transition: all 0.5s ease;
    overflow: hidden;
    border-radius: 0;
    border-bottom: 1px solid #e0e0e0;
}
.noti:first-of-type{
    border-top: 1px solid #e0e0e0;
}
.notiopen{
    height:100% !important;
    max-height: 1000px;
    transition:all 0.5s ease;
}
.c_arrow{
    margin-left:10px;
    transition:all 0.5s ease;
    width:15px;
}
.n_tit>h3{
    padding-bottom: 0;
    font-size: 1.25rem;
    font-weight: 800;
}
.noti h3{
    margin-bottom:0;
    font-size: 1.1rem !important;
    font-weight: 600;
}
.noti h3 img{
    width:40px;
    margin-right:15px;
}
.n_box{
    width: 98%;
    height: 90px;
    flex-wrap: wrap;
    margin: auto;
    padding: 0;
}
.n_tit{
    display:flex;
    align-items:center;
}
.n_box>div:last-child>p{
    color:#adadad;
    font-weight:bold;
    font-size:14px;
}
.n_box>div:last-child:hover{
    cursor:pointer;
}
.n_pro{
    width: 98%;
    background: #fff;
    margin: 0 auto;
    overflow-x: hidden;
    text-align: start;
    font-size: 1rem;
    line-height: 24px;
    padding: 0.5rem 0;
    border-radius: 0;
    display: flex !important;
}

.n_pro>div{
    cursor: pointer;
}
.noti>div:last-child{
    padding-bottom: 2rem;
}

.n_pro .flex{
    justify-content: unset;
    column-gap: 0.3rem;
    width: unset;
}

.n_pro p{
    font-size: 0.94rem;
}

.n_pro .title,
.n_pro .title p{
    font-weight: 600;
    color: var(--sub2-color);
}

.n_pro .content{
    font-weight: 600;
    color: var(--main-color);
}


@media (max-width:580px){

    .noti h3{
        font-size: 1.13rem;
    }

    .noti{
        height: 70px;
    }

    .n_box{
        height: 70px;
    }

    .n_pro .title, .n_pro .title p, .n_pro .content{
        font-size: 0.93rem;
    }

    .c_arrow{
        width: 12px;
    }

    .noti>div:last-child{
        padding-bottom: 0;
    }

}


/*서비스지원 표*/
.p_det_t thead tr td{
    text-align:center;
}

.p_det_t tbody tr td{
    text-align: left;
}

.p_det_t tr td{
    width: 50% !important;
    border-bottom: 1px solid #dedede;
    padding: 1rem 1.5rem;
    color: var(--sub2-color);
    font-size: 1rem;
    font-weight: 600;
}

.p_det_t tr td:first-child{
    border-right:1px solid #dedede;
}

.p_det_t thead tr td{
    background:#f7f7f7;
    border-bottom: none;
    padding: 1rem 1.5rem;
}
.p_det_t thead tr td:not(:last-child){
    border-right: 1px solid #fff;
}

.td_wrap .title{
    cursor: pointer;
}

.noticebox {
    width: 100%;
    overflow: visible;
}

.notiopen:nth-of-type(3){
    padding-bottom: 1.5rem;
}


.noti:not(.notiopen) .bps_guide {
  display: none !important;
}

/*common.css 설정 해제*/
.n_pro{
    max-height: unset;
}
.title>p{
    margin: 0;
}



/*공유하기 모달창*/
.share_modal{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    border-radius: 15px;
    text-align: center;
    max-width: 340px;
    width: 96%;
    z-index: 999999;
    display: none;
}

.share_modal >div{
    padding: 1.2rem;
}

.share_modal >div>p{
        font-size: 1.4rem;
    font-weight: 600;
    color: var(--sub2-color);
    margin-bottom: 2rem;
}

.share_wrap{
    display: flex;
    justify-content: center;
    column-gap: 2rem;
}
.share_wrap>*{
    cursor: pointer;
}
.kakao img, .url img{
    width: 70px;
    margin-bottom: 0.5rem;
}

.kakao p,.url p{
    font-weight: 500;
}

.share_modal button{
    margin-top: 2rem;
    height: 56px;
    line-height: 56px;
}



@media (max-width: 580px) {

    .share_modal {
        width: 80%;
    }

    .kakao img,
.url img{
    width: 60px;
}

}






/* 요금제명 */
.D_tit1{
    display: block;
}
.D_tit2{
    display: none;
}




/*요금제 상품 추천*/
.recommend{
    margin-top: 7rem;
}

.plan_contents{
    width: 100%;
}


.recommend .plan{
    box-shadow: 0 0 10px #e5e5e5;
    border-radius: 25px;
    margin: 0.5rem;
    cursor: pointer;
    transition: none;
}

.recommend .swiper-container{
    width: 100%;
    overflow: hidden;
}

.recommend .swiper-wrapper{
    width: 100%;
}

.recommend .swiper-slide{
    flex-shrink: 0;
    width: 70%;
}

.recommend .plan_price{
    width: 100%;
}

.recommend .plan_info{
    width: 100%;
    max-width: unset;
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1rem;
}

.recommend .swiper-pagination{
    margin-top: 30px;
    display: flex;
    column-gap: 0.5rem;
    justify-content: center;
    cursor: pointer;
}

.recommend .swiper-pagination-bullet{
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50px;
    background-color: rgba(0,0,0,0.3);
}

.recommend .swiper-pagination-bullet-active{
    background-color: rgba(0,0,0,0.9);
}



@media (max-width:580px) {

    .recommend .plan_info{
        padding: 0.7rem 1rem;
    }

}






@media(max-width:984px) {

    .databox{
        display: block;
    }
    .D_item{
        width: 100%;
        height: 430px;
    }
    .D_info{
        width: 100%;
        margin-top: 10px;
    }

    /* 요금제명 */
    .D_tit1{
        display: none;
    }
    .D_tit2{
        display: block;
        margin: 0 0 10px 5px;
        font-size: 29px;
    }


    .D_box{
        display: flex;
        justify-content: space-around;
    }
    .D_box li {
        line-height: 45px;
        font-size: 20px;
        font-weight: 700;
    }

    .D_info button {
        position: unset;
        margin-top: 20px;
    }
        .D_item > img {
        height: 100%;
        object-fit: cover;
    }

    .item_banner {
        padding-top: 40px;
        margin-top: 40px;
    }
    .D_plus{
        font-size: 14px;
        height: 36px;
        line-height: 36px;
    }
    
   .D_box {
        display: block;
        padding: 20px 30px;
    }
    .D_box li {
        font-size: 19px;
    }

    table tr {
        height: auto;
        display: table-row;
    }
    table {
        width: 1000px;
    }


}

@media(max-width:600px) {

    .D_item {
        width: 100%;
        height: 360px;
    }
}



@media(max-width:480px){

    .D_item {
        height: 300px;
    }
    .D_info button {
        border-radius: 10px;
    }
    .D_tit {
        font-size: 21px;
    }
    .D_price {
        margin-top: 12px;
    }
    .D_price p:nth-child(1) {
        font-size: 22px;
    }
    .D_price p:nth-child(1) span {
        font-size: 28px;
    }
    .D_price h4{
        font-size: 14px;
    }
        .D_info button {
        margin-top: 12px;
    }
    .D_plus {
        font-size: 13px;
    }
    .D_plus img {
        display: none;
    }

    .D_box li {
        font-size: 17px;
    }

    .p_det_t tr td {
       font-size:13px;
    }

}


@media(max-width:360px) {

    .D_item {
        height: 280px;
    }
    .D_plus {
        font-size: 12px;
    }
    .D_box {
        padding: 12px 20px;
    }
    .D_box li {
        font-size: 14px;
        line-height: 38px;
    }
    .D_price {
        margin-top: 8px;
    }
    .D_tit {
        font-size: 19px;
    }

}