@charset "UTF-8";

.sub_banner {
    width: 100%;
    height: 400px;
    position: relative;
    background-image: url(../img/sub_banner.png);
    background-size: cover;
    background-position: center;
}

.sub_banner2 {
    width: 100%;
    height: 600px;
    position: relative;
    background-image: url(../img/sub_banner.png);
    background-size: cover;
    background-position: center;
    text-align: center;
}

.sub_banner .container,
.sub_banner2 .container {
    height: 100%;
}

.sub_banner_txt {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    color: #fff;
}

.sub_banner_txt h2 {
    font-size: 30px;
    line-height: 56px;
    font-weight: 300;
}

.sub_banner_txt h2 b {
    color: #fff;
}

.sub_banner_txt p {
    font-size: 22px;
    padding-bottom: 10px;
}

.sub_container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 20px;
}

/**서브 타이틀 시작**/
.sub_container .sub_title {
    text-align: center;
    margin-bottom: 40px;
}

.sub_container .sub_title h2 {
    font-size: 40px;
}

.sub_container .sub_title p {
    font-size: 18px;
    padding: 10px 0 20px 0;
}

.sub_container .sub_title span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #dadada;
}

/**서브 타이틀 끝//**/

.color {
    color: #adff71;
}

/**company_box 시작**/

.company_txt {
    margin: auto;
    max-width: 950px;
}

.company_txt h2 {
    font-size: 29px;
    font-weight: 600;
    padding-bottom: 2rem;
    line-height: 1.7;
    font-family: 'MaruBuri-Regular';
}

.company_txt p {
    font-size: 19px;
    line-height: 1.6;
    padding: 1rem 0;
}

.company_txt b {
    color: #dd3232;
    font-size: 24px;
}

.company_box .company_txt h3 {
    font-size: 26px;
    color: #444;
    font-weight: 500;
    padding: 20px 0 5px;
}

p.sub {
    font-size: 22px;
    padding: 2rem 0;
}

/* 프로필 */
.profile {
    max-width: 900px;
    background: url(../img/pro_bg.jpg);
    background-size: 100%;
    padding: 50px;
}

.profile h3 {
    background: #1e78df;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 25px;
}

.profile p {
    font-size: 17px;
    padding-bottom: 3rem;
}

/* sub_comapny */

ul.company {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    grid-gap: 30px;
    padding-bottom: 5rem;
    margin: auto;
}

ul.company li:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul.company h3 {
    font-size: 35px;
    line-height: 1.3;
    padding-bottom: 2rem;
}

ul.company p {
    font-size: 20px;
    line-height: 1.7;
    color: #775539;
    max-width: 33ch;
}

.sub_img {
    background: url(../img/sub_b_bg.jpg);
    text-align: center;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sub_img div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub_img .text {
    text-align: left;
    color: #fff;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.7;
    align-items: flex-start;
}


/**company_box 끝**/

/* sub_icon */
.sub_icon {
    padding: 100px 0;
    background: url(../img/sub_icon_bg.jpg) center;
    background-size: cover;
}

.sub_icon ul {
    background: #233426;
    padding: 5rem;
    grid-gap: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.sub_icon ul li {
    text-align: center;
    color: #8fdb7d;
    line-height: 1.2;
    font-size: 20px;
}


/* 모바일 없애기 */
.sub_m {
    display: none;
}

/** product_list 시작**/
.product_list {
    padding: 20px 40px;
    border: 4px solid #e6e2df;
    margin-top: 20px;
    background: #fbf4ee;
}

.product_list span {
    width: 20px;
    height: 4px;
    display: block;
    background: #b8beb7;
}

.product_list h2 {
    font-size: 22px;
    color: #74615a;
}

.product_list h2 b {
    color: #df2f2f;
}

.product_list p {
    font-size: 17px;
    color: #aaa;
    padding-top: 10px;
}

.product_list p b {
    color: #222;
}

/** product_list 끝**/

/**map_box 시작**/
.map_wrap {
    padding: 30px;
    background: rgb(240, 240, 240);
    overflow: hidden;
}

.map_wrap .map_box {
    display: flex;
    align-items: center;
}

.map_icon {
    float: left;
    padding-right: 20px;
}

.map_txt {
    float: left;
}

.map_txt h2 {
    font-size: 22px;
}

.map_txt p {
    font-size: 18px;
    padding-top: 8px;
}

/**map_box 끝**/
#maparea {
    height: 300px;
}

#maparea .root_daum_roughmap {
    width: 100% !important;
    height: 100% !important;
}

/****************************** sub 갤러리 box 시작 ******************************/
.sub_gall_list {
    margin: -10px -10px 0;
    overflow: hidden;
}

.sub_gall_list .gall_item {
    float: left;
    width: 25%;
    padding: 10px;
}

.sub_gall_list .gall_item a {
    display: block;
    overflow: hidden;
}

.sub_gall_list .gall_item a img {
    transition: all 1.2s;
    transform: scale(1);
    width: 100%;
}

.sub_gall_list .gall_item a:hover img {
    transform: scale(1.085);
}

.sub_gall_list.detail_type .gall_item a {
    position: relative;
}

.sub_gall_list.detail_type .gall_desc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub_gall_list.detail_type .gall_desc_wrap {
    display: block;
    text-align: center;
}

.sub_gall_list .gall_item p {
    text-align: center;
    font-size: 18px;
    color: #aaa;
    padding-top: 12px;
}



/****************************** sub 갤러리 box 끝 ******************************/

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width:1024px) {
    .sub_container {
        padding: 40px 15px;
    }

    .sub_container .sub_title h2 {
        font-size: 32px;
    }

    .sub_banner {
        height: 320px;
    }

    .sub_banner2 {
        height: 420px;
    }

    .sub_banner2 img {
        width: 80px;
    }


    .sub_container .sub_title p {
        font-size: 17px;
        padding: 5px 0 20px 0;
    }

    .sub_banner_txt h2 {
        font-size: 27px;
    }

    .company_box .company_txt h2 {
        font-size: 26px;
    }

    .company_box .sub p {
        font-size: 16px;
    }

    /** product_list 시작**/
    .product_list {
        padding: 20px;
        margin-top: 10px;
    }

    .product_list h2 {
        padding-bottom: 10px;
    }

    .product_list p {
        font-size: 16px;
    }

    /** product_list 끝//**/

}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width:768px) {


    .sub_container {
        padding: 40px 15px;
    }

    .sub_banner {
        height: 200px;
        background-size: cover;
        background-position: 85% !important;
    }

    .sub_banner_txt {
        justify-content: center;
    }

    .sub_banner_txt h2 {
        padding-top: 1rem;
        font-size: 25px;
        line-height: 1.5;
    }

    /**서브 타이틀 시작**/
    .sub_container .sub_title {
        margin-bottom: 20px;
    }

    .sub_container .sub_title h2 {
        font-size: 20px;
    }

    .sub_container .sub_title p {
        font-size: 13px;
        padding: 5px 0 10px 0;
    }


    /**서브 타이틀 끝//**/

    /**company_box 시작**/
    .company_box .company_txt {
        padding-top: 20px;
    }

    .company_txt h2 {
        font-size: 22px;
    }

    .profile {
        padding: 40px 25px;
    }

    .profile h3 {
        font-size: 19px;
        padding: 10px 20px; 
    }

    .profile p {
        font-size: 15.5px;
    }


    .company_box .sub p span {
        font-size: 13px;
        height: 20px;
        width: 20px;
    }

    .company_txt .cimg {
        flex-direction: column;
    }

    .company_txt .cimg img {
        width: 100%;
    }

    /**company_box 끝**/



    /* program */
    .contents {
        grid-template-columns: 1fr;
    }

    /* sub_compnay */
    ul.company {
        grid-template-columns: 1fr;
        grid-gap: 30px;
        padding-bottom: 4.5rem;
    }

    ul.company h3 {
        font-size: 26px;
        line-height: 1.3;
        padding-bottom: 2rem;
    }

    ul.company p {
        font-size: 18px;
        line-height: 1.6;
    }

    .sub_img2 {
        padding-bottom: 5rem;
    }

    /* sub_icon */
    .sub_icon ul {
        padding: 3rem;
        grid-gap: 30px;
        grid-template-columns: 1fr 1fr;
    }

    .sub_icon ul li {
        line-height: 1.2;
        font-size: 18px;
    }

    .sub_icon ul li img {
        width: 85px;
        padding-bottom: 10px;
    }


    /** product_list 시작**/
    .product_list {
        padding: 10px 20px;
    }

    .product_list h2 {
        padding-bottom: 0;
        font-size: 16px;
    }

    .product_list p {
        font-size: 13px;
    }

    /** product_list 끝//**/

    /**map_box 시작**/
    .map_wrap {
        padding: 20px 10px;
    }

    .map_txt h2 {
        font-size: 16px;
    }

    .map_txt p {
        font-size: 13px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .map_icon img {
        height: 60px;
    }

    /**map_box 끝**/

    /**서브 갤러리 시작**/
    .sub_gall_list .gall_item {
        width: 50%;
    }

    .sub_gall_list .gall_item p {
        font-size: 14px;
        padding-top: 10px;
    }

    /**서브 갤러리 끝//**/


}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width:480px) {

    .sub_banner {
        background-position: 30%;
    }

    .sub_banner h2 {
        font-size: 18px;
        max-width: 19ch;
        text-align: center;
    }


    .company_box .company_txt {
        padding-bottom: 0px;
        padding-left: 0px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }


}