﻿.topic-list-page {
  background: #e9eaec;
  color: #1f2f45;
  padding: 34px 0 56px;
}

.topic-list-page .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
}

.topic-list-page .l-contents {
  background: #fff;
  padding: 18px 22px 8px;
}

.topic-list-page .l-contents .list-title {
  margin: 0;
  padding: 0 0 14px 42px;
  border-bottom: 1px solid #d7dbe2;
  color: #1a2c44;
  font-size: 34px;
  line-height: 1.2;
  position: relative;
}

.topic-list-page .l-contents .list-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 30px;
  height: 30px;
  background: url("../img/toppage/icon3.svg") center/contain no-repeat;
}

.topic-list-page .l-contents .voice-list {
  display: block;
}

.topic-list-page .l-contents .voice-item {
  border-bottom: 1px dotted #c9cfd8;
  padding: 18px 0;
}

.topic-list-page .l-contents .voice-link {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.topic-list-page .l-contents .voice-item .thumb {
  overflow: hidden;
}

.topic-list-page .l-contents .voice-item .thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.topic-list-page .l-contents .voice-item .meta {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: space-between;
}

.topic-list-page .l-contents .voice-item .title {
  margin: 4px 0 10px;
  font-size: 24px;
  line-height: 1.4;
  color: #1a2c44;
}

.topic-list-page .l-contents .voice-item .excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: #2f405f;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.topic-list-page .l-contents .voice-item .date {
  margin: 14px 0 0;
  font-size: 14px;
  color: #304e7a;
}

.topic-list-page .l-contents .voice-item:hover .thumb img {
  transform: scale(1.04);
}

.topic-list-page .l-contents .empty {
  text-align: center;
  font-size: 16px;
  color: #6b7f9d;
  padding: 30px 0;
}

.topic-list-page .topic-pagination {
  padding: 26px 0 10px;
}

.topic-list-page .topic-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list-page .topic-pagination .page-numbers a,
.topic-list-page .topic-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ccd5df;
  background: #fff;
  color: #23416c;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
}

.topic-list-page .topic-pagination .page-numbers a:hover {
  border-color: #7bb059;
  color: #7bb059;
}

.topic-list-page .topic-pagination .page-numbers .current {
  border-color: #7bb059;
  background: #7bb059;
  color: #fff;
}

@media (max-width: 1024px) {
  .topic-list-page {
    padding-top: 20px;
  }

  .topic-list-page .l-contents .list-title {
    font-size: 28px;
  }

  .topic-list-page .l-contents .voice-link {
    grid-template-columns: 240px 1fr;
    gap: 16px;
  }

  .topic-list-page .l-contents .voice-item .thumb img {
    height: 220px;
  }

  .topic-list-page .l-contents .voice-item .title {
    font-size: 20px;
  }

  .topic-list-page .l-contents .voice-item .excerpt {
    font-size: 15px;
    -webkit-line-clamp: 4;
  }

  .topic-list-page .l-contents .voice-item .date {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .topic-list-page {
    padding: 14px 0 28px;
  }

  .topic-list-page .container {
    padding: 0 12px;
  }

  .topic-list-page .l-contents {
    padding: 12px 12px 0;
  }

  .topic-list-page .l-contents .list-title {
    font-size: 22px;
    padding-left: 30px;
  }

  .topic-list-page .l-contents .list-title::before {
    width: 22px;
    height: 22px;
    top: 3px;
  }

  .topic-list-page .l-contents .voice-item {
    padding: 16px 0;
  }

  .topic-list-page .l-contents .voice-link {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topic-list-page .l-contents .voice-item .title {
    font-size: 18px;
    margin: 0 0 8px;
  }

  .topic-list-page .l-contents .voice-item .excerpt {
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
  }

  .topic-list-page .l-contents .voice-item .date {
    margin-top: 10px;
    font-size: 12px;
  }

  .topic-list-page .topic-pagination {
    padding-top: 18px;
  }

  .topic-list-page .topic-pagination .page-numbers {
    gap: 8px;
  }

  .topic-list-page .topic-pagination .page-numbers a,
  .topic-list-page .topic-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 12px;
  }
}