/*===news埋め込み部分用==============================*/
.news{
	width: 100%;
	margin: 0 ;
	padding: 50px 0;
	background: #f6f9f4;
}
.news .inner{
	width: calc(100% - 30px);
	max-width: 1366px;
	margin: auto;
}

#newsWrap ul#newsList{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}
#newsWrap ul#newsList a{
	display: inline-block;
	width: calc(100% / 4 - 20px);
	margin: 10px;
	color: #4d4d4d;
	background:#fff;
	font-size:1rem;
	padding: 15px;
	border-radius: 15px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
	
}
#newsWrap ul#newsList li{
	list-style-type: none;
}

/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	min-height: 0%;
}
.thumbNailWrap img{
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 15px;
	object-fit: cover;
	transition-duration: 0.5s;
}

#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.2);
	transition-duration: 0.5s;
}

/*日付*/
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-weight: 500;
	color: #91dbd0;
	margin-top: 0.5em ;
}

#newsWrap ul#newsList li .title{
	display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 90%;
	max-width: 20em;
}
#newsWrap ul#newsList li .comment{
	display: block;
	font-size: 0.8rem;
	padding: 0 1rem 0.5rem;
}
@media (max-width: 960px){
	#newsWrap{
		width: calc(100% - 30px);
		margin: auto;
		height: 340px;
		overflow: auto;
	}
	
	#newsWrap ul#newsList{
		max-width: 700px;
		margin: auto;
	}
	#newsWrap ul#newsList a{
		width: calc(100% / 2 - 20px);
		max-width: 350px;
	}
	.news-detail #newsWrap{
		height:auto;
	}
	.news-detail #newsWrap ul#newsList{
		width: 100%;
	}
}

@media (max-width: 750px){
	#newsWrap ul#newsList{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#newsWrap ul#newsList a{
		width: calc(100%  - 20px);
		max-width: 350px;
	}
}
@media (max-width: 450px){
	#newsWrap ul#newsList a{
		width: 90%;
	}
}
/*===news-detail.php用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
	padding: 0 15px;
}
.news-detail .flex #main{
	width: calc(100% - 270px);
}
.news-detail .flex #main img{
	max-width: 100%;
}
.news-detail .flex #side{
	width: 230px;
}

/*main*/
.news-detail .flex #main #up_ymd{
	font-size: 1em;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #91dbd0;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .flex #main .stitle{
	font-size: 1.5rem;
	margin-bottom: 30px;
	border-bottom: dashed 2px;
}
.news-detail .flex #main img{
	max-width: 100%;
}


.news-detail .pages{
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-top: 30px;
}
.news-detail .pages .page_next{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_prev{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_next a{
	display: block;
	width: 100%;
	color: #91dbd0 ;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px 0;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	display: block;
	width: 100%;
	color: #91dbd0 ;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages .page_next a:hover{
	text-decoration: underline;
}
.news-detail .pages .page_prev a:hover{
	text-decoration: underline;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #91dbd0;
}
.news-detail .flex #side ul{
	padding-left: 15px;
}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 200%;
	color: #91dbd0;
	margin-bottom: 1em;
	transition: 0.4s;
}
.news-detail .flex #side ul li a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #side ul li a:hover{
	text-decoration-line: underline;
}

@media (max-width: 1200px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
	
	.news-detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages .page_next{
		max-width: 100%;
		margin: 10px 0;
	}
	.news-detail .pages .page_prev{
		max-width: 100%;
		margin: 10px 0;
	}
	.news-detail .pages .page_next.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev a,
	.news-detail .pages .page_next a{
		padding: 5px 0;
		text-align: center;
	}
	
}


/*一覧ページ*/
.news-detail #newsWrap ul#newsList a{
	width: calc(100% / 3 - 20px);
}
@media (max-width: 1200px){
	.news-detail #newsWrap ul#newsList a{
		width: calc(100% / 3 - 20px);
	}
}
@media (max-width: 960px){
	.news-detail #newsWrap ul#newsList a{
		width: calc(100% / 2 - 20px);
	}
}
@media (max-width: 750px){
	.news-detail #newsWrap ul#newsList a{
		width: calc(100% - 20px);
	}
}
@media (max-width: 450px){
	.news-detail #newsWrap ul#newsList a{
		width: 100%;
		margin: 10px 0;
		
	}
}

/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 20px 10px;
}
.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
}
.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
    overflow: hidden;
    padding: 5px;
    font-size: 0;
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    background-color: #fff;
	border-radius: 15px;
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
p.detail_text{
	font-size: 0.9rem;
	padding: 0.5em;
    font-weight: 400;
}


@media (max-width: 750px){
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
}