@charset "utf-8";

/*---------------------------------------------------------------------
	リセットCSS
---------------------------------------------------------------------*/
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.min.css */
*,::before,::after{box-sizing:border-box;border-style:solid;border-width:0}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}p,table,blockquote,address,pre,iframe,form,figure,dl{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;margin:0}ul,ol{margin:0;padding:0;list-style:none}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border-top-width:1px;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}svg,img,embed,object,iframe{vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;background:transparent;padding:0;margin:0;border-radius:0;text-align:inherit;text-transform:inherit}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer}button:disabled,[type="button"]:disabled,[type="reset"]:disabled,[type="submit"]:disabled{cursor:default}:-moz-focusring{outline:auto}select:disabled{opacity:inherit}option{padding:0}fieldset{margin:0;padding:0;min-width:0}legend{padding:0}progress{vertical-align:baseline}textarea{overflow:auto}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type="number"]{-moz-appearance:textfield}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]:focus{outline:auto}table{border-color:inherit;border-collapse:collapse}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:700}

/* Gナビの虫眼鏡のレイアウト崩れ対応用 */
svg{vertical-align:baseline}

/*---------------------------------------------------------------------
	基本設定
---------------------------------------------------------------------*/
html {
	font-family: "Jost", 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', Verdana, sans-serif;
	font-size: 62.5%;
}
body {
	font-family: "Jost", 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', Verdana, sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: #000033;
	word-break: break-word;
	-webkit-text-size-adjust: 100%;
}
html,
body {
	overflow-anchor: none;
}
@media only screen and (max-width: 640px) {
	body {
	}
}
@media print, screen and (min-width: 641px) {
	body {
		min-width: 1240px;
		font-size: 1.8rem;
	}
}

.noto-serif {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}

/* デフォルトリンクカラー */
a, a:link {
	color: #0000DE;
}
a:visited {
	color: #941D55;
}
a:active,
a:hover {
	color: #CC0000;
}
a:focus {
	color: #CC0000;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

/* FireFox リンク選択時の点線を消す */
a:link,
a:visited,
a:active,
a:hover {
	overflow: hidden;
	outline: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

figure {
	padding: 0;
	margin: 0;
}

sup {
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
	position: relative;
	top: -0.5em;
}

/*---------------------------------------------------------------------
	印刷設定
---------------------------------------------------------------------*/
@media print {
	.hero-stage {
		display: none !important;
	}

	#timeline-main .year-head,
	#timeline-main .event-box,
	#timeline-sub .year-head,
	#timeline-sub .event-box {
		opacity: 1 !important;
	}
}

/*---------------------------------------------------------------------
	非表示設定
---------------------------------------------------------------------*/
@media only screen and (max-width: 640px) {
	.hide-sp {
		display: none !important;
	}
}
@media print, screen and (min-width: 641px) {
	.hide-pc {
		display: none !important;
	}
}

.hide-text {
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
	list-style-type: none;
	height: 0;
	overflow: hidden;
}

/*---------------------------------------------------------------------
	bg-wrap
---------------------------------------------------------------------*/
#timeline .bg-wrap {
	/* background: linear-gradient(-45deg, #52b7e3 0%, #52b7e3 36%, #e993ba 64%, #e993ba 100%); */
	background:linear-gradient(
	-45deg,
	color-mix(in srgb,#52b7e3 80%,#fff) 0%,
	color-mix(in srgb,#52b7e3 80%,#fff) 36%,
	color-mix(in srgb,#e993ba 80%,#fff) 64%,
	color-mix(in srgb,#e993ba 80%,#fff) 100%
	);
	background-size: 220% 220%;
	background-position: 50% 50%;
	background-repeat: no-repeat;

	animation: gradientMove 6s ease-in-out infinite alternate;

	position: fixed;
	inset: 0;
	z-index: -1;
}
@keyframes gradientMove {
	0% {
		background-position: 30% 60%;
	}
	50% {
		background-position: 45% 55%;
	}
	100% {
		background-position: 20% 80%;
	}
}

/*---------------------------------------------------------------------
	年代追従 (period-box)
---------------------------------------------------------------------*/
#timeline .period-box {
	position: relative;
}

#timeline .period-box .period-label {
	writing-mode: vertical-rl;
	pointer-events: none;
	position: absolute;
}
#timeline .period-box .period-label.is-fixed {
	position: fixed;
}
#timeline .period-box .period-label::after {
	content: var(--period-label);
	line-height: 1.0;
	writing-mode: vertical-rl;
	color: #fff;
	opacity: .40;

	position: absolute;
}

/*** 年代追従：func.js (Era Gradient) ***/
#timeline .period-box {
	position: relative;
}

#timeline .period-box .period-label {
	writing-mode: vertical-rl;
	pointer-events: none;
	position: absolute;
}
#timeline .period-box .period-label.is-fixed {
	position: fixed;
}
#timeline .period-box .period-label::after {
	content: var(--period-label);
	line-height: 1.0;
	writing-mode: vertical-rl;
	color: #fff;
	opacity: .40;

	position: absolute;
}
@media only screen and (max-width: 640px) {
	#timeline .period-box {
		min-height: 640px;
	}
	#timeline .period-label {
		height: calc(330 / 375 * 100vw);
	}
	#timeline .period-box .period-label::before,
	#timeline .period-box .period-label::after {
		font-size: calc(104 / 375 * 100vw);

		top: 3.6vw;
		left: 64vw;
	}
}
@media print, screen and (min-width: 641px) {
	#timeline .period-box {
		min-height: 680px;
	}
	#timeline .period-label {
		height: 640px;
	}
	#timeline .period-box .period-label::before,
	#timeline .period-box .period-label::after {
		font-size: 20rem;

		top: 30px;
		left: 620px;
	}
}

/*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
#timeline #header {
	background: #fff;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	transform: translateY(-100%);
	opacity: 1;
	pointer-events: none;
}
#timeline #header.is-scroll-header {
	transform: translateY(-100%);
	opacity: 1;
	pointer-events: auto;
}
#timeline #header:not(.is-scroll-header):not(.is-header-wrapper) {
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
}
#timeline #header.is-scroll-header.is-header-slide {
	animation: headerSlideIn 1.0s ease forwards;
}
@keyframes headerSlideIn {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}
#timeline #header.is-header-hide {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	animation: none;
}
#timeline #header.is-header-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	transform: none;
	opacity: 1;
	pointer-events: auto;
	transition: none;
}

#timeline #header-inner {
	width: 100%;
	position: relative;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

#timeline #header h1 {
	position: absolute;
}
#timeline #header #counter {
}
#timeline #header #counter p {
}

#timeline #header .share-group {
	color: #555;
	position: absolute;
	right: 0;
}
#timeline #header .share-button {
	background: #fff;
	text-align: center;
	position: relative;
	z-index: 2;

	display: flex;
	align-items: flex-end;
	justify-content: center;
}
#timeline #header .share-button::before {
	display: inline-block;
	content: '';
	background: #555;
	mask: url(../images/icon-share.svg) center / contain no-repeat;
	position: absolute;
	right: 50%;
	transform: translateX(50%);
}
#timeline #header .share-content {
	background: #fff;

	transform: translateY(-100%);
	transition: transform 0.4s ease;

	position: relative;
	/* z-index: -1; */
}
#timeline #header .share-content li {
	width: 100%;
}
#timeline #header .share-content li:last-child {
	margin: 0 auto;
}
#timeline #header .share-content.is-open {
	transform: translateY(0);
}

#timeline #header .share-content #share-link a {
	cursor: pointer;
}
#timeline #header .share-content #copy-text {
	background: #555;
	color: #fff;
	white-space: nowrap;
	pointer-events: none;
	padding: 0.6em 1.8em;
	border-radius: 0.6em;
	position: fixed;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility 0s linear .4s;
}
#timeline #header .share-content #copy-text.is-show {
	opacity: 1;
	visibility: visible;
	transition: opacity .4s ease;
}

@media only screen and (max-width: 640px) {
	#timeline #header {
		padding: 2.4vw 0 2.4vw 3.2vw;
	}
	#timeline #header-inner {
		height: calc(26 / 375 * 100vw);
	}
	#timeline #header h1 {
		width: calc(54 / 375 * 100vw);
		left: 0;
	}
	#timeline #header #counter p {
		font-size: calc(14 / 375 * 100vw);
		transform: translateY(-2px);
	}
	#timeline #header #counter p span {
		font-size: calc(24 / 375 * 100vw);
		margin: 0 0 0 0.1em;
	}
	#timeline #header a#backToHero {
		font-size: calc(10 / 375 * 100vw);
	}

	#timeline #header .share-group {
		top: -2.4vw;
	}
	#timeline #header .share-button {
		width: calc(5.4vw * 2 + 26 / 375 * 100vw);
		height: calc(2.4vw * 2 + 26 / 375 * 100vw);
		font-size: calc(10 / 375 * 100vw);
		padding: 0 0 0.8vw;
	}
	#timeline #header .share-button::before {
		width: calc(28 / 375 * 100vw);
		height: calc(28 / 375 * 100vw);

		top: 0.4vw;
	}
	#timeline #header .share-content {
		width: calc(5.4vw * 2 + 26 / 375 * 100vw);
		padding: 6.4vw 3.2vw;
	}
	#timeline #header .share-content li {
		margin: 0 auto 4.8vw;
	}

	#timeline #header .share-content #copy-text {
		font-size: calc(12 / 375 * 100vw);
		padding: 0.6em 1.8em;
		border-radius: 0.6em;

		top: calc(2.4vw * 2 + 6.4vw + (2.2vw * 2 + 26 / 375 * 100vw) * 2 + 3.6vw * 2);
		right: calc(1.0em + 5.4vw * 2 + 26 / 375 * 100vw);
	}
}
@media print, screen and (min-width: 641px) {
	#timeline #header {
		padding: 0 0 0 32px;
	}
	#timeline #header-inner {
		height: 74px;
	}
	#timeline #header h1 {
		width: 98px;
		left: 0;
	}
	#timeline #header h1 a {
		display: block;
		transition: 0.3s ease-in-out;
	}
	#timeline #header h1 a:hover {
		opacity: 0.7;
	}
	#timeline #header #counter p {
		font-size: 2.0rem;
		transform: translateY(-4px);
	}
	#timeline #header #counter p span {
		font-size: 3.6rem;
		margin: 0 0 0 0.5em;
	}

	#timeline #header .share-group {
		top: 0;
	}
	#timeline #header .share-button {
		width: 80px;
		height: 74px;
		font-size: 1.2rem;
		padding: 0 0 10px;
	}
	#timeline #header .share-button::before {
		width: 36px;
		height: 36px;

		top: 14px;
	}
	#timeline #header .share-content {
		width: 80px;
		padding: 24px 18px;
	}
	#timeline #header .share-content li {
		margin: 0 auto 20px;
	}
	#timeline #header .share-content li a {
		display: block;
		transition: 0.3s ease-in-out;
	}
	#timeline #header .share-content li a:hover {
		opacity: 0.7;
	}

	#timeline #header .share-content #copy-text {
		padding: 0.6em 1.8em;
		border-radius: 0.6em;

		top: 154px;
		right: 90px;
	}
}

/*---------------------------------------------------------------------
	フッター
---------------------------------------------------------------------*/
#timeline #footer {
	position: relative;
	z-index: 3;
}
#timeline #footer-inner {
}
#timeline #footer-inner p {
	font-weight: 500;
	line-height:1.5;
	color: #000033;
	text-align: center;
	margin: 0;
}
#timeline #footer-inner p a,
#timeline #footer-inner p a:link,
#timeline #footer-inner p a:visited {
	color: #000033;
	text-decoration: none;
}
#timeline #footer-inner p a:active,
#timeline #footer-inner p a:hover {
	color: #000033;
	text-decoration: underline;
}
#timeline #footer-inner p a:focus {
	color: #000033;
}
@media only screen and (max-width: 640px) {
	#timeline #footer {
		width: 90%;
		font-size: calc(10 / 375 * 100vw);
		padding: 4.0vw 0 42.6vw;
		margin: 0 auto;
	}
}
@media print, screen and (min-width: 641px) {
	#timeline #footer {
		font-size: 1.4rem;
		padding: 4.0vw 1.0em;
	}
}

/*---------------------------------------------------------------------
	GLightbox
---------------------------------------------------------------------*/
.glightbox-mobile .goverlay,
.glightbox-container .goverlay {
	background:rgba(255, 255, 255, .8) !important;
}
.glightbox-container .gclose.disabled,
.glightbox-container .gnext.disabled,
.glightbox-container .gprev.disabled {
	opacity: 0 !important;
}
.glightbox-clean .gslide-media {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.glightbox-container .gslide-description {
	display: block !important;
	opacity: 1.0 !important;
	visibility: visible !important;
}
.glightbox-container .gslide-title,
.glightbox-container .gslide-desc {
	display: block !important;
}
.glightbox-container .gslide-description {
	background: rgba(255, 255, 255, .8) !important;
	color: #000033;
	min-height: 1.0em;
	box-sizing: border-box;
}
.glightbox-container.no-caption .gslide-description {
	background: transparent !important;
}
.glightbox-container .gslide-desc {
	font-weight: 600;
}

.glightbox-container .gslide-image img {
	width: 90vw !important;
	height: auto !important;
	max-width: 90vw !important;
	max-height: 80vh !important;
	object-fit: contain;
}

@media only screen and (max-width: 640px) {
	.glightbox-container .gprev,
	.glightbox-container .gnext {
		display: flex !important;
		visibility: visible !important;
		opacity: 1.0 !important;
		width: 44px;
		height: 60px;
		align-items: center;
		justify-content: center;
	}
	.glightbox-container .gprev {
		top: calc(50% - 30px) !important;
		left: 0 !important;
	}
	.glightbox-container .gnext {
		top: calc(50% - 30px) !important;
		right: 0 !important;
	}

	.glightbox-container .gslide-image img {
		max-width: 90%;
		width: 100%;
	}
	.glightbox-container .ginner-container {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.glightbox-container .gslide-media {
		flex: 0 1 auto;
		margin: 0 !important;
	}
	.glightbox-container .gslide-description {
		position: static !important;
		flex: 0 0 auto;
		width: 90% !important;
		max-width: 90% !important;
		margin: 0.6em 0 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
		text-align: center;
	}
	.glightbox-clean .gdesc-inner {
		text-align: left;
		padding: 1.8vw 1.0em 1.6vw !important;
	}
	.glightbox-container .gslide-desc {
		font-family: initial !important;
		font-size: calc(12 / 375 * 100vw) !important;
		color: #000033 !important;
	}
}
@media print, screen and (min-width: 641px) {
	.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
		background-color: rgba(0, 0, 0, .7) !important;
		transition: 0.3s ease-in-out;
	}
	.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover {
		background-color: rgba(0, 0, 0, .3) !important;
	}
	.glightbox-clean .gclose {
		opacity: unset !important;
	}
	.glightbox-container .gslide-image img {
		max-width: 90%;
		max-height: 90vh;
	}
	.glightbox-container .gslide-desc {
		font-family: initial !important;
		font-size: 1.3rem !important;
		text-align: center;
	}
	.glightbox-clean .gdesc-inner {
		padding: 14px 1.0em 12px !important;
	}
}

html.is-tablet .glightbox-container .gslide-desc,
html.is-tablet .glightbox-clean .gslide-desc {
	font-family: initial !important;
	font-size: 1.6rem !important;
	text-align: left;
}
