@charset "utf-8";
/* CSS Document */
#eye_catch {
    background: url(../images/main01/TOPIC.jpg) center / cover;
}

main {
    background-color:#FFF;
}

article {
    padding: 50px 0;
}

.lead {
    margin:0 0 30px;
}

@media (min-width: 992px){
    .lead {
        margin: 0 auto 30px;
        text-align: center;
        width: 60%;
    }
}

.topic_post .lead {
    text-align: center;
}

.lead h2 {
    margin-bottom: 10px;
    text-align: center;
}

.topic_date {
    margin-bottom: 0;
}

.content {
    background-color: #fff;
    padding: 20px 10px 30px;
}

/*TOPICS--------------------------------------*/
@media (min-width: 768px){
    .topics {
        display: -weblkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -2%;
    }
}

@media (min-width: 992px){
    .topics {
        margin-right: -1.5%;
    }
}

.topic {
    background: #fff;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
}

@media (min-width: 768px){
    .topic {
        margin-right: 2%;
        width: 48%;
    }
}

@media (min-width: 992px){
    .topic {
        margin-right: 1.5%;
        width: 23.5%;
    }
}

.topic a {
    transition: all .2s ease-in-out;
}

.topic a:hover {
    opacity: .8;
}

.topic img {
    height: auto;
    width: 100%;
}

.topic_detail {
    color: #333;
    margin-bottom: 0;
    width: 100%;
}

.topic_detail p {
    color: #555;
    font-size: .9rem;
    line-height: 1.3;
    margin-bottom: 0;
    transition: all .2s ease-in-out;
}

.topic_detail .date {
    font-weight: bold;
    margin: 5px 0;
}

.topic a:hover p {
    color: #000;
}


/*TOPICS個別記事--------------------------------------*/

.topic_article {
    margin: 0 0 50px;
    width: 100%;
}

@media (min-width: 768px){
    .topic_article {
        margin: 0 auto 50px;
        width: 90%;
    }
}

@media (min-width: 992px){
    .topic_article {
        width: 60%;
    }
}


figure img {
    height: auto;
    width: 100%;
}

/*次の記事へ・前の記事へボタン*/
.prev_next {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (min-width: 768px){
    .prev_next {
        margin: 50px auto 0;
        width: 90%;
    }
}

@media (min-width: 992px){
    .prev_next {
        width: 60%;
    }
}


.prev_next a {
    background-color: #4d4d4d;
    color: #fff;
    display: block;
    padding: 10px 15px;
    transition: all .2s ease;
}

.prev_next a:hover {
    background-color: #009fa8;
    color: #fff;
}
/*TOPISC一覧へ戻るリンク*/
.back a {
    background: #009fa8;
    border: 5px solid#009fa8;
    color: #fff;
    display: block;
    padding: 10px;
    margin-top: 30px;
    text-align: center;
    transition: all .2s ease-in-out;
}

.back a:hover {
    background: #fff;
    color: #009fa8;
}

@media (min-width: 768px) {
    .back a {
        margin: 30px auto 0;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .back a {
        width: 30%;
    }
}
