@charset "utf-8";
/*==============================
お知らせ一覧、園だより一覧
==============================*/

/*===============================================
●共通
===============================================*/

/* catList
---------------------------------------- */
.catList {
	display: flex;
	flex-wrap: wrap;
}
.catList li a {
	font-weight: bold;
	position: relative;
	/*padding: 0 0.8em;*/
	display: block;
	background-color: #fff;
}
.catList li a:after,
.catList li a.current:after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	right: 0;
	border-radius: 10px;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
}
.catList li a:hover {opacity: 1;}
.catList li a:hover:after,
.catList li a.current:after {transform: scale(1, 1);}

/* catList color */
.catList li:first-child a:after, .catList li:first-child a.current:after {border-bottom: 3px solid  #136BB2;}
.catList li:first-child a:hover, .catList li:first-child a.current {color:  #136BB2;}

.catList li.cat0 a:after, .catList li.cat0 a.current:after {border-bottom: 3px solid #37A523;}
.catList li.cat0 a:hover, .catList li.cat0 a.current {color: #37A523;}

.catList li.cat1 a:after, .catList li.cat1 a.current:after {border-bottom: 3px solid #EB6EA5;}
.catList li.cat1 a:hover, .catList li.cat1 a.current {color: #EB6EA5;}

.catList li.cat2 a:after, .catList li.cat2 a.current:after {border-bottom: 3px solid #F39248;}
.catList li.cat2 a:hover, .catList li.cat2 a.current {color: #F39248;}

.catList li.cat3 a:after, .catList li.cat3 a.current:after {border-bottom: 3px solid #6379E5;}
.catList li.cat3 a:hover, .catList li.cat3 a.current {color: #6379E5;}

.catList li.cat4 a:after, .catList li.cat4 a.current:after {border-bottom: 3px solid #E65C5C;}
.catList li.cat4 a:hover, .catList li.cat4 a.current {color: #E65C5C;}

.catList li.cat5 a:after, .catList li.cat5 a.current:after {border-bottom: 3px solid #3CA294;}
.catList li.cat5 a:hover, .catList li.cat5 a.current {color: #3CA294;}

.catList li.cat6 a:after, .catList li.cat6 a.current:after {border-bottom: 3px solid #D554C4;}
.catList li.cat6 a:hover, .catList li.cat6 a.current {color: #D554C4;}

.catList li.cat7 a:after, .catList li.cat7 a.current:after {border-bottom: 3px solid #EEA513;}
.catList li.cat7 a:hover, .catList li.cat7 a.current {color: #EEA513;}

.catList li.cat8 a:after, .catList li.cat8 a.current:after {border-bottom: 3px solid #6EB5EB;}
.catList li.cat8 a:hover, .catList li.cat8 a.current {color: #6EB5EB;}

.catList li.cat9 a:after, .catList li.cat9 a.current:after {border-bottom: 3px solid #B16727;}
.catList li.cat9 a:hover, .catList li.cat9 a.current {color: #B16727;}

/* greenLink */
/*.catList.greenLink li a:after,
.catList.greenLink li a.current:after { border-bottom: 3px solid #37A523;}
.catList.greenLinkli a:hover,
.catList.greenLink li a.current { color: #37A523;}*/

/* serchnav
---------------------------------------- */
.searchNav .number { display: none;}
.searchNav ul {
	display: flex;
	justify-content: center;
}
.searchNav ul li a,
.searchNav ul li.currentpage{
	border: 1px solid #794913;
	border-radius: 6px;
	color: #794913;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "brandon-grotesque", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.25em;
	line-height: 1.5em;
	width: 2em;
	height: 2em;
}
.searchNav ul li { margin: 0 0.5em;}
.searchNav ul li.currentpage,
.searchNav ul li a:hover {
	color: #fff;
	background-color: #794913;
	opacity: 1;
}
.searchNav ul li svg {
	width: 7px;
	height: 11px;
	fill: currentColor;
}
.searchNav ul .prev svg { transform: rotate(180deg);}

/* newsList
---------------------------------------- */
.newsList li:first-of-type {border-top: 1px solid #C5C5C5;}
.newsList li {border-bottom: 1px solid #C5C5C5;}
.newsList .newsText {line-height: 1.7em;}

/* newsImgList
---------------------------------------- */
.newsImgList a { display: block;}
.newsImgList .image { margin-bottom: 1em;}

/*画像がない時*/
.newsImgList .noImage {
	background: url("../../images/mainframe/noimage.jpg") no-repeat center center / cover;
	display: block;
	width: 100%;
	padding-top: 60%;
	border-radius: 20px;
}
/*画像がある時*/
.newsImgList .photoBox {
	display: block;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
}
.newsImgList .photoBox span {
	display: block;
	width: 100%;
	padding-top: 60%;
	border-radius: 1em;
	transition: transform 0.5s ease;
}
.newsImgList .photoBox span:hover { transform: scale(1.2);}

.newsImgList .newsText {line-height: 1.6em;}

/*===============================================
●画面の横幅が769px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 769px){
	
	.contentsWrap { padding: 3em 0 4em;}
	
	/* catList
	---------------------------------------- */
	.catList { margin-bottom: 6%;}
	.catList li {
		border-bottom: 3px solid rgba(0,0,0,0.1);
		margin-top: 1em;
		text-align: center;
		background-color: #fff;
	}
	.catList li:not(:last-child) {margin-right: 5%;}
	.catList li a {padding-bottom: 8px;}
	.catList li a:after,
	.catList li a.current:after {bottom: -3px;}
	
	/* serchnav
	---------------------------------------- */
	.searchNav {padding-top: 1em;}
	
	/* newsList
	---------------------------------------- */
	.newsList {margin: 2em 0;}
	.newsList li a {
		display: block;
		padding: 1.2em 0;
	}
	
	/* newsImgList
	---------------------------------------- */
	.newsImgList li { margin-bottom: 3.5em;}
}

/*===============================================
●画面の横幅が770px以上(PCのみ)
===============================================*/
@media screen and (min-width: 770px){
	
	.contentsWrap { padding: 5% 0;}
	
	/* catList
	---------------------------------------- */
	.catList { margin-bottom: 3.5%;}
	/*.catList li { margin-top: 2em;}*/
	.catList li {margin-bottom: 1.5em;}
	.catList li:not(:last-of-type) { margin-right: 2%;}
	.catList li a { line-height: 1.6em;}
	.catList li a:after,
	.catList li a.current:after { bottom: -8px;}
	
	/* newsList
	---------------------------------------- */
	.newsList { margin-bottom: 5%;}
	.newsList li a {
		display: flex;
		align-items: baseline;
		padding: 1em 0;
	}
	.newsList .timeCat {
		display: flex;
		justify-content: space-between;
		width: 100%;
		max-width: 200px;
		margin-right: 2.8em;
		align-items: baseline;
	}
	.newsList .timeCat span {
		max-width: 80px;
		min-width: 80px;
		padding: 0.2em 0.3em 0.1em;
		text-align: center;
	}
	.newsList .newsText { max-width: 820px;}
	
	/* newsImgList
	---------------------------------------- */
	.newsImgList .timeCat span {
		margin-left: 1em;
		padding: 0.2em 0.7em 0.1em;;
	}
	.newsImgList .newsText { padding-top: 0.5em;}
	.newsImgList {
		display: flex;
		flex-wrap: wrap;
	}
	.newsImgList li {
		width: 30%;
		margin-right: 5%;
		margin-bottom: 10%;
	}
	.newsImgList li:nth-of-type(3n) { margin-right: 0;}
}

/*===========================================================
●画面の横幅が920px以上770px以下
=============================================================*/
@media screen and (min-width: 770px) and (max-width: 920px) {
	
	.newsList .timeCat {
		max-width: 160px;
		margin-right: 2em;
	}
}