/* ========================================
   ニュースリリース専用スタイルシート
   プレフィックス: for10b
   既存CSSとの競合を回避
   ======================================== */

/* リセットとベーススタイル */
.for10b-news * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.for10b-news {
  font-family: "Arial", "Helvetica", sans-serif;
  color: #333;
  line-height: 1.6;
}

.for10b-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.for10b-container_detail {
  margin: 100px auto 60px;
}
/* ========================================
   ヘッダー
   ======================================== */
.for10b-header {
  background: linear-gradient(135deg, #6286b8 0%, #1e498b 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.for10b-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.for10b-header .for10b-subtitle {
  font-size: 1.1em;
  opacity: 0.9;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.for10b-news-container {
  padding: 40px 20px;
  background-color: #fff;
}

.for10b-news-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

/* ========================================
   サイドバー（フィルタリング）
   ======================================== */
.for10b-news-sidebar {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.for10b-filter-section {
  margin-bottom: 30px;
}

.for10b-filter-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #0055cc;
  padding-bottom: 10px;
}

.for10b-category-list,
.for10b-year-list {
  list-style: none;
}

.for10b-category-list li,
.for10b-year-list li {
  margin-bottom: 8px;
}

.for10b-filter-btn {
  display: block;
  text-decoration: none;
  color: #666666;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.95em;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.for10b-filter-btn:hover {
  background-color: #e8f0ff;
}

.for10b-filter-btn.for10b-active {
  background-color: #666666;
  color: white;
}

/* ========================================
   ニュースコンテンツ
   ======================================== */
.for10b-news-content {
  min-height: 400px;
}

.for10b-news-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.for10b-news-item {
  border-left: 4px solid #666666;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.for10b-news-item:hover {
  background-color: #f0f5ff;
  box-shadow: 0 2px 8px rgba(0, 85, 204, 0.1);
}

.for10b-news-date {
  font-size: 0.9em;
  color: #2d2d2d;
  margin-bottom: 8px;
}

.for10b-news-title {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.for10b-news-title a {
  color: #004098;
  text-decoration: none;
}

.for10b-news-title a:hover {
  text-decoration: underline;
}

.for10b-news-category {
  display: inline-block;
  background-color: #e8f0ff;
  color: #666666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  margin-bottom: 10px;
}

.for10b-news-excerpt {
  color: #2d2d2d;
  font-size: 0.95em;
}

.for10b-no-news {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

/* ========================================
   詳細ページスタイル
   ======================================== */
.for10b-news-detail-container {
  padding: 40px;
  background-color: #fff;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.for10b-breadcrumb {
  margin-bottom: 30px;
  font-size: 0.9em;
  color: #666;
}

.for10b-breadcrumb a {
  color: #666666;
  text-decoration: none;
}

.for10b-breadcrumb a:hover {
  text-decoration: underline;
}

.for10b-news-detail {
  max-width: 100%;
}

.for10b-detail-header {
  border-bottom: 2px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.for10b-detail-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #333;
}

.for10b-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 0.95em;
}

.for10b-detail-date {
  color: #999;
}

.for10b-detail-category {
  display: inline-block;
  background-color: #e8f0ff;
  color: #666666;
  padding: 4px 12px;
  border-radius: 20px;
}

.for10b-detail-content {
  line-height: 1.8;
  color: #555;
}

.for10b-detail-content h2 {
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 25px;
  color: #303030;
  line-height: normal;
}

.for10b-detail-content p {
  margin-bottom: 15px;
}

.for10b-detail-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.for10b-detail-content li {
  margin-bottom: 8px;
}

.for10b-detail-content a {
  color: #666666;
  text-decoration: none;
}

.for10b-detail-content a:hover {
  text-decoration: underline;
}

.for10b-detail-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}

.for10b-detail-related {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.for10b-detail-related h3 {
  margin-bottom: 15px;
}

.for10b-detail-related ul {
  list-style: none;
}

.for10b-detail-related li {
  margin-bottom: 10px;
}

.for10b-detail-related a {
  color: #666666;
  text-decoration: none;
}

.for10b-detail-back {
  text-align: center;
  margin-top: 60px;
}

.for10b-back-btn {
  display: inline-block;
  background-color: #666666;
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.for10b-back-btn:hover {
  background-color: #0044aa;
}

/* ========================================
   フッター
   ======================================== */
.for10b-footer {
  background-color: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
  color: #666;
  border-top: 1px solid #ddd;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
  .for10b-news-layout {
    grid-template-columns: 1fr;
  }

  .for10b-news-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .for10b-header h1 {
    font-size: 1.8em;
  }

  .for10b-container_detail {
    margin: 60px auto 60px;
  }
  .for10b-filter-section {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 15px;
  }
  .for10b-detail-title {
    font-size: 1.5em;
    line-height: normal;
  }
}
