@charset "UTF-8";

/*
--------------------------------*/
body::after {
    position: absolute;
    content: '';
    top: -350px;
    right: -500px;
    width: 962px;
    height: 962px;
    background: url(../img/common/back.svg);
    background-repeat: no-repeat;
    z-index: -1;
}

h3 {
    font-size: 2.0rem;
    font-family: 'shippori-semi';
    text-align: center;
    padding-bottom: 43px;
}

.page-main {
    width: 100%;
    height: 145px;
    margin: 22px 0 63px;
    object-fit: cover;
}

.works {
    display: flex;
    flex-wrap: wrap;
}

.works img {
    width: calc((100% - 2px) / 3);
    height: calc(85vw / 3);
    max-height: calc((976px - 2px) / 3);
    object-fit: cover;
    margin-right: 1px;
    border-bottom: 1px solid #fff;
}

.works img:nth-child(3),
.works img:nth-child(6),
.works img:nth-child(9),
.works img:nth-child(12),
.works img:nth-child(15) {
    margin-right: 0;
}

@media screen and (max-width: 900px) {
    body::after {
        position: absolute;
        content: '';
        top: -25vw;
        right: -50vw;
        width: 100vw;
        height: 100vw;
        background: url(../img/common/back-sp.svg);
        background-repeat: no-repeat;
        background-size: contain;
        z-index: -1;
    }

    h3 {
        font-size: 17px;
        padding-bottom: 16px;
    }

    .page-main {
        height: 67px;
        margin: 12px 0 34px;
    }

    .works img {
        width: calc((100% - 1px) / 2);
    }

    .works img:nth-child(3),
    .works img:nth-child(6),
    .works img:nth-child(9),
    .works img:nth-child(12),
    .works img:nth-child(15) {
        margin-right: 1px;
    }

    .works img:nth-child(2),
    .works img:nth-child(4),
    .works img:nth-child(6),
    .works img:nth-child(8),
    .works img:nth-child(10),
    .works img:nth-child(12),
    .works img:nth-child(14),
    .works img:nth-child(16) {
        margin-right: 0;
    }
}