@charset "utf-8";
/* CSS Document */

body{
	margin: 0;
}

.wrapper{
	width: 100%;
	margin: 0 auto;
	background-color: #EBE4E3;
	padding-bottom: 5%;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.wrapper img{
	display: block;
	line-height: 0;
}

.pcBox{
	display: none;
}

.lead{
	text-align: center;
	font-size: 14px;
	line-height: 2;
	margin: 20% auto;
}

.box{
	padding-bottom: 10%;
	border-bottom: solid 1px #000;
	margin-bottom: 20%;
}

.box h1{
	font-size: 38px;
	margin: 1% auto 5%;
	text-align: center;
	font-family: "nimbus-sans", sans-serif;
	font-weight: 700;
	font-style: normal;
	line-height: 1.1;
	letter-spacing: 1.5px;
}

.mainImg{
	width: 90%;
	margin: 0 auto;
}

.sub{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	width: 90%;
	margin: 2% auto 5%;
}

.sub img{
	width: calc(50% - 5px);
}

.move-img{
	margin: 0 auto;
}

.move-wrap{
	display: flex;
	align-items: center;
	overflow: hidden;
	margin: 2% 0;
	column-gap: 10px;
}

.slideshow{
	display: flex;
	column-gap: 10px;
    animation: loop-slide 22s infinite linear 1s both;
}

.content{
	width: 130px;
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.thm{
	margin: 10% auto;
}

.thm h2{
	font-size: 17px;
	font-weight: 600;
	margin: 5% auto;
	text-align: center;
}

.thm p{
	text-align: center;
	font-size: 13px;
	line-height: 2;
	margin: 5% auto 10%;
}

.thm a{
	display: block;
	width: 50%;
	margin: 10% auto;
	text-align: center;
	background-color: #000;
	color: #fff;
	font-size: 15px;
	padding: 2% 0;
	position: relative;
	text-decoration: none;
}

.thm a:after{
	background-image: url("../images/arrow-white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 0.75rem;
    position: absolute;
    right: 1.375rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0.4375rem;
}

.all{
	display: block;
	width: 85%;
	margin: 15% auto;
	text-align: center;
	color: #000;
	background-color: #000;
	color: #fff;
	font-size: 15px;
	padding: 3% 0;
	position: relative;
	text-decoration: none;
}

.all:after{
	background-image: url("../images/arrow-white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 0.75rem;
    position: absolute;
    right: 1.375rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0.4375rem;
}

@media(min-width:750px){
	.sticky__container{
		display: flex;
		background-color: #e0d5d4;
	}
	.pcBox{
		width: 33%;
		height: 100vh;
		position: sticky;
		left: 0;
		top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.wrapper{
		width: 35%;
		box-sizing: border-box;
		margin: 0 auto;
		padding: 0 0 3%;
	}
	
	.leftBox img{
		display: block;
		width: 50vh;
	}
	
	.snsBOX{
		font-family: 'Arial',sans-serif;
	}
	
	.snsBOX__inner{
		border-radius: 15px;
		text-align: center;
	}
	
	.snsBOX__list01{
		display: flex;
		padding: 0;
		list-style: none;
		justify-content: center;
		margin: 0;
	}
	
	.snsBOX__list01 li{
		margin: 0 7px;
		line-height: 0;
	}
	
	.snsBOX__list01 li img{
		width: 50px;
		height: auto;
	}
	
	.header_logo_bayflow{
		width: 65%;
		margin: 2% auto 4%;
	}
	}