
main{
	color: #fff;
}

/* FV */

.fv-top{
	position: relative;
	margin-top: 100px;
}

.slider{
	z-index: 1;
}

.fv-text{
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
}

.slideshow {
	position: relative;
	overflow: hidden;
	aspect-ratio: 120 / 66;
	width: 66vw;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* 第一張圖片動畫 */
.slideshow img:nth-child(1) {
  animation: slideLeftToRight 5s linear infinite;
}

/* 第二張圖片動畫 */
.slideshow img:nth-child(2) {
  animation: slideLeftToRight 5s linear infinite;
  animation-delay: 0.75s;
}

/* 第三張圖片動畫 */
.slideshow img:nth-child(3) {
  animation: fadeInOut 5s linear infinite;
  animation-delay: 1.75s;
}

/* 第四張圖片動畫 */
.slideshow img:nth-child(4) {
  animation: fadeInOut 5s linear infinite;
  animation-delay: 1.85s;
}

/* 第五張圖片動畫 */
.slideshow img:nth-child(5) {
  animation: fadeInOut 5s linear infinite;
  animation-delay: 1.95s;
}




/* 左到右滑動動畫 */
@keyframes slideLeftToRight {
  0% {
	transform: translateX(-100%);
	opacity: 0;
  }
  10% {
	transform: translateX(0);
	opacity: 1;
  }
  60% {
	transform: translateX(0);
	opacity: 1;
  }
  80% {
	transform: translateX(0);
	opacity: 0;
  }
  100% {
	transform: translateX(0);
	opacity: 0;
  }
}

/* 淡入淡出動畫 */
@keyframes fadeInOut {
  0% {
	opacity: 0;
  }
  10% {
	opacity: 1;
  }
  45% {
	opacity: 1;
  }
  50% {
	opacity: 0;
  }
  100% {
	opacity: 0;
  }
}

/* FV ///*/



#greeting{
	background: url("../img/bk/greeting.jpg") top right no-repeat;
	background-size: cover;
}

#racket-string{
	background: url("../img/bk/badminton.jpg") top left no-repeat;
	background-size: cover;
}

#badminton-lesson{
	background: url("../img/bk/lesson.jpg") center right no-repeat;
	background-size: cover;
}


/* greeting*/

#greeting .main-text p span{
	display: block;
}


/* greeting ///*/



/* page-guide */
#page-guide{
	background: linear-gradient(180deg, #000, rgba(255,255,255,0.25));
}



#page-guide .main-area{
	padding: 100px 6vw;
	width: 100%;
	display: grid;
    gap: 0;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
}

.guide-item {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #CEBFCF;
}

.guide-item:last-child {
	border-right: 0;
}

.guide-title {
    width: 100%;
    text-indent: -9999px;
    margin: 0 0 20px;
}

.guide-icon{
	max-width: 150px;
	width: 10vw;
	aspect-ratio:1/1;
}

#page-guide h3{
	text-align: center;
	font-size: 2rem;
	padding: 20px 0;
	line-height: 1;
	letter-spacing: 0.15rem;
	font-weight: 400;
}

#page-guide .button-box {
	margin:10px auto 0;
}


#page-guide .button-box a{
	padding-bottom: 0px;
	margin-left: 0;
	font-size: 1rem;
}

/* page-guide ///*/





.slide-show-sp{
	display: none;
}



@media(max-width:1200px){
	
	#greeting{
		background: url("../img/bk/greeting.jpg") top center no-repeat;
		background-size: cover;
	}

	#racket-string{
		background: url("../img/bk/badminton.jpg") top center no-repeat;
		background-size: cover;
	}

	#badminton-lesson{
		background: url("../img/bk/lesson.jpg") center no-repeat;
		background-size: cover;
	}
	

	/* greeting*/

	#greeting .main-text p span{
		display: inline;
	}


	/* greeting ///*/

	

}



@media(max-width:1000px){
	
	
	.fv-text {
		bottom: 15px;
        left: 50%;
        transform: translate(-50%, 0);
        width: 100%;
	}

	
	.slideshow {
		height: inherit;
    	width: 100%;
/*		aspect-ratio:9/5;*/
	}
	
	#page-guide .main-area {
		padding: 100px 10px;
	}
	
	#page-guide h3 {
    	font-size: 1.25rem;
    	padding: 15px 0;
    	letter-spacing: 0.05rem;
	}
	
	.verticle-line span {
		height: 150vh!important;
	}
	
	
}


@media(max-width:800px){
	
	#greeting{
		background: url("../img/bk/greeting-sp.jpg") top left no-repeat;
		background-size: cover;
	}
	
	

	#badminton-lesson{
		background: url("../img/bk/lesson-sp.jpg") top left no-repeat;
		background-size: cover;
	}

	
	#page-guide .main-area {
		padding:0;
		grid-template-columns: repeat(1, 1fr);
	}
	
	.guide-item {
		background: linear-gradient(180deg, #000, rgba(255, 255, 255, 0.25));
		border-right:none;
		margin: 0 auto 0;
		padding:80px 20px;
		border-bottom: none;
	}
	
	.guide-icon {
    	min-width: 150px;
		width: 20vw;
	}
}


@media(max-width:670px){
	
	#racket-string .main-text p{
		display: block;
		text-align: end;
	}
	
}


@media(max-width:600px){
	
	.slideshow {
		margin: auto;
    	width: 95%;
	}
	.slide-show-sp img {
		aspect-ratio: 9 / 5;
	}
	
	
	
}
	


@media(max-width:550px){
	
	#racket-string .main-text p{
		display: inline;
		letter-spacing: -0.01rem;
	}
	
	
	#racket-string .main-text p span{
		display: inline-block;
	}
	
}



