﻿

#s3 , #s5 { 
    scroll-margin-top: 130px; 
}
@media (max-width: 768px) {
  #s3 {
      scroll-margin-top:90px; 
  }
}

.wrap>div{
    max-width: 800px;
}


/* 상단 탭메뉴 */
.tag {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    margin-bottom: 4rem;
    white-space: nowrap; 
    width: 100%;
    height: 60px;
    background: #F9F9F9;
    border-radius: 25px 25px 0 0;
    border-bottom: 1px solid var(--main-color);
    gap: 0;
    justify-content: space-between;
}
.tag .open_obj{
    background: none;
}
.tag input[type="radio"]:checked + span {
    background: none;
    border-radius: 25px 25px 0 0;
    border: 1px solid var(--main-color);
    border-bottom: #fff;
    box-shadow: none;
    color: var(--main-color);
    background: #fff;
    font-weight: 700;
    padding: 0 2rem;
    text-align: center;
    line-height: 60px;
    outline: 0;
}
.tag input[type="radio"] + span {
    height: 60px;
    color: #B7B7B7;
    font-weight: 600;
    line-height: 60px;
    border: none;
}


@media (max-width:580px) {
    .tag,     .tag input[type="radio"] + span{
        height: 50px;
        line-height: 50px;
        border-radius: 15px 15px 0 0;
    }
    .tag input[type="radio"]:checked + span{
        line-height: 50px;
        border-radius: 15px 15px 0 0;
    }
}


/* 공통 */
.wrap>div>section{
    margin-bottom: 5.2rem;
}
.wrap h2{
    font-size: 1.07rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 6px;
    color: var(--main-color);
}
.wrap h3{
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
}
.wrap h4{
    font-weight: 500;
    line-height: 160%;
    color: #383838;
    word-break: keep-all;
}
.wrap h4 span{
    color: var(--main-color);
}



/*  s1. 유심이란  */
.s1 img{
    height: 160px;
}

@media (max-width:768px) {
    .s1 img{
    height: 140px;
    }
}
@media (max-width: 480px) {
    .s1 img{
    display: block;
    margin: auto;
    margin-top: 1.5rem;
}
    .s1 .flex{
        display: block;
    }
}



/* s2. 유심종류 */
.usim_size{
    border-radius: 30px;
    border: 1px solid #EBEBEB;
}
.usim_size>p{
    width: 100%;
    text-align: center;
    background: var(--main-color);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 1rem 0;
    color: #fff;
}
.usim_size li{
    display: flex;  
    align-items: center;
    margin-left: 4rem;
}
.usim_size li:not(:last-child){
    margin-top: 1rem;
}
.usim_size li:last-child{
    margin-bottom: 1rem;
}
.usim_size div h5{
    font-weight: 600;
}
.usim_size div p{
    color: #383838;
}
.guide_text{
    background: #F5F5F5;
    color: #4A4A4A;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    line-height: 160%;
    font-size: .93rem;
    word-break: keep-all;
}

/* 회전 효과 */
.down {
  transition: transform 0.3s;
}
.down.rotate {
  transform: rotate(180deg);
}


@media (max-width:768px) {

    .usim_size ul{
        width: 80%;
        margin: 0 auto;
        margin-bottom: 1rem;
    }

    .usim_size li{
        margin: 0;
        column-gap: 1rem;
    }

    .usim_size li img{
        width: 150px;
    }

}

@media (max-width:580px) {

    .usim_size li{
        margin-top: 2rem;
    }
    .usim_size li:last-child{
        margin-top: 1rem;
    }


    .usim_size li img{
        width: 130px;
    }

}


@media (max-width:480px) {

    .usim_size li img{
        width: 100px;
    }

}




/*2-1. 유심개통 절차 */
.s2_1 li{
    border-radius: 25px;
    border: 1px solid #EBEBEB;
    padding: 1.5rem 3rem;
}

.s2_1 li:not(:last-of-type){
    margin-bottom: 1rem;
}

.s2_1 li .flex{
    justify-content: unset;
    column-gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.s2_1 li .num{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    font-size: 0.87rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s2_1 li .flex:first-of-type p{
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.s2_1 li p{
    word-break: keep-all;
}

.guide2{
    margin-right: -10px;
}


@media (max-width:580px){

    .s2_1 li{
        padding: 1.5rem 2rem;
    }

    .s2_1 li img{
        height: 75px;
    }

    .guide1{
        height: 68px !important;
    }

    .guide2{
        height: 68px !important;
        margin-right: -8px;
    }

}



/* 3. 유심 장착 방법 */
.s3>div{
    border: 1px solid #EBEBEB;
    border-radius: 30px;
    padding: 2rem;
}
.step3_bg{
    background: #F5F5F5;
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
}
.s3 li{
    display: flex;
    align-items: center;
}
.s3 li:first-child{
    margin-bottom: 2rem;
}
.s3 img{
    height: 140px;
}
.s3 li div{
    margin-left: 2rem;
    word-break: keep-all;
}
.s3 li div strong{
    font-size: 1.07rem;
    font-weight: 500;
}
.s3 li div p{
    margin-top: 10px;
    color: #848484;
}
.step_title{
    font-size: 1.2rem;
    font-weight: 500;
    position: relative; 
    padding-left: 2.1rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}
.step_title::before{
  content: attr(data-step);
  position: absolute;
   left:0; 
  top:50%; 
  transform: translateY(-50%);
  width: 1.5rem; 
  height: 1.5rem;
   border-radius: 50%;
  background:#00A9EA; 
  color:#fff; 
  display:grid; 
  place-items:center; 
  font-weight: 500;
  font-size: 1rem;
}
.step_text{
    line-height: 160%;
    font-weight: 500;
}

.s3>div{
    margin-bottom: 1rem;
}


@media (max-width:480px){

    .s3 img{
        height: 100px;
    }

}



/* 유의사항 */
.s_info{
    background: #f7f7f7;
    padding: 3.4rem 0;
}
.s_info>div{
    max-width: 800px;
    width: 100%;
    margin: auto;
}
.s_info p{
    color: #575757;
    line-height: 185%;
}

@media (max-width: 1200px) {

    .s_info {
        padding: 3.4rem 1.5rem;
    }
}


/* 푸터 간격 */
.footer{
    margin-top: 0;
}