@charset "UTF-8";

.topVideo {
	width: 100%;
	height: calc(100vw * 0.52);
	overflow: hidden;
	top: 0px;
	background-color: #0e3574;
}

.topVideo .video {
	width: 100%;
    position: absolute;
}

.TextAnimation{
    display: inline-block;
	width: 100%;
	position: absolute;
	top: 73%;
}

.TextAnimation ul {
    display: inline-block;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.TextAnimation ul li {
    white-space: nowrap;
	visibility: hidden;
	display: inline-block;
	text-align: center;
	width: 100%;
}

.TextAnimation ul li span.ja span {
	font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: normal;
	font-size: calc(100vw * 0.015);
	line-height: 1.5em;
	margin: 0;
}

.TextAnimation ul li span.ja2 span {
	font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: normal;
	font-size: calc(100vw * 0.03);
	line-height: 1.2em;
	margin: 0;
}

.TextAnimation ul li span.en span {
	font-family: "Urbanist", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.05em;
	font-size: 50px;
	line-height: 1em;
	top: -10px;
}

.TextAnimation ul li span {
    animation: text_anime_on 0.5s ease-out forwards;
    display: inline-block;
    opacity: 0;
    color: #ffffff; /* 他のテキストは白色に設定 */
	text-shadow: 2px 0 2px rgb(0, 0, 0, 0.2), -2px 0 2px rgb(0, 0, 0, 0.2), 0 2px 2px rgb(0, 0, 0, 0.2), 0 -2px 2px rgb(0, 0, 0, 0.2);
    font-size: 30px;
}


.TextAnimation ul li span.slogan_en {
	margin: 0 0.5em 0 0;
}

@keyframes text_anime_on {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.TextAnimation ul li {
    visibility: hidden; /* 初期状態で非表示 */
    transition: opacity 1s ease-out;
}

.TextAnimation ul li span.ja2 br,
.TextAnimation ul li span.ja br {
	display: none;
}

.TextnoAnimation {
	display: none;
}


/* ------------------------------------------------------ */
@media only screen and (max-width : 1200px) {
/* ------------------------------------------------------ */
	
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 768px) {
/* ------------------------------------------------------ */
	
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 820px) {
/* ------------------------------------------------------ */
section#TopPage {
	line-height: 1.5em;
}

.topVideo .video {
	bottom: 0;
}

.TextAnimation ul li span.ja span {
	font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: normal;
	font-size: calc(100vw * 0.02);
}

.TextAnimation {
	top: auto;
	bottom: 5%;
}
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 600px) {
/* ------------------------------------------------------ */
.TextnoAnimation {
	display: inline-block;
	color: #ffffff;
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: normal;
	font-size: calc(100vw * 0.035);
}

.TextnoAnimation ul {
	list-style: none;
	text-align: center;
	margin: 0;
	padding: 0;
}

.TextnoAnimation ul li span.ja {
	font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: normal;
	font-size: calc(100vw * 0.035);
	line-height: 1.5em;
	white-space: nowrap;
	text-shadow: 2px 0 2px rgb(0, 0, 0, 0.2), -2px 0 2px rgb(0, 0, 0, 0.2), 0 2px 2px rgb(0, 0, 0, 0.2), 0 -2px 2px rgb(0, 0, 0, 0.2);
}

.TextAnimation.pc {
	display: none;
}
	
.topVideo {
	width: auto;
	height: 50vh;
	overflow: hidden;
	top: 0px;
}

.topVideo .video {
	width: auto;
	height: 100%;
	left: 50%;
	transform: translateX(-50%);
}

section#TopPage {
	line-height: 1em;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 420px) {
/* ------------------------------------------------------ */
section#TopPage {
	line-height: 0.8em;
}

}