
/* ヘッダー */
.header-wrap{
    position: static;
}
.header-img{
    position: absolute;
    top: 60px;
    z-index: 10;
    max-width: 768px;
    margin: 0 96px;
}
.header-img img{
    width: 768px;
}
.header-sp{
    display: none;
}
@media screen and (max-width:768px) {
    .header-wrap{
        margin: 0 auto;
        position: static;
        text-align: center;
    }
    .header-img{
        display: none;
    }
    .header-sp{
        display: block;
        padding: 0 22px;
        position: absolute;
        top: 40px;
        z-index: 11;
    }
}


/* 作品一覧・フッター・入選 */
.main-container{
    padding: 0 30px;
    margin-top: -10px;
}

.work-wrapper{
    max-width: 768px;
    margin: 0 auto;
}
.selected-wrap{
    padding: 10px 0 50px;
}
.selected-wrap img{
    width: 600px;
    max-width: 100%;
    height: auto;
    border: 4px solid #fff;
    box-shadow: 0 3px 8px  rgba(0,0,0,0.2);
    margin-bottom: 12px;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}
.work-list li{
    display: grid;
    place-items: center;
}
.work-img-wrap{
    border: 4px solid #fff;
    box-shadow: 0 2px 6px  rgba(0,0,0,0.2);
    margin-bottom: 10px;
}
.work-list img{
    max-width: 286px;
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.work-list p{
    line-height: 1.3em;
}

.other-btn img:hover{
    opacity: 0.6;

}

.footer-img{
    margin-top: 0px;
    padding-top: 10px;
}
@media screen and (max-width:768px) {
    .main-container{
        padding: 60px 25px 0;
    }
    .work-wrapper{
        max-width: 100%;
    }
    .selected-wrap{
        padding: 10px 0 40px;
    }
    .selected-wrap img{
        width: 760px;
    }
    .work-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 22px;
        margin: 0 auto 20px;
    }
    .work-list img{
        width: 100%;
        margin-bottom: 0px;
    }
    .work-img-wrap{
        border: 2px solid #fff;
        margin-bottom: 8px;
    }
    .work-list p{
        font-size: 15px;
        margin-bottom: 15px;
    }
    .footer-img{
        padding-top: 20px;
    }
}