@charset "utf-8";

#news_detail {

}

.news_detail cite {
	display: block;
	margin-top: 1em;
	text-decoration: underline;
}

/*----------------------------------------------------------------------> ▼ .news_detail <--*/

.news_detail {
	display: flex;
	flex-wrap: wrap;
	padding: var(--margin);
	border: 1px solid #000;
	border-radius: var(--border_radius);
}

.news_detail .title {
	width: 100%;
	padding-bottom: 20px;
	border-bottom: 1px dashed #000;
	font-family: YakuHan-L, YuGo-R;
}

.news_detail .summary {
	display: flex;
}

.news_detail .date,
.news_detail .category {
	padding-top: 15px;
	padding-bottom: 0px;
	line-height: 16px;
}

.news_detail .date {
	padding-right: 20px;
	border-right: 1px dashed #000;
	font-size: 18px;
}

.news_detail .category {
	padding-left: 20px;
	font-size: 16px;
}

.news_detail .body {
	width: 100%;
	margin-top: 40px;
	line-height: 1.75em;
}


@media (1025px <= width) {
	.news_detail .title {
		font-size: 45px;
	}
}

@media (width <= 1024px) {
	.news_detail .title {
		font-size: 35px;
	}
}

@media (width <= 768px) {
	.page_navi li:last-child {
		display: none;
	}
}

@media (width <= 767px) {
	.news_detail .title {
		font-size: 28px;
	}
}

@media (width <= 400px) {
	.news_detail .title {
		font-size: 24px;
	}
	
	.news_detail .date {
		font-size: 16px;
	}

	.news_detail .category {
		font-size: 14px;
	}
}

/*----------------------------------------------------------------------> ▼ .gallary <--*/

.gallary {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.gallary a {
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.gallary a::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
}

@media (768px <= width) {
	.gallary {
		justify-content: center;
		margin-top: 2rem;
		padding: 15px;
		background: rgba(235, 235, 255, 0.5);
		border-radius: var(--border_radius);
		box-shadow: 3px 3px 3px #eee;		
	}

	.gallary a {
		width: calc((100% - 5px) / 6);
		margin-right: 1px;
		aspect-ratio: 16 / 9;
	}

	.gallary a:nth-of-type(6n) {
		margin-right: 0;
	}
}

@media (width <= 767px) {
	.gallary {
		margin-top: 2rem;
	}
	
	.gallary.smart_center {
		justify-content: center;
	}
	
	.gallary a {
		width: calc((100% - 2px) / 3);
		margin-right: 1px;
		aspect-ratio: 1 / 1;
	}

	.gallary a:nth-of-type(3n) {
		margin-right: 0;
	}

	.gallary a:nth-of-type(n + 4) {
		margin-top: 1px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.gallary a:hover::before {
		opacity: 0.25;
	}
}

/*----------------------------------------------------------------------> ▼ .article_navi <--*/

.article_navi {
	display: flex;
	display: none;
	justify-content: space-between;
}

.article_navi a {
	width: 175px;

	font-size: 14px;
	font-weight: bold;
	line-height: 40px;
	letter-spacing: 2px;
	text-align: center;
}

.prev, .prev_disabled {
	background: url(/asset/image/footer/arrow_left_000.png?m=20000101) no-repeat center left / 40px;
}

.next, .next_disabled {
	background: url(/asset/image/footer/arrow_right_000.png?m=20000101) no-repeat center right / 40px;
}

.prev_disabled, .next_disabled {
	opacity: 0.5;
}

@media (hover: hover) and (pointer: fine) {
	.prev, .next {
		transition: 0.2s;
	}

	.prev:hover, .next:hover {
		text-decoration: underline;
	}
}