@charset "utf-8";

/* -- お知らせ -- */

.news-item .img-area > img + .no-img {
    display: none;
}

.top-news > section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px
}

.news-item {
    max-width: 376px;
    width: 100%;
    margin: 30px auto 0;
}

.news-item > a {
    display: block;
    position: relative;
  	color: var(--base-body-color);
}

.news-item > a:hover {
  	color: var(--base-body-color);
}

.news-item:hover img {
    transform: scale(1.1);
    transition: all .5s;
}

.news-item img + .no-img {
    display: none;
}

.news-item .img-control {
    position: relative;
    background: #F2F2E7;
    padding: 0 0 62.5%;
    overflow: hidden;
    height: 0;
}

.news-item img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
    margin: auto;
    object-fit: cover;
    transition: all .5s;
}

.news-item .top-news-text-box {
    margin: 15px 0 0;
}

.news-item .top-cate {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 128px;
    width: 50%;
    font-size: 12px;
    letter-spacing: 0em;
    line-height: 30px;
    padding: 0 8px;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--black);
    background: rgba(225,209,201, .8);
    z-index: 1;
}

.news-item .top-date {
    display: block;
    font-size: 12px;
    line-height: 1.24em;
	margin: 15px 0 0; 
    color: var(--white);
    word-break: break-all;
}

.news-item .top-title {
    margin: 7px 0 0;
    line-height: 1.8em;
    color: var(--white);
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width: 544px) {
 
    .top-news > section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .news-item {
        width: 100%;
        margin: 0;
    }

} /* min-width: 544px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

    .news-item .top-cate {
        width: 55%;
        font-size: 13px;
    }
  
    .news-item .top-date {
        font-size: 14px;
    }
  
} /* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

.top-news > section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

  .news-item .top-cate {
      width: 100%;
      font-size: 14px;
  }

  .news-item .top-date {
      font-size: 16px;
  }


} /* min-width: 1024px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width: 1250px) {
  
  .news-item .top-cate {
      font-size: 16px;
  }



} /* min-width: 1250px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

    .top-news > section {
        gap: 20px 10.3%;
    }


} /* min-width: 1400px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
