@charset "UTF-8";

*{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

div#top{
	max-width: 800px;
	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/fune_t3.png);
	background-repeat: no-repeat;
	background-position: right bottom;
       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;
      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_out{
	height: 800px;
}

div#ph{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	display: block;
	background-size: cover;
}

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

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

DIV#CONT_OUT{
}

div#cont{
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 50px;
	margin-top: 0px;
	max-width: 800px;
	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;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	display: block;
	overflow: auto;
}

div#cont:hover{
	background-color: rgba(254, 254, 254, 0.7);
	color: black;
}

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;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}

div#cont p{
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 20px;
	font-family: メイリオ;
	line-height: 1.5;
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	display: block;
	padding-bottom: 40px;
}

DIV#CONT P#REKISHI{
}

DIV#CONT P:HOVER{
}

h1{
     font-family: メイリオ;
     color: #999900;
     font-size: 200%;
     padding-left: 2%;
     padding-top: 5px;
     padding-bottom: 5px;
     padding-right: 2%;
}

h2{
	font-family: メイリオ;
	color: white;
	font-size: 150%;
	padding-top: 5px;
	padding-left: 1%;
	padding-bottom: 5px;
      padding-right: 2%;
	border-left-width: 10px;
	border-left-color: #006f00;
	border-left-style: solid;
}

h3{
	color: white;
	font-size: 150%;
	padding-top: 5px;
	padding-left: 1%;
      padding-right: 2%;
	padding-bottom: 5px;
}

div#fut{
	display: block;
	clear: both;
}

div#fut_in{
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
	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;
}

div#fut_in p{
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	color: white;
}

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

div#fut_in h2{
	background-color: blue;
	display: block;
}

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


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

  div#ph {
   display: none;
   }

  div#top{
   background-image : none;
   }

  div#fut_in{
   background-image : none;
   }

}


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

  div#phs {
   display: none;
   }

}



