@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: 90%;
    display: flex;
    margin: 2px auto;
    flex-direction: column;
    max-width: 1300px;    
}
.main {
    width: 100%;
}
.last_mess{
    width: 100%;
}

.contents a{
	font-size: 16px;
	    color: black;
	text-decoration: none;	/* リンクの下線をなくす */
}
.contents a:hover{
	color:rgb(0, 80, 0);
}

.contents span{
	font-size: 16px;
	font-weight: bold;
}

.last_mess{
    display: flex;
    flex-wrap: wrap;
  	background-color: #fbfaf5;
  	margin-top: 40px;
  	margin-left: 28px;    	
  	margin-right: 28px;    	
  	margin-bottom: 20px;
   	border: 2px solid #ddd;
}
.last_mess_img{
    width: 12%;	
}
.last_mess_img img{
	width: 100%;
    padding:5px ;	
	min-width:100px;
}
.last_mess_mess{
    width: 85%;
    padding-top:5px ;	
    padding-left:10px ;	
}

/*** テーブル  *******************/
.memotitle{
  	margin-left: 28px;
	font-size: 13px;
	margin-top: 10px;

}
.memo {
  	margin-left: 28px;
  	margin-right: 28px;
  	margin-bottom: 20px;
	font-size: 13px;
	width: 50%;
	height: 175px;
	overflow-y: scroll;
}

.memo table{
	background-color:#f0f6da;
	border-collapse: collapse;	/*隙間なし*/
}

.col1,.col2,.col3,.col4{

}
.col1{
	width: 45%;
}
.col2{
	width: 10%;
}
.col3{
	width: 45%;
}

.Dcol1{
	padding-left: 3px;
	text-align: left;
}
.Dcol2,.Dcol3{
	text-align: center;
}
.memo th{
	background-color: #deb068;
	position: sticky;
    top: 0px;
}
.memo td{
	border-bottom: 1px solid gray;
	border-top: 1px solid gray;
}



/**********************************/
.contents {
	width: 95%;
    display: flex;
    flex-wrap: wrap;
  	margin-left: 28px;    	
  	margin-right: 28px;      
}
.contents_image{
    width: 35%;	
    margin-top: 10px;
    margin-bottom: 20px;
}
.contents_image img{
    width: 100%;
    margin-bottom: 5px;
   	margin-top: 5px;    
    display: block;
    height: auto;
/*	min-width:350px;*/
}
.contents_mess{
    width: 60%;
    margin-top: 30px;
    padding-top:5px ;	
    padding-left:30px ;    
    padding-bottom:30px ;    
}
.lastline {
    margin-top: 300px;
    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;
    	width: 90%;
        overflow:hidden;
    }
    .main {
        box-sizing: border-box;
        width: 98%;
    }
	.head_Line {
 	 	font-size: 28pt;
	}
	.head_Line span{
		font-size: 26px;
	}    
    .root{
    	margin-left: 30px;
    	margin-top: 40px;
    }

	.memo {
  		margin-left: 15px;
  		margin-right: 15px;
  		margin-bottom: 20px;
		height: 150px;
		width: 90%;
	}


	.last_mess{
    	width: 98%;	
		margin-left: auto;
		margin-right: auto;  	
	}
	.last_mess_img{
    	width: 80%;	
		max-width:130px;
		}
	.last_mess_mess{
    	width: 95%;	
		}
	.contents {
		width: 98%;
		margin-left: auto;
		margin-right: auto;  	
	}
	.contents_image{
    	width: 98%;	
    	margin-top: 10px;
    	}
	.contents_mess{
    	width: 98%;
    	margin-top: 0px;
    	padding-left: 0;
    	margin-bottom: 20px;
    }

@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;
    }
	.memotitle{
  		margin-left: 5px;
  	} 	
	.memo {
  		margin-left: 5px;
  		margin-right: 5px;
  		margin-bottom: 20px;
		width: 95%;
		font-size: 12px;

	}
	.col3{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
    .root{
    	margin-left: 15px;
    	margin-top: 75px;
    }
    .main{
	    margin-top: 2px;
	}  	
	.memo {
  		margin-left: 2px;
  		margin-right: 2px;
  		margin-bottom: 20px;
		width: 98%;
	}
	.col3{
	width: 25%;
	}
}