@charset "utf-8";/* スマートフォン用CSS */
@media screen and (max-width: 640px) {/* ここから通常のCSS */
*{
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

	#main{
	   display: flex;           /* Flexコンテナ化 */
   flex-direction: column; /* ボックスを縦並びに */
	padding-top: 0px;
	
	padding-left: 0px;
	
	padding-right: 0px;
	
	padding-bottom: 0px;
	
	border-top-width: 0px;
	
	border-left-width: 0px;
	
	border-right-width: 0px;
	
	border-bottom-width: 0px;
	
	width: 100%;
	
	height: inherit;
	
	margin-top: auto;
	
	margin-left: auto;
	
	margin-right: auto;
	
	margin-bottom: auto;
	
}

#header{
	background-image: url(../image/title.jpg);
	height: 200px;
}

	#menu{
	padding-top: 10px;
	
	padding-left: 5px;
	
	width: 200px;
	
	float: none;
	
}

	#navi{
	background-color : #8ccc33;
	
	padding-top: 5px;
	
	width: 100%;
	
	clear: left;
	
	float: left;
	
	padding-bottom: 5px;
	
}

#navi ul{
	list-style-type: none;
	margin-left: 5px;
}

#pan{
	clear: both;
  font-size : x-small;
  text-align : left;
  padding-left : 20px;
  padding-top : 5px;
  padding-bottom : 10px;
    background-color : #ffffff;
  }

body{
	font-size: small;
	line-height : 150%;
	text-align: center;
  clear : both;
}

.naviJa{
  font-size : 108%;
  line-height : 20px;
  height : 20px;
}

.naviEn{
  font-size : 77%;
  font-weight : bold;
  line-height : 15px;
  height : 15px;
}


#header p{
	
	font-size: 25px;
	
	font-weight: bold;
	
	line-height: 30%;
	
	color: white;
	
	text-align: left;
	
	padding-top: 20px;
	
	padding-left: 30px;
	
}
#pan a{
  color : #494949;
  text-decoration : none;
}}/* ←CSSの一番最後に記述 */


#pan a:hover{
  color : fuchsia;
}
.divcm{
  margin-top : 10px;
}
#navi ul li{
	vertical-align: middle;
	text-align: center;
	height: inherit;
	float: left;
  
    background-color : white;
  
    width : 100%;
  
    border-top-style : solid;
    border-left-style : solid;
    border-right-style : solid;
    border-bottom-style : solid;
  
    border-top-width : 1px;
    border-left-width : 1px;
    border-right-width : 1px;
    border-bottom-width : 1px;
    border-top-color : #8ccc33;
    border-left-color : #8ccc33;
    border-right-color : #8ccc33;
    border-bottom-color : #8ccc33;
  
  
  }
#header h2{
  font-size : x-large;
  color : white;
  padding-top : 15px;
  padding-left : 15px;
}

table{
  width : 100%;
}

h1{
  line-height : 110%;
}

