.mobile {
    display: none;
}
.web {
    display: block;
}
.section {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    object-fit: cover;
    background-image: none;
}

.section:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("../images/image/main/bg_main_1.webp");
}

.section:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("../images/image/main/bg_main_2.webp");
}

.section:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("../images/image/main/bg_main_3.webp");
}

.section:nth-child(4) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("../images/image/main/bg_main_4.webp");
}

.main_section .main_line {
    width: 0.1rem;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 12.3rem;
    z-index: 999999;
    /* background-color: #fff; */
}

.main_section .side_text {
    font-size: 1.6rem;
    letter-spacing: 1.5;
    font-weight: 300;
    z-index: 999999;
    position: absolute;
    bottom: 18.8rem;
    left: 1.8rem;
    rotate: -90deg;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}
.content {
    z-index: 999999;
}

.content h2 {
    font-size: 6.4rem;
    font-weight: 700;
    margin-bottom: 4.8rem;
    letter-spacing: 0.08rem;
    margin-bottom: 2.2rem;
    line-height: 1.3;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}

.content p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02rem;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}
.main_section span {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.02rem;
    color: var(--color-gray03);
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.about p {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02rem;
    margin-bottom: 0.6rem;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}
.about h3 {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 0.02rem;
    margin-bottom: 3.2rem;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}
.btn {
    border: 0.2rem solid white;
    letter-spacing: 0.02rem;
    width: 26rem;
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn span {
    color: var(--color-white02);
    font-size: 2.8rem;
    font-weight: 400;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
}

.kakao-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    width: 5.2rem;
    height: 5.2rem;
    background-color: #fee500;
    border-radius: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.kakao-btn a {
    max-height: fit-content;
}
.kakao-btn img {
    width: 4.8rem;
    height: 4.8rem;
}

/*  */

/* 내비게이션 도트 크기 조절 */
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-white) !important;
}

/* 내비게이션 도트 간격 조절 */
#fp-nav ul li,
.fp-slidesNav ul li {
    margin: 0 auto 1.7rem auto;
}

/* 내비게이션 도트 색상 조절 (선택된 상태) */
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span {
    width: 1.3rem !important;
    height: 1.3rem !important;
    background: var(--color-white) !important; /* 흰색 */
}
#fp-nav ul li:hover a span,
.fp-slidesNav ul li:hover a span {
    width: 0.5rem !important;
    height: 0.5rem !important;
    margin: -0.25rem 0 0 -0.25rem !important;
}

/* Three.js */

.section {
    width: 100%;
    height: 100vh;
    background-color: #000000;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.top_txt {
    position: absolute;
    top: 15rem;
    left: 8rem;
    font-size: 132px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #c4c4c4;
    pointer-events: none;
    text-align: start;
}
.bottom_txt {
    position: absolute;
    bottom: 15rem;
    right: 8rem;
    font-size: 132px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #c4c4c4;
    pointer-events: none;
    text-align: end;
}

.canvas_content {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.text-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 80px;
}

.left-text {
    align-self: flex-end;
    max-width: 250px;
    pointer-events: none;
}

.right-text {
    max-width: 250px;
    margin-top: 280px;
    pointer-events: none;
}

.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.view-more {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 500;
}
@media (max-width: 1500px) {
    .top_txt {
        font-size: 100px;
    }
    .bottom_txt {
        font-size: 100px;
    }
}
@media (max-width: 1250px) {
    .main_section .side_text {
        font-size: 1.6rem;
        left: -1.8rem;
    }
    .content h2 {
        font-size: 5.2rem;
        margin-bottom: 1.8rem;
    }
    .content p {
        font-size: 1.4rem;
    }
    .main_section span {
        bottom: 4rem;
        font-size: 1.6rem;
    }

    .about p {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    .about h3 {
        font-size: 4.6rem;
        margin-bottom: 2.6rem;
    }
    .btn {
        width: 22rem;
        height: 5.4rem;
    }
    .btn span {
        color: var(--color-white02);
        font-size: 2.2rem;
        font-weight: 400;
        text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.3);
    }

    .kakao-btn {
        width: 4.6rem;
        height: 4.6rem;
    }

    .kakao-btn img {
        width: 4.2rem;
        height: 4.2rem;
    }

    .text-content {
        padding: 4rem;
    }

    .top_txt {
        font-size: 9.2rem;
        left: 4rem;
    }
    .bottom_txt {
        font-size: 9.2rem;
        right: 4rem;
    }

    .title {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .text-content {
        padding: 2rem;
    }
    .top_txt {
        font-size: 7.8rem;
        left: 2rem;
    }
    .bottom_txt {
        font-size: 7.8rem;
        right: 2rem;
    }

    .title {
        font-size: 2.4rem;
    }

    .main_section .side_text {
        left: -4.6rem;
    }
    .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 550px) {
    .main_section .side_text {
        font-size: 1.4rem;
    }
    .content h2 {
        font-size: 4.2rem;
    }
    .content p {
        font-size: 1.3rem;
    }
    .main_section span {
        bottom: 4rem;
        font-size: 1.6rem;
    }

    .about p {
        font-size: 1.3rem;
    }
    .about h3 {
        font-size: 3.4rem;
    }
    .btn {
        border: 0.1rem solid var(--color-white02);
        width: 18rem;
        height: 4.8rem;
    }
    .btn span {
        font-size: 1.8rem;
    }

    .kakao-btn {
        right: 20px;
        bottom: 20px;
        width: 4.2rem;
        height: 4.2rem;
        border-radius: 1rem;
    }

    .kakao-btn img {
        width: 3.8rem;
        height: 3.8rem;
    }
    #fp-nav.right {
        right: 12px !important;
    }
    #fp-nav ul li a.active span,
    .fp-slidesNav ul li a.active span {
        width: 0.8rem !important;
        height: 0.8rem !important;
        margin: -0.4rem 0 0 -0.4rem !important;
    }
}

@media (max-width: 420px) {
    .mobile {
        display: block;
    }
    .web {
        display: none;
    }
    .main_section .side_text {
        font-size: 1.1rem;
    }
    .content h2 {
        font-size: 3.2rem;
        margin-bottom: 1.4rem;
    }
    .content p {
        font-size: 1.2rem;
    }
    .main_section span {
        bottom: 2rem;
        font-size: 1.2rem;
    }

    .about p {
        font-size: 1.2rem;
    }
    .about h3 {
        font-size: 2.8rem;
    }
    .btn {
        border: 0.1rem solid var(--color-white02);
        width: 13rem;
        height: 3.6rem;
    }
    .btn span {
        font-size: 1.4rem;
    }

    .kakao-btn {
        width: 3.4rem;
        height: 3.4rem;
        border-radius: 0.8rem;
    }

    .kakao-btn img {
        width: 3rem;
        height: 3rem;
    }
    /* #fp-nav.right {
        right: 3px !important;
    } */
    #fp-nav ul li a.active span,
    .fp-slidesNav ul li a.active span {
        width: 0.8rem !important;
        height: 0.8rem !important;
        margin: -0.4rem 0 0 -0.4rem !important;
    }

    #fp-nav ul li,
    .fp-slidesNav ul li {
        width: 10px !important;
        height: 10px !important;
        margin: 7px;
    }

    .top_txt {
        font-size: 6.4rem;
    }
    .bottom_txt {
        font-size: 6.4rem;
    }
}
