/**
 * 個別記事ページのスタイル
 * 
 * @package Kuramoto
 * @version 1.0.0
 * @author 倉本鐵工株式会社
 */


/* 記事ヘッダー */
.single-news-header {
  background: rgba(30, 150, 252, 0.05);
  padding: 30px 40px;
  margin: 100px auto 0;
  max-width: 1080px;
}

.single-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.single-news-date {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.single-news-category {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* 記事タイトル */
.single-news-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

/* 記事画像 */
.single-news-image {
  margin: 30px 0;
  text-align: center;
}

.single-news-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 記事本文 */
.single-news-content {
  margin: 40px 0;
  line-height: 1.8;
  color: #333;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.single-news-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #5CC9E2;
}

.single-news-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 25px 0 10px 0;
}

.single-news-content p {
  margin: 15px 0;
}

.single-news-content ul,
.single-news-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.single-news-content li {
  margin: 8px 0;
}

.single-news-content img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 20px 0;
}

.single-news-content blockquote {
  border-left: 4px solid #5CC9E2;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

/* 記事ナビゲーション */
.single-news-navigation {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  padding: 30px 0;
  border-top: 1px solid #5CC9E2;
  max-width: 1080px;
}

.news-nav-prev,
.news-nav-next {
  flex: 1;
  max-width: 300px;
}

.news-nav-prev {
  text-align: left;
}

.news-nav-next {
  text-align: right;
}

.news-nav-link {
  align-items: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 15px;
}

.news-nav-link:hover {
  background: #5CC9E2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 201, 226, 0.3);
}

.news-nav-link:hover .news-nav-label {
  color: #fff;
}

.news-nav-arrow {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 8px;
}

.news-nav-label {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
  color: #5CC9E2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .single-news-header {
    padding: 20px 25px;
    margin: 20px 0;
  }

  .single-news-meta {
    gap: 15px;
  }

  .single-news-title {
    font-size: 1.5rem;
  }

  .news-nav-link {
    max-width: 100%;
  }

  /* スマホでパンくずリストを非表示 */
  .breadcrumb {
    display: none;
  }
}

/* 記事一覧ボタン */
.back-to-news-section {
  text-align: center;
  margin: 50px 0 150px;
}