@charset "utf-8";

/*--Base------------------------------------------------------------*/

html,body {
	width: 100%;
	height: 100%;
	-webkit-text-size-adjust: 100%;
	background-image: url("img/fondetoiles.gif");
}
html {
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
}

/*--Reset-----------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

img {
	border: none;
	vertical-align: middle;
}

ul,ol {
	list-style: none;
}

/*--Text------------------------------------------------------------*/

html {
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  color: #1c1c1c;
}

/* IE10以上 */
@media all and (-ms-high-contrast: none)  {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}
@media all and (-ms-high-contrast: active) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}

/*--Link------------------------------------------------------------*/

a,
a:link {
	color: #333333;
}

a:visited {
	color: #333333;
}

a:hover,
a:active {
	color: #777777;
}

a:focus {
	outline: none;
}

/*--HTML5-----------------------------------------------------------*/

article,aside,details,footer,header,main,menu,nav,section,summary {
	display: block;
}

/*--sample----------------------------------------------------------*/

/*--layout----------------------------------------------------------*/
h1 {
	margin: 0 0 20px 0;
	padding: 30px 0 0 0;
}

#wrap {
	width: 100%;
}
/* nav----------------------------------------------------------*/

/* 共通 */
#nav {
	width: 100%;
	background: #D9D6D4;
}
nav {

	margin: 0 auto;
}
nav ul {
	display: flex;
	justify-content: center;
	margin: 30px 0;
}
nav ul li{
	margin: 0 5px;
	display: inline;
}

nav ul li:hover > a {
		position:relative;
		top:1px;
		right:1px;
	}

/* sannchuumosaku----------------------------------------------------------*/
.contents {
	position: relative;

}
.san {
    position:  absolute;        /* 要素の配置方法を指定 */
    right:  50px;                /* 左からの位置指定 */
	top: 100px;                  /* 上からの位置指定 */
}
.san img,.chu img,.mo img,.saku img {
	width: 130px;
}

.chu {
    position:  absolute;        /* 要素の配置方法を指定 */
    right:  100px;                /* 左からの位置指定 */
    top: 200px;                  /* 上からの位置指定 */
}

.mo {
    position:  absolute;        /* 要素の配置方法を指定 */
    left:  50px;                /* 左からの位置指定 */
    top: 200px;                  /* 上からの位置指定 */
}

.saku {
    position:  absolute;        /* 要素の配置方法を指定 */
    left:  400px;                /* 左からの位置指定 */
    top: 1000px;                  /* 上からの位置指定 */
}

.san{
	position: absolute;
	animation: san 10s linear infinite alternate;
}

@keyframes san {

	0% {
		transform: translate(0, 0);
	}
	
		50% {
		transform: translate(-500px, 800px);
	}

	100% {
		transform: translate(-900px, 0px);
	}

}

.chu{
	position: absolute;
	animation: chu 8s linear infinite alternate;
}

@keyframes chu {

	0% {
		transform: translate(0, 0);
	}
	
		50% {
		transform: translate(-1000px, 300px);
	}

	100% {
		transform: translate(150px, 150px);
	}

}

.mo{
	position: absolute;
	animation: mo 15s linear infinite alternate;
}

@keyframes mo {

	0% {
		top: 0;
		left: 0;
	}
	
		25% {
		top: 1000px;
		left: 1000px;
	}
	
		50% {
		top: 20px;
		left: 10px;
	}

	100% {
		top: 400px;
		left: 0px;
	}

}

.saku{
	position: absolute;
	animation: saku 15s linear infinite alternate;
}

@keyframes saku {

	0% {
		top: 400px;
		left: 1000px;
	}
	
		25% {
		top: 200px;
		left: 30px;
	}
	
		50% {
		top: 500px;
		left: 800px;
	}

	100% {
		top: 1000px;
		left: 0px;
	}
	
}


.footer {
	color: #FFF;
	font-size: 80%;
	padding: 30px 0;
}

.poem {
	color: #FFF;
}

/* Animation */
.001 {
	animation: floating-x 7.2s ease-in-out infinite alternate-reverse;
}
.target {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-x {
  0% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(5%);
  }
}
@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}