/* CSS Document */

@-webkit-keyframes bgroop {
    from {
        background-position: 0  2316px;
    }
    to {
        background-position: 0 0;
    }
}
@keyframes bgroop {
    from {
        background-position: 0 2316px;
    }
    to {
        background-position: 0 0;
    }
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 700ms;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

#whiteMainBox_fit {
	
	background: url("assets/bg.webp") 50% 50% no-repeat fixed;
	
}

#bg_star {
	    background: url("assets/stars.png") fixed;
    background-position: 0 0;
	background-size: auto;
    -webkit-animation: bgroop 200s linear infinite;
    animation: bgroop 200s linear infinite;
}

#whiteMainBox_fit img {
	max-width: 100%;
}

#top {
	width: 100%;
	text-align: center;
}


#content {
	width: 600px;
	margin: -30px auto 50px auto;
	background: url("assets/bg_whiteline.png") 50% 0% repeat-y #1a9b4b;
	background-size: 105% auto;
	padding: 10px 70px 100px 70px;
	color: #fff;
	font-size: 1.1rem;
	border-radius: 30px;

	z-index: 1;
	box-shadow: 0px 0px 20px -5px #016a2f;
	position: relative;
}

#content h2 {
	font-size: 2.2rem;
	text-align: center;
	margin: 100px auto 30px auto;
}

#content h2 span {
	border-bottom: 10px solid #fff;
	display: inline-block;
}

#content h2.bg {
	background: url("assets/h2bg.png") 50% 50% no-repeat;
	background-size: 100% auto;
	padding: 5px 0;
	text-align: center;
}

#content h3.bluebg {
	margin: 50px 0 20px 0;
}
#content h3.bluebg span {
	background: #009cd4;
	font-size: 2.5rem;
}

div.img {
	width: 100%;
	position: relative;
	
}

div.img img:nth-of-type(1) {
	display: block;
	margin: auto;
	width: 50%;
}

div.img img.new {
	width: 250px;
	top: 200px;
	right: -100px;
	position: absolute;
}

div.point {
	width: 100%;
	border: 3px solid #fff;
	border-radius: 20px;
	box-sizing: border-box;
	padding: 40px 80px 20px 30px;
	position: relative;
	margin: 50px 0;

}

div.point h3 {
	display: block;
	width: 130px;
	background: #009cd4;
	font-size: 1.8rem;
	margin-top: -60px;
	text-align: center;
}


#whiteMainBox_fit div.soda7 img {
	width: 110%;
	margin: 30px -5%;
	max-width: inherit;
	
}

#whiteMainBox_fit div.soda7 h3 {
	font-size: 2.4rem;
	line-height: 1.3;
	margin-bottom: 30px;
}


div.point img {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 150px;
}

#content h3 {
	
}

div.whiteline {
	border: 1px solid #fff;
	padding: 10px;
	border-radius: 10px;
	margin-top: 20px;
}

#content p.linkbox {
	margin-top: 50px;
	text-align: center;
}

#content p.linkbox a {
	border-radius: 100vh;
	background: #fff;
	text-align: center;
	color: #c50025;
	font-weight: bold;
	padding: 20px 40px;
	transition: all 0.3s ease;
}

#content p.linkbox a:hover {
	background-color: #c50025;
	color: #fff;
	text-decoration: none;
}

#about div.img {
	width: 50%;
	margin: auto;
} 

@media screen and (min-width: 0px) and (max-width: 480px) {
	
	#content {
		width: 86%;
		padding: 10px 7% 50px 7%;
		margin: -10px auto 30px auto;
		font-size: 1rem;
	}
	
	#content h2 {
	  font-size: 1.5rem;
	  text-align: center;
	  margin: 50px auto 10px auto;
	}
	
	
	#content h2 span {
	  border-bottom: 5px solid #fff;
	  display: inline-block;
	}
	
	#whiteMainBox_fit div.soda7 img {
	  	width: 100%;
		margin: 0;
	}
	
	div.point {
		padding: 40px 80px 20px 20px;
	}
	
	div.point img {
		right: -15px;
		width: 35%;
		top: -20px;
	}
	
	
	div.point h3 {
	width: 100px;
	font-size: 1.2rem;
	}
	div.img img.new {
	  width: 40%;
	  top: 200px;
	  right: 0;
	}

	#content h3.bluebg span {
	  font-size: 1.5rem;
	}

	#whiteMainBox_fit div.soda7 h3 {
	font-size: 1.5rem;
	}

	#content p.linkbox a {
		background: #c50025;
		padding: 10px;
		color: #fff;
	}	

}



