@charset "UTF-8";


.pc_img {
    display: inline;
}

.m_img {
    display: none;
}

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

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

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

.sub_banner_txt p {
    font-size: 24px;
}

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

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

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

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

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

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

.hei {
    height: 40px;
}

/**company_box 시작**/

.company_box .company_txt {
    padding-top: 30px;
}

.company_box .company_txt h2 {
    font-size: 30px;
    color: #4b6971;
    font-weight: 400;
}

.company_box .company_txt h2 span {
    font-weight: 400;
}

.company_box .company_txt h3 {
    font-size: 20px;
    color: #555;
    font-weight: 600;
    padding-top: 20px;
}

.company_box .company_txt p {
    font-size: 18px;
    color: #666;
    padding-top: 10px;
    font-weight: 400;
}

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

/**company_box 끝**/

.company_box2 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.company_box2 h3 {
    font-size: 32px;
    color: #333;
}

.company_box2 h3 span {
    font-weight: normal;
}

.company_box2 p {
    font-size: 18px;
    color: #666;
    padding: 8px 0 40px 0;
}

/**product 시작**/
.product_box {
    height: 100%;
}

.product_img {
    background: url(../img/product1.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    height: 480px;
    width: 50%;
    float: left;
    border-top-left-radius: 50px;
}

.product_txt {
    width: 50%;
    float: left;
    height: 480px;
    color: #222;
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.product_txt h2 {
    font-size: 32px;
    font-weight: 400;
}

.product_txt h2 b {
    color: #222;
}

.product_txt ul li {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 14px;
    font-size: 18px;
    color: #333;
}

.product ul li:nth-child(1) {
    padding-top: 0;
}

.product_txt ul li b {
    font-weight: 800;
    color: #df2f2f;
    font-style: italic;
}

.product_txt h3 {
    font-size: 18px;
    font-weight: 400;
    margin-top: 40px;
    color: #666;
}

.product_txt h3 b {
    color: #222;
}

/**product 끝//**/

/** product_list 시작**/
.product_list {
    padding: 40px;
    border: 1px solid #ddd;
    margin-top: 20px;
    background: #f5f5f5;
}

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

.product_list h2 {
    font-size: 22px;
    color: #222;
    padding-bottom: 16px;
}

.product_list h2 b {
    color: #df2f2f;
}

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

.product_list p b {
    color: #394a38;
}

/** product_list 끝**/

/**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: 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_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    display: none;
}

.sub_menu li {
    color: #fff;
    font-size: 15px;
    padding: 0px 10px;
    font-weight: 400;
    border-right: 1px solid #aaa;
}

.sub_menu li:first-child {
    border-left: 1px solid #aaa;
}

.sub_container h3 {
    border-left: 4px solid rgb(38, 212, 81);
    padding: 0 1rem;
    font-size: 22px;
}

.sub_container .list {
    font-size: 16px;
}

.sub_container .list>ul {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding-bottom: 2rem;
}
.sub_container ul.dot li {
    list-style: square;
    padding-bottom: 10px;
    margin-left: 20px;
}
.sub_container .box {
    padding: 1.5rem;

    background: #f3f3f3;
}
.sub_container ul li table th {
    padding: 1rem;
    border: 1px solid rgb(221, 221, 221);
}
.sub_container ul li table td {
    padding: 1rem;
    border: 1px solid rgb(221, 221, 221);
}
.sub_container ul li .tgtitle {
    text-align: center;
}

/* 등급 */
.sub_container .grade li.title {
    text-align: center;
    background: rgb(234, 241, 233);
    margin-top: 1rem;
}
.sub_container .grade li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    text-align: center;
}


/****************************** 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;
}

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

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

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

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

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

    .sub_container .sub_title p {
        font-size: 16px;
        color: #888;
        padding: 5px 0 20px 0;
    }

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

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

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

    /**product 시작**/
    .product_img {
        height: 400px;
    }

    .product_txt {
        padding-left: 30px;
        height: 400px;
    }

    .product_txt h2 {
        font-size: 26px;
    }

    .product_txt ul li {
        padding-top: 10px;
        font-size: 16px;
    }

    .product_txt h3 {
        font-size: 16px;
    }

    /**product 끝//**/

    /** product_list 시작**/
    .product_list h2 {
        padding-bottom: 10px;
    }

    .product_list p br {
        display: none;
    }

    /** product_list 끝//**/

    .sub_menu {
        display: flex;
    }
}

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

    .sub_container {
        padding: 20px;
    }

    .sub_banner {
        height: 150px;
        background: url('../img/sub_banner.png') no-repeat center center/cover, rgba(0, 0, 0, 0.3);
        background-blend-mode: multiply;
    }

    .sub_banner_txt {
        height: 150px;
    }

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

    .sub_banner_txt p {
        font-size: 13px;
        color: #fff;
    }

    /**서브 타이틀 시작**/
    .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;
    }

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

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

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

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

    .company_box .company_txt h3 {
        font-size: 16px;
        padding: 10px 0 5px 0;
    }

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

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

    /**company_box 끝**/

    /**company_box2 시작**/
    .company_box2 h3 {
        font-size: 18px;
    }

    .company_box2 p {
        font-size: 13px;
        padding: 4px 0 16px 0;
    }

    /**company_box2 끝//**/

    /**product 시작**/
    .product_img {
        width: 100%;
        background: url(../img/m_product1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 350px;
    }

    .product_txt {
        width: 100%;
        padding-left: 0;
        height: auto;
        margin-top: 20px;
    }

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

    .product_txt ul li {
        padding-top: 4px;
        font-size: 14px;
    }

    .product_txt h3 {
        font-size: 13px;
        margin-top: 20px;
    }

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

    .product_list h2 {
        padding-bottom: 10px;
        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;
    }

    .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;
    }

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


    /* 서브 요양 */
    .sub_container .list>ul {
        display: grid;
        grid-template-columns: 1fr;
        padding-bottom: 2rem;
    }
    .sub_container .list li:first-child {
        padding-bottom: 1rem;
    }
    .sub_container .list li:first-child br {
        display: none;
    }
}

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



    .m_img {
        display: inline;
    }

    .pc_img {
        display: none;
    }


    /* 서브타이틀 */
    .sub_banner {
        background-position: right;
    }

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


}