@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-repeat: repeat;
  background-attachment: scroll;
  background-color: #515151;
  background-image: url(images/kamon.gif);
}
div#topout{
  background-color: rgba(0, 0, 0, 0.5);
}
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 #menusmp{
	position: absolute;
	z-index: 999;
	margin-top: 50px;
	margin-left: 350px;
	margin-right: 0px;
	margin-bottom: 0px;
}

div#top #menusmp a{
     border-style: none;
     text-decoration: none;
     color: black;
     font-size: 24px;
     display: block;
     border-top-left-radius: 0px 0px;
     border-top-right-radius: 0px 0px;
     border-bottom-right-radius: 0px 0px;
     border-bottom-left-radius: 0px 0px;
     background-color: transparent;
}

div#top #menusmp img{
	vertical-align: middle;

}

div#top h1{
  position: absolute;
  top: 280px;
  z-index: 99;
  height: 70px;
  color: white;
  background-color: black;
  text-align: left;
  font-size: 50px;
  font-family: "ＭＳ 明朝";
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
  line-height: 1.5;
  border-width: 5px;
  border-style: ridge;
  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;
  transform: rotate(-3deg);
  margin-left: 460px;
  background-repeat: no-repeat;
}
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: rgba(0, 0, 255, 0.5);
  transform: rotate(0deg);
}
#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-image: url(images/sakura.jpg);
  background-repeat: repeat-x;
  background-position: center top;
}
#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-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  background-color: rgba(255, 255, 255, 0.5);

}
#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: rgba(189, 190, 221, 0.7);
  padding-bottom: 10px;
  margin-left: 15px;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 1);
}
#footer{
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  clear: both;
}
#footer_in{
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  width: 790px;
  /*
  height: 120px;
  */
  border-width: 5px;
  border-style: ridge;
  border-color: black;
  background-color: #bccf96;
  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;
}
/* リンクと画像
---------------------------------------------------- */
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;
}
#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-repeat: no-repeat;
  background-image: url(images/hondou.png);
*/
}
#logo p{
	font-family: メイリオ;
	width: 785px;/*
  height: 18px;
  */
	margin-top: 40px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	text-align: center;
	background-color: #2c3517;
	border-top-left-radius: 4px 4px;
	border-top-right-radius: 4px 4px;
	border-bottom-right-radius: 4px 4px;
	border-bottom-left-radius: 4px 4px;
	position: relative;
	display: block;
	bottom: 2px;
	line-height: 1.5;
	z-index: 99;
}
ul#headnav{
  position: absolute;
  top: 40px;
  right: 0px;
  line-height: 1;
  margin-top: -0.5em;
  margin-right: 20px;
  background-color: white;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
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: 0;
}
/* トピックパス（パンくずリスト）
---------------------------------------------------- */
#topicpath{
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 10px;
}
#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.sp{
     display: none;
}

#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: rgba(0, 0, 0, 0.7);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left center;
  background-size: auto auto;
  background-origin: padding-box;
  background-clip: border-box;
  border-left-width: 10px;
  border-left-style: solid;
  border-left-color: olive;
}
#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: メイリオ;
  text-shadow: 2px 2px 2px #fff;
}
#main p{
  font-family: メイリオ;
  font-size: 15px;
  padding-left: 20px;
  text-shadow: 2px 2px 2px #fff;
}
#main p a{
  text-decoration: none;
  padding-top: 2px;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 2px;
  margin-top: 2px;
  margin-left: 2px;
  margin-right: 2px;
  margin-bottom: 2px;
  color: black;
  background-color: white;
}
#main p a:hover{
  }
#main p a:visited{
  }
#main img{
  border-radius: 10px;
}
/* サブコンテンツ
---------------------------------------------------- */
#suba{
  text-align: center;
}

#suba a img{
     border-radius: 50%;
}

#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;
}
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{
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
  }
ul#localnav2 li{
  margin-left: 30px;
  list-style-type: decimal;
}
/* フッタ
---------------------------------------------------- */

#footer a{
  color: black;
}
#footer p{
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	margin-top: 5px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	background-color: rgba(217, 217, 255, 0.5);
	border-top-left-radius: 10px 10px;
	border-top-right-radius: 10px 10px;
	border-bottom-right-radius: 10px 10px;
	border-bottom-left-radius: 10px 10px;
}
#footer img{
  padding-left: 5px;
}
ul#footnav{
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  color: black;
}
ul#footnav li{
  display: block;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  color: black;
}
p#copyright{
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  color: black;
  float: none;
  clear: both;
  text-align: right;
}
p#setu1{
  color : white;
}
div#mainvisual{
  height : 300px;
  width : 800px;
}
div#mainvisual:hover{
  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;
}
.blinking{
  -webkit-animation:blink 5.5s ease-in-out infinite alternate;
  -moz-animation:blink 5.5s ease-in-out infinite alternate;
  animation:blink 5.5s ease-in-out infinite 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;
}
}

/* ウィンドウ幅が799px以下の場合に適用するCSS */
@media screen and ( max-width:799px )
{

 #header{
	background-image: url(images/sakura.jpg);
	width: 800px;
 }

 div#top h1{
	top: 250px;
	margin-left: 30px;
 } 

 #top a{
	font-size: 20px;
	margin-right: 10px;
 }

 div#top #menusmp a{
	font-size: 26px;
	width: 270px;
 }


 #topicpath a.pc{
     display: none;
 }

 #topicpath a.sp{
     background-color: #5d7bf7;
     display: inline-block;
 }


 #logo p{
	display: none;
 }

 ul#headnav{
	font-size: 20px;
 }

 #main p a{
	margin-right: 10px;
 }

 #main p{
	font-size: 20px;
 }

 ul#localnav2{
	display: none;
 }

 #footer p{
	font-size: 24px;
 }

}


