@charset "utf-8";
/*==================================================
	【サブ】ページ固有のスタイル
==================================================*/
#history .box {
	position: relative;
	width: 920px;
	margin-left: auto;
	margin-bottom: 150px;
}
#history .box::before {
	content: "";
	position: absolute;
	display: block;
	background: #f4f4f4;
	width: 6px;
	height: calc(100% - 30px);
	top: 150px;
	left: -110px;
}
#history .box:last-of-type {
	margin-bottom: 0;
}
#history .box:last-of-type::before {
	display: none;
}
#history .box .ttl {
	line-height: 1;
	padding-top: 50px;
}
#history .box .ttl .no {
	position: absolute;
	top: 0;
	left: -180px;
	font-weight: 500;
	font-size: 107px;
	color: #fff;
	text-shadow: 
		#dd0717 2px 0px 0px, #dd0717 -2px 0px 0px,
		#dd0717 0px -2px 0px, #dd0717 0px 2px 0px,
		#dd0717 2px 2px 0px, #dd0717 -2px 2px 0px,
		#dd0717 2px -2px 0px, #dd0717 -2px -2px 0px,
		#dd0717 1px 2px 0px, #dd0717 -1px 2px 0px,
		#dd0717 1px -2px 0px, #dd0717 -1px -2px 0px,
		#dd0717 2px 1px 0px, #dd0717 -2px 1px 0px,
		#dd0717 2px -1px 0px, #dd0717 -2px -1px 0px,
		#dd0717 1px 1px 0px, #dd0717 -1px 1px 0px,
		#dd0717 1px -1px 0px, #dd0717 -1px -1px 0px;
}
#history .box .ttl h4 {
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 50px;
}
#history .box .imgs {
	margin-top: 50px;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(4, 24%);
	gap: 15px 0;
}
#history .box .imgs li img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid #ccc;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#history .box {
		width: calc(100% - 100px);
		margin-bottom: 80px;
	}
	#history .box::before {
		top: 70px;
		left: -70px;
		height: calc(100% + 5px);
	}
	#history .box .ttl {
		padding-top: 10px;
	}
	#history .box .ttl .no {
		font-size: 50px;
		left: -100px;
	}
	#history .box .ttl h4 {
		font-size: 23px;
		margin-bottom: 20px;
	}
	#history .box .imgs {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#history .box {
		width: calc(100% - 50px);
		margin-bottom: 40px;
	}
	#history .box::before {
		top: 57px;
		left: -34px;
		height: calc(100% - 30px);
	}
	#history .box .ttl {
		padding-top: 3px;
	}
	#history .box .ttl .no {
		left: -50px;
		font-size: 30px;
	}
	#history .box .ttl h4 {
		font-size: 19px;
	}
	#history .box .imgs {
		margin-top: 0;
		grid-template-columns: repeat(2, 49%);
		gap: 1% 0;
	}
}