/* ニュース専用CSS */

/* ニュース一覧ページ */
.news-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.news-list-header {
  text-align: center;
  margin-bottom: 50px;
}

.news-list-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.news-list-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

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

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f7fa 0%, #e3e8ef 100%);
}

.news-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.9rem;
  color: #95a5a6;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-date::before {
  content: "📅";
  font-size: 1rem;
}

.news-card-title {
  font-size: 1.3rem;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.5;
  min-height: 3em;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-title a:hover {
  color: #e91e63;
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #ecf0f1;
  font-size: 0.85rem;
  color: #95a5a6;
}

.news-card-media {
  font-weight: 600;
  color: #7f8c8d;
}

.news-card-read-more {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.news-card-read-more:hover {
  color: #c2185b;
  text-decoration: underline;
}

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

.news-pagination a,
.news-pagination span {
  padding: 10px 18px;
  border: 1px solid #dfe6e9;
  border-radius: 6px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  font-weight: 500;
}

.news-pagination a:hover {
  background: #e91e63;
  color: #fff;
  border-color: #e91e63;
}

.news-pagination .current-page {
  background: #e91e63;
  color: #fff;
  border-color: #e91e63;
}

/* ニュース詳細ページ */
.news-detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-date {
  font-size: 0.95rem;
  color: #95a5a6;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-detail-date::before {
  content: "📅";
  font-size: 1.1rem;
}

.news-detail-title {
  font-size: 2.2rem;
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 25px;
}

.news-detail-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-detail-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #34495e;
  margin-bottom: 40px;
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-meta {
  padding: 20px 25px;
  background: #f8f9fa;
  border-left: 4px solid #e91e63;
  border-radius: 8px;
  margin-bottom: 40px;
}

.news-detail-meta p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #5a6c7d;
}

.news-detail-meta strong {
  color: #2c3e50;
  font-weight: 600;
}

.news-detail-meta a {
  color: #3498db;
  text-decoration: none;
  word-break: break-all;
}

.news-detail-meta a:hover {
  text-decoration: underline;
}

/* SNSシェアボタン */
.news-share-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 50px;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-share-buttons span {
  font-weight: 600;
  color: #2c3e50;
  margin-right: 10px;
}

.news-share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-share-button.twitter {
  background: #1da1f2;
}

.news-share-button.facebook {
  background: #1877f2;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: #ecf0f1;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.news-back-link:hover {
  background: #bdc3c7;
  transform: translateX(-5px);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .news-list-header h1 {
    font-size: 2rem;
  }

  .news-detail-title {
    font-size: 1.8rem;
  }

  .news-detail-body {
    font-size: 1rem;
  }

  .news-share-buttons {
    flex-wrap: wrap;
  }

  .news-pagination {
    gap: 8px;
  }

  .news-pagination a,
  .news-pagination span {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-card-title {
    font-size: 1.1rem;
    min-height: auto;
  }

  .news-detail-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .news-list-container {
    padding: 20px 15px;
  }
  
  .news-detail-container {
    padding: 20px 15px;
  }
  
  .news-detail-image {
    max-height: 300px;
    margin-bottom: 25px;
  }
  
  .news-card-content {
    padding: 20px;
  }
  
  .news-card-image {
    height: 180px;
  }
  
  .news-share-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }
  
  .news-share-button {
    width: 100%;
    justify-content: center;
  }
  
  .news-detail-meta {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  
  .news-detail-body {
    font-size: 0.95rem;
    line-height: 1.8;
  }
  
  .news-detail-body p {
    margin-bottom: 15px;
  }
}
