@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;900&display=swap');
*{
    margin: 0;
    padding: 0;
}

/* トップ画像 */
.img img{
    width: 100vw;
    height: 500px;
    object-fit: cover;
}
.img{
    position: relative;
}

/* NEWS */
.news{
    background-color: #F7F5F5;
    padding: 30px;
    min-height:calc(100vh - calc(223px + 55px));
}
.newsText{
    padding-bottom: 35px;
}
.newsText h1{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 40px;
    font-weight:900;
    text-align: center;
}
.wrap{
    width: 30%;
    border:1px solid #000000;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px){
    .img img{
        height: 250px;
    }
    .newsText h1{
        font-size: 30px;
    }
    .news {
        min-height:calc(100vh - calc(55px + 55px));
    }
}
/* スクロール時 */
/* 画面外にいる状態 */
.fadein {
  opacity : 0;
  transform : translate(0, 50px);
  transition : all 500ms;
}

/* 画面内に入った状態 */
.fadein.scrollin {
  opacity : 1;
  transform : translate(0, 0);
}

/* 記事 */
.newsContent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
}
.promotionBorder{
    padding: 20px;
}
.promotionIMG img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position:top;
}
.newsIMG img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position:none;
}
.promotionContent1{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight:400;
    display: inline-block;
    margin: 10px 0;
    word-break: break-word;
    letter-spacing:2px;
}
.promotionContent2{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight:300;
    display: inline-block;
    margin: 10px 0;
    letter-spacing:2px;
}
@media screen and (max-width: 768px){
    .news{
        padding: 30px;
    }
    .wrap{
        width: 100% !important;
    }
}
@media screen and (max-width: 1024px){
    .wrap{
        width: 45% ;
    }
}
/* ページネーション */
.pagenation{
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight:400;
}
.page-numbers{
    background-color: #DCD5CF;
    border:1px solid #000000;
    padding: 10px 15px;
}
.page-numbers:hover{
    background-color: #b32d2d;
    color: #FFFFFF;
    /* opacity: 0.9; */
}

.current{
    background-color: #b32d2d;
    color: #FFFFFF;
}

/* ２件の時に左右に分かれないようにする */
.is-empty {
    width: 30%;
    height: 0;
}
