/* FUSION FRONTIER blog 固有スタイル（ヘッダー/フッターは ../styles.css を使用） */

/* ---------- 記事ページ 2カラム ---------- */
.blog-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  align-items: start;
}

.article-header {
  margin-bottom: 1.8rem;
}

.article-category {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  margin-bottom: 0.9rem;
}

.article-header h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.55);
  margin-bottom: 0.9rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: #8a80ad;
}

.article-hero img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.3);
  margin: 1.6rem 0 2rem;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.6rem 0 1.1rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.25) 0%, rgba(249, 115, 22, 0.08) 70%, transparent 100%);
  border-left: 4px solid #a855f7;
  border-radius: 0 8px 8px 0;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.article-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #d8c9ff;
  margin: 1.8rem 0 0.8rem;
  padding-left: 0.8rem;
  border-left: 3px solid #f97316;
}

.article-content p {
  margin-bottom: 1.3rem;
  font-size: 0.98rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.4rem 1.6rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.article-content strong {
  color: #fbbf24;
}

.article-content a {
  text-decoration: underline;
}

/* シェア */
.share-box {
  margin-top: 2.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, #141024, #1a1430);
}

.share-box h2 {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.share-buttons a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #e8e4f5;
  border: 1px solid rgba(168, 85, 247, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-buttons a:hover {
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.5);
}

/* 記事下ナビ */
.back-to-list {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ---------- 一覧ページ ---------- */
.blog-index-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.2rem 0.5rem;
}

.blog-index-header h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.6);
  padding-left: 1rem;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #a855f7, #f97316) 1;
}

.blog-index-header p {
  color: #8a80ad;
  font-size: 0.9rem;
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.blog-card {
  background: linear-gradient(160deg, #141024 0%, #1a1430 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 10px 34px rgba(249, 115, 22, 0.25);
}

.blog-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-content {
  padding: 1.2rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-content h2 {
  font-size: 1.08rem;
  line-height: 1.6;
}

.blog-content h2 a {
  color: #e8e4f5;
  text-decoration: none;
}

.blog-content h2 a:hover {
  color: #a855f7;
}

.blog-content time {
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  color: #fbbf24;
}

.article-summary {
  font-size: 0.86rem;
  color: #b3abd1;
  line-height: 1.75;
  flex: 1;
}

.read-more {
  align-self: flex-start;
  font-size: 0.85rem;
  color: #f97316;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile news-commentary readability baseline (shared site-local rule). */
@media (max-width: 768px) {
  .blog-main, .blog-container, .two-col-layout { min-width: 0; }
  .article-detail, .blog-article, .article-body { min-width: 0; }
  .article-detail .article-body, .blog-article { padding-inline: 16px; }
  .article-content {
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }
  .article-content h2 { font-size: clamp(1.25rem, 6vw, 1.45rem); line-height: 1.4; }
  .article-content h3 { font-size: clamp(1.12rem, 5vw, 1.25rem); line-height: 1.45; }
  .article-content :is(img, iframe, video) { max-width: 100%; height: auto; }
  .article-content table { display: block; max-width: 100%; overflow-x: auto; }
  .sidebar, .blog-sidebar { position: static; order: 2; }
}
/* Mobile article reading width: keep outer page gutters, remove duplicated inner gutters. */
@media (max-width: 768px) {
  .article-content,
  .article-detail .article-body,
  .blog-article,
  .main-content > article.main-content {
    padding-left: 0;
    padding-right: 0;
  }
  /* Cap article-panel padding without removing deliberate card framing. */
  .article-panel,
  .article-main,
  .post-content,
  .article-detail {
    padding-left: min(16px, 4vw);
    padding-right: min(16px, 4vw);
  }
  .article-body { padding-left: 0; padding-right: 0; }
}
