@charset "UTF-8";


/*----------------------------------------------------
 news
------------------------------------------------------*/

#kosodate_wrap #news_list {
	width: 950px;
	margin: 0 auto 60px;
}

#kosodate_wrap #news_list .lead {
	margin-top: 40px;
	line-height: 1.5;
	font-size: 142%;
	font-weight: bold;
	color: #1ca462;
	text-align: center;
	letter-spacing: 2px;
}
#kosodate_wrap #news_list ul {
	max-width: 950px;
	margin: 60px auto 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
}

#kosodate_wrap #news_list ul .news_card {
	width: 32%;
	max-width: 300px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position: relative;
	margin-right: 2%;    
}

#kosodate_wrap #news_list ul .news_card:nth-of-type(3n) {
	margin-right: 0 !important;
}

#kosodate_wrap #news_list ul .news_card:nth-of-type(n+4) {
	margin-top: 50px;
}

#kosodate_wrap #news_list ul .news_card img {
	width: 100%;
}

#kosodate_wrap #news_list ul .news_card a {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	position: relative;
}

#kosodate_wrap #news_list ul .news_card a::after {
	content: "";
	position: absolute;
	z-index: 15;
}

#kosodate_wrap #news_list ul .news_card a.link_pdf::after {
	width: 14px;
	height: 14px;
	background: url(/material/img/ico_pdf_w.svg) no-repeat center center/contain;
	bottom: 8px;
	right: 9px;
}

#kosodate_wrap #news_list ul .news_card a.link_blank::after {
	width: 9px;
	height: 9px;
	background: url(/kosodate/enjoy/img/ico-extnl.gif) no-repeat center center/contain;
	bottom: 11px;
	right: 10px;
}

#kosodate_wrap #news_list ul .news_card a:hover{
	opacity: 1;
}

#kosodate_wrap #news_list ul .news_card a:hover .text_wrap {
	opacity: .5;
}

#kosodate_wrap #news_list ul .news_card .label {
	width: 126px;
	position: absolute;
	top: -20px;
	left: -5px;
	z-index: 5;
}

#kosodate_wrap #news_list ul .news_card .img_wrap {
	height: 200px;
	margin: 0;
	text-align: center;
	border-radius: 10px 10px 0 0;
	background: #efefef;
	overflow: hidden;
}

#kosodate_wrap #news_list ul .news_card .img_wrap img {
	width: auto;
	height: 100%;
	transition: .3s ease all;
}

#kosodate_wrap #news_list ul .news_card a:hover .img_wrap img {
	transform: scale(1.04);
	opacity: .5;
}

#kosodate_wrap #news_list ul .news_card .text_wrap {
	padding: 20px 20px 40px;
	flex-grow: 1;
	overflow: hidden;
	border-radius: 0 0 10px 10px;
	position: relative;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

#kosodate_wrap #news_list ul .news_card .text_wrap::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 50px 50px;
	border-color: transparent transparent #18943b transparent;
	z-index: 10;
}

#kosodate_wrap #news_list ul .news_card .date {
	font-weight: bold;
	color: #18943b;
	margin-bottom: 10px;
}



@media screen and (max-width: 768px) {
	#kosodate_wrap #news_list {
		width: 100%;
		margin: 0;
	}
	
	#kosodate_wrap #contents section #news_list h2 {
		margin-top:0;
	}
	
	#kosodate_wrap #news_list .lead {
		font-size: 100%;
	}
	
	#kosodate_wrap #news_list ul {
		max-width: 100%;
		padding: 0 4%;
        justify-content: space-between;
	}

	#kosodate_wrap #news_list ul .news_card {
		width: 48%;
		max-width: inherit;
		border-radius: 5px;
        margin-right: 0 !important;
	}

	#kosodate_wrap #news_list ul .news_card:nth-of-type(n+3) {
		margin-top: 45px !important;
	}

	#kosodate_wrap #news_list ul .news_card a {
		border-radius: 5px;
	}

	#kosodate_wrap #news_list ul .news_card .label {
		width: 55%;
		top: -4.5%;
		left: -2.5%;
	}

	#kosodate_wrap #news_list ul .news_card .img_wrap {
		height: 30vw;
		border-radius: 5px 5px 0 0;
	}

	#kosodate_wrap #news_list ul .news_card .text_wrap {
		padding: 10% 7% 25%;
		border-radius: 0 0 5px 5px;
	}

	#kosodate_wrap #news_list ul .news_card .date {
		margin-bottom: 6%;
	}
	
}
