@charset "utf-8";

/* ======================
.works
====================== */
.section--works {
    width: 100%;
    margin: 0 auto;
    margin-top: 4%;
}

.works__item {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 80px;
}

.works__item:first-of-type {
    margin-top: 0;
}

.works__name {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.works__txt {
    font-size: 1.3rem;
    font-weight: 400;
    color: #a095aa;
    text-align: center;
}



.works__item:nth-child(5) {
    display: none;
}

.works__item:nth-child(6) {
    display: none;
}

.works__item:nth-child(7) {
    display: none;
}

.works__item:nth-child(8) {
    display: none;
}

.decoration4_pc {
    display: none;
}

.worksItem {
    position: relative;
}

.works__imgAfter{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.5s;
}

.works__imgBefore:hover {
    opacity: 0;
}

.works__imgAfter:hover {
    opacity: 1;
}

/* .works pc */
@media screen and (min-width: 600px) {
    .decoration4_sp {
        display: none;
    }

    .decoration4_pc {
        display: block;
    }
}/* pc 600px */

@media screen and (min-width: 769px) {
    .section--works {
        max-width: 1400px;
    }

    .works {
        display: flex;
        flex-wrap: wrap;
        justify-content:center;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 7%;
    }

    .works__item {
        padding: 3%;
        max-width: 50%;
        margin-top: 0;
    }

    .works__img img {
        width: 100%;
    }

    .works__content {
        width: 100%;
    }

    .works__decoration2 {
        margin-top: 70px;
    }

    .works__item:nth-child(5) {
        display: block;
    }

    .works__item:nth-child(6) {
        display: block;
    }

    .works__item:nth-child(7) {
        display: block;
    }

    .works__item:nth-child(8) {
        display: block;
    }
}/* pc 769px */
/* ======================
.pagination
(Google検索 html ページネーション)
====================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
}

.pagination a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border-bottom: 2px solid #f2f2f2;
    color: #413755;
    text-decoration: none;
}

.pagination .current a {
    border-bottom: 2px solid #413755;
    pointer-events: none;
}

.pagination .prev a,
.pagination .next a {
    gap: 0 4px;
    width: auto;
    padding: .5em .8em;
    line-height: 1;
}

.pagination .prev a::before,
.pagination .next a::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    content: '';
}

.pagination .prev a::before {
    border-bottom: 1px solid #413755;
    border-left: 1px solid #413755;
}

.pagination .next a::after {
    border-top: 1px solid #413755;
    border-right: 1px solid #413755;
}

/* ======================
.otherMenu
====================== */
.section__otherMenu {
    margin-top: 90px;
}

.section__photograph {
    margin-top: 70px;
}

.decoration3 {
    margin-top: 40px;
}

.decoration5_sp {
    margin-top: 40px;
}

.decoration5_pc {
    display: none;
}

/* .otherMenu pc */
@media screen and (min-width: 600px) {
    .decoration5_sp {
        display: none;
    }

    .decoration5_pc {
        display: block;
        margin-top: 80px;
    }
}/* pc 600px */

@media screen and (min-width: 769px) {
    .section__otherMenu {
        padding: 0 100px;
    }
}/* pc 769px */