html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue", sans-serif;

}

#container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: auto; /* ← Safari安定化ポイント */
}

.section {
	position: relative; /* ボタンの配置基準 */
	scroll-snap-align: start;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	color: white;
	text-align: center;

	box-sizing: border-box;
	

}
.section.snap-end {
  scroll-snap-align: end;
}


.section01 { height: calc(var(--vh, 1vh) * 100);}
.section02 { height: calc(var(--vh, 1vh) * 100);}
.section03 { height: calc(var(--vh, 1vh) * 100);}


.section04 { height: calc(var(--vh, 1vh) * 100);}
.section05 { height: calc(var(--vh, 1vh) * 100);}
.section06 { height: calc(var(--vh, 1vh) * 100); flex-direction: column;}
/* .section05 { background: #008; height: calc(var(--vh, 1vh) * 100);	border: solid 20px rgba(255,255,0,0.5);} */
/* min-height: calc(var(--vh, 1vh) * 100); height: auto;*/



@media screen and (max-width: 800px) {
	.section03 { min-height: calc(var(--vh, 1vh) * 100); height: auto;}
	.section04 { min-height: calc(var(--vh, 1vh) * 100); height: auto;}
}

.fv-text h1 {
	
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.fv-text p {
  font-size: 1.2rem;
}

.dummy p {
  margin: 20px 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

/* ボトムボタンの親コンテナ */
.section-bottom {
  /* position: absolute; */
  /* bottom: 80px; /* 余白を確保して配置 */
  /* left: 50%; */
  /* transform: translateX(-50%); */

	display: flex;
	justify-content: center;
	margin-top: auto;

	padding-bottom: 10vmin;
}
.section-bottom-position {
  position: absolute;
  bottom: 10vmin; /* 余白を確保して配置 */
  left: 50%;
  transform: translateX(-50%);
}




/********** button scroll **********/
.next-btn {
  display: block;
  color: #666666;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
  opacity: 1;
  transition: all .5s ease-in 3s;
  font-size: 16px;
  position: relative;
	margin-bottom: 2vmin;
}

/* 矢印のアニメーション */
.next-btn::before {
  position: absolute;
  top: calc(50% + 24px);
  left: calc(50% - 8px);
  transform: rotate(-45deg);
  display: block;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-width: 0 0 2px 2px;
  animation: bounce 2s linear infinite;
}

.next-btn::after {
  position: absolute;
  width: 32px;
  height: 32px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  top: calc(50% + 16px);
  left: calc(50% - 19px);
}

/* bounceアニメーション */
@keyframes bounce {
  0%, 20%, 50%, 70%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-8px) rotate(-45deg);
  }
  60% {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* カラーバリエーション */
.scroll_down_bk { color: #666666; }
.scroll_down_wh { color: #ffffff; }

/* 最後のセクションでは非表示にしたい場合 */
.section:last-of-type .section-bottom {
  display: none;
}
