@charset "utf-8";

/*--------------------------------------------------------------
  トップ　ビデオ用
--------------------------------------------------------------*/
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明の背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 他のコンテンツの上に表示 */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db; /* スピナーの色 */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite; /* アニメーションの定義 */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 読み込みが完了したらスピナーを非表示にする例 (JavaScriptと連携) */
.spinner-container.hidden {
    display: none;
}
/*--------------------------------------------------------------
  トップページのビデオ表示
--------------------------------------------------------------*/


/* 動画表示要素 */
.video-container {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100dvh;
	overflow: hidden;
}

.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

#background-video {
	pointer-events: none;
}

/* ビューポートのアスペクト比が16:9よりも横長の場合のスタイル */
@media (min-aspect-ratio: 16/9) {
	.video-container video {
		width: 100vw;
		/* ビューポートの幅に合わせる */
		height: auto;
		/* 高さは自動で調整される */
	}
}

/* 動画の上に乗せる文字 */
.text-content-inner {
	position: absolute;
	top: 50%;
	/* 位置を調整 */
	left: 50%;
	/* 位置を調整 */
	transform: translate(-50%, -50%);
	color: #000;
	/* テキストの色 */
	text-align: center;
	z-index: 10;
	/* ビデオの上に表示 */
}

.maintitle {
	display: flex;
	justify-content: center;
	align-items: center;
}

.maintitle>div {
	font-size: clamp(2.5rem,3.5vw,4rem);
	line-height: 1;
	font-weight: 500;
	color: #fff;
	text-shadow: 0px 0px 15px rgb(var(--main-color) / 1.0);
}

.subtitle {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1rem 0 0 0;
}

.subtitle>div {
	font-size: clamp(1rem,1.3vw,1.5rem);
	line-height: 1;
	font-weight: 400;
	color: #fff;
	text-shadow: 0px 0px 8px rgb(var(--main-color) / 1.0);
}

@media (max-width: 767.98px) {

	/* sm 以下の画面サイズの場合のスタイル */
	.maintitle>div {
		font-size: 7vw;
	}

	.subtitle>div {
		margin: 1rem 0 0 0;
		font-size: 3vw;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {

	/* md の画面サイズの場合のスタイル */
	.maintitle>div {
		font-size: 7.5vw;
	}

	.subtitle>div {
		margin: 2rem 0 0 0;
		font-size: 2.7vw;
	}
}

@media (min-width: 992px) {
	/* lg 以上の画面サイズの場合のスタイル */
}





