@charset "UTF-8";

/*-----------------------------------
	news_block
-----------------------------------*/
#news_block{
	padding: 20px 0 120px;
	background-color: #fff;
}
.category_filter{
  margin-bottom: 10px;
}
.category_filter_list{
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
}
.category_filter_list li a{
	font-size: 14px;
	transition: background-color .3s ease,
	color .3s ease;
}
.category_filter_list li a:hover{	
	background-color: #1D4836;
	color: #ffffff;
}
/*
.category_filter_list li a{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1D4836;
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.03em;
  border: 1px solid #1D4836;
  border-radius: 2px;
}*/

/* リストのデフォルトの余白や点を消し、横並びにする（すでにある場合は調整してください） */
.category_filter_list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

/* ボタンの基本スタイル */
.category_filter_list li a {
		display: block;
		padding: 10px 40px;
		border: 1px solid #1a3b2b;
		color: #1a3b2b;
		font-size: 15px;
		text-decoration: none;
		text-align: center;
		background-color: #fff;
		margin-right: -1px;
}

/* 最初のボタンの左端、最後のボタンの右端の調整（必要に応じて） */
.category_filter_list li:first-child a {
    border-radius: 2px 0 0 2px;
}
.category_filter_list li:last-child a {
    border-radius: 0 2px 2px 0;
}

/* --- 現在のページのボタン色を変える --- */
.category_filter_list li a.is-active {
    background-color: #1a3b2b; /* 背景色を濃い緑に */
    color: #ffffff;            /* 文字色を白に */
}

/* .category_filter_item:nth-child(1) a{ */
  /* color: #F8F8F6; */
  /* background-color: #1D4836; */
/* } */
#news_block .news_wrap{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

/*contents_box*/
#news_block .contents_box{
	width: calc(100% - 400px);
}
#news_block .contents_list a .list{
	padding: 30px 0 25px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: center;
	align-items: center;
  gap: 30px;
	position: relative;
	border-bottom: 1px solid #BFBFBF;
	transition: 0.3s;
}
#news_block .contents_list a .list:hover{
	background: #FAFDF7;
}
#news_block .contents_list a .list .upper{
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
  gap: 30px;
}
#news_block .contents_box .contents_list a .list::before,
#news_block .side_box .cate_list li a::before{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 10px;
	margin: auto;
	width: 18.06px;
	height: 12.92px;
	background: url("../img/news/news_arrow.svg")no-repeat center/contain;
}
#news_block .contents_list a .list .date{
	font-size: 12px;
  line-height: 2.3;
  letter-spacing: 0.03em;
  font-weight: 700;
}
#news_block .contents_list a .list .cate{
  font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 12px;
  line-height: 1;
  font-weight: 700;
	color: #1D4836;
	background: #DCEACE;
	border-radius: 2px;
	padding: 6px 24px;
	box-sizing: border-box;
}
#news_block .contents_list a .list .txt{
	width: calc(100% - 230px);
  font-weight: 500;
	font-size: 14px;
	line-height: 2;
}
@media screen and (max-width: 1050px) {
  #news_block .news_wrap{
  	display: -webkit-flex;
	  display: flex;
	  -webkit-flex-direction: column;
	  flex-direction: column;
	  -webkit-justify-content: flex-start;
	  justify-content: flex-start;
	  -webkit-align-items: flex-start;
	  align-items: flex-start;
    gap: 50px;
  }

  /*contents_box*/
  #news_block .contents_box{
  	width: 100%;
  }
  #news_block .contents_list a .list .txt{
  	width: calc(100% - 243px);
  }
}
@media screen and (max-width: 640px) {
  #news_block{
  	padding: 20px 0 50px;
  }
  .category_filter_item{
    width: 90px;
    height: 40px;
  }
  .category_filter_item:nth-child(1) a{
    color: #F8F8F6;
    background-color: #1D4836;
  }
  #news_block .contents_list a .list{
  	padding: 20px 0;
  	display: -webkit-flex;
	  display: flex;
	  -webkit-flex-direction: column;
	  flex-direction: column;
	  -webkit-justify-content: flex-start;
	  justify-content: flex-start;
	  -webkit-align-items: flex-start;
	  align-items: flex-start;
  	position: relative;
  	border-bottom: 1px solid #BFBFBF;
  	transition: 0.3s;
    gap: 10px;
  }
  #news_block .contents_list a .list .upper{
    gap: 20px;
  }
  #news_block .contents_list a .list .txt{
    width: calc(100% - 20px);
  }
}
@media screen and (max-width: 840px) {
	.category_filter_list li a {
		padding: 10px 15px;
		font-size: 13px;
	}
}
@media screen and (max-width: 400px) {
  #news_block .contents_list a .list .cate{
  	padding: 6px 15px;
  	box-sizing: border-box;
  }
}


/*-----------------------------------
	news_block.detail
-----------------------------------*/
#news_block.detail{
	padding: 20px 0 120px;
	background-color: #fff;
}
#news_block.detail .news_wrap{
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}
/*contents_box*/
#news_block.detail .contents_box{
	width: calc(100% - 400px);
}
#news_block.detail .detail_wrap{
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}
#news_block.detail .title_box .upper02{
  height: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 15.5px;
}
#news_block.detail .detail_contents_box{
	padding-bottom: 30.5px;
	border-bottom: 1px solid #BFBFBF;
}
#news_block.detail .detail_contents_box h3{
	border-bottom: 1px solid #BFBFBF;
  font-weight: 700;
	font-size: 26px;
	line-height: 1.78;
	letter-spacing: 0.03em;
	padding-bottom: 30px;
	margin-bottom: 30px;
}
#news_block.detail .detail_contents_box p{
  font-weight: 700;
	font-size: 15px;
	line-height: 2.2;
	letter-spacing: 0.03em;
	margin-bottom :30px;
}
#news_block.detail .detail_contents_box .title_box .upper02 p.cate1{
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 12px;
  line-height: 1;
  font-weight: 700;
	color: #1D4836;
	background: #DCEACE;
	border-radius: 2px;
	padding: 6px 24px;
	box-sizing: border-box;
  margin-bottom: 0;
}
#news_block.detail .upper02 p.date1{
	font-size: 12px;
  line-height: 2.3;
  letter-spacing: 0.03em;
  font-weight: 700;
   margin-bottom: 0;
}
#news_block.detail .detail_contents_box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-weight: 700;
}

#news_block.detail .detail_contents_box ul li::before {
  content: "";
  position: absolute;
  left: 0; /* テキストの左に配置 */
  top: 50%;
  transform: translateY(-50%);
  width: 15px;              /* 内側の円の直径 */
  height: 15px;
  background-color: #1D4836;
  border-radius: 50%;        /* 円形にする */
}
#news_block.detail h4{
	height: 43px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
  font-weight: 700;
	font-size: 22px;
	padding-left: 15px;
	line-height: 1.5;
	letter-spacing: 0.03em;
	position: relative;
	margin: 40px 0 20px;
  padding-bottom: 10px;
	border-bottom: 1px solid #BFBFBF;
}
#news_block.detail h4::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 33px;
  background: #B19774;
  position: absolute;
  top: 0; 
  left: 0;
}
#news_block.detail .detail_img{
  	width: 100%;
	max-width: 640px;
	aspect-ratio: 64 / 38;
	margin-bottom: 40.5px;
	border-radius: 10px;
	display: block;
}
#news_block.detail .detail_contents_box a{
  	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #1D4836;
	font-weight: 700;
	text-decoration: underline;
  	text-decoration-color: #1D4836;
  	text-underline-offset: 5px;
}
#news_block.detail a.text_link:hover{
	color: #B19774;
	text-decoration-color: #B19774;
}
#news_block.detail .contents_list a .list .date{
	font-size: 12px;
  line-height: 2.3;
  letter-spacing: 0.03em;
  font-weight: 700;
}
#news_block.detail .contents_list a .list .cate{
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 12px;
  line-height: 1;
  font-weight: 700;
	color: #1D4836;
	background: #DCEACE;
	border-radius: 2px;
	padding: 6px 24px;
	box-sizing: border-box;
}

@media screen and (max-width: 1050px) {
	#news_block.detail .contents_box{
  	width: 100%;
  }
}
@media screen and (max-width: 640px) {
  #news_block.detail{
  	padding: 20px 0;
  }
  #news_block.detail .detail_contents_box h3{
  	border-bottom: 1px solid #BFBFBF;
    font-weight: 700;
  	font-size: 20px;
  	line-height: 1.78;
  	letter-spacing: 0.03em;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  #news_block.detail .contents_box h4{
  	font-size: 18px;
  }
  #news_block.detail .detail_img{
  	margin-bottom: 20px;
  }
}

/*side_box*/
#news_block .side_box{
	background: #F8F8F6;
	box-sizing: border-box;
	padding: 24px 40px 40px 40px;
	width: 330px;
}
#news_block .side_box .side_ttl{
	font-size: 18px;
	font-weight: 700;
}
#news_block .side_box .cate_list{
	border-top: 1px solid #BFBFBF;
	margin: 0 auto;
}
#news_block .side_box .cate_list li a{
	font-size: 14px;
	font-weight: 600;
	display: block;
	padding: 14px 20px 14px 15px;
	position: relative;
	border-bottom: 1px solid #E6ECF2;
	transition: 0.3s;
}
#news_block .side_box .cate_list li a:hover{
	background: #fff;
}
#news_block .side_box .new_box .contents_list a .list{
	padding: 13px 0;
  display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
  gap: 13px;
}
#news_block .side_box .new_box .contents_list a .list .upper{
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
  gap: 20px;
}
#news_block .side_box .new_box .contents_list a .list:hover{
	background: #fff;
}
#news_block .side_box .new_box .contents_list a .list .date{

}
#news_block .side_box .new_box .contents_list a .list .txt{
  font-family: "Zen Kaku Gothic New", sans-serif;
	width: 100%;
	font-size: 12px;
	font-weight: 500;
  line-height: 2;
	letter-spacing: 0.03em;
}
@media screen and (max-width: 1050px) {
  #news_block .side_box{
  	width: 100%;
  }
}
@media screen and (max-width: 640px){
  #news_block .side_box{
  	padding: 24px 30px 30px 30px;
  }
}

/*pagenation*/
.pagenation{
	margin: 40px auto 0;
}
.pagenation ul,
ul.page-numbers{
	justify-content: center;
	font-size: 20px;
	gap: 10px;
	display: flex;
}
.pagenation ul .page-numbers,
ul.page-numbers li .page-numbers{
	display: flex;
  justify-content: center;
  align-items: center;
	background: #ffffff;
	border: 1px solid #1D4836;
	font-family: "Zen Kaku Gothic New", sans-serif;
	border-radius: 50%;
	transition: 0.3s;
	font-weight: 700;
	font-size: 20px;
  width: 45px;
  height: 45px;
}
.pagenation ul .page-numbers:hover,
ul.page-numbers li .page-numbers:hover,
.pagenation ul .page-numbers.current,
ul.page-numbers li .page-numbers.current{
	background: #1D4836;
	color: #ffffff;
}
.pagenation ul .page-numbers.prev,
ul.page-numbers li .page-numbers.prev,
.pagenation ul .page-numbers.next,
ul.page-numbers li .page-numbers.next{
	background: #ffffff;
	color: #1D4836;
	position: relative;
	font-weight: 500;
	font-size: 16px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagenation ul .page-numbers.prev img, .pagenation ul .page-numbers.next img{
  width: 21px;
  height: 14.73px;
}
.pagenation ul .page-numbers.next img{
  transform: scale(-1);
}
.pagenation ul .page-numbers.prev:hover,
ul.page-numbers li .page-numbers.prev:hover,
.pagenation ul .page-numbers.next:hover,
ul.page-numbers li .page-numbers.next:hover{
	background: #1D4836;
}
.pagenation ul .page-numbers.prev:hover img,
ul.page-numbers li .page-numbers.prev:hover img,
.pagenation ul .page-numbers.next:hover img,
ul.page-numbers li .page-numbers.next:hover img{
	filter: brightness(0) invert(1);
}

@media screen and (max-width: 640px) {
	.pagenation{
		margin: 35px auto 0;
	}
	.pagenation ul{
		font-size: 14px;
	}
	.pagenation ul,
	ul.page-numbers{
		gap: 7px;
	}
}

/* detail_pagenation */
#news_block.detail .detail_pagenation{
	margin: 30px auto 0;
}
#news_block.detail .detail_pagenation ul,
#news_block.detail ul.page-numbers{
	justify-content: center;
	font-size: 18px;
	gap: 10px;
	display: flex;
}
#news_block.detail .detail_pagenation ul .page-numbers,
#news_block.detail ul.page-numbers li .page-numbers{
	display: block;
	padding: 10px 15px;
	background: #ffffff;
	color: #1D4836;
	border-radius: 5px;
	transition: 0.3s;
	font-weight: 700;
	font-size: 15px;
  border: 1px solid #1D4836;
}
#news_block.detail .detail_pagenation ul .page-numbers:hover,
#news_block.detail ul.page-numbers li .page-numbers:hover,
#news_block.detail .detail_pagenation ul .page-numbers.current,
#news_block.detail ul.page-numbers li .page-numbers.current{
	background: #1D4836;
	color: #ffffff;
}
#news_block.detail .detail_pagenation ul .page-numbers.prev,
#news_block.detail ul.page-numbers li .page-numbers.prev{
	background: #ffffff;
	color: #1D4836;
	padding: 10px 15px 10px 36px;
	position: relative;
	font-weight: 700;
	font-size: 15px;
	border-radius: 5px;
  border: 1px solid #1D4836;
}
#news_block.detail .detail_pagenation ul .page-numbers.next,
#news_block.detail ul.page-numbers li .page-numbers.next{
	background: #ffffff;
	color: #1D4836;
	padding: 10px 36px 10px 15px;
	position: relative;
	font-weight: 500;
	font-size: 15px;
	border-radius: 5px;
  border: 1px solid #1D4836;
}
#news_block.detail .detail_pagenation ul .page-numbers.prev:hover,
#news_block.detail ul.page-numbers li .page-numbers.prev:hover,
#news_block.detail .detail_pagenation ul .page-numbers.next:hover,
#news_block.detail ul.page-numbers li .page-numbers.next:hover{
	background: #1D4836;
	color: #ffffff;
}
#news_block.detail .detail_pagenation ul .page-numbers.prev::before,
#news_block.detail ul.page-numbers li .page-numbers.prev::before,
#news_block.detail .detail_pagenation ul .page-numbers.next::before,
#news_block.detail ul.page-numbers li .page-numbers.next::before{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 16px;
	height: 14.73px;
	background: url("../img/news/page_arrow.svg")no-repeat center/contain;
}
#news_block.detail .detail_pagenation ul .page-numbers.prev:hover::before,
#news_block.detail ul.page-numbers li .page-numbers.prev:hover::before,
#news_block.detail .detail_pagenation ul .page-numbers.next:hover::before,
#news_block.detail ul.page-numbers li .page-numbers.next:hover::before{
  background: url("../img/news/arrow_white.svg")no-repeat center/contain;
}
#news_block.detail .detail_pagenation ul .page-numbers.prev::before,
#news_block.detail ul.page-numbers li .page-numbers.prev::before{
	left: 10px;
}
#news_block.detail .detail_pagenation ul .page-numbers.next::before,
#news_block.detail ul.page-numbers li .page-numbers.next::before{
  right: 10px;
	transform: rotate(180deg);
}

@media screen and (max-width: 400px) {
  #news_block.detail .detail_pagenation ul .page-numbers.prev::before,
  #news_block.detail ul.page-numbers li .page-numbers.prev::before,
  #news_block.detail .detail_pagenation ul .page-numbers.next::before,
  #news_block.detail ul.page-numbers li .page-numbers.next::before{
  	content: none;
  }
  #news_block.detail .detail_pagenation ul .page-numbers.prev,
  #news_block.detail ul.page-numbers li .page-numbers.prev{
  	padding: 10px 15px;
  	font-size: 16px;
  }
  #news_block.detail .detail_pagenation ul .page-numbers.next,
  #news_block.detail ul.page-numbers li .page-numbers.next{
  	padding: 10px 15px;
  	font-size: 16px;
  }
  #news_block.detail .detail_pagenation ul .page-numbers,
  #news_block.detail ul.page-numbers li .page-numbers{
  	font-size: 16px;
  }
}