﻿

html { font-size: 16px; }

@media (max-width: 580px) {
    html { font-size: 15px; }
}
@media (max-width: 480px) {
    html { font-size: 14px; }
}
@media (max-width: 360px) {
    html { font-size: 13px; }
}

.banner{
    background: #F9EEEE;
    width: 100%;
    height: 345px;
    margin-top: 80px;
}
@media (max-width:580px) {
    .banner{
        margin-top: 60px;
    }
}
.banner_wrap{
    max-width: 1200px; 
    width: 94%;
    margin: 0 auto;
    height: 100%;
    background-color: #F9EEEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.banner_text{
    width: 65%;
}
.banner_wrap img{
    max-width: 280px;
    width: 100%;
    margin-right: 30px;
}
@media (max-width:984px) {
    .banner_wrap img {
        max-width: 240px;
        margin-right: 0;
    }
}
.banner_text h2{
    font-size:2.1rem;
    font-weight: 800;
    color: #EC1C24;
}
.banner_t1{
    font-size: 1.17rem;
    margin: 1.1rem 0 .8rem 0;
}
.banner_t2{
    font-size: 1rem;
}
.banner_text>p:nth-of-type(1){
    font-weight: 700;
    color: #AA5656;
    margin-bottom: 5px;
}
.banner_text>p:not(:nth-of-type(1)){
    font-weight: 500;
    color: #AE8181;
    line-height: 140%;
}
.banner_text b{
    font-weight: 800;
}
.banner_text button{
    max-width: 420px;
    width: 100%;
    height: 4rem;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #EC1C24;
    background: #fff;
    border-radius: 35px;
    cursor: pointer;
}
.banner_text button:hover{
    background: #EC1C24;
    color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15); 
    transition: all 0.3s ease;

}

.wrap{
    margin-top: 0;
}
.wrap h3{
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    margin-top: 5rem;
}

@media (max-width:580px) {
    .wrap h3 {
        text-align: center;
    }
}
@media (max-width:480px) {
    .wrap h3 {
        font-size: 1.2rem;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 15px;
        margin-bottom: 15px;
        margin-top: 45px;
    }
}


/* 셀프개통 절차 step */
.step ul{
    max-width: 1150px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.07rem;
    font-weight: 600;
}
.step ul p{
    color: #3e3e3e;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}
.step_box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
    padding: 1.5% 2.5%;
    text-align: center;
}
.step_arrow img{
    width: 15px;
    height: auto;
    margin: 0 8px;
}



/* 개통요청 */
.sim_act{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
    margin-top: 80px;
}
.sim_act div{
    width: 55%;
}
.sim_act h3{
    margin: 0;
}
.sim_act p{
    margin-top: 3px;
    font-weight: 500;
    font-size: 1.14rem;
    color: #5b5b5b;
    display: flex;
    align-items: center;
}
@media (max-width:580px) {
    .sim_act p {
        justify-content: center;
    }
}
.sim_act>button{
    color: #fff;
    background: #b6b6b6;
    width: 45%;
    padding: 1.8% 13%;
    font-size: 1.14rem;
    font-weight: 600;
    color: #fff;
    border-radius: 16px;
    cursor: pointer;
}
.sim_act > button:hover {
    background: #FF8F8F;
    transition: all 0.3s ease;

}

/* 셀프개통 이용 가이드 (슬라이드) */

.swiper-wrapper{
    display: flex;
}
.slide_guide{
    height: 550px;
    background: #F5F5F5;
    border-radius: 20px;
    text-align: center;
}
.swiper-slide img:nth-of-type(1){
    display: block;
    margin: auto;
}
.swiper-slide img:nth-of-type(2){
    display: none;
    margin: auto;
}
.guide h4{
    margin-top: 50px;
    font-size: 1.85rem;
    font-weight: 700;
    color: #ff4b4b;
}
.guide p{
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    justify-content:center;
    margin: 25px 0 55PX 0;
}
.guide p:nth-child(3){
    font-size: 1.15rem;
    margin-top: -50PX;
}
.guide span{
    color: #ff4b4c;
    margin: 0 2px;
}

/* 슬라이드 버튼 css */ /* 스와이퍼 이전/다음 버튼 */
.swiper-button-prev, .swiper-button-next {
    background: rgba(0,0,0,0.15);
    color: #ffffff;
    font-size: 8px;
    padding: 2.8%;
    transition: background 0.3s ease;
}
.swiper-button-prev:hover,.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
}

.swiper-button-prev:active,.swiper-button-next:active {
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}
:root {
    --swiper-navigation-size: 32px;
}
.swiper-pagination{
    display: none;
}



/* 유심구매 바로가기 */
.quick p{
    font-size: 1.15rem;
    color: #5b5b5b;
}
.quick p:first-child{
    font-weight: 700;
}
.quick p:last-child{
    margin-top: 3px;
    font-weight: 500;
}
.quick_div{
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.quick button{
    width: 45%;
    padding: 1.8% 13%;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    background: #b6b6b6;
    border-radius: 16px;
    cursor: pointer;
}
.quick button:hover{
    background: #FF8F8F;
    transition: all 0.3s ease;
}



/* #region 안면인증 절차 */
@media (max-width:580px) {
    .face_guide > p {
        text-align: center;
    }
}
.face_step {
    justify-content: space-between;
    margin: 40px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.13rem;
}
@media (max-width:984px) {
    .face_step {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
.face_step li {
    list-style: none;
    background: #fff;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: left;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}
.face_step img {
    width: 60px;
    height: 60px;
    display: block;
    margin: auto;
}
.face_tit{
    display: flex;
    align-items: center;
    column-gap: 4px;
    justify-content: center;
}
.face_tit span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    font-weight: 700;
}
.face_step strong {
    font-size: 1.13rem;
    font-weight: 700;
    color: #333;
    display: block;
}
.face_step em {
    color: #777;
    line-height: 1.5;
    display: block;
}
/* #endregion */








/* 셀프개통 전 확인사항 */
.note ul{
    background: #f5f5f5;
    border-radius: 20px;
    padding: 2.5%; 
    color: #5b5b5b;
}
.note li:not(:last-child){
    margin-bottom: 20px;
}
.note_title{
    margin-bottom: 5px;
    display: flex;
    font-size: 1.15rem;
    font-weight: 700;
}
.note_title span{
    color: #ff4b4c;
    margin: 0 3px;
}
.note_text{
    font-size: 1.15rem;
    font-weight: 500;
}


@media (max-width:984px) {
    .banner_text h2 {
        font-size: 1.7rem;
        margin-bottom: 4.5%;
    }
    /* 절차 */
    .step_box img {
        max-width: 45px;
        width: 100%;
        height: auto;
    }

    .step_arrow img {
        width: 10px;
        height: auto;
        margin: 0 8px;
    }

    .step p {
        font-size: 16px;
        margin-top: 5px;
    }

    .slide_guide {
        height: 78%;
    }

    .quick button {
        width: 50%;
        font-size: 16px;
        font-weight: 500;
    }
    /* 슬라이드 버튼 css */ /* 스와이퍼 이전/다음 버튼 */
    .swiper-button-prev, .swiper-button-next {
        font-size: 3px;
        padding: 3.5%;
    }

    :root {
        --swiper-navigation-size: 28px;
    }
}


@media (max-width:768px) {

    .banner {
        height: 490px;
    }

    .banner_wrap {
        display: block;
        text-align: center;
    }

    .banner_text {
        width: 100%;
        padding-top: 40px;
    }

    .banner_wrap img {
        max-width: 200px;
        margin-top: 20px;
    }

    .banner_text button {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        top: 59%;
        width: 90%;
        border-radius: 12px;
    }


    .sim_act {
        display: block;
    }

        .sim_act div {
            width: 100%;
            margin-bottom: 30px;
            align-items: baseline;
        }

        .sim_act > button {
            color: #fff;
            font-size: 16px;
            height: 64px;
            background: #b6b6b6;
            width: 100%;
        }

    .guide h4 {
        font-size: 22px;
    }

    .guide p {
        font-size: 19px;
    }

    .quick p {
        font-size: 16px;
    }

    .quick button {
        padding: 2.6% 14%;
        font-size: 14px;
    }
}


@media (max-width:580px) {
    .banner_text button {
        top: 55%;
    }

    .step_box img {
        margin-top: 10px;
    }

    
    .step ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        row-gap: 12px;
    }
    .step li {
        text-align: center;
    }
    .step li:nth-of-type(4) {
        display: none;
    }
    .step_box img {
        width: 35px;
    }



    .guide h4 {
        font-size: 22px;
    }

    .guide p {
        font-size: 17px;
        margin: 12px 10px 32PX 10px;
    }

        .guide p:nth-child(3) {
            font-size: 15px;
            margin-top: -28PX;
        }

    .guide img {
        width: 53%;
        height: auto;
        padding-bottom: 30px;
    }

    .swiper-slide img:nth-of-type(1) {
        display: none;
    }

    .swiper-slide img:nth-of-type(2) {
        display: block;
    }

    .swiper-button-prev, .swiper-button-next {
        display: none;
    }
    /* 동그라미 버튼 */
    .swiper-pagination {
        display: block;
        margin-top: 110px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background-color: #d9d9d9;
        margin: 0 5px;
        border-radius: 50%;
        opacity: 0.7;
    }

    .swiper-pagination-bullet-active {
        background-color: #b9b0b0;
        opacity: 1;
        width: 50px;
        border-radius: 5px;
    }

    .quick_div {
        display: block;
        text-align: center;
    }

    .quick > div:nth-of-type(1) {
        margin-bottom: 30px;
    }

    .quick button {
        height: 80px;
        width: 90%;
        margin: 15px auto;
    }

    .note p:nth-child(2n) {
        margin-bottom: 20px;
    }
}


@media (max-width:480px) {


    .banner {
        height: 420px;
    }

    .banner_text h2 {
        font-size: 1.6rem;
    }

    .banner_wrap img {
        max-width: 160px;
    }

    .banner_text button {
        top: 400px;
    }

    .sim_act h3 {
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .guide h4 {
        font-size: 16px;
        margin-top: 34px;
    }

    .guide p {
        font-size: 14px;
        margin: 9px 13px 25pX 13px;
        display: flex;
        flex-wrap: wrap;
    }

        .guide p:nth-child(3) {
            font-size: 14px;
            margin-top: -23PX;
        }

    .guide img {
        width: 60%;
        height: auto;
    }


    .quick p {
        font-size: 14px;
    }

    .quick button {
        height: 64px;
        font-size: 14px;
    }







    .note p:nth-child(2n) {
        margin-bottom: 20px;
    }

    .note_title {
        font-size: 1rem;
    }

    .note_text {
        font-size: .93rem;
    }
}


@media (max-width:360px) {

    .banner {
        height: 375px;
    }

    .banner_t1 {
        font-size: 13px;
    }

    .banner_t2 {
        font-size: 12px;
    }

    .banner_text h2 {
        font-size: 16px;
    }

    .banner_text button {
        height: 55px;
        font-size: 14px;
        top: 360px;
    }

    .quick p {
        font-size: 14px;
    }

    .quick button {
        width: 90%;
        margin: 15px auto;
        font-size: 13px;
    }

    .step li:nth-child(2n) img {
        width: 10px;
    }

    .step ul p {
        font-size: 13px;
    }


}



