@charset "utf-8";


.news-content {
  background: url(../img/index-lead-bg.webp);
}

.news-content .wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}

.news-content .filter-list {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.news-content .filter-list li {
  width: clamp(250px, 43vw, 332px);
  height: clamp(60px, 10vw, 80px);
}
.news-content .filter-list li button {
  all: unset;
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 1.25rem;
  font-weight: 700;
  color: #C19421;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #C19421;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-origin: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.news-content .filter-list li button::before {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  background-color: #C19421;
  transition: all 0.3s ease-in;
}
.news-content .filter-list li button:hover {
  transform: scale(1.05);
}
.news-content .filter-list li button.active {
  color: #ffffff;
}
.news-content .filter-list li button.active::before {
  width: 300%;
  height: 300%;
  color: #ffffff;
}

/* ニュースリスト */
.news-content .news-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: clamp(40px, 7vw, 60px);
  list-style: none;
  margin: 3rem 0;
  padding: 0;
}

.news-content .news-list .news-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.news-content .news-list .news-item-link:hover .image img {
  transform: scale(1.05);
}

.news-content .news-list .news-item {
  width: 48.7%;
  min-height: clamp(280px, 50vw, 400px);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content .news-list .hidden {
  display: none;
}
@media screen and (max-width: 767px) {
  .news-content .news-list .news-item {
    width: 80%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 400px) {
  .news-content .news-list .news-item {
    width: 100%;
  }
}

.news-content .news-list .news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.news-content .news-list .news-item .image {
  width: 100%;
  aspect-ratio: 536 / 300;
  overflow: hidden;
  background-color: #f5f5f5;
}
.news-content .news-list .news-item .image.no-image {
  display: grid;
  place-items: center;
  background-color: #c1c1c1;
}
.news-content .news-list .news-item .image.no-image .no-image-placeholder {
  font-size: clamp(20px, 5vw, 40px);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-content .news-list .news-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transform: scale(1);
  transition: all 0.3s ease;
}

.news-content .news-list .news-item .content {
  padding: 1.5rem;
}

.news-content .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.news-content .meta .date {
  font-size: clamp(14px, 2vw, 16px);
  color: #ababab;
  font-weight: 700;
}

.news-content .meta .categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.news-content .meta .category-badge.blog {
  background-color: #100169;
}
.news-content .meta .category-badge.column {
  background-color: #C19421;
}
.news-content .meta .category-badge.other {
  background-color: #999;
}

.news-content .meta .category-badge {
  display: inline-block;
  padding: clamp(2px, 2vw, 4px) clamp(16px, 2vw, 32px);
  font-size: clamp(12px, 2vw, 20px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.news-content .news-list .news-item .content .title {
  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #333;
  line-height: 1.4;
}

.news-content .news-list .news-item .content .article {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.news-content .news-list .no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #999;
  list-style: none;
}

/* ページネーション */
[class*="pagination-"] {
  background-color: transparent;
}
.pagination-container {
  width: fit-content;
  margin: 3rem auto;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination button {
  padding: 12px;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:disabled,
.pagination button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #ccc;
}

.pagination button:disabled:hover,
.pagination button.disabled:hover {
  color: #ccc;
  transform: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  padding: 1.5rem;
  color: #C19421;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 24px;
  min-height: 24px;
}

.pagination-number:hover {
  transform: scale(1.05);
}

.pagination-number.active {
  color: #C19421;
  cursor: not-allowed;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-content .filter-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .news-content .filter-list li {
    width: 100%;
    max-width: 400px;
  }

  .news-content .news-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pagination button,
  .pagination-number {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    min-width: 40px;
    min-height: 40px;
  }
}

