/* ##### works index ##### */


.works_wrapFilters {
    display: block;
    border-bottom: 1px solid var(--bordergray);
    margin-bottom: 6rem;
}
.works_listFilters {
    display: flex;
    flex-direction: row;
    border-top: 1px solid var(--bordergray);
    margin:0;
    padding: 1rem 0;
    justify-content: flex-start;
    align-items: flex-start;
}
.works_ttlFilters {
    width: 7rem;
    text-align: center;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: var(--keycolor);
    color: var(--white);
    height: 2.5em;
    /* display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    box-sizing: border-box; */
}
.works_itemFilters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin:0 0 0 2rem;
    gap: 1rem;
    flex: 1;
}
.works_itemFilters a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--bordergray);
    border-radius: 0.25rem;
    text-decoration: none;
}
.works_itemFilters-active {
    background: var(--graywhite);
    pointer-events: none;
}
.works_itemFilters-activeToggle {
    background: var(--graywhite);
}
.works_itemFilters a:hover {
    background: var(--graywhite);
    opacity: 0.7;
}

.works_unitIndex {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}
.works_imgIndex {
    display: block;
    overflow: hidden;
}
.works_imgIndex img {
    transition: transform 0.3s ease-in-out;
}
.works_unitIndex:hover .works_imgIndex img {
    transform: scale(1.1);
}
.works_ttlIndex {
    display: block;
    font-size: var(--font_large);
    font-weight: bold;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.works_wrapTags {
    display: block;
}
.works_wrapBtn {
    display: block;
    padding: 1rem 0 1.5rem 0;
    margin-top: auto;
}
.works_wrapBtn .com_btn {
    width: 100%;
}

/* 詳細を見るボタンを下端に固定 */
[class^="works_unitIndex"] [class^="com_btn"] {
    margin-top: auto;
}


@media screen and (max-width: 767px) {
    .works_listFilters {
        flex-direction: column;
        gap: 1rem;
    }
    .works_ttlFilters {
        width: 100%;
    }
    .works_itemFilters {
        margin:0;
    }
    .works_ttlIndex {
        font-size: var(--font_xlarge);
    }
}


/* ##### works detail ##### */

/* ## works slide ## */
.work_boxSlide {
    display: flex;
    gap: 2rem;
}
.works_wrapSlide {
    flex: 1;
    width: 50%;
}
.works_slide_inner {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.works_slide_inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works_wrapInfo {
    flex: 1;
    width: 50%;
}
.works_thumbList {
    display: flex;
    flex-wrap: wrap;
    margin:0.25rem -0.25rem
}
.works_thumbList li {
    list-style: none;
    width: 20%;
    padding: 0.25rem;
}
.works_thumbList li a {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.works_thumbList li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works_infoTable {
    margin-bottom: 3rem;
}
.works_paragrahp {
    padding: 0.75em 0 1.5em 0;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .work_boxSlide {
        flex-direction: column;
    }
    .works_wrapSlide {
        width: 100%;
    }
    .works_wrapInfo {
        width: 100%;
    }
}