.section6 .top {
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section6 .top .title {
    padding-bottom: 20px;
}


.section6 .top .nav a {
    margin-left: 150px;
    color: #8C8C8C;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 20px 0;
    border-bottom: 4px solid #fff;
}

.section6 .top .nav a:hover {
    color: var(--color);
    font-weight: bold;
    border-bottom: 4px solid var(--color);
}

.box6 {
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box6 a {
    display: block;
    width: 32%;
    margin-bottom: 15px;
}

.box6 a .img {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.box6 a .img img {
    width: 100%;
    transition: 0.3s;
}

.box6 a .img:hover img {
    transform: scale(1.08);
}

.box6 a span {
    color: #8C8C8C;
    font-size: 18px;
    line-height: 1;
}

.box6 a h1 {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin: 30px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.box6 a h2 {
    color: #292929;
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 1440px) {
    .section6 .top .nav a {
        margin-left: 100px;
    }
}

@media (max-width: 992px) {
    .section6 .top .nav a {
        margin-left: 60px;
    }

    .box6 a {
        width: 49%;
    }

    .box6 a:last-child {
        display: none;
    }
}

@media (max-width: 640px) {
    .section6 .top {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .section6 .top .nav a {
        margin: 0 15px;
    }

    .box6 a {
        width: 100%;
    }
}