/* 연혁 */
.sub-container {
    gap: 3rem;
}
.history-box {
    display: grid;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d9d9d9;
    grid-template-columns: 20% 1fr;
    gap: 2rem;
}
.history-box:last-child {
    border: 0;
}
.history-box > h1 {
    color: var(--primary-color);
    font-size: 2.625rem;
    font-weight: 700;
    text-align: center;
    height: fit-content;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
    background-color: #fff;
    border-radius: 1rem;
}
.history-box ul {
    padding-top: 10px;
    gap: 1rem;
}
.history-box ul li {
    display: grid;
    grid-template-columns: 15% 1fr;
    gap: 0 3rem;
}
.history-box ul li p {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: right;
}
.history-box ul li span {
    font-size: 1.25rem;
}
.history-box ul li span::before {
    content: '';
    width: 5px;
    height: 5px;
    margin: 0 10px 5px 0;
    display: inline-block;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 991px) {
    .history-box {
        grid-template-columns: none;
        gap: 0;
    }
    .history-box > h1 {
        color: var(--primary-color);
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
        height: fit-content;
        border: none;
        padding: 1rem;
        background-color: #fff;
    }
    .history-box ul li {
        grid-template-columns: 20% 1fr;
        gap: 0 1.5rem;
    }
    .history-box ul li p {
        font-size: 1rem;
    }
    .history-box ul li span {
        font-size: 1rem;
    }
}