/**********************************************
	ページ
**********************************************/
#newsBlock {
	padding:10vh 0;
	background-color:#f8f8f8;
}

#newsBlockInner {
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
	justify-content:start;
	align-items:stretch;
	gap:2rem;
	margin:0 auto;
	padding:4rem 1rem;
	max-width:1280px;
}

@media screen and (max-width:840px) {
	#newsBlockInner {
		display:block;
	}
}

/**********************************************
	ニュースブロック
**********************************************/
#newsMainBlock {
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:start;
	align-items:stretch;
	gap:1rem;
	width:calc(100% - 12rem - 1rem);
}

@media screen and (max-width:840px) {
	#newsMainBlock {
		width:100%;
	}
}

.newsBox {
	overflow:hidden;
	width:calc(20% - 4rem / 5);
	background-color:#fff;
	border:1px solid #d1d1d1;
	border-radius:0.5rem;
}

.newsBox a {
	display:block;
	height:100%;
	text-decoration:none;
	transition-duration:0.3s;
}

.newsBox a:hover {
	transform:translate(0,-0.25rem);
	transition-duration:0.3s;
}

.newsImage {
	position:relative;
	margin-bottom:0.5rem;
	width:100%;
}

.newsImage:before {
	content:"";
	display:block;
	padding-top:75%;
}

.newsImage img {
	position:absolute;
	margin:auto;
	width:100%;
	height:100%;
	top:0;
	right:0;
	bottom:0;
	left:0;
	object-fit:cover;
}

.newsDate {
	margin:0.5rem 1rem;
	font-weight:300;
	font-family:'Oswald';
}

.newsTitle {
	margin:0 1rem 1rem 1rem;
	font-size:1.1rem;
	font-weight:700;
}

@media screen and (max-width:1280px) {
	.newsBox {
		width:calc(25% - 3rem / 4);
	}
}

@media screen and (max-width:840px) {
	.newsBox {
		width:calc(33.33% - 2rem / 3);
	}
}

@media screen and (max-width:480px) {
	.newsBox {
		width:calc(50% - 1rem / 2);
	}
}

/**********************************************
	サブブロック
**********************************************/
#newsSubBlock {
	width:12rem;
}

.newsSubBlockBox {
	margin-bottom:2rem;
}

.newsSubBlockTitle {
	margin-bottom:1rem;
	padding:0.5rem 2rem;
	font-weight:bold;
	color:#333;
	background-color:#d9d9d9;
}

#newsSubBlock .dataLink {
	margin:1rem 0;
	font-size:0.9rem;
	font-weight:bold;
}

#newsSubBlock .dataLink a {
	text-decoration:none;
}

#newsSubBlock .yearLink {
	margin:1rem 0;
	font-weight:bold;
}

#newsSubBlock .yearLink:before {
	content:'― ';
	font-weight:normal;
}

#newsSubBlock .yearLink a {
	text-decoration:none;
}

@media screen and (max-width:840px) {
	#newsSubBlock {
		width:100%;
	}
}
