﻿

.wrap>div{
    width: 1000px;
}
@media (max-width:1080px) {    
    .wrap>div {
        width: 100%;
        padding: 0 1.5rem;
    }
}
@media (max-width: 768px) {
    .wrap {
        margin-top: 50px;
    }
}

/* 공통 */
.wrap h2{
    font-size:1.9rem;
    font-weight: 600;
    margin-bottom: 3rem;
}
.wrap h3{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .6rem;
}
.wrap h4{
    font-size: 1.05rem;
    color: #545454;
    line-height: 150%;
}
.wrap .margin{
    margin-top: 7rem;
}

/* 공통된 배경 */
.open_bg{
    border-radius: 25px;
    box-shadow: var(--red-shadow);
}


  .selfopen_video{
    width:100%;
    margin: 0 auto;
    border-radius: 20px;
    /*outline:2px solid #939393;*/
    box-shadow:  var(--box-shadow);
  }



/* 상단 배너 */
.top_banner{
    height: 320px;
    padding: 0 4rem;
    background: linear-gradient(to right, #2479E4FF, #2479E475);
    color: #fff;
    border-radius: 30px;
    display: flex;
    flex-direction: column;  justify-content: center; align-items: flex-start; 
}
.top_banner>p{
    font-size: 1.4rem;
}
.top_banner>h2{
    font-size: 3rem;
    font-weight: 600;
    margin: 0.2rem 0 3.1rem 0;
}
.banner_btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 30px 8px 0;
    color: #fff;
    font-size: 1.3rem;
    width: 200px;
}
.banner_btn span{
    font-size: 1.6rem;
}
.banner_btn:hover .arrow {
    animation: arrow-move 0.6s infinite ease-in-out;
}
.arrow {
    display: inline-block;
    margin-left: 2rem;
    transition: transform 0.3s ease;
}
@keyframes arrow-move {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@media (max-width:768px) {
    .top_banner {
        height: 250px;
        padding: 0 2.2rem;
    }
    .top_banner>p{
        font-size: 1.2rem;
    }
    .top_banner > h2 {
        font-size: 2.5rem;
    }
    .banner_btn {
        font-size: 1.1rem;
    }
    .banner_btn span{
        font-size: 1.5rem;
    }
}
@media (max-width:480px) {
    .top_banner {
        height: 230px;
        padding: 0 2rem;
    }
    .top_banner>h2 {
        font-size: 2.2rem;
        font-weight: 600;
        margin: 0.2rem 0 2.5rem 0;
    }
}


/* 셀프개통, 온라인 탭메뉴 */
.tit_tab{
    margin-top: 2rem;
    border: 1px solid #dedede;
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    background: #f9f9f9;
}
.open_obj{
    width: 100%;
    flex: 1;
    background: #F9F9F9;
    border-radius: 25px 25px 0 0;
}
.open_obj input[type="radio"] + span {
    background: #F9F9F9;
    border-radius: 25px 25px 0 0;
    border: none;
    border-bottom: 1px solid var(--main-color);
    font-size: 1.1rem;
}
.open_obj input[type="radio"]:checked + span {
    background: #fff;
    border: 1px solid var(--main-color);
    border-bottom: 1px solid #fff;
    color: var(--main-color);
}
@media (max-width:768px) {
    .open_obj input[type="radio"] + span {
        width: 100%;
        line-height: 66px;
        height: 66px;
    }
}


/*#region 안면인증 가이드*/
.face_auth h2{
    margin-bottom: 1rem;
}

.face_auth h4{
    margin-bottom: 3rem;
}

.face_auth_wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: stretch;
}

.face_auth_wrap>div{
    background: #F8F8F8;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
}

.face_auth_wrap>div p{
    color: #848484;
    word-break: keep-all;
    line-height: 140%;
}

/*순서 색 변화*/
.face_auth_wrap>div:first-of-type .how_step{
    background: #A1C1E9;
}
.face_auth_wrap>div:nth-of-type(2) .how_step{
    background: #80AEE8;
}
.face_auth_wrap>div:nth-of-type(3) .how_step{
    background: #5594E5;
}
.face_auth_wrap>div:nth-of-type(4) .how_step{
    background: #3085EF;
}


@media (max-width:984px) {

    .face_auth_wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-around;
        gap: 1.5rem;
    }

}

@media (max-width:768px) {

    .face_auth_wrap>div img{
        width: 60%;
    }

}

@media (max-width:480px) {

     .face_auth_wrap{
         grid-template-columns: repeat(1, 1fr);
     }

    .face_auth_wrap>div img{
        width: 40%;
    }

}


/*#endregion*/



/*#region 안면인증 시 유의사항 */

.face_guide h2 {
    margin-bottom: 1rem;
}
.face_guide h4 {
    margin-bottom: 3rem;
}
.face_guide ul{
    justify-content: space-around;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}
.face_guide li{
    margin: auto;
    width: 100%;
}
.face_guide div{
    width: 100%;
    border-radius: 20px;
    background: #F3F6FA;
}
.face_guide img{
    width: 100%;
}
.face_guide p{
    margin-top: .6rem;
    font-size: 1.05rem;
    color: #545454;
    line-height: 150%;
}

@media (max-width:768px) {
    .face_guide ul {
        grid-template-columns: repeat(1, 1fr);
    }
    .face_guide p br{
        display: none;
    }
    .face_guide img{
        width: auto;
    }
}
@media (max-width:580px) {
}

/*#endregion*/

/* 유심 */
/* 1. 유심 개통 가이드*/
.usim_step{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 2rem;
}
.step_wrap{
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.3rem;
    padding: 1.5rem .93rem;
}
.step_wrap p{
    line-height: 150%;
    font-weight: 600;
}
.step_wrap img{
    width: 8rem;
}
.usim_step li:nth-child(1) .step_wrap {
    background: #F1F3FB;
    color: #4E5169;
}
.usim_step li:nth-child(2) .step_wrap {
    background: #EAF4FE;
    color: #4E5793;
}
.usim_step li:nth-child(3) .step_wrap {
    background: #FEF4EA;
    color: #4E5169;
}
.usim_step li:nth-child(4) .step_wrap { 
    background: #FFE3E6;
    color: #585858;
}

@media (max-width:768px) {
    .wrap h3{
        margin-top: .93rem;
    }
    .usim_step {
        grid-template-columns: repeat(1, 1fr);
    }
    .step_wrap {
    padding: 1.8rem .93rem;
}
    .step_wrap img {
        width: 6rem;
    }

}


/* 2. 유심 장착 방법 */
.usim_how{
    margin-bottom: 4rem;
}
.usim_how h3{
    display: flex;
    align-items: center;
    column-gap: 8px;
}
.how_step{
    width: 26px;
    height: 26px;
    line-height: 26px;
    background: var(--main-color);
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: .93rem;
    display: block;
}
.usim_how p{
    font-size: 1.1rem;
}
.battery{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.4rem;
    margin-top: 1.5rem;
}
.battery li{
    width:100%;
}
.battery img{
    width: 100%;
}
.how_tit{
    font-size: 1.15rem;
}

.how_img{
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    border: 1px solid #E1E1E1;
    border-radius: 20px;
    padding: 2rem 1rem;
    margin-top: 2rem;
}
.how_img li{
    display: flex;
    align-items: center;
    column-gap: 2rem;
}


@media (max-width:768px) {
    .how_img img {
        width: 60%;
    }
}
@media (max-width: 580px) {
    .battery {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 480px) {
    .how_img {
        display: block;
        padding: 1rem;
    }
    .how_img li {
        justify-content: center;
    }
}
/* 유심 모달창 */
.usim_buy{
    display: flex;
    justify-content: space-around;
}
.usim_buy .kt_usim{
    background: #f54248;
    color: #fff;
    border-radius: 16px;
    padding: 8px 0;
    font-size: 1rem;
}
.usim_buy .lg_usim{
    background: #4a1971;
    color: #fff;
    border-radius: 16px;
    padding: 8px 0;
    font-size: 1rem;

}
.buy_box li{
    display: flex;
    align-items: center;
    text-align: left;
}
.buy_box div p:first-of-type{
    color: #fff;
    width: fit-content;
    padding: 1px 7px;
    border-radius: 24px;
    font-size: .87rem;
}
.cu{
    background: #81c46f;
}
.emart{
    background: #f0b401;
}
.gs25{
    background: #255b9d;
}
.buy_box p{
    margin: 2px 0;
    font-size: .96rem;
}
.buy_box span{
    color: var(--main-color);
}
.buy_box img{
    width: 5rem;
}

@media (max-width:580px) {
    .usim_buy{
        display: block;
        padding: 0 1rem;
        max-height: 60vh;
        overflow-y: auto;
    }
    .buy_box li{
         justify-content: center;
    }
    .usim_buy .lg_usim{
        margin-top: 2rem;
    }
}






/* 이심 esim */


/* 1. eSIM 지원 기종 */
.esim_device{
    margin-top: 2rem;
}
.open_bg{
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.open_bg li{
    background: #F8F9FA;
    border-radius: 25px;
    padding: 1.7rem;
    font-size: 1.1rem;
}
.open_bg p:first-child{
    text-align: center;
    color: #fff;
    border-radius: 10px;
    padding: 11px 0;
    margin-bottom: 1.2rem;
}
.device_android p:first-child{
    background: #19A424;
}
.device_apple p:first-child{
    background: #464646;
}
.open_bg p:last-child{
    color: #878484;
    text-align: center;
    font-size: 1.15rem;
}

 .guide_text li{
    color: #727272;
    font-size: 1.05rem;
    line-height: 150%;
}
@media (max-width:984px) {
    .esim_device .open_bg{
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    }
}
@media (max-width:580px) {
    .open_bg li {
        padding: 1.4rem;
    }
}


/* 2. eSIM 지원 여부 확인 */
.esim_check .flex{
    border: 1px solid #E1E1E1;
    border-radius: 25px;
    padding: 2rem 2.5rem;
}
.esim_check p{
    font-size: 1.4rem;
    line-height: 145%;
    font-weight: 600;
    color: #2b2b2b;
    text-align: left;
}
.esim_check span{
    color: var(--main-color);
}
@media (max-width:984px) {
    .esim_check .flex {
        display: block;
    }
    .esim_check{
        text-align: center;
    }
    .esim_check p {
        text-align: center;
    }
    .esim_check img{
        margin-top: 1.5rem;
    }
}
@media (max-width: 580px) {
    .esim_check ul {
        row-gap: 1rem;
    }
    .esim_check p {
        font-size: 1.1rem;
    }
    .esim_check img {
        width: 100%;
    }
}


/* 3. 활성화 방법 */
/* 탭메뉴 */
.tab_menu{
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
}
.tab_menu>p{
    flex: 1;
    line-height: 78px;
    height: 78px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border-bottom: 4px solid #DDDDDD; 
    color: #818181;

}
.tab_menu .tab_now {
    border-bottom: 4px solid var(--main-color);
    color: var(--main-color);
}
.tab_detail{
    position: relative;
    overflow: hidden;
}
.tab_detail > li {
    display: none;
}
.tab_detail > li.active {
    display: block;
    visibility: visible; /* 확실히 표시 */
    opacity: 1;
    transition: none;
}
.tab_btn {
    display: flex;
    margin: 1.5em 0 1rem 0;
    column-gap: 8px;
}
.tab_btn button {
    cursor: pointer;
    background: #f1f1f1;
    color: #888;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: 0.3s;
}
.tab_btn button.active { /* Android, iPhone 버튼 활성화 */
    background: var(--main-color);
    color: #fff;
}
.swiper-container {
    border: 1px solid #E1E1E1;
    border-radius: 25px;
    width: 100%;
    padding: 2rem 1rem;
    margin: 0 auto;
    display: none;
}
.swiper-container.active {
    display: block; 
}
.swiper-slide {
    text-align: center;
}
.swiper-slide p{
    margin-top: 1rem;
    line-height: 150%;
}
/* 스와이퍼 이전/다음 버튼 */
.swiper-button-prev, .swiper-button-next {
    color: #ffffff;
    padding: 2.8%;
    transition: background 0.3s ease;
}
.swiper-button-next, .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    color: #111 !important;
}
@media (max-width: 768px) {
    .tab_menu > p {
        line-height: 4rem;
        height: 4rem;
    }
}
@media (max-width:580px) {
    .tab_btn button {
        width: 33%;
        padding: 10px 0;
    }
}




/* 4. 유의사항 */
.esim_notice{
    background: #F6F6F6;
    margin: auto;
    color: #8C8C8C;
    overflow: auto;
    text-align: start;
    padding: 1.6rem;
    border-radius: 25px;
}
.esim_notice p {
    line-height: 170%;
    font-size: 1.1rem;
}