@charset "UTF-8";
/* ===================================================
   ブログ（一覧・カテゴリー・TOPのブログ欄）
   記事ページの本文・フッターは column-style.css（田中さん支給）で指定する
=================================================== */

/* ---------- 見出し ---------- */
.page-column .blog-heading {
  margin-top: 1.5rem;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #142887;
  line-height: 1.5;
}

.page-column .blog-lead {
  max-width: 44rem;
  margin: 1rem auto 0;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.9;
  color: #444;
}

/* ---------- カテゴリーの絞り込み ---------- */
.blog-filter,
.blog-subfilter {
  max-width: 82rem;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.blog-filter a {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 1.25rem;
  border: 2px solid #142887;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  color: #142887;
  background: #fff;
  transition: background-color 0.2s, color 0.2s;
}

.blog-filter .is-active a,
.blog-filter a:hover {
  background: #142887;
  color: #fff;
}

.blog-subfilter {
  margin-top: 1rem;
  gap: 0.5rem 1.25rem;
}

.blog-subfilter a {
  font-family: "Noto Sans", sans-serif;
  font-size: 0.8125rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.blog-subfilter .is-active a,
.blog-subfilter a:hover {
  color: #142887;
  font-weight: 700;
  border-bottom-color: #142887;
}

/* ---------- カード一覧 ---------- */
.blog-grid {
  max-width: 82rem;
  margin: 2rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
}

.blog-card {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.blog-card a {
  display: block;
  height: 100%;
  color: #000;
  text-decoration: none;
}

.blog-card__eyecatch {
  aspect-ratio: 1200 / 630;
  background: #eef0f5;
  overflow: hidden;
}

.blog-card__eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card a:hover .blog-card__eyecatch img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: 1rem 1.25rem 1.5rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.625rem;
}

.blog-card__tag {
  display: inline-block;
  background: #142887;
  color: #fff;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0.1875rem 0.75rem;
  border-radius: 1.25rem;
}

.blog-card__date {
  font-family: "Lato", sans-serif;
  font-size: 0.8125rem;
  color: #666;
}

.blog-card__title {
  margin-top: 0.75rem;
  font-family: "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
}

.blog-empty {
  margin-top: 3rem;
  text-align: center;
  color: #666;
}

/* ---------- ページ送り ---------- */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin: 3.5rem auto 0;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

.blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #142887;
  color: #142887;
  text-decoration: none;
  font-size: 0.9375rem;
}

.blog-pagination .page-numbers.current {
  background: #142887;
  color: #fff;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next,
.blog-pagination .page-numbers.dots {
  border: none;
  font-size: 1.5rem;
}

/* ---------- 記事をカテゴリから探す ---------- */
.blog-explore {
  max-width: 60rem;
  margin: 5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid #e5e5e5;
}

.blog-explore__title {
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
}

.blog-explore__group + .blog-explore__group {
  margin-top: 1.75rem;
}

.blog-explore__group-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #142887;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
}

.blog-explore__group-title a {
  color: #142887;
  text-decoration: none;
}

.blog-explore__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.blog-explore__tags a {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 1rem;
  background: #f2f2f2;
  color: #333;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.blog-explore__tags a:hover {
  background: #142887;
  color: #fff;
}

/* ---------- 600px〜 ---------- */
@media screen and (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 1024px〜（PCは3列） ---------- */
@media screen and (min-width: 1024px) {
  .page-column .blog-heading {
    font-size: 1.75rem;
  }
  .page-column .blog-lead {
    font-size: 0.9375rem;
  }
  .blog-filter a {
    padding: 0.5rem 1.375rem;
    font-size: 0.875rem;
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
  .blog-explore {
    margin-top: 6rem;
  }
  .blog-explore__title {
    font-size: 1.5rem;
  }
}

/* ---------- 記事ページ（column-style.css を補う分） ---------- */
.page-column-single .content-area {
  padding: 0 1.25rem;
}

/* テーマのリセットで消えるリストの印を戻す */
.col-article ul {
  list-style: disc;
}

.col-article ol {
  list-style: decimal;
}

.single-column .post-thumbnail {
  margin-bottom: 20px;
}

.single-column .column-footer .breadcrumb {
  font-size: 0.88rem;
  color: #666;
}

.related-card {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.related-card__thumb {
  aspect-ratio: 16 / 10;
  margin-bottom: 8px;
  border-radius: 6px;
  background: #eef0f5;
  overflow: hidden;
}

.related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}

/* ---------- TOP 最新のブログ記事 ---------- */
.top-blog {
  margin-bottom: 9.375rem;
  padding: 0 1.25rem;
}

.top-blog__more {
  margin-top: 3rem;
}

@media screen and (min-width: 768px) {
  .top-blog {
    margin-bottom: 18.75rem;
  }
  /* 幅と間隔はTOPのCasesのカードに揃える */
  .top-blog .top-blog__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 76rem;
    margin: 7.5rem auto 0 !important;
  }
  .top-blog__list .digital-marketing-card {
    margin: 0;
  }
}
