@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;	/* リンクの下線をなくす */
}

.WatsNew{
    height:80px;
	align-self: center;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 2px solid #f0f6da;
	border-top: solid 7px #ffe4b5;
   	font-size: 13px;    
	background-color:#f0f6da;
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
    margin-top: 8px;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 30px;


}

/*************************************/
.wrapper {
	position: relative; top:200px;
    width: 95%;
    display: flex;
    margin: 2px auto;
    justify-content: space-around;
    max-width: 1300px;
}


.main {
    width: 78%;
}
.side {
    width: 20%;
    margin-top: 8px;
/*    
	background-color:#fbfaf5;
   	border: 2px solid #ddd;
   	height: 500px;
*/
}
.side p, ul {
/*    background-color: #f0f0f0;*/
    padding: 15px;
}
/* 内容全体 */

.contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contents div{
	margin-top: 2px;
    width: 30%;
}

.contents img{
/*
    margin-bottom: 10px;
   	margin-top: 10px;    
*/
    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 a span{
	font-size: 16px;
	font-weight: bold;
}

.side_r0{
	background-color:#f7fcfe;
   	border: 2px solid #ddd;
   	height: auto;

}
.side_r1 {
	margin-top: 5px;
	text-align: center;
}
.side_r2 {
	margin: 10px;
	font-size: 14px;
}
.lastline {
    margin-top: 260px;
    display: flex;
    width: 100%;
    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;
        overflow:hidden;
    	margin-left: 30px;
    }

	.WatsNew{
    margin-left: 10px;
    margin-right: 10px;

	}


    .main, .side {
        box-sizing: border-box;
        width: 100%;
	    margin-top: 10px;
	}    
    .contents div {
        width: 45%;
        margin-top: 10px;
    }
	.head_Line {
 	 	font-size: 28pt;
	}
	.head_Line span{
		font-size: 26px;
	}    
	.side{
    	flex-direction: column;
		width: 98%;


	}
    .root{
    	margin-left: 30px;
    	margin-top: 50px;
    }
}
@media screen and (max-width: 740px) {
	.head_Line {
 	 	font-size: 22pt;
	}
	.head_Line span{
		font-size: 20px;
	}
    .contents div {
        width: 90%;
    }
    .contents div a,
    .contents div img {
    	margin-top: 10px;
    }
	.menu li{
		margin-left: 10px;
		margin-right: 0px;
	}
    
    .root{
        margin-left: 20px;
        margin-top: 55px;
    }
    .wrapper {
    	margin-left: 20px;
    }
	.WatsNew{
    	margin-left: 5px;
	}    
@media screen and (max-width: 480px) {
    .root{
    	margin-left: 15px;
    	margin-top: 75px;
    }
    .wrapper {
    	margin-left: 15px;
    }
    .main{
	    margin-top: 2px;
	}     

}