/* ==========================================================
   コインランドリー経営レポート ブログ固有スタイル
   （ヘッダー/フッターは ../styles.css を使用）
   ========================================================== */

/* ---------- 記事一覧 ---------- */
.blog-hero {
  background: linear-gradient(160deg, #0f3b57, #1180a8 70%, #5bc8dd);
  padding: 64px 0 56px;
}

.blog-hero h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(6, 34, 52, 0.6);
}

.blog-hero p {
  margin-top: 10px;
  color: #e6f7fb;
  font-weight: 600;
  max-width: 720px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.entry-card {
  background: #ffffff;
  border: 1px solid #d8eef4;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 59, 87, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.entry-card:hover {
  transform: translateY(-5px);
}

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

.entry-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #5b7484;
  margin-bottom: 8px;
}

.entry-meta .entry-tag {
  background: #f2fbfd;
  border: 1px solid #5bc8dd;
  color: #0f3b57;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 12px;
  border-radius: 999px;
}

.entry-card h2 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f3b57;
  line-height: 1.55;
  margin-bottom: 8px;
}

.entry-card h2 a {
  color: inherit;
}

.entry-card p.entry-excerpt {
  font-size: 0.9rem;
  color: #5b7484;
  flex: 1;
}

.entry-card .entry-more {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ---------- 記事本文 ---------- */
.article-shell {
  background: #ffffff;
  border: 1px solid #d8eef4;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 59, 87, 0.10);
  padding: 40px 42px;
  min-width: 0;
}

.article-eyebrow {
  display: inline-block;
  background: #f2fbfd;
  border: 1px solid #5bc8dd;
  color: #0f3b57;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.article-shell h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: #0f3b57;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: #5b7484;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.article-meta time {
  font-weight: 700;
  color: #1180a8;
}

.article-hero-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 28px;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f3b57;
  padding-left: 14px;
  border-left: 6px solid #5bc8dd;
  border-radius: 3px;
  margin: 34px 0 16px;
  line-height: 1.5;
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1180a8;
  margin: 24px 0 10px;
}

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

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

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

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #d8eef4;
}

.share-button {
  display: inline-block;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
}

.share-button:hover {
  opacity: 0.85;
  text-decoration: none;
}

.share-button.twitter {
  background: #0f3b57;
}

.share-button.facebook {
  background: #1180a8;
}

.article-back {
  margin-top: 26px;
}

.article-back a {
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .article-shell {
    padding: 26px 22px;
  }
}


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