/* ===== Blog Post Page ===== */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.blog-post-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e8e0d8;
  padding-bottom: 24px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #888;
}

.blog-post-meta time {
  color: #666;
}

.blog-post-tag {
  background: #9B4E20;
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.blog-post-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  margin-bottom: 16px;
}

.blog-post-hero-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 32px;
  background: #f0ebe6;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post-hero-img svg {
  width: 100%;
  max-height: 350px;
}

/* Article body */
.blog-post-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #333;
}

.blog-post-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #9B4E20;
  line-height: 1.5;
}

.blog-post-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 3px solid #9B4E20;
  line-height: 1.5;
}

.blog-post-body p {
  margin-bottom: 24px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 16px 0 28px 24px;
}

.blog-post-body li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.blog-post-body strong {
  color: #9B4E20;
  font-weight: 600;
}

/* Info box */
.blog-info-box {
  background: #faf6f2;
  border: 1px solid #e8ddd4;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}

.blog-info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #9B4E20;
  margin-bottom: 12px;
}

.blog-info-box p,
.blog-info-box ul {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* Data table */
.blog-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.blog-table th {
  background: #333;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}

.blog-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
}

.blog-table tr:nth-child(even) td {
  background: #faf8f5;
}

.blog-table .price {
  color: #9B4E20;
  font-weight: 600;
}

/* Quote */
.blog-quote {
  border-left: 4px solid #9B4E20;
  padding: 16px 20px;
  margin: 28px 0;
  background: #faf8f5;
  font-style: italic;
  color: #555;
}

.blog-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-style: normal;
  color: #888;
}

/* Source/Reference */
.blog-sources {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.blog-sources h4 {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 12px;
}

.blog-sources ul {
  list-style: none;
  margin-left: 0;
  font-size: 0.82rem;
  color: #999;
}

.blog-sources li {
  margin-bottom: 4px;
}

.blog-sources a {
  color: #9B4E20;
  text-decoration: none;
}

.blog-sources a:hover {
  text-decoration: underline;
}

/* CTA at end */
.blog-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #9B4E20 0%, #7d3d18 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: #fff;
}

.blog-cta h3 {
  border: none;
  padding: 0;
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.blog-cta p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.blog-cta .btn-white {
  display: inline-block;
  background: #fff;
  color: #9B4E20;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.blog-cta .btn-white:hover {
  opacity: 0.9;
}

/* Back to blog */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  color: #9B4E20;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-back:hover {
  text-decoration: underline;
}

/* Related posts */
.blog-related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.blog-related h3 {
  border: none;
  padding: 0;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.blog-related-card {
  text-decoration: none;
  color: #333;
}

.blog-related-card time {
  font-size: 0.78rem;
  color: #999;
}

.blog-related-card h4 {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 6px;
}

.blog-related-card:hover h4 {
  color: #9B4E20;
}

/* Reading time */
.reading-time {
  font-size: 0.82rem;
  color: #aaa;
}

@media (max-width: 600px) {
  .blog-post-title {
    font-size: 1.35rem;
  }

  .blog-post-body h2 {
    font-size: 1.2rem;
  }

  .blog-post {
    padding: 24px 16px 60px;
  }
}
