#header {
    --gnb-clean-font-color: var(--color-text);
}

#mainVisual {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #fafafa;
}

#mainVisual .text {
    position: relative;
    top: 33vh;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 90%;
    z-index: 2;
}

#mainVisual .text .sub-tit {
    color: var(--color-mute);
    font-size: var(--f20);
    letter-spacing: var(--en-letter);
    line-height: 1;
    margin-bottom: 15px;
}

#mainVisual .text .sub-tit span {
    font-weight: 700;
}

#mainVisual .text h2 {
    font-size: var(--f80);
    font-weight: 800;
    line-height: 1.25;
}

#mainVisual .text h2 span {
    color: var(--color-primary);
}

#mainVisual .desc {
    font-size: var(--f22);
    font-weight: 400;
    margin-top: 40px;
}

#mainVisual .desc span {
    color: var(--color-primary);
    font-weight: 700;
}

#mainVisual .image {
    position: absolute;
    right: 7.8vw;
    bottom: 0;
    width: 47.86vw;
}

#mainVisual .circle-line {
    width: 60vw;
    height: auto;
    aspect-ratio: 1/1;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: absolute;
    bottom: 20%;
    left: -20vw;
    animation: orbit 15s linear infinite alternate;
}

#mainVisual .circle-point {
    width: 12px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin-left: 41.74%;
    background-color: var(--color-primary);
}

@keyframes orbit {
    0% {
        transform: rotate(82deg);
    }

    100% {
        transform: rotate(220deg);
    }
}

#mainProducts {
    background-color: #f1f4f6;
    background-size: cover;
    background-position: bottom;
}

#mainBusiness {
    background: #f9f9f9;
}

#mainContact {
    width: 100%;
    height: 450px;
    background-color: #ededed;
    position: relative;
}

#mainContact .bg {
    width: 100%;
    max-width: 1249px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

#mainContact .gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ededed 40%, transparent 70%);
    opacity: .8;
}

#mainContact .contents {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 90%;
    height: 100%;
    align-content: center;
}

#mainContact .contents h2 span {
    color: var(--color-primary);
}

#mainContact .contents .btn {
    margin-top: 25px;
}


@media all and (min-width: 1440px) {
    #mainContact .gradient-bg {
        display: none;
    }
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
    #mainVisual .circle-line {
        min-width: 850px;
    }
}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {
    #mainVisual .image {
        right: 5vw;
        min-width: 650px;
    }

    #mainContact .bg {
        right: -15vw;
    }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {

    #mainVisual .text {
        top: 23vh;
    }

    #mainVisual .text .sub-tit {
        margin-bottom: 10px;
    }

    #mainVisual .desc {
        margin-top: 25px;
    }

    #mainVisual .image {
        right: 0;
        width: 65vw;
    }

    #mainVisual .circle-line {
        width: 90vw;
        bottom: 30%;
    }

    #mainVisual .circle-point {
        width: 10px;
    }

    #mainContact {
        height: 360px;
    }

    #mainContact .contents p {
        font-size: 15px;
        margin-bottom: 3px;
    }

    #mainContact .contents h2 {
        line-height: 1.35;
        font-size: 30px;
    }

    #mainContact .contents .btn {
        margin-top: 20px;
    }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {

    #mainVisual .text {
        top: 15vh;
        text-align: center;
        height: calc(100% - 15vh);
    }

    #mainVisual .text .sub-tit {
        margin-bottom: 10px;
    }

    #mainVisual .desc {
        margin-top: 20px;
    }

    #mainVisual .image {
        right: 0;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 95%;
        max-width: 500px;
    }

    #mainVisual .circle-line {
        width: 90%;
        bottom: unset;
        top: -10%;
    }

    #mainVisual .circle-point {
        width: 8px;
        margin-left: 37.31%;
        opacity: .4;
    }

    #mainContact {
        height: 260px;
    }

    #mainContact .contents{
        width: 85%;
    }

    #mainContact .bg {
        background-position-x: 70%;
        opacity: .65;
    }

    #mainContact .gradient-bg {
        background: linear-gradient(to bottom, #ededed 70%, transparent 100%);
        opacity: .75;
    }

    #mainContact .contents p {
        margin-bottom: 3px;
        font-size: 14px;
    }

    #mainContact .contents h2 {
        line-height: 1.3;
        font-size: 24px;
    }

    #mainContact .contents .btn {
        margin-top: 20px;
    }
}