@charset "utf-8";

/********** 히스토리 내용 시작 **********/

.main_visual {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
}
.main_visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hidden {
    overflow: hidden;
    position: absolute;
    max-width: 1800px;
    width: calc(100% - 120px);
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
}
.moving-text {
    position: relative;
    left: 20%;
    max-width: 1080px;
    width: 56.25vw;
    font-size: 10rem;
    font-weight: 700;
    color: #000;
    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;
}
.moving-text img {
    width: 100%;
}
@keyframes reveal {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0);
    }
}

.history_wrap {background-color: #fff;}
.history_wrap .inner {
    max-width: 1800px;
    width: calc(100% - 120px);
    margin: 0 auto;
    margin-top: 12.5rem;
}

.intro.inner {
    /* margin: 592px auto 298px; */
    margin: 21.5rem auto 21.5rem;
}
.intro p {
    max-width: 1044px;
    width: calc(100% - 60px);
    word-break: keep-all;
    font-size: 2rem;
    font-family: 'Pretendard-Bold';
    letter-spacing: calc(-0.05 * 2rem);
    margin-top: 12.5rem;

}


.list_wrap {
    display: flex;
    justify-content: space-around;
    gap: 60px;
}
.list_wrap .sticky {
    position: sticky;
    width: 887px;
    height: 397px;
    top: 140px;
}
.list_wrap .sticky > div {
    display: flex;
    align-items: start;
    height: 100%;
    opacity: 0;
    transition: 0.3s;
    position: absolute;
    top: 90px;
    left: 0;
}
.list_wrap .sticky > div.visible {
    opacity: 1;
}
.list_wrap .sticky h5 {
    font-size: 5.625rem;
    margin-right: 95px;
    font-family: 'Bricolage Grotesque-Bold';
}
.list_wrap .sticky img {
    max-width: 589px;
    width: 30vw;
    object-fit: contain;
}
.list_wrap .list {
    max-width: 589px;
    /* width: 41.16vw; */
    width: 35vw;
}
.list_wrap .text li {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 57px;
    font-size: 1.25rem;
    line-height: 150%;
    padding: 0 0 40px 0px;
    letter-spacing: calc(-0.05 * 1.25rem);
    font-family: 'Pretendard-SemiBold';

}
.list_wrap .text {

    border-bottom: 1px solid #ddd;
    padding: 80px 0;
}
.list_wrap .text:last-child {
    border-bottom: 0;
}
.list_wrap .text li {
    list-style:disc;
    margin-top: 10px;
}

.list ul h2 {
    list-style:none !important;
    font-size: 2rem;
    line-height: 150%;
    letter-spacing: calc(-0.05 * 2rem);
    font-family: 'Pretendard-Bold';
    color: #1704EF;
    padding-bottom: 20px;
    margin-top: 0;
    font-family: 'Bricolage Grotesque-Bold';
}


.list_wrap ul:last-child {
    padding-bottom: 400px;
}

.list_wrap .text img {
    display: none;}

/********** 히스토리 내용 끝 **********/

/* 반응형 */
@media screen and (max-width: 1230px) {
    html {
        font-size: 80%;
    }
    .history_wrap .inner, .hidden {
        width: calc(100% - 60px);
    }
    .list_wrap .sticky {
        width: fit-content;
    }
    .list_wrap .sticky > div {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .list_wrap .sticky img {
        max-width: 400px;
    }
}

@media screen and (max-width: 960px) {
    .history_wrap .inner {
        flex-direction: column;
        margin-top: 0;
    }
    .list_wrap .sticky {
        top: 80px;
        display: none;
    }
    .list_wrap .list {
        max-width: auto;
        width: 100%;
    }
    .list_wrap .sticky {
        width: 100%;
        height: 150px;
    }
    .list_wrap .sticky > div {
        width: 100%;
        justify-content: start;
        align-items: baseline;
        background-color: #fff;
    }
    .list_wrap .sticky h5 {
        font-size: 50px;
        margin: 0;
    }
    .list_wrap .sticky img {
       max-width: fit-content;
       width: 80%;
       height: auto;
    }
    .list_wrap .text:first-child {
        padding: 8vh 0 0 25px;
    }
    .list_wrap .text {
        padding: 15vh 0 0 25px;
        font-size: 1.5rem;
    }
    .list_wrap .text li {
        padding: 0 0 20px 0px;
        margin-top: 20px;
    }
    .list_wrap .text img {
        display: block;
        width: 90%;
    }
    .list ul h2 {
        font-size: 8rem;
    }
    .list_wrap ul:last-child {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 690px) {
    html {
        font-size: 60%;
    }
    .history_wrap .inner, .hidden {
        width: calc(100% - 30px);
    }
    .intro.inner {
        margin-top: 500px;
    }
}

@media screen and (max-width: 500px){
}