@charset "utf-8";

/*----------Mobile----------*/
img {
    width: 100%;
    max-width: 100%;
}

a {
    cursor: default;
}

section h2 {
    text-align: center;
    padding-top: 15%;
   font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 700;
    font-size: 1.5625em;
    /*25px;*/
}

section h3 {
    text-align: center;
    padding: 0.6em 0;
   font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 700;
    color: #ccc;
}

section h3:after {
    width: 80px;
    height: 2px;
    content: '';
    display: block;
    background: #0f4c81;
    margin: 25px auto 5%;
}

/*-----------상단이미지 모바일-------------------*/
#top {
    order: 2;
    width: 100%;
    position: relative;
}

#top h2.pc,
#top h2.tab,
#top li.pc {
    display: none;
}

#top h2 {
    margin: 0;
    padding-top: 0;
}

#top .top_text {
    position: absolute;
    top: 40%;
    left: -4%;
    width: 100%;
}

#top .top_text li:nth-child(1) a {
    color: #fff;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    text-align: right;
}

/*---------------위치 모바일---------------*/
#map {
    order: 3;
    width: 100%;

}
#map h2 {
    margin-top: 10vh;
    padding-top: 0%;
}

#map .address_in .address_img {
    padding-bottom: 75%;
    position: relative;
    height: 0;
}

#map .address_in .address_img iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

#map .address_in li .address_text {
    width: 100%;
    background: #777;
    padding: 5% 0;
}

#map .address_in li .address_text li > ul {
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 5%;
}

#map .address_in .address_text li > ul > li:nth-child(1) {
    width: 7%;
    margin-right: 5%;
}

#map .address_in .address_text li > ul > li:nth-child(2) {
    width: 93%;
}

#map .address_in .address_text a {
    color: #fff;
    font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 700;
    font-size: 0.875em;
    /*14px;*/
    line-height: 1.8;
    font-weight: normal;
}

#map .address_in .address_text a span.title {
    font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 700;
    font-size: 1em;
}

#map .address_in .address_text a span {
    font-size: 0.8125em;
    /*13px;*/
}

/*-------------문의 모바일--------------*/
#contact {
    order: 4;
    width: 100%;
    padding-bottom: 15%;
}

#contact > form {
    width: 80%;
    height: 85%;
    margin: 5% auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
}

#contact > form input {
    width: 100%;
    height: 40px;
    padding: 0 25px 0 5px;
    box-sizing: border-box;
    border: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
    border-bottom: 2px solid #0f4c81;
    /*background: #fff;*/
    outline: none;
    cursor: pointer;
    margin-bottom: 15px;
}

#contact > form input::placeholder {
    color: #000;
    font-size: 0.875em;
    /*14px;*/
}

#contact > form input::-webkit-input-placeholder {
    color: #000;
    font-size: 0.875em;
    /*14px;*/

}

#contact > form input::-ms-input-placeholder {
    color: #000;
    font-size: 0.875em;
    /*14px;*/
}

#contact > form fieldset:last-child {
    position: relative;
}

#contact > form div fieldset:nth-child(5) label {
    color: #000;
    padding: 0 25px 10px 5px;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.7em;
    /*14px;*/
    margin-top: 10px;


}

#contact > form fieldset textarea {
    width: 100%;
    margin-top: 15px;
}

#contact > form button {
    background: #0f4c81;
    margin: 10px auto;
    width: 30%;
    height: 30px;
    color: #fff;
    font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 700;
    border-radius: 5px;
    outline: none;
    position: absolute;
    left: 35%;

}

#contact .thankyou_message h2 {
    padding: 2% 0;
    line-height: 1.5;
    background: #0f4c81;
    color: #fff;
    font-weight: normal;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 0.9375em;
    /*15px;*/
    border-radius: 10px;

}

/*-----------Tab-----------*/
@media all and (min-width:768px) {
   

    /*-----------상단이미지 태블릿-------------------*/
    #top h2.mo {
        display: none;
    }

    #top h2.tab {
        display: block;
    }

    #top .top_text li {
        font-size: 1.5625em;
        /*25px;*/
    }

    #top .top_text {
        left: 8%;

    }

    #top .top_text li:nth-child(1) a {
        text-align: left;
    }

    /*---------------위치 태블릿---------------*/
    #map .address_in {
        /*display: flex;
        flex-flow: row wrap;*/
    }

    #map .address_in > li {
        /*background: #0f4c81;*/
        position: relative;
    }

 
    #map .address_in .address_img {
        padding-bottom: 40%;
    }

    #map .address_in li .address_text {
        padding: 2% 0;
    }
    #map .address_in li .address_text li > ul { padding-bottom: 2%;}

    #map .address_in .address_text li > ul > li:nth-child(1) {
        width: 3%;
    }
    #map .address_in .address_text li > ul > li:nth-child(1) {
        margin-right: 1%;
    }

    /*----------------문의 태블릿--------------*/
    #contact {
        padding-bottom: 10%;
    }

    #contact > form {
        display: flex;
        flex-flow: row wrap;
        width: 80%;


    }

    #contact > form div {
        width: 100%;
    }

    #contact > form div fieldset {
        width: 100%;
        margin: 0 auto;
    }

    #contact > form fieldset:nth-child(5) {
        width: 100%;
        margin: 0 auto;
    }

    #contact > form fieldset:last-child {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #contact > form div fieldset:nth-child(5) label {
        font-size: 0.8em;
        /*14px;*/
    }

    #contact > form fieldset textarea {
        width: 100%;
    }

    #contact > form button {
        position: relative;
        width: 25%;
        margin: 1.5% 0;

    }

    #contact .thankyou_message h2 {
        width: 60%;
        margin: 0 auto;
    }
}

/*tab end*/


/*------------PC------------*/
@media all and (min-width:1200px) {
    
    /*-----------상단이미지 피씨-------------------*/
    #top h2.tab {
        display: none;
    }

    #top h2.pc,
    #top li.pc {
        display: block;
    }

    #top .top_text {
        left: 20%;
        top: 30%;
    }

    #top .top_text li:nth-child(1) a {
        font-size: 1.4em;
    }

    #top .top_text li:nth-child(2) a {
        color: #fff;
        font-family: 'NanumBarunGothic', sans-serif;
        font-size: 0.625em;
        /*14px;*/
        letter-spacing: -0.05em;
        font-weight: normal;
        line-height: 1.5;
        padding: 1% 0;
    }

    #top .top_text:before {
        content: "";
        display: block;
        width: 2px;
        padding-bottom: 7.5%;
        background: #fff;
        position: absolute;
        margin-left: -1%;
        margin-top: -0.6%;
    }

    /*---------------위치 피씨---------------*/
    #map {
        width: 68.75%;
        margin: 0 auto;
    }

    #map .address_in .address_text li > ul > li:nth-child(1) {
        width: 2%;
    }
    /*----------------문의 피씨--------------*/
    #contact {
        width: 68.75%;
        margin: 0 auto;
    
    }

    #contact form {
        margin: 0 auto;

    }

    #contact form div fieldset {
        width: 70%;
    }

    #contact form div fieldset:nth-child(5) {
        width: 70%;
    }

    #contact form div button {
        width: 25%;
        position: relative;
    }

    #contact .thankyou_message h2 {
        font-size: 1em;
    }
}

/*pc end*/
