/* ============================
   クリエイターシフト ブログ用CSS
   既存の style.css と併用前提
   ============================ */

/* ---------- Blog Common ---------- */
.blog-body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

.blog-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
  padding: 16px 0;
}
.breadcrumb a {
  color: #E60012;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 6px;
}

/* ================================
   Blog Index (一覧ページ)
   ================================ */
.blog-hero {
  background: #E60012;
  color: #fff;
  text-align: center;
  padding: 56px 20px;
  margin-bottom: 0;
}
.blog-hero h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}
.blog-hero p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-card-thumb {
  width: 240px;
  min-height: 160px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
}

.blog-card-body {
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-tag {
  display: inline-block;
  background: #E60012;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  width: fit-content;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
  color: #333;
}

.blog-card-date {
  font-size: 13px;
  color: #999;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   Article Page (記事ページ)
   ================================ */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #E60012;
}

.article-tag {
  display: inline-block;
  background: #E60012;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #222;
}

.article-meta {
  font-size: 13px;
  color: #999;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 48px 0 20px;
  padding: 12px 16px;
  border-left: 4px solid #E60012;
  background: #fafafa;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.article-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
}

.article-content strong {
  color: #E60012;
  font-weight: 700;
}

/* Highlight Box */
.highlight-box {
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p {
  margin: 0 0 10px;
}
.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Info Box (grey) */
.info-box {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.7;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #E60012;
  font-weight: 700;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: #f5f5f5;
  font-weight: 700;
  white-space: nowrap;
}
.compare-table tr.highlight {
  background: #FFF3E0;
}
.compare-table tr.highlight td:first-child {
  font-weight: 700;
  color: #E60012;
}

/* CTA Section */
.article-cta {
  background: linear-gradient(135deg, #E60012, #ff4444);
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0 32px;
}
.article-cta h3 {
  color: #fff;
  font-size: 20px;
  border: none;
  margin: 0 0 12px;
  padding: 0;
}
.article-cta p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 20px;
  font-size: 14px;
}
.article-cta .cta-button {
  display: inline-block;
  background: #fff;
  color: #E60012;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Related Articles */
.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}
.related-articles h3 {
  font-size: 18px;
  border: none;
  padding: 0;
  margin: 0 0 20px;
  color: #333;
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-list a {
  display: block;
  padding: 14px 18px;
  background: #f9f9f9;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}
.related-list a:hover {
  background: #f0f0f0;
}
.related-list a::before {
  content: "▸ ";
  color: #E60012;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
  }
  .blog-card-thumb {
    width: 100%;
    height: 180px;
  }
  .blog-card-body {
    padding: 16px;
  }
  .article-title {
    font-size: 22px;
  }
  .article-content h2 {
    font-size: 19px;
  }
  .compare-table {
    font-size: 12px;
  }
  .compare-table th,
  .compare-table td {
    padding: 8px 10px;
  }
}
