@charset "UTF-8";

*{
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
div#top{
  max-width: 1000px;
  background-color: black;
  border-width: 5px;
  border-style: ridge;
  border-color: white;
  margin-left: auto;
  margin-right: auto;
  border-top-left-radius: 10px 10px;
  border-top-right-radius: 10px 10px;
  border-bottom-right-radius: 30px 30px;
  border-bottom-left-radius: 70px 60px;
  background-image : url(img/syoufuku.png);
  background-repeat: no-repeat;
  background-position: right top;
  text-shadow: 2px 2px 2px black;
}
div#top p{
	color: white;
	text-decoration: none;
	/*position: relative;*/
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 20px;
	font-size: 20px;
      line-height: 2.5;
}

div#top p img{
	vertical-align: middle;
       box-shadow: 5px 5px 5px rgb(254, 248, 167);
}

div#top a{
     color: blue;
     text-decoration: none;
}
div#ph{
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 20px;
}
div#ph h2{
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
  background-image: url(img/light.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px;
}

div#ph p img{
	max-width: 100%;
	height: auto;
}


div#ph1{

  background-color: white;
  padding-top: 10px;
}
div#cont_out{
  display: block;
}
div#cont{
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;

	background-position: right bottom;
	background-repeat: no-repeat;
	color: white;
	background-color: #336699;
	border-top-left-radius: 10px 10px;
	border-top-right-radius: 10px 10px;
	border-bottom-right-radius: 10px 10px;
	border-bottom-left-radius: 10px 10px;
	background-image: url(img/kamotusen2.gif);
	-webkit-transition: all 3s;
	-moz-transition: all 3s;
	-ms-transition: all 3s;
	-o-transition: all 3s;
	transition: all 3s;
	margin-top: 0px;
	margin-bottom: 0px;
	display: block;
	overflow: auto;
	padding-bottom: 100px;
}
div#cont h2{
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
  background-image: url(img/light.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px;
}
div#cont p{
  max-width : 960px;
  float: left;
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 10px;
  font-size: 20px;
  font-family: メイリオ;
  line-height: 2;
}
div#cont:hover{
  color: black;
  background-color: rgba(51, 102, 153, 0.3);
  background-image : url(img/kamotusen2.gif);
  background-repeat: no-repeat;
  background-position: left bottom;
}
h1{
  font-family: メイリオ;
  color: #999900;
  font-size: 28px;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}
h2{
  font-family: メイリオ;
  color : white;
  font-size: 24px;
  padding-top : 5px;
  padding-left : 20px;
  padding-bottom : 5px;
  border-left-width: 10px;
  border-left-color: #006f00;
  border-left-style: solid;
}
h3{
  color : white;
  font-size: 28px;
  padding-top : 5px;
  padding-left : 20px;
  padding-bottom : 5px;
  font-family : "AR P行書体B";
}
div#fut{
	clear: both;
}
div#fut_in{
  background-color: black;
  max-width: 1000px;
 /*
  height: 150px;
 */
  background-image: url(img/toudai2.gif);
  background-repeat: no-repeat;
  background-position: right bottom;
  margin-left: auto;
  margin-right: auto;
  border-width: 5px;
  border-style: ridge;
  border-color: white;
  border-top-left-radius: 10px 10px;
  border-top-right-radius: 10px 10px;
  border-bottom-right-radius: 10px 10px;
  border-bottom-left-radius: 10px 10px;
  margin-top: 0px;
  margin-bottom: 0px;
}
div#fut_in p{
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	color: white;
	font-size: 18px;
}

div#fut_in p a img {
    box-shadow: 5px 5px 5px rgb(254, 248, 167);
}

div#fut_in h2{
	background-color: blue;
	clear: both;
}
body{
  font-family: "ヒラギノ角ゴシック", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background-image : url(img/wallppr027.gif);
  background-repeat : repeat;
}


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

 h2{
    font-size: 35px;
 }

 h3{
    font-size: 20px;
 }

 div#top p{
    font-size: 20px;
 }


 div#ph p img{
	
    height: auto;
	
}


 div#ph h3{
    font-size: 20px;
 }

 div#ph p{
    font-size: 20px;
 }

 div#cont h2{
    font-size: 30px;
 }

 div#cont h3{
    font-size: 30px;
 }

 div#cont p{
    font-size: 20px;
 }

 div#fut_in p{
    font-size: 20px;
 }

}



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


  div#top{
   background-image : none;
   }

  div#fut_in{
   background-image : none;
   }

}

