@charset "UTF-8";
/*////////////////////////
garb-public.jp
news.css
///////////////////////*/
#main_visual {
    height: 10vh;
    margin: 10rem auto;
}

.contents_postion {
    left: 0;
    bottom: 0;
}

.page-title {
    text-align: left;
}

.sec-news-list{
    width: 90%;
    margin: auto;
}

.category-list{
    width: 50%;
    display: flex;
    list-style: none;
    justify-content: space-around;
    margin: auto;
}

main .category-list a:link{
    color: #003D6C;
}

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

.news{
    color: #003d6c;
}

.news-breadcrumb {
    margin: 40px 0;
}

.news-breadcrumb .breadcrumb-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.news-breadcrumb .breadcrumb-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 1.2;
    margin-bottom: 10px;
}

.news-breadcrumb .breadcrumb-item a {
    text-decoration: underline;
}

.news-breadcrumb .breadcrumb-item:after {
    content: ">";
    display: inline-block;
    margin: 0 10px;
}

.news-breadcrumb .breadcrumb-item:last-child::after {
    display: none;
}

.news-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    list-style: none;
}

.news-item {
    width: calc(33.33% - 40px);
    margin-bottom: 80px;
}

main .news-item a{
    color: #003D6C;
}

.news-item .text-container {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 10px;
}

.news-item .text-container .news-time {
    font-size: 1.2rem;
}

.news-item .text-container .news-category {
    font-size: 1rem;
    border: 1px solid #003D6C;
    padding: 0 10px;
    margin-top: .5rem;
}

.news-item .text-container .news-title {
    margin-top: 10px;
    width: 100%;
    line-height: 1.6rem;
    font-size: 1.3rem;
}

.news-list:after {
    content: "";
    display: block;
    width: calc(33.33% - 40px);
}

.news .news-header {
    margin-bottom: 40px;
}

.news .news-header .news-time {
    display: block;
    text-align: right;
    font-size: 1.2rem;
}

.news .news-header .news-title {
    font-size: 3.4rem;
    margin-top: 30px;
    line-height: 1.4;
}

.news .news-body {
    padding: 0 0 120px;
    width: 85%;
    margin: auto;
}

.news .news-body p {
    margin-bottom: 40px;
    font-size: 1.3em;
    line-height: 1.75em;
}

.news .news-body img {
    width: 100%;
    height: auto;
}

.article_inner{
    width: 90%;
    margin: auto;
}

.news_btn{
    margin: 0 0 8rem;
}

.article_btn{
    margin: 2rem 0 8rem;
}

@media (max-width: 1599px) {

    .news-item {
        width: calc(33.33% - 30px);
        margin-bottom: 60px;
    }

    .news-list:after {
        width: calc(33.33% - 30px);
    }

    .news .news-header .news-title {
        font-size: 3.2rem;
    }

    .news .news-body {
        padding: 0 0 40px;
        font-size: 1.2rem;
    }
}



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

.news-item {
    width: 45%;
}

.news-item .text-container .news-title {
font-size: 1.2rem;
}

.news .news-header .news-title {
    font-size: 1.8rem;
    margin-top: 10px;
}

.news .news-body {
    padding: 0 0 40px;
    width: 100%;
}

.news .news-body p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}
}

@media screen and (min-width:768px) {

.category-list {
    width: 300px;
    font-size: 1.4rem;
}

.news-breadcrumb .breadcrumb-item {
    font-size: 1.4rem;
}

.sec-news-list {
    width: 80%;
}

.news-item .text-container .news-time {
    font-size: 1.4rem;
}

.news-item .text-container .news-title {
    line-height: 2rem;
    font-size: 1.4rem;
}

.article_inner {
    width: 80%;
}

.btn_flex{
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto 8rem;
}

.btn_flex .btn{
    width: 50%;
}

.article_btn {
    margin: 0 0 2rem 0;
}
}