@charset "UTF-8";

/* ARCHIVE */
.post-type-archive-case .head h2,
.tax-cat_case .head h2 {
    padding-bottom: 60px;
    margin-bottom: 60px;
    position: relative;
}
.post-type-archive-case .head h2:before,
.tax-cat_case .head h2:before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    background: var(--color1);
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
}
.post-type-archive-case .cat_list,
.tax-cat_case .cat_list {
    display: flex;
    gap: 30px;
}
.post-type-archive-case .cat_list .active,
.tax-cat_case .cat_list .active {
    background-color: var(--color1);
    color: var(--color_wt);
}
.post-type-archive-case .cat_list a,
.tax-cat_case .cat_list a {
    padding: 5px 15px;
    border: 1px solid var(--color1);
    color: var(--color1);
    border-radius: 25px;
}
.post-type-archive-case .cat_list a:hover,
.tax-cat_case .cat_list a:hover {
    color: var(--color_wt);
    background-color: var(--color1);
}
.post-type-archive-case .white_box,
.tax-cat_case .white_box  {
    border: 1px solid #999999;
    padding: 0;
}
.post-type-archive-case .img,
.tax-cat_case .img  {
    height: inherit;
    width: 100%;
}
.post-type-archive-case .ttl,
.tax-cat_case .ttl {
    padding: 30px;
    padding-bottom: 20px;
    font-size: 16px;
}
.post-type-archive-case .contents a:hover,
.tax-cat_case .contents a:hover{
    opacity: 0.7;
}
.post-type-archive-case .tags,
.tax-cat_case .tags {
    padding-inline: 30px;
    padding-bottom: 30px;
    display: flex;
    gap: 10px;
}
.post-type-archive-case .tags a,
.tax-cat_case .tags a {
    color: #999999;
    border: 1px solid #999;
    padding: 5px 15px;
    border-radius: 20px;
}
.post-type-archive-case .tags a:hover,
.tax-cat_case .tags a:hover {
    background-color: #999;
    color: var(--color_wt);
}
.post-type-archive-case .cat_list li,
.tax-cat_case .cat_list li {
    display: flex;
    align-items: center;
}
.post-type-archive-case .count,
.tax-cat_case .count {
    font-size: 14px;
}
@media (min-width: 768px) and (max-width: 1229px) {
    .post-type-archive-case .head h3.font_l,
    .tax-cat_case .head h3.font_l {
        font-size: 21px;
    }
    .post-type-archive-case .cat_list,
    .tax-cat_case .cat_list {
        gap: 15px;
    }
    .post-type-archive-case .cat_list a,
    .tax-cat_case .cat_list a {
        padding-inline: 10px;
    }
}
@media screen and (max-width: 767px) {

    .post-type-archive-case .head h2,
    .tax-cat_case .head h2 {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .post-type-archive-case .head .btn a,
    .tax-cat_case .head .btn a {
        padding: 10px 50px;
    }
    .post-type-archive-case .cat_list,
    .tax-cat_case .cat_list {
        flex-wrap: wrap;
        row-gap: 15px;
        column-gap: 10px;
    }
    .post-type-archive-case .ttl,
    .tax-cat_case .ttl {
        padding: 15px;
        padding-bottom: 20px;
    }
    .post-type-archive-case .tags,
    .tax-cat_case .tags {
        padding-inline: 15px;
        padding-bottom: 15px;
    }
}

