/* BLOG LIST PAGE STYLES */

body {
  overflow-x: hidden;
  max-width: 100vw;
}

#blog_wrapper {
	background-image: url(img/header_background-image.png);
 	background-repeat: repeat;
	background-size: auto;
 	background-position: 0 0;
	
  min-height: 100vh;
  width: 100%;
  padding: 6vh 0;
}

#blog_container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 4vw;
  width: 100%;
  box-sizing: border-box;
}

.page_title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 5vh;
  color: #333;
}

/* カテゴリフィルター（将来用） */
.category_filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 5vh;
  flex-wrap: wrap;
}

.category_btn {
  background-color: white;
  border: 2px solid #FF7733;
  color: #FF7733;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.category_btn:hover,
.category_btn.active {
  background-color: #FF7733;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 119, 51, 0.3);
}

/* 記事一覧 */
.blog_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 6vh;
}

/* 記事カード（横長） */
.blog_card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 119, 51, 0.2);
}

.blog_card_link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog_thumbnail {
  width: 320px;
  min-width: 320px;
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
  position: relative;
}

.blog_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.blog_card:hover .blog_thumbnail img {
  transform: scale(1.05);
}

.blog_content {
  flex: 1;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
}

.blog_meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.blog_date {
  color: #999;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.blog_category {
  background: linear-gradient(135deg, #FF7733 0%, #FFA566 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: bold;
}

.blog_title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}

.blog_excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read_more {
  color: #FF7733;
  font-weight: bold;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.blog_card:hover .read_more {
  transform: translateX(5px);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 6vh;
}

.page_btn {
  background: white;
  border: 2px solid #FF7733;
  color: #FF7733;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.page_btn:hover:not(:disabled) {
  background: #FF7733;
  color: white;
  transform: translateY(-2px);
}

.page_btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page_current {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF7733;
}

.page_divider {
  font-size: 1.2rem;
  color: #999;
}

.page_total {
  font-size: 1.2rem;
  color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page_title {
    font-size: 2.2rem;
  }

  .blog_card_link {
    flex-direction: column;
  }

  .blog_thumbnail {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .blog_content {
    padding: 20px;
  }

  .blog_title {
    font-size: 1.3rem;
  }

  .blog_excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 480px) {
  .page_title {
    font-size: 1.8rem;
  }

  .blog_card {
    margin: 0 -10px;
    border-radius: 8px;
  }

  .blog_thumbnail {
    height: 180px;
  }

  .blog_content {
    padding: 15px;
  }

  .blog_title {
    font-size: 1.2rem;
  }

  .pagination {
    gap: 10px;
  }

  .page_btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}
