﻿/* reset */
@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:400,500,700,900&display=swap&subset=korean');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, enter, dl, dt, dd, ol, ul, li,fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: middle; background: transparent; font-style: normal;
}

html, body, select, input , button{ width: 100%; font-family: 'SUIT', sans-serif; letter-spacing: -0.8px; color: #1e1e1e; 
 -webkit-text-size-adjust : 100% !important;  /* 크롬, 사파리, 오페라 신버전 */
  -ms-text-size-adjust : 100% !important;  /* IE */
  -moz-text-size-adjust : 100% !important;  /* 파이어폭스 */
  -o-text-size-adjust : 100% !important;  /* 오페라 구버전 */

  overflow-x:hidden;
}

article,aside,details,figcaption,figure,footer,hgroup,menu,nav,section { 
	display:block;
}

button{ border: none; background: none; font-family: 'SUIT', sans-serif; cursor: pointer; }
ol, ul, li { list-style: none; }
a { text-decoration: none; color: #333; }
table { border-collapse: collapse; border-spacing: 0; }



.m_tex{
    display: none;
}

.wrap{
    width:100%;
    margin-top: 100px;
}
.wrap>div{
    max-width: 1200px; 
    margin: auto;
    margin-bottom: 110px;
}



.on{
    height:300px;
    transition: all 0.5s ease;
    box-shadow: 0px 33px 26px 0px rgba(0, 0, 0, 0.12);
    border-bottom:unset;
}



/* header */
#header{ 
    width:100%;
    height: 80px;
    position: fixed; 
    left:0;
    top:0; 
    z-index:11;
    overflow:hidden;
    background: #fff;
    border-bottom: var(--border-de);
}
.header_wrap {
    width: 1160px;
    margin: auto;
    height: 80px;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

.logo{
    margin-top: 18.3px;
}
.logo img{
    width: 140px;
    height: auto;
}
.nav {
    text-align: center;
    width: 68%;
    margin: auto;
    height: 80px;
}
.nav > ul {
    display: flex;
}





/* 셀프개통 헤더 */
.self_header{
    display: none;
}
.self_header_wrap>p>img{
    cursor: pointer;
    margin-top: 25px;
}
.x_btn{
    position:relative;
    top:5px;
    right:5%;
    transition:all 0.5s ease;
}




/*전역메뉴*/
.gnb {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}
.gnb > li {
    flex: 1;
}
.gnb a {
    display: block;
}
.gnb > li > a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}
.gnb > li > a:hover {
    color: #FF4B4C;
}
.gnb li li a {
    font-size: 16px;
    font-weight: 500;
}
.gnb > li ul a {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 45px;
}
.gnb > li ul a:hover {
    color: #F66868;
}


/*우측메뉴*/
.menu{
    padding-top: 24px;
    width: 140px;
}
.menu>ul{
    display: flex;
}
.menu li{
    margin-top: 26px;
    justify-content: space-around;
    margin: auto;
    cursor: pointer;
}
.menu li:last-child{
    display: none;
}
.language img{
    margin-top: 1px;
}

/* 언어 모달창 */
.lang_modal{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
}
.lang_modal_wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    max-width: 480px;
    width: 90%;
    height: auto;
    text-align: center;
    padding: 20px 15px
}

.lang_modal ul {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
    position: relative;
}
.lang_modal li {
    width: calc(50% - 20px); /* 한 줄에 두 개씩 보이고자 50% 너비 설정 */
    height: 30px;
    font-size: 14px;
    margin: 5px;
    margin-left: 15px;
    display: flex;
    cursor: pointer;
    padding: 5px;
}
.lang_modal li img{
    margin-left: 10px;
    margin-top: 1px;
}
.lang_modal li>p:nth-of-type(1){
    margin: 0 5px;
}
.lang_modal .rec_btn{
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    overflow-y: hidden;
    border: 0;
}
.lang_tit{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}
.lang_tit p{
    font-weight: 800;
    margin-left: 25px;
}
.x_btn3{
    margin-right: 10px;
}
.lang_modal li.selected {
    background-color: var(--normal-red);
    border-radius: 20px;
    color: #fff;
}








.s_event{
    width:100%;
    height:200px;
    margin-top: 40px;
}

.mini_ev {
    width: 145px;
    height: 54px;
    border-radius: 32px;
    margin: auto;
    margin-top: 10px;
    cursor:pointer;
    display: flex;
    align-items: center;
    text-align: center;
}
.s_event div:first-child{
    background: url(/common/image/masterpage/menu_bg1.png) center right 15px no-repeat #F98686;
    background-size: 21.34px 18px;
}
.s_event>div:last-child{
    background: url(/common/image/masterpage/menu_bg2.png) center right 10px no-repeat #68C9DE;
    background-size: 26.3px 20px;
}
 
.s_event div p{
    font-size:14px;
    font-weight: 600;
    color:#fff;
    padding-left: 10px;
}

.m_btn{
    display: none;
    margin-top: 2px;
    position: relative;
    z-index: -1;
}
.wrap .m_gnb {
    max-width: 1200px;
    position: relative;
    margin-top: 30px;
}



/*footer 푸터*/
footer{
    width:100%;
    margin-top:110px;
    color:#6B6B6B;
    background: #F5F5F7;
}

.footer_wrap{
    margin:auto;
    max-width:1200px;
    font-size:14px;
    padding-bottom: 2rem;
}
@media (max-width:1200px) {
    .footer_wrap {
        padding: 0 10px 2rem 10px;
    }
}

.footer_menu{
    padding: 35px 0;
    margin: auto;
}
.footer_menu ul {
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: center;
}
.footer_menu li{
    border-right: 1px solid #D9D9D9;
    height: 14px;
    line-height: 14px;
}
.footer_menu li:last-child{
    border: none;
}
.footer_menu strong {
    display: inline-block; /* strong 요소를 인라인 블록으로 변경 */
}
.footer_menu a{
        text-decoration: none; /* 링크 밑줄 제거 */
    display: block; /* 링크를 블록 요소로 변경 */
    line-height: 1; /* 줄 높이 초기화 */
    color: #6B6B6B;
    padding: 0 20px;
}

.m_tex6{
    margin-bottom:120px;
}


/*footer_info*/
.footer_info{
    padding: 0 10px;
}
.footer_info1{
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 5px;
}
.footer_info1 li:not(:last-child){
    margin-right: 10px;
}
.footer_info2{
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}
.footer_info2 li:first-child{
    margin-right: 10px;
    display: flex;
}
.footer_info p{
    text-align: center;
}
.footer_info3 li{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}







/* 로딩 loading */
.loading{
    position:fixed;
    top:0;
    left:0;
    z-index:2;
    width:100%;
    height:100vh;
}
.item {
    display: block;
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--normal-red);
    position: relative;
    box-sizing: border-box;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}
.item.item7 {
  background: transparent;
}
.item.item7 .dot {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  background-color: var(--normal-red);
  transform: translateY(-50%);
  animation: item7-dot 1.2s ease-in-out infinite;
}
.item.item7 .dot.dot1 {
  left: 20%;
  transfrom: translateX(-50%);
}
.item.item7 .dot.dot2 {
  left: 50%;
  transfrom: translateX(-50%);
  animation-delay: 0.2s;
}
.item.item7 .dot.dot3 {
  transfrom: translateX(-50%);
  left: 80%;
  animation-delay: 0.4s;
}

@keyframes item7-dot {
  0% {
    opacity: 1;
    top: 50%;
  }
  50% {
    opacity: 0.3;
    top: 0;
  }
  100% {
    opacity: 1;
    top: 50%;
  }
}
.item7 {
  /*display: none;*/
}




.m_menu{
    position: fixed;
    top: -200%;
}
.m_logo{
    display: none;
}



/* modal 모달창 - 본인인증, 회원탈퇴 (withdraw.aspx)  */
.modal{
    position: fixed;
    z-index: 10000;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background: rgba(0,0,0,0.6);
    transform: translate(0) !important;
}
.modal_wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    max-width: 480px;
    width: 90%;
    height: auto;

    text-align: center;
    padding: 4% 2%;
}
.modal p{
    font-weight: 500;
}
.modal p:first-child{
    font-size: 19px;
    font-weight: 700;
}
.modal p:last-child{
    font-size: 16px;
    font-weight: 500;
}
.modal .btn_wrap{
    margin: 30px auto 0 auto;
}
.modal .btn{
    height: 50px;
    line-height: 50px;
}
.modal_wrap>div{
    display: flex;
    justify-content: center;
    width: 90%;
    margin: auto;
}
.modal button{
    border-radius: 10px;
}
.modal_btn1{
    margin-right: 8px;
    background: var(--normal-red);
    color: #fff;
}
.modal_btn2{
    background: #F5F5F5;
    color: #444;
}
.modal .rec_btn{
    width: 60%;
    height: 60px;
    margin: 30px auto 0 auto;
}





/* 반응형 시작 */
@media screen and (max-width: 1200px) {
    .x_btn {
    position: absolute;
    top: 4px;
    right: 5%;
    transition: all 0.5s ease;
}
    .wrap{
        width: 100%;
        margin: 100px auto 0 auto;
    }
     .wrap>div{
        width: 94%;
        margin: auto;
        max-width: 1180px;
    }
    .header{
        z-index: -1;
    }
    .header_wrap {
        width: 94%;
    }
    .nav{
        display: none;
    }
    .menu{
        width: 180px;
    }
    .menu li:last-child{
    display: block;    
    margin-right: 0;
}

    /*반응형 사이드 메뉴*/
    .m_block{
        right: 0%;
        transition: all 0.5s ease;
    }
    .x_btn2 {
    position: absolute;
    top: 40px;
    right: 9%;
    transition: all 0.5s ease;
}
    .x_btn_m {
        top: 19px;
        right: 5%;
    }
    .m_gnb img {
        margin-top: 16px;
    }

    .m_menu {
        width: 100%;
         height: calc(100vh - 80px);
        position: fixed;
        top: 0;
        background: white;
        right: 0%;
        transition:all 0.5s ease;
        overflow-y: auto; /* 수직 스크롤바만 허용 */
        overflow-x: hidden; /* 수평 스크롤바 숨김 */
        transition:all 0.2s ease;
        opacity:0;
        z-index:-10;
    }
    m_tit>div{
        padding-top: 20px;
    }

    .down_block{
        top: 0;
        opacity:1;
        transition:all 0.2s ease;
        z-index: 101;
        scroll-behavior: smooth;
    }

    /*반응형 사이드 메뉴*/
    /*우측메뉴*/
    .menu{
    left: 8px;
    }
    .menu li{
        margin-top: 26px;
        justify-content: space-around;
        margin: auto;
    }

    .m_btn{
        display: block;
        z-index: 1;
    }
    .m_menu_wrap{
        width: 94%;
        height: 100%;
        margin: 0 3%;
        position: relative;
    }
    .menu_login{
        display: flex;
         margin-top: 60px;
    }
    .menu_login p:first-child{
       margin-right: 10px;
    }





    /*퀵메뉴*/
    .menu_quick{
        display:flex;
        width: 80%;
        margin: 35px 10% 30px 10%;
        justify-content: space-around;
        text-align: center;
    }
    .menu_quick img{
        margin-bottom: 10px;
    }

    /*m_nav*/
    .m_gnb{
        margin-top: 50px;
        /*overflow-y: scroll;*/
    }
    .m_gnb>li{
        margin-bottom: 30px;
    }
    .m_gnb li li{
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
        padding: 5px 0;
    }
    .m_gnb li li:not(:last-child){
        margin-bottom: 20px;

    }
    .m_gnb>li{
        font-weight: 700;
        font-size:18px;
    }
    .m_gnb ul{
        margin-top: 5px;
    }
    .m_gnb li ul{
        padding: 2%;
    }
    .m_gnb>li:last-child{
        margin-bottom: 160px;
    }
    .m_gnb a{
        display: block;
    }
    .m_gnb img{
        position: absolute;
        left: 98%;
        margin-top: 5px;
        transition: all 0.5s ease;
    }

    .m_btn{
        cursor: pointer;
    }

    .m_gnb>li:not(:last-child){
        padding-bottom: 20px;
    }

    .m_nav{
        margin-bottom: 50px;
    }
    /* 푸터 */
    .footer_info {
        padding: 0 20px;
    }
    /*서브메뉴 푸터*/
    .m_footer{
        display: block;
        position: fixed !important;
        z-index: 999;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        line-height: 80px;
        background: #f4f4f4;
        text-align: center;
    }
    .m_footer ul{
        display: inline-flex;
    }.m_footer li{
        position: relative;
        padding: 0 1.5rem;
     }
    .m_footer li:not(:first-child)::after{
        position: absolute;
        top: 50%;
        left: 0;
        width: 0.125rem;
        height: 1.25rem;
        background: #ccc;
        content: "";
        transform: translateY(-50%);
     }
     .m_footer li a{
        display: block;
        color: #333;
     }
    .m_logout {
        color: #333;
        line-height: 80px;
        font-size: 16px;
     }
    
    .m_gnb img {
        left: 98%;
    }
    .menu>ul {
        left: 87px;
    }


}



@media(max-width: 768px){
        /* 푸터 */
    .footer_wrap{
    margin:auto;
    width: 95%;
    font-size:14px;
    }
    .footer_menu{
        padding: 28px 0;
        height: auto;
        margin: auto;
    }
    .footer_menu ul{
        flex-wrap: wrap;
        row-gap: 20px;
    }

    /* 모달창 */
    .modal p:first-child{
        font-size: 18px;
        margin: 5% 0 3% 0;
    }
    .modal p{
        font-size: 15px;
    }
    .modal br{
        display: block;
    }

    .footer_info1, .footer_info2, .footer_info p{
        display: block;
        text-align: left;
    }
    .footer_menu ul {
        justify-content: flex-start;
    }
    .footer_info3 li {
        justify-content: flex-start;
    }
    .footer_info>p{
            font-size: 13px;
    }
}

@media(max-width:580px) {
    .wrap{
    margin-top: 70px;
}

    #header {
        height: 60px;
    }

    .header_wrap {
        height: 60px;
        width: calc(100% - 10%);
        justify-content: space-between;
    }
    .logo{
        margin-top: 13px;
    }
    .logo img{
        width: 110px;
        height: auto;
    }
    .menu {
        width: 132px;
        padding-top: 16px;
    }
    .menu>ul {
        width: 150px;
    }
    footer {
        margin-top: 70px;
    }
    .footer_menu {
        height: auto;
        margin: auto;
    }
    .footer_info1 {
        padding-top: 25px;
    } 

    .footer_info2{
        display: block;
    }
    .footer_info2 li:first-child {
        margin-bottom: 5px;
    }
    .footer_info>p{
        font-size: 11px;
    }
    /* 모달창 */
    .modal_wrap {
        width: 80%;
    }
    .modal p:first-child{
        font-size: 16px;
        margin: 5% 0 3% 0;
    }
    .modal p{
        font-size: 14px;
    }



}

@media(max-width:480px){

    .menu{
        margin-right: 0;
    }
    .menu>ul {
        left: 78px;
        bottom: 10px;
        width: 133px;
    }
    .menu select {
        width: 100px;
        height: 33px;
        font-size: 13px;
        right: 137px;
        top: -3px;
    }
    .select_lang {
    right: 140px;
}
    .footer{
        height: 260px;
        margin-top: 60px;
    }

    .footer_wrap {
        font-size: 12px;
}
    .footer_menu ul{
        row-gap: 14px;
    }
    .footer_info2 li{
        margin-bottom: 5px;
    }
    .menu_quick {
        width: 90%;
        margin: 35px 5% 30px 5%;
    }
    .menu_quick p{
        font-size: 14px;
    }
    .m_gnb{
        width: 90%;
        margin: 0 5%;
    }
    .m_gnb>li {
        font-weight: 700;
        font-size: 13px;
    }
    .m_gnb li li {
        font-size: 14px;
        font-weight: 400;
    }
    .m_gnb img {
        left: 90%;
    }
    .m_footer, .m_logout{
        font-size: 14px;
    }
    .m_footer li {
        padding: 0 1.1rem;
    }

    /* 모달창 */
    .modal_wrap {
        width: 85%;
    }
    .modal p:first-child{
        font-size: 15px;
        margin: 7% 0 3% 0;
    }
    .modal p{
        font-size: 13px;
    }
    .modal br{
        display: none;
    }
    .modal_wrap > div {
        display: block;
    }
    .modal .btn_wrap {
        margin: 25px auto 15px auto;
    }
    .modal_btn1{
        margin-bottom: 8px;
    }
    .modal .btn_wrap button{
        height: 50px;
    }

    /* 언어선택 모달창 */
    .lang_modal{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .lang_modal ul{
        max-height: 280px;
        overflow-y: auto;
    }
    .lang_modal li {
        width: 100%;
    }
    .lang_modal_wrap {
        max-height: 400px;
         position: static;
        transform: none;
    }
    .lang_btn {
        height: 50px;
        line-height: 50px;
        position: relative;
        bottom: 0;
        z-index: 1;
        width: 100%;
    }
    .lang_modal .rec_btn {
        position: absolute;
        z-index: 1;
        left: 0;
        width: 100%;
        margin-top: 0;
    }
    .lang_tit p {
        margin-left: 15px;
    }
    .lang_modal li img {
        margin: 0 10px;
    }
    .footer{
        height: 310px;
    }


    /* error 에러 */
    .error {
        margin-top: 150px;
    }
    .error img{
        width: 20%;
    }
    .error p:nth-of-type(1) {
        font-size: 15px;
        margin: 30px auto 4px 0;
    }
    .error p:nth-of-type(2) {
        font-size: 13px;
    }
    .error button{
        height: 60px;
        max-width: 300px;
        width: 90%;
        font-size: 14px;
        margin-top: 55px;
    }




}

@media (max-width: 360px){

    .modal p:first-child{
        font-size: 14px;
        margin: 7% 0 3% 0;
    }
    .modal_wrap {
        padding: 4% 2%;
    }
    .modal p{
        font-size: 12px;
    }
    .m_gnb>li:not(:last-child) {
        padding-bottom: 10px;
    }
    .menu_quick p {
        font-size: 12px;
    }
    .m_gnb li li {
        font-size: 13px;
    }
    .m_footer, .m_logout{
        font-size: 12px;
    }
    footer {
        margin-top: 50px;
    }


    /* error 에러 */
    .error p:nth-of-type(1) {
        font-size: 14px;
        margin: 20px auto 4px 0;
    }
    .error p:nth-of-type(2) {
        font-size: 12px;
    }
    .error button{
        height: 56px;
        max-width: 300px;
        width: 90%;
        font-size: 12px;
        margin-top: 45px;
    }


}








.my_menu, .myinfo, .my_edit{
    display: none;
}


/*안내문구*/
.sbex{ padding: 2px 4px; color: #ee0000; }





/* 페밀리사이트 */
.family_site {
    width: 100%;
    position: relative; /* 아이콘 절대 위치 기준 */
    text-align: right; /* ✅ 전체 컨텐츠를 오른쪽으로 정렬 */
    margin-right: 20px;
    margin-bottom: 20px;
}

.family_site select {
  width: 150px;
  height: auto;
  font-weight: 600;
  font-size: 14px;
  padding: 5px 23px 5px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  background: #fff;
  position: relative;
  margin-bottom: 0;
}

/* ▼ 아이콘 */
.family_site::after {
  content: "▼";
  position: absolute;
  right: 15px; /* select 안쪽 우측 여백과 맞춤 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #7a7a7a;
  pointer-events: none;
}


/* ISMS */
.isms{
  border-bottom: 1px solid #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
  padding-bottom: 1rem;
}
.isms img{
    width:47px;
}
