
/*----------------------------------------------------------------------> ▼ variable <--*/

body{
	--important: #e03;
	--news: #337;
	--shareholder: #0a6;
}

/*-----------------------------------------------------------------------------------------------> ▼ #articles <--*/

#articles {
	display: flex;
	justify-content: center;
}

#articles a > div {
	width: 100%;
}

/*-------------------------> ▼ .article_thumbnail <--*/

#articles .thumbnail {
	display: block;
	aspect-ratio: 16 / 10;
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: var(--border_radius_light);
}

/*-------------------------> ▼ .article_title <--*/

#articles .title {
	line-height: 1.5em;
	font-size: 18px;
	letter-spacing: 1px;
}

/*-------------------------> ▼ .article_date <--*/

#articles .date {
	margin-top: 5px;
	font-family: Helvetica-L;
	font-size: 15px;
	letter-spacing: 1px;
}

#articles .date,
.article_detail .date {
	width: fit-content;
	margin-right: 15px;
	font-size: 15px;
	color: #555;
	letter-spacing: 1px;
}

/*-------------------------> ▼ .category <--*/
/*
.articles .category,
.article_detail .category{
	min-width: 120px;
	padding-top: 2px;
	border: 1px solid #aaa;
	border-radius: var(--border_radius_light);
	font-size: 13px;
	font-family: YuGo-B;
	text-align: center;
	line-height: 1.5em;
}

.category_important .category {
	color: var(--important);
	border-color: var(--important);
}

.category_news .category {
	color: var(--news);
	border-color: var(--news);
}

.category_shareholder .category {
	color: var(--shareholder);
	border-color: var(--shareholder);
}

@media (width <= 767px) {
	.articles .category {
		min-width: 100px;
		padding: 1px 0;
		font-size: 11px;
	}
}

@media (width <= 767px) {
	.articles .date,
	.article_detail .date {
		font-size: 12px;
	}
}
*/
@media (1024px <= width) {
	#articles a {
		width: calc((100% - 30px) / 3);
	}

	#articles a:nth-child(n + 2) {
		margin-left: 15px;
	}
}

@media (width <= 1023px) {
	#articles a {
		width: calc((100% - 15px) / 2);
	}
	
	#articles a:nth-child(2) {
		margin-left: 15px;
	}
	
	#articles a:nth-child(n + 3) {
		display: none;
	}
	
	#articles .title {
		margin-top: 15px;
		font-size: 14px;
	}
	
	#articles .date {
		margin-top: 2px;
		font-size: 12px;
		color: #999;
	}
}

@media (width <= 767px) {
	#articles ..category {
		padding: 1px 10px 0;
		font-size: 12px;
	}
}

/*-----------------------------------------------------------------------------------------------> ▼ #article_detail <--*/


#article_detail {
	display: flex;
	flex-wrap: wrap;
	padding: 50px 0;
}

#article_detail .title {
	width: 100%;
	margin-bottom: 15px;
	
	font-family: YakuHan-L, YuGo-B;
}

#article_detail .summary {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding-bottom: 20px;
	padding-left: 5px;
	border-bottom: 1px dashed #aaa;
	border-radius:;
}

#article_detail .date,
#article_detail .category {
	line-height: 16px;
}

#article_detail .date {
	padding-right: 20px;
	font-family: Helvetica-L;
	font-size: 18px;
}

#article_detail .category {
	display: none;
	padding-left: 20px;
	border-left: 1px dashed #000;
	font-size: 16px;
}

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


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

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

@media (width <= 768px) {
	.page_navi li:last-child {
		display: none;
	}
	
	#article_detail .summary {
		padding-bottom: 15px;
		padding-left: 5px;
	}
}

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

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

	#article_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;
	}
}

/*----------------------------------------------------------------------> ▼ .view_switch <--*/

.view_switch {
	display: inline-flex;
	display: none;
	justify-content: flex-end;
	border: 0px solid var(--theme);
	border-radius: var(--border_radius);
	padding: 5px;
}

.view_switch div {
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.view_switch div:nth-child(2) {
	margin-left: 15px;
}

@media (width <= 500px) {
	.lower_section {
		padding: 25px 0;
	}
}

@media (hover: hover) and (pointer: fine) {
	.view_switch div:hover {
		filter: hue-rotate(120deg) brightness(10);
	}
}
