/*== MAIN ==*/
.samga-page.main {padding-top:0;}
.samga-page.main .samga-header:not(.bg-white) {background:transparent;}
.samga-page.main .samga-header:not(.bg-white) .logo-color {display:none;}
.samga-page.main .samga-header:not(.bg-white) .navi-item__tit {color:var(--primary-white);}

.main .samga-section .content-l > .txt-body01 {margin-top:16px;color:var(--gray-700);}
.main .section01 {overflow:hidden;position:relative;color:#fff;}
.main .section01 .bg-img {display:block;height:980px;margin-inline:auto;}
.main .section01 .content-l {position:absolute;left:0;right:0;bottom:0;padding-top:585px;padding-bottom:100px;}
.main .section01 .txt-h01 {margin-bottom:60px;}
.main .section01 .visual-num {display:flex;gap:16px;}
.main .section01 .visual-num__item {flex:1;display:flex;flex-direction:column;gap:4px;border-radius:8px;border:1px solid rgba(255,255,255,0.2);padding:16px 28px;}
.main .section01 .visual-num__item.white {backdrop-filter:blur(30px);}
.main .section01 .visual-num__item.white .txt-body02 {padding-left:17px;background:url(../../images/home/main/visual-arrow.svg)no-repeat left center / 5px;}
.main .section01 .visual-num__item.brown {background:var(--brown-500);border-color:var(--brown-500);}
.main .section01 .visual-num__item.brown .txt-title {display:flex;align-items:center;}
.main .section01 .visual-num__item.brown .txt-title:after {content:'';display:block;width:36px;height:36px;margin-left:auto;border-radius:18px;background:url(../../images/home/icons/arrow-go.svg)no-repeat center / contain rgba(23, 23, 23, 0.4);}
.main .section02 {padding-top:120px;padding-bottom:140px;background:var(--gray-100);}

.main .sec02-titles {margin-top:40px;margin-bottom:28px;}
.main .sec02-titles .swiper-slide {width:auto;flex:0 0 auto;}
.main .sec02-titles .custom-bullet {display:block;border-radius:25px;background:var(--primary-white);color:var(--gray-400);cursor:pointer;}
.main .sec02-titles .custom-bullet::after {content:attr(title);display:block;font-weight:700;height:0px;visibility:hidden;}
.main .sec02-titles .swiper-slide-thumb-active .custom-bullet {background:var(--brown-500);color:var(--primary-white);font-weight:700;} 
.main .section02 .content-l {position:relative;}
.main .sec02-slider .swiper-wrapper {height:480px;}
.main .sec02-slider .swiper-slide {border-radius:.5rem;overflow:hidden;}
.main .section02 .sec02-slider-next,
.main .section02 .sec02-slider-prev {bottom:210px;}
.main .section02 .sec02-slider-next {right:-100px;}
.main .section02 .sec02-slider-prev {left:-100px;}

.main .section03 {padding-top:120px;padding-bottom:140px;overflow:hidden;}
.main .sec03-slider {margin-top:40px;overflow:initial;}
.main .sec03-slider .slider-item {position:relative;flex:0 0 400px;width:400px;height:480px;border-radius:8px;background:var(--gray-900);color:transparent;overflow:hidden;transition:all .3s ease-in-out;}
.main .sec03-slider .slider-item__inner {z-index:10;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;position:absolute;top:0;left:0;width:100%;height:100%;transform:translateY(0);padding:381px 40px 40px;background:transparent;text-align:left;}
.main .sec03-slider .slider-item img {z-index:1;position:absolute; left:0; top:0; display:block;height:100%;transition:transform, opacity .3s ease-in-out;}
.main .sec03-slider .slider-item:hover {transform:translateY(-16px);color:#fff}
.main .sec03-slider .slider-item:hover img {opacity:0.5;}
/*이미지 변경 시 아래 주석 제거*/
/*.main .sec03-slider .slider-item .hover-show {opacity:0;}
.main .sec03-slider .slider-item:hover .hover-show {opacity:1;}
.main .sec03-slider .slider-item:hover .hover-hide {opacity:0;}*/

.main .sec03-slider .swiper-wrapper  {gap:16px;transition-timing-function:linear;}
.main .section04 {padding-bottom:140px;}
.main .section04 .sec04-banner {display:flex;gap:16px;margin-top:40px;color:#fff;}
.main .sec04-banner .banner-item {position:relative;flex:1;max-height:300px;border-radius:8px;overflow:hidden;background:var(--primary-800);}
.main .sec04-banner .banner-item img {display:block;width:100%;transition:opacity 0.3s ease-in-out;}
.main .sec04-banner .banner-item__inner {position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:8px;padding:40px;}
.main .sec04-banner .banner-item:hover img {opacity:0.2;}

.modal-body.photo-big {display:flex;gap:40px;height:560px;}
.modal-body.photo-big .photo-big__content {flex:0 0 256px;display:flex;flex-direction:column;gap:8px;padding-bottom:40px;}
.modal-body.photo-big .photo-big__content .date {margin-top:auto;}
.modal-body.photo-big .photo-big__content .disc {max-height:418px;}
.modal-body.photo-big .photo-big__img {flex:1;max-width:440px;}
.modal-body.photo-big .big-slider {height:440px;margin-bottom:8px;border-radius:8px;overflow:hidden;background:var(--gray-900);}
.modal-body.photo-big .big-slider .swiper-slide img {max-width:100%;max-height:100%;object-fit:contain;}
.modal-body.photo-big .big-slider .pop-slider-next,
.modal-body.photo-big .big-slider .pop-slider-prev {top:50%;transform:translateY(-50%);scale:0.8;}
.modal-body.photo-big .big-slider .pop-slider-next {right:0;}
.modal-body.photo-big .big-slider .pop-slider-prev {left:0;}
.modal-body.photo-big .small-slider .swiper-slide {position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;background:var(--gray-900);}
.modal-body.photo-big .small-slider .swiper-slide:after {content:'';position:absolute;left:0;top:0;width:100%;height:100%;border-radius:inherit;border:2px solid transparent;box-sizing:border-box;pointer-events:none;}
.modal-body.photo-big .small-slider .swiper-slide-thumb-active:after {border-color:var(--primary-400);}

.modal-notice .modal-body {color:var(--gray-700);}
.modal-notice__cont {height:390px;}
.modal-notice__cont .tit {margin-bottom:20px;font-weight:bold;}
.modal-notice__cont img {max-width:100%;}

@media screen and (max-width:1432px) {
    .main .section02 .sec02-slider-next {right:20px;}
    .main .section02 .sec02-slider-prev {left:20px;}
}


/*== ABOUT ==*/
.section-company {padding-top:80px;padding-bottom:120px;}
.section-company .txt-h01 {margin-bottom:80px;}
.section-company .txt-h01 + .horiz {gap:80px;}
.section-company figure {flex:0 0 532px;}
.section-company figure img {display:block;width:100%;}
.section-company article {display:flex;flex-direction:column;gap:32px;}
.section-company article .horiz {align-items:center;gap:20px;}
.section-company article .horiz img {display:block;height:60px;}

.section-history {padding-top:80px;padding-bottom:120px;}
.section-history .flex--center-center {z-index:20;gap:60px;width:100%;margin-bottom:80px;border-bottom:1px solid var(--gray-200);background:var(--primary-white);transition:top 0.3s;}
.section-history .flex--center-center:after {content:'';display:block;position:absolute;left:0;top:0;bottom:0;right:0;}
.section-history .flex--center-center li {position:relative;z-index:11;}
.section-history .flex--center-center.fixed {position:fixed;top:96px;border-top:1px solid var(--gray-200);}

.section-history .tab-btn {height:88px;border-bottom:3px solid transparent;color:var(--gray-400);}
.section-history .tab-btn.active {border-color:var(--primary-800);color:var(--gray-700);}
.section-history .tab-conts__item:not(.show) {height:0;overflow:hidden;}
.section-history .tab-conts__item.show {height:auto;}
.section-history .content-l {display:flex;}
.section-history .content-l .history-area {flex:0 0 816px;margin-left:auto;}
.section-history .history-year {position:relative;}
.section-history .history-year li {display:flex;align-items:center;height:106px;padding-left:100px;border-bottom:1px solid var(--gray-200);}
.section-history .history-year .txt-year {position:absolute;top:40px;left:20px;}

.section-ci {padding-top:80px;padding-bottom:120px;}
.section-ci .txt-h01 {margin-bottom:80px;}
.section-ci .ci-area {display:flex;flex-wrap:wrap;gap:16px;margin-bottom:80px;}
.section-ci .ci-item {flex:1 0 calc(50% - 8px);display:flex;align-items:center;justify-content:center;height:400px;border:1px solid var(--gray-200);border-radius:8px;}
.section-ci .ci-item.white {background:var(--gray-050);}
.section-ci .ci-item.brown {background:var(--brown-700);}
.section-ci .ci-item.black {background:var(--gray-900);}
.section-ci .btn-area {justify-content:center;gap:16px;}
.section-ci .btn-area .btn-58 {flex-basis:200px;}

/*== FUNERAL SOLUTION ==*/
.funeral-solution {padding-top:80px;padding-bottom:120px;}
.funeral-solution .txt-h01 {margin-bottom:60px;}
.funeral-solution section {margin-bottom:60px;}
.funeral-solution figure {display:flex;gap:16px;border-radius:8px;} 
.funeral-solution figure + figure {margin-top:16px;}
.funeral-solution .horiz {margin-top:40px;}
.funeral-solution .horiz .txt-t32 {flex:0 0 400px;}
.funeral-solution .horiz .txt-body01 {flex-basis:816px;}
.funeral-solution .btn-area {justify-content:space-between;}
.funeral-solution .btn-58 {flex-basis:200px;}
.funeral-solution .btn-secondary {margin-right:auto;}
.funeral-solution .btn-primary {margin-left:auto;}
.btn-tit {display:inline-flex;gap:16px;align-items:center;}
.btn-tit::after {content:'';display:block;width:36px;height:36px;background:url(../../images/home/icons/arrow-go_black.svg)no-repeat center;}

/*== CUSTOMER ==*/
.section-customer {padding-top:80px;padding-bottom:120px;}
.section-customer .txt-h01 {margin-bottom:60px;}
.section-customer .btn-area {justify-content:center;}
.section-customer .btn-area .btn-58 {width:200px;}

.section-customer.faq .list-acodian {border-top:1px solid var(--gray-900);}
.section-customer.faq .acodian-item {border-bottom:1px solid var(--gray-200);}
.section-customer.faq .accordian-tit {display:flex;align-items:center;justify-content:start;gap:16px;height:106px;}
.section-customer.faq .accordian-tit .category {flex:0 0 160px;color:var(--brown-500);text-align:center;}
.section-customer.faq .accordian-tit .bold {text-overflow:ellipsis;overflow:hidden;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.section-customer.faq .accordian-icon {display:flex;align-items:center;justify-content:center;flex:0 0 64px;margin-left:auto;text-indent:-9999px;}
.section-customer.faq .accordian-icon::after {content:'';flex:0 0 32px;display:block;width:32px;height:32px;background:url(../../images/home/icons/arccodion-btn.svg)no-repeat center / contain;}
.section-customer.faq .acodian-cont {padding-left:176px;padding-right:20px;background:var(--gray-100);}
.section-customer.faq .open .acodian-cont {padding-top:40px;padding-bottom:40px;border-top:1px solid var(--gray-200);}
.section-customer.faq .open .accordian-icon::after {transform:rotate(180deg);}

.section-customer.notice .table-area {margin-bottom:60px;}
.section-customer.notice .table-area a {word-break:break-all;}
.section-customer.notice-view .txt-body01 {margin-bottom:20px;}
.section-customer.notice-view .notice-content {padding:60px 0;margin-bottom:60px;border-top:1px solid var(--gray-900);border-bottom:1px solid var(--gray-200);}
.notice .new {display:flex;align-items:center;}
.notice .new:after {content:'N';flex:0 0 20px;display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;margin-left:6px;border-radius:10px;background:var(--primary-400);font-size:13px;font-weight:700;color:var(--primary-white);}

.section-customer .agree-area {margin-bottom:60px;}
.section-customer .agree-area .txt-t32 {margin-bottom:32px;}
.section-customer .agree-area .agree-cont {height:196px;margin-bottom:16px;border-radius:8px;padding:16px;background:var(--gray-100);white-space:pre-line;}

.section-customer .form-area {padding-top:40px;margin-bottom:60px;border-top:1px solid var(--gray-900);}