@charset "utf-8";
/* ページ全体の枠組み
---------------------------------------------------- */
body{
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #699600;
	font-size: 13px;
	color: #666666;
	background-image: url(images/taitol.png);
	background-repeat: repeat-y;
	background-attachment: scroll;
	background-position: center top;
	background-color: #515151;
}
div#top{
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	width: 800px;
	height: 30px;
	background-color: black;
	text-align: right;
}

div#top #kanbanr{
	position: absolute;
	top: 10px;
	margin-left: 810px;
	width: 150px;
	height: 400px;
	background-image: url(images/syogyou.png);
	background-repeat: no-repeat;
	transform: rotate(-0deg);
	-webkit-transition: all 2s;
	-moz-transition: all 2s;
	-ms-transition: all 2s;
	-o-transition: all 2s;
	transition: all 2s;

}

div#top #kanbanr:hover{
	width: 200px;
	height: 400px;
	transform: rotate(-5deg);

}
div#top #kanbanr a{
	text-decoration: none;
	background-color: transparent;
	border-style: none;
	display: block;

}
div#top #kanbanr a:hover{
	width: 200px;
	height: 400px;

}

div#top h1{
	z-index: 99;
	position: absolute;
	top: 455px;
	width: 800px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: center;
}
div#top h1 a{
	z-index: 99;
	height: 70px;
	color: white;
	background-color: black;
	text-align: left;
	font-size: 35px;
	font-family: "ＭＳ 明朝";
	padding-top: 0px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	line-height: 1.5;
	border-width: 5px;
	border-style: ridge;
	border-color: blue;

-webkit-transition: all 1s;
 -moz-transition: all 1s;
 -ms-transition: all 1s;
 -o-transition: all 1s;
 transition: all 1s;

}

div#top h1 a:hover{
	color: black;
	background-color: white;
	transform: rotate(20deg);
}

div#top h2{
  z-index: 99;
  position: absolute;
  top: 360px;
  margin-left: 30px;
}
div#top h2 > a{
  z-index: 99;
  height: 70px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: left;
  font-size: 40px;
  font-family: "ＭＳ 明朝";
  padding-top: 0px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  line-height: 1.5;
  border-width: 5px;
  border-style: ridge;
  border-color: blue;
}
div#top p{
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
#top p{
  font-size: 18px;
  font-family: メイリオ;
  margin-top: 20px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  height: 30px;
  padding-top: 5px;
  padding-left: 0px;
  padding-right: 5px;
  padding-bottom: 5px;
  position: relative;
}
#top a{
  font-size: 15px;
  font-family: メイリオ;
  border-width: 5px;
  border-style: ridge;
  border-color: white;
  text-decoration: none;
  background-color: rgb(128, 128, 0);
  color: black;
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
}
#top a:hover{
  color: white;
  background-color: green;
  transform: rotate(5deg);
}
#top span{
  font-size: 18px;
  font-family: メイリオ;
  border-width: 7px;
  border-style: ridge;
  border-color: green;
  text-decoration: none;
  background-color: green;
  color: white;
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  position: relative;
}
#header{
  height: 410px;
  /*  background: url(images/headbg.png) repeat-x;
*/
}
#header .inner{
  margin: 0 auto;
  width: 800px;
}
#content{
	background-position: center top;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	width: 800px;/*
	border-width: 3px;
  border-style: solid;
  border-color: silver;
  border-radius: 10px;
  */
	height: 850px;
	background-repeat: repeat-y;
	background-image: url(images/content_kabe2.png);
}
#content .inner{
  margin: 0 auto;
  padding: 15px 35px 50px;
  width: 730px;
}
#content .inner::after{
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#main{
  float : left;
  width : 500px;
}
#sub{
	float: left;
	width: 200px;
	background-color: black;
	border-width: 3px;
	border-style: solid;
	border-color: black;
	border-top-left-radius: 10px 10px;
	border-top-right-radius: 10px 10px;
	border-bottom-right-radius: 10px 10px;
	border-bottom-left-radius: 10px 10px;
	padding-bottom: 10px;
	margin-left: 15px;
}
#footer {
  /*
  background: #699600;
*/

}
#footer .inner2{
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  width: 790px;
  height: 120px;
  background-color: #bccf96;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  border-width: 5px;
  border-style: ridge;
  border-color: black;
  border-top-left-radius: 4px 4px;
  border-top-right-radius: 4px 4px;
  border-bottom-right-radius: 4px 4px;
  border-bottom-left-radius: 4px 4px;
  background-image: url(images/jyoushou5.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  line-height: 1.2;
}
/* リンクと画像
---------------------------------------------------- */
a{
  text-decoration: none;
  color: #699600;
}
a:hover{
  text-decoration: underline;
}
img{
  border: none;
}
/* ヘッダ
---------------------------------------------------- */
#header .inner{
  position: relative;
  height: 410px;
}
#header ul{
  margin: 0;
  padding: 0;
}

#hana{
	position: absolute;
	top: 0px;
	left: -60px;
	width: 250px;
	height: 700px;

}


#logo{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 790px;
  height: 100px;
  background-color: black;
  border-top-left-radius: 4px 4px;
  border-top-right-radius: 4px 4px;
  border-bottom-right-radius: 4px 4px;
  border-bottom-left-radius: 4px 4px;
  border-width: 5px;
  border-style: ridge;
  border-color: black;
  background-image: url(images/hondou.png);
  background-repeat: no-repeat;
}
#logo p{
  font-family: メイリオ;
  width: 785px;
  height: 18px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  text-align: center;
  background-color: rgb(44, 53, 23);
  border-radius: 4px;
  position: relative;
  display: block;
  bottom: 2px;
  line-height: 1.5;
}

#logobig{
	position: relative;
	margin-top: -30px;
	margin-left: 0px;
       border-radius: 20px;

	-webkit-transition: all 2s;
	-moz-transition: all 2s;
	-ms-transition: all 2s;
	-o-transition: all 2s;
	transition: all 2s;

}
#logobig:hover{
	margin-top: -30px;
	margin-left: -80px;
	transform: skewX(-15deg);
	-moz-transform: skewX(-15deg);
	-webkit-transform: skewX(-15deg);
	width: 530px;
	height: 130px;

}

ul#headnav{
  position: absolute;
  top: 40px;
  right: 0px;
  line-height: 1;
  margin-top: -0.5em;
  margin-right: 20px;
}
ul#headnav li{
  list-style: none;
}
ul#headnav li a{
  padding-left: 9px;
  background: url(images/bulletgreen.png) no-repeat left center;
}
#mainvisual{
  position: absolute;
  top: 110px;
  left: 0px;
  opacity: 0.99;
/*
  background-image: url(images/jyoushou6.jpg);
*/
  background-repeat: no-repeat;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}
#mainvisual:hover{
/*
  background-image: url(images/jyoushou2.jpg);
*/
  background-repeat: no-repeat;
  opacity: 1;
}
/* トピックパス（パンくずリスト）
---------------------------------------------------- */
#topicpath{
	padding-top: 3px;
	padding-left: 3px;
	padding-right: 3px;
	padding-bottom: 10px;
	height: 40px;
}
#topicpath a{
  font-size: 15px;
  font-family: メイリオ;
  border-width: 5px;
  border-style: ridge;
  border-color: white;
  text-decoration: none;
  background-color: rgb(128, 128, 0);
  color: black;
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
}
#topicpath a:hover{
	color: white;
	background-color: black;
	transform: rotate(5deg);
}
/* メインコンテンツ
---------------------------------------------------- */
#main h1{
  margin-top: 9px;
  margin-right: 0px;
  margin-bottom: 15px;
  margin-left: 0px;
  padding-top: 6px;
  padding-right: 0px;
  padding-bottom: 6px;
  padding-left: 20px;
  line-height: 1;
  font-size: 232%;
  color: white;
  background-color: black;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left center;
  background-size: auto auto;
  background-origin: padding-box;
  background-clip: border-box;
}
#main h2{
  margin: 9px 0 15px 0;
  padding: 6px 0 6px 20px;
  line-height: 1.0;
  font-size: 180%;
  color: #699600;
  background: url(images/h1.png) no-repeat left center;
}
#main h3{
  margin-top: 9px;
  margin-right: 0px;
  margin-bottom: 15px;
  margin-left: 0px;
  padding-top: 6px;
  padding-right: 0px;
  padding-bottom: 6px;
  padding-left: 20px;
  line-height: 1.5;
  font-size: 150%;
  color: black;
  font-family: メイリオ;
}
#main p{
  font-family: メイリオ;
  font-size: 15px;
  padding-left: 20px;
  line-height: 1.2;
}
#main p a{
	text-decoration: none;

	border-width: 1px;
       border-style: solid;
       border-color: black;

	padding-top: 3px;
	padding-left: 3px;
	padding-right: 3px;
	padding-bottom: 3px;
	margin-top: 2px;
	margin-left: 2px;
	margin-right: 2px;
	margin-bottom: 2px;
	color: blue;
	background-color: white;
	font-size: 120%;
}
#main p a:hover{

  -moz-transform: rotate(-5deg);
  -webkit-transform: rotate(-5deg);
  -o-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);

}
#main p a:visited{
  /*
	background-color: rgb(185, 185, 185);
*/
}
#main img{
  border-radius: 10px;
}

#main #butuzou{
	background-color: black;
	width: 480px;
	text-align: center;
  border-radius: 10px;
}

#main #butuzou a{
	border-style: none;
	text-decoration: none;
	background-color: transparent;
}

#main #butuzou a:hover{
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
}

#main #butuzou img{

-webkit-transition: all 1s;
 -moz-transition: all 1s;
 -ms-transition: all 1s;
 -o-transition: all 1s;
 transition: all 1s;
}

#main #butuzou img:hover{
    width: 240px;
 
}

/* サブコンテンツ
---------------------------------------------------- */
#sub h2{
  margin-top: 15px;
  margin-right: 0px;
  margin-bottom: 15px;
  margin-left: 15px;
  line-height: 1;
  font-size: 131%;
  color: rgb(105, 150, 0);
  text-justify:distribute-all-lines;
  width: 200px;
}

#sub img{ 
-webkit-transition: all 1s;
 -moz-transition: all 1s;
 -ms-transition: all 1s;
 -o-transition: all 1s;
 transition: all 1s;
}

#sub img:hover{
    transform: skewX(-8deg);
    -moz-transform: skewX(-8deg);
    -webkit-transform: skewX(-8deg);
	width: 180px;
}

ul#localnav{
  margin: 0;
  padding: 0;
}
ul#localnav li{
  display: block;
}
ul#localnav li a{
  display: block;
  padding: 0.9em 0 0.9em 20px;
  width: 180px;
  line-height: 1.0;
  color: #666666;
  background: url(images/lnavbg.png) no-repeat;
}
ul#localnav li a:hover{
  text-decoration: none;
  background: url(images/lnavbghover.png) no-repeat left center;
}
ul#localnav2{
  }
ul#localnav2 li{
  margin-left: 30px;
  list-style-type: decimal;
}
/* フッタ
---------------------------------------------------- */
#footer{
  line-height: 1;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
#footer a{
  color: black;
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  border-top-left-radius: 3px 3px;
  border-top-right-radius: 3px 3px;
  border-bottom-right-radius: 3px 3px;
  border-bottom-left-radius: 3px 3px;
}
#footer p{
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  color: black;
  background-color: rgba(0, 0, 255, 0.5);
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  border-radius: 10px;
}
ul#footnav{
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 1px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-left: 1px;
}
ul#footnav li{
  float: left;
  display: block;
  padding-top: 1px;
  padding-right: 5px;
  padding-bottom: 1px;
  padding-left: 5px;
  color: black;
  margin-top: 5px;
  margin-left: 3px;
  margin-right: 3px;
  margin-bottom: 3px;
  border-left-width: 1px;
  border-left-style: solid;
}
ul#footnav > li:first-child{
  padding-left: 10;
  border-left: none;
}
p#copyright{
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  color: black;
  text-align: right;
}
p#setu1{
  color : white;
}
div#mainvisual{
  height : 300px;
  width : 800px;
}
div#mainvisual:hover{
  height : 300px;
  width : 800px;
}

.bgsw{
  height : 300px;
  width : 800px;
}

.in{
  position:relative;
  width:800px;
}
.in img{
  position:absolute;
  left:0;
  top:0;
  /*
  border-radius: 10px;
*/
}
div#panel{
  background-color: rgba(188, 207, 150,0.5);
  width: 95px;
  height: 245px;
  position: absolute;
  top: 165px;
  right: 0px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  border-width: 5px;
  border-style: ridge;
  border-color: teal;
  border-radius: 10px;
  color: white;
  text-align : center;
}
div#panel a{
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  border-width: 3px;
  border-style: ridge;
  border-color: white;
  display: block;
  width: 90px;
  height: 15px;
  border-radius: 10px;
  text-decoration: none;
  border-radius: 10px;
  color: white;
  text-align: center;
  background-color: black;
}
div#panel a:hover{
  background-color: rgb(188, 207, 150);
  color: black;
}
div#panel a#close{
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  border-width: 0px;
  border-style: ridge;
  border-color: white;
  display: block;
  width: 15px;
  /*
	height: 20px;
  */
	text-decoration: none;
  border-radius: 0px;
  color: white;
  text-align: right;
  float: right;
  background-color: none;
}
div#omikuji{
  position: absolute;
  top: 205px;
  width: 110px;
  height: 230px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
div#omikuji a{
  float: right;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: -2px;
}
.dispon{
  visibility: visible;
}
.dispoff{
  visibility: hidden;
}
/* 　一度画像を全てを非表示にして、absoluteを指定して画像を重ねる */
#stage img{
  display:none;
  position: absolute;
}
#stage #img1{
  /* 1枚目の画像だけを表示 */
        display:block;
}

.blinking2{
 -webkit-animation:blink 2.5s ease-in-out 1 alternate;
 -moz-animation:blink 2.5s ease-in-out 1 alternate;
 animation:blink 2.5s ease-in-out 1 alternate;
 }
 @-webkit-keyframes blink{
 0% {
 opacity:0;
 }
 100% {
 opacity:1;
 }
 }
 @-moz-keyframes blink{
 0% {
 opacity:0;
 }
 100% {
 opacity:1;
 }
 }
 @keyframes blink{
 0% {
 opacity:0;
 }
 100% {
 opacity:1;
 }
 }



