@charset "UTF-8";
/*--------------------------------
index.html
最新情報 News
---------------------------------*/
.top-news_box {
  margin-top: clamp(30px, 2.78vw, 40px);
  padding: 48px 48px 24px;
  padding: clamp(32px, 3.3vw, 48px) clamp(32px, 3.3vw, 48px) 24px;
  background: #fff;
  box-shadow: 15px 15px 0px 0px #dfebef;
  border: #dfebef 2px solid;
}

.page-top .news-list {
  margin-bottom: 64px;
}

.news-list > * + * {
  margin-top: 20px;
}
.news-item {
  display: flex;
  gap: 29px;
  border-bottom: 2px #dfebef solid;
  padding-bottom: 20px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .news-item {
    flex-direction: column;
    gap: 4px;
  }
}

.news-item:hover {
  color: var(--bluegrey);
}

.news-date {
  font-size: 18px;
  line-height: 1.5;
  font-family: urw-din, sans-serif;
  font-weight: 500;
  font-style: normal;
  min-width: 100px;
}
.news-title {
  /* 文字数が増えても幅を一定にする */
  flex: 1;
  text-align: justify;
}

.news-more {
  font-size: 20px;
  margin-right: auto;
  font-family: urw-din, sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: right;
  color: var(--navy);
  display: flex;
  justify-content: end;
  align-items: center;
  transition: 0.3s;
}
.news-more_arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
  margin-left: 8px;
}
.news-more:hover {
  transform: translateX(5px);
}

/*--------------------------------
news.html
---------------------------------*/
.news-list_wrap {
  margin-bottom: clamp(30px, 5vw, 50px);
}
.page-news .news-list:first-child {
  border-top: 2px solid #bbd9e3;
}
.page-news .news-item {
  padding: 13px 0 18px;
  border-bottom: 2px solid #bbd9e3;
}

.page-news .news-date {
  color: var(--navy);
}

/* 一覧のページネーション ------------------------- */

/* // 真ん中に設置 */
.pagination {
  text-align: center;
}

/* // 横並びにする */
.nav-links .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* // ページタブの共通スタイル */
.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links .dots {
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background: #fff;
  color: #6083a5;
  /* margin-right: 16px; */
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #6083a5;
  border-radius: 3px;
  font-family: urw-din, sans-serif;
  font-weight: 500;
}
.nav-links a.prev,
.nav-links a.next {
  color: #6083a5;
  border: none;
}

/* // マウスが乗った時の、ボタンの背景の色と文字の色 */
.nav-links a.page-numbers:hover {
  color: #fff;
  background-color: #6083a5;
  border-color: #6083a5;
  border-radius: 3px;
}


/* // 現在のページのタブ  */
.nav-links .current {
  background: #6083a5;
  color: #ffffff;
  padding: 0;
}

/* 前への「＜」、次への「＞」 */
.nav-links a.prev,
.nav-links a.next {
  color: #6083a5;
  position: relative;
  transition: 0.3s;
}

.nav-links a.next:hover {
  color: #6083a5;
  background-color: transparent;
  transform: translateX(5px);
}
.nav-links a.prev:hover {
  color: #6083a5;
  background-color: transparent;
  transform: translateX(5px);
}

/* 「次へ」の前の縦線位置 */
.nav-links .next::before {
  left: -15px;
}

/* 前へ」の後の縦線位置 */
.nav-links .prev::after {
  right: -15px;
}

/* 数字省略の「・・・」 */
.nav-links .dots {
  background: transparent;
  border: none;
}

 @media screen and (max-width: 575px) {
.nav-links .page-numbers {
    gap: 10px;
}

 }

/*--------------------------------
news-article.html
---------------------------------*/
.news-article-date {
  font-family: urw-din, sans-serif;
  font-weight: 500;
  margin-right: 20px;
  color: var(--navy);
  font-weight: 500;
  font-size: 20px;
  border-top: 2px solid var(--navy);
  padding-top: 24px;
  margin-bottom: 32px;
}

.news-article-title {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.wp-block-image {
  margin-bottom: 32px;
}

.news-article-text {
  line-height: 1.9;
  margin-bottom: clamp(40px, 5vw, 80px);
}

.news-article-text p {
  margin-bottom: 24px;
}

.btn-back {
  color: var(--navy);
  font-family: Noto Sans JP, sans-serif;
  font-weight: 500;
  font-size: 20px;
  font-style: normal;
  border: var(--navy) solid 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 256px;
  line-height: 50px;
  border-radius: 200px;
  margin: 0 auto;
  transition: 0.5s ease;
  position: relative;
  overflow: hidden;
}

.btn-back:hover {
  color: #fff;
  transform: scale(1.1, 1.1);
}

.btn-back::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  overflow: hidden;
  z-index: -1;
}

.btn-back:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-back_text {
  position: relative;
}
.btn-back_arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
  margin-left: 12px;
}
