/* ニュース・お知らせページ専用スタイル */

/* ヒーローセクション */
.news-hero {
  background: linear-gradient(135deg, #dcdde0 0%, #00adf1 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.news-hero-content {
  position: relative;
  z-index: 2;
}

.news-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* カテゴリーフィルター */
.news-filter {
  background: #f8f9fa;
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3498db, #1462b1);
  border-color: #3498db;
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* ニュース一覧セクション */
.news-list-section {
  padding: 60px 0;
  background: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* ニュースカード */
.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f3f4;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.news-meta time {
  color: #6c757d;
  font-weight: 500;
}

.news-category-tag {
  background: linear-gradient(135deg, #3498db, #1462b1);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination-btn {
  background: white;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 45px;
}

.pagination-btn:hover {
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #3498db, #1462b1);
  border-color: #3498db;
  color: white;
}

.pagination-btn.next {
  min-width: 80px;
}

/* お問い合わせセクション */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-content p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.contact-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}

.contact-value {
  color: #3498db;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-btn {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #1462b1);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-hero-title {
    font-size: 2.5rem;
  }
  
  .news-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-title {
    font-size: 1.2rem;
  }
  
  .contact-content h2 {
    font-size: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .pagination {
    gap: 5px;
  }
  
  .pagination-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-hero {
    padding: 100px 0 60px;
  }
  
  .news-hero-title {
    font-size: 2rem;
  }
  
  .news-hero-subtitle {
    font-size: 1rem;
  }
  
  .news-filter {
    padding: 30px 0;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .news-list-section {
    padding: 40px 0;
  }
  
  .news-content {
    padding: 15px;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .contact-content h2 {
    font-size: 1.8rem;
  }
  
  .contact-content p {
    font-size: 1rem;
  }
} 