.no-gutters {
  margin-right: -5px;
  margin-left: -5px;
}
.no-gutters > .col, .no-gutters > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}
.media {
  display: none; /* 初期状態では全ての項目を非表示 */ display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.media img {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
}
.media-body p {
  padding-right: 10px;
  padding-left: 10px;
}
.t_name a{
	color: #FFF;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  clear: both; /* 浮動要素をクリア */
  width: 100%; /* 親要素の幅いっぱいに広げる */
}

.pagination::before,
.pagination::after {
  content: "";
  display: table;
}

.pagination::after {
  clear: both;
}

.pagination a.page-numbers:not(.prev):not(.next),
.pagination span.page-numbers:not(.prev):not(.next) {
  display: inline-block;
  padding: 6px 9px; /* paddingを小さく */
  margin: 0 3px; /* marginを小さく */
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1;
}

.pagination a.page-numbers:not(.prev):not(.next):hover {
  background-color: #f0f0f0;
}

.pagination span.page-numbers.current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination span.dots {
  padding: 6px 9px;
  margin: 0 3px;
  color: #666;
}

.pagination a.prev,
.pagination a.next,
.pagination span.prev,
.pagination span.next {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1;
}

.pagination a.prev:hover,
.pagination a.next:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .media img {
    max-width: 120px;
    height: auto;
    margin-right: 10px;
  }
}