@charset "utf-8";


.main-container {
    padding-bottom: 40px;
}

@media screen and (min-width: 767px) {
    .main-container {
        padding-bottom: 60px;
    }
}

@media screen and (min-width: 1239px) {
    .main-container {
        padding-bottom: 120px;
    }
}


/* 메인 슬라이드 */
.main-slider .swiper-slide img {display:block;width: 100%;margin:0 auto;}
.main-slider .swiper-button-prev {margin-left:30px;color:#fff;text-shadow: 0px 0px 10px #111;}
.main-slider .swiper-button-next {margin-right:30px;color:#fff;text-shadow: 0px 0px 10px #111;}
@media screen and (max-width: 690px) {
	.main-slider .swiper-button-prev {margin-left:10px;}
	.main-slider .swiper-button-next {margin-right:10px;}
	.main-slider .swiper-button-prev::after,
	.main-slider .swiper-button-next::after {font-size:34px;}
}


/* 공통 */
.main-link-box,
.funeral-status,
.main-gallery-mov {
    max-width: 1240px;
    margin: 0 auto;
}

h2.main-h2 {
    margin-bottom: 16px;
}

h2.main-h2.flex-between {
    align-items: center;
}

h2.main-h2 .tit {
    font-size: clamp(20px, 3vw, 30px);
    font-family: 'SCDream';
    font-weight: 500;
    color: #111827;
}

h2.main-h2 .more-btn {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 3px;
    font-weight: 400;
}

@media screen and (min-width: 767px) {
    h2.main-h2 {
        margin-bottom: 24px;
    }
}



/* 메인 링크 모음 */
.main-link-box {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2000;
}

.main-link-box .link-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2%;
    background: linear-gradient(135deg,  #00639f 0%,#00a2e4 100%);
    color: #FFF;
}

.main-link-box .link-list li {
    width: 32%;
}

.main-link-box .link-list li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    text-align: center;
}

.main-link-box .link-list li a figure {
    width: 40%;
    max-width: 70px;
}

.main-link-box .link-list li a .txt {
    display: flex;
    flex-direction: column;
}

.main-link-box .link-list li a .txt em {
    font-size: clamp(16px, 3vw, 20px);
}

.main-link-box .link-list li a .txt span {
    font-size: clamp(13px, 3vw, 16px);
    opacity: 0.8;
}

.main-link-box .funeral-contact {
    padding: 20px;
    background-color: #F18700;
    color: #FFF;
}

.main-link-box .funeral-contact .tit {
    font-size: clamp(20px, 3vw, 24px);
    font-family: 'SCDream';
    font-weight: 500;
}

.main-link-box .funeral-contact .txt {
    font-size: clamp(13px, 2vw, 16px);
    opacity: 0.8;
}

.main-link-box .funeral-contact .phone {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 28px;
    font-weight: bold;
}

.main-link-box .funeral-contact .phone .ico {
    flex-shrink: 0;
    width: 30px;
}

@media screen and (min-width: 767px) {
    .main-link-box {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    
    .main-link-box .link-list {
        flex-grow: 1;
    }
    
    .main-link-box .funeral-contact {
        flex-shrink: 0;
        width: 35%;
    }
}

@media screen and (min-width: 1023px) {
    .main-link-box .funeral-contact {
        width: 25%;
    }
}

@media screen and (min-width: 1239px) {
    .main-link-box {
        align-items: flex-end;
        margin-top: -50px;
    }

    .main-link-box:after {
        content: '';
        position: absolute;
        top: 0;
        right: 25%;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 50px 50px;
        border-color: transparent transparent #015C8D transparent;
    }

    .main-link-box .link-list {
        height: 150px;
        align-items: center;
    }

    .main-link-box .link-list li a {
        flex-direction: row;
        gap: 20px;
    }

    .main-link-box .link-list li a .txt {
        justify-content: center;
        align-items: flex-start;
        text-align: left;
    }
    
    .main-link-box .funeral-contact {
        height: 200px;
    }
}


/* 실시간 빈소 이용현황 */
.funeral-status {
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin-top: 40px;
}

.funeral-status-wrap {
    position: relative;
}

.funeral-status-slide .swiper-wrapper {
    align-items: stretch;
}

.funeral-status-slide .swiper-slide {
    position: relative;
    overflow: hidden;
	width:394px;
    height: auto;
    padding: 2px;
    border-radius: 20px;
}

.funeral-status-slide .swiper-slide:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,  #baaa81 0%,#927f59 100%);
    border-radius: inherit;
    content: '';
}

.funeral-status-slide .fs-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    padding: 20px;
    background-color: #FFF;
    border-radius: 19px;
}

.funeral-status-slide .fs-content .binso {
    flex-shrink: 0;
    background: linear-gradient(0deg, #836D48, #C2B389);
    color: transparent;
    font-family: 'SCDream';
    font-weight: 500;
    font-size: clamp(16px, 3vw, 20px);
    -webkit-background-clip: text;
}

.funeral-status-slide .fs-content .name {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    font-family: 'SCDream';
    font-weight: 500;
    font-size: clamp(24px, 3vw, 40px);
}

.funeral-status-slide .fs-content .name small {
    font-weight: 400;
    font-size: clamp(16px, 3vw, 20px);
    color: #5C5C5C;
}

.funeral-status-slide .fs-content .name em {
    color: #3E3E3E;
}

.funeral-status-slide .fs-content .family {
    flex-grow: 1;
    margin: 20px 0;
}

.funeral-status-slide .fs-content .family dl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.funeral-status-slide .fs-content .family dl:not(:first-child) {
    margin-top: 10px;
}

.funeral-status-slide .fs-content .family dl dt {
    background-color: #5A5A5A;
    color: #FFF;
    width: 60px;
    padding: 5px 0;
    border-radius: 20px;
    text-align: center;
}

.funeral-status-slide .fs-content .family dl dd {
    flex-shrink: 0;
    width: calc(100% - 70px);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.funeral-status-slide .fs-content .loca {
    color: #474747;
}

.funeral-status-slide .link-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}

.funeral-status .arrow-area {
    display: none;
}

.funeral-status .arrow-area .swiper-button {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 100px;
    border: 1px solid #E5E5EC;
    border-radius: 30px;
    text-align: center;
    font-size: 30px;
    transform: translateY(-50%);
}

.funeral-status .arrow-area .swiper-button.swiper-button-disabled {
    cursor: default;
    /* opacity: 0.3; */
    /* color: #777; */
	display:none;
}

.funeral-status .arrow-area .swiper-button.swiper-prev {
    left: -86px;
}

.funeral-status .arrow-area .swiper-button.swiper-next {
    right: -86px;
}

@media screen and (min-width: 1239px) {
    .funeral-status {
        overflow: visible;
        padding: 0;
        margin-top: 80px;
    }

    .funeral-status-slide {
        overflow: hidden;
    }

    .funeral-status-slide .fs-content {
        padding: 30px;
    }

    .funeral-status .arrow-area {
        display: block;
    }
}



/* 충주의료원 장례식장 사진 및 동영상 */
.main-gallery-mov {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-top: 40px;
}

.main-gallery-mov .main-gallery-slide {
    overflow: hidden;
}

.main-gallery-mov .main-gallery-slide figure {
    font-size: 0;
    overflow: hidden;
    border-radius: 10px;
}

.main-gallery-mov .main-mov {
    overflow: hidden;
    border-radius: 10px;
}

@media screen and (min-width: 767px) {
}

@media screen and (min-width: 1239px) {
    .main-gallery-mov {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 40px;
        padding: 0px;
        margin-top: 80px;
    }

    .main-gallery-mov .main-gallery {
        flex-shrink: 0;
        width: 58%;
    }

    .main-gallery-mov .main-mov {
        flex-grow: 1;
    }
}