@charset "utf-8";
.wrap {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 30px 0;
}
header h1 {
	text-align: center;
	margin-bottom: 30px;
}
nav ul {
	display: flex;
	flex-wrap: wrap;
	line-height: 0;
	justify-content: space-around;
	margin-bottom: 60px;
}
nav ul li {
	padding: 5px;
}
@media screen and (min-width:600px) {
	nav ul li {
		width: 50%;
	}
	nav ul li:first-child {
		width: 100%;
	}
}
nav ul li a {
	display: block;
	background-color: #FEA;
	border-radius: 5px;
	padding: 5px;
	line-height: 1;
	text-decoration: none;
	color:#333;
	transition: .3s all;
}
nav ul li a:hover {
	opacity: .8;
	background-color: #FFFF00;
}
nav ul li a img {
	margin-bottom: 5px;
}
main > div {
}
#tw {
	margin-bottom: 30px;
}
#news {
	margin-bottom: 30px;
}
#tw h3,
#news h3 {
	line-height: 0;
	margin-bottom: 15px;
	text-align: center;
}
@media screen and (min-width:481px) {
	#tw .twbox {
		max-width: 420px;
		margin: 0 auto;
	}
}
#news .newsarea {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px;
}
@media screen and (min-width:481px) {
	#news .newsarea {
		display: flex;
		flex-wrap: wrap;
	}
}
#news .newsarea .newsbox {
	border: 1px solid;
	padding: 10px 10px 3em;
	border-radius: 5px;
	margin: 5px;
	position: relative;
}
@media screen and (min-width:481px) {
	#news .newsarea .newsbox {
		width: calc((100% / 3) - 10px);
	}
}
#news .newsarea .newsbox .txt img {
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
#news .newsarea .newsbox .newslink {
	display: block;
	position: absolute;
	bottom: 10px;
	font-size: 12px;
	padding: 5px;
	background-color: #FC0;
	width: calc(100% - 20px);
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	text-align: center;
}
#news .newsarea .newsbox .newslink::after {
	content: '〉';
	position: absolute;
	right: 5px;
}
footer > div {
	text-align: center;
	font-size: 12px;
	padding: 30px 0 15px;
}


