@charset "UTF-8";

/* works 共通部分 ---------------------------- */
.btn-wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    margin-bottom: 100px;
}
.btn-wrap .back .text::after{
    content: none;
}

/* archive-works ---------------------------- */
#archive-works{
    width: 100%;
}
#archive-works > .text-wrap{
    width: 100%;
    height: 300px;
    background-color: #333;
    background-image: url(../img/works/works-titleback.png);
    background-size: cover;
    display: flex;
    justify-content: space-between;
    padding: 50px 10%;
    margin-bottom: 100px;
}
#archive-works > .text-wrap .section-title{
    width: 20%;
    color: #fff;
}
#archive-works > .text-wrap .description{
    max-width: 80%;
    max-width: 500px;
    background-color: rgba(51, 51, 51, 0.5);
    color: #fff;
    padding: 25px;
}


/* リスト部分ここから */
#archive-works .list-wrap{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 100px;
}
#archive-works .list-wrap .works-list{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 2%;
}
#archive-works .list-wrap .works-list .works-item{
    min-width: 340px;
}
#archive-works .list-wrap .works-list .works-item a{
    display: flex;
}
#archive-works .list-wrap .works-list .works-item a .date{
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1em;
    width: 25px;
    flex-shrink: 0;
}
#archive-works .list-wrap .works-list .works-item a .works-item-main{
    width: calc(100% - 25px);
}
#archive-works .list-wrap .works-list .works-item a .works-item-main .img{
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    margin-bottom: 5px;
}
#archive-works .list-wrap .works-list .works-item a .works-item-main .img img{
    width: 100%;
    display: block;
    object-fit: cover;
    transition: all 0.5s ease;
}

#archive-works .list-wrap .works-list .works-item a .works-item-main .img img.color{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
#archive-works .list-wrap .works-list .works-item a:hover .works-item-main .img img.color{
    opacity: 1;
    transform: scale(1.05);
}

#archive-works .list-wrap .works-list .works-item a .works-item-main .info{
    display: flex;
}
#archive-works .list-wrap .works-list .works-item a .works-item-main .info .tag{
    width: 85px;
    height: 57px;
    flex-shrink: 0;
    border-right: 0.75px solid #333;
}
#archive-works .list-wrap .works-list .works-item a .works-item-main .info .title{
    width: calc(100% - 85px);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1em;
    text-align: right;
    margin-top: 5px;
}
/* リスト部分ここまで */


/* single-works ---------------------------- */
#single-works{
    width: 100%;
    padding: 0 10%;
    margin: 0 auto;
}
#single-works .breadcrumbs{
    font-size: 0.875;
    margin-bottom: 80px;
}
#single-works .breadcrumbs > a{
    text-decoration: underline;
}

#single-works .main-inner{
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}
#single-works .main-inner .date{
    color: #875C28;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1em;
    text-align: right;
    margin-bottom: 10px;
}
#single-works .main-inner .img{
    width: 100%;
    border: 1px solid #333;
    margin-bottom: 10px;
}
#single-works .main-inner .img img{
    width: 100%;
    object-fit: cover;
}
#single-works .main-inner .title{
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 10px;
    text-align: right;
}
#single-works .main-inner .link{
    display: block;
    text-align: right;
}
#single-works .main-inner .link > img{
    width: 20px;
    height: 20px;
}

#single-works .main-inner .info-wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin-bottom: 40px;
}
#single-works .main-inner .info-wrap .description{
    width: calc(100% - 350px);
    padding-right: 30px;
}
#single-works .main-inner .info-wrap .description > p{
    text-indent: 1rem;
    margin-bottom: 20px;
}
#single-works .main-inner .info-wrap .data{
    width: 350px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px 30px;
}
#single-works .main-inner .info-wrap .data dl dt{
    color: #875C28;
    font-size: 0.875rem;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 1px solid #875C28;
}
#single-works .main-inner .info-wrap .data dl dd{
    margin-top: 5px;
    margin-bottom: 20px;
}
#single-works .main-inner .info-wrap .data dl dd:last-child{
    margin-bottom: 0;
}

#single-works .main-inner .detail-img{
    width: 100%;
    margin-bottom: 60px;
}
#single-works .main-inner .detail-img .title{
    color:#875C28;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 0.1em;
    text-align: left;
    padding-bottom: 5px;
    border-bottom: 2px solid #875C28;
    margin-bottom: 10px;
}



/*-------------------------------------------
worksの見栄え用
-------------------------------------------*/
@media screen and (max-width: 1200px) {

    /* archive-works ---------------------------- */
    #archive-works .list-wrap .works-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 5%;
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* archive-works ---------------------------- */
    #archive-works > .text-wrap{
        padding: 50px 5%;
    }

    /* リスト部分ここから */
    #archive-works .list-wrap .works-list .works-item{
        min-width: 320px;
    }
    #archive-works .list-wrap .works-list .works-item a .works-item-main .info .title{
        font-size: 1.25rem;
    }
    /* リスト部分ここまで */

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 430px) {

    /* archive-works ---------------------------- */
    #archive-works > .text-wrap{
        height: 450px;
        flex-direction: column;
        justify-content: center;
        padding: 0 5%;
        margin-bottom: 80px;
    }
    #archive-works > .text-wrap .section-title{
        width: 100%;
    }
    #archive-works > .text-wrap .description{
        max-width: 100%;
    }

    /* リスト部分ここから */
    #archive-works .list-wrap .works-list{
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    #archive-works .list-wrap .works-list .works-item{
        width: 100%;
        min-width: 300px;
    }
    /* リスト部分ここまで */

    /* single-works ---------------------------- */
    #single-works{
        padding: 0 5%;
    }
    #single-works .breadcrumbs{
        margin-bottom: 60px;
    }

    #single-works .main-inner .title{
        font-size: 1.5rem;
    }
    #single-works .main-inner .info-wrap{
        flex-direction: column;
        justify-content: center;
    }
    #single-works .main-inner .info-wrap .description{
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    #single-works .main-inner .info-wrap .data{
        width: 100%;
    }

}