/* =======================================
   ニュース記事ページ専用スタイル
   index.php, concept1.html, service.htmlと統一
   ======================================= */

/* ニュース記事コンテンツ */
.news-article-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 記事ヘッダー */
.news-article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 3px solid #667eea;
}

.news-article-date {
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-article-date::before {
  content: "📅";
  font-size: 1.5rem;
}

.news-article-title {
  font-size: 3rem;
  font-weight: 900;
  color: #2c3e50;
  line-height: 1.4;
  margin: 0;
}

/* 記事本文 */
.news-article-content {
  font-size: 1.6rem;
  line-height: 2;
  color: #555;
}

.news-article-content p {
  margin-bottom: 25px;
}

.news-article-content p:last-child {
  margin-bottom: 0;
}

/* リンクのスタイル */
.news-article-content a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  word-break: break-all;
}

.news-article-content a:hover {
  color: #004499;
  border-bottom-color: #0066cc;
}

/* リンクボックス（目立たせる） */
.news-link-box {
  background: #f0f7ff;
  padding: 20px 25px;
  border-radius: 10px;
  border-left: 5px solid #0066cc;
  margin: 30px 0;
}

.news-link-box-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-link-box-title::before {
  content: "🔗";
  font-size: 1.8rem;
}

.news-link-box a {
  display: inline-block;
  color: #0066cc;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #0066cc;
  transition: all 0.3s ease;
}

.news-link-box a:hover {
  color: #004499;
  border-bottom-color: #004499;
  transform: translateX(5px);
}

/* 説明文 */
.news-description {
  font-size: 1.7rem;
  line-height: 1.9;
  color: #333;
  font-weight: 500;
  margin-bottom: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-left: 5px solid #667eea;
}

/* 複数リンクのリスト */
.news-links-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.news-links-list li {
  margin-bottom: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #0066cc;
  transition: all 0.3s ease;
}

.news-links-list li:hover {
  background: #f0f7ff;
  transform: translateX(5px);
  box-shadow: 0 3px 15px rgba(0, 102, 204, 0.1);
}

.news-links-list .link-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  display: block;
}

.news-links-list a {
  color: #0066cc;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.news-links-list a:hover {
  color: #004499;
  border-bottom-color: #0066cc;
}

/* 戻るリンク */
.news-back-link {
  margin-top: 50px;
  text-align: center;
}

.news-back-link a {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.news-back-link a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.news-back-link a::before {
  content: "← ";
  margin-right: 5px;
}

/* シンプル版のスタイル（news1.html用） */
.news-simple-message {
  font-size: 2rem;
  text-align: center;
  color: #667eea;
  font-weight: 700;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin: 40px 0;
}

.news-simple-message::before {
  content: "🎉";
  display: block;
  font-size: 5rem;
  margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-article-container {
    padding: 25px 20px;
    margin: 20px;
    border-radius: 10px;
  }
  
  .news-article-title {
    font-size: 2.2rem;
  }
  
  .news-article-content {
    font-size: 1.4rem;
    line-height: 1.8;
  }
  
  .news-description {
    font-size: 1.5rem;
    padding: 20px;
  }
  
  .news-link-box {
    padding: 15px 18px;
  }
  
  .news-links-list li {
    padding: 15px;
  }
  
  .news-back-link a {
    font-size: 1.4rem;
    padding: 12px 35px;
  }
}
