/*
기본 CSS를 작성합니다
기본으로 작성되는 CSS는 1199px보다 큰 화면에서 작동 됩니다.
*/


section {
    width: 100%;
    /*max-width: 98rem;*/
    margin: 0 auto;
}

.hero-section {
    position: relative;
    margin-top: 6.563rem;
    height: 35.125rem;
    transition: all 0.3s ease;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 5rem;
}

.hero-main-text {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    transition: font-size 0.5s ease;
}

.hero-sub-text {
    display: block;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1.5rem;
    transition: font-size 0.5s ease;
    margin-bottom: 3rem;
}

.hero-btn {
    border: none;
    background-color: #ebebeb;
    font-family: "Noto Sans KR", sans-serif;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    font-size: .8rem;
    transition: box-shadow 0.3s ease; /* 그림자 애니메이션 */
    color: #212529;
}

.hero-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 그림자 설정 */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--brand-color);
    font-size: 2rem;
}

.service-section {
    position: relative;
    transition: all 0.3s ease;
    height: 50rem;
    max-width: 98rem;
    margin-bottom: 1rem;
}

.service-content {
    padding: 4rem 3rem;
    max-width: 100%;
    height: 100%;
}

.service-wrapper {
    position: relative;
    transition: all .5s ease;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.service-img-wrapper {
    width: 100%;
    border: 2px solid white;
}

.service-img {
    height: 100%;
    width: 100%;
    transition: all .3s ease;
    z-index: 1;
    filter: opacity(0.7);
    object-fit: cover;
}

.swiper {
    height: 100%;
}

#swiper1 .swiper-slide {
    transition: all .3s ease;
    height: 100%;
}

#swiper1 .swiper-slide:hover {
    transform: translateY(-1rem);
}

#swiper1 .swiper-slide:hover .service-img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 그림자 설정 */
}

.service-text-wrapper {
    padding: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    width: 100%;
    height: 50%;
    z-index: 3;
    overflow: hidden;
}

.service-sub-text {
    display: block;
    font-family: "Noto Sans KR", sans-serif;
    white-space: nowrap;
}

.service-main-text {
    display: block;
    font-size: 2.1875rem;
    font-weight: bold;
    font-family: "Noto Sans KR", sans-serif;
    margin: .5rem 0 1.5rem;
    white-space: nowrap;
}

.service-name-wrapper {
    width: 100%;
    padding-right: 4rem;
}
.service-name-wrapper a {
color: #212529;
}

.service-name {
    font-family: "Noto Sans KR", sans-serif;
    border: 1px solid;
    padding: .3rem 1rem;
    border-radius: 1rem;
    margin: .23rem .2rem;
    display: inline-block;
    font-size: .8125rem;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.service-name:hover {
    background-color: #ebebeb;
    border-color: #ebebeb;
}

.gall-section {
    width: 100%;
    height: 43.75rem;
}

.gall-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.gall-bg-wrapper {
    position: relative;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.gall-bg-wrapper img {
    filter: brightness(0.8);
}

.gall-text-wrapper {
    color: white;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5rem;
    z-index: 2;
}

.gall-main-text {
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gall-sub-text {
    display: block;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.875rem;
}


.gall-img-wrapper {
    position: relative;
    padding: 0;
    height: 50%;
}

.gall-img-wrapper:last-child {
    height: 100%;
}

.gall-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.viewer-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}


.contact-section {
    width: 100%;
    max-width: 98rem;
    height: 39rem;
    padding: 4rem 3rem;
    background-color: #fff;
}

.contact-content {
    margin: 0;
    width: 100%;
    height: 100%;
}

.contact-wrapper1 {
    padding: 0 4.4rem 0 0;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;

}

.contact-text-wrapper {
    width: 100%;
}

.contact-main-text {
    display: block;
    font-size: 4.5rem;
}

.contact-sub-text {
    display: block;
    font-size: 4rem;
    font-family: "Noto Sans KR", sans-serif;
}

.button-wrapper {
    width: 100%;
    max-width: 46.875rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.contact-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 8rem;
    height: 8rem;
    border-radius: 0.625rem;
    border: 1px solid #C8C8C8;
    background: rgba(217, 217, 217, 0.00);
    padding: 1rem 1.5rem;
}

.contact-btn i {
    display: block;
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
}

.btn-text {
    display: block;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 0.9rem;
    color: #212529;
}

.ico-link {
    background-image: url(/img/ico-link.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-kakao {
    background-image: url(/img/kakao-ico.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-ig {
    background-image: url(/img/ig.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-nblog {
    background-image: url(/img/naver-blog.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-smartstore {
    background-image: url(/img/smartstore.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ico-ntalk {
    background-image: url(/img/talktalk.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.contact-wrapper2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid #C8C8C8;
    height: 100%;
    padding-left: 4.44rem;
    padding-right: 0;
    transition: all 0.3s ease;
}

.call-wrapper {
    margin: 4rem 0;
    height: 50%;

}

.call-main-text {
    display: block;
    font-size: 2.5rem
}

.call-sub-text {
    display: block;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1.125rem;
}

.call-wrapper span:nth-of-type(3) {
    font-size: 1rem;
    color: #B0B0B0;
}


#swiper3 {
    width: 100%;
}

.time-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #C8C8C8;
    padding: 1rem 0;
    align-items: center;

}

.time-wrapper span {
    font-family: "Noto Sans KR", sans-serif;
}

.time-wrapper div {
    width: 50%;
}

.time-day {
    font-weight: bold;
}

.time-memo {
    font-size: 0.875rem;
    color: #8C8C8C;
}


/*테스크탑 (가로 해상도가 1200px 보다 작은 화면에 적용)*/
@media (max-width: 1199px) {
    .service-section {
        height: 45rem;
    }
    .service-name-wrapper {
        padding-right: 3rem;
    }

    .service-main-text {
        font-size: 2rem;
    }

    .gall-main-text {
        font-size: 3.5rem;
    }

    .gall-sub-text {
        font-size: 1rem;
    }

    .button-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .contact-btn {
        width: 7rem;
        height: 7rem;
        padding: 1rem;
    }

    .call-main-text {
        font-size: 2rem
    }
    .time-memo{
        font-size: .7rem;
    }

}

/*태블릿 디바이스 (가로 해상도가 992px 보다 작은 화면에 적용)*/
@media (max-width: 991px) {
    .service-section {
        height: 40rem;
    }

    .service-content {
        padding: 2rem 1rem;
    }

    .service-name {
        font-size: .9rem;
        padding: .2rem .5rem;
    }

    .gall-sub-text {
        font-size: .8rem;
    }

    .gall-main-text {
        font-size: 2.5rem;
    }

    .contact-text-wrapper {
        margin-top: 4rem;
    }

    .contact-main-text {
        font-size: 2.5rem;
    }

    .contact-sub-text {
        font-size: 2rem;
    }

    .button-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-btn {
        width: 6rem;
        height: 6.5rem;
        padding: 1rem .5rem;
    }

    .btn-text {
        font-size: .8rem;
    }

}

/*가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용)*/
@media (max-width: 767px) {


    #swiper1 .swiper-slide:hover {
        transform: none;
    }

    #swiper1 .swiper-slide:hover .service-img {
        box-shadow: none; /* 그림자 설정 */
    }

    .service-name-wrapper {
        padding-right: 4rem;
    }

    .service-main-text {
        font-size: 2rem;
    }

    .service-name {
        padding: .3rem 1rem;
        font-size: .9rem;
    }

    .gall-bg-wrapper {
        height: 30%;
    }

    .gall-text-wrapper {
        padding: 2rem;
    }

    .gall-img-wrapper {
        height: 50%;
    }

    #swiper2 {
        height: 70%;
    }

    .contact-section {
        height: 70rem;
    }

    .contact-wrapper1 {
        height: 30%;
        padding: 0;
        margin-bottom: 4rem;
    }

    .contact-text-wrapper {
        margin-top: 0;
    }

    .button-wrapper {
        max-width: 27.5rem;
        grid-template-columns: repeat(5, 1fr);
    }

    .contact-btn {
        width: 5.5rem;
    }

    .contact-wrapper2 {
        height: 50%;
        padding: 0;
        border: none;
    }

    .call-wrapper {
        margin: 0 0 1rem 0;
        text-align: center;
    }
    .time-wrapper div {
       text-align: end;
    }


}

/*세로모드 모바일 디바이스 (가로 해상도가 576px 보다 작은 화면에 적용)*/
@media (max-width: 575px) {
    .hero-section {
        margin-top: 4.563rem;
    }

    .hero-text-wrapper {
        padding: 2rem;
    }

    .hero-main-text {
        font-size: 1.5rem;
    }

    .hero-sub-text {
        font-size: 1rem;
    }

    .service-section {
        margin-bottom: 0;
    }

    .service-content {
        padding: 0;
    }

    .service-name {
        font-size: .9rem;
        padding: .2rem .5rem;
    }

    .contact-section {
        padding: 2rem;
    }

    .contact-wrapper1 {
        height: 35%;
        padding: 0;
        margin-bottom: 4rem;
    }

    .button-wrapper {
        grid-template-columns: repeat(3, 1fr);
        max-width: 19.438rem;
    }

    .contact-btn {
        width: 5.5rem;
        height: 6rem;
        padding: .5rem;
    }

}


