@charset "utf-8";
@font-face {
    font-family: nnsB;
    src:url(../fonts/NanumSquareB.eot?#iefix) format("embedded-opentype");
    src:url(../fonts/NanumSquareB.woff) format("woff");
}
@font-face {
    font-family: nnsR;
    src:url(../fonts/NanumSquareR.eot?#iefix) format("embedded-opentype");
    src:url(../fonts/NanumSquareR.woff) format("woff");
}
@font-face {
  font-family: notoR;
  src: url(../font/NotoSansKR-Regular.otf);
}
@font-face {
  font-family: ngR;
  src: url(../font/NanumGothic-Bold.ttf);
}


/* reset */
* {margin: 0 auto; padding: 0; box-sizing: border-box;}

ul, ol {list-style-type: none;}

hr {display: none;}

h1 {margin: 0; font-family: nnsR, sans-serif; font-weight: normal;}
a {text-decoration: none; color: #000;}
button {border: none; background: none; text-indent: -9999px;}
img {border: none;}
html {font-size: 0.625em;}
body {line-height: 1; font-family: nnsR, sans-serif;}
.blind {position: absolute; top: -9999px; left: -9999px;}


@keyframes textdown {
    0% {opacity: 0; transform: translateY(-20px); }
    100% {opacity: 1; transform: translateY(0px);}
}



/* text ... */
.break {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.break2 {    /* title ... */
    word-wrap: break-word !important; word-break: break-all !important;
}
.break3 {    /* content ... */
    word-wrap: break-word !important; word-break: break-all !important;
    white-space: pre-wrap !important;
}


/* logout 팝업창 */
.logoutpopup {
    position: fixed; z-index: 200; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.7);
}

.logoutpopup .loutpopCover {
    position: fixed; top: 30%; left: 50%; margin-left: -130px; padding: 30px 20px 20px;
    width: 260px;
    background: #fff; border-radius: 5px;
}
.loutpopCover div {
    width: 100%;
}
.logoutpopup p {
    padding: 5px 0;
    font-size: 1.6rem; line-height: 20px; font-weight: 600; color: #555; text-align: center;
}
.logoutpopup input {
    margin-top: 30px;
    width: 49%; height: 30px;
    font-size: 1.6rem; line-height: 30px; color: #fff;
    background: #555; border: none;
    cursor: pointer;
}
.logoutpopup input:hover {

}
.logoutpopup input:nth-of-type(1) {
    border-right: 1px solid #fff;
}



/* 내용빠짐 popup */
.popup {
    position: fixed; top: 0; z-index: 200;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.6);
}
.popup .popupCover {
    position: relative; top: 50%; left: 50%; margin-left: -150px;
    margin-top: -100px;
    width: 300px; height: 150px;
    background: #fff; border-top-left-radius: 5px; border-top-right-radius: 5px;
}
.popup p {
    padding: 50px 30px;
    width: 100%;
    font-size: 1.6rem; line-height: 20px; color: #333; text-align: center;
}
.popup p b {
    line-height: 30px;
}

.popup .popupBtn {
    font-size: 1.6rem; line-height: 50px; text-align: center; color: #fff;
    background: #333; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;
}
.popup .popupBtn span {
    display: inline-block;
    width: 49%; height: 40px;
}




/* header */
header {
    min-width: 1400px;
}
.topnav {
    position: fixed; top:0; z-index: 100;
    width: 100%; height: 30px;
    background: #000;
}
.topnav ul {
    width: 1000px; height: 30px; padding-left: 830px;
}
.topnav li {
    margin: 8px;
    float: left; margin-right: 30px;
}
.topnav li:last-child {
    margin-right: 0;
}
.topnav a {
    font-size: 1.5rem;
    color: #fff;
}

.mainHeader {
    position: fixed; top: 30px; z-index: 20;
    width: 100%; min-width: 1400px; height: 70px; background-color: rgba(0,0,0,.5);
    /*box-shadow: 0px 5px 5px rgba(0,0,0,.3);*/
}
.navCover {
    width: 100%;
}
.mainNav {
    position: relative;
    width: 1000px; height: 70px;
}
.topLogo {
    float: left; margin-bottom: 0;
    width: 90px;
}
.mainNav:after {
    content: "";
    display: block;
    clear: both;    
}
.topLogo img {
    width: 90px; margin: 12px auto;
}
.topMenu {
    float: left;
    padding-left: 60px;
}
.topMenu > li {
    float: left; height: 70px; margin-right: 30px;
}
.topMenu > li:nth-of-type(7) {
    margin-right: 0;
}
.topMenuLi > a {
    display: block; margin-top: 26px;
    width: 70px; font-size: 1.7rem; text-align: center;
    height: 20px; color: #fff;
}
.topMenuLi ul {
    display: none; position: absolute; top: 0;
    width: 15%; margin-top: 70px; margin-left: -35px;
}
.topMenuLi:hover ul {
    display: block; 
    background: rgba(255,255,255,.9); text-align: center;
    box-shadow: 0px 3px 5px rgba(0,0,0,.2);
}


.topMenuLi li {
    text-align: left; font-size: 1.6rem; margin: 20px 15px;
}
.topMenuLi li:hover a {
    color: #855451; border-bottom: 1px solid #855451;
}
.search {
    position: relative;
    margin: 0; margin-right: 30px; padding: 15px 0;
    width: 200px; height: 70px;
}
.search .searchTxt {
    height: 40px; padding: 10px 14px;
    border: 1px solid #fff; border-radius: 20px;
    background: none;
}
.search .searchTxt::placeholder {
    color: #fff;
}
.search .serchBtn {
    position: absolute; top: 25px; left: 75%; text-indent: -9999px; width: 20px;
    background: url(../img/index-header-searchIcon.png) no-repeat; background-size: 18px; border: none;
    cursor: pointer;
}
        /* search x btn clear */
.search input::-ms-clear,
.search input::-ms-reveal {display: none; width : 0; height: 0;}
.search input::-webkit-search-decoration,
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-results-button,
.search input::-webkit-search-results-decoration { display: none; }

.reserv {
    padding: 13px 5px;
    width: 120px; height: 70px;
    background: #553622; color: #fff; font-size: 1.6rem; line-height: 20px; text-align: center;
}
.rephone {
    font-size: 1.6rem; color: #ffd800;
}



/* topbanner */
.topbanner {
    position: relative; top: 0px;
    z-index: 10;
    width: 100%; min-width: 1400px;
    height: 500px;
    overflow: hidden;
}

.slick-arrow{
    z-index: 20; /* prev버튼은 위치 이동시 이미지 뒤로 숨겨짐 */
    position:absolute;  /* 원하는 위치에 지정  */
    top: 50%; 
    width: 25px; 
    height: 50px; 
    transform: translateY(-25px);
    cursor: pointer;
}
 
.slick-prev.slick-arrow{ /* prev 이전 */
	left: 15px;
    background-image: url(../img/controls3.png); background-position: 5% 50%;
}
.slick-next.slick-arrow{ /* next 다음 */
	right: 15px;
    background-image: url(../img/controls3.png); background-position: 95% 50%;
}

.slider a {
    position: relative; display: block;
    width: 100%; height: 500px;
}
.slider a .banImg {
    height: 500px;
}
.slider a .banImg img {
    width: 100%; height: 100%;
}
.slider a .banTxt {
    position: absolute; top: 100px; left: 50%; margin-left: -500px;
    width: 1000px; 
}
.slider a .banTxt img {
    margin: 0 auto;
    width: 60%;
    animation: textdown 1s;
}




/* 바로가기 */

.gonowBtn {
    position: relative;
    min-width: 1400px; height: 300px;
}
.gonowBtn .line {
    display: block; padding-top: 80px;
    width: 100%; height: 1px; border-bottom: 1px solid #d1d1d1;
}
.gonowBtn ul {
    position: absolute; top: -10px; left: 50%; margin-left: -500px; margin-top: 80px;
    width: 1000px;
}
.gonowBtn ul:after {
    content: "";
    display: block;
    clear: both;
}
.gonowBtn li {
    float: left; text-align: center;
    width: 20%;
}
.gonowBtn .circle {
    display: block; margin-top: 4px;
    width: 12px; height: 12px;
    border: 1px solid #d1d1d1; border-radius: 6px;
    background: #fff;
}
.gonowBtn li:hover .circle {
    width: 20px; height: 20px; margin-top: 0;
    border: none; border-radius: 10px;
    background: #ffd800;
}
.gonowBtn li .goIcon {
    display: block; margin-top: 10px;
    width: 70px; height: 70px;
    border-radius: 35px;
}
.gonowBtn li:hover .goIcon {
    width: 75px; height: 75px; margin-left: 3px;
    border-radius: 35px;
}
.gonowBtn li:nth-child(1) .goIcon {
    background: #f0ebeb url(../img/index-header-gobtn-member.png) no-repeat; background-size: 75%; background-position: center center;
}
.gonowBtn li:nth-child(2) .goIcon {
    background: #f0ebeb url(../img/index-header-gobtn-goods.png) no-repeat; background-size: 75%; background-position: center center;
}
.gonowBtn li:nth-child(3) .goIcon {
    background: #f0ebeb url(../img/index-header-gobtn-note.png) no-repeat; background-size: 75%; background-position: center center;
}
.gonowBtn li:nth-child(4) .goIcon {
    background: #f0ebeb url(../img/index-header-gobtn-review.png) no-repeat; background-size: 75%; background-position: center center;
}
.gonowBtn li:nth-child(5) .goIcon {
    background: #f0ebeb url(../img/index-header-gobtn-mobile.png) no-repeat; background-size: 75%; background-position: center center;
}
.gonowBtn a {
    display: block;
    width: 40%;
}
.gonowBtn a p {
    display: block; margin-top: 10px;
    font-size: 1.6rem;
}
.gonowBtn li:hover p {
    font-size: 1.8rem;
}



/* 해쉬태그 공통 */
.hashTag {
    width: 1000px;
    font-size: 1.6rem; margin-top: 30px;
}
.hashTag a {
    display: block; float: left; margin: 5px; padding: 0px 20px;
    height: 34px;
    color: #000; line-height: 34px; border: 1px solid #ccc; border-radius: 17px; background-color: #fff; text-align: center;
}
.hashTag a:hover {
    border: 1px solid #ffd800; background-color: #ffd800;
}
.hashTag:after {
    content: "";
    display: block;
    clear: both;
}

/* h1 공통 */
h1 {
    margin-bottom: 30px;
    font-weight: normal; font-size: 3rem; text-align: center; color: #555;
}
.strongT {
     font-family: nnsB, sans-serif; color: #333;
}

/* 추천 장례서비스 */

.mainSection1 {
    width: 1400px; margin-bottom: 120px;
}
.mainSection1 .serv {
    width: 1000px;
}
.mainSection1 .serv div {
    float: left; margin: 0 6.6px 20px; overflow: hidden;
    width: 320px; height: 280px; text-align: left;
    border:1px solid #aaa; border-radius: 10px;
}
.mainSection1 .serv .nodiv {
    margin: 0;
    width: 100%; height: 100px; padding-top: 30px;
    color: #555; border: none; text-align: center;
}
.mainSection1 .serv:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection1 .serv a {
    display: block;
    width: 100%; height: 100%;
}
.mainSection1 .serv img {
    width: 318px; height: 200px; border-top-left-radius: 9px; border-top-right-radius: 9px;
}

.mainSection1 .serv div:hover img {
    transform: scale(1.05);
    transition: .3s;
}
.mainSection1 .serv p {
    margin: 16px 20px 0;
    font-size: 2rem; font-family: nnsB, sans-serif;
}
.mainSection1 .serv b {
    display: block; padding: 10px 20px 0;
    font-size: 1.6rem; font-weight: normal;
}
.mainSection1 .nodiv p {
    font-size: 1.8rem; font-weight: normal; font-family: nnsR, sans-serif;
}


/* 추천 장지서비스 */
.mainSection2 {
    width: 1400px; margin-bottom: 120px;
}
.mainSection2 .serv {
    width: 1000px;
}
.mainSection2 .serv div {
    float: left; margin-right: 20px;
    width: 320px; overflow: hidden; border-radius: 10px;
}
.mainSection2 .serv .nodiv {
    width: 100%; margin-right: 0; height: 100px; padding-top: 30px;
    color: #555; border: none; text-align: center;
}
.mainSection2 .serv div:last-child {
    margin-right: 0;
}
.mainSection2 .serv:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection2 .serv a {
    width: 100%; height: 100%;
}
.mainSection2 .serv img {
    display: block;
    width: 320px; height: 240px;
    border: 1px solid #ccc; border-radius: 10px;
}
.mainSection2 .serv div:hover img {
    transform: translateY(0) scale(1.03);
    transition: .3s;
}
.mainSection2 p {
    margin: 20px 0px 0px; 
    font-size: 2rem; line-height: 30px; font-family: nnsB, sans-serif;
}
.mainSection2 .nodiv p {
    font-size: 1.8rem; font-weight: normal; font-family: nnsR, sans-serif;
}


/* 편의 서비스 */
.mainSection3 {
    width: 100%; min-width: 1400px; margin-bottom: 120px;
    background: #f5f5f0;
}
.mainSection3 .serv {
    width: 1000px; padding-bottom: 40px;
}
.mainSection3 h1 {
    padding-top: 40px;
    width: 100%; 
}
.mainSection3 .serv div {
    float: left; margin: 0 50px;
    width: 200px; height: 200px;
    border-radius: 100px;
}
.mainSection3 .serv div:hover {
    border: 2px solid #bbb;
}
.mainSection3 .serv div:hover a {
    background: rgba(255,255,255,.8);
}
.mainSection3 .serv div:hover p {
    color: #000; font-family: nnsB, sans-serif;
}
.mainSection3 .serv:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection3 .serv a {
    display: block;
    width: 100%; height: 100%;
    border-radius: 100px; background: rgba(0,0,0,.6);
}
.mainSection3 .serv div:nth-of-type(1) {
    margin-left: 100px;
    background: url(../img/index-handy_mobile.jpg) no-repeat; background-size: auto; background-position: center center;
}
.mainSection3 .serv div:nth-of-type(2) {
    background: url(../img/index-handy_flower.jpg) no-repeat; background-size: auto; background-position: center center;
}
.mainSection3 .serv div:nth-of-type(3) {
    margin-right: 100px;
    background: url(../img/index-handy_rent.jpg) no-repeat; background-size: auto; background-position: center center;
}
.mainSection3 .serv p {
    padding-top: 43%;
    font-size: 2.4rem; text-align: center;
    color: #fff;
}


/* 더보기 공통 */
.moreBtn {
    display: block; float: right; margin-right: 200px; 
    font-size: 1.5rem; color: #555;
}


/* 봉안함 */
.mainSection4 {
    width: 1400px; margin-bottom: 120px;
}
.mainSection4 h1 {
    margin-bottom: 0;
}
.mainSection4 .sells {
    width: 1000px; margin-top: 100px;
}
/*
.mainSection4 .sells swiper-slide {
    float: left; margin-right: 10px;
    width: 190px; text-align: center;
}
*/
.mainSection4 .sells .nodiv {
    width: 100%; margin-right: 0; height: 100px; padding-top: 30px;
    color: #555; border: none; text-align: center;
}
/*
.mainSection4 .sells div:last-child {
    margin-right: 0;
}
*/
.mainSection4 .sells:after {
    content: "";
    display: block;
    clear: both;
}
/*
.mainSection4 .sells div:hover img {
    transform: scale(1.05);
    transition: .2s;
}
*/
.mainSection4 .sells img {
    width: 100%;
}
.mainSection4 .sells p {
    margin-top: 10px;
    font-size: 2rem; text-align: center;
}
.mainSection4 .nodiv p {
    font-size: 1.8rem; font-weight: normal; font-family: nnsR, sans-serif;
}


/* 장례 정보 */
.mainSection5 {
    width: 1400px; margin-bottom: 120px;
}
.mainSection5 h1 {
    margin-bottom: 0;
}
.mainSection5 .info {
    width: 1000px; margin-top: 30px;
}
.mainSection5 .info div {
    float: left; margin-right: 20px; overflow: hidden;
    width: 320px; height: 240px;
    border: 1px solid #ccc; border-radius: 10px;
}
.mainSection5 .info div:last-child {
    margin-right: 0;
}
.mainSection5 .info:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection5 .info img {
    display: block;
    width: 318px; height: 238px; border-radius: 9px;
}
.mainSection5 .info div:hover img {
    transform: scale(1.05);
    transition: .2s;
}
.mainSection5 .info p {
    margin-top: 30px;
    font-size: 2rem; text-align: center;
}



/* 장례후기 */
.mainSection6 {
    width: 100%; min-width: 1400px; margin-bottom: 120px;
    background: #f0f0eb;
}
.mainSection6 .moreCover {
    width: 1000px;
}
.mainSection6 .moreBtn {
    margin-right: 0px;
}
.mainSection6 .review {
    width: 1000px; margin-top: 30px; padding-bottom: 40px;
}
.mainSection6 h1 {
    padding-top: 40px; margin-bottom: 0;
    width: 100%; 
}
.mainSection6 .review >  .swiper-wrapper .swiper-slide {
    /*float: left; */
    /*margin: 0 10px;*/
    /*width: 320px; */
    height: 200px;
    border: 1px solid #ccc; border-radius: 5px; background: #f8f8f8;
}
.mainSection6 .review .nodiv {
    width: 100%; margin-right: 0; height: 100px; padding-top: 30px;
    color: #555; border: none; text-align: center;
    background: none;
}
.mainSection6 .nodiv p {
    font-size: 1.8rem; font-weight: normal; font-family: nnsR, sans-serif;
}
.mainSection6 .review .swiper-wrapper .swiper-slide:last-child {
    margin-right: 0;
}
.mainSection6 .review:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection6 .review .swiper-wrapper .swiper-slide a {
    display: block; padding: 25px;
    width: 100%; height: 100%;
}
.mainSection6 .review .r_tit {
    display: block;
    font-size: 1.6rem; color: #777;
}
.mainSection6 .review .swiper-wrapper .swiper-slide .r_txt {
    margin-top: 20px; max-height: 112px;
    font-size: 1.8rem;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:4; /* 라인수 */
    -webkit-box-orient:vertical;
    word-wrap:break-word;
    line-height:28px;
    height: 112px; /* height = line-height * 줄수 : 비wekkit 계열 */
}


/* 스토리 */
.mainSection7 {
    width: 1400px; margin-bottom: 120px;
}
.mainSection7 h1 {
    margin-bottom: 0;
}
.mainSection7 .story {
    width: 1000px; margin-top: 30px;
}
.mainSection7 .story .swiper-wrapper .swiper-slide {
    /*
    float: left; margin-right: 20px;
    width: 320px; 
    */
    overflow: hidden; border-radius: 10px;
}
.mainSection7 .story .nodiv {
    width: 100%; margin-right: 0; height: 100px; padding-top: 30px;
    color: #555; border: none; text-align: center;
    background: none;
}
.mainSection7 .story .swiper-wrapper .swiper-slide:last-child {
    margin-right: 0;
}
.mainSection7 .story:after {
    content: "";
    display: block;
    clear: both;
}
.mainSection7 .story img {
    display: block;
    width: 318px; height: 238px;
    border: 1px solid #ccc; border-radius: 10px;
}
.mainSection7 .story .swiper-wrapper .swiper-slide:hover img {
    transform: scale(1.03);
    transition: .5s;
}
.mainSection7 .story p {
    margin-top: 16px;
    font-size: 1.6rem;
}
.mainSection7 .story b {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
}
.mainSection7 .nodiv p {
    font-size: 1.8rem; font-weight: normal; font-family: nnsR, sans-serif;
}



/* 하단 배너 */
.bottombanner {
    width: 1400px; margin-bottom: 120px;
}
.bottombanner .bannerCover {
    width: 1000px; margin: 0 200px;
}
.bottombanner div {
    float: left; margin-right: 20px; margin-bottom: 10px;
    width: 490px;
}

.bannerCover div img {
    width: 100%; height: 100%;
}
.bottombanner div:nth-of-type(even), .bottombanner div:last-child {
    margin-right: 0;
}
.bottombanner:after {
    content: "";
    display: block;
    clear: both;
}



/* footer */
.footer {
    width: 100%; min-width: 1400px;
    border-top: 1px solid #ccc;
}
.footone {
    min-width: 1400px; border-bottom: 1px solid #ccc;
}
.footone ul {
    width: 1000px; height: 50px;
}
.footone li {
    float: left; margin-right: 40px;
    font-size: 1.4rem; color: #333; line-height: 50px;
}
.footone li:last-child {
    float: right; margin-right: 0;
}
.footone .callNb {
    font-size: 2.4rem; line-height: 50px;
}

.foottwo {
    min-width: 1400px; height: 100px;
}
.foottwo ul {
    width: 1000px; padding-top: 20px;
}
.foottwo li {
    float: left;  margin-left: 1%;
    width: 45%;
    font-size: 1.4rem; color: #333; line-height: 24px;
}
.foottwo li:nth-of-type(odd) {
    text-align: right;
} 
.foottwo .footlogo {
    margin-left: 0;
    width: 8%; height: 60px;
}
.foottwo .footlogo img {
    width: 100%;
}
.foottwo ul:after {
    content: "";
    display: block;
    clear: both;
}

/*  비고 

.mainNav span {
    display: block; margin: 0 auto 0;
    width: 1280px; height: 340px;
    background: rgba(255,255,255,.8);

}

    background: #f5f5f0;
*/
