/*@import url("main.css");*/
/*@import url("media.css");*/
/*@import url("reset.css");*/



.wrap{
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* 해더영역 */
.main_header{
    width: 100%;
    height: 75px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    background-color: white;
}

.header_inner{
    width: 1200px;
    height: 75px;
    display: flex;
    justify-content: space-between;
}

.header_left{
    display: flex;
    height: 75px;
}

.main_logo{
    width: 180px;
    height: 75px;
    background-image: url(../img/ggpaycolorlogo.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
    cursor: pointer;
}

.header_menu{
    margin-left: 50px;
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.header_menu li{
    padding-right: 30px;
    font-weight: 900;
    color: rgb(0, 78, 138);
    transition: all 0.3s;
    cursor: pointer;
}

.header_menu>li:hover{
    color: rgb(0, 134, 236);
}

.header_menu li a{}

.header_right{
    height: 75px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lookup{
    font-size: 18px;
    color: rgb(88, 166, 255);
    font-weight: bold;
}

.header_contact{
    font-size: 16px;
    color: rgb(88, 166, 255);
    border: none;
    padding: 8px 15px 10px;
    background-color: white;
    border-radius: 5px;
    border: 2px solid rgb(88, 166, 255);
    cursor: pointer;
}

/* 모바일 해더메뉴 */
.header_menu_m{
    display: none;
    width: 100%;
    position: fixed;
    left: 0;
    top: 75px;
    max-height: 0; /* 초기 높이 0 */
    overflow: hidden; /* 내용 숨김 */
    transition: all 0.5s ease;
    z-index: 50;
}

.header_menu_m.show{
    max-height: 100%;
}

.header_menu_m div{
    padding: 8px 0 10px 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    border-bottom: 1px solid white;
    font-size: 14px;
    background-color: #58A6FF;
    transition: all 0.3s;
}

.header_menu_m div:hover{
    background-color: #3793fd;
}

.list3 a{
    display: block;
    width: 100%;
    height: 100%;
}

.list5 a{
    display: block;
    width: 100%;
    height: 100%;
}

/* 햄버거 버튼 */
.hamburger{
    display: none;
    position: absolute;
    right: 20px;
    top: 28px;
    cursor: pointer;
}
.hamburger span{
    display: block;
    width: 22px;
    height: 3px;
    margin-bottom: 5px;
    background-color: rgb(0, 78, 138);
}

.hamburger span:last-child{
    margin-bottom: 0;
}

/* 섹션1영역(메인홈) */
.section1{
    width: 100%;
    height: 100vh;
    padding-top: 75px;
    background: rgb(36, 36, 36) url(../img/mainhome_bg.png) no-repeat center center /cover;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.sec1_blue_text{
    color: rgb(0, 119, 255) !important;   
}

.section1_cont h2{
    font-size: 48px;
    margin-bottom: 20px;
    color: #f3f3f3;
}

.section1_cont p{
    font-size: 16px;
    margin-bottom: 30px;
    color: #f3f3f3;
    font-weight: bold;
}

.section1_cont span{
    color: rgb(0, 78, 138);
}

.sec1_contact{
    font-size: 16px;
    color: white;
    padding: 8px 15px 10px;
    background-color: rgb(0, 119, 255);
    border-radius: 5px;
    border: none;
    transition: all 0.3s;
    font-weight: bold;
    cursor: pointer;
}

.main_img{
    width: 540px;
    height: 680px;
    background: url(../img/mainhome.png) no-repeat center center /contain;
    text-indent: -9999px;
    opacity: 0.7;
}

.maindot{
    font-size: 12px;
    color: white !important;
}

/* 섹션2 (사업자, 비사업자) */

.section2{
    padding-top: 75px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.sec2_inner{
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 120px;
    align-items: center;
}

.sec2_cont{}
.sec2_cont h2{
    margin-bottom: 30px;
    font-size: 40px;
}
.sec2_cont h2 span{
    color: rgb(0, 78, 138);
}

.sec2_button{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 18px;
}

.sec2_button p{
    font-size: 16px;
    font-weight: bold;
    color: rgb(0, 78, 138);
}

.sec2_button button{
    font-size: 16px;
    border: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px 10px;
    border-radius: 5px;
    background-color: rgb(0, 119, 255);
    border: none;
    cursor: pointer;
}

.sec2_img{
    width: 300px
}

.sec2dot{
    color: black !important;
    font-weight: 100 !important;
}

/* 섹션3 (수수료)*/
.section3{
    padding-top: 75px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.sec3_inner{
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
}

.sec3_img{
    width: 300px;
}

.sec3_cont{}
.sec3_cont h2{
    font-size: 40px;
    margin-bottom: 10px;
}

.sec3_cont p{
    vertical-align: bottom;
    font-size: 14px;
    font-weight: bold;
}

.sec3_cont .blue{
    color: #278CFF !important;
    font-size: 80px;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.sec3_cont .gray{
    color: #888888 !important;
}

.sec3_button{
    display: flex;
    gap: 30px;
}

.sec3_button button{
    border: none;
    align-self: flex-end;
    margin-bottom: 5px;
    padding: 8px 15px 10px;
    font-size: 16px;
    background-color: rgb(0, 119, 255);
    border-radius: 5px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* 섹션4 (PG와 VAN) */
.section{
    width: 100%;
    height: 100vh;
}

.section4{
    display: flex;
    justify-content: center;
    background-color: #f3f3f3;
}

.sec4_inner{
    width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.sec4_inner img{
    width: 20%;
}

.sec4_inner h2{
    font-size: 40px;
}

.orange{
    color: rgb(206, 103, 0);
}

.sec4_inner p{
    color: black;
}

.sec4_pg{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
.sec4_van{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}

.vanpg{
    color: gray;
    font-size: 16px;
}

.vanpg span{
    font-weight: bold;
    color: rgb(197, 197, 197);
}

.sec4dot{
    color: rgb(197, 197, 197) !important;
    font-weight: 100 !important;
}

/* 결제서비스 */
.section5{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.sec5_inner{
    width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.sec5_inner h3{
    font-size: 26px;
    text-align: center;
}

.sec5_inner h3 span{
    color: rgb(88, 166, 255);
}

.product_list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pay_product{
    width: 250px;
    height: 250px;
    border-radius: 1vh;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pay_product .pay_img{
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
}

.pay_img1{background-image: url(../img/device1.png);}
.pay_img2{background-image: url(../img/device2.png);}
.pay_img3{background-image: url(../img/pos.png);}
.pay_img4{background-image: url(../img/Kiosk.png);}
.pay_img5{background-image: url(../img/tableorder.png);}
.pay_img6{background-image: url(../img/Payment_Amount.png); background-size: 40% !important;}

.pay_product p{
    padding: 20px 0 0 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 0;
    top: -50px;
    transition: all 0.3s;
}

.pay_bg{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(19, 86, 255, 0);
    transition: all 0.3s;
}

.pay_product:hover>.pay_bg{
    background-color: rgba(19, 86, 255, 0.6);
}

/* 네비게이션 버튼 */
.nav {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    visibility: hidden; /* 기본적으로 숨김 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav.visible {
    visibility: visible;
    opacity: 1;
}

.nav button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav button.active {
    background-color: #555;
}

/* 섹션6 (서비스상세1) */
.section6{
    padding-top: 50px;
    background-color: rgb(243, 243, 243);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec6_inner{
    width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.detail_part1{
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    /* border: 1px solid red; */
}

.detail_img{
    width: 400px;
    height: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
}

.detail_img1{background-image: url(../img/device1.png);}
.detail_img2{background-image: url(../img/device2.png);}
.detail_img3{background-image: url(../img/pos.png);}
.detail_img4{background-image: url(../img/Kiosk.png);}
.detail_img5{background-image: url(../img/tableorder.png);}
.detail_img6{background-image: url(../img/Payment_Amount.png); background-size: 40% !important;}

.detail_content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}
.detail_maintext{
    font-size: 24px;
}

.detail_maintext span{
    color: rgb(71, 131, 199)
}

.use_case{
    line-height: 2;
    color: gray;
    font-size: 18px;
}

.add_message1{
    letter-spacing: -1px;
    font-weight: bold;
}

.detail_part2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 1vh;
    padding: 20px;
    gap: 50px;
}

.add_info{
    display: flex;
    margin-top: 10px;
}

.add_info_box{
    width: 100px;
    height: 100px;
    border: 1px solid rgb(0, 78, 138);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-left: 2px;
    gap: 5px;
}

.add_info_box p{
    text-align: center;
    color: rgb(0, 78, 138);
    font-size: 14px !important;
}

.add_info_box img{
    height: 30%;
}

.detail_consulation{
    display: flex;
    gap: 10px;
    align-items: center;
}

.detail_consulation p{
    font-weight: bold;
}

.detail_consulation_btn{
    font-size: 16px;
    padding: 8px 15px 10px;
    background-color: rgb(0, 119, 255);
    border-radius: 5px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* 섹션7 (서비스상세2) */
.section7{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 235, 235);
    padding-top: 50px;
}

/* 섹션8 */
.section8{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(243, 243, 243);
    padding-top: 50px;
}

/* 섹션9 */
.section9{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 235, 235);
    padding-top: 50px;
}

/* 섹션10 */
.section10{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(243, 243, 243);
    padding-top: 50px;
}

/* 섹션11 */
.section11{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 235, 235);
    padding-top: 50px;
}

/* 영업자 모집 */
.business_developer{
    width: 100%;
    padding: 90px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(0, 78, 138);
    gap: 30px;
}

.business_developer h3{
    text-align: center;
    color: white;
}

.apply_button{
    padding: 8px 15px 10px;
    border-radius: 5vh;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid rgb(0, 78, 138);
    color: rgb(0, 78, 138);
    cursor: pointer;
}

/* 푸터영역 */
.footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 10px 0;
}

.footer_inner{
    width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer_cont1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_logo{
    width: 200px;
    height: 52px;
    background: url(../img/ggpaycolorlogo.png) no-repeat center center /contain;
}

.footer_info{
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer_info p{
    margin-right: 20px;
    color: rgb(46, 46, 46);
}

.footer_info p span{
    font-weight: bold;
}

.ggpay_link{
    color: gray !important;
}

.footer_cont2{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.privacy{
    display: flex;
    gap: 20px;
}

.privacy div{
    cursor: pointer;
}

.copyright p{
    font-weight: bold;
    color: rgb(73, 73, 73);
}

/* 모달창양식 */
.contact_overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal{
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    width: 840px;
    position: relative;
}

.modal_cont1{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 50px;
}

.modal_close{
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.modal_title{}
.modal_title h2{
    color: rgb(0, 78, 138);
}

.modal_img{
    width: 168px;
    height: 168px;
    background: url(../img/contact_img.png) no-repeat center center /contain;
}

.modal_question{}
.modal_question p{
    font-weight: bold;
    color: rgb(0, 78, 138);
}

.modal_cont2{
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.modal_cont2 input, .modal_cont2 textarea{
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    color: #888888;
    margin-top: 5px;
    font-size: 12px;
    width: 100%;
}

.request{
    height: 160px;
}

.modal_cont2 p{
    font-size: 14px;
    font-weight: bold;
    color: rgb(0, 78, 138);
}

.modal_cont2_left{
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.modal_cont2_center{
    width: 40%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title_name{
    display: flex;
    justify-content: space-between;
}

.request_name{
    display: flex;
    justify-content: space-between;
}

.modal_cont2_right{
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.email_address p{
    font-size: 12px;
    margin-bottom: 5px;
}

.submit_button{
    display: flex;
    flex-direction: column;
    display: flex;
    gap: 10px;
}

.submit_button button{
    padding: 8px 35px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.submit{
    border: none;
    background-color: rgb(0, 78, 138);
    color: rgb(247, 247, 247);
}
.cancel{
    border: 2px solid rgb(0, 78, 138);
    color: rgb(0, 78, 138);
}

/* 퀵메뉴 */
.quick_menu{
    width: 80px;
    height: 80px;
    position: absolute;
    right: 5px;
    top: bottom;
    margin-top: 85vh;
    transition: all 1s ease;
    background: url(../img/quick_menu.png) no-repeat center center /contain;
    cursor: pointer;
}

.quick_menu:hover{
    transform: scale(1.1);
}
@media screen and (max-width: 900px){
    /* 해더 */
    .header_menu{
        display: none;
    }

    .header_right{
        display: none;
    }

    .hamburger{
        display: none;
    }

    /* 섹션1 */
    .section1{
        flex-direction: column-reverse;
        justify-content: center !important;
    }

    .section1_cont{
        text-align: center;
    }

    .section1_cont h2{
        font-size: 24px;
    }

    .main_img{
        height: 40%;
    }

    /* 섹션2 */
    .sec2_inner{
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .sec2_cont{
        text-align: center;
    }
    .sec2_cont h2{
        font-size: 24px;
    }

    .sec2_img{
        width: 30%;
    }

    /* 섹션3 */

    .sec3_inner{
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .sec3_cont{
        text-align: center;
    }

    .sec3_cont h2{
        font-size: 24px;
    }

    .sec3_img{
        width: 30%;
    }

    .sec3_cont .blue{
        font-size: 70px;
    }

    .sec3_button{
        flex-direction: column;
        gap: 20px;
    }
    .sec3_button button{
        align-self: center;
    }

    /* 섹션4 */
    .sec4pg_img{
        width: 20%;
    }
    .sec4van_img{
        width: 20%
    }

    .sec4_pg{
        flex-direction: column;
        gap: 30px;
    }

    .sec4_van{
        flex-direction: column;
        gap: 30px;
    }

    .sec4_inner{
        justify-content: center;
        gap: 70px;
    }

    .sec4_inner h2{
        font-size: 28px;
    }

    .vanpg{
        font-size: 14px;
    }

    /* 섹션5 */
    .sec5_inner{}
    .sec5_inner h3{
        font-size: 20px;
    }

    .pay_product{
        width: 200px;
        height: 200px;
    }

    .pay_product p{
        font-size: 16px;
        padding: 10px 0 0 20px;
    }

    /* 섹션6 (서비스 상세페이지1)  */
    .detail_part1{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .sec6_inner{
        /* gap: 20px; */
    }

    .detail_img{
        width: 200px;
        height: 200px;
    }

    .detail_content{
        align-items: center;
        text-align: center;
    }

    .detail_content h3{
        font-size: 20px;
    }

    .use_case{
        font-size: 14px;
    }

    .add_message1{
        font-size: 14px;
    }

    .detail_part2{
        gap: 10px;
        flex-direction: column;
    }

    .add_fee p{
        font-size: 12px;
    }

    .add_info_box{
        width: 80px;
        height: 80px;
        gap: 0 !important;
        justify-content: center;
        gap: 5px !important;
    }

    .add_info_box p{
        font-size: 12px !important;
    }

    .detail_consulation_btn{
        font-size: 12px;
    }

    .detail_consulation p{
        font-size: 12px;
    }

    .detail_consulation{
        margin-top: 10px;
    }

    /* 영업자 */
    .business_developer h3{
        font-size: 18px;
    }

    .apply_button{
        font-size: 16px;
    }

    /* 푸터 */
    .footer_inner{}

    .footer_cont1{
        width: 90% !important;
        align-items: center;
        justify-content: flex-start;
        padding-top: 10px;
    }

    .footer_info{
        width: 100%;
        flex-direction: column;
    }

    .footer_logo{
        display: none;
    }

    /* 모달창양식 */
    .modal{
        width: 360px;
        padding: 20px;
    }

    .modal_cont1{
        flex-direction: column;
        margin-bottom: 20px;
    }

    .modal_title{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .modal_img{
        width: 80px;
        height: 80px;
    }

    .modal_title h2{
        font-size: 20px;
    }

    .modal_question p{
        font-size: 10px;
    }

    .modal_cont2{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .modal_cont2 p{
        font-size: 12px;
    }

    .modal_cont2_left{
        width: 100%;
    }
    .modal_cont2_center{
        width: 100%;
        gap: 10px;
    }

    .modal_cont2_right{
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .request{
        height: 80px;
    }

    /* 공지사항 */
    .notice_inner h2{
        font-size: 20px;
    }

    .banner_inner h2{
        font-size: 20px;
    }
    .notice_inner p{
        font-size: 14px;
    }

    .banner_inner p{
        font-size: 14px;
    }

    .notice_faq_inner{
        width: 90% !important;
        justify-content: space-around !important;
    }

    .btn_line::after{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .categorie_cont{
        width: 15% !important;
    }

    .faq_categorie{
        width: 15% !important;
    }

    .faq_list_name{
        width: 85% !important;
    }
}

@media screen and (max-width: 550px){
    .hamburger{
        display: block;
    }

    .header_menu_m{
        display: block;
    }

    /* 섹션2 */
    .sec2_button{
        flex-direction: column;
    }

    .sec2_img{
        width: 45%;
    }

    /* 섹션3 */
    .sec3_img{
        width: 45%;
    }

    .sec3_cont .blue{
        font-size: 40px;
    }

    /* 섹션5 */
    .pay_product{
        width: 160px;
        height: 160px;
    }

    /* 퀵메뉴 */
    .quick_menu{
        width: 60px;
        height: 60px;
    }


    /* 공지사항 조회 */
    .notice_lookup_inner{
        width: 90% !important;
        flex-direction: column-reverse;
        align-items: flex-start !important;
        gap: 20px;
    }

    .notice_search{
        width: 100%;
    }

    .notice_search input{
        width: 100% !important;
    }

    .notice_list_inner{
        width: 90% !important;
    }

    /* faq */

    .faq_list_inner{
        width: 90% !important;
    }
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol, li{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}

img{
    vertical-align: middle;
}