@charset "utf-8";
/*---------sp---------*/
.title_01{
  position: relative;
	font-size: var(--font-size28);
  font-weight: var(--SemiBold);	
  overflow: hidden;
  padding-bottom: 0.3em;
}
.title_01::before,.title_01::after{
  position: absolute;
  content: "";
	bottom: 0;
	width: 100%;
}
.title_01::before{
  border-bottom: 0.2em solid #365e6c;/*文字下のライン*/
}
.title_01::after{
  border-bottom: 0.2em solid #799390;/*文字以外のライン*/
}
.title_02{
	font-size: var(--font-size18);
	position: relative;
	margin: var(--px30) 0 3px;
  padding-left: 1em;
  color: var(--main-color);
  font-weight: var(--Bold);
}
.title_02:after{
	position: absolute;
	content: '';
	display: inline-block;
	width: .7em;
	bottom: 0.7em;
	left: 0;
	border-bottom: solid 2px var(--main-color);
}
.sub_title{
  color: var(--main-color);	
	font-size: var(--font-size14);
	padding-left: 10px;
  font-weight: var(--Regular);
}
/*--------- お知らせ sp  ---------*/
.news{
  /*min-height: 100vh;*/
  
  .inner{
    width: 87.5%;
    margin: 0 auto;
    padding: var(--px100) 0;
  }
  
  table{
    width: 100%;
    border-collapse: collapse;
      border-spacing: 0;
    margin: 10px auto 0;
    
    tr{
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid #cccccc;
      
      th{
        font-weight: 400;
        text-align: left;
        width: 90px;
        padding: 4px 0;
      }
      
      td{
        padding: 4px 0;
        
        &:first-of-type{
          width: 60%;
          text-align: center;
          color: #ffffff;
          font-size: 85%;
        }
        &:last-of-type{
          width: 100%;	
        }
        &:last-of-type a{
          color: #252935;
          width: 100%;
          display: block;
        }
      }
    }
  }
  .tagu_01{
    background-color: #BA5448;
    width: 6em;
    padding: 2px 0;
    border-radius: 15px;
  }
  .tagu_02{
    background-color: #604C3F;
    width: 6em;
    padding: 2px 0;
  }
  .tagu_03{
    background-color: #C9A063;
    width: 6em;
    padding: 2px 0;
  }
  .news_list{
    padding: 10px 5px;
    text-align: right;
  }
}
/*--------- お知らせ詳細 sp  ---------*/
.wrap{
	width: min(100%, 1340px);
	margin: 10px auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.news_ti{
	padding: 8px 0;
	border-bottom: 1px solid #cccccc;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
}
.news_ti_tx{
	font-size: clamp(1.4rem, 1.5vw, 1.6rem);
	width: auto;
	padding: 5px 0 5px 10px;
}
.date{
	width: 100px;
	padding: 5px 0 5px 7px;
	margin-right: 10px;
}
.tag{
	font-size: 70%;
	text-align: center;
	width: 65px;
	color: #ffffff;
	padding: 2px 0;
}
.news_text{
	line-height: 1.8;
	padding: 10px 5px var(--px30);
}


/*---新着記事表示エリア sp---*/
.article{
	width: 100%;
	padding: 10px 0 30px;

	p{
		a{
			color: var(--main-color);
			text-decoration: underline;
		}
	}

	.pdf_link{
		
		img{
			width: 28px;
			margin-right: 10px;
		}
	}
}
/*写真sp*/
.news_img_wrap{
	
	.photo{
		margin-bottom: var(--px30);

		img{
			width: 100%;
		}
	}
}
/* Pager*/
nav.cp_navi a {
	text-decoration: none;
}

nav.cp_navi {
	margin: 30px 0;
	text-align: center;
}

.cp_navi .cp_pagination {
	display: flex;
	justify-content: center;
}

.cp_navi .cp_pagenum {
	color: var(--main-color);
	border-radius: 3px;
	width: 28px;
	height: 28px;
	margin: 0 5px;
	border: 1px solid var(--main-color);
	background-color: transparent;	
	display: flex;
	justify-content: center;
	align-items: center;
}

.cp_navi .cp_pagenum.current {
	background-color: var(--main-color);
	color: #ffffff;
	border: 1px solid var(--main-color);
}
.cp_navi .cp_pagenum.current a {
	color: #ffffff;
}
.cp_navi .cp_pagenum.prev,
.cp_navi .cp_pagenum.next {
	border: none;
	background-color: transparent;
	color: var(--main-color);
}
/*-----サイドバー表示エリア sp-----*/
.area{
	padding: 20px 0 0 0;
	width: 100%;
	order: 2;

	ul{
		margin-bottom: var(--px30);
	}
}
.caption{
	background: var(--main-color);
	color: #ffffff;
	padding: 6px 5px;
	margin-bottom: 7px;
	text-align: center;
}
.side_news{
	padding: 5px 0;
	border-bottom: 1px solid #cccccc;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
}
.side_date{
	font-size: 90%;
	width: auto; 
	padding: 4px 0 4px 7px;
	margin-right: 10px;
}
.side_tag{
	font-size: 60%;
	text-align: center;
	width: 60px;
	color: #ffffff;
	padding: 2px 0;
  border-radius: 15px;
}
.side_news_ti{
	font-size: clamp(1.3rem, 1.4vw, 1.5rem);
	width: auto;
	padding: 1px 0 1px 5px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}
.ichiran{
	text-align: right;
	padding: 10px 5px;
	margin-top: 10px;
}

/*---新着詳細表示エリア sp---*/
.detail_ti{
	font-size: var(--font-size20);
	font-weight: var(--SemiBold);
	width: auto;
	padding: 5px 8px 5px 3px;
}
.detail_date{
	width: auto;
	padding: 5px 5px 5px 7px;
	margin-right: 10px;
	margin-left: auto;
}
.detail_tag{
	font-size: 70%;
	text-align: center;
	width: 65px;
	color: #ffffff;
	padding: 2px 0;
  border-radius: 15px;
}
@media (min-width:768px){
/*--------- お知らせ tab  ---------*/
  .news{
    
    .inner{
      width: min(85%,1100px);
      position: relative;
    }	
    
    table{
      
      tr{
        padding: 12px 20px;
        
        th{
          width: 100px;
		      padding: 5px 0;
        }
        
        td{
         padding: 5px 0;
          
          &:first-of-type{
            width: 100px;
          } 
          &:last-of-type{
            width: calc(100% - 200px);
          }        
        }
      }
      
    }
    
  }
  /*--------- tab  ---------*/
	.news_ti_tx{
		padding-left: 12px;
	}
	.date{
		width: 100px;
		margin-right: 6px;
	}
	.tag{
		width: 60px;
	}
	.cp_navi .cp_pagenum {
		width: 34px;
		height: 34px;
	}
	nav.cp_navi {
		margin: 40px 0;
	}

	/*---新着記事表示エリア tab---*/
	.article{
		width: calc(100% - 200px);
		padding: 10px 40px 0 0;
	}

	/*写真tab*/
   .news_img_wrap{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;

	  .photo{
		width: 48%;
	  }
		/* --- 画像が1枚だけのとき --- */
		&:has(.photo:only-child) {
			justify-content: center; /* 中央寄せ */
		}

		&:has(.photo:only-child) .photo {
			width: 70%; /* 幅70% */
		}
    }
	/*-----サイドバー表示エリア tab-----*/
	.area{
		width: 200px;
		order: 2;
	}
	.side_date{
		margin-right: 6px;
	}


}
@media (min-width:1024px){
	.news_ti_tx{
		padding-left: 20px;
	}
	.date{
		width: 100px;
		margin-right: 20px;
	}
	.tag{
		width: 90px;
	}
}
@media (min-width:1280px){
	/*---新着記事表示エリア tab---*/
	.article{
		width: calc(100% - 240px);
		padding: 10px 100px 0 0;
	}
	/*-----サイドバー表示エリア tab-----*/
	.area{
		width: 240px;
	}


}