html,
body {
    font-family: 'SUIT', sans-serif;
    padding: 0;
    padding-top: 103px;
    width: 100%;
    height: fit-content;
    /* overflow: hidden; */
    overflow-x: hidden;
}

* {
    cursor: none !important; /* 마우스 커서 숨기기 */
}

/* 커서 디자인 */
.custom-cursor {
    z-index: 9999;
    display: none; /* 초기에는 보이지 않게 설정 */
    position: fixed;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    pointer-events: none;
    background-color: rgb(255, 164, 179);
    transition: opacity 0.15s ease-in-out, transform 0.25s ease-in-out;
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0px) scale(1);
    opacity: 0; /* 초기에는 투명 상태 */
}

/* 잔상처럼 따라다니는 원 디자인 */
.cursor-trail {
    z-index: 9998; /* 커서보다 하위에 위치 */
    display: none; /* 초기에는 보이지 않게 설정 */
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    width: 15px;
    height: 15px;
    background-color: rgba(255, 164, 179, 0.4);
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0px) scale(1);
    opacity: 0; /* 초기에는 투명 상태 */
}

/* 마우스 커서와 잔상처럼 따라다니는 원을 동시에 표시 */
.cursor-active .custom-cursor,
.cursor-active .cursor-trail {
    display: block;
    opacity: 1;
}

.pc- {
    display: block !important;
}

.m- {
    display: none !important;
}

.section {
    overflow: hidden;
}
.text_right {
    text-align: right;
}

#header {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9997;
}

.header_container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#header > a > img {
    width: 130px;
}

.header-menu {
    display: flex;
    align-items: center;
}

.header-menu ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-menu ul li a {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #000;
    padding: 10px 20px;
}

.header-menu ul li a.active {
    color: #ef8190;
    border: 1px solid #ef8190;
    border-radius: 30px;
}

.header-right ul li {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.header-right ul li:not(:last-child) {
    margin-bottom: 5px;
}

#home {
    position: relative;
    padding-bottom: 80px;
}

.main_bg {
    position: absolute;
    top: 10px;
    right: 5%;
}

.comment_box {
    width: 100%;
    padding: 50px 0;
    border-bottom: 1px solid #d7d7d7;
    padding: 0 5%;
}

.comment_box span {
    font-family: 'NEWWORK', sans-serif;
    font-size: 200px;
    font-weight: 400;
    color: #000;
}

.brand_ment_box {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 105px;
    padding-top: 42px;
}

.brand_ment_box p {
    font-size: 40px;
    font-weight: 400;
    color: #000;
    font-family: 'NEWWORK', sans-serif;
}

.section_foot {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.foot_left p {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
}

.circle-container {
    display: block;
    color: #000;
    position: relative;
    width: 175px;
    height: 175px;
}

#circle-text {
    font-family: 'NEWWORK', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    transform-origin: center;
    animation: rotate 10s linear infinite;
}

img.down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#about {
    width: 100%;
    /* background-color: #000; */
    overflow: hidden;
}

.section2_1 {
    width: 100%;
    display: flex;
    height: 1385px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    align-items: flex-start;
}

.section_2_1_1 {
    width: 40.95%;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.section_2_1_1 > div {
    position: absolute;
    top: 290px;
    left: 12.7%;
}

.section_2_1_1 > div h3 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 65px;
    position: relative;
}

.section_2_1_1 > div p {
    padding-left: 90px;
    font-size: 25px;
    font-weight: 300;
    color: #fff;
    line-height: 2.2;
    position: relative;
    z-index: 2;
}

.text_container {
    position: absolute;
    top: -300px;
    left: -430px;
    z-index: 1;
}

.section_2_1_2 {
    width: 59.05%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section_2_1_2_1 {
    width: 100%;
    height: 75%;
    padding: 50px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: flex-end;
}

.section_2_1_2_1 p {
    font-size: 96px;
    font-weight: 400;
    color: #fff;
    font-family: 'NEWWORK', sans-serif;
}

.section_2_1_2_1 p span {
    color: #fcbffe;
}

.section_2_1_2_2 {
    width: 100%;
    height: 25%;
}

.lee_img {
    position: absolute;
    top: 205px;
    right: 0;
}

.section_2_1_2_2 {
    padding: 50px 30px;
}

.section_2_1_2_2 h3 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
    line-height: 1.4;
}

.section_2_1_2_2 p {
    font-size: 25px;
    font-weight: 300;
    color: #fff;
    line-height: 2.2;
}

.section2_2 {
    width: 100%;
    height: 2670px;
    position: relative;
}

.section2_2 .line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 0;
    left: 50vw;
    transform: translateX(-50%);
}

.section2_title {
    font-family: 'NEWWORK', sans-serif;
    font-size: 200px;
    /* font-size: 15rem; */
    font-weight: 400;
    color: #fff;
}

.section2_comment {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    /* background-color: #000; */
}

.section2_comment .num {
    position: absolute;
    top: -30px;
    left: -30px;
}

.section2_comment .num.right {
    right: -30px;
}

.section2_sub_comment {
    font-size: 20px;
    font-weight: 300;
    color: #fcbffe;
    line-height: 1.3;
}

.section_2_2_1 {
    width: 78%;
    position: absolute;
    top: 285px;
    left: 21.3%;
}

.section_2_img1 {
    position: absolute;
    top: 460px;
    left: 0;
}

.section_2_img2 {
    position: absolute;
    top: 1530px;
    right: 0;
}

#service {
    padding: 130px 0 200px;
}

.brand_title {
    font-family: 'NEWWORK', sans-serif;
    font-size: 115px;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin-bottom: 135px;
}

/* .section_2_2_1 .section2_comment {
    position: absolute;
    top: 428px;
    left: 30%;
} */
/* .section_2_2_1 .section2_sub_comment {
    position: absolute;
    top: 530px;
    left: 40%;
} */

.section_2_2_2 {
    width: 50%;
    position: absolute;
    top: 1105px;
    left: 42%;
}

/* .section_2_2_2 .section2_comment {
    position: absolute;
    top: 415px;
    left: -340px;
} */

.section_2_2_3 {
    width: 85%;
    position: absolute;
    top: 1980px;
    left: 18.3%;
}

/* .section_2_2_3 .section2_comment {
    position: absolute;
    top: 428px;
    left: 36%;
} */
/* .section_2_2_3 .section2_sub_comment {
    position: absolute;
    top: 530px;
    left: 47%;
} */

.service_btn_container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.btn_img {
    display: none;
}

.service_btn {
    padding: 13px 58px;
    background-color: #fff;
    border: 1px solid #626262;
    border-radius: 80px;
    font-size: 30px;
    font-weight: 400;
    color: #626262;
    cursor: pointer;
}

.service_btn_container.active .service_btn {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.service_btn_container.active .btn_img {
    display: block;
}

.service_btn_box {
    width: 1290px;
    margin: 0 auto 90px;
    display: flex;
    justify-content: center;
    gap: 24px 30px;
    flex-wrap: wrap;
}

.service_logo_box {
    position: relative;
    width: 100%;
}

.service_logo_container {
    overflow: hidden;
}

.service_logo_container .swiper-wrapper {
    width: 100%;
    align-items: center;
    transition-timing-function: linear !important;
}

.service_logo_container .swiper-slide {
    width: auto !important;
}

.service_logo_container .swiper-wrapper img {
    display: block;
    margin: 0 auto;
}

#footer {
    width: 100%;
    background-color: #000;
}

.section5 {
    width: 100%;
    padding: 165px 0 0;
    background-color: #000;
}

.contact_container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 85px;
    border-bottom: 1px solid #fff;
}

.footer_container {
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

.contact_title {
    font-family: 'NEWWORK', sans-serif;
    font-size: 128px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.contact_form {
    width: 796px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_form input {
    width: 100%;
    height: 60px;
    border: 1px solid #fff;
    padding: 20px 25px;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    background-color: #000;
    box-sizing: border-box;
    font-family: 'SUIT', sans-serif;
}

.contact_form textarea {
    width: 100%;
    height: 195px;
    border: 1px solid #fff;
    padding: 20px 25px;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    background-color: #000;
    box-sizing: border-box;
    font-family: 'SUIT', sans-serif;
}

.form_submit {
    width: 164px;
    height: 48px;
    background-color: #fff;
    font-size: 32px;
    font-weight: 400;
    color: #000;
    font-family: 'NEWWORK', sans-serif;
    border: none;
    outline: none;
    cursor: pointer;
}

.footer_top {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: flex;
    justify-content: space-between;
    margin-bottom: 175px;
}

.footer_top_left p {
    line-height: 1.4;
}

.footer_top_right p {
    text-align: right;
}

.footer_bottom {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.section4_container {
    width: 90%;
    margin: 0 auto;
}

.section4_title {
    font-size: 115px;
    font-weight: 400;
    color: #000;
    font-family: 'NEWWORK', sans-serif;
    padding-bottom: 28px;
    border-bottom: 1px solid #000;
}

.section4_content_container {
    width: 100%;
    padding: 32px 0 110px;
}

.s4_content_title {
    font-size: 25px;
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
}

.s4_logo_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
}

.s4_logo_box {
    width: calc((20% - 25px));
    height: 135px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #eaeaea;
}

.s4_logo_box img {
    max-width: 90%;
    max-height: 90%;
}

.add_btn_container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.add_btn_container button {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.add_none {
    position: absolute;
    width: 100%;
    height: 293px;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 85%);
}

.section4_content_container1 {
    padding-bottom: 100px;
    border-bottom: 1px solid #000;
}

.stroke {
    color: #000;
    -webkit-text-stroke: 2px #fff;
}

.cursor {
    font-weight: 900;
    animation: blink 0.7s step-end infinite;
}

.stroke.one {
    transition: color 1s ease-in-out;
}

.s4_logo_box.none {
    display: none;
}

.stroke.one.color-change {
    color: #fff;
}

.service_logo_container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    height: 0; /* 공간을 차지하지 않게 합니다 */
    overflow: hidden; /* 애니메이션 시의 오버플로를 방지합니다 */
}

.service_logo_container.active {
    opacity: 1;
    visibility: visible;
    height: auto; /* 요소가 다시 공간을 차지하도록 합니다 */
}

#three-container {
    position: absolute;
    top: -1000px;
    left: -100px;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* This ensures the Three.js canvas doesn't block interactions */
    z-index: 9999;
}

#g-char {
    position: relative;
    display: inline-block;
}

.num_title {
    position: relative;
}

/* .section2_title .num_s_comment {
    position: absolute;
    bottom: 40px;
    right: 0;
} */

.num_s_comment {
    font-size: 40px;
    font-weight: 700;
    color: #fcbffe;
}

.contact_title .contact_info {
    font-family: 'noto sans kr', sans-serif;
    display: block;
    margin-top: 50px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.brand_title span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 20px;
    letter-spacing: 2px;
}

.s4_logo_box img {
    scale: 0.7;
    z-index: -1;
}

@media (max-width: 1650px) {
    /* .section2_title .num_s_comment {
        bottom: -20px;
    } */
}

@keyframes blink {
    from,
    to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (max-width: 1460px) {
    .pc- {
        display: none !important;
    }

    .m- {
        display: block !important;
    }

    #header {
        display: none;
    }

    .comment_box {
        padding: 25px 5%;
    }

    .comment_box span {
        font-size: 64px;
    }

    .brand_ment_box p {
        font-size: 15px;
    }

    #home {
        overflow: hidden;
    }

    .main_bg {
        width: 50%;
        min-width: 300px;
        top: 340px;
        right: -80px;
    }

    .section_foot {
        position: relative;
        justify-content: flex-end;
        padding-top: 80px;
    }

    .foot_left {
        position: absolute;
        top: -85px;
        left: 0;
    }

    .foot_left p {
        font-size: 11px;
    }

    #m_section2 {
        width: 100%;
        /* background-color: #000; */
        position: relative;
        padding-bottom: 60px;
        z-index: -20;
    }

    .line {
        width: 1px;
        height: 94%;
        background-color: rgba(255, 255, 255, 0.5);
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }

    .m_section2_1 {
        padding: 160px 0 120px;
    }

    .m_title {
        font-size: 40px;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
    }

    .ms_title {
        padding-left: 5%;
        margin-bottom: 115px;
        position: relative;
    }

    .ms_title p {
        position: relative;
        z-index: 2;
    }

    .ms_title_bg {
        position: absolute;
        top: -130px;
        left: 0;
    }

    .m_comment {
        font-size: 13px;
        font-weight: 300;
        color: #fff;
        line-height: 2;
        background-color: #000;
        z-index: 3;
        position: relative;
        display: inline-block;
    }

    .m_section2_1 .m_comment {
        padding-left: 5%;
    }

    .m_section2_2 {
        padding-bottom: 55px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .ms2_title {
        font-family: 'NEWWORK', sans-serif;
        font-size: 82px;
        font-weight: 400;
        color: #fff;
        margin-bottom: 70px;
    }

    .ms2_title span {
        color: #fcbffe;
    }

    .right_sub_title {
        padding: 0 5%;
        display: flex;
        justify-content: flex-end;
        margin-top: 58px;
    }

    .m_section2_3 {
        padding-top: 25px;
        position: relative;
    }

    .top_title {
        font-size: 24px;
        font-weight: 400;
        color: #fff;
        text-align: right;
        font-family: 'NEWWORK', sans-serif;
        margin-bottom: 55px;
    }

    .m_section23_bg {
        position: absolute;
        right: 0%;
        top: 120px;
    }

    .s23_title {
        font-family: 'NEWWORK', sans-serif;

        font-size: 100px;
        font-weight: 400;
        color: #fff;
    }

    .pl5 {
        padding-left: 5%;
    }
    .pr5 {
        padding-right: 5%;
    }

    .s23_title1,
    .s23_comment1 {
        margin-bottom: 50px;
    }

    .s23_comment {
        font-size: 13px;
        font-weight: 500;
        color: #fff;
        line-height: 2;
    }

    .s23_sub_comment {
        font-size: 13px;
        font-weight: 300;
        color: #fcbffe;
        text-align: right;
        line-height: 1.6;
    }

    .section23_container1 {
        margin-bottom: 55px;
    }

    .s23_title2 {
        display: inline-block;
        margin-bottom: 20px;
        position: relative;
    }

    .flex_right_container {
        display: flex;
        justify-content: flex-end;
    }

    .s23_title2 span.s_comment {
        font-size: 16px;
        font-weight: 700;
        color: #fcbffe;
        position: absolute;
        /* bottom: 10px; */
        /* left: -65px; */
    }

    .s23_title3 {
        margin-bottom: 20px;
    }

    .section23_container3 {
        margin-top: 60px;
    }

    .brand_title {
        font-size: 28px;
        text-align: left;
        padding-left: 5%;
        margin-bottom: 32px;
    }

    .service_btn_box {
        width: 100%;
        padding: 0 5%;
        flex-direction: column;
        gap: 12px;
    }

    .service_btn_box img {
        width: 48px;
    }

    .service_btn {
        padding: 12px 36px;
        font-size: 20px;
    }
    .service_logo_container .swiper-wrapper img {
        width: 150px;
    }
    .service_logo_container .swiper-wrapper img.wd70 {
        width: 70px;
    }
    .service_btn_box {
        margin: 0 auto 50px;
    }

    #service {
        padding: 55px 0;
    }

    .contact_container {
        flex-direction: column;
        gap: 30px;
    }

    .contact_title {
        font-size: 60px;
    }

    .contact_title img {
        width: 60px;
    }

    .section5 {
        padding: 55px 0;
    }

    .contact_form {
        width: 100%;
    }

    .contact_form input {
        height: 40px;
        padding: 15px 20px;
        font-size: 18px;
    }

    .contact_form textarea {
        height: 150px;
        padding: 15px 20px;
        font-size: 18px;
    }
    .form_submit {
        width: 120px;
        height: 38px;
        font-size: 24px;
    }

    .footer_container {
        padding: 0 0 40px;
    }

    .footer_top {
        margin-bottom: 40px;
    }

    .footer_top,
    .footer_bottom {
        font-size: 12px;
    }

    .section4_title {
        font-size: 35px;
        padding-bottom: 14px;
    }

    .s4_content_title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #home {
        padding: 65px 0 32px;
    }
    .brand_ment_box {
        padding-top: 24px;
    }

    html,
    body {
        padding-top: 0;
    }

    .brand_title span {
        font-size: 12px;
        margin-top: 10px;
        letter-spacing: 1px;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .s4_logo_box {
        width: calc((33% - 20px));
        height: 80px;
    }

    .section4_content_container {
        padding: 32px 0;
    }

    .add_btn_container button {
        font-size: 15px;
    }
}

@media (max-width: 500px) {
    .s4_logo_container {
        gap: 15px;
    }
    .s4_logo_box {
        width: calc((50% - 12px));
        height: 80px;
    }
}
