@charset "utf-8";

body{
	background-color: #EEFFFF;
	background-image: url(../theme_tateyama_800x250.jpg);
	background-position-x: center;
	background-repeat: repeat-x;
	background-size:auto;
    margin: auto;
    display: flex;
    flex-flow: column;
}

.head_Line {
	color: #556b2f;
  	font-family: "HGS創英角ﾎﾟｯﾌﾟ体","游ゴシック", "YuGothic", "メイリオ", meiryo;
  	font-size: 32pt;
	position: relative; top:40px;
	text-align:center
}
.head_Line span{
	font-size: 28px;
}

.menu{
	display: flex;	
  	width: 100%;
  	background-color: #1f3134;
  	box-sizing: border-box;
  	position: absolute; top:240px;
  	left: 0px;
  	justify-content: center;
  	margin-top: 0;
}
.menu li{
  	list-style: none;				/* 先頭のピリオドをなくす */
  	text-align: left;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 20px;
	margin-right: 20px;
}
.menu a {
	text-decoration: none;	/* リンクの下線をなくす */
	color: white;
}
.menu a:hover{
	color: rgb(214, 237, 248);
}

/****************************************/
.root{
    display: flex;
	position: relative; top:195px;
    width: 90%;
    margin-top: 40px;
    align-self: center;
    max-width: 1300px;    
}
.root a{
	text-decoration: none;	/* リンクの下線をなくす */
}
/*************************************/
.wrapper {
	position: relative; top:200px;
    width: 95%;
    display: flex;
    margin: 2px auto;
    flex-direction: column;
    max-width: 1300px;
}
.main {
    margin-top: 20px;
    width: 100%;
}
.last_mess{
    width: 100%;
}

.contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contents div{
	margin-top: 2px;
	margin-bottom: 40px;
    width: 45%;
}

.contents img{
    margin-bottom: 10px;
   	margin-top: 5px;    
    display: block;
    width: 100%;
    height: auto;
}
.contents a{
	font-size: 14px;
	    color: black;
	text-decoration: none;	/* リンクの下線をなくす */
}
.contents a:hover{
	color:rgb(0, 80, 0);
}

.contents span{
	font-size: 16px;
	font-weight: bold;
}
.lastline {
    position: relative; top:250px;  
    display: flex;
    width: auto;
    background-color: #3b7960;
    box-sizing: border-box;
    left: 0;
    justify-content: center;
    color: black;
}

.lastline li{
  list-style: none;				/* 先頭のピリオドをなくす */
}
.lastline a {
	text-decoration: none;	/* リンクの下線をなくす */
	margin-right: 50px;
}
.lastline a:link {color: black;}
.lastline a:hover {color: white;}
/********************************************************/
/********************************************************/

@media screen and (max-width: 1000px) {
    .wrapper {
    	flex-direction: column;
    	width: 90%;
        overflow:hidden;
    }
    .main {
        box-sizing: border-box;
        width: 98%;
    }
    .contents div {
        width: 98%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
	.head_Line {
 	 	font-size: 28pt;
	}
	.head_Line span{
		font-size: 26px;
	}    
    .root{
    	margin-left: 30px;
    	margin-top: 40px;
    }

}
@media screen and (max-width: 740px) {
	.head_Line {
 	 	font-size: 22pt;
	}
	.head_Line span{
		font-size: 20px;
	}
	.menu li{
		margin-left: 10px;
		margin-right: 0px;
	}	
    .root{
    	margin-left: 20px;
    	margin-top: 55px;
    }
 	
}
@media screen and (max-width: 480px) {
    .root{
    	margin-left: 15px;
    	margin-top: 75px;
    }
	.contents div{
		margin-top: 20px;
    }
    .main{
	    margin-top: 2px;
	}  	
}