@charset "utf-8";
.l_header {
	background: transparent;
}
main {

	padding: 40px 0 0;
	position: relative;
}
main::after{
	background: url(../img/history/history_bg.jpg) center / cover no-repeat;
	content:"";
	width:100%;
	height:100dvh;
	display:block;
	position:fixed;
	top:0;
	left:0;
	z-index: -1;
}
main::before{
	background:url(../img/history/cloud_bg.png) center / cover repeat-x;
	content:"";
	width:100%;
	height:100dvh;
	display:block;
	position: fixed;
	top:0;
	left:0;
	animation:cloudMove 60s linear infinite;
}
@keyframes cloudMove{
	from{background-position:0 0;}
	to{background-position:2000px 0;}
}
@media (max-width: 736px) {
	main {
		padding: 20px 0 0px;
	}
}

.history {
	width: 100%;
}
.history .history_scroll {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
	width: 92%;
	margin: 0 auto;
	left: 0;
	gap: 3%;
}
.history img {
	display: block;
	width: 100%;
}
.history .date {
	width: 11.5%;
	max-width: 150px;
	position: sticky;
	bottom: 0;
	left: 0;
	top: 130px;
	height: 100dvh;
	transition: all 0.5s;
	opacity: 1;
	align-self: flex-start;
}
.history .date ul {
	background: #FFF;
	height: fit-content;
	padding: 30px 18px;
}
.history .date ul li a {
	background: #FFF;
	height: fit-content;
	padding: 0 0 0 25px;
	display: flex;
	position: relative;
	font-family: Montserrat;
}
.history .date ul li + li {
	margin-top: 3px;
}
.history .date ul li a::before {
	background: transparent;
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	position: absolute;
	left: 0;
	top: 7px;
}
.history .date ul li.is_active a {
	font-weight: 700;
}
.history .date ul li.is_active a::before {
	background: #abecf4;
}

.history .marubiru {
	width: 18%;
	max-width: 420px;
	left: 145px;
	position: sticky;
	height: calc(100dvh - 130px);
	top: 130px;
	bottom: 0;
	transition: all 0.5s;
	opacity: 1;
	display: flex;
	align-items: flex-end;
}

.history .marubiru img {
	width: 115%;
}

.history .age {
	width: calc(100% - (18% + 11.5% + 6%));
	max-width: 880px;
	display: flex;
	flex-wrap: wrap;
	padding-right: 0;
	transition: all 0.5s;
	opacity: 1;
	padding-left: 0;
}
.history.in .date,
.history.in .marubiru,
.history.in .age {
	opacity: 0;
	visibility: hidden;
}
.history .age .age_ttl {
	width: 100%;
	margin: 0 auto;
	background: #f7ead7;
	padding: 20px 60px;
	width: fit-content;
	font-weight: 400;
	position: relative;
	margin-top: 80px;
}
.history .age .age_ttl::before,
.history .age .age_ttl::after {
	content: "";
	display: block;
	width: 2px;
	height: 180px;
	position: absolute;
	background: #f7ead7;
	top: -180px;
}
.history .age .age_ttl::before {
	left: 109px;
}
.history .age .age_ttl::after {
	right: 109px;
}
.history .age .age_ttl h2 {
	 background: linear-gradient(transparent 60%, #ffff00 40%);
	 font-family: Montserrat;
	 line-height: 1;
	 font-weight: 700;
	 font-size: 24px;
	 display: flex;
	 gap: 20px;
	 align-items: end;
	 width: fit-content;
	 padding: 0 10px;
	 margin-bottom: 10px;
}
.history .age .age_ttl h2::before,
.history .age .age_ttl h2::after {
	content: "";
	display: block;
	width: 20px;
	height: 15px;
	background: #dab787;
	position: absolute;
	top: -15px;
	z-index: 1;
}
.history .age .age_ttl h2::before {
	left:100px;
}
.history .age .age_ttl h2::after {
	right: 100px;
}
.history .age .age_ttl h2 strong {
	  font-size: 42px;
}
.history .age ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	width: 100%;
	margin: 90px 0 0;
}
.history .age ul li {
	display: flex;
	gap: 20px;
	width: 100%;
	position: relative;
	align-items: flex-start;
}
.history .age ul li + li {
	margin-top: 50px;
}
.history .age ul li > p {
	font-size: 32px;
	font-weight: 700;
	font-family: Montserrat;
	position: relative;
	display: flex;
	align-items: flex-start;
	width: 133px;
	height: 100%;
	line-height: 1;
}
.history .age ul li > p::before {
	position: absolute;
	background: #333;
	width: 2px;
	height: calc(100% + 50px);
	content: "";
	right: 11px;
	top: 0;
}
.history .age ul li:last-child > p::before {
	height: 0;
}
.history .age ul li > p::after {
	content: "";
	background: #FFF;
	border-radius: 100px;
	border: 2px solid #333333;
	display: block;
	width: 20px;
	height: 20px;
	right: 0;
	position: absolute;
}
.history .age ul li .age_image {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% - 135px);
}
.history .age ul li .age_image > p {
	width: 100%;
	font-size: 18px;
 	font-weight: 600;
}
.history .age ul li .age_image > p small {
	font-size: 15px;
 	font-weight: 500;
	vertical-align: super;
}
.history .age ul li .age_image > .age_image_gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
	margin-top: 10px;
}
.history .age ul li .age_image > .age_image_gallery > div {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: calc(50% - 10px);
}
.history .age ul li .age_image > .age_image_gallery > div p a {
	overflow: hidden;
	display: block;
	width: 100%;
	position: relative;
}
.history .age ul li .age_image > .age_image_gallery > div p a:has(img[src*="V"]) {
  aspect-ratio: 660/800;
}
.history .age ul li .age_image > .age_image_gallery > div p a:has(img[src*="H"]) {
  aspect-ratio: 660/460;
}
.history .age ul li .age_image > .age_image_gallery > div p a img {
	transform: scale(1);
	display: block;
	transition: all 0.3s;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	object-fit: cover;
}
.history .age ul li .age_image > .age_image_gallery > div p a:hover img {
	transform: scale(1.1,1.1);
}
.history .age ul li .age_image > .age_image_gallery .age_image_gallery_right {
	margin-top: 80px;
}
.history .born {
	display: flex;
	justify-content: center;
	align-items: end;
	padding: 100px 0 0;
	width: 100%;
	background: url(../img/history/bg_2030.png);
  background-size: cover;
	font-size: 26px;
	text-align: center;
	position: sticky;
	z-index: 1;
}
.history .born h2 {
	font-size: 42px;
	font-weight: 700;
}
.history .born .born_text {
	padding-bottom: 100px;
}
.history .born .born_text + p {
	position: relative;
	width: 25%;
	padding-top: 25%;
}
.history .born .born_text + p img {
	position: absolute;
	width: 100%;
	bottom: 0;
	opacity: 1;
	transition: all 0.5s ease;
}
.history .born .born_text + p img:first-child {
	opacity: 1;
}
.history .born .born_text + p img:last-child {
	opacity: 0;
}
.history .born.in .born_text + p img:first-child {
	opacity: 0;
}
.history .born.in .born_text + p img:last-child {
	opacity: 1;
}
@media (max-width: 736px) {
	.date {
		display: none;
	}
	.history .age {
		width: 100%;
	}
	.history .age::before {
		content: "";
		display: block;
		width: 120px;
		height: 120px;
		position: absolute;
		left: 20px;
		top: 20px;
		background: url(../img/history/balloon.png) 0 0 / contain no-repeat;
	}
	.history .age .age_ttl {
    padding: 20px 100px 20px 20px;
		font-size: 11px;
		margin-top: 100px;
	}
	.history .age .age_ttl h2 {
		flex-direction: column;
		font-size: 15px;
		background: none;
		align-items: baseline;
		text-align: left;
		gap: 15px;
		padding: 0;
	}
	.history .age .age_ttl h2 strong {
		background: linear-gradient(transparent 80%, #ffff00 20%);
		font-size: 30px;
	}
	.history .age .age_ttl h2::before, .history .age .age_ttl h2::after {
		width: 10px;
    height: 7px;
		top: -7px;
	}
	.history .age .age_ttl h2::before {
		right: 40px;
    left: auto;
	}
	.history .age .age_ttl h2::after {
		left: 40px;
	}
	.history .age .age_ttl::before {
		left: 44px;
	}
	.history .age .age_ttl::after {
		right: 44px;
	}
	.history .age_ttl img {
		position: absolute;
		width: 65px;
		height: 160px;
		object-fit: contain;
		z-index: 1;
		right: 20px;
		left: auto;
		bottom: 0;
	}
	.history .age ul {
		margin-top: 50px;
	}
	.history .age ul li {
		flex-direction: column;
		width: 100%;
		position: relative;
		gap: 10px;
	}
	.history .age ul li:before {
		width: 1px;
		height: calc(100% + 52px);
		top: 8px;
		position: absolute;
		background: #000;
		content: "";
	}
	.history .age ul li:last-child:before {
		height: 0;
	}
	.history .age ul li > p {
		justify-content: end;
		padding-left: 20px;
		width: fit-content;
		font-size: 21px;
	}
	.history .age ul li > p::after {
		left: 0;
		right: inherit;
		width: 10px;
		height: 10px;
		left: -6px;
		top: 4px;
	}
	.history .age ul li > p::before {
    display: none;
	}
	.history .age ul li .age_image {
		width: 100%;
		padding-left: 20px;
	}
	.history .age ul li .age_image > p {
		margin-bottom: 10px;
		font-size: 14px;
	}
	.history .age ul li .age_image > .age_image_gallery {
		margin-top: 0;
	}
	.history .age ul li .age_image > .age_image_gallery > div {
		width: 100%;
	}
	.history .age ul li .age_image > .age_image_gallery > div p a:hover img {
		transform: scale(1);
	}
	.history .age ul li .age_image > .age_image_gallery .age_image_gallery_right {
		margin-top: 0;
	}
	.history .age ul li .age_image > p small {
		font-size: 11px;
	}
	.history .born h2 {
		font-size: 21px;
		margin-bottom: 10px;
	}
	.history .born {
		font-size: 14px;
		flex-direction: column-reverse;
		width: 100%;
		align-items: center;
		padding-bottom: 50px;
	}
	.history .born .born_text {
		padding-bottom: 0px;
	}
	.history .born .born_text p {
		line-height: 2.5;
	}
	.history .born .born_text + p {
		width: 100%;
		padding-top: 100%;
	}
	.history .born .born_text + p img {
		mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
	}
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor: pointer !important;
}

.l_footer {
	position: sticky;
	z-index: 10;
}