/*======================
news一覧
======================*/
#news .news_list_wrap {
  width: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 120px;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap {
    display: block;
    padding: 50px 0 0;
    box-sizing: border-box;
  }
}

/* 一覧 */
#news .news_list_wrap .news_list {
  width: 100%;
  max-width: 630px;
}

#news .news_list_wrap .news_list .news_box {
  padding-bottom: 50px;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box {
    padding: 0.25rem 0;
    border-top: dotted 1px #666;
  }
  #news .news_list_wrap .news_list .news_box:first-child {
    border-top: none;
  }
}

#news .news_list_wrap .news_list .news_box a {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
  color: #323232;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a {
    display: block;
  }
}

#news .news_list_wrap .news_list .news_box a .ph_wrap {
  width: 170px;
  height: 170px;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .ph_wrap {
    width: 100%;
    height: 66vw;
  }
}

#news .news_list_wrap .news_list .news_box a .ph_wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

#news .news_list_wrap .news_list .news_box a:hover .ph_wrap img {
  transform: scale(1.08);
  opacity: 0.7;
}

#news .news_list_wrap .news_list .news_box a .txt_box {
  width: 100%;
  max-width: 410px;
  position: relative;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .txt_box {
    max-width: 100%;
    padding-top: 10px;
  }
}

#news .news_list_wrap .news_list .news_box a .txt_box .header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#news .news_list_wrap .news_list .news_box a .txt_box .header .cat {
  width: 100px;
  background-color: #323232;
  text-align: center;
  padding: 5px 0;
}

#news .news_list_wrap .news_list .news_box a .txt_box .header .cat span {
  font-family: "inria-sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #FFF;
}

#news .news_list_wrap .news_list .news_box a .txt_box .header .date {
  font-size: 12px;
  padding-left: 17px;
}

#news .news_list_wrap .news_list .news_box a .txt_box .news_tit {
  font-size: 21px;
  font-weight: 500;
  padding: 10px 0;
  line-height: 1.42;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .txt_box .news_tit {
    font-size: 18px;
  }
}

#news .news_list_wrap .news_list .news_box a .txt_box .txt {
  font-size: 14px;
  line-height: 1.71;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .txt_box .txt {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}

#news .news_list_wrap .news_list .news_box a .txt_box .more {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .txt_box .more {
    position: relative;
    text-align: right;
    padding-top: 10px;
  }
}

#news .news_list_wrap .news_list .news_box a .txt_box .more span {
  font-family: "inria-sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #323232;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .news_list .news_box a .txt_box .more span {
    font-size: 12px;
  }
}

#news .news_list_wrap .news_list .news_box a:hover .txt_box .more span {
  text-decoration: underline;
}

/* サイドバー */
#news .news_list_wrap .side_bar {
  width: 100%;
  max-width: 180px;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .side_bar {
    max-width: 100%;
  }
}

#news .news_list_wrap .side_bar .side_bar_box {
  padding-bottom: 100px;
}
@media only screen and (max-width: 640px) {
  #news .news_list_wrap .side_bar .side_bar_box {
    padding-bottom: 45px;
  }
}

#news .news_list_wrap .side_bar .side_bar_box .tit {
  font-family: "inria-sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #323232;
}

#news .news_list_wrap .side_bar .side_bar_box .link a {
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.06em;
  color: #323232;
}

#news .news_list_wrap .side_bar .side_bar_box .link a:hover {
  text-decoration: underline;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box {
  padding-bottom: 10px;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box .year {
  font-size: 14px;
  letter-spacing: 0.06em;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box .year span {
  display: block;
  margin-left: 6px;
  width: 12px;
  height: 12px;
  background-image: url(../img/common/monthly_icon.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box .year.-open span {
  background-image: url(../img/common/monthly_icon_open.svg);
}



#news .news_list_wrap .side_bar .side_bar_box .archive_box .list {
  padding: 8px 0 8px 8px;
  display: none;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box .list .link a {
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: 0.06em;
  color: #323232;
  display: flex;
  align-items: center;
}

#news .news_list_wrap .side_bar .side_bar_box .archive_box .list .link a .month {
  display: block;
  width: 28px;
}

/* 一覧用ページ送り */
#news .news_list_wrap .list_navi_wrap {
  padding-top: 0.80rem;
  width: 100%;
}
@media screen and (max-width: 640px) {
  #news .news_list_wrap .list_navi_wrap {
    padding-top: 0.30rem;
    padding-bottom: 0.90rem;
  }
}

#news .news_list_wrap .list_navi_wrap .wp-pagenavi {
  display: flex;
  justify-content: center;
  font-size: 0.12rem;
  font-family: dnp-shuei-mgothic-std, sans-serif;
  font-weight: 600;
  font-style: normal;
  gap: 0 0.08rem;
}
@media screen and (max-width: 640px) {
  #news .news_list_wrap .list_navi_wrap .wp-pagenavi {
    font-size: 0.14rem;
    gap: 0 0.15rem;
  }
}

#news .news_list_wrap .list_navi_wrap .wp-pagenavi a {
  color: #C5C5C5;
}

#news .news_list_wrap .list_navi_wrap .wp-pagenavi .current {
  color: #333;
  border-bottom: 1px solid #333;
}

/* 次へボタン */
#news .news_list_wrap .list_navi_wrap .wp-pagenavi .nextpostslink {
  text-indent: -9999px;
  width: 0.10rem;
  height: 0.09rem;
  background-image: url(../img/common/icon_link_arrow_small_next.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  top: 0.02rem;
}
@media screen and (max-width: 640px) {
  #news .news_list_wrap .list_navi_wrap .wp-pagenavi .nextpostslink {
    text-indent: -9999px;
    width: 0.11rem;
    height: 0.11rem;
    top: 0.01rem;
  }
}

/* 前へボタン */
#news .news_list_wrap .list_navi_wrap .wp-pagenavi .previouspostslink {
  text-indent: -9999px;
  width: 0.10rem;
  height: 0.09rem;
  background-image: url(../img/common/icon_link_arrow_small_prev.svg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  top: 0.02rem;
}
@media screen and (max-width: 640px) {
  #news .news_list_wrap .list_navi_wrap .wp-pagenavi .previouspostslink {
    text-indent: -9999px;
    width: 0.11rem;
    height: 0.11rem;
    top: 0.01rem;
  }
}


/*============================
お知らせ詳細
============================*/
.news .in .news_list_wrap .news_detail {
  width: 100%;
  max-width: 6.30rem;
  padding-top: 0;
}

.news .in .news_list_wrap .news_detail .header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.news .in .news_list_wrap .news_detail .header .cat {
  min-width: 1.00rem;
  background-color: #333;
  color: #FFF;
  text-align: center;
  font-size: 0.12rem;
  padding: 0.05rem 0;
}

.news .in .news_list_wrap .news_detail .header .date {
  font-size: 0.12rem;
  padding-left: 0.16rem;
}

.news .in .news_list_wrap .news_detail .entry_tit {
  font-size: 0.21rem;
  line-height: 1.42;
  padding: 0.15rem 0 0.10rem;
}

/* WYSIWIGエディタ設定 */
.news .in .news_list_wrap .news_detail .entry_body p {
  font-size: 0.14rem;
  line-height: 1.71;
  padding-bottom: 1em;
}

.news .in .news_list_wrap .news_detail .entry_body p a {
  color: #333;
  text-decoration: underline;
}

.news .in .news_list_wrap .news_detail .entry_body p a:hover {
  text-decoration: none;
}

.news .in .news_list_wrap .news_detail .entry_body h1,
.news .in .news_list_wrap .news_detail .entry_body h2,
.news .in .news_list_wrap .news_detail .entry_body h3,
.news .in .news_list_wrap .news_detail .entry_body h4,
.news .in .news_list_wrap .news_detail .entry_body h5,
.news .in .news_list_wrap .news_detail .entry_body h6 {
  padding-bottom: 0.15rem;
}

.news .in .news_list_wrap .news_detail .entry_body ul {
  list-style: disc;
  margin: 0;
  margin-left: 1.4em;
  padding: 0.6em 0;
  font-size: 0.14rem;
  line-height: 1.71;
}

.news .in .news_list_wrap .news_detail .entry_body ol {
  margin: 0;
  margin-left: 1.4em;
  padding: 0.6em 0;
  font-size: 0.14rem;
  line-height: 1.71;
}

/* ページ送り */
.news .in .news_list_wrap .news_detail .news_page_navi_wrap {
  padding-top: 0.30rem;
}
@media screen and (max-width: 640px) {
  .news .in .news_list_wrap .news_detail .news_page_navi_wrap {
    padding-bottom: 0.90rem;
  }
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link {
  width: 33.3%;
  box-sizing: border-box;
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link a {
  font-size: 0.12rem;
  letter-spacing: 0.06em;
  color: #333;
  position: relative;
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link a::before {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #333;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link a:hover::before {
	transform-origin: left top;
	transform: scale(1, 1);
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link.-prev {
  text-align: left;
  padding-left: 0.20rem;
}
.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link.-prev a::after {
  content: "";
  width: 0.20rem;
  height: 0.11rem;
  background-image: url(../images/common/icon_right_black_rev.svg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: -0.20rem;
  top:50%;
  transform: translateY(-50%);
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link.-home {
  text-align: center;
}

.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link.-next {
  text-align: right;
  padding-right: 0.20rem;
}
.news .in .news_list_wrap .news_detail .news_page_navi_wrap .list .link.-next a::after {
  content: "";
  width: 0.20rem;
  height: 0.11rem;
  background-image: url(../images/common/icon_right_black.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -0.20rem;
  top: 50%;
  transform: translateY(-50%);
}