/* ---------------------------------------------------------------------------
 * common
--------------------------------------------------------------------------- */
a {
	color: #fff;
}

/* ヘッダーを表示制御 */
body {
	overflow: hidden;
}

body.opning-end {
	overflow: auto;
}

/* ヘッダーを表示制御 */
#generalHeader {
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 1s ease,
		visibility 1s ease;
}

.opning-end #generalHeader {
	opacity: inherit;
	visibility: inherit;
}

/* コンテンツを表示制御 */
/* .contents{
	visibility: hidden;
}
body.opning-end .contents {
	visibility: visible;
} */

/* =============================================
 opening
============================================= */
.opening {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	background-color: #000;
}

.video-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #000;
	z-index: 999;
	transition:
		opacity 1s ease,
		visibility 1s ease;
	font-size: min(4.75vw, 2.5em);
}

.catch{
	font-family: "Ryumin Bold KL";
	transform: translateX(0.5em);
}

.video-container .catch{
	min-height: 1.5em;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    /* font-size: min(4.75vw, 2.5em); */
}

.opning-end .video-container {
	opacity: 0;
	visibility: hidden;
}

.opening-video {
	width: 100%;
	/* height: 100%; */
	/* max-width: 100vw; */
	max-width: 1000px;
	/* max-height: calc(100vh - 1.5em); */
	max-height: 100vh;
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.opening-video iframe,
.opening-video video {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

/**/
#js-muteToggle {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 100;
}
.volume-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
}
.material-icons {
	font-size: 30px;
}

.skip-btn {
	max-width: 5em;
	padding: 0.5em 1em;
	background: #000;
	border: 1px solid #fff;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: calc(50% + 28.125vw + 20px);
	z-index: 100;
	font-size: min(5vw, 1.125rem);
	text-align: center;
	cursor: pointer;
}
@media print, screen and (min-width:641px) {
	.skip-btn {
		left: inherit;
		top: inherit;
		transform: inherit;
		bottom: 10px;
		right: 10px;
	}
}

/* =============================================
 animation
============================================= */
#js-mainVisual{
	display: block;
	clip-path: inset(0 50% 0 50%);
}


/* scroll-guide */
.scroll-guide {
	position: sticky;
    margin: 0 10px 0 auto;
	right: min(5vw, 30px);
	bottom: 0;
}

.scroll-guide-inner{
	position: absolute;
	right: 0;
	bottom: 0;
}
.scroll-guide-inner::before{
	content: "SCROLL";
	position: absolute;
	top: 0;
	left: 50%;
    transform: translate(-50%, -110%);
	font-size: 10px;
	font-family: 'Roboto';
	font-weight: bold;
	letter-spacing: 0.2em;
	writing-mode: vertical-rl;
	color: #fff;
}

.scroll-line-wrap {
	width: 1px;
	height: 80px;
	background: rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.scroll-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	transform: translateY(-100%);
	animation: scrollLoop 2s infinite;
}
@keyframes scrollLoop {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

/* 初期非表示 */
.js-scramble-text,
.js-program-left,
.js-program-right,
.js-section,
.js-fade-in {
	opacity: 0;
	visibility: hidden;
}

/* =============================================
 countdown
============================================= */
.countdown-container {
	width: 90%;
	min-height: min(120vw, 800px);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 2s ease-in-out;
	color: #fff;
	font-family: "Ryumin Bold KL";
	text-align: center;
}

.num_hidden {
	visibility: hidden;
	font-size: 0;
	font-family: "Ryumin Bold KL";
}

.lead {
	/* margin-bottom: 0.5em; */
	font-size: min(4.75vw, 3em);
	text-align: center;
	font-weight: bold;
	line-height: 1.5;
}

.countdown-container .catch{
	margin-bottom: 1.25em;
	display: block;
	/* font-size: 1.25em; */
}

.lead .eng {
	position: relative;
	top: 0.03em;
	font-size: 1.25em;
}

/* .lead .jp {
	font-family: "Ryumin Bold KL";
} */

.lead span {
	display: inline-block;
}

.timer {
	display: flex;
	/* align-items: center; */
	font-size: min(12vw, 6em);
	font-weight: bold;
}


.is-visible {
	opacity: 1;
}

.separator {
	display: inline-block;
	line-height: 1.2em;
	position: relative;
	top: -0.1em;
	margin: 0 0.1em;
}

.unit-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.label {
	font-size: 0.2em;
	margin-top: 5px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.5;
	order: 1;
}

/* --- フリップ演出設定 --- */
.timer-unit {
	display: inline-block;
	min-width: 2.4ch;
	height: 1.2em;
	overflow: hidden;
	position: relative;
	vertical-align: middle;
}

.flip-wrapper {
	display: flex;
	flex-direction: column;
	transform: translateY(-1.2em);
	transition: transform 0s;
	will-change: transform;
}

.flip-wrapper.is-flipping {
	transform: translateY(0) !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.num {
	display: block;
	height: 1.2em;
	line-height: 1.2em;
	text-align: center;
}