/* CSS Document */


@keyframes decoSwing {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(25deg);
  }
}


@keyframes popup {
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}

.popin {
	opacity: 0;
}

.anim-popup {
 opacity: 1;
animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}

#mainbox {
	font-size: 1.2rem;
    line-height: 1.8;
    font-family: "A1 Gothic B";
	color: #101f96;
	background: #eadac1;
	padding: 1px 0;
	margin-bottom: 50px;
	
}

#mainbox h2 {
	text-align: center;
	color: #c10110;
	font-size: 3.2rem;
	line-height: 1.2;
	margin-bottom: 20px;
	
}
#mainbox img {
	max-width: 100%;
}

section {
	width: 100%;
	border-bottom: 3px solid #101f96;
}

section h1 {
	width: 1300px;
	margin: auto;
}

#message {
	font-size: 2rem;
	width: 1000px;
	margin: 0px auto;
	padding: 100px 0;
	text-align: center;
}

#message div.block {
	margin: 0px 0px 70px 0;
}

#design {
	width: 1000px;
	margin: auto;
	position: relative;
}

img.fukidashi {
	position: absolute;
	top: 0;
	right: -100px;
	width: 200px;
	display: block;
}

#design ul {
	width:100%;
	display: flex;
	list-style: none;
	margin: 50px 0 0 0;
	align-items: center;
	justify-content: space-around;
}
#design li {
	width: 28%;
}

#cm {
	width: 1000px;
	margin: 150px auto;
}

#cm iframe {
	width: 1000px;
	height:  563px;
	border: 0;
	border: 10px solid #fff;
}

#about {
	width: 1000px;
	margin: auto;
}

#about table {
	border-top: 2px solid #101f96;
	border-collapse: collapse;
	width: 100%;
	background: #fff;
	margin: 50px 0 50px 0;
}

#about th {
	border-collapse: collapse;
	border-bottom: 1px solid #101f96;
	padding: 20px;
}

#about td {
	border-collapse: collapse;
	border-bottom: 1px solid #101f96;
	padding: 20px;

}


#about iframe {
	width: 100%;
	height: 400px;
}

#sns {
	border: 5px solid #101f96;
	border-radius: 30px;
	width: 900px;
	margin: 100px auto;
	padding: 100px 50px;
	text-align: center;
	box-sizing: content-box;
}

#sns ul {
	width: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto;
	list-style: none;
}

#sns li {
	width: 48%;
	list-style: none;
}


#sns ul.linkto {
	margin-top: 20px;
}
ul.linkto li {
	list-style: none;
}
ul.linkto a {
	transition: all ease 0.3s;
	display: inline-block;
	border-radius: 100vh;
	background:#fff;
	color: #000;
	font-size: 1rem;
	font-weight: bold;
	padding: 20px;
	text-align: center;
	margin: auto;
	width: 300px;
	line-height: 1;
}

ul.linkto a:hover {
	transform: translateY(-10px);
	text-decoration: none;
}

.bigfont {
	font-size: 2.5rem;
	color: #c10110;
}

#warning {
	width: 1000px;
	margin: 0 auto 100px auto;
	
}

	
	#illustrator {
		width: 800px;
		margin: 0 auto 150px auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

#illustrator h2 {
	text-align: left;
	font-size: 2rem;
}
	
	#illustrator .img {
		width: 30%;
	}

	#illustrator .img img {
		border-radius: 100vh;
	}
	#illustrator .text {
		width: 60%;
	}
	
	
#bg {
	width: 100%;
	position: absolute;
	top: 800px;
}
#bg img {
  width: 70px;
  height: 70px;
  animation-name: decoSwing;
  animation-duration: 1000ms;
  animation-timing-function: steps(2, end);
  animation-iteration-count: infinite;
	position: absolute;
}

#bg img:nth-of-type(1) { 	top: 100px; left: 90%; }
#bg img:nth-of-type(2) { 	top: 500px; left: 20%; }
#bg img:nth-of-type(3) { 	top: 700px; left: 5%; }
#bg img:nth-of-type(4) { 	top: 1000px; left: 88%; }
#bg img:nth-of-type(5) { 	top: 1200px; left: 10%; }
#bg img:nth-of-type(6) { 	top: 1500px; left: 2%; }
#bg img:nth-of-type(7) { 	top: 1900px; left: 92%; }
#bg img:nth-of-type(8) { 	top: 2200px; left: 12%; }
#bg img:nth-of-type(9) { 	top: 2500px; left: 5%; }
#bg img:nth-of-type(10) { 	top: 2900px; left: 90%; }
#bg img:nth-of-type(11) { 	top: 3200px; left: 10%; }
#bg img:nth-of-type(12) { 	top: 3500px; left: 90%; }
#bg img:nth-of-type(13) { 	top: 4100px; left: 5%; }
#bg img:nth-of-type(14) { 	top: 4400px; left: 12%; }
#bg img:nth-of-type(15) { 	top: 4600px; left: 90%; }
#bg img:nth-of-type(16) { 	top: 5000px; left: 5%; }
#bg img:nth-of-type(17) { 	top: 5200px; left: 85%; }
#bg img:nth-of-type(18) { 	top: 5500px; left: 15%; }
#bg img:nth-of-type(19) { 	top: 5600px; left: 88%; }





@media screen and (min-width: 0px) and (max-width: 480px) {

section h1 {
    width: 100%;
}
	
#message {
    font-size: 1.1rem;
    width: 100%;
    margin: 0px auto;
    padding: 50px 0;
}
	
#message div.block {
    margin: 0px 0px 30px 0;
}
	
#mainbox #message img {
	width: 90%;

}
	
#design {
    width: 100%;
	margin: 50px 0;
}
	
#mainbox h2 {
    font-size: 2rem;
	margin-bottom: 0;
}
	
	#design h2 {
		margin-bottom: 50px;
	}
	
#design ul {
    width: 90%;
	margin: auto;
}
	
#cm {
  width: 100%;
  aspect-ratio: 16 / 9;
	margin: 50px 0;
}
	
#cm iframe {
  width: 100%;
  height: 100%;
	border: 0;

}
	
img.fukidashi {
    position: absolute;
	top: -20px;
    right: 5px;
    width: 20%;
    display: block;
}
	
#about {
	width: 90%;
	font-size: 1rem;
}
	
#sns {
  border: 5px solid #101f96;
  border-radius: 30px;
  width: 90%;
  margin: 50px auto;
  padding: 50px 0%;

}

	#mainbox #sns h2 {
		font-size: 1.4rem;
	}
	
.bigfont {
  font-size: 1.5rem;
  color: #c10110;
}
	
#sns ul.linkto {
  margin-top: 0;
  display: block;
}
	
	#sns ul.linkto li {
		width: 100%;
	}
	
	ul.linkto a {
	  transition: all ease 0.3s;
	  display: inline-block;
	  border-radius: 100vh;
	  background: #fff;
	  color: #000;
	  font-size: 1rem;
	  font-weight: bold;
	  padding: 15px 0;
	  text-align: center;
	  margin: 20px auto 0 auto;
	  width: 90%;
	  line-height: 1;
	}	

	#warning {
		width: 90%;
		font-size: 0.9rem;
	}
	
	#warning ul {
		margin-left: 20px;
	}

	
	
	#illustrator {
		width: 80%;
		margin: 0 auto 100px auto;
		display: block;
	}


	#mainbox #illustrator h2 {
	font-size: 1.2rem;
	text-align: center;
}
	
	#illustrator .img {
		width: 40%;
		margin: 0 auto 30px auto;
	}
	#illustrator .text {
		width: 100%;
		font-size: 1rem;
	}
	
	
#bg {
	width: 100%;
	position: absolute;
	top: 600px;
	height: auto;
}	
	
#bg img {
  width: 40px;
  height: 40px;
}
	
#bg img:nth-of-type(1) { 	top: 100px; left: 85%; }
#bg img:nth-of-type(2) { 	top: 300px; left: 10%; }
#bg img:nth-of-type(3) { 	top: 400px; left: 5%; }
#bg img:nth-of-type(4) { 	top: 800px; left: 88%; }
#bg img:nth-of-type(5) { 	top: 900px; left: 10%; }
#bg img:nth-of-type(6) { 	top: 1000px; left: 2%; }
#bg img:nth-of-type(7) { 	top: 1600px; left: 86%; }
#bg img:nth-of-type(8) { 	top: 1700px; left: 12%; }
#bg img:nth-of-type(9) { 	top: 2150px; left: 5%; }
#bg img:nth-of-type(10) { 	top: 2200px; left: 88%; }
#bg img:nth-of-type(11) { 	top: 2500px; left: 10%; }
#bg img:nth-of-type(12) { 	top: 2700px; left: 88%; }
#bg img:nth-of-type(13) { 	top: 2800px; left: 5%; }
#bg img:nth-of-type(14) { 	display: none; }
#bg img:nth-of-type(15) { 	display: none;}
#bg img:nth-of-type(16) { 	top: 3100px; left: 5%; }
#bg img:nth-of-type(17) { 	display: none; }
#bg img:nth-of-type(18) { 	display: none;}
#bg img:nth-of-type(19) { 	display: none; }
	
	
}



