@charset "UTF-8";

.company_sub {
    width: 100%;
    height: 400px;
    position: relative;
    background-image: url(../img/sub_banner.jpg);
    background-size: cover;
    background-position: center left;
    position: relative;
    color: #fff;
}

.company_sub .container {
    height: 100%;
}

.mainsub_text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mainsub_text h2 {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
}

.mainsub_text p {
    font-size: 1.1rem;
}

.subbottom .container {
    position: relative;
}

.subbottom {
    text-align: right;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: #c3262d;
}


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

.sub_banner_txt {
    display: flex;
    align-items: center;
    text-align: center;
    height: 340px;
    color: #fff;
}

.sub_banner_txt h2 {
    font-size: 22px;
    font-weight: 300;
}

.sub_banner_txt strong {
    font-size: 26px;
    display: block;
    line-height: 100%;
}

.sub_banner_txt h3 {
    font-size: 45px;
    line-height: 54px;
    font-weight: 400;
}

.sub_banner_txt h3 b {
    color: #119b3f;
}

.sub_banner_txt p {
    font-size: 18px;
    line-height: 26px;
    padding-top: 10px;
    color: #333;
}

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

/**서브 타이틀 시작**/
.sub_title {
    color: #222;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

.sub_title h2 {
    font-size: 31px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.sub_title img {
    display: inline-block;
    padding: 1.5rem 0;
}

.sub_title p {
    font-size: 18px;
    color: #3b3b3b;
    text-align: left !important;
    padding: 10px 0 20px 0;
    letter-spacing: normal;
    max-width: 900px;
}

.sub_title p b {
    font-size: 1.1em;
    display: inline-block;
    padding-bottom: 5px;
    color: #1f977d;
}

.sub_title span {
    display: block;
    width: 100px;
    margin: 20px auto;
    height: 1px;
    background-color: rgb(214, 214, 214);
}

.sub_title .line {
    margin: 0rem auto 2rem;
    width: 100px;
    background: #a7a7a7;
    height: 1px;
}

.sub_title .box {
    background: #ddd;
    padding: 2rem;
    margin-top: 2rem;
}

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


/* 유튜브 */

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**company_box 시작**/





/* ////////////// 컨텐츠 /////////////  */
/* 프로필 */
.profile_1 {}

.profile_1 ul {
    display: grid;
    grid-template-columns: 0.75fr 1.5fr;
    grid-gap: 8%;
}

.profile_1 ul li {
    position: relative;
    font-size: 18px;
    line-height: 1.8;
}

.profile_1 ul li .img {
    width: 90%;
    background: url(../img/pro_1.jpg) no-repeat center;
    background-size: cover;
    height: 370px;
    position: relative;
    z-index: 5;
}

.profile_1 ul li .imgbox {
    background: #93e4d6;
    width: 300px;
    height: 300px;
    position: absolute;
    right: 0;
    top: 120px;
}


.profile_1 ul li .img2 {
    width: 200px;
    background: url(../img/sec1_3.jpg) no-repeat center, #f7f4e2;
    background-size: cover;
    height: 200px;
    position: relative;
    z-index: 5;
}

.profile_1 ul li .imgbox2 {
    background: #93e4d6;
    width: 150px;
    height: 150px;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(50%, 50%);
}

.profile_1 ul li h3 {
    font-size: 30px;
    padding: 8px;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    background: url(../img/line2.jpg) no-repeat bottom left;
}

.profile_text {
    padding: 1rem;
}

.profile_1 ul li h4 {
    padding-bottom: 10px;
    font-weight: normal;
}

.profile_1 ul li h4 b {
    color: green;
    font-size: 1.2em;
    font-weight: 500;
}

.profile_1 ul li p {
    padding: 0px 0 1.5rem;
}

.profile_2 {}


.profile_2 .profile_1 ul {
    grid-template-columns: 200px 1fr !important;
    padding-bottom: 3rem;
} 

p.books b {
display: block;
padding-top: 12px;
}



/* company */
.company_box .company_txt {
    padding-top: 40px;
    text-align: center;
}

.company_box .company_txt h3 {
    font-size: 36px;
    line-height: 42px;
    color: #28b940;
    font-weight: 600;
    padding-bottom: 2rem;
}

.company_box .company_txt b {
    color: #28b940;
}

.company_box .company_txt strong {
    font-weight: 400;
    font-size: 1.7rem;
}

.company_box .company_txt p {
    font-size: 18px;
    color: #666;
    padding-top: 50px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 60ch;
    margin: auto;
    padding-bottom: 2rem;
}

.company_box .company_txt p b {
    color: #eb5861;
}


.m_img {
    display: none;
}

/**company_box 끝**/

/* history */
.history {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-gap: 70px;
}

.history div:nth-child(1) {
    background: url(../img/sec4_bg.jpg) center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
}

.com {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 300;
    font-size: 35px;
}

.com1 {
    background: url(../img/c_1.jpg) fixed;
    background-size: cover;
}

.com2 {
    background: url(../img/c_2.jpg) fixed;
    background-size: cover;
}

.com3 {
    background: url(../img/c_3.jpg) fixed;
    background-size: cover;
}

.com4 {
    background: url(../img/c_4.jpg) fixed;
    background-size: cover;
}

.com5 {
    background: url(../img/c_5.jpg) fixed;
    background-size: cover;
}



/**map_box 시작**/
.map_wrap {
    padding: 30px;
    background: #f3f3f3;
    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: 24px;
}

.map_txt p {
    font-size: 19px;
    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: #666;
    padding-top: 12px;
}


/* 서브메뉴 */

.submenu {
    width: 100%;
    display: flex;
    margin: auto;
    justify-content: center;
    padding: 1rem;
    background: rgb(243, 243, 243);
}

.submenu li {
    margin: 0 6px;
    border-right: 2px solid rgba(189, 189, 189, 0.8);
    padding-right: 10px;
    font-size: 18px;
}

.submenu li:first-child {
    border-left: 2px solid rgba(189, 189, 189, 0.8);
    padding-left: 10px;
}

.submenu li.on {
    font-weight: 700;
    color: rgb(243, 43, 43);
}


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

.d_block {
    display: inline-block;
}

.m_block {
    display: none;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width:1024px) {

    .sub_container {
        padding: 30px;
    }

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

    .sub_banner,
    .sub_banner_txt {
        height: 450px;
    }

    .sub_banner_txt p {
        font-size: 16px;
        line-height: 22px;
    }

    .sub_container .sub_title p {
        font-size: 17px;
 
    }

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

    .company_box .company_txt h3 {
        font-size: 30px;
        line-height: 36px;
    }

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

    .company_box .company_txt strong {
        font-size: 22px;
    }

}

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

    .sub_container {
        padding: 20px;
    }

    .sub_banner {
        height: 400px;
    }

    .sub_banner_txt {
        height: 400px;
    }

    .sub_banner_txt h2 {
        padding-top: 100px;
        font-size: 22px;
    }

    .sub_banner_txt strong {
        font-size: 18px;
    }

    .sub_banner_txt h3 {
        font-size: 26px;
        line-height: 34px;
    }

    .sub_banner_txt p {
        font-size: 13px;
        display: none;
    }

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

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

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

    .sub_title span {
        height: 1px;
        background-color: #ddd;
    }

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

/* history */
.history {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
}

.history div:nth-child(1) {
    display: none;
}
    .company_sub {
        height: 500px;
    }

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

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

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

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

    .map_icon {
        padding-right: 0;
    }

    .map_icon img {
        width: 80%;
    }

    /**map_box 끝**/

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

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

    .submenu {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: auto;
        justify-content: center;
        padding: 1rem;
        background: rgb(243, 243, 243);
        border-radius: 10px;
    }

    .submenu li {
        margin: 0 6px;
        border-left: 0px solid rgba(189, 189, 189, 0.8);
        border-right: 0px solid rgba(189, 189, 189, 0.8);
        padding-right: 10px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .submenu li:first-child {
        border: none;
    }

    .submenu li.on {
        border-bottom: 1px solid rgb(207, 207, 207);
        border-top: 1px solid rgb(207, 207, 207);
    }

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

    .d_block {
        display: none;

    }

    .m_block {
        display: inline-block;
    }
}

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

    .company_sub {
        height: 230px;
    }

    .mainsub_text {
        height: 100%;
        padding-bottom: 0;
        bottom: 100px;
    }

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


    /* 프로필 */
    .profile_1 ul {
        grid-template-columns: 1fr;
        padding-bottom: 3rem;
        grid-gap: 65px;
    }

    .profile_1 ul li {
        font-size: 16.5px;
    }

    .profile_1 ul li:first-child {
        margin: 0 auto;
        width: 85%;
    }

    .profile_1 ul li .img {
        width: 70%;
        height: 260px;
    }

    .profile_1 ul li .imgbox {
        width: 180px;
        height: 200px;
        top: 90px;
    }
    .profile_1 ul li h3 {
        font-size: 25px;
    }

    .profile_2 .profile_1 ul {
        grid-template-columns: 1fr !important;
        padding-bottom: 3rem;
        grid-gap: 35px;
    }

    .profile_2 .profile_1 ul li:first-child {
        display: flex;
        justify-content: center;
    }

    .profile_1 ul li .img2 {
        width: 160px;
    }


    .sub_banner,
    .sub_banner_txt {
        height: 280px;
    }

    .sub_banner_txt h2 {
        padding-top: 90px;
        font-size: 16px;
    }

    .company_box .company_txt h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .company_box .company_txt p {
        font-size: 14px;
    }

    .company_box .company_txt strong {
        font-size: 19px;
    }

    .pc_img {
        display: none;
    }

    .m_img {
        display: inline-block;
    }
}

@media (max-width:340px) {}