/* ===============================
   記事一覧
================================ */

.blog-page {
  background: #f5f8f4;
  min-height: 100vh;
  padding-bottom: 60px;
}

/* 上部タイトル */
.blog-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #f6fff8, #eef8f1);
  border-bottom: 1px solid #dceadd;
}

.blog-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: #0b7d3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  text-decoration: none;
  color: #000;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #36b58b;
  border-radius: 4px 4px 0 0;
}

.article-thumb {
  width: 200px;
  height: 135px;
  border-radius: 10px;
  overflow: hidden;
  background: #e6f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  color: #1f2d2a;
}

.blog-hero p {
  margin: 0;
  color: #5f6f68;
  font-size: 16px;
}

/* 記事一覧 */
.blog-list {
  max-width: 1200px;
  margin: 36px auto 0;
  padding: 0 24px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.blog-card-link {
  display: grid;
  grid-template-columns: 220px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}

.blog-thumb {
  height: 150px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef8f1, #dcefe2);
  color: #0b7d3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
}

.blog-category {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #e5f4ea;
  color: #0b7d3b;
  font-size: 13px;
  font-weight: bold;
}

.blog-body h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #087333;
}

.blog-body p {
  margin: 0 0 16px;
  color: #2f3d39;
  line-height: 1.7;
}

.blog-date {
  color: #4f5f58;
  font-size: 14px;
}

.blog-arrow {
  color: #0b7d3b;
  font-size: 42px;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .blog-hero {
    padding: 12px 12px;
  }

  .blog-card-link {
    grid-template-columns: 1fr;
  }

  .blog-thumb {
    height: 120px;
  }
  
  .article-thumb {
    display: none;
  }

  .blog-arrow {
    display: none;
  }
}