/*
 Theme Name: Andou Theme
 Author: あなたの名前
 Version: 1.0
*/

/* =========================================
   ブログ一覧ページ（index.php）
   ========================================= */

.blog-archive {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.service-section-title {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-image: url("assets/img/top_img_02.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  overflow: hidden;
  margin-top: 0;
}

.service-section-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.service-section-title * {
  position: relative;
  z-index: 2;
}

.service-text {
  flex: 1;
  min-width: 320px;
}

.blog-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-archive-item {
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.blog-archive-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
}

.blog-archive-date {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.blog-archive-cat {
  background: #80bc00;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.blog-archive-title-text {
  font-size: 16px;
  flex: 1;
  line-height: 1.4;
}

.blog-archive-arrow {
  color: #888;
  font-weight: bold;
  font-size: 16px;
}

.blog-pagination {
  margin-top: 30px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.blog-pagination .current {
  background: #80bc00;
  color: #fff;
  border-color: #80bc00;
}

@media (max-width: 600px) {
  .blog-archive-link {
    flex-wrap: wrap;
  }

  .blog-archive-title-text {
    width: 100%;
    font-size: 15px;
  }

  .blog-archive-arrow {
    display: none;
  }
}

/* =========================================
   singlephpのcss
   ========================================= */
.single-blog {
  width: 90%;
  max-width: 900px;
  margin: 40px auto 100px;
}

.single-blog-title {
  font-size: 2rem;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid #80bc00;
}

.single-blog-meta {
  display: flex;
  gap: 10px;
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

.single-blog-thumb {
  max-width: 700px;
  margin: 0 auto 25px;
}

.single-blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-blog-content {
  line-height: 1.8;
  font-size: 1rem;
}

.single-blog-content h2,
.single-blog-content h3 {
  border-bottom: 2px solid #80bc00;
  padding-bottom: 6px;
  margin-top: 35px;
  margin-bottom: 15px;
}

.single-blog-content img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}

.single-blog-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
