/* H2 Chain Report ブログ固有スタイル
   ヘッダー/フッター/ナビ/2カラムは ../styles.css を利用 */

/* ---------- 記事本文 ---------- */
.article-content {
  min-width: 0;
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}

.article-date {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--blue-main);
}

.article-category {
  background: var(--grad-main);
  color: var(--white);
  border-radius: 999px;
  padding: 0.1rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.5;
}

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

.article-eyecatch img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
}

.article-body p {
  margin-bottom: 1.1rem;
}

.article-body section {
  margin-bottom: 2.2rem;
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.5;
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
  margin-bottom: 1rem;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-main);
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-main);
  margin: 1.2rem 0 0.6rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.2rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

/* ---------- シェア・戻る ---------- */
.share-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: 2.2rem 0 1.2rem;
  padding: 1.1rem 1.2rem;
  background: var(--aqua-mist);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}

.share-label {
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.9rem;
}

.share-btn {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.share-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.share-x {
  background: #0f1419;
}

.share-facebook {
  background: #1877f2;
}

.back-to-list {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--blue-main);
}

/* ---------- ブログ一覧 ---------- */
.blog-hero {
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.blog-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 2;
}

.blog-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--sky);
  margin-bottom: 0.5rem;
}

.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.blog-hero p {
  color: var(--ink-soft);
  max-width: 640px;
}

.blog-hero .bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 111, 190, 0.25);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(53, 195, 232, 0.08));
  z-index: 1;
}

.blog-hero .bubble:nth-child(1) { width: 110px; height: 110px; right: 8%; top: 16%; }
.blog-hero .bubble:nth-child(2) { width: 46px; height: 46px; right: 20%; bottom: 20%; }

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

.blog-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

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

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

.blog-content h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

.blog-content h2 a {
  color: var(--blue-deep);
}

.blog-content time {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky);
}

.article-summary {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.read-more {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-main);
}

@media (max-width: 767px) {
  .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; }
}
