@charset 'utf-8';

header{
    background-color: #fff;
}


#main-works{
    margin-top: 136px;
}


.content-view{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.content-view.on{
    display: block;
}

.content-view .btn-close{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 30px;
    right: 20px;
}

.content-view .btn-close span{
    width: 24px;
    height: 4px;
    background-color: #fff;
    border-radius: 50px;
    display: block;
    position: absolute;
}
.content-view .btn-close .close-left{
    transform: rotate(-45deg);
}
.content-view .btn-close .close-right{
    transform: rotate(45deg);
}

.content-view .wrap-close{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
}

.content-view .wrap-content{
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    border-radius: 15px;
    padding: 15px;
    height: calc(100% - 100px);
    overflow-y: scroll;
}

.content-view .wrap-tit{
    position: absolute;
    top: 32px;
    left: 20px;
}
.content-view .content-tit{
    color: #fff
}

.content-view .content-txt{
    padding-top: 24px;
    margin-bottom: 36px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content-view .content-txt h4{
    color: #666;
    margin-bottom: 6px;
}

.box-img{
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    margin:0 auto 72px;
    flex-direction: column;
}
.box-img.imgonly img{
    margin-bottom: 12px;
}

.box-img.imgborder img{
    border:1px solid #ccc;
}

.box-img .img-tit{
    margin-bottom: 12px;
    padding-left: 12px;
    position: relative;
    border-bottom: 1px solid #efefef;
    padding-bottom: 12px;
}

.box-img .img-tit:before{
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 6px;
    height: 16px;
    display: block;
    background-color: #4FC297;
}


.card-works{
    width: calc(100% - 30px);
    margin:0 auto 48px;
    max-width: 365px;
}

.card-works.last-box{
    margin-right: auto;
    margin-left: 0;
}

.card-photo{
    border-radius: 15px;
    width: 100%;
    height: 240px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.card-photo-img{
    height: 240px;
    width: 365px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-tit{
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: bold;
}

.gotolink{
    color: #fff;
    font-weight: bold;
    display: block;
    width: 100%;
    background-color: #4FC297;
    text-align: center;
    padding:12px 0;
    border-radius: 8px;
    max-width: 500px;
    margin:12px auto 0;
}

.card-txt{
    font-size: 14px;
}

.hash{
    display: flex;
    margin-top: 6px;
    border-top: 1px solid #efefef;
    flex-wrap: wrap;
}

.hash-tit{
    color: #888;
    margin-right: 12px;
    padding-top: 7px;

}
.hash .hash-list{
    border: #8BE1C1 1px solid;
    border-radius: 500px;
    padding:3px 12px;
    color: #8B8B8B;
    font-size: 12px;
    white-space: nowrap;
    margin-right: 6px;
    margin-top: 6px;
}
.hash .hash-list:before{
    content: '#';
}

footer{
    position: relative;
}
footer .copyright{
    color: #4FC297;
}



@media all and (min-width:820px){
    #main-works{
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
        justify-content: space-between;
        display: flex;
        max-width: 1200px;
    }

    
}

@media all and (min-width:1080px){
    .content-view .wrap-content {
        background-color: #fff;
        position: absolute;
        left: 60px;
        width: calc(100% - 120px);
    }
    .content-view .wrap-tit{
        left: 60px;
    }
    .content-view .btn-close{
        right: 60px;
    }
    .box-img{
        max-width: 1000px;
        width: 80%;
    }
}