@charset "UTF-8";
@import url('style.css');
/* CSS Document */

.background-container {
    position: relative;
    height: 100vh;
    overflow: hidden; /* 動画のオーバーフローを隠す */
}

video#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画をコンテナにフィットさせる */
    z-index: -2; /* 背景として使用するため、他の要素よりも背面に配置 */
}



.firstview{
position: relative; /* 要素を相対的な位置に配置するため */
 width: 100vw;
height: 100vh;
    text-align: center;
}
    
.logo{
position: fixed; /* 相対的な位置に配置された親要素を基準に配置するため */
  top: 50%;
  left: 50%;
    width: 100%; /* 親にあわせる */
    max-width: min(75%, 500px); /* 80%または500pxのうち小さい方が適用される */
  height: auto; /* 高さを自動調整する */
  transform: translate(-50%, -50%);
    z-index: -1;
    }

.scroll{
/*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:50%;
	bottom:10px;
    /*全体の高さ*/
	height:50px;

}

/*Scrollテキストの描写*/
.scroll span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scroll::after {
    content: "";
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
    top: 0;
    width: 1px;
    height: 30px;
    background: #eee;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}






/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}
/*スクロールここまで*/

#logo{
    width: 70vw;
flex-shrink: 0;
}

