/* セクション基礎レイアウト */
/* PC・タブレット・スマホ全て共通 */

.news-section {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: block;
  border-bottom: 1px solid var(--color-border_dark);
  opacity: 1;
  transition: opacity 2s ease;
}

.news-item a {
  text-decoration: none;
  transition: opacity 0.4s ease;
}

.news-item.hidden {
  display: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.news-item.show {
  opacity: 1;
}

.news-item_inner {
  padding: 24px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.news-item a:hover {
  background-color: var(--color-ui-bg);
  opacity: 0.75;
}

.news-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
  color: var(--color-text_dark);
}

.news-icon {
  width: 24px;
  height: 24px;
}

.news-date {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.news-title {
  align-self: stretch;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.news-more {
  display: none; 
 /*　display: flex;  NEWSが4件以上になった際にこちらに変更することで表示され機能します */
  flex-direction: column;
  padding: 20px 16px 24px 16px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid var(--color-border_dark);
  cursor: pointer;
  transition: background-color 0.6s ease;
}

.news-more:hover {
  background-color: var(--color-ui-bg);
}

.news-more-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.news-more-txt {
  align-self: stretch;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
}