@charset "UTF-8";
@import "root.css";

/* ===============================
    hero
=============================== */
section#hero {
    padding: 0;
}

#hero .hero__container {
    position: relative;
}

.hero .hero__container .hero__slider {
    margin-inline: auto;
    overflow: hidden;
}

#hero .hero__container .hero__slider .hero__slider__item .hero__slider__image {
    width: 100%;
}

#hero .hero__container .hero__title {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: var(--color-white);
    font-size: clamp(var(--rem35),var(--vw36),var(--rem64));
    font-weight: var(--medium);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes zoomUp {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.add-animation {
    animation: zoomUp 10s linear 0s normal both;
}

@media (max-width: 767px) {
    .slick-slide img {
        height: 100vh;
        object-fit: cover;
    }
}


/* ===============================
    about
=============================== */
section#about {
    padding-bottom: 0;
}

#about .about__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

#about .about__container .about__imgbox {
    width: min(810px, 45%);
}

#about .about__container .about__content {
    width: 50%;
    padding-right: clamp(50px, 5%, 100px);
}

#about .about__container .about__content .about__text .about__text-list {
    margin-bottom: 50px;
}

#about .about__container .about__content .about__text .about__text-list:last-child {
    margin-bottom: 0;
}

#about .about__container .about__content .about__text .about__text-list .about__text-list__title {
    color: var(--color-accent_navy);
    position: relative;
    padding-left: 30px;
    font-weight: var(--semi-bold);
    font-size: clamp(var(--rem16),var(--vw17),var(--rem20));
    margin-bottom: 5px;
}

.about__text-list__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-accent_navy);
    border-radius: 3px;
}

@media (max-width: 767px) {
    #about .about__container {
        display: block;
    }

    #about .about__container .about__imgbox {
        width: 100%;
        height: 35vh;
        overflow: hidden;
    }

    #about .about__container .about__imgbox .about__imgbox__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #about .about__container .about__content {
        width: 90%;
        margin: 0 auto 25px;
    }

    #about .about__container .about__content .about__text .about__text-list {
        margin-bottom: 25px;
    }
}


/* ===============================
    service
=============================== */
#service .service__container .service__content .service__item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

#service .service__container .service__content .service__item:last-child {
    margin-bottom: 0;
}

#service .service__container .service__content .service__item .service__item__imgbox {
    width: min(1100px, 65%);
}

#service .service__container .service__content .service__item .service__item__textbox {
    margin-left: -45px;
    width: min(555px, 50%);
    position: relative;
    z-index: 10;
}

#service .service__container .service__content .service__item .service__item__textbox .service__item__titlebox {
    padding: 15px 20px;
    line-height: 1.4;
    background-color: var(--color-white);
    margin-bottom: 50px;
}

#service .service__container .service__content .service__item.ExteriorRenovation .service__item__textbox .service__item__titlebox {
    color: var(--color-ExteriorRenovation);
    box-shadow: 5px 5px var(--color-ExteriorRenovation);
}

#service .service__container .service__content .service__item.TotalRenovation .service__item__textbox .service__item__titlebox {
    color: var(--color-TotalRenovation);
    box-shadow: 5px 5px var(--color-TotalRenovation);
}

#service .service__container .service__content .service__item.NewConstruction .service__item__textbox .service__item__titlebox {
    color: var(--color-NewConstruction);
    box-shadow: 5px 5px var(--color-NewConstruction);
}

#service .service__container .service__content .service__item .service__item__textbox .service__item__titlebox .service__item__titlebox__title {
    font-size: clamp(var(--rem27),var(--vw28),var(--rem36));
    font-weight: var(--semi-bold);
}

#service .service__container .service__content .service__item .service__item__textbox .service__item__explanationbox {
    width: 82%;
    margin: 0 0 0 auto;
}

#service .service__container .service__content .service__item .service__item__textbox .service__item__explanationbox .service__item__explanationbox__text {
    margin-bottom: 1rem;
}

#service .service__container .service__content .service__item .service__item__textbox .service__item__explanationbox .service__item__explanationbox__text:last-child {
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    #service .service__container .service__content {
        width: min(700px, 100%);
        margin: 0 auto;
    }

    #service .service__container .service__content .service__item {
        display: block;
        margin-bottom: 50px;
    }

    #service .service__container .service__content .service__item .service__item__imgbox {
        width: 95%;
    }

    #service .service__container .service__content .service__item .service__item__textbox {
        width: 95%;
        margin: -30px 0 0 auto;
    }

    #service .service__container .service__content .service__item .service__item__textbox .service__item__titlebox {
        margin-bottom: 25px;
    }

    #service .service__container .service__content .service__item .service__item__textbox .service__item__explanationbox {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #service .service__container .service__content .service__item {
        display: block;
        margin-bottom: 75px;
    }

    #service .service__container .service__content .service__item .service__item__imgbox {
        width: 95%;
    }

    #service .service__container .service__content .service__item .service__item__textbox {
        width: 95%;
        margin: -30px 0 0 auto;
    }

    #service .service__container .service__content .service__item .service__item__textbox .service__item__titlebox {
        margin-bottom: 25px;
    }

    #service .service__container .service__content .service__item .service__item__textbox .service__item__explanationbox {
        width: 100%;
    }
}


/* ===============================
    works
=============================== */
section#works {
    background-color: var(--color-bg_gray);
    padding-top: 100px;
}

#works .works__container .works__content {
    display: flex;
    justify-content: flex-start;
    gap: clamp(20px, 4.5vw, 85px);
}

#works .works__container .works__content .works__caseitem {
    width: calc((100% - (4.5vw * 3)) / 4);
    padding-top: 40px;
}

#works .works__container .works__content .works__caseitem .works__imgbox {
    position: relative;
    margin-bottom: 15px;
}


#works .works__container .works__content .works__caseitem .works__caseitem__numberbox {
    position: absolute;
    top: min(-35px, -2.5vw);
    left: -2vw;
}

#works .works__container .works__content .works__caseitem__numberbox .works__caseitem__numberbox-text {
    font-size: clamp(32px, 3vw, 48px);
    position: relative;
    line-height: 1;
    transform: rotate(-10deg);
}

#works .works__container .works__content .works__caseitem__numberbox .works__caseitem__numberbox-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(150px, 13vw, 200px);
    height: 1px;
    background-color: var(--color-black);
}

#works .works__container .works__content .works__caseitem .works__caseitem__flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

#works .works__container .works__content .works__caseitem .works__caseitem__explanation {
    font-size: clamp(var(--rem9),var(--vw10),var(--rem12));
}

@media (max-width: 1500px) {
    #works .works__container .works__content .works__caseitem .works__caseitem__flexbox {
        display: block;
    }
}

@media (max-width: 1200px) {
    #works .works__container .works__content {
        flex-wrap: wrap;
    }

    #works .works__container .works__content .works__caseitem {
        width: calc((100% - 4.5vw) / 2);
    }

    #works .works__container .works__content .works__caseitem .works__imgbox {
        width: min(300px, 100%);
        margin: 0 auto 15px;
    }

    #works .works__container .works__content .works__caseitem__numberbox .works__caseitem__numberbox-text {
        font-size: 42px;
    }
    
    #works .works__container .works__content .works__caseitem__numberbox .works__caseitem__numberbox-text::after {
        width: 180px;
    }
}

@media (max-width: 767px) {
    #works .works__container .works__content {
        display: block;
    }

    #works .works__container .works__content .works__caseitem {
        width: 100%;
        margin-bottom: 25px;
    }
}
