/* style.css */
html, body {
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
	
}

.section {
  width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	overflow: hidden;
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-size: 0.9rem;
  color: #2d1a0c;
}

#fullpage{
	height: 600vh;
}

#section0{
	margin: 0;
	text-align: center;
	background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 60%, rgba(242, 237, 221, 0.3) 100%),
    url("../image/section0bg.gif");
	background-size:10% 100%;
	background-repeat: repeat-x;
}

#titleimg{
	width: 100%;
	height: 50vh;
	padding: 0;
	margin: 0;
	background-image: url("../image/topbg1.gif");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top;
}

#titleimg p{
	display: none;
}

#titlecontents{
	height: 50vh;
}

#titlecontents img{
	height: 12vh;
}

#titlecontents h1{
		margin-top: 0;
}

#titlecontents p{
	font-size: 1em;
	padding: 0 5vw;
	margin-bottom: 2vh;
}


#section1 {
	padding: 0 7vw;
	background-image:
    
    url("../image/section1bg.gif");
	background-size: cover;
	background-repeat: no-repeat;
}

#agreementlink{
	line-height: 4vh;
}

#line{
	line-height: 3vh;
}

#line img{
	width: 40vw;
	height: auto;
	margin: 5vh 0;
}

#section2 {
	padding: 0 7vw;
	background-image: url('../image/section2bg.gif');
	background-size: cover;
	background-repeat: no-repeat;
}
#section3 {
	padding: 0 7vw;
	background-image: url('../image/section2bg.gif');
	background-size: cover;
	background-repeat: no-repeat;
}

#time{
	margin-top: 0;
}

.url{
	margin: 0;
}

#caution{
	margin-bottom: 0;
}

#attention{
	margin-top: 0;
}

#section4 { 
	color: #333;
	padding: 0 7vw;
	background-image: url('../image/section2bg.gif');
	background-size: cover;
	background-repeat: no-repeat;
}

ul img{
	width: 50%;
	height: 50%;
}

#section5 { 
	background-image: url("../image/contact-bg.png");
	background-size: cover;
	background-repeat: no-repeat;
	text-align: center;
}

#contact{
	padding: 7%;
	color: #2d1a0c;
	background-color: #f2eddd;
	line-height: 3em;
}

#contact strong{
	font-size: 1.7em;
	margin-right: 0.5em;
	margin-left: 0.2em;
}

#kyousan{
	color: #2d1a0c;
	width: 21em;
	margin: auto;
	margin-top: 20%;
}

h2{
	margin: 1vh 0;
}

h2 img{
	width: 90%;
	height: auto;
}

#section5 img{
	width: 40%;
	height: auto;
	margin-bottom: 10%;
}

iframe {
  width: auto;
  height: 25vh;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

h3{
	margin: 0;
}

h4{
	margin: 0;
}

ul {
  list-style: none;
  padding: 0;
	text-align: center;
}

li {
  margin: 10px 0;
}

.listtitle{
	text-align: left;
}

@media screen and (min-width: 768px) {
	body{
		background-image: url("../image/pcbackground.gif");
		background-size: cover;
		background-repeat: no-repeat;
	}
	
	body::before{
		content: "";
  	position: absolute;
  	inset: 0;
  	background-color: rgba(255, 255, 255, 0.6); /* 半透明の黒 */
  	z-index: -1;

	}
	
	.section{
		text-align: center;
		width: 30vw;
		background-image: url("../image/section0bg.gif");
		background-size: 1%;
		background-repeat: no-repeat;
		background-position: center;
	}
	
	#section0{
	margin: 0 35vw;
}
	
	#titleimg{
		background-size: cover;
		background-position: top;
		height: 50vh;
	}
	
	#titlecontents{
	width: 30vw;
	height: 50vh;
	background-image: url("../image/section0bg.gif");
	background-size: contain;

}
	
	h2 img{
		width: 25vw;
	}
	
	#section1{
		margin: 0 35vw;
		height: 100vh;
		background-image: linear-gradient(to bottom, rgba(242, 237, 221, 0.3) 0%, rgba(242, 237, 221, 0.3) 100%), url("../image/section0bg.gif");
		background-size: cover;
	}
	
	#line img{
	width: 15vw;
	height: auto;
	margin: 5vh 0;
}
	
	#section2{
		margin: 0 35vw;
		height: 100vh;
		background-image: linear-gradient(to bottom, rgba(242, 237, 221, 0.3) 0%, rgba(242, 237, 221, 0.3) 100%), url("../image/section0bg.gif");
		background-size: cover;
	}
		
	iframe {
  width: 25vw;
  height: 40vh;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
	#section3{
		margin: 0 35vw;
		background-image: linear-gradient(to bottom, rgba(242, 237, 221, 0.3) 0%, rgba(242, 237, 221, 0.3) 100%), url("../image/section0bg.gif");
		background-size: cover;
	}
	
	#section4{
		margin: 0 35vw;
		background-image: linear-gradient(to bottom, rgba(242, 237, 221, 0.3) 0%, rgba(242, 237, 221, 0.3) 100%), url("../image/section0bg.gif");
		background-size: cover;
	}
	
	ul{
		text-align: center;
	}
	
	li img{
		width: 20vw;
	}
	
	#section5{
		margin: 0 35vw;
	}
}