@charset "utf-8";

/*==========================
lathe  machining center inspection
==========================*/
.topic--equipment {
    position: relative;
    padding-left: 10px;
}

.topic--equipment::before {
    content: "";
    display: block;
    position: absolute;
    height: 50%;
    width: 2px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-orange);
    border-radius: 7px;
}

.equipment__contents {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

/* E-table */
/* wp */
body .is-layout-flex {
    align-items: flex-start;
}

.E-table.wp-block-table.is-style-stripes th:nth-child(1) {
    width: 14em;
}

.E-table.wp-block-table.is-style-stripes th:nth-child(2) {
    width: 6em;
}


.E-table--3column.E-table.wp-block-table.is-style-stripes.wp-container-content-9cfa9a5a th:nth-child(1) {
    width: 10em;
}

.E-table--3column.E-table.wp-block-table.is-style-stripes.wp-container-content-9cfa9a5a th:nth-child(2) {
    width: 14em;
}

/*  */

.E-Table__container {
    overflow-x: auto;
    max-width: 100%;
}

.E-Table__container::-webkit-scrollbar {
    opacity: 0;
    height: 2px;
}

.E-Table__container::-webkit-scrollbar-thumb {
    border: 2px solid var(--primary-grayLow);
    border-radius: 20px;
    background-color: var(--primary-grayLow);
}

.E-table {
    table-layout: fixed;
    width: 100%;
    max-width: 600px;
}

.E-table thead th {
    width: 6em;
    text-align: left;
    padding: 10px;
}

.E-table.wp-block-table.is-style-stripes th {
    border-bottom: 1px solid var(--primary-black);
    background-color: var(--primary-white);
}

.wp-block-table thead {
    border-bottom: none;
}

.E-table tbody tr td {
    padding: 10px;
}

.E-table tbody tr:nth-child(odd) td {
    background-color: var(--primary-lightGray);
}

.E-table tbody tr:nth-child(even) td {
    background-color: var(--primary-white);
}

/* .E-table thead .equipment__colLong {
    width: 14em;
} */

/* .E-table thead .equipment__colMiddle {
    width: 10em;
} */

/* equipment__img */
.equipment__img__wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: center;
    align-items: center;
}

/* ↑wp後で消す */

/*  wp*/
:where(.is-layout-flex) {
    gap: 32px;
}

/*  */

.equipment__img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

}

.equipment__img img {
    object-fit: cover;
    aspect-ratio: 1.618;
    width: 100%;
    height: auto;
}

.equipment__img--inspection {
    gap: 10px;
}

.equipment__img--inspection img {
    height: auto;
}

.inspection--others {
    display: flex;
    gap: 42px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.inspection--others img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    border: 1px solid #f5f5f5;
}

/* キャプション */
/* .equipment__img__name {
    background-color: #f5f5f5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
} */

.wp-element-caption {
    display: block;
    text-align: center;
    width: 100%;
    background: #f5f5f5;
    padding: 10px;
    margin: 0;
}

/*------600------*/
@media screen and (min-width: 600px) {
    .inspection--others {
        flex-wrap: nowrap;
        gap: 32px;
    }

}

/*------pc 1100------*/
@media screen and (min-width: 1100px) {

    .E-Table__container {
        overflow-x: initial;
    }

    .equipment__contents {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 50px;
        gap: 40px;
    }

    .equipment__contents--inspection {
        flex-wrap: wrap;
        gap: 50px;
    }

    .equipment__img__wrap {
        margin-top: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .equipment__img img {
        aspect-ratio: 1.618;
        height: 350px;
    }

    .equipment__img--inspection {
        flex-direction: row;
    }

    .equipment__img--inspection img {
        height: 250px;
    }

    .inspection--others {
        gap: 10px;
    }

    .inspection--others img {
        width: auto;
        height: 250px;
        aspect-ratio: 1/1;
    }

    .equipment__img--others img {
        height: 250px;
    }

}