@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-family: メイリオ;
}
div#top p img{
  vertical-align: middle;
}
div#top a{
  color: blue;
  text-decoration: none;
}
div#ph_out{
  }
div#ph{
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;

}

div#ph p{
     max-width: 50%;
     max-height: 50%;
     float: left;
}

div#ph img{
       width: 100%;
	height: 100%;
}

div#phs{
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;

}

div#phs img{
	width: 100%;
	height: 100%;
}


div#cont_out{
     clear: both;
}
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/kamotusen.gif);
  -webkit-transition: all 5s;
  -moz-transition: all 5s;
  -ms-transition: all 5s;
  -o-transition: all 5s;
  transition: all 5s;
  padding-bottom: 100px;
  margin-top: 70px;
  margin-bottom: 0px;
  overflow: auto;
}
div#cont:hover{
  color: black;
  background-color: rgba(254, 254, 254, 0.7);
  background-position: left bottom;
}
div#cont h2{
  color: black;
  background-color: rgba(255, 255, 255, 1.0);
  background-image: url(img/light.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
div#cont p{
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 5px;
  font-size: 24px;
  font-family: メイリオ;
  line-height: 1.5;
  margin-top: 20px;
}
div#cont p:hover{
  }
div#cont p#rekishi{
  }
h1{
  font-family: メイリオ;
  color : #999900;
  font-size : 30px;
  padding-left : 20px;
  padding-top : 5px;
  padding-bottom : 5px;
}
h2{
  font-family: メイリオ;
  color : white;
  font-size : 24px;
  padding-top : 10px;
  padding-left : 20px;
  padding-bottom : 10px;
  border-left-width: 10px;
  border-left-color: #006f00;
  border-left-style: solid;
}
h3{
  color : white;
  font-size : 18px;
  padding-top : 5px;
  padding-left : 20px;
  padding-bottom : 5px;
  font-family : "AR P行書体B";
}
div#fut{
  clear: both;
}
div#fut_in{
  background-color: black;
  background-image: url(img/toudai2.gif);
  background-repeat: no-repeat;
  background-position: right bottom;
  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-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  max-width: 1000px;
}
div#fut_in p{
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  color: white;
}
div#fut_in h2{
  background-color : blue;
}
body{
  font-family: "ヒラギノ角ゴシック", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background-image: url(img/nami.png);
  background-repeat: repeat;
}



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




  div#ph {
   display: none;
   }

  div#top{
   background-image : none;
   }

  div#fut_in{
   background-image : none;
   }

}


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

  div#phs {
   display: none;
   }

}


