@charset "UTF-8";

/*-------------------------------------------
WORKS-投稿
-------------------------------------------*/

/*投稿タイトル*/
.post-title-area {
    margin-top: 60px;
    margin-bottom: 24px;
    display: flex;
}

.post-title-area span {
    width: 5px;
    background-color: #333333;
    margin-right: 10px;
}

.post-title-text p {
    font-size : 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.post-title-text h3 {
    font-size : 2rem;
    line-height: 1;
    margin-top: 0.5rem;
}

/*概要*/
.post-overview {
    margin: 24px 0;
    background-color: #e6e6e6;
    padding: 10px;
}

.post-overview p {
    font-size: 1rem;
}

/*ギャラリー*/

.post-gallery {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(3, 1fr);
    gap:1%;
    padding: 1%;
    background-color: #e6e6e6;
    margin: 24px 0;
}

.gallery-content {
    background-color: #ffffff;
}

.gallery-content img{
    object-fit: cover;
    height: 100%;
}

.post-YouTube iframe{
    width: 100%;
    height: 100%;
    min-height: 650px;
}

.post-main-img{
    width: auto;
    height: auto;
}

@media (max-width: 800px) {

    .post-YouTube iframe{
        width: 100%;
        height: 100%;
        min-height: 300px;
    }

    .post-gallery {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(1, 3fr);
        gap:1%;
        padding: 1%;
        background-color: #e6e6e6;
        margin: 24px 0;
    }

    .gallery-content img{
        object-fit: cover;
        width: 100%;
        height: auto;
    }
}

/*POPUP*/
.show_pop {
    cursor: pointer;
}

.modal_pop{
    width: 100vw;
    height: 100vh;
    position:fixed;
    top: 0;
    left:0;
    z-index:9997!important;
}

.bg{
    background-color: #1119;
    width: 100%;
    height: 100%;
    position:fixed;
    z-index:9998!important;
}

.left-close {
    width: 3px;
    height: 30px;
    rotate: 45deg;
    background-color: #ffffff;
    position: fixed;
    top: 50px;
    right: 50px;
}

.right-close {
    width: 3px;
    height: 30px;
    rotate: -45deg;
    background-color: #ffffff;
    position: fixed;
    top: 50px;
    right: 50px;
}

.modal_pop img{
    height:80vh;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index:9999!important;
}

.post-check {
    padding: 24px;
    display: flex;
    position: relative;
    justify-content: space-between;
}

.post-check span {
    width: 90%;
    height: 15px;
    position: absolute;
    top: 35%;
    right: auto;
    left: auto;
    background-color: #e6e6e6;
    z-index: -1;
}

.check-box img{
    width: 90%;
    max-width: 100px;
}

.post-main-text {
    font-size: 1rem;
}

.post-check {
    display: none;
}