/* 新着情報セクション */
.top_info_section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.top_info_container {
  max-width: 880px;
  margin: 0 auto;
  text-align: center; /* ← これを追加！ */
}

.top_info_title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #46aa36;
  display: inline-block;
  padding-bottom: 5px;
}

.top_info_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top_info_item {
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #ccc;
  padding: 10px 0;
  font-size: 1.2rem;
}

.top_info_date {
  width: 190px;
  color: #555;
  flex-shrink: 0;
}

.top_info_link {
  color: #333;
  text-decoration: none;
  position: relative;
}

.top_info_link:hover {
  text-decoration: underline;
}

.top_info_badge {
  background-color: #ff5e5e;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  margin-left: 10px;
  border-radius: 3px;
  vertical-align: middle;
}

.top_info_new .top_info_link {
  font-weight: bold;
}

/* トグルボタン */
.news_toggle_button {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 18px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: center; 
  transition: background-color 0.2s;
  box-sizing: border-box; /* ← padding含めて幅計算 */
}

.news_toggle_button:hover {
  background-color: #e6f4e6; /* 薄いグリーン */
}

.news_list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  width: 880px;
}

/* 画像表示セクション */
.news_image_wrapper {
  text-align: center;
  margin: 40px 0;
}

.news_responsive_image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* お知らせセクション全体の調整 */
.news_year_section {
  display: flex;
  flex-direction: column;
  align-items: center; /* ← 中央揃え */
  padding: 0 10px;
  box-sizing: border-box;
}

/* お知らせリストのはみ出し防止 */
.news_list {
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
  list-style: none;
  overflow-wrap: break-word;
}

/* PC/共通表示 */
.top_info_item {
  padding: 10px 0;
  border-bottom: 1px dotted #ccc;
}

.top_info_date {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.top_info_link {
  display: block;
  font-size: 16px;
  color: #006633;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
}

/* NEW バッジ */
.top_info_badge {
  background-color: #ff6666;
  color: #fff;
  padding: 2px 6px;
  margin-left: 8px;
  font-size: 12px;
  border-radius: 3px;
  white-space: nowrap;
}

/* スマホ表示（最大幅 768px 以下）に縦表示を最適化 */
@media screen and (max-width: 768px) {
  .top_info_item {
    display: block; /* ← これを追加してflexを解除 */
    padding: 12px 0;
  }

  .top_info_date {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .top_info_link {
    font-size: 15px;
    display: block;
  }

  .top_info_badge {
    display: inline-block;
    margin-top: 4px;
  }
}


