@charset "UTF-8";
/* =========================================================
   お知らせ一覧（archive-news / taxonomy-news-cat）
   ========================================================= */
.p-news {
  padding: 40px 0 60px;
}
@media only screen and (min-width: 992px) {
  .p-news {
    padding: 60px 0 80px;
  }
}

.p-news__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

/* カテゴリー絞り込みボタン（SP2列 / PC横並び） */
.p-news__filter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 18px;
  margin-bottom: 40px;
}
@media screen and (min-width: 821px) {
  .p-news__filter {
    display: grid;
    gap: 20px;
    margin-bottom: 50px;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media only screen and (min-width: 992px) {
  .p-news__filter-item {
    flex: 1;
  }
}

.p-news__filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #C9D3DD;
  border-radius: 8px;
  background-color: #fff;
  color: #7A8CA3;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
@media only screen and (min-width: 992px) {
  .p-news__filter-btn {
    min-height: 50px;
    font-size: 15px;
  }
}
.p-news__filter-btn:hover {
  border-color: #0E63C4;
  color: #0E63C4;
}

.p-news__filter-btn.is-active {
  border: 2px solid #0E63C4;
  color: #0E63C4;
  font-weight: 700;
}

/* お知らせリスト */
.p-news__list {
  border-top: 1px solid #D9D9D9;
}

.p-news__item {
  border-bottom: 1px solid #D9D9D9;
}

.p-news__link {
  position: relative;
  display: block;
  padding: 20px 40px 20px 0;
  transition: opacity 0.2s;
}
@media only screen and (min-width: 992px) {
  .p-news__link {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 28px 60px 28px 10px;
  }
}
.p-news__link:hover {
  opacity: 0.7;
}

.p-news__date {
  display: block;
  margin-bottom: 8px;
  color: #0E63C4;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}
@media only screen and (min-width: 992px) {
  .p-news__date {
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 15px;
  }
}

.p-news__ttl {
  font-weight: 500;
}

.p-news__arrow {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 15px;
  height: auto;
  transform: translateY(-50%);
}
@media only screen and (min-width: 992px) {
  .p-news__arrow {
    right: 10px;
    width: 15px;
  }
}

.p-news__empty {
  padding: 40px 0;
  text-align: center;
}

/* ページネーション（paginate_links の出力・数字のみ） */
.p-news__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
}
@media only screen and (min-width: 992px) {
  .p-news__pagination {
    margin-top: 60px;
  }
}

.p-news__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 40px;
  border-radius: 6px;
  background-color: #DEEBFF;
  color: #666;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s;
}
.p-news__pagination .page-numbers:hover {
  background-color: #0E63C4;
  color: #fff;
}

.p-news__pagination .page-numbers.current {
  background-color: #0E63C4;
  color: #fff;
  pointer-events: none;
}

.p-news__pagination .page-numbers.dots {
  background: none;
  pointer-events: none;
}

/* =========================================================
   お知らせ詳細（single-news）
   ========================================================= */
.p-news-single {
  padding: 40px 0 60px;
}
@media only screen and (min-width: 992px) {
  .p-news-single {
    padding: 60px 0 80px;
  }
}

.p-news-single__inner {
  width: 100%;
  max-width: 810px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 日付・カテゴリーのラベル（グラデーションの帯） */
.p-news-single__meta {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #8AD4EF 0%, #4F93E0 100%);
}

.p-news-single__date {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}

.p-news-single__cat {
  display: flex;
  align-items: center;
  padding: 5px 12px 5px 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.p-news-single__ttl {
  margin-bottom: 20px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 992px) {
  .p-news-single__ttl {
    margin-bottom: 24px;
    font-size: 24px;
  }
}

/* 本文（the_content） */
.p-news-single__content {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8571428571;
}
@media only screen and (min-width: 992px) {
  .p-news-single__content {
    font-size: 16px;
    line-height: 1.875;
  }
}

.p-news-single__content > * + * {
  margin-top: 24px;
}
@media only screen and (min-width: 992px) {
  .p-news-single__content > * + * {
    margin-top: 30px;
  }
}

/* 見出し（.c-heading と同じ見た目を h2 に適用） */
.p-news-single__content h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media only screen and (min-width: 992px) {
  .p-news-single__content h2 {
    gap: 18px;
    margin-top: 60px;
    font-size: 30px;
  }
}

/* 縦長の平行四辺形（.c-heading と共通のデザイン） */
.p-news-single__content h2::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 1.1em;
  background-color: #101F70;
  transform: skewX(-12deg);
}
@media only screen and (min-width: 992px) {
  .p-news-single__content h2::before {
    width: 8px;
  }
}

.p-news-single__content img {
  width: 100%;
  height: auto;
}

.p-news-single__content figcaption {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

.p-news-single__content a {
  color: #0E63C4;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.p-news-single__content a:hover {
  opacity: 0.7;
}

/* お知らせ一覧に戻る */
.p-news-single__back {
  margin: 60px auto 0;
}
@media only screen and (min-width: 992px) {
  .p-news-single__back {
    margin-top: 80px;
  }
}
/*# sourceMappingURL=news.css.map */