@charset "utf-8";

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

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

.news-item:first-child > a {
	padding: 0 0 24px;
}

.news-item > a {
    display: flex;
  	flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: var(--base-body-color);
    padding: 24px 0;
    border-bottom: 1px solid #CBCBCB;
}

.news-item > a:hover .top-news-text-box::after {
    right: -10px;
    transition: all .3s;
}


.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;
    aspect-ratio: 17/12;
    overflow: hidden;
    max-width: 170px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 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 {
  	position: relative;
    margin: 20px 0 0;
  	width: 100%;
}

.top-news-text-box::after {
    content: "";
    display: block;
    max-width: 48px;
    width: 100%;
    height: 8px;
    position: absolute;
    right: 0;
    top: 50%;
  	background: url(/system_panel/uploads/images/arrow-green.svg) no-repeat, center center;
  	background-size: contain;
    transition: all .3s;
}


.top-news-cate-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.news-item .top-cate {
    max-width: max-content;
  	min-width: 122px;
    font-size: 13px;
    line-height: 1.4em;
    padding: 4px 15px;
    color: var(--white);
    background: var(--primary);
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.news-item .top-date {
    width: 117px;
    display: block;
    font-size: 12px;
    line-height: 1.24em;
    word-break: break-all;
}

.news-item .top-title {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.8em;
}

.top-news-btn-pc {
	display: none;
}

.top-news-btn-sp {
	display: flex;
}

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

@media screen and (min-width: 544px) {
  
    .news-item > a {
        flex-direction: row;
	}
  
    .news-item .img-control {
        margin: 0 5% 0 0;
      	width: 20%;
    }
  
    .news-item .top-news-text-box {
        margin: 0;
      	width: 75%;
    }

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

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

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

@media screen and (min-width: 768px) {
  
  .news-item .top-title {
      font-size: 14px;
  }

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

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

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

@media screen and (min-width: 1024px) {
  
  .news-item .img-control {
      margin: 0 7.5% 0 0;
  }

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

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

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

  .top-news-btn-pc {
      display: flex;
  }

  .top-news-btn-sp {
      display: none;
  }

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

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

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

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

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

  .news-item .top-title {
      font-size: 20px;
  }

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

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

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

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


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

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


