/* ============================================================
   セルフストレージ産業レポート ブログ固有スタイル
   ヘッダー/フッターのスタイルは ../styles.css を使用
   ============================================================ */

/* 記事シェル */
.article-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--hazard);
  padding: 32px 34px 36px;
  min-width: 0;
}

.article-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--ink);
  background: var(--hazard);
  padding: 2px 10px;
  margin-bottom: 14px;
}

.article-shell h1 {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--steel);
  margin-bottom: 20px;
}

.article-hero-image {
  width: 100%;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.article-body h2 {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding-left: 12px;
  border-left: 6px solid var(--hazard);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 34px 0 18px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px 24px;
}

.article-body li {
  margin-bottom: 6px;
}

/* シェアボタン */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 2px solid var(--ink);
  margin-top: 30px;
  padding-top: 20px;
}

.share-button {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--paper-light);
}

.share-button:hover {
  border-color: var(--hazard);
  color: var(--hazard-dark);
}

/* 記事一覧 */
.blog-index-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.blog-index-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.blog-index-heading h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.blog-index-heading .index {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--hazard-dark);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.blog-index-lead {
  color: var(--steel);
  font-size: 14px;
  margin-bottom: 30px;
}

.post-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-top-color: var(--hazard);
  transform: translateY(-3px);
}

.post-card a {
  display: block;
  color: var(--ink);
}

.post-card img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.post-card-body {
  padding: 18px 20px 22px;
}

.post-card time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.08em;
}

.post-card h2 {
  font-size: 18px;
  font-weight: 900;
  margin: 8px 0 10px;
  line-height: 1.5;
}

.post-card p {
  font-size: 13.5px;
  color: var(--steel);
}

@media (max-width: 720px) {
  .article-shell {
    padding: 24px 18px 28px;
  }

  .article-shell h1 {
    font-size: 22px;
  }

  .post-list {
    grid-template-columns: 1fr;
  }
}


/* News commentary quality guard: mobile-safe media and sidebar layout */
.blog-page header .header-inner { flex-direction: row; align-items: center; width: 100%; }
.blog-page header nav { margin-left: auto; }
.blog-main, .article-main, .blog-article, .article-content, .blog-article-content { min-width: 0; max-width: 100%; }
.article-header { display: block; min-width: 0; }
body.blog-page { overflow-x: hidden; }
.blog-article-hero, .article-hero-image, .article-header figure { max-width: 100%; overflow: hidden; }
.blog-article-hero img, .article-hero-image, .article-header figure img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
.blog-article-content img, .article-content img, .blog-main img { max-width: 100%; height: auto; }
.related-articles ul, .related-posts ul, .toc ul, .sidebar-widget ul { margin: 0; padding-left: 1.2rem; }
.related-articles li, .related-posts li, .toc li, .sidebar-widget li { margin: .45rem 0; line-height: 1.55; }
.sitenavi-slot { display: none !important; }
@media (max-width: 768px) {
  .blog-layout, .article-layout { grid-template-columns: minmax(0, 1fr) !important; width: min(calc(100% - 24px), 1120px); }
  .blog-sidebar { position: static !important; width: 100%; }
  .blog-main, .article-main { width: 100%; }
  .blog-article-hero { margin-left: 0; margin-right: 0; }
  .blog-article-hero img, .article-hero-image { width: 100% !important; max-width: 100% !important; }
}

/* 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; }
}
