/* ---------------- COMMON ---------------- */

::selection {
    background-color:#f3feff;
    color: #202124;
}

* {
    font-family: 'Pretendard Variable', sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #ffffff;
}

body > img, .main-wrapper > img, .form-wrapper > img{
    max-width: 860px;
    width: 100%;
    object-fit: contain;
}

.main-wrapper{
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.main-wrapper > img:last-of-type{
    position: absolute;
    bottom: 4rem;
}

.form-wrapper{
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 3.125rem 6.25rem 3.125rem;
    background-color: #DCF0FF;
    z-index: 50;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    border-radius: 1.25rem;
    padding: 3.125rem;
    background-color: #FFFFFF;
}

.input-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.input-wrapper > p{
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: #101830;
    font-weight: 600;
}

.input-wrapper > p > span{
    color: #3060FF;
}

.input-wrapper > input{
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    padding: 1.5rem 2rem;
    background-color: #F5F5F5;
    border: none;
    border-radius: 0.75rem;
}

.input-wrapper > input:focus{
    outline: 0.2rem solid #F2DB69;
}

.phone-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 4fr 1fr 8fr 1fr 8fr;
    align-items: center;
    padding: 0px 2rem;
    background-color: #F5F5F5;
    border: none;
    border-radius: 0.75rem;
}

.phone-wrapper > input{
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    background-color: #F5F5F5;
    text-align: center;
    border: none;
    padding: 1.5rem 0;
}

.phone-wrapper > input:focus{
    outline: 0.2rem solid #F2DB69;
}

.phone-wrapper > span{
    text-align: center;
    font-weight: 1.75rem;
}

.input-wrapper > select{
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    background-color: #F5F5F5;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.75rem;
    transition: 0.2s;
}

.input-wrapper > select:invalid {
    color: #70747a;
}

.input-wrapper > select:focus{
    outline: 0.2rem solid #F2DB69;
}

.input-wrapper > select > option{
    color: #101830;
}

.checkbox-wrapper{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper > input{
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #3060FF;
}

.checkbox-wrapper > label{
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #767679;
}

.checkbox-wrapper > span{
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #767679;
    text-decoration: underline;
    cursor: pointer;
}

form > img{
    width: 100%;
    object-fit: contain;
    cursor: pointer;
}


.reviewSwiper {
    max-width: 860px;
    width: 100%;
    background-color:#FFFCF8;
    padding-bottom: 5rem;
}

.reviewSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviewSwiper .swiper-slide img {
    display: block;
    max-width: 560px;
    width: 100%;
    object-fit: contain;
    border-radius: 1.2rem;
}

.reviewSwiper .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.2s ease;
    box-shadow: none;
    border-radius: 1.2rem;
}

.reviewSwiper .swiper-slide-active {
    opacity: 1;
    box-shadow: 0px 0.25rem 1.5rem #FFF00040;
}

.contact-wrapper{
    max-width: 860px;
    width: 100%;
    background-color: #F8FCFF;
    padding: 0 3.125rem 5rem 3.125rem;
}

.contact-wrapper > div{
    border-radius: 1.5rem;
    border-bottom: 0.18rem solid #0B1C53;
    border-left: 0.18rem solid #0B1C53;
    border-right: 0.18rem solid #0B1C53;
}

.contact-title{
    width: 100%;
    background-color: #0B1C53;
    border-radius: 1.4rem;
    padding: 1.25rem 0;
}

.contact-title > img{
    width: 100%;
    object-fit: contain;
}

.contactSwiper {
    width: 100%;
    height: 30rem;
    background-color: #FFFFFF;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.contactSwiper .swiper-wrapper{
    width: 100%;
}

.contactSwiper .swiper-slide{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
}

.contactSwiper .swiper-slide > span{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: #101830;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.contactSwiper .swiper-slide > span > span{
    width: 72.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1.75rem;
    border-radius: 20rem;
}

.contactSwiper .in-progress{
    color: #3060FF;
    font-weight: 400;
    border: 0.15rem solid #3060FF;
}

.contactSwiper .completed{
    color: #FFFFFF;
    background-color: #182860;
    font-weight: 400;
}

.contactSwiper .new{
    color: #FFFFFF;
    background-color: #3060FF;
    font-weight: 400;
}


.btn-call{
    background-color: #E1F2FF;
    padding-bottom: 0.75rem;
}

.btn-call > img{
    width: 100%;
    object-fit: contain;
}


.fixed-bottom{
    min-width: 320px;
    position: fixed;
    bottom: 1.2rem;
    z-index: 10;
    max-width: 860px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.2rem;
}

.fixed-bottom > a > img{
    width: 100%;
    object-fit: contain;
}

.fixed-side{
    position: fixed;
    right: 4rem;
    z-index: 10;
    max-width: 860px;
}

.fixed-kakao{
    bottom: 12rem;
    animation-name: updown2;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 10;
}

.fixed-estimate{
    bottom: 25rem;
    animation-name: updown3;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 10;
}

@keyframes updown2{
    from{
        bottom: 12rem;
    }

    to{
        bottom: 13.5rem;
    }
}

@keyframes updown3{
    from{
        bottom: 25rem;
    }

    to{
        bottom: 26.5rem;
    }
}

.fixed-side > img{
    width: 12rem;
    object-fit: contain;
}


@media screen and (max-width: 860px) {
    html{
        font-size: 1.86vw;
    }

    .fixed-side{
        right: 1.2rem;
    }
}

@media screen and (max-width: 320px) {
        html{
        font-size: 6px;
    };
}