@charset "utf-8";

/*--Base------------------------------------------------------------*/

html,body {
	width: 100%;
	height: 100%;
	-webkit-text-size-adjust: 100%;
	background-image: url("img/bbs_back.gif");
	background-color: #00FFFF;
}
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: #0000FF;
	text-decoration: underline;
}

a:visited {
	color: #0000FF;
}

a:hover,
a:active {
	color: red;
}

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: 100px 0 0 0;
	font-size: 400%;
	font-style: italic;
}

h2 {
	margin: 80px 0 20px 0;
	padding: 10px 0 0 0;
	font-size: 200%;
	font-style: italic;
}

#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;
}
.concept {
	width: 620px;
	margin: 0 0 20px 0;
}

.top_b {
	margin: 30px 0;
}
footer {
	margin: 30px 0;
}
.mojibig {
	font-size: 150%;
	font-style: italic;
}
/* カレンダー----------------------------------------------------------*/
/* 平日 */
/* ===ここまで直接関係のないスタイル */
table.calendar {
  border-collapse: collapse;
  border: 1px solid #ffffff;
	padding: 0;
	width: 400px;
	background-color: #FFF;
}
table.calendar caption {
  font-size: 100%;
  margin-bottom: 0.5em;
}
table.calendar th,
table.calendar td {
  text-align: center;
  font-size: 100%;
  width: 25px;
  height: 25px;
  border: 1px solid #ccc;
}
table.calendar thead {
  background-color: #efefef;
  color: #333333;
}

/* 日曜日 */
table.calendar tr th:nth-child(1),
table.calendar tr td:nth-child(1) {
  color: red;
}
/* 土曜日 */
table.calendar tr th:nth-child(7),
table.calendar tr td:nth-child(7) {
  color: blue;
}
/* 海の日（7月第3月曜日） */
table.calendar tbody tr:nth-child(4) td:nth-child(2){
  color: #ffffff;
  background-color: #ff0000;
}
/* 海の日（7月第3月曜日） */
table.calendar tbody tr:nth-child(3) td:nth-child(2){
  color: #000;
  background-color: #00FF00;
}
table.calendar tbody tr:nth-child(3) td:nth-child(3){
  color: #000;
  background-color: #00FF00;;
}
table.calendar tbody tr:nth-child(4) td:nth-child(2){
  color: #000;
  background-color: #00FF00;;
}
table.calendar tbody tr:nth-child(4) td:nth-child(3){
  color: #000;
  background-color: #00FF00;
}
table.calendar tbody tr:nth-child(5) td:nth-child(2){
  color: #000;
  background-color: #00FF00;
}
table.calendar tbody tr:nth-child(5) td:nth-child(3){
  color: #000;
  background-color: #00FF00;
}

table.calendar tbody tr:nth-child(3) td:nth-child(7){
  color: #FFF;
  background-color: #999999;
}

table.calendar tbody tr:nth-child(4) td:nth-child(1){
  color: #FFF;
  background-color: #999999;
}

table.calendar tbody tr:nth-child(4) td:nth-child(6),table.calendar tbody tr:nth-child(4) td:nth-child(7),table.calendar tbody tr:nth-child(5) td:nth-child(1){
  color: #000;
  background-color: #FFFF00;
}

.pv {
	margin:100px 0 0 0;
}

.concept2 {
	width: 700px;
	margin: 0 0 100px 0;
}

.concept3 {
	width: 850px;
	margin: 50px 0 100px 0;
	font-size: 150%;
	font-style: italic;
	line-height:2;
	text-align:left;
}

.concept4 {
	width: 850px;
	margin: 100px 0 100px 0;
	font-size: 150%;
	font-style: italic;
	line-height:2;
}

.sanchu-text {
	width: 100%;
	margin: 100px 0 100px 0;
}
.sanchu-text img{
	width: 300px;
	margin:  0 0 20px 0;
}

/* 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 50s linear infinite alternate;
}

@keyframes san {

	0% {
		transform: translate(0, 0);
	}
	
		25% {
		transform: translate(-500px, 800px);
	}
	
		50% {
		transform: translate(0, 2000px);
	}
	
		75% {
		transform: translate(-500px, 4000px);
	}

	100% {
		transform: translate(-900px, 2000px);
	}

}

.chu{
	position: absolute;
	animation: chu 8s linear infinite alternate;
}

@keyframes chu {

	0% {
		transform: translate(0, 0);
	}
	
		25% {
		transform: translate(-1000px, 300px);
	}

		50% {
		transform: translate(-200, 1500px);
	}

		75% {
		transform: translate(-1000px, 4000px);
	}

	100% {
		transform: translate(150px, 150px);
	}

}

.mo{
	position: absolute;
	animation: mo 30s linear infinite alternate;
}

@keyframes mo {

	0% {
		top: 0;
		left: 0;
	}
	
		25% {
		top: 1000px;
		left: 1000px;
	}
	
		50% {
		top: 20px;
		left: 10px;
	}

			75% {
		transform: translate(-1000px, 4000px);
	}

	100% {
		top: 400px;
		left: 0px;
	}

}

.saku{
	position: absolute;
	animation: saku 80s linear infinite alternate;
}

@keyframes saku {

	0% {
		top: 400px;
		left: 1000px;
	}
	
		25% {
		top: 15
			00px;
		left: 30px;
	}
	
		50% {
		top: 4000px;
		left: 800px;
	}
		75% {
		top: 8000px;
		left: 0;
	}

	100%≈
		top: 5000px;
		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%);
  }
}