.contents_ttl h1{
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding-top: 65px;
}

.article_wrap{
    border: 1px solid #707070;
    background: #fff;
    margin-top: 60px;
    padding-bottom: 90px;
    word-break: break-all;
}

.date_txt{
    font-size: 16px;
    color: #d0111b;
    text-align: center;
    padding-top: 20px;
}

.category_txt{
    font-size: 32px;
    text-align: center;
    border-bottom: 2px dotted #000;
    padding: 20px 0 18px;
    margin: 0 30px;
}

.article_ttl{
    font-size: 28px;
    text-align: center;
    padding: 22px 30px 46px;
}

.article_txt{
    font-size: 16px;
    line-height: 1.5;
    width: 800px;
    margin: 0 auto;
}

.article_txt img{
    max-width: 100%;
    margin: 0 auto;
    display: block;
    padding: 0 0 30px 0;
    height: auto;
}

.article_txt p{
    padding: 0 0 30px 0;
}

.tag_wrap{
    border: 1px solid #707070;
    background: #fff;
    margin-top: 40px;
    padding: 0 85px 60px;
}

.tag_ttl{
    text-align: center;
    font-size: 16px;
    padding-top: 16px;
}

.tag_list{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-top: 24px;
}

.tag_list li {
    line-height: 2;
}

.tag_list li a{
    display: block;
    padding-right: 30px;
    text-decoration: none;
    color: #000;
}

.tag_list li a:hover,
.btn_back a:hover,
.cat_close_btn:hover{
    transition: .2s all;
    opacity: 0.5;
}

.btn_back{
    margin: 80px auto 0;
    width: 190px;
}

.btn_back a{
    text-decoration: none;
    color: #fff;
    display: block;
    border: 4px solid #000;
    text-align: center;
    box-sizing: border-box;
    width: 190px;
    font-size: 19px;
    background: #000 url(../img/btn_arrow_left.png) no-repeat;
    background-position: center left 8px;
}

.btn_back_inside{
    border: 1px solid #fff;
    padding: 11px 0;
}


/* index */

.cat_wrap{
    margin-top: 45px;
}

.cat_list{
    border: 1px solid #707070;
    border-bottom: none;
    background: #fff;
    display: flex;
    list-style: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 30px 25px 5px;

}

.cat_list.news{
    border-bottom: 1px solid #707070;;
}

.cat_list li a{
    width: 342px;
    box-sizing: border-box;
    padding-left: 18px;
    display: block;
    margin-bottom: 25px;
    text-decoration: none;
    color: #000;
    background: url(../img/cat_list_arrow.png) no-repeat;
    background-size: 7px 16px;
}

.cat_list li a:hover{
    transition: .2s all;
    opacity: 0.5;
}

.cat_close_btn{
    text-align: center;
    background: #d0d0d0 url(../img/up_arrow.png) no-repeat;
    background-position: top 7px center;
    padding: 22px 0 10px;
    border: 1px solid #707070;
    border-top: none;
    cursor: pointer;
    font-size: 14px;
}

.cat_list_ttl{
    font-size: 28px;
    font-weight: bold;
    margin-top: 48px;
    text-align: center;
}

.list_wrap{
    margin-top: 55px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.article_link{
    position: relative;
    margin-right: 30px;
    margin-bottom: 22px;
    background: #fff;
}

.article_link:nth-child(3n){
    margin-right: 0px;
}


.article_link a{
    display: block;
    text-decoration: none;
    color: #000;
    width: 340px;
    background: #fff;
}

.article_link a:hover{
    opacity: 0.8;
    transition: all .2s;
}

.cat_name{
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 14px;
    width: 340px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
}

.article_list_ttl{
    padding: 25px 20px 0;
    font-size: 19px;
}

.article_list_txt{
    font-size: 14px;
    word-break: break-all;
    padding: 6px 20px 20px;
    line-height: 1.5;
}

.article_img img{
    width: 340px;
    height: 200px;
    object-fit: cover;
}

.pager{
    margin: 40px 10px 0;
}

.m_pagenation{
    display: flex;
    justify-content: center;
}

.m_pagenation_prev a{
    display: block;
    width: 25px;
    height: 28px;
    background: url(../img/wp_prev.png) no-repeat;
    background-position: 0px center;
}

.m_pagenation_next a{
    display: block;
    width: 25px;
    height: 28px;
    background: url(../img/wp_next.png) no-repeat;
    background-position: right 0px center;
}

.m_pagenation_prev a:hover,
.m_pagenation_next a:hover,
.m_pagenation_body li a:hover{
    transition: .2s all;
    opacity: 0.5;
}

.m_pagenation_body{
    list-style: none;
    display: flex;
}

.m_pagenation_body li{
    margin: 0 5px;
}

.m_pagenation_body li a{
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    border: 1px solid #000;
    background: #fff;
    padding: 5px 0;
    text-align: center;
    width: 28px;
    box-sizing: border-box;
}

.m_pagenation_body li.current{
    color: #fff;
    font-size: 18px;
    border: 1px solid #000;
    background: #000;
    padding: 5px 0;
    text-align: center;
    width: 28px;
    box-sizing: border-box;
}

/*------------- sp -------------*/

@media screen and (max-width: 767px) {

    .contents_ttl{
        font-size: 20px;
        margin-top: 15px;
    }
    .contents_ttl h1 {
        padding-top: 30px;
    }

    .article_wrap{
        margin: 28px 10px 0;
        padding-bottom: 70px;
    }

    .date_txt{
        font-size: 14px;
        padding-top: 10px;
    }

    .category_txt{
        font-size: 20px;
        padding: 15px 0 10px;
        margin: 0 15px;
    }

    .article_ttl{
        font-size: 15px;
        padding: 22px 15px 23px;
    }

    .article_txt{
        font-size: 14px;
        line-height: 1.5;
        width: auto;
        margin: 0 15px;
    }

    .tag_wrap{
        margin: 26px 15px 0;
        padding: 0 15px 35px;
    }

    .tag_ttl{
        font-size: 14px;
        padding-top: 14px;
    }

    .tag_list{
        display: block;
        padding-top: 16px;
    }

    .tag_list li a{
        font-size: 14px;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .btn_back{
        margin: 55px auto 0;
        width: 265px;
    }

    .btn_back a{
        width: 265px;
        font-size: 14px;
    }

    .btn_back_inside{
        padding: 6px 0;
    }

    /* index */

    .cat_wrap{
        margin: 12px 10px 0;
    }

    .cat_list{
        padding: 15px 15px 5px;

    }

    .cat_list li a{
        width: 160px;
        margin-bottom: 8px;
        font-size: 10px;
        background-size: 4px 10px;
    }

    .cat_close_btn{
        padding: 11px 0 5px;
        background-size: 10px 4px;
        background-position: top 3px center;
        font-size: 12px;
    }

    .cat_list_ttl{
        font-size: 20px;
        font-weight: bold;
        margin-top: 22px;
    }

    .list_wrap{
        margin: 25px 10px 0;
        justify-content: space-between;
    }

    .article_link{
        margin-right: 0;
        margin-bottom: 7px;
        width: 48.5%;
    }

    .article_link a{
        width: auto;
    }

    .article_link a img{
        width: 100%;
        height: 100px;
    }

    .cat_name{
        font-size: 14px;
        width: 100%;
        padding: 5px 0;
    }

    .article_list_ttl{
        padding: 12px 10px 0;
        font-size: 16px;
    }

    .article_list_txt{
        font-size: 14px;
        padding: 3px 10px 10px;
        line-height: 1.5;
    }

}