/** -------------------------
  NEWS
 ------------------------- **/

.news {
  background: #FAF9F7;
  min-height: calc(100dvh - 80px);
}

.news_box {
  background: #fff;
  padding: 24px 4%;
  max-width: 850px;
  margin: 0 auto 60px;
}

.news_list_item {
  border-bottom: 1px solid #D2D3D4;
  padding: 24px 0;
}

.news_list_item:first-child {
  padding-top: 0;
}

.news_list_item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news_list_item a {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.56;
  display: grid;
  grid-template-columns: minmax(auto, 180px) 1fr;
  gap: 0 20px;
}

.wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.wp-pagenavi > * {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #F46E00;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F46E00;
  font-size: 1.8rem;
  font-weight: 700;
  padding-bottom: 2px;
}

.wp-pagenavi > *.current {
  background: #F46E00;
  color: #fff;
}

.wp-pagenavi > *.previouspostslink {
  text-indent: -9999px;
  background: url(../img/pagenation.png) no-repeat center /contain, #fff;
  margin-right: 30px;
  transform: scale(-1, 1);
  overflow: hidden;
}

.wp-pagenavi > *.nextpostslink {
  text-indent: -9999px;
  background: url(../img/pagenation.png) no-repeat center /contain, #fff;
  margin-left: 30px;
  overflow: hidden;
}

.wp-pagenavi > *.extend {
  background: none;
  border: 0;
  width: auto;
  height: auto;
}

.news_single {
  background: #fff;
  padding: 60px 4% 40px;
  max-width: 850px;
  margin: 0 auto 60px;
}

.news_single_date {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}

.news_single_ttl {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.06em;
  padding-bottom: 16px;
  margin-bottom: 30px;
  border-bottom: 2px solid #F56E00;
}

.news_single_body > * {
    font-size: 1.5rem;
    line-height: 1.75;
    letter-spacing: 0.06em;
}

.news_single_body > * + * {
  margin-top: 50px;
}

.news_single_body strong {
  font-weight: 700;
}

.news_single_body a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.news_single_body mark {
  font-style: normal;
  font-weight: normal;
}

@media (max-width: 1279px) {
  .news {
    min-height: calc(100dvh - 52px);
  }
  .news_box {
    padding: 20px 16px;
    margin-bottom: 30px;
  }
  .news_list_item {
    padding: 20px 0;
  }
  .news_list_item a {
    font-size: 1.4rem;
    grid-template-columns: 100%;
    gap: 8px 0;
  }
  .wp-pagenavi {
    gap: 4px;
  }
  .wp-pagenavi > * {
    width: 28px;
    height: 28px;
    border-width: 1px;
    font-size: 1.4rem;
    padding-bottom: 1px;
  }
  .wp-pagenavi > *.previouspostslink {
    margin-right: 8px;
  }
  .wp-pagenavi > *.nextpostslink {
    margin-left: 8px;
  }
  .news_single {
    padding: 30px 16px;
    margin-bottom: 30px;
  }
  .news_single_date {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .news_single_ttl {
    font-size: 1.6rem;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-width: 1px;
  }
  .news_single_body > * {
    font-size: 1.4rem;
  }
  .news_single_body > * + * {
    margin-top: 24px;
  }
}