/* 서비스 내용 시작 */

.main_visual {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
    background-color: #1500FF;
}
.main_visual .inner, .scroll_section .inner {
    max-width: 1800px;
    width: calc(100% - 120px);
    height: 100%;
    margin: 0 auto;
}

/* 떨어지는 도형 */
.container {
    position: relative;
    left: -30px;
    max-width: 1080px;
    width: 60%;
    height: 70vh;
    background-color: #1500FF;
    overflow: hidden;
    z-index: 1;
}
.draggable-text {
    position: absolute;
    padding: 16px 32px;
    border: 1px solid #fff;
    border-radius: 40px;
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    text-align: center;
    cursor: grab;
    white-space: nowrap;
    z-index: 1;
}

.main_visual h3 {
    font-size: 160px;
    font-weight: 700;
    color: #fff;
    transition: transform 0.3s ease, top 0.3s ease, color 0.3s ease;
    animation: reveal 3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes reveal {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0);
    }
}
.main_visual img {
    max-width: 798px;
    width: 100%;
    margin-top: 40vh;
}



/* 스크롤 슬라이드 */
/* .serviceSwiper {
    height: 100vh;
}
.serviceSwiper .swiper-wrapper {
    height: 100%;
} */
.scroll_section {
    width: 100%;
    /* height: 100vh;
    position: relative; */
}
.scroll_section .page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* position: absolute;
    top: 0;
    left: 0;
    opacity: 0; */
    padding: 12rem 0;
    transition: 0.3s;
}
/* .scroll_section .page.visible {
    opacity: 1;
} */

.scroll_item {
    max-width: 1800px;
    margin: 0 auto;
    /* width: calc(100% - 120px); */
    /* width: 100%; */
    /* height: 590px; */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 50px;
}
.item_left {
    display: flex;
}
.item_left > span {
    max-width: 135px;
    width: 100%;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
}
.scroll_item .text_box {
    max-width: 932px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.scroll_item h6 {
    font-size: 5.625rem;
    font-weight: 700;
    line-height: 135%;
    margin-bottom: 40px;
    font-family: 'Bricolage Grotesque-Bold';
}

.tag {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag span {
    font-size: 1.5rem;
    padding: 16px 32px;
    background-color: #111;
    border-radius: 50px;
    color: #fff;
    transition: 0.2s;
}
.tag span:hover {
    background-color: #1500FF;
}

.scroll_item .item_right {
    max-width: 589px;
    width: 100%;
}
.scroll_item .item_right img {
    width: 100%;
    height: 369px;
    object-fit: cover;
    margin-bottom: 40px;
}
.scroll_item .item_right p {
    font-size: 1.25rem;
    letter-spacing: calc(-0.05 * 1.25rem);
    line-height: 150%;
}

/* 휠 스크롤 아이템 제어 */

/* .scroll_section {
    position: relative;
    width: 100%;
    height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 200px auto;
}

.scroll_item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
    max-width: 1800px;
    width: calc(100% - 120px);
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.scroll_item.visible {
    opacity: 1;
}
.item_left {
    display: flex;
}
.item_left > span {
    max-width: 135px;
    width: 100%;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
}
.scroll_item .text_box {
    max-width: 740px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.scroll_item h6 {
    font-size: 90px;
    font-weight: 700;
    line-height: 135%;
    margin-bottom: 40px;
}

.tag {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag span {
    font-size: 24px;
    padding: 16px 32px;
    background-color: #111;
    border-radius: 50px;
    color: #fff;
}

.scroll_item .item_right {
    max-width: 589px;
    width: calc(100% - 30px);
}
.scroll_item .item_right img {
    width: 100%;
    height: 369px;
    object-fit: cover;
    margin-bottom: 40px;
}
.scroll_item .item_right p {
    font-size: 20px;
    line-height: 150%;
}

.section-above,
.section-below {
    background-color: #fff;
    text-align: center;
} */
/* 휠 스크롤 아이템 제어 끝 */

/* 반응형 */
@media screen and (max-width: 1230px) {
    html {
        font-size: 80%;
    }
    .main_visual .inner, .scroll_section .inner {
        width: calc(100% - 60px);
    }
    /* 떨어지는 도형 */
    .container {
        width: 80%;
    }

    .tag span {
        font-size: 18px;
    }
    .item_left > span {
        margin-top: 10px;
        margin-right: 15px;
    }
    .scroll_item h6 {
        margin-bottom: 15px;
    }
    .scroll_item .item_right img {
        margin-left: 135px;
    }
}

@media screen and (max-width: 960px) {
    /* 떨어지는 도형 */
    .container {
        width: 100%;
    }
    .draggable-text {
        padding: 12px 20px;
        border-radius: 40px;
        font-size: 18px;
    }
    .main_visual h3 {
        font-size: 50px;
    }

    .item_left > span {
        width: fit-content;
    }
    .tag span {
        font-size: 15px;
        padding: 10px 15px;
    }
    .scroll_item .item_right img {
        margin-left: 0;
    }
    .scroll_item .item_right p {
        font-size: 16px;
    }
}

@media screen and (max-width: 690px) {
    html {
        font-size: 60%;
    }
    .main_visual .inner, .scroll_section .inner {
        width: calc(100% - 30px);
    }
     /* 떨어지는 도형 */
     .container {
        width: 120%;
        height: 80vh;
    }
    .draggable-text {
        padding: 8px 13px;
        font-size: 14px;
    }
}

@media screen and (max-width: 500px){
    .scroll_item h6 {
        font-size: 40px;
    }
    .item_left > span {
        font-size: 25px;
    }
    .scroll_item .item_right img {
        height: 275px;
    }
}

/* 서비스 내용 끝 */

