@charset "UTF-8";

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

.sub_banner_txt {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 330px;
    color: #333333;
    text-shadow: 0 0 18px #fff, 0 0 18px #fff, 0 0 18px #fff;
}

.sub_banner_txt h2 {
    font-weight: normal;
}

.sub_banner_txt .title {
    height: 100px;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #585858;
    border-right: 1px solid #5a5a5a;
    padding: 0 4rem;
    line-height: 1.2;
    text-align: center;
}

/**서브 타이틀 시작**/

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

.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: 30px 0 90px;
}

.company_box .company_txt h2 {
    font-size: 40px;
    color: #665d4c;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 45px;
}

.company_box .company_txt h2 span {
    display: inline-block;
    padding-right: 5px;
}

.company_box .company_txt h2 span img {
    vertical-align: middle;
}

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

.company_box p {
    font-size: 19px;
    line-height: 1.8;
    padding: 1rem 0;
    max-width: 1000px;
    margin: auto;
}

.company_box b {
    color: #3788ad;
    font-size: 22px;
}

/**company_box 끝**/


/* 상담소개 */
.counsel {}

.counsel .title {}

.counsel .title_box {
    text-align: center;
    padding-bottom: 2rem;
}

.counsel .title_box h2 {
    font-size: 40px;
}

.counsel .title_box span {
    color: rgb(201, 72, 21);
    font-weight: 700;
}

.counsel .title_sub {
    background: #f5f5f5;
    padding: 3%;
    font-size: 16px;
    margin-top: 2rem;
}

.counsel .title_subp {
    background: #f5f5f5;
    padding: 4%;
    font-size: 20px;
    text-align: center;
}

/* 서브타이틀 */
.counsel .sub_title {
    background: url(../img/dot.jpg) no-repeat left center;
    text-align: left;
    padding-left: 19px;
    font-size: 24px;
    font-weight: 600;
    margin: 4rem 0 1rem;
}

.company2_box {
    padding-top: 2rem;
}

.company2_box li {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 320px 1fr;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
}

.company2_box .img {}

.company2_box .text {
    padding: 2rem 1rem;
}

.company2_box h4 {
    padding-top: 3rem;
}

.company2_box li:nth-child(1) .img {
    background: url(../img/company2_1.jpg);
    background-size: cover;
}

.company2_box li:nth-child(2) .img {
    background: url(../img/company2_2.jpg);
    background-size: cover;
}

.company2_box li:nth-child(3) .img {
    background: url(../img/company2_3.jpg);
    background-size: cover;
}

.coun_img {
    height: 300px;
    opacity: 0.9;
}

.cimg {
    background: url(../img/coun_1.jpg) center;
    background-size: cover;
}

.cimg2 {
    background: url(../img/coun_2.jpg) center;
    background-size: cover;
}

.cimg3 {
    background: url(../img/coun_3.jpg) center;
    background-size: cover;
}

.cimg4 {
    background: url(../img/coun_4.jpg) center;
    background-size: cover;
}

/* 노인요양 */

/** info_box_wrap 시작**/
.sub_container div:first-child {
    margin-top: 0;
}

.info_box_wrap {
    margin-top: 70px;
}

.info_box_wrap h3 {
    font-size: 22px;
    color: #db4e24;
    font-weight: 800;
    margin-bottom: 10px;
}

.info_box {
    padding: 20px;
    background: #f3f3f3;
    border: 1px solid #e8eef5;
}

.info_box p {
    font-size: 17px;
    color: #444;
}

.info_box p b {
    font-size: 17px;
    color: #db4e24;
    display: block;
}

.info_box span {
    font-size: 15px;
    color: #db4e24;
}

.info_txt p {
    font-size: 17px;
    color: #444;
}

.info_txt h5 {
    font-size: 14px;
    color: #444;
    text-align: right;
    padding: 10px 0 20px 0;
}

.info_txt span {
    font-size: 15px;
    color: #db4e24;
}

/** info_box_wrap 끝//**/

/** table 시작**/
.table-responsive {
    overflow-x: auto;
    min-height: 1px;
}

.table-responsive table th,
.table-responsive table td {
    white-space: nowrap;
}

.table_con {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    border-top: 2px solid #1c90ba;
}

.table_con th {
    border: 1px solid #ddd;
    padding: 10px 0;
    background: #f1f1f1;
    text-align: left;
    padding: 10px 20px;
    font-size: 16px;
    white-space: nowrap;
}

.table_con td {
    border: 1px solid #ddd;
    padding: 10px 20px;
    color: #666;
    font-size: 16px;
    white-space: nowrap;
}

/** table 끝//**/




/* 상담과정 */
.counsel_step {}

.counsel_step .step_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.counsel_step .step {
    background: #f5f5f5;
}

.step .title {
    padding: 1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(51, 139, 155);
}

.step .title b {
    font-size: 18px;
    font-weight: normal;
}

.step .title .mdi {
    font-size: 18px;
}

.step .content {
    padding: 2rem 1rem 3rem;
    text-align: center;
}

.step .content .icon {
    font-size: 60px;
}

.step .line {
    display: block;
    width: 30px;
    margin: auto;
}

.step .content h4 {
    font-size: 20px;
    padding: 1rem 0 0.5rem;
}

.step .content p {
    font-size: 15px;
    opacity: 0.7;
}

/* 스텝 배경바꾸기 */
.box2 .title {
    background: #9b9b9b;
}

.box2 .content {
    background: #fff;
    border: 1px solid #ddd;
}

.box3 .title {
    background: rgb(201, 72, 21);
}

.box2 .content {}

.box4 .title {
    background: rgb(83, 83, 83);
}

.box4 .content {
    background: #fff;
    border: 1px solid #ddd;
}

.step_sub {
    padding-top: 2rem;
}

/* 상담프로그램 */
.counsel_content {}

.content_list {
    margin-bottom: 1rem;
}

.list_box {
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: 190px 1fr;
    margin-top: -1px;
}

.list_box div {
    padding: 2rem;
}

/* list_box 안에 스텝 */
.list_box .circle {
    display: flex;
    grid-gap: 10px;
    align-items: center;
}

.list_box .circle div {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgb(241, 89, 29);
}


.list_box h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    padding: 3rem 0;
}

.list_box h4 {
    display: inline-block;
    font-size: 22px;
    color: rgb(201, 72, 21);
    border-bottom: 2px solid
}

.list_box .list_program {
    font-size: 19px;
}

.list_program b {
    color: rgb(95, 158, 65);
}

/* 치료방법과단계 */
.list_care {
    background: #f3f3f3;
    display: grid;
    grid-template-columns: 170px 1fr;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.list_care div {
    padding: 2rem;
}

.list_care h5 {
    font-size: 18px;
    font-weight: normal;
}

.list_care strong {
    display: inline-block;
    font-size: 20px;
    padding-bottom: 5px;
    color: rgb(201, 72, 21);
}

.list_care p {
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.list_care p:last-child {
    border-bottom: none;
}

.list_care .mini {
    display: inline-block;
    padding-top: 5px;
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.4;
}

/* about */
.about_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    padding-bottom: 50px;
}

.about_box .counsel_step p {
    border: 1px solid #ddd;
    padding: 1.5rem;
}


/* 프로필 */

.profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 60px;
}

.profile b {
    display: inline-block;
    background: url(../img/dot.jpg) no-repeat left center;
    padding-left: 18px;
    font-size: 22px;
    margin-bottom: 1rem;
}

.profile p {
    padding-left: 18px;
    font-size: 17px;
    line-height: 1.6;
}


/**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 갤러리 box 시작 ******************************/
.sub_gall_list {
    margin: -10px -10px 0;
    overflow: hidden;
}

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

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

.sub_gall_list .gall_item a img {
    transition: all 1.2s;
    transform: scale(1);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.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 끝 ******************************/

/** product_list 시작**/
.business_tit {
    font-size: 30px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
}

.list_tit {
    font-size: 20px;
    font-weight: 800;
    color: #444;
    margin-top: 30px;
}

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

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

.product_list p b {
    color: #222;
}

/** product_list 끝**/

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

    /** table 시작**/
    .table_con th {
        font-size: 15px;
    }

    .table_con td {
        font-size: 15px;
    }

    .sub_container {
        padding: 50px 20px;
    }

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

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

    .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 strong {
        font-size: 27px;
    }

    .sub_banner_txt p {
        font-size: 17px;
        padding-top: 15px;
    }

    /** company_box 시작**/
    .company_box .company_txt h2 {
        font-size: 28px;
    }

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

    /** company_box 끝//**/

    /** product_list 시작**/
    .list_tit {
        font-size: 18px;
    }

    .product_list {
        padding: 20px;
    }

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

    /** product_list 끝//**/

}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width:768px) {
    .sub_container {
        padding: 50px 10px;
    }

    .sub_banner {
        height: 250px;
    }

    .sub_banner_txt {
        height: 300px;
    }

    .sub_banner_txt h2 {
        font-size: 16px;
        text-align: center;
    }


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

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

    /**company2_box 시작**/

    .company2_box {
        padding-top: 2rem;
    }

    .company2_box li {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: 1fr;
        border: 1px solid #ddd;
        margin-bottom: 1.5rem;
    }

    .company2_box .img {
        height: 200px;
    }

    .company2_box .text {
        padding: 2rem 1rem;
    }

    .company2_box h4 {
        padding-top: 0rem;
    }


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

    .company_box .company_txt h2 {
        font-size: 20px;
        margin-bottom: 0;
    }

    .company_box .company_txt h2 span img {
        height: 45px;
    }

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

    /**company_box 끝**/

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

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

    /**company_box2 끝//**/

    /* 상담항목 */
    .counsel .title_box {
        padding-bottom: 0;
    }

    .counsel .title_box h2 {
        font-size: 35px;
    }

    /* 서브타이틀 */
    .counsel .sub_title {
        padding-left: 18px;
        font-size: 21px;
        margin: 3rem 0 1rem;
    }

    .counsel .title_subp {
        font-size: 17px;
        padding: 20px;
    }


    /* 상담과정 */
    .counsel_step .step_wrap {
        grid-template-columns: 1fr 1fr;
        grid-gap: 11px;
    }

    .step .title b {
        font-size: 17px;
        font-weight: normal;
    }

    .step .title .mdi {
        font-size: 17px;
    }

    .step .content {
        padding: 1rem 1rem 2rem;
    }

    .step .content .icon {
        font-size: 50px;
    }

    .step .content h4 {
        font-size: 19px;
    }

    .step .content p {
        font-size: 14.5px;
    }


    /* 상담프로그램 */
    .list_box {
        grid-template-columns: 1fr;
    }

    .list_box div {
        padding: 1rem;
    }

    .list_box h4 {
        font-size: 19px;
    }


    .list_box h2 {
        font-size: 30px;
        padding: 2rem 0;
    }

    .list_box .list_program {
        font-size: 16px;
    }


    /* 치료방법과단계 */
    .list_care {
        grid-template-columns: 1fr;
    }

    .list_care div {
        padding: 1rem;
    }

    .list_care div:nth-child(1) {
        display: none;
    }

    .list_care h5 {
        font-size: 19px;
        font-weight: 500;
    }

    .list_care strong {
        display: inline-block;
        padding-bottom: 5px;
        font-size: 17px;
    }

    .list_care p {
        font-size: 16px;
        border-bottom: 1px solid #ddd;
        padding: 10px;
        line-height: 1.7;
    }

    .list_care p:last-child {
        border-bottom: none;
    }

    .list_care .mini {
        display: inline-block;
        padding-top: 5px;
        font-size: 14px;
        opacity: 0.75;
        line-height: 1.4;
    }


    /* about */
    .about_box {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 0px;
        padding-bottom: 20px;
    }

    /* 프로필 */

    .profile {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 30px;
        padding: 0 20px;
    }

    .profile b {
        font-size: 20px;
        margin-bottom: 0.2rem;
    }

    .profile p {
        font-size: 16px;
        line-height: 1.6;
    }

    .company_box p {
        font-size: 16px;
        line-height: 1.6;
        padding: 10px 0;
    }

    .company_box b {
        font-size: 18px;
        line-height: 1.5;
    }



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

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

    /** product_list 시작**/
    .list_tit {
        font-size: 17px;
    }

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

    .product_list p span {
        display: block;
    }

    .product_list {
        padding: 10px;
    }

    /** product_list 끝//**/
    /** info_box_wrap 시작**/
    .info_box_wrap h3 {
        font-size: 18px;
    }

    .info_box p {
        font-size: 14px;
    }

    .info_box span {
        font-size: 13px;
    }

    .info_txt p {
        font-size: 14px;
    }

    .info_txt span {
        font-size: 13px;
    }

    /** info_box_wrap 끝//**/

    /** table 시작**/
    .table_con th {
        font-size: 14px;
    }

    .table_con td {
        font-size: 14px;
    }

    /* 갤러리 */
    .sub_gall_list .gall_item a {
        height: 120px;
    }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width:480px) {
    .block {
        height: 70px;
    }

    .sub_banner {
        height: 220px;
    }

    .sub_banner_txt {
        height: 250px;
        justify-content: center;
    }

    /** company_box 시작**/
    .company_box .company_txt h2 {
        font-size: 18px;
    }

    .company_box .company_txt h2 span img {
        height: 34px;
    }

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

    /** company_box 끝//**/

    /** product_list 시작**/
    .list_tit {
        font-size: 16px;
        margin-top: 20px;
    }

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

    .product_list {
        padding: 10px;
    }

    /** product_list 끝//**/
}

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