/* News
-------------------------------------------*/

/* Page Header ------------------------------*/

.news .page_header__nav li.is-active a{
  background-color: var(--orange);
}
.news .page_header__nav li.is-active a p{
  color: #fff;
}
.news .page_header__nav li.is-active a p::before{
  filter: brightness(0) invert(1); /* 矢印を白に */
}
.news_content .page_header{
  margin-top: 0;
}
.news_content .page_header__in{
  height: auto;
}
.news_content .page_header__tit{
  padding: 5rem 0;
  padding-left: 8%;
}
@media screen and (max-width: 650px){
  .news_content .page_header__tit{
    padding: 2rem 0;
    padding-left: 6%;
  }
}

/* archive ------------------------*/

.news .contents{
  width: var(--page-width);
  margin: var(--sec-margin) auto;
}
.news_list ul{
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.news_list li a{
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 2rem;
  padding: 1.75rem 0;
  padding-right: 2rem;
  width: 100%;
  border-top: 1px solid var(--border-color);
  background: url(../img/cmn/ic-arrow.svg) no-repeat right center / 26px;
}
.news_list li a:hover{
  background-color: rgba(255,255,255,0.03);
}
.news_list .date{
  font-family: var(--font-en);
}
.news_list .cat{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;/*改行禁止*/
  height: 36px;
  border-radius: 99999px;
  padding: 0 1.5rem;
  line-height: 2.3;
  border: 1px solid var(--orange);
  font-size: clamp(11px,1.692vw,14px);
}
.news_link{
  text-align: right;
  padding: 1.5rem 0;
}
.news_link a{
  padding: 1rem 3rem;
  background: url(../img/cmn/ic-arrow.svg) no-repeat right center / 26px;
}
.news_link a:hover{
  opacity: var(--hover);
}
/*ページネーション*/
.pagination{
  margin-top: 3rem;
  text-align: center;
}
.pagination .page-numbers{
  display: inline-block;
  margin: 0 0.25em;
  padding: 0.4em 0.8em;
  color: var(--black);
  border-radius: 4px;
}
.pagination .current{
  font-weight: bold;
  text-decoration: underline;
}
.pagination a:hover{
  opacity: 0.6;
}

@media screen and (max-width: 650px){
  
  .news .contents{
    margin: 0 auto;
    padding: 0 0 var(--sec-margin);
  }
  .news_list li a{
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1.25rem 0;
    padding-right: 2rem;
    background-size: 20px;
  }
  .news_list .cat{
    height: 28px;
  }
  .news_link a{
    padding: 1rem 2rem;
    background-size: 20px;
  }
  .news_list li a .tit{
    width: 100%;
  }
}

/* single ------------------------*/

.news_single{
  width: min(960px,100%);
  margin: 0 auto;
  text-align: left;
}
.news_single .news_head{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.news_single .tit{
  margin: 2rem 0 2.5rem;
  padding-bottom: 1.5rem;
  font-size: clamp(17px,2.615vw,28px);
  font-weight: 600;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-color);
}
.news_single .news_article{
  font-size: clamp(13px,2.0vw,17px);
}
.aligncenter{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft{
  float: left;
  margin-right: 1em;
}
.alignright{
  float: right;
  margin-left: 1em;
}
.news_single .news_article::after{
  content: "";
  display: block;
  clear: both;
}
.news_single .news_article p{
  margin-bottom: 1.8em;
}
.news_single .news_article p a{
  color: var(--orange);
}
.news_single .news_article p a:hover{
  opacity: var(--hover);
}
.news_single .news_article h2{
  margin: 3rem 0 1rem;
  font-size: clamp(16px,2.5vw,22px);
}
.news_single .news_article ul{
  margin: 1.5rem 0;
  padding-left: 1.5em;
}
.news_single .news_article li{
  list-style: disc;
  margin-bottom: .5em;
}
.news_single .news_link{
  margin-top: 3rem;
  text-align: right;
}
@media screen and (max-width: 650px){
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 0 auto 1.5em;
  }
}

/* ページャー */

.pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin-top: 5rem;
  font-family: var(--font-en);
  font-size: clamp(12px,1.846vw,16px);
}
.pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background-color: var(--bg-navy80);
  border-radius: 9999px;
  text-decoration: none;
}
.pagination a.page-numbers{
  color: #fff;
}
.pagination .page-numbers.current{
  background: var(--orange);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.pagination .page-numbers:hover{
  opacity: var(--hover);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next{
  font-size: clamp(22px,3.385vw,24px);
  margin: 0;
  padding: 0 0 4px;
}

/*個別ページ*/
.post_pagination{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
  font-family: var(--font-en);
  font-size: clamp(10px,1.538vw,12px);
}
.post_pagination a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.75em;
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--border-color);
}
.post_pagination a:hover{
  background-color: var(--border-color);
}
