@charset "utf-8";
.history {
	padding-bottom: 10%;
	opacity: 1 !important;
}
.history .chapter {
	font-size: 100px;
	font-style: italic;
	background: #FFF;
	line-height: 1;
	position: relative;
	z-index: 1;
	padding: 3% 3% 3% 0;
	display: inline-block;
}
.history .inner {
	margin-left: 30px;
	padding: 30px;
}
.history .inner:before {
	content: '';
	display: block;
	width: 1px;
	height: 100%;
	background: rgba(0, 0, 0, .2);
	position: absolute;
	left: 32px;
	top: 0;
	z-index: 0;
}
.history:last-of-type .inner:before {
	height: 90%;
}
.history h2 {
	position: relative;
	font-size: 30px;
}
.history h2:before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 1000px;
	background: #000;
	position: absolute;
	left: -30px;
	top: .5em;
}
.history h2+p {
	margin: 30px 0 1.5em 2em;
	font-family: 'Noto Sans Japanese', 'メイリオ', Meiryo, serif;
	color: rgba(0, 0, 0, 0.54);
}
.history .more-btn {
	margin: 0;
	float: right;
	cursor: pointer;
	transition: all .5s;
}
.history .more-btn.active {
	box-shadow: none;
	background: #FFF;
	color: rgba(0, 0, 0, 0.54) !important;
	border-bottom: 3px solid rgba(0, 0, 0, 0.12);
	font-weight: bold;
}
.history .more-block {
	margin-left: 2em;
	font-family: 'Noto Sans Japanese', 'メイリオ', Meiryo, serif;
	color: rgba(0, 0, 0, 0.54);
	overflow: hidden;
	max-height: 0;
	-webkit-transition: all .5s;
	transition: all .5s;
}
.history .more-block.active {
	max-height: 1000px;
}

.history.active .chapter, .history.active h2 {
	-webkit-animation: mask-color .1s .5s forwards cubic-bezier(0.56, 0.01, 0.4, 1);
	animation: mask-color .1s .5s forwards cubic-bezier(0.56, 0.01, 0.4, 1);
}
.history.active h2 .masking {
	-webkit-animation: mask-text-reverse 1.2s forwards cubic-bezier(0.56, 0, 0.4, 1);
	animation: mask-text-reverse 1.2s forwards cubic-bezier(0.56, 0, 0.4, 1);
}.history.active .chapter .masking {
	-webkit-animation: mask-text 1.2s forwards cubic-bezier(0.56, 0, 0.4, 1);
	animation: mask-text 1.2s forwards cubic-bezier(0.56, 0, 0.4, 1);
}
@media only screen and (max-width: 1024px) {
.history .inner {
	margin-left: 20px;
	padding: 20px;
}
.history .inner:before {
	left: 16px;
}
.history .chapter {
 font-size: calc(50px + (100 - 50) * ((100vw - 320px) / (1024 - 320)));
}
.history h2 {
 font-size: calc(16px + (30 - 16) * ((100vw - 320px) / (1024 - 320)));
}
.history h2:before {
	left: -26px;
	width: 5px;
	height: 5px;
}
.history .more-btn {
	margin: 0 auto;
	float: none;
	display: block;
	max-width: 150px;
}
}
