﻿


/* #region 공통 */
.guide_text2{
    color: #7B7B7B;
    font-size: .93rem;
    line-height: 150%;
    text-align: center;
    display: block;
    margin-top: 2rem;
}

/* #endregion */


#banner { 
    scroll-margin-top: 130px; 
}
@media (max-width: 768px) {
  #banner {
      scroll-margin-top:90px; 
  }
}


/* #region 1. 상단배너 */
.banner {
    /* 기존 스타일 */
    border-radius: 25px;
    background: linear-gradient(to right, #00A9EA, #ACE8FF);
    padding: 3rem 2rem;
    margin: auto;
    color: #ffffff;
    height: 260px;
    display: flex;
    flex-direction: column; /* 세로 방향 정렬 */
    justify-content: space-between; /* 위/아래 끝으로 배치 */
}
.banner>p:first-of-type {
    font-size: 1.5rem;
    font-weight: 300;
}
.banner>p:last-of-type {
    font-size: 2.5rem;
    font-weight: 600;
}
.banner .btn_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 8px;
}
.banner a {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    padding: 10px 16px;
    border: 1px solid #ffffff;
    border-radius: 30px;
}
.banner {
    display: flex;
    flex-direction: column;
}
.banner .btn_wrap {
    margin-top: auto; 
}
.banner a:hover{
    background: #fff;
    color: var(--main-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

@media (max-width:768px) {
    .banner{
        text-align: center;
    }
    .banner .btn_wrap{
        justify-content: center;

    }
    .banner a{
        flex: 1;
    }
}

@media (max-width:580px) {

    .banner{
        height: 320px;
    }
    .banner .btn_wrap {
        display: grid;
        width: 100%;
         grid-template-columns: 1fr;
         gap: 4px;
    }
    .banner a{
        display: inline-block;
        width: 100%;
        height: 50px;
        line-height: 50px;
        padding: 0;
        border-radius: 10px;
        border: none;
    }
    .banner .btn_wrap {
    display: grid;
    gap: 10px;
}
    .banner .btn_wrap a {
        display: block;
        width: 100%;
        border-radius: 12px;
        font-weight: 500;
        text-align: center;
        transition: all 0.3s;
    }

    /* 셀프개통하기 */
    .banner .btn_wrap a:first-child {
        background: #00A9EA;
        color: #fff;
        border: none;
    }
    /* 온라인가입하기 */
    .banner .btn_wrap a:last-child {
        background: #fff;
        color: #00A9EA;
    }

}


/* #endregion */


/* #region 2. 개통 가능시간 */
.border_bg{
    border: 1px solid #EBEBEB;
    border-radius: 30px;
    text-align: center;
    padding: 1.8rem 0;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.border_bg strong{
    color: #454545;
    font-weight: 600;
    margin-bottom: 6px;
}
.border_bg p{
    color: #7B7B7B;
    font-weight: 500;
}
.guide_text1{
    text-align: left;
}



/* 말풍선 / 튤팁 */
.border_bg img{
  cursor: pointer;
}
.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%);
}






/* #endregion */


/* #region 3. 유심개통 절차 */
.step_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.04rem;
}

.step_card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  transition: background .25s ease, box-shadow .25s ease, transform .16s ease;
  display: flex;              
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
/* 유심장착방법 보기 */
.link_block {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    padding: 2.3rem 1.5rem;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--main-color);
  color: #fff;
  transition: background .25s ease, color .25s ease;
  flex: 0 0 auto;
}

@media (max-width:480px) {
    .num {
        width: 22px;
        height: 22px;
    }
    .link_block {
        gap: 6px;
    }
}
.step_txt {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: #484848;
  transition: color .2s ease;
  white-space: nowrap;      /* 길이 차이로 점프 방지 */
  min-height: 1em;
}
.step_txt::after {
  content: attr(data-hover);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  color: #fff;
  -webkit-text-fill-color: #fff;   /* 중요: 투명 상속 방지 */
  display: inline-block;
}
/* HOVER / FOCUS / JS(.is-hovered) 공통 상태 */
.step_card:hover,
.step_card:focus-within,
.step_card.is-hovered {
  background: var(--main-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
 .step_card:hover .num,
.step_card:focus-within .num,
.step_card.is-hovered .num {
  background: #fff;
  color: var(--main-color);
}
.step_card:hover .step_txt,
.step_card:focus-within .step_txt,
.step_card.is-hovered .step_txt {
  color: transparent;
  -webkit-text-fill-color: transparent; /* 사파리/크롬 렌더링 */
}
.step_card:hover .step_txt::after,
.step_card:focus-within .step_txt::after,
.step_card.is-hovered .step_txt::after {
  opacity: 1;
}

/* #endregion */


/* #region 4. esim 개통 절차 */
.esim_step_list{
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}
/* #endregion */


/* #region 공통 */
@media (max-width: 768px) {
    .step_list {
        grid-template-columns: 1fr;
    }
}
/* #endregion */


/* #region 5. 유심구매 퀵메뉴 */

.white_box{
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.white_bg{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    row-gap: 2px;

    padding: 2.3rem 1.5rem;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    cursor: pointer;
    text-align: center;
}
.white_bg>img{
    width: 55px;
    margin-bottom: 12px;
}
.white_bg>small{
    display: block;
    color: #7B7B7B;
}
.white_bg>p{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
}


.white_bg{
    transition: background .25s ease, box-shadow .25s ease, transform .16s ease;
}
.white_bg:hover{
  transform: translateY(-5px);
}

/* #endregion */


/* #region 6. 확인사항 */



/* 요금제 상세정보 */
.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.1rem;
    font-weight: 600;
}
.noti h3{
    margin-bottom:0;
}
.noti h3 img{
    width:40px;
    margin-right:15px;
}
.n_box{
    width: 98%;
    height: 90px;
    flex-wrap: wrap;
    margin: auto;
    padding: 0;
}
.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: #f7f7f7;
    border-radius: 10px;
    padding: 1rem;
    margin: 0 auto 1rem auto;
    overflow-x: hidden;
    text-align: start;
    font-size: 1rem;
    line-height: 24px;
    display: flex !important;
    max-height: none;
}

.n_pro>div{
    cursor: pointer;
}

.n_pro .flex{
    justify-content: unset;
    column-gap: 0.3rem;
    width: unset;
}

.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;
    }
}




/* #endregion */


.footer{
    margin-top: 5rem;
}