/* ========================================
   お知らせページ
======================================== */

/* お知らせ一覧 */
.newslist-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

/* ページ内見出し */
.newslist-page h2 {
  font-size: 28px;
  font-weight: normal;
  color: #34483A;
  border-left: 5px solid #852121;
  padding-left: 15px;
  margin: 0 0 30px;
}

.newslist-page .news-list {
  display: flex;
  flex-direction: column;
}

/* お知らせ */
.newslist-page .news-list .news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 10px;
  border-bottom: 1px solid rgba(52, 72, 58, 0.3);
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* 日付 */
.news-date {
  width: 110px;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

/* タイトル */
.news-title {
  font-size: 16px;
  line-height: 1.7;
  color: #333;

}

/* 矢印 */
.news-arrow {
  margin-left: auto;
  color: #852121;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* マウスを乗せたとき */
.news-item:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.news-item:hover .news-arrow {
  transform: translateX(5px);
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 600px) {

  .newslist-page {
    padding: 30px 20px 50px;
  }


  .newslist-page h2 {
    font-size: 23px;

    padding-left: 12px;

    margin-bottom: 20px;
  }


  .news-item {
    display: block;

    padding: 20px 35px 20px 5px;
  }


  .news-date {
    width: auto;

    margin-bottom: 7px;

    font-size: 13px;
  }


  .news-title {
    font-size: 15px;

    line-height: 1.8;
  }


  .news-arrow {
    right: 5px;

    top: 50%;

    transform: translateY(-50%);
  }


  .news-item:hover .news-arrow {
    transform: translate(5px, -50%);
  }

}