@charset "utf-8";

/* CSS INFORMATION -====================================================
File name : fanart.css
Description :
===================================================================== */
.sec_contents {
    width: calc(690 / 750 * 100%);
    margin: 0 auto;
    z-index: 2;
}

.post {
    padding: calc(100 / 750 * 100%) 0;
}

.post_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.post_list li {
    width: calc(330 / 690 * 100%);
    margin: 0 calc(30 / 690 * 100%) calc(40 / 690 * 100%) 0;
}

.post_list li:nth-child(even),
.post_list li:last-child {
    margin-right: 0;
}

.post_list span {
    display: block;
    border: 3px solid #cacaca;
}

.post_list span::before {
    content: '';
    position: absolute;
    border: 1px solid #cacaca;
    width: 95%;
    height: 95%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 2;
}

.post_list img {
    z-index: 1;
}

.post_name {
    text-align: center;
    color: #fff;
    padding-bottom: calc(15 / 330 * 100%);
    margin: calc(10 / 330 * 100%) 0 calc(10 / 330 * 100%);
    font-size: 3.2rem;
}

.post_name::before {
    /*
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1em;
    height: 1px;
    background-color: #fff;
*/
}

.post_comment {
    text-align: center;
    color: #a0a0a0;
    font-size: 2.2rem;
}

.sub_ttl {
    color: #fff;
    text-align: center;
    font-size: 4.8rem;
    padding-bottom: calc(20 / 690 * 100%);
    margin-bottom: calc(50 / 690 * 100%);
    border-bottom: 3px solid #fff;
}


@media screen and (min-width: 768px) {
    .sec_contents {
        width: 100%;
    }

    .post {
        padding: 100px 0;
    }

    .post_list li {
        width: calc(280 / 1000 * 100%);
        margin: 0;
    }

    .post_list li:not(:nth-child(3n)) {
        margin-right: calc(25 / 1000 * 100%);
    }

    .post_list li:not(:nth-child(-n+3)) {
        margin-top: calc(25 / 1000 * 100%);
    }

    .post_list li a:hover {
        opacity: 0.7;
    }

    .post_name {
        padding-bottom: calc(15 / 280 * 100%);
        margin: calc(10 / 280 * 100%) 0 calc(10 / 280 * 100%);
        font-size: 1.6rem;
    }

    .post_comment {
        font-size: 1.4rem;
    }

    .sub_ttl {
        font-size: 3.6rem;
        padding-bottom: calc(20 / 1000 * 100%);
        margin-bottom: calc(50 / 1000 * 100%);
        border-bottom: 3px solid #fff;
    }
}
