@media ( max-width: 768px) {

      /*----------------------header---------------------*/

header{
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
/*    border-bottom: 1px solid rgba(255, 255, 255, .5);*/
/*    background-color:black;*/
}
header #container{
    width: 98%;
    margin: 0 auto;
}

header #container .nav_bg{
     width: 100%;   
}

header #container .navbar{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.logo1{
    margin-top: 1rem;
}
    .logo1 img{
        width: 160px;
    }
.logo2{
    display: none;
}
.nav{
    width: 100%;
/*    display: none;*/
}
.gnb{
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    color: #fff;
    justify-content: space-between;
    margin-top: 1.6rem;
    display: none;
}
.gnb li{
    width: 6rem;
    text-align: center;
    color: #fff;
    display: block;
    padding-left: 0px;
}
.gnb li a{
    color: #fff;
    font-size: 1.2rem;
/*    font-weight: bold;*/
}
h1 img{
    margin: 0 auto;
}
.lag{
    width: auto;
    padding: 0;
    margin-top: 0rem;
    margin-left: 1rem;
    display: none;
}
 
    /*-------------------------------------------------------*/
    .mobile_btn{
        display: block;
    }
/*-------------------------------------------------------------------*/


    
    /*------------------body--------------------*/
 
 #wrap{
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto 0 auto;
}
html{
    margin: 0 auto 0 auto;
}
#section2 #container{
    margin: 0 auto 0 auto;
    padding: 2rem 0 2rem 0;
    width: 90%;
    max-width: 90%;
    height: 100%
}
#section3 #container{
    margin: 0 auto 0 auto;
    padding: 1rem 0 1rem 0;
    width: 90%;
    max-width: 90%;
    height: 100%;
}
#section4 #container_full{
    margin: 0 auto 0 auto;
    padding: 0 auto 0 auto;
    width: 90%;
    height: 100%;
}
#section5 #container{
    margin: 0 auto 0 auto;
    padding: 0rem 0 0rem 0;
    width: 90%;
    max-width: 90%;
    height: 100%;
}
#section6 #container{
    margin: 0 auto 0 auto;
    padding: 2rem 0 2rem 0;
    width: 90%;
    max-width: 90%;
    height: 100%;
}
.graytxt{
    color: #AAA;
    font-family: Inter;
    font-size: 2rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
/*    letter-spacing: -1px;*/
}
.blacktxt{
    color: #111;
    font-family: Inter;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -3px;
}
.greentxt{
    color: #01AAA8;
    font-family: Inter;
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
/*    letter-spacing: -1px;*/
}

/*--------------------------------------------------------------------*/

#section2{
    width: 100%;
    height: calc(100vh - 100px) !important;
    padding: 80px auto 2rem auto;
    background: url(../img/banner.png) no-repeat;
    background-size: cover;
    overflow: hidden;
    margin: 0;
    position: relative;
}
#section2 .section2_txtbox{
    position: absolute;
    z-index: 2;
    width: 90%;
    top: 30%;
    border: 30%;
}
#section2 .section2_txtbox p:nth-child(1){
    color: springgreen;
    font-family: Inter;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.6rem;
    margin-bottom: 26px;
}
#section2 .section2_txtbox p:nth-child(2){
    color: #FFF;
    font-family: Inter;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.6rem;
    margin-bottom: 5%;
    letter-spacing: -1px;
}
#section2 .section2_txtbox p:nth-child(3){
    color: #FFF;
    font-family: Inter;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6rem;
    letter-spacing: -.5px;
}
#section2 .blackbackground{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.58);
    filter: brightness(50%);
    position: absolute;
    top: 0;
    left: 0;
    padding: 2rem 0 2rem 0;
    margin: 0;
    z-index: 1;
}

/*----------------------------------------------------------*/

#section3{
    width: 100%;
    min-width: 10%;
    height: 80%;
/*    background-color: #fff;*/
    padding: 2rem auto 2rem auto;
}
#section3 .section3_txtbox{
    width: 100%;
    margin: 60px 0 70px 0;
}
.section3_flexbox{
    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content:space-between;
    margin-bottom: 4rem;
}
#section3 .section3_flexbox .flexitem{
    width: 100%;
    height: 16rem;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.4rem;
    transition: all linear .2s;
}
#section3 .section3_flexbox .flexitem:hover{
    box-shadow: 0px 6px 16px #999;
}
/*
#section3 .section3_flexbox .flexitem:hover .blackbackground3{
    display: none;
    background: rgba(0,0,0,0.8);
}
*/
#section3 .section3_flexbox .flexitem .flexblock{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: -2;
}
.itemarrow img{
    transition: all linear .2s;
}
#section3 .section3_flexbox .flexitem:hover .itemarrow img{ 
    transition: all linear .2s;
    transform: translate(13px ,-13px);
}
#section3 .blackbackground3{
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(rgba(0,0,0,0.8), transparent);
    background: -o-linear-gradient(rgba(0,0,0,0.8), transparent);
    background: linear-gradient(rgba(0,0,0,0.8), transparent);
    position: absolute;
    top: 0px;
    z-index: -1;
    transition: all linear .2s;
}
#section3 .section3_flexbox .flexitem1 .flexblock{
    width: 100%;
    height: 100%;
    background: url(../img/Frame%201.png) no-repeat;
    background-size: cover;
}
#section3 .section3_flexbox .flexitem2 .flexblock{
    width: 100%;
    height: 100%;
    background: url(../img/Frame%202.png) no-repeat;
    background-size: cover;
}
#section3 .section3_flexbox .flexitem3 .flexblock{
    width: 100%;
    height: 100%;
    background: url(../img/Frame%203.png) no-repeat;
    background-size: cover;
}
#section3 .section3_flexbox .flexitem4 .flexblock{
    width: 100%;
    height: 100%;
    background: url(../img/Frame%204.png) no-repeat;
    background-size: cover;
}
#section3 .whitetxt{
    padding: 24px;
    color: white;
    display: flex;
    flex-flow: row;
/*    justify-content: space-between;*/
    font-size: 1.2rem;
    line-height: 1.8rem;
}

/*----------------------------------------------------------*/

#section4{
    width: 100%;
    height: 80%;
    background-color: #f6f6f6;
    padding: 2rem auto 2rem auto;
    overflow: hidden;
}
#section4 .section_flex{
    display: flex;
    flex-flow: column;
    width: 100%;
    justify-content: space-between;
}
#section4 .graytxt{
    font-size: 1.8rem;
    margin: 0;
    margin-bottom: 2%;
}
.section4_flex1{
    width: 100%;
    padding-top: 6.4rem;
    margin-right: 3%;
}
.section4_txtbox{
    width: 100%;
}

.section4_txtbox .graytxt{
/*    margin-bottom: 1rem;*/
}
.section4_txtbox .blacktxt{
    margin-bottom: 4rem;
}
.section4_txtbox2{
    width: 100%;
/*    height: 30rem;*/
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    margin-bottom: 5rem;
}
#section4 hr{
    margin: 2rem 0;
    border: 1px solid #cfcfcf;
}
#section4 .section4_txtbox2 .txtitem p:nth-child(1){
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #01aaa8;
    font-weight: bold;
    margin-bottom: 3%;
}
#section4 .section4_txtbox2 .txtitem p:nth-child(2){
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #111;
    font-weight: bold;
    margin-bottom: 1%;
}
#section4 .section4_txtbox2 .txtitem p:nth-child(3){
    font-size: 1.1rem;
    line-height: 1.4rem;
    color: #333;
    margin-bottom: 2%;
}
#section4 .morebutton{
    width: 140px;
    height: 50px;
    background-color: black;
    color: #fff;
    padding: 14px 40px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    border-radius: 50px;
    border: 0px;
    display: block;
    margin-bottom: 7rem;
}
#section4 .morebutton a{
    display: block;
    color: #fff;
}
.section4_flex2{
    width: 100%;
    height: 90vh;
    margin-left: 3%;
    display: none;
}
#section4 .section4_flexbox{
    width: 100%;
    height: 100%;
/*
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    padding: 0;
    margin: 0;
*/
}
#section4 .flow-container1, #section4 .flow-container2{
    width: 100%;
    height: 100%;
}

/* 배너 컨테이너 */
.rollingbanner{
    width: 100%;
    height: 5000px;
    font-size: .875rem;
    color: #fff;
    letter-spacing: -.075em;
    background-color: transparent;
    display: none;
}
.rollingbanner > .wrap{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
}

/* 애니메이션하는 요소 */
.roller{
    width: 100%;
    position: absolute;
/*    height: 1200px;*/
    display: none;
}
.roller > ul{
    width: 100%;
    margin: 0;
    list-style: none;
    padding: 9px 0;
    display: flex;
    flex-flow: column;
    display: none;
}
.roller > ul > li{
    width: 100%;
    margin-bottom: 40px;
    display: none;
}
/*
.roller > ul > li img{
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
}
*/

.roller > ul > li span{
    padding-right: 3px;
    display: none;
}
.roller > ul > li .status {
    position: relative;
    padding-left: 20px;
    display: none;
}
/* 배너 컨테이너 */
.rollingbanner2{
    width: 100%;
/*    height: 2000px;*/
    font-size: .875rem;
    color: #fff;
    letter-spacing: -.075em;
    background-color: transparent;
    display: none;
}
.rollingbanner2 > .wrap2{
    position: relative;
    width: 100%;
/*    height: 1200px;*/
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
}

/* 애니메이션하는 요소 */
/*
.roller2{
    position: absolute;
    height: 1200px;
}
.roller2 > ul{
    margin: 0;
    list-style: none;
    padding: 9px 0;
    display: flex;
    flex-flow: column;
}
.roller2 > ul > li{
    margin-bottom: 40px;
}
.roller2 > ul > li img{
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
}
.roller2 > ul > li span{
    padding-right: 3px;
}
.roller2 > ul > li .status {
    position: relative;
    padding-left: 20px;
}
*/
/*----------------------------------------------------------*/

#section5{
    width: 100%;
    height: 80%;
    background-color: #fff;
    padding: 2rem auto 2rem auto;
}
#section5 .section5_txtbox{
    width: 100%;
    margin: 80px 0 40px 0;
    clear: both;
    display: flex;
    flex-flow: column;
}
    #section5 .graytxt{
    font-size: 1.9rem;
    margin: 0;
    width: 100%;
}
#section5 .blacktxt{
    width: 100%;
    margin-bottom: 20%;
}
#section5 .section5_txtbox .txtbox_5{
    clear: both;
    width: 100%;
}
.slide_button_flex{
    clear: both;
    display: flex;
    flex-flow: row;
    width: 270px;
    justify-content: space-between;
/*    float: right;*/
}
.fas{
    background-color: black;
    color: #fff;
    font-size: 3rem;
    width: 50px;
    text-align: center;
    border-radius: 50px;
    height: 50px;
    line-height: 2.3rem;
    display: none;
}
#section5 .morebutton{
    width: 140px;
    height: 50px;
    background-color: black;
    color: #fff;
    padding: 14px 40px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    border-radius: 50px;
    border: 0px;
    display: block;
}
#section5 .morebutton a{
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5rem;
    border-radius: 50px;
    border: 0px;
    display: block;
}
#section5 img{
    position: relative;
    width: 90%;
    left: 5%;
}
#section5 .slide p{
     position: absolute;
    top: 0;
    z-index: 5;
    color: #fff;
    font-weight: bold;
    display: flex;
    flex-flow: column;
    padding: 20px 0 0 30px;
    font-size: 1.3rem;
}
#section5 .slide span{
    color: #fff;
    font-weight: lighter;
    margin-top: 2px;
    display: none;
}
#section5 .slide{
    width: 100%;
    margin-bottom: 6rem;
/*
    position: relative;
    width: 4000px;
*/
}
.txtbox_5{
    width: 70%;
}
/*----------------------------------------------------------*/

#section6{
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
    padding: 2rem auto 2rem auto;
}
#section6 .section6_txtbox{
    width: 100%;
    margin: 60px 0 70px 0;
}
#section6 .formblock{
    width: 100%;
    
}
#section6 .formitem{
    display: flex;
    flex-flow:column;
    margin-bottom: 24px;
    width: 100%;
}
#section6 .foremflex{
    display: flex;
    flex-flow:column;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
}
#section6 label{
    margin-bottom: 6px;
    color: #2b2b2b;
    font-size: 18px;
    width: 100%;
}
#section6 input{
    width: 100%;
    height: 40px;
    border-radius: 50px;
border: #dcdcdc 1px solid;
    font-size: 18px;
}
#section6 select{
    width: 100%;
    height: 40px;
    border-radius: 50px;
    border: #dcdcdc 1px solid;
    font-size: 18px;
    color: #999;
    padding: 0 10px;
}
#section6 .txtarea7{
    clear: both;
    width: 100%;
    max-width: 100%;
    height: 185px;
    border-radius: 30px;
}
#section6 .okbutton{
    clear: both;
    width: 140px;
    max-width: 140px;
    height: 50px;
    max-height: 50px;
    background-color: black;
    color: #fff;
    padding: 14px 40px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    border-radius: 50px;
    border: 0px;
    display: block;
    margin-top: 60px;
    display: block;
    margin-bottom: 5rem;
}
.formitem_right_p {
    margin-right: 0;
}
.formitem_left_p {
    margin-left: 0;
}
    
    /*----------------------------footer----------------------------*/
    
footer{
    background-color: #222;
    width: 100%;
}
.footer_txtbox{
    margin: 10px 0;
}
.footer_center1{
    width: 92%;
    height: 30px;
    margin: 0 auto;
    padding: 30px 0;
}
.footer_center2{
    width: 92%;
    margin: 0 auto;
}
.footer_center3{
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 20px 0;
}
.footer_center3 p{
color: #666;
    font-size: 14px;
    width: auto;
    margin: 0 0 0 auto;
}
.footer_center1 a{
color: rgba(255,255,255,0.7);
    font-size: 16px;
    font-weight:lighter;
}
.footer_center1 a span{
    font-size: 20px;
    font-weight: lighter;
}
.footer_center2 p{
    width: 90%;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
.footer_m_title{
    font-weight: bold;
    padding-bottom: .6rem;
}
footer a, footer p{
    color: rgba(255,255,255,0.4);
}

.footer_c_flex{
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}
.footer_txt{
    width: 30rem;
    padding: 30px 0;
}
h2 img{
    margin-top: .5rem;
}
hr{
    border: 1px solid #333;
}
    
}