@charset "utf-8";

.mainimg{
	margin: 0 0 2rem 0;
	max-width: 100%;
}

.mainimg img{
	width: 100%;
}

#Leftspace{
    /* width:700px;
	float:left; */
    width: calc(70% - 1rem);
}
			
#Rightspace{ 
	/* width:275px;
	float:right; */
    width: calc(30% - 1rem);
	text-align: center;
}

#Rightspace #juseiki{
	text-align:center;
	margin-bottom:15px;
	border:1px solid #09F;
	display: inline-block;
	width: 100%;
}

#Rightspace #juseiki img{
	margin:5px;
	max-width: 70%;
}

#Rightspace #juseiki #title{
	/* background:url(../img/bg.jpg) repeat-x; */
	background: linear-gradient(to bottom, #0ca3e8, #2dafeb);
	background: -webkit-linear-gradient(top, #0ca3e8, #2dafeb);
	background: -moz-linear-gradient(top, #0ca3e8, #2dafeb);
	padding:3px;
	color:#fff;
}


.r_banner{
	margin:0px;
	margin-bottom:40px;
}	
.r_banner ul li{
	list-style-type: none;
	margin-bottom:15px;
	max-width: 100%;
}


#b_banner{ 
	margin:0px;
	margin-bottom:40px;
}	
#b_banner ul li{
	list-style-type: none;
	margin-bottom:15px;
}
	


#news{
	position: relative;
	border:5px solid #EBEBEB;
	/* height:1640px; */
	padding: 0px 2rem 1rem 1rem;
	display: flex;
	flex-wrap: nowrap;
} /* ←index news */

#newstit{ 
	position: absolute; 
	top: -15px;
	left: 15px;
}
#newstit ul{
	background: linear-gradient(to bottom, #0ba4ea, #058ac5);
	background: -webkit-linear-gradient(top, #0ba4ea, #058ac5);
	background: -moz-linear-gradient(top, #0ba4ea, #058ac5);
	padding: 1.5rem 1rem;
	color: #fff;
	font-weight: 500;
	box-shadow: 2px 2px 2px 0px #c1c1c1;
}
#newstit ul li:nth-child(1){
	font-size: 20px;
    letter-spacing: 3px;
    text-shadow: 0px 3px 3px rgb(9 20 75 / 30%);
}
#newstit ul li:nth-child(2){
	font-size: 13px;
    letter-spacing: 1px;
}

#newsarea{ 
	/* position: absolute; */
	top: 25px;
	left: 150px;
	/* width:500px; */
	line-height:150%;
	font-size:16px;
} 
#newsarea ul{
	padding-left: 9rem;
}

#newsarea ul li{
	list-style-type: none;
	padding:5px;
	margin-bottom: 1rem;
	border-bottom:1px dotted #CCCCCC;
}
	
#archives{ border:5px solid #EBEBEB;}
#archivearea { padding: 10px 20px; }
#archivearea ul li{list-style-type: none;	padding:5px;	margin-bottom:5px;	border-bottom:1px dotted #CCCCCC;}
#archivearea dl { width: 100%;}
#archivearea dt,#archivearea dd { border-top:1px dotted #CCCCCC;}
#archivearea dt { width: 6.5em;float: left;clear: both;margin:0;padding: 5px 0px 5px 5px;}
#archivearea dd { margin-left: 6.5em;padding: 5px;}
	
#list{margin-bottom:40px;line-height:110%;padding-bottom:10px;border-bottom:5px solid #CCCCCC;}	
#list ul{padding:0px;margin:0px;}	
#list li{width:700px;height:60px;padding:0px;margin:0px;list-style-type:none;border-bottom:1px dotted #999999;padding-top:10px;	}
#list li .photo{ width:200px;float:left;font-weight:bold;margin-bottom:7px;padding-bottom:7px;}
#list li .text{   width:480px;float:right;color:#000000;}

/* table */
.fontsize16 td { font-size:16px;line-height: 1.75em; }
	


/*右側の更新情報*/
#kousinwaku{margin-bottom:20px;}	
	
	
#kousin{
	position: relative;
	border:5px solid #EBEBEB;
	/*height:1000px;*/
	height: 700px;
	line-height:110%;
	
}

#kousintit{ position: absolute;
top: -15px;
left: 10px;
}

#kousinarea{
width:240px;
	font-size:80%;

} 

#kousinarea ul li{
	list-style-type: none;
	padding:2px;
	margin-bottom:2px;
	border-bottom:1px dotted #CCCCCC;
}
	
.main-area{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}
@media screen and (max-width: 1023px) {
	.outline {
		max-width: 100%;
	}
	header #logo{
		margin-left: 1rem;
		}
	header h1{
		margin-left: 1rem;
	}

	.sec{
		max-width:100%;
		margin:25px 0px;
		line-height:170%;
		}

	.main-area{
		flex-wrap: wrap;
	}
	#Leftspace{
		width: 100%;
	}

	#newsarea {
		line-height: 150%;
		font-size: 16px;
		display: block;
	}

	#Rightspace {
		width: 100%;
		display: flex;
	}
	#Rightspace	article{
		width:calc(33.33% - 1rem);
		justify-content: space-between;
	}
}
@media screen and (max-width:768px){
	/* その他 */
	header #logo {
		max-width: 70%;
	}
	#Rightspace{
		width: 100%;
		display: block;
	}
	#Rightspace #juseiki{
		width: 80%;
		margin: 0 auto;
		margin-top: 2rem;
	}
	#Rightspace article {
		width: 80%;
		margin: 0 auto;
		justify-content: space-between;
		margin-top: 2rem;
	}
	.r_banner ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.r_banner ul li{
		max-width: calc(50% - 1rem);
	}
	#re-top a{
		margin-right: 0.5rem;
	}
}
/*====================================
	スマホ	425px以下
=====================================*/
@media screen and (max-width: 425px) {
	#news{
		margin-top: 2rem;
		padding: 0;
	}
	#newstit {
		top: -3rem;
	}

	#newsarea ul{
		padding-left: 0rem;
		padding-top: 5rem;
	}

	.r_banner ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.r_banner ul li{
		max-width: 100%;
	}

}