/*==============================================================
works
==============================================================*/
.works-main {
    margin-top: 64px;
    padding: 80px 16px;
    background-color: #FBF5FF;

    @media (max-width: 991px) {
        padding: 40px 16px;
        margin-top: 0px;
    }
}

.works-main-cont {
    max-width: 1440px;
    margin: 0 auto;
}

.works-main-box {}

.works-main-txt-ttl {
    font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
    font-weight: 600;
    line-height: 1;
}

.works-main-txt-des {
    font-size: clamp(1.125rem, 0.625rem + 1.0417vw, 1.875rem);
    font-weight: 600;
    color: #E8D8F2;
    line-height: 1;
}

.works-table-wrapper {
    max-width: 1440px;
    padding: 0 64px;
    margin: 0 auto;
    overflow-x: auto;

    @media (max-width: 991px) {
        padding: 0;
    }
}

works-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.works-table {
    width: 100%;
    border-collapse: collapse;
}

.works-table th,
.works-table td {
    padding: 24px 16px;
    border: 1px solid #ebe5e5;

    @media (max-width: 991px) {
        padding: 16px 10px;
        font-size: 14px;
    }
}

.works-filter {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.filter-btn {
    margin: 0 5px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #02026660;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    min-width: 240px;

    @media (max-width: 991px) {
        min-width: 320px;
        margin-bottom: 8px;
    }
}

.filter-btn.active {
    background: #020266;
    color: #fff;
}

thead th {
    background-color: #C7C7EC;
    color: #020266;
    font-weight: 600;
}

tbody td {
    background-color: #fff;
    font-weight: 500;
}

.works-table th {
    text-align: center;
}



#works-table-area {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#works-table-area.fading {
    opacity: 0;
}

@media (max-width: 991px) {
    .works-table col:nth-child(1) {
        width: 15% !important;
    }

    /* 他のcol.noneも同様に */
}

.works-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.works-table-wrapper {
    overflow-x: auto;
}

/* PC */
.works-table col:nth-child(1) {
    width: 10%;
}

.works-table col:nth-child(2) {
    width: 55%;
}

.works-table col:nth-child(3) {
    width: 25%;
}

.works-table col:nth-child(4) {
    width: 10%;
}

/* スマホ */
@media (max-width: 991px) {
    .works-table col:nth-child(1) {
        width: 108px !important;
    }

    .works-table col:nth-child(2) {
        width: 355px !important;
    }

    .works-table col:nth-child(3) {
        width: 131px !important;
    }

    .works-table col:nth-child(4) {
        width: 108px !important;
    }
}

.works-table td:nth-child(1),
.works-table th:nth-child(1) {
    text-align: center;
}

.works-table td:nth-child(4),
.works-table th:nth-child(4) {
    text-align: center;
}