@charset "UTF-8";

.breadcrumb {
    margin-top: 100px;
}

.cont_sec {
    position: relative;
    padding: 100px 0;
}

.cont_sec:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .15;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.cont_sec .title_box {
    margin-bottom: 50px;
}

.cont_sec .title_box .category {
    margin-bottom: 20px;
}

.cont_sec .title_box .category ul li {
    font-size: 20px;
}

.cont_sec .title_box .category ul li:first-child::after {
    content: ">";
    margin: 0 1em;
}

.cont_sec .title_box .title {
    font-size: 25px;
    border-left: 4px solid #F44747;
    padding-left: .5em;
    line-height: 1.4;
}

.cont_sec .picture {
    width: 660px;
    height: 480px;
    overflow: hidden;
    position: relative;
    background: url(/wp-content/themes/swell_child/image/works_back.webp) no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 auto 50px auto;
    
}

.cont_sec .picture img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.cont_sec .text_box table {
    width: 100%;
}

.cont_sec .text_box table th,
.cont_sec .text_box table td {
    padding: 1em;
    border-bottom: 1px solid;
    vertical-align: middle;
    line-height: 1.8;
}

.cont_sec .text_box table th {
    width: 15%;
    font-size: 20px;
}

.cont_sec .text_box table td {
    width: 85%;
}

.cont_sec .sub_picture_list {
    width: 660px;
    margin: -30px auto 50px auto;
}

.cont_sec .sub_picture_list .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cont_sec .sub_picture_list .list .item {
    margin: 0;
    padding: 0;
}

.cont_sec .sub_picture_list .list .item .image {
    width: 100%;
    aspect-ratio: 660 / 480;
    overflow: hidden;
    position: relative;
    background: url(/wp-content/themes/swell_child/image/works_back.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

.cont_sec .sub_picture_list .list .item .image img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

@media (max-width: 750px) {
    
    .breadcrumb {
        margin-top: 5vw;
    }
    
    .cont_sec {
        padding: 10vw 0;
    }
    
    .cont_sec .title_box {
        margin-bottom: 10vw;
    }
    
    .cont_sec .title_box .category {
        margin-bottom: 4vw;
    }
    
    .cont_sec .title_box .category ul li {
        font-size: 3.5vw;
    }

    .cont_sec .title_box .title {
        font-size: 4.5vw;
    }
    
    .cont_sec .picture {
        margin-bottom: 10vw;
        width: 90%;
        height: 64vw;
    }
    
    .cont_sec .text_box table th,
    .cont_sec .text_box table td {
        display: block;
        border: none;
        padding: .5em;
    }
    
    .cont_sec .text_box table th {
        width: 100%;
        font-size: 4vw;
        background: #fff;
        color: #1a1a1a;
    }
    
    .cont_sec .text_box table td {
        width: 100%;
    }

    .common_page_wrap {
        padding-top: 10vw;
    }

    .cont_sec .sub_picture_list {
        width: 90%;
        margin: -7vw auto 10vw auto;
    }

    .cont_sec .sub_picture_list .list {
        gap: 3vw;
    }

    .cont_sec .sub_picture_list .list .item .image {
        aspect-ratio: 660 / 480;
    }

}