/* 
---------------------------------------------
                Company 03
--------------------------------------------- 
*/

/* cont1 */
.cont1 .visual {
    margin-bottom: 28px;
}

.cont1 .headline {
    text-align: center;
}

.history {
    position: relative;
    margin-top: 140px;
}

.history .timeline {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 100px;
}

.history .timeline::before {
    content: "";
    position: fixed;
    width: 100vw;
    height: 100px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    z-index: 0;
}

.history .year-tabs {
    position: relative;
    height: 100px;
    padding-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 320px;
    z-index: 2;
}

.history .tab {
    font-size: var(--font-2xl);
    color: var(--black-600);
    line-height: 36px;
    cursor: pointer;
    user-select: none;
}

.history .tab.is-active {
    color: var(--primary);
}

.history .bar {
    position: absolute;
    width: 100vw;
    height: 4px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: var(--black-400);
    border-radius: 2px;
    overflow: visible;
    z-index: 1;
}

.history .bar .fill {
    position: absolute;
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--primary);
}

.history .bar .fill::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    outline: 3px solid var(--primary);
    outline-offset: -1px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    pointer-events: none;
    z-index: 3;
}

.history .bar .fill[style*="width: 0"]::after,
.history .bar .fill:is(.is-empty)::after {
    opacity: 0;
}

.history .years {
    margin-top: 90px;
    display: grid;
    row-gap: 200px;
}

.history .year-block {
    position: relative;
}

.history .grid {
    display: flex;
    column-gap: 200px;
    align-items: start;
}

.history .kicker {
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'GmarketSans', sans-serif;
    font-size: 32px;
    font-weight: 400;
}

.history .title {
    margin-bottom: 60px;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.4;
    white-space: pre-line;
}

.history .thumb {
    border-radius: 20px;
    overflow: hidden;
}

.history .thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.history .right {
    min-height: 40vh;
    max-width: 753px;
}

.history .item {
    margin-top: 70px;
    display: grid;
    row-gap: 40px;
}

.history .item>li {
    display: grid;
    grid-template-columns: 63px 1fr;
    column-gap: 50px;
    align-items: start;
}

.history .month {
    font-size: var(--font-xl);
    font-weight: 600;
    line-height: 33px;
}

.history .list {
    display: grid;
    row-gap: 12px;
}

.history .list p {
    color: var(--black-900);
    font-size: var(--font-lg);
    line-height: 32px;
    opacity: 0;
    transform: translateY(8px)
}


@media (max-width: 1280px) {
    .history {
        margin-top: 70px;
    }

    .history .grid {
        column-gap: 130px;
    }

    .history .year-tabs {
        gap: 180px;
    }

    .history .years {
        margin-top: 70px;
        row-gap: 120px;
    }

    .history .kicker {
        font-size: 30px;
    }

    .history .title {
        font-size: 36px;
    }

    .history .item>li {
        column-gap: 30px;
    }
}

@media (max-width: 1024px) {
    .history {
        margin-top: 60px;
    }

    .history .grid {
        column-gap: 70px;
    }

    .history .year-tabs {
        gap: 150px;
    }

    .history .years {
        margin-top: 60px;
        row-gap: 100px;
    }

    .history .kicker {
        font-size: var(--font-3xl);
    }

    .history .title {
        font-size: 32px;
    }

    .history .item>li {
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .history {
        margin-top: 30px;
    }

    .history .timeline {
        position: relative !important;
        top: auto !important;
        height: 64px;
        z-index: 0;
    }

    .history .timeline::before {
        position: absolute !important;
        height: 64px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    }

    .history .year-tabs {
        height: 64px;
        padding: 0 16px 10px;
        gap: 24px;
        align-items: flex-end;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .history .year-tabs::-webkit-scrollbar {
        display: none;
    }

    .history .tab {
        position: relative;
        padding-bottom: 6px;
        color: var(--black-600);
        font-size: var(--font-xl);
        line-height: 28px;
        white-space: nowrap;
    }

    .history .tab.is-active {
        color: var(--primary);
    }

    .history .tab::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        height: 3px;
        width: 0;
        background: var(--primary);
        border-radius: 2px;
        transition: width .25s ease;
    }

    .history .tab.is-active::after {
        width: 100%;
    }

    .history .tab .ch {
        display: inline-block;
    }

    .history .bar {
        display: none;
    }

    .history .years {
        margin-top: 28px;
        row-gap: 80px;
    }

    .history .grid {
        display: block;
    }

    .history .left,
    .history .left.sticky,
    .history [class*="sticky"],
    .history [style*="position: sticky"],
    .history [style*="position:fixed"] {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
    }

    .history .pin-spacer,
    .history .gsap-pin-spacer {
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
    }

    .history [data-force-unpin="1"] {
        position: static !important;
        inset: auto !important;
        transform: none !important;
    }

    .history .kicker {
        margin-bottom: 4px;
        font-size: var(--font-xl);
    }

    .history .title {
        margin-bottom: 20px;
        font-size: var(--font-3xl);
        line-height: 1.35;
        white-space: normal;
    }

    .history .thumb {
        display: flex;
        justify-content: center;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .history .thumb img {
        width: 60%;
    }

    .history .right {
        min-height: 0;
    }

    .history .item {
        margin-top: 28px;
        row-gap: 28px;
    }

    .history .item>li {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 16px;
    }

    .history .month {
        font-size: var(--font-lg);
        line-height: 26px;
    }

    .history .list {
        row-gap: 8px;
    }

    .history .list p {
        font-size: var(--font-md);
        line-height: 26px;
        opacity: 1;
        transform: none;
    }

    .cont1 .visual {
        margin-bottom: 16px;
    }

    .cont1 .headline {
        font-size: 18px;
        line-height: 1.5;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .history .kicker {
        margin-bottom: 0px;
        font-size: var(--font-lg);
    }

    .history .title {
        font-size: var(--font-2xl);
    }

    .history .thumb img {
        width: 100%;
    }

    .history .month {
        font-size: var(--font-md)
    }

    .history .list p {
        font-size: var(--font-base);
    }

    .history .item>li {
        column-gap: 10px;
    }

    .history .years {
        row-gap: 50px;
    }
}