@charset "utf-8";

/*-------------------------------------------------
Author : WB,Seo
Create date : 2022. 09. 22.
Last update : 2022. 00. 00. 10:47
-------------------------------------------------*/

/* ==================================
    MOBILE
=================================== */
/* ============= VISUAL === */
#visual {
    margin-top: -55px;
    overflow: hidden;
}
.visual-wrap article {
    position: relative;
    height: 600px;
    background: url(/image/main/visual1_m.jpg) no-repeat center/cover;
    text-align: center;
    align-items: center;
}
.visual-wrap .visual-txt {
    position: absolute;
    top: 55%; left: 50%; transform: translate(-50%,-50%);
    padding: 0 17px;
    width: 100%;
    text-align: center;
    word-break: keep-all;
}
.visual-wrap article h4 {
    font-size: 2.8rem; color: #fff;
    font-weight: 400;
    line-height: 36px;
    white-space: pre-line;
}
.visual-wrap article p {
    margin: 23px 0 26px;
    font-size: 1.5rem; color: #fff;
    line-height: 22px;
    white-space: pre-line;
}
.visual-wrap article a {
    display: block;
    width: 160px; height: 42px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 41px;
    background: #fff;
    text-align: center;
}
.visual-wrap article.sl02 {background-image: url(/image/main/visual2_m.jpg)}
.visual-wrap article.sl03 {background-image: url(/image/main/visual3_m.jpg)}
.visual-wrap article.sl04 {background-image: url(/image/main/visual4_m.jpg)}
.visual-wrap article.sl05 {background-image: url(/image/main/visual5_m.jpg)}
/* === slick option */
.visual-wrap .slick-dots {
    position: absolute;
    bottom: 32px; left: 17px;
    opacity: 0.8;
}
.visual-wrap .slick-dots li {
    float: left;
    width: 16px; height: 16px;
    margin-right: 7px;
    font-size: 0;
    border: 1px solid #fff;
    border-radius: 100%;
    cursor: pointer;
}
.visual-wrap .slick-dots li.slick-active {background: #fff;}

/* ============= Funeral 국가장 참여업체 === */
.funeral-wrap {
    background: #f8f8f8 url(/image/main/funeral_flag_m.jpg) no-repeat top left/100%;
    text-align: center;
}
.funeral-wrap .cont-wrap {margin-bottom: 23px;}
.funeral-wrap .cont-wrap h3 {font-size: 2.3rem;}
.funeral-wrap .cont-wrap .funeral-imgs {
    max-width: 375px; height: 206px;
    margin: 17px auto;
    background: url(/image/main/funeral_imgs_m.jpg) no-repeat center/cover;
}
.funeral-wrap .cont-wrap p {
    font-size: 1.5rem;
    line-height: 22px;
}
.funeral-wrap .video-wrap {
    height: 200px;
    background: #000;
}
.funeral-wrap .video-wrap video {width: 100%; height: 100%;}

/* ============= Product 장례상품 === */
.product-wrap h3 {
    position: relative;
    margin-bottom: 33px;
    font-size: 2.3rem;
    text-align: center;
}
.product-wrap h3 .eng {
    display: block;
    margin: 0 -2rem 10px 0;
    font-size: 1.2rem;
    letter-spacing: 2rem;
}
.product-wrap h3:before,
.product-wrap h3:after {
    position: absolute;
    content: '';
    bottom: 10px; left: 0;
    width: 40px; height: 1px;
    background: #161616;
}
.product-wrap h3:after {left: auto; right: 0;}
.product-wrap .product-item:nth-child(n+2) {margin-top: 32px;}
.product-wrap .product-item .img-box {
    position: relative;
    height: 210px;
    background: url(/image/main/product1_m.jpg) no-repeat center/cover;
}
.product-wrap .product-item .img-box .cont-wrap {
    position: absolute;
    bottom: 0; left: 0;
    width: 85.33%; height: 58px;
    padding-top: 17px;
    background: #fff;
}
.product-wrap .product-item .img-box .cont-wrap .eng {
    display: block;
    margin-bottom: 7px;
    font-size: 1.2rem;
}
.product-wrap .product-item .img-box .cont-wrap .name {font-size: 1.8rem;}
.product-wrap .product-item .dsc-txt {
    margin: 12px 0 25px;
    font-size: 1.5rem; color: #6e6e6e;
    line-height: 21px;
    white-space: pre-line;
}
.product-wrap .product-item .dsc-txt + a {font-size: 1.5rem;}
.product-wrap .product-item .dsc-txt + a:before {
    display: inline-block;
    content: '';
    width: 46px; height: 1px;
    margin-right: 13px;
    background: var(--point2);
    vertical-align: middle;
}
.product-wrap .product-item.type2 .img-box {background-image: url(/image/main/product2_m.jpg);}
.product-wrap .product-item.type3 .img-box {background-image: url(/image/main/product3_m.jpg);}
.product-wrap .product-item.type4 .img-box {background-image: url(/image/main/product4_m.jpg);}

/* ============= callCenter 콜센터 === */
.call-wrap {
    padding: 76px 17px 0;
    height: 263px;
    color: #fff;
    background: url(/image/main/callcenter_bg_m.jpg) no-repeat center/cover;
    box-shadow: 0px 2px 8.91px 0.09px rgba(0, 0, 0, 0.15);
    text-align: center;
}
.call-wrap .cs-txt h4 {
    margin-bottom: 6px;
    font-size: 2.8rem;
    line-height: 36px;
    white-space: pre-line;
}
.call-wrap .cs-txt p {
    font-size: 1.5rem;
    line-height: 23px;
    white-space: pre-line;
}

/* ============= service 서비스모음 === */
/* === 회사소개 / 서비스경쟁력 */
.service-wrap .company-common h4 {
    font-size: 2.1rem;
    font-weight: 400;
}
.service-wrap .company-common h4 a {
    display: block;
    color: #fff;
    height: 130px;
    padding: 92px 4.533% 0;
    background: url(/image/main/facilities_bg_m.jpg) no-repeat center/cover;
}
.service-wrap .company-common.intro h4 {text-align: right;}
.service-wrap .company-common.intro h4 a {background-image: url(/image/main/greet_bg_m.jpg);}

/* === 부고알림 */
.service-wrap .obituary {padding: 66px 17px;}
.service-wrap .obituary .tit-area {position: relative;}
.service-wrap .obituary h4 {
    margin-bottom: 27px;
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
}
.service-wrap .obituary h4 + a {
    position: absolute;
    top: 0; right: 0;
    width: 30px; height: 30px;
    font-size: 1.6rem; color: #5c5c5c;
    line-height: 27px;
    text-align: center;
    border: 1px solid #5c5c5c;
}
.service-wrap .obituary-item {
    padding: 16px 18px;
    margin-bottom: 6px;
    background: #f8f8f8;
}
.service-wrap .slick-slide:nth-child(2n) .obituary-item{background: #f4f2f0;}
.service-wrap .obituary-item p {
    float: left;
    font-size: 1.5rem; color: #515151;
}
.service-wrap .obituary-item i.date {
    float: right;
    font-size: 1.3rem; color: #7f7e7e;
}

/* ==================================
    PC
=================================== */
@media screen and (min-width:1084px){
    /* ============= VISUAL === */
    .visual-wrap {width: 1780px; margin: 0 auto;}
    .visual-wrap article {
        padding: 480px 0 0 189px;
        display: block;
        height: 760px;
        background-image: url(/image/main/visual1.jpg);
        text-align: left;
    }
    .visual-wrap .visual-txt {
        position: static;
        transform: translate(0,0);
        text-align: left;
    }
    .visual-wrap article h4 {
        font-size: 3.6rem;
        line-height: 50px;
        letter-spacing: -0.05rem;
    }
    .visual-wrap article p {
        margin-top: 26px;
        font-size: 1.6rem;
        line-height: 1;
        white-space: normal;
    }
    .visual-wrap article a {
        height: 45px;
        margin: 0;
        font-size: 1.6rem;
        line-height: 45px;
    }
    .visual-wrap article.sl02 {background-image: url(/image/main/visual2.jpg)}
    .visual-wrap article.sl03 {background-image: url(/image/main/visual3.jpg)}
    .visual-wrap article.sl04 {background-image: url(/image/main/visual4.jpg)}
    .visual-wrap article.sl05 {background-image: url(/image/main/visual5.jpg)}
    /* === slick option */
    .visual-wrap .slick-dots {
        bottom: 32px; left: auto;
        right: 46px;
    }

    /* ============= Funeral 국가장 참여업체 === */
    #funeral {
        margin-top: -60px;
        padding: 129px 0 87px;
        background: #f8f8f8;
    }
    .funeral-wrap {
        display: flex;
        width: 1194px;
        margin: 0 auto;
        justify-content: space-between;
        background: none;
        text-align: left;
    }
    .funeral-wrap .cont-wrap {
        position: relative;
        width: 794px;
        margin: 0;
        z-index: 2;
    }
    .funeral-wrap .cont-wrap:after {
        position: absolute;
        top: -60px; left: -250px;
        content: '';
        width: 557px; height: 319px;
        background: url(/image/main/funeral_flag.jpg) no-repeat center/cover;
        z-index: -1;
    }
    .funeral-wrap .cont-wrap h3 {font-size: 2.8rem;}
    .funeral-wrap .cont-wrap .funeral-imgs {
        max-width: none;
        width: 794px; height: 130px;
        margin: 21px 0 28px;
        background-image: url(/image/main/funeral_imgs.jpg);
    }
    .funeral-wrap .cont-wrap p {
        font-size: 1.6rem;
        font-weight: 300;
        line-height: 24px;
        white-space: pre-line;
    }
    .funeral-wrap .video-wrap {
        margin-top: 27px;
        width: 354px; height: 227px;
        background: #000;
    }

    /* ============= Product 장례상품 === */
    .product-wrap {padding: 80px 0 72px;}
    .product-wrap h3 {
        width: 706px;
        margin: 0 auto 57px;
        font-size: 3.2rem;
    }
    .product-wrap h3 .eng {
        margin-bottom: 17px;
        font-size: 1.4rem;
    }
    .product-wrap h3:before,
    .product-wrap h3:after {
        bottom: 15px;
        width: 140px;
    }
    .product-wrap .product-items {
        max-width: 1390px;
        min-width: 1200px;
        display: flex;
        margin: 0 auto;
        justify-content: space-between;
    }    
    .product-wrap .product-item:nth-child(n+2) {margin: 0;}
    .product-wrap .product-item {width: 22.32%;}
    .product-wrap .product-item .img-box {
        height: 420px;
        background-image: url(/image/main/product1.jpg);
    }
    .product-wrap .product-item .img-box .cont-wrap {
        width: 250px; height: 76px;
        padding-top: 21px;
    }
    .product-wrap .product-item .img-box .cont-wrap .eng {
        margin-bottom: 13px;
        font-size: 1.6rem;
    }
    .product-wrap .product-item .img-box .cont-wrap .name {font-size: 2.4rem;}
    .product-wrap .product-item .dsc-txt {
        margin: 26px 0 42px;
        font-size: 1.6rem;
        line-height: 24px;
    }
    .product-wrap .product-item .dsc-txt + a {
        position: relative;
        font-size: 1.5rem;
        z-index: 2;
    }
    .product-wrap .product-item .dsc-txt + a:before {
        position: relative;
        margin-right: 20px;
        z-index: -1;
    }
    .product-wrap .product-item .dsc-txt + a:after {
        position: absolute;
        content: '';
        width: 46px; height: 1px;
        top: 11px; left: 0;
        background: #fff;
        transform: translateX(-100%);
        z-index: -1;
    }
    .product-wrap .product-item .dsc-txt + a:hover:after {
        transform: translateX(100%);
        transition: .7s;
    }
    .product-wrap .product-item.type2 .img-box {background-image: url(/image/main/product2.jpg);}
    .product-wrap .product-item.type3 .img-box {background-image: url(/image/main/product3.jpg);}
    .product-wrap .product-item.type4 .img-box {background-image: url(/image/main/product4.jpg);}

    /* ============= callCenter 콜센터 === */
    .call-wrap {
        width: 1780px; height: 480px;
        padding: 158px 0 0;
        margin: 0 auto;
        background-image: url(/image/main/callcenter_bg.jpg);
    }
    .call-wrap .cs-txt h4 {
        margin-bottom: 28px;
        font-size: 5.4rem;
        line-height: 66px;
    }
    .call-wrap .cs-txt p {
        font-size: 1.6rem;
        line-height: 1;
        white-space: normal;
    }

    /* ============= service 서비스모음 === */
    /* === 회사소개 / 서비스경쟁력 */
    #service {position: relative;}
    #service:after {
        position: absolute;
        content: '';
        top: -388px; left: 0;
        width: 573px; height: 804px;
        background: url(/image/main/csgroup_figure_bg.png) no-repeat center/contain;
        z-index: -1;
    }
    .service-wrap {
        display: flex;
        width: 1236px;
        margin: 0 auto 85px;
        padding-top: 92px;
    }
    .service-wrap .company-common {
		height: 416px;
        position: relative;
        padding: 0 19px;
        border-right: 1px solid #e6e6e6;
    }
    .service-wrap .company-common.intro {
        padding-left: 0;
        text-align: left;
    }
    .service-wrap .company-common h4 {
        margin: 56px 0 19px;
        font-size: 2.4rem;
    }
    .service-wrap .company-common h4 a {
        color: var(--point);
        background: none;
        height: auto;
        padding: 0;
        cursor: default;
        text-align: left;
    }
    .service-wrap .company-common.intro h4 a {background: none;}
    .service-wrap .company-common i.img {
        display: block;
        width: 380px; height: 180px;
        background: url(/image/main/facilities_bg.jpg) no-repeat center/cover;
    }
    .service-wrap .company-common.intro i.img {background-image: url(/image/main/greet_bg.jpg)}
    .service-wrap .company-common .text-wrap p {
        font-size: 1.6rem; color: #7f7e7e;
        line-height: 24px;
        white-space: pre-line;
    }
    .service-wrap .company-common .text-wrap > a {
        position: absolute;
        bottom: 0; left: 19px;
        width: 160px; height: 46px;
        font-size: 1.6rem; color: #5c5c5c;
        font-weight: 300;
        line-height: 45px;
        text-align: center;
        border: 1px solid #5c5c5c;
    }
    .service-wrap .company-common.intro .text-wrap > a {left: 0;}
    
    /* === 부고알림 */
    .service-wrap .obituary {
        width: 400px;
        padding: 20px 0 20px 30px;
    }
    .service-wrap .obituary .tit-area {position: relative;}
    .service-wrap .obituary h4 {
        margin-bottom: 27px;
        font-size: 2.8rem;
        font-weight: 400;
        text-align: center;
    }
    .service-wrap .obituary h4 + a {
        position: absolute;
        top: 0; right: 0;
        width: 30px; height: 30px;
        font-size: 1.6rem; color: #5c5c5c;
        line-height: 27px;
        text-align: center;
        border: 1px solid #5c5c5c;
    }
    .service-wrap .obituary-item {
        padding: 16px 18px;
        margin-bottom: 6px;
        background: #f8f8f8;
    }
    .service-wrap .slick-slide:nth-child(2n) .obituary-item{background: #f4f2f0;}
    .service-wrap .obituary-item p {
        float: left;
        font-size: 1.5rem; color: #515151;
    }
    .service-wrap .obituary-item i.date {
        float: right;
        font-size: 1.3rem; color: #7f7e7e;
    }
}