.column-concept {
  font-size: 18px;
  color: #004097;
  font-weight: 500;
  line-height: 1.66;
  margin-top: 30px;
}

.column-filter {
  margin-top: 48px;
  border: 1px solid #004097;
  padding: 16px 18px 14px;
  border-radius: 0.7em;
}

.column-filter-title {
  color: #004097;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
}

.column-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.column-filter-item {
  min-width: 88px;
  padding: 7px 14px;
  border: 1px solid #004097;
  color: #004097;
  background: #fff;
  appearance: none;
  cursor: pointer;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.column-filter-item.is-active {
  background: #004097;
  color: #fff;
}

.column-list {
  margin: 66px auto 180px;
  height: auto;
  min-height: fit-content;
}

.column-list > .container {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1148px) {
  body:not(.single-post) .column-list .container {
    max-width: 96%;
  }
}

@media screen and (max-width: 767px) {
  .column-concept {
    font-size: 4.2vw;
    margin-top: 4vw;
    line-height: 1.6;
  }

  .column-filter {
    margin-top: 4vw;
    padding: 3.2vw 3vw 3vw;
  }

  .column-filter-title {
    font-size: 5.6vw;
    margin-bottom: 2.8vw;
  }

  .column-filter-list {
    gap: 2vw;
  }

  .column-filter-item {
    min-width: 22vw;
    padding: 2.2vw 2.8vw;
    font-size: 3.4vw;
    line-height: 1.2;
  }
}

.column-list-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 6.6%; 
  align-items: start;
  min-height: 0;
  height: auto !important; /* 旧JSの inline height を打ち消す */
  flex: 0 0 auto;
}

.column-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  width: 100%;
  background-color: #fff;
  height: fit-content;
}

.column-image {
  width: 100%;
  aspect-ratio: 514/318;
  object-fit: cover;
  border-radius: 15px;
  overflow: hidden;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .column-item:hover .column-image img {
    transform: scale(1.1);
  }
}

.column-title {
  font-size: 22px;
  color: #000;
  font-weight: 700;
  line-height: 1.36;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 12px;
  margin-bottom: 8px;
}

.column-excerpt {
  font-size: 16px;
  color: #717171;
  font-weight: 500;
  line-height: 1.56;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* カテゴリ（catList）表示：column-post.css との見た目合わせ */
.catList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.catList .cat-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font-size: 1.1rem;
  line-height: 1 !important;
  padding: 3px 8px !important;
  background-color: var(--point-color, #004097) !important;
  border-radius: 999px !important;
  color: #fff !important;
  letter-spacing: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .catList .cat-item {
    font-size: 1.3rem;
    padding: 8px 10px !important;
  }
}

@media (max-width: 767px) {
  .catList .cat-item {
    font-size: 2.7vw;
    padding: 1.5vw 2vw !important;
  }
}

.catList + .column-title {
  margin-top: 0;
}

.column-excerpt.four-lines {
  -webkit-line-clamp: 4;
}

.column-excerpt.three-lines {
  -webkit-line-clamp: 3;
}

.column-excerpt.two-lines {
  -webkit-line-clamp: 2;
}

.column-excerpt.one-line {
  -webkit-line-clamp: 1;
}

.column-list .pagination {
  margin: 100px 0 0 !important;
  text-align: center;
  position: static !important;
  clear: both;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.page-numbers li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-numbers a,
.page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #004097;
  font-family: "Roboto Slab", sans-serif;
  font-size: 30px;
  font-weight: 700;
  width: 48px;
  height: 48px;
  text-decoration: none;
  border-radius: 50%;
}

.page-numbers .current {
  background-color: #004097 !important;
  color: white !important;
  border: unset !important;
}

.page-numbers .disabled {
  color: #ccc;
  cursor: not-allowed;
}

.prev.page-number,
.next.page-number {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev.page-number::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid #004097;
  border-left: 3px solid #004097;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.next.page-number::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid #004097;
  border-right: 3px solid #004097;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.prev.page-number.disabled::before,
.next.page-number.disabled::before {
  border-color: #ccc;
}

@media (max-width: 1148px) {
  body:not(.single-post) .page-content > .container {
    max-width: 96%;
  }
}

@media (max-width: 767px) {
  body:not(.single-post) .page-content > .container {
    max-width: 86.6%;
  }

  .column-list {
    margin-top: 17vw;
    margin-bottom: 13.6vw;
  }

  body:not(.single-post) .column-list .container {
    max-width: 86.6%;
  }

  .column-list-inner {
    grid-template-columns: 1fr;
    gap: 19.5vw;
  }

  .column-item {
    width: 100%;
    border-radius: 5.3vw;
  }

  .column-image {
    aspect-ratio: 324/168;
    border-radius: 4vw;
  }

  .column-title {
    font-size: 4.8vw;
    margin-top: 4.5vw;
    margin-bottom: 2.5vw;
  }

  .column-excerpt {
    font-size: 4.2vw;
    line-height: 1.43;
  }

  .column-list .pagination {
    margin: 11vw 0 0 !important;
  }

  .nav-links {
    gap: 3vw;
    justify-content: space-between;
  }

  .page-numbers {
    gap: 3vw;
    width: 100%;
    justify-content: space-evenly;
  }

  .page-numbers a,
  .page-numbers span {
    padding: 1.6vw 2.4vw;
    font-size: 5vw;
    width: 8.2vw;
    height: 8.2vw;
  }

  .prev.page-number,
  .next.page-number {
    width: 8.2vw;
    height: 8.2vw;
  }

  .prev.page-number::before {
    width: 3vw;
    height: 3vw;
    border-top: 0.7vw solid #004097;
    border-left: 0.7vw solid #004097;
  }

  .next.page-number::before {
    width: 3vw;
    height: 3vw;
    border-top: 0.7vw solid #004097;
    border-right: 0.7vw solid #004097;
  }
}

.nav-links .page-numbers, .nav-links .post-page-numbers, .pagination .page-numbers, .pagination .post-page-numbers {
  border: unset !important;
}
