html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/*メニュー固定*/
.ast-builder-grid-row{
/* 	position:fixed; */
}


/*フェードイン*/
.load-fade {
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
}
.load-fade.is-show {
  opacity: 1;
  visibility: visible;
}



// 読み込み時にふわぁっと表示させる
.siteFadeIn {
  position: fixed;
  z-index: 9999999999;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  display: block;
  background-color: #fff; // サイトのベースカラーと同じ色を指定
  pointer-events: none;
  filter: opacity(1);
}
.siteFadeIn&.opc {
  filter: opacity(0);
  transition: filter 1s ease-in; // 表示させる速さを指定
}



.background-scroll {
  /* background-image: url('image/IMG_0751.mp4'); 画像のパスを指定 */
  /* background-repeat: repeat-y; 縦方向にリピート */
  /* background-position: 0 0; 初期位置 */
  animation: scrollBackground 100s linear infinite; /* アニメーションを定義 */
/*   height: 100vh; 必要に応じて調整 */
/*   width: 100vw; 必要に応じて調整 */
}

@keyframes scrollBackground {
  to {
    background-position: 0 100%; /* 最終的な背景位置 (画像の高さ分上に移動) */
  }
}


@font-face {
  font-family: 'MisakiGothic2nd';
  src: url('font/MisakiGothic2nd.woff2') format('woff2'),
      url('font/MisakiGothic2nd.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 美咲ゴシック */
.font7{
  font-size: 20px;
  font-family: 'MisakiGothic2nd';
}

/* .movie_bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #000;
} */

/* .movie_bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
} */


.video-background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #000;
}


/* iframeを背景としてフィットさせるためのスタイル */
.video-background iframe {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); 
	width: 100vw;
	height: 56.25vw; 
	object-fit: cover; 
	min-width: 100%;
    min-height: 100vh;
	pointer-events: none;
	min-width: 177.77777778vh;
}




.container {
  position: relative;
	z-index: 1;
	padding-top:0px;
	background:rgba(0,0,0,0.5);
}

.parallax-container0{
    background: rgba(0,0,0,0.7);
  padding: 10px;
  margin: 0 0 30px 0;
}




.parallax-container{
  background: rgba(255,255,255,0.5);
  padding: 10px;
  margin: 0 30px 30px 30px;
}


/* 動画を全画面に固定表示 */
#scrollVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


/* 十字キー */
.scroll-controls {
  position: fixed;
  bottom: 50px;
  right: 20px;
  display: grid;
  grid-template-columns: 40px 40px 40px;
  grid-template-rows: 40px 40px 40px;
  gap: 5px;
  z-index: 1000;
}

.scroll-controls button {
  width: 40px;
  height: 40px;
padding-top:0;
padding-right:0;
padding-bottom:0;
padding-left:0;
  font-size: 20px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* 押している間だけ色が変わる */
.scroll-controls {
  position: fixed;
  bottom: 50px;
  right: 20px;
  display: grid;
  grid-template-columns: 40px 40px 40px;
  grid-template-rows: 40px 40px 40px;
  gap: 5px;
  z-index: 1000;
}

.scroll-controls button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.scroll-controls button:active,
.scroll-controls button.active {
  background-color: #aaa;
  color: white;
}

#scroll-up    { grid-column: 2; grid-row: 1; }
#scroll-left  { grid-column: 1; grid-row: 2; }
#scroll-down  { grid-column: 2; grid-row: 3; }
#scroll-right { grid-column: 3; grid-row: 2; }


.top_article1_container{
	width:900px;
	height:500px;
	display:flex;
	align-items:center;
	margin:0 auto;
}

.top_article1{
	height:500px;
	width:900px;
}

.top_article1_h2{
	color:#fff;
	font-size:40px;
}

.top_article2_container{
	display:flex;
	justify-content:center;	
}

.top_article2{
	display:flex;
	width:900px;
	justify-content:space-between;
}

.top_article2_left_h2{
	font-size:25px;
	color:#fff;
	line-height:200%;
}

.top_article2_right{
	width:500px;
}

.top_article2_text{
	text-align:justify;
	color:#fff;
}

.top_article3_container{
	display:flex;
	justify-content:center;	
	margin:100px 0 100px 0;
}

.top_article3_img{
	width:500px;
}

.top_article4_container{
	display:flex;
	justify-content:center;
	margin:0 0 100px 0;
}

.top_article4{
	display:flex;
	width:900px;
	justify-content:space-between;
}

.top_article5_container{
	display:flex;
	justify-content:center;
	margin:0 0 100px 0;
}

.top_article5{
	display:flex;
	width:900px;
	justify-content:space-between;
}

.top_article5_left_text{
	text-align: justify;
    color: #fff;
}

.top_article5_left_h2{
	font-size:25px;
	color:#fff;
}


.top_article5_right {
    position: relative;
}


.top_article5_right_text {
    position: absolute;
    text-align: center;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    margin: 0;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    width: 100%;
}
