.archive-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: #3281ef;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}
.case-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4%;
    row-gap: 40px;
    margin-bottom: 40px;
}
.case-single {
    width: 48%;
    border: 1px solid #ccc;
    transition: opacity 0.3s;
}
.case-single:hover {
    opacity: 0.7;
}
.case-single-inner {
    padding: 10px;
}
.case-container {
    display: block;
    text-decoration: none;
}
.case-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.6;
    object-fit: cover;
}
.case-terms {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.case-terms .case-term-link {
    font-size: 12px;
    display: inline-block;
    padding: 2px 5px;
    background-color: #079eb4;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: opacity 0.3s;
}
.case-title {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

}
.case-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.case-rating {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    font-weight: bold;
}
.case-rating .star {
    font-size: 18px;
    line-height: 1;
    color: #ffc107;
}
.case-rating .empty {
    color: #ccc;
}
.case-fee {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
.case-excerpt {
    font-size: 15px;
    color: #000;
    line-height: 1.5;
    height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media (max-width: 768px) {
    .case-list {
        column-gap: 0;
        row-gap: 20px;
    }
    .case-single {
        width: 100%;
    }
    .case-title {
        font-size: 15px;
    }
    .case-terms .case-term-link {
        font-size: 10px;
        padding: 2px 5px;
    }
    .case-rating .star {
        font-size: 15px;
    }
    .case-fee {
        font-size: 15px;
    }
    .case-excerpt {
        font-size: 15px;
    }
}
