/* ↓トップ情報欄 */
.top-area {
  display: flex;
  border: 1px solid #00a8e5;
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 18px 25px;
  gap: 15px;
}

.top-area a:hover {
  opacity: 0.5;
}

.top-area .text-outer {
  display: flex;
  flex-direction: column;
  width: 60%;
  gap: 10px;
}

.top-area .info-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

.top-area .link-text a {
  color: #333;
  font-weight: 500;
  transition: 0.2s;
}

.top-area .link-text a i {
  color: #004b96;
}

.top-area .btn-outer {
  width: 40%;
  margin: auto;
  text-align: center;
}

.top-area .btn-outer a {
  background-color: #004b96;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  transition: 0.2s;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}

@media(max-width:767px) {
  .top-area {
    flex-direction: column;
    gap: 30px;
    padding: 18px 20px;
  }

  .top-area .text-outer {
    width: 100%;
  }

  .top-area .btn-outer {
    width: 100%;
  }
}
/* ↑トップ情報欄 */

/* ↓見出し */
h2.wp-block-heading.event {
  background: #3c3e45;
  border-left: 0;
  color: #fff;
  position: relative;
  text-align: center;
  margin: 40px 0 10px 0;
}

h2.wp-block-heading.event::before {
  display: none;
}

h2.wp-block-heading.event.active {
  animation: pulseMotion 1.5s ease-in-out infinite;
}

@keyframes pulseMotion {
  50% {
    background: #b28c00d1;
  }
}

h2.wp-block-heading.event.active::before {
  background: none !important;
  bottom: unset !important;
  color: #a91700;
  content: "現在開催中！" !important;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  height: auto !important;
  left: 0;
  position: absolute;
  top: -30px !important;
  width: auto !important;
}
/* ↑見出し */

/* ↓投稿リスト */
.post-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.post-list article.post a {
  color: #333;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  box-shadow: 0 1px 10px #00000021;
  border-radius: 10px;
  padding: 12px 17px;
  height: 100%;
}

.post-list article.post a:hover {
  opacity: 0.5;
}

.post-list .post-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.post-list .p-title {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 1.05rem;
  font-weight: 700;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
}

.post-list .p-text {
  -webkit-box-orient: vertical;
  color: #7a7a7a;
  display: -webkit-box;
  font-size: 0.95rem;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.post-list .post-image {
  width: 28%;
}

.post-list .post-image img {
  aspect-ratio: 1 / 1.4;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.post-list .post-data {
  display: flex;
  width: 100%;
  gap: 12px;
}

.post-list .post-info {
  display: flex;
  flex-direction: column;
  width: 74%;
  font-size: 0.95rem;
}

.post-list .p-date {
  display: flex;
  flex-direction: column;
}

.post-list .p-date .time-text {
  margin-top: 2px;
}

.post-list .p-location {
  color: #333;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.post-list .p-location .loca-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

@media(max-width: 767px) {
  .post-list {
    grid-template-columns: 1fr;
  }

  .post-list .post-image img {
    aspect-ratio: unset;
    height: 100%;
  }

  .post-list .post-image {
    width: 35%;
  }

  .post-list .post-info {
    width: 65%;
  }
}
/* ↑投稿リスト */

/* ↓ページネーション */
.page-jump {
  background-color: #004b96;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  transition: 0.2s;
}

.page-jump a {
  color: #fff;
  display: block;
  padding: 8px 20px;
}

.page-jump:hover {
  opacity: 0.5;
}

div#pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 25px;
  text-align: center;
}

div#pagination .page-numbers {
  border: 1px solid #333;
  border-radius: 50px;
  color: #333;
  font-weight: 600;
  padding: 5px 12px;
  transition: 0.2s;
}

div#pagination .page-numbers.current {
  background-color: #0042d3;
  border: 1px solid #fff;
  color: #fff;
}

div#pagination .page-numbers:hover {
  background-color: #0042d3;
  border: 1px solid #fff;
  color: #fff;
  opacity: 0.5;
}

div#pagination .page-numbers.current:hover {
  opacity: 1;
}

div#pagination .page-numbers.dots {
  background: none;
  border: 1px solid #fff;
  padding: 7px;
  pointer-events: none;
}
/* ↑ページネーション */

/* ↓カウンター */
.post-count {
  align-items: flex-end;
  display: flex;
  font-size: 0.91rem;
  margin-bottom: 20px;
}

.now-count {
  margin-left: 15px;
}

.post-count span {
  color: #0088c3;
  font-size: 1.2rem;
  font-weight: 700;
  padding-right: 2px;
}
/* ↑カウンター */