@charset "utf-8";

.chapter-body {
	font-size: 1.6rem;
}

/* ---------------------------------------- */

.History {
	margin: auto;
	font-size: 1.4rem;
	line-height: 2;
}

.History__year {
	position: relative;
	padding: 0 0 0 2em;
	margin-bottom: 20px;
}

.History__year:last-of-type {
	padding-bottom: 0;
	margin-bottom: 0;
}

.History__year:before,
.History__year:after {
	position: absolute;
	content: "";
	display: block;
}

.History__year:before {
	position: absolute;
	top: 1rem;
	left: 4px;
	width: 9px;
	height: 9px;
	border: 1px solid currentColor;
	background-color: rgb(255, 255, 255);
	box-sizing: border-box;
	border-radius: 50%;
	z-index: 2;
}

.History__year:after {
	top: calc(0.75rem + 9px);
	left: 8px;
	width: 1px;
	height: calc(100% + 11px);
	background-color: currentColor;
	z-index: 1;
	border-radius: 5px;
	opacity: 0.2;
}

.year__header {
	position: relative;
}

.year__header:before {
	position: absolute;
	top: calc(1.4rem + 2px);
	left: 0;
	width: 15px;
	height: 1px;
	background-color: rgba(0,0,0,1);
	content: "";
	
	display: none;
}

.year__header-ttl {
	font-size: inherit;
	line-height: inherit;
	margin-bottom: 0.5em;
}

.year__body {
	
}

.year__body-text {
	position: relative;
	padding-left: 2em;
	margin-bottom: 0.5em;
	line-height: 1.5;
}

.year__body-text:last-child {
	margin-bottom: 0;
}

.year__body-text:before {
	position: absolute;
	display: block;
	left: 3px;
	top: calc(0.5em + 1px);
	width: 8px;
	height: 8px;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.5);
	content: "";
}

.year__body-text.cat--a:before {
	background-color: var(--ob-color--a);
}

.year__body-text.cat--b:before {
	background-color: var(--ob-color--b);
}

.year__body-text.cat--c:before {
	background-color: var(--ob-color--c);
}

@media screen and (min-width: 768px) {
	.History__year {
		display: flex;
		padding-left: 60px;
		margin-bottom: 30px;
	}
	
	.History__year:before {
		left: 24px;
	}
	
	.History__year:after {
		left: 28px;
		height: calc(100% + 24px);
	}
	
	
	.year__header {
		width: 20%;
	}
	
	.year__header-ttl {
		margin-bottom: 0;
	}
	
	.year__body {
		width: 80%;
	}
	
	.year__body-text {
		line-height: inherit;
	}
	
	.year__body-text:before {
		top: 0.75em;
	}
	
}

@media screen and (min-width: 1280px) {
	
}


