@charset "UTF-8";

.news_img{
    width: 100%;
    max-width: 510px;
    height: 100%;
    margin: 10px 0;
}

/*===================================
ニュース一覧ページ
===================================*/

.news__item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.news__link:last-child .news__item{
    margin-bottom: 60px;
}

.news__thumbnail{
    overflow: hidden;
    border-radius: 10px;
}

.news__thumbnail img{
    width: 350px;
    height: auto;
    transition: transform .5s ease;
}

.news__link:hover .news__thumbnail-img{
  transform: scale(1.08);
}

.news__body{
    width: 850px;
}

.news__meta{
    display: flex;
    align-items: center;
}

.news__meta .news__date{
    margin-right: 15px;
}

.news__meta .news__category{
    font-size: 14px;
    width: 130px;
    text-align: center;
    border: solid 1px #FFA78D;
    border-radius: 20px;
}

.news__title{
    margin: 15px 0 25px;
    padding-bottom: 20px;
    border-bottom: solid 1px #FF6E4A;
}

.news__excerpt{
    line-height: 1.8;
}

@media (max-width: 768px){

    .news_img{
        width: 100%;
        max-width: 300px;
        margin: 10px auto 20px;
    }

    .news__item{
        flex-direction: column;
        align-items: unset;
    }

    .news__thumbnail img{
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
    }
    
    .news__body{
        width: 100%;
    }

    .news__title{
        margin: 15px 0;
        padding-bottom: 15px;
    }

}

/*===================================
ニュース詳細ページ
===================================*/

.single__inner{
    margin-top: 70px;
}

.single__item .news__title{
    font-size: 2.5rem;
    font-weight: bold;
}

.single__item .news__thumbnail{
    margin: 50px auto 60px;
    width: fit-content;
}

.single__item .news__detail{
    margin-bottom: 60px;
}

.single__item .news__detail figure{
    width: 900px;
    margin: 55px auto 60px;
}

.single__item .news__detail img{
    width: 100%;
    height: 100%;

}

.single__item .news__detail p{
    line-height: 1.8;
}

.news__btn{
    width: 360px;
    margin: 0 auto 60px;
    display: block;
    border: solid 1px #FF6E4A;
    background-color: #FF6E4A;
    border-radius: 10px;
    padding: 20px;
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
}

.news__btn:hover{
    background-color: #fff;
    color: #FF6E4A;
    opacity: 1;
}

@media (max-width: 768px){

    .single__inner{
        margin-top: 50px;
    }

    .single__item .news__title{
        font-size: 2rem;
    }

    .single__item .news__detail figure{
        width: 100%;
        margin: 35px auto 30px;
    }

    .single__item .news__detail{
        margin-bottom: 40px;
    }

    .news__btn{
        width: 100%;
        max-width: 350px;
    }

}






