/* 下層ページメインビジュアル */
.page_mv {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: #DEFDFF;
  margin-top: 0;
  &::before {
    background: linear-gradient(to bottom left, #E3F0FF 0%, #DEFDFF 70%);
    z-index: 1;
  }
  @media screen and (max-width: 767px) {
    height: 250px;
  }
}
.page_title {
  width: 100%;
  @media screen and (max-width: 767px) {
    padding-top: 1em;
  }
}
.cmn_heading--en {
  color: #DEFDFF;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  margin-inline: auto;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 1.5em;
  z-index: 2;
  @media screen and (max-width: 767px) {
    width: 95%;
    bottom: 0.5em;
  }
}
.breadcrumb_item {
  color: #000;
  &:has(a[href])::after {
    background: #000;
  }
}
.breadcrumb_item a {
  color: #000;
}

/* お知らせ一覧 */
.news_list {
  margin: var(--space-55) auto;
  border-top: 1px solid var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
}
.news_item {
  width: 100%;
  padding: 0.75em 5% 1em;
  display: flex;
  gap: 0 3em;
  time {
    color: var(--sub-color);
    white-space: nowrap;
  }
  &:not(:last-child) {
    border-bottom: 1px solid var(--sub-color);
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
.news_title a {
  font-size: var(--main-txt);
  font-weight: normal;
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}

/* ページネーション */
.news_pagination {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  @media screen and (max-width: 767px) {
    gap: 8px;
  }
}
.news_pagination--item {
  width: 45px;
  aspect-ratio: 1 / 1;
  @media screen and (max-width: 767px) {
    width: 35px;
  }
}
.news_pagination--item.ellipsis {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news_pagination--item a {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: bold;
  color: var(--main-color);
  &[aria-current="page"] {
    background: var(--gradient-deg2);
    color: #fff;
  }
}
.news_pagination--item.prev a, .news_pagination--item.next a {
  border: none;
  border-radius: 50%;
  background: var(--bg-color);
  &::after {
    content: "";
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    background: var(--main-color);
  }
}
.news_pagination--item.prev a::after {
  clip-path: polygon(0 50%, 100% 100%, 100% 0);
  margin-right: 3px;
}
.news_pagination--item.next a::after {
  clip-path: polygon(100% 50%, 0 100%, 0 0);
  margin-left: 3px;
}

/* ------------------
  詳細ページ
------------------ */
/* 日付 */
.detail_time {
  padding-bottom: 0.5em;
  color: var(--sub-color);
}

/* タイトル */
.detail_title {
  color: var(--sub-color);
  padding-bottom: 1em;
  border-bottom: 2px solid var(--sub-color);
  font-size: var(--font-24);
  margin-bottom: 1.5em;
}

/* 記事全体レイアウト */
.detail_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* 本文内リンク */
.detail_content p a {
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}

/* ------------------
 Wordpressタグ調整
------------------ */

/* H2 */
h2.wp-block-heading {
  font-size: var(--font-18);
  margin: 0.5em 0 -0.5em;
}

/* H3 */
h3.wp-block-heading {
  font-size: var(--main-txt);
  font-weight: bold;
  margin: 0.5em 0 -0.5em;
}

/* 画像 */
.wp-block-image {
  margin: 0.5em 0;
}

/* ギャラリー */
.wp-block-gallery-is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0.5em 0;
}
.wp-block-gallery-is-layout-flex .wp-block-image {
  max-width: 100%;
  width: calc(100% / 3 - 1em / 3);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  margin: 0;
  img {
    height: 100%;
    object-fit: cover;
  }
}

/* テキストの配置 */
.has-text-align-right {
  text-align: end;
}
.has-text-align-center {
  text-align: center;
}

/* テキストの装飾 */
.wp-block-paragraph em {
  font-style: italic;
}

/* 色 */
.has-vivid-red-color {
  color: var(--color-red, #F70D1A);
}

/* 区切り線 */
.wp-block-separator {
  color: #ccc;
  margin: 1em 0;
}

@media screen and (max-width: 767px) {
}