@charset "utf-8";
/* お知らせ一覧 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.news-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item-link {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.news-item-thumbnail {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
}

.news-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item-thumbnail--noimage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-item-thumbnail--noimage img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  opacity: 0.3;
}

.news-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-item-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

.news-item-date {
  font-size: 0.875rem;
  color: #6b7280;
}

.news-item-excerpt {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .news-item-link {
    flex-direction: column;
    padding: 1rem;
  }

  .news-item-thumbnail {
    width: 100%;
    height: 200px;
  }

  .news-item-title {
    font-size: 1.125rem;
  }
}

