/* お知らせページ専用スタイル */
.news-hero {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.news-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.news-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.news-list {
  display: grid;
  gap: 2rem;
}

.news-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e1e5e9;
  position: relative;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-item.important {
  border-left: 4px solid #ff6b6b;
}

.news-header h2 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  color: #333;
}

.news-header h2 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-header h2 a:hover {
  color: #ff6b6b;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.news-date, .news-category {
  display: flex;
  align-items: center;
}

.news-date::before {
  content: "📅";
  margin-right: 0.5rem;
}

.news-category::before {
  content: "📢";
  margin-right: 0.5rem;
}

.news-excerpt {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
}

.important-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff6b6b;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.no-news, .error {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.no-news p, .error p {
  font-size: 1.2rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .news-hero h1 {
    font-size: 2rem;
  }
  
  .news-hero p {
    font-size: 1rem;
  }
  
  .news-container {
    padding: 1rem;
  }
  
  .news-item {
    padding: 1.5rem;
  }
  
  .news-header h2 {
    font-size: 1.5rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .important-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }
}

/* 個別お知らせページ用スタイル */
.news-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.news-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.news-content .news-meta {
  border-bottom: 1px solid #e1e5e9;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.news-content .news-body {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.news-content .news-body p {
  margin-bottom: 1.5rem;
}

.news-content .news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
} 

/* お知らせ画像とリンクのスタイル */
.news-body .news-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-body a {
  color: #C00;
  text-decoration: none;
  border-bottom: 1px solid #C00;
}

.news-body a:hover {
  background: #C00;
  color: white;
  padding: 2px 4px;
  border-radius: 3px;
}

.news-body strong {
  font-weight: bold;
  color: #333;
}

.news-body em {
  font-style: italic;
  color: #666;
} 