/* 施工事例 */
.works__sec {
    padding: 10vw 0 25vw;
}
.works .lower__ttl {
    line-height: 1.2em;
}
.works .lower__ttl span {
    font-size: 2.4rem;
    font-weight: 400;
    font-family: "Noto Serif JP", serif;
}
.works__list {
    width: 80%;
    margin: 0 auto;
}
.works__list li {
    margin-bottom: 13vw;
}
.works__list p {
    text-align: center;
    font-size: 3.6rem;
    font-family: "Noto Serif JP", serif;
    color: #2a2a2a;
    padding-top: .8em;
}
.process__message {
    text-align: center;
    font-size: 2.5rem;
}

/* 施工事例個別 */
.works__ttl {
    position: relative;
    margin-bottom: 8vw;
}
.works__ttl span {
    font-size: 3rem;
    position: relative;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    color: #004916;
    z-index: 3;
    padding-right: 1em;
    background-color: #fff;
}
.works__ttl::after {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #000;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.worksjirei__mainimg {
    margin-bottom: 14vw;
    height: 80vw;
    overflow: hidden;
}
.worksjirei__mainimg img {
    width: 100%;
    height: 80vw;
    object-fit: cover;
    object-position: center center;
}
.worksjirei__list {
    width: 88%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.worksjirei__list li {
    width: 40vw;
    height: 40vw;
    margin: 0 2vw 4vw 2vw;
    overflow: hidden;
    position: relative;
}
.worksjirei__list li img.modal__trigger {
    width: 100%;
    height: 40vw;
    object-fit: cover;
    object-position: center center;
}
.icon__before, .icon__after ,.icon__kouji {
    width: 35%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.worksjirei__btn {
    width: 77vw;
    background: url(../img/arrow_w_right.png) no-repeat center right 3rem #00913a;
    background-size: 1rem auto;
    text-align: center;
    font-size: 2.8rem;
    color: #fff;
    margin: 10vw auto 0;
    padding: 3.5vw 0;
}

/* モーダル本体 */
.modal__wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    z-index: 100000;
    width: 100%;
    height: 100%;
}
.modal__layer {
    height: 100%;
    background: rgba(0, 0, 0, .85);
    cursor: pointer;
}
.modal__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1100px;
    height: 80vh;
    overflow: hidden;
}
.modal__content {
    width: 100%;
    height: 100%;
}
.modal__content img {
    width: 100%;
    height: 80vh;
    object-fit: contain;
}

/* モーダルを閉じるボタン */
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    cursor: pointer;
    transition: opacity .6s;
    border-radius: 100vw;
}
.modal__close:hover {
    opacity: .6;
}
.modal__close:before,
.modal__close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background: #1e1e1e;
}
.modal__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* ----------------------------------------------------------------------------------------------------*/
/* breakpoint 01 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
/* 751px以上〜 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
@media (min-width: 751px) {
    
    .works__sec {
        padding: 8vw 0 15vw;
    }
    .works .lower__ttl {
        line-height: 1.5em;
        margin-bottom: 5vw;
    }
    .works .lower__ttl span {
        font-size: 2rem;
    }
    .works__list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .works__list li {
        width: 22.75%;
        margin-right: 3%;
        margin-bottom: 8vw;
    }
    .works__list li:nth-child(4n) {
        margin-right: 0;
    }
    .works__list p {
        font-size: 1.8rem;
    }
    .process__message {
        font-size: 1.8rem;
    }
    
    /* 施工事例個別 */
    .works__ttl {
        margin-bottom: 5vw;
    }
    .works__ttl span {
        font-size: 2rem;
    }
    .worksjirei__wrap {
        width: 90%;
        margin: 0 auto;
        display: flex;
    }
    .worksjirei__mainimg {
        width: 55%;
        height: 37vw;
        margin-bottom: 0;
        margin-right: 4%;
    }
    .worksjirei__mainimg img {
        height: 37vw;
    }
    .worksjirei__list {
        width: 41%;
        position: relative;
        justify-content: normal;
    }
    .worksjirei__list li {
        width: 48%;
        height: 17vw;
        margin: 0 4% 3vw 0;
        overflow: hidden;
        position: relative;
    }
    .worksjirei__list li:nth-child(2n) {
        margin-right: 0;
    }
    .worksjirei__list li img.modal__trigger {
        height: 17vw;
    }
    .worksjirei__btn {
        width: 35vw;
        background: url("../img/arrow_w_right.png") no-repeat center right 1.5rem #00913a;
        background-size: .8rem auto;
        font-size: 1.6rem;
        margin: 6vw auto 0;
        padding: 1em 0;
    } 
    
    /* モーダル本体 */
    .modal__container {
        height: 70vh;
    }
    .modal__content img {
        height: 70vh;
    }

}

/* ----------------------------------------------------------------------------------------------------*/
/* breakpoint 02 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
/* 1025px以上〜 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/

@media (min-width: 1025px) {
    .works__sec {
        padding: 80px 0 180px;
    }
    .works__list__img {
        overflow: hidden;
    }
    .works__list li a:hover .works__list__img img {
        transform: scale(1.15,1.15);
    }
    
    /* 施工事例個別 */
    .works__ttl {
        margin-bottom: 50px;
    }
    .worksjirei__mainimg img {
        cursor: pointer;
    }
    .worksjirei__list li {
        height: 17.5vw;
        margin-bottom: 2vw;
    }
    .worksjirei__list li img.modal__trigger {
        height: 17.5vw;
        cursor: pointer;
    }
    .icon__before, .icon__after ,.icon__kouji {
        width: 30%;
    }
    .worksjirei__btn {
        width: 350px;
        background-size: 8px auto;
        font-size: 1.6rem;
        margin: 60px auto 0;
        padding: 13px 0;
    }
    .worksjirei__btn:hover {
        background-color: #004916;
    }


}

/* ----------------------------------------------------------------------------------------------------*/
/* breakpoint 03 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
/* 1200px以上〜 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/

@media (min-width: 1201px) {
    
    /* 施工事例個別 */
    .worksjirei__wrap {
        width: 1100px;
    }
    .worksjirei__mainimg {
        height: 454px;
    }
    .worksjirei__mainimg img {
        height: 454px;
    }
    .worksjirei__list li {
        height: 216px;
        margin-bottom: 22px;
    }
    .worksjirei__list li img.modal__trigger {
        height: 216px;
    }
    
}

/* ----------------------------------------------------------------------------------------------------*/
/* breakpoint 04 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
/* 1250px以上〜 -------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------*/
    
@media (min-width: 1251px) {
    /* 施工事例個別 */
    .worksjirei__wrap {
        width: 1200px;
    }
    .worksjirei__mainimg {
        height: 494px;
    }
    .worksjirei__mainimg img {
        height: 494px;
    }
    .worksjirei__list li {
        height: 236px;
        margin-bottom: 22px;
    }
    .worksjirei__list li img.modal__trigger {
        height: 236px;
    }
}