.timeline-wrapper {
	padding-bottom: 20vw;
}

.timeline__main-bg {
	position: relative;
	z-index: 1;
	height: 37.6vw;
	background-position: 50% 50%;
	background-size: contain;
}

.timeline__main-bg img {
	width: 100%;
}

.timeline__main-title {
	margin-bottom: 3vw;
	font-family: 'charter_bold';
	font-weight: bold;
	font-size: 6.9333vw;
	line-height: 9.6vw;
	word-break: break-word;
}

.timeline__main-content-wrap {
	position: relative;
	z-index: 2;
	margin-top: -2vw;
	padding: 5.3333vw;
	border-top-left-radius: 2.6667vw;
	border-top-right-radius: 2.6667vw;
	background-color: #fff;
	color: #333;
}

.timeline__main-content p:empty {
	display: none;
}

.timeline__sub + .timeline__sub {
	margin-top: 6.6667vw;
}

.timeline__sub-item + .timeline__sub-item {
	margin-top: 4vw;
}

.timeline__sub-hd {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2vw;
}

.timeline__sub-time {
	padding: 0 4vw;
	font-size: 4.8vw;
	font-family: Helvetica-Bold, Helvetica;
	font-weight: bold;
	color: #333333;
	line-height: 5.6vw;
	white-space: nowrap;
}

.timeline__sub-hd::before,
.timeline__sub-hd::after {
	flex: 1;
	height: 3px;
	background-color: #4387e3;
	overflow: hidden;
	content: '';
}

.timeline__sub-title {
	font-size: 4.8vw;
	font-family: Helvetica-Bold, Helvetica;
	font-weight: bold;
	color: #333333;
	line-height: 5.6vw;
}

.timeline__sub-bd {
	margin-bottom: 2vw;
	padding: 0 4vw;
}

.timeline__sub-title {
	margin-bottom: 2vw;
	font-size: 4.8vw;
	font-family: Helvetica-Bold, Helvetica;
	font-weight: bold;
	color: #000;
	line-height: 6.6667vw;
}

.timeline__sub-content {
	word-break: break-word;
}

.timeline-container p + p {
	margin-top: 4vw;
}

.timeline-container p:empty {
	display: none;
}

.timeline-container em,
.timeline-container i {
	font-style: italic;
}

.timeline__main-content-wrap img,
.timeline-container .timeline__sub img {
	width: 100%;
	max-width: 100%;
	margin: 2vw 0;
	border-radius: 2.6667vw;
}

.timeline-container video {
	width: 89.3333vw;
	height: 50.1333vw;
	margin-top: 2vw;
	margin-bottom: 2vw;
	border-radius: 2.6667vw;
	object-fit: contain;
}

.timeline-container p video {
	margin-top: 0;
	margin-bottom: 0;
}

.timeline-menu {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 101;
	max-height: 13.3333vw;
	overflow: hidden;
	border-radius: 2.6667vw 2.6667vw 0px 0px;
	background: #4aabff;
}

.timeline-menu__hd {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 13.3333vw;
	padding: 0 5.3333vw;
	cursor: pointer;
}

.timeline-menu__bd {
	min-height: 0;
	max-height: 0;
	overflow-y: hidden;
	background-color: #fff;
	overscroll-behavior: contain;
}

.timeline-menu__title {
	font-size: 4.2667vw;
	font-family: Charter-Bold, Charter;
	font-weight: bold;
	color: #ffffff;
}

.timeline-menu__item {
	display: block;
	position: relative;
	z-index: 1;
	padding-left: 5.0667vw;
	cursor: pointer;
}

.timeline-menu__item + .timeline-menu__item {
	margin-top: 2.6667vw;
}

.timeline-menu__item-time {
	margin-bottom: 0.5333vw;
	font-size: 3.7333vw;
	font-family: Charter-Bold, Charter;
	font-weight: bold;
	color: #333333;
	line-height: 5.6vw;
	letter-spacing: 1px;
}

.timeline-menu__item-title {
	font-size: 3.2vw;
	font-family: Charter-Roman, Charter;
	font-weight: normal;
	color: #999999;
	line-height: 4.2667vw;
}

.timeline-menu__item-point {
	position: absolute;
	top: 1.0667vw;
	left: 0;
	width: 3.2vw;
	height: 3.2vw;
	border-radius: 50%;
	background-color: rgba(81, 169, 255, 0.3);
}

.timeline-menu__item-point::after {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1.6vw;
	height: 1.6vw;
	border-radius: 50%;
	background-color: rgba(81, 169, 255, 1);
	transform: translateX(-50%) translateY(-50%);
	content: '';
}

.timeline-menu__item-line {
	position: absolute;
	left: 1.4vw;
	top: 3vw;
	height: 100%;
	width: 1px;
	border-left: 1px dashed #51a9ff;
}

.timeline-menu__item:last-child .timeline-menu__item-line {
	display: none;
}

.timeline-menu.active {
	max-height: 70vh;
	background-color: #fff;
	transition: max-height 0.5s linear;
}

.timeline-menu.active .timeline-menu__hd {
	background-color: #4aabff;
}

.timeline-menu.active .timeline-menu__bd {
	min-height: 24vh;
	max-height: 50vh;
	padding: 3.2vw 5.3333vw 6vw;
}

.timeline__sub-ft {
	display: flex;
	justify-content: flex-end;
	padding-right: 5.3333vw;
}

.timeline__btn-link {
	width: 5.6vw;
	height: 5.6vw;
	background: url('../imgs/icon-link.svg') no-repeat 50% 50%;
	background-size: contain;
	cursor: pointer;
}

.timeline__btn-share {
	width: 5.6vw;
	height: 5.6vw;
	margin-left: 4vw;
	background: url('../imgs/icon-share-2.svg') no-repeat 50% 50%;
	background-size: contain;
	cursor: pointer;
}

.timeline-menu .arrow {
	width: 2.1333vw;
	height: 2.8667vw;
	background: url('../imgs/icon-arrow-2.svg') no-repeat 50% 50%;
	background-size: cover;
}

.timeline-menu.active .arrow {
	transform: rotate(180deg);
}

.mask {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
	cursor: pointer;
}

.mask.active {
	display: block;
}

body.active {
	overflow: hidden;
}

.timeline-container.xl-font {
	font-size: 6.4vw;
	line-height: 8.2667vw;
}

.timeline-container.l-font {
	font-size: 5.6vw;
	line-height: 8.2667vw;
}

.timeline-container.m-font {
	font-size: 5.0667vw;
	line-height: 8.2667vw;
}

.timeline-container.s-font {
	font-size: 4vw;
	line-height: 6.1333vw;
}

.timeline-container p * {
	font-size: inherit !important;
	font-family: inherit !important;
}

.timeline-menu {
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}
