/* 오시는 길 */

.about_tab {
    /* max-width: 1350px; */
    margin: 0 auto;
    /* padding: 0 20px; */
    margin-bottom: 50px;
    margin-top: 30px;
    /* height: 173px; */
}

.about_tab ul {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    /* padding: 0 30px; */
}

.about_tab li {
    min-width: 200px;
    text-align: center;
}

.about_tab li a {
    display: block;
    padding: 66px 30px;
    font-size: 24px;
    color: #666;
    position: relative;
    font-weight: 700;
}

.about_tab li.active a {
    color: var(--primary-color);
    font-weight: 700;
}

.about_tab li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* 연혁 타임라인 */
.history-wrap {
    max-width: 1350px;
    margin: 90px auto 150px auto;
    padding: 0 20px;
}

.history-title {
    display: flex;
    align-items: baseline;
    gap: 20px;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.history-title span:first-child {
    font-size: 60px;
    margin-right: 90px;
    font-weight: 700;
}

.history-title .history-year {
    color: #e6244b;
    font-size: 60px;
    font-weight: 700;
}

.history-list {
    border-top: 3px solid var(--primary-color);
}

.history-item {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    gap: 60px;
}

.history-item:last-child {
    border-bottom: 4px solid var(--primary-color);
}

.history-range {
    min-width: 180px;
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 700;
    margin-right: 32px;
    position: relative;
    z-index: 1;
    margin-left: 16px;
}

.history-range::after {
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 14px;
    background: #fff;
}

.cut_line {
    background: #ffffff;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 275px;
}

.cut_line.top {
    top: -20px;
    bottom: auto;
}

.history-item ul {
    margin: 0;
    padding: 0;
    list-style: disc inside;
    color: #222;
    font-size: 20px;
    line-height: 2;
    flex: 1;
    position: relative;
    z-index: 1;
}

.history-item ul::before {
    content: '';
    display: block;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 14px;
    background: #fff;
}

.history-item ul li b {
    font-weight: 700;
    color: var(--primary-color);
}

/* 반응형 */
@media (max-width: 768px) {
    .about_tab {
        margin-bottom: 20px;
        padding: 0 16px;
    }
    .about_tab li {
        min-width: auto;
        flex: 1;
    }
    .about_tab li a {
        padding: 12px 15px;
        font-size: 16px;
    }
    .about_title h2 {
        font-size: 28px;
    }

    /* 연혁 타임라인 */
    .history-wrap {
        margin: 40px auto;
        padding: 0 20px;
    }

    .history-title {
        margin-bottom: 30px;
        font-size: 14px;
    }

    .history-title span:first-child {
        font-size: 28px;
        font-weight: 700;
    }

    .history-title .history-year {
        font-size: 24px;
        font-weight: 700;
    }

    .history-list {
        border-top: none;
    }

    .history-item {
        display: block;
        padding: 20px 0;
        /* margin-bottom: 40px; */
        border-bottom: 1px solid var(--border-color);
        gap: 0;
    }

    .history-range {
        min-width: auto;
        color: var(--primary-color);
        font-size: 24px;
        margin: 0 0 15px 0;
    }

    .history-range::after {
        display: none;
    }

    .history-item ul {
        font-size: 16px;
        line-height: 1.8;
    }

    .history-item ul::before {
        display: none;
    }

    .history-item ul li {
        color: #666;
        position: relative;
        padding-left: 12px;
        list-style: none;
    }

    .history-item ul li::before {
        content: "";
        width: 4px;
        height: 4px;
        background: #666;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 12px;
    }

    .cut_line {
        display: none;
    }

    .history-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}