@charset "utf-8";
body {
	background: #F6F6F6;
	color: #222;
}
p {
	font-size: 14px;
	margin-bottom: 20px;
	line-height: 2;
}
main {
    max-width: 900px;
    margin: 0 auto;
}
ul#sites {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto !important;
    padding: 0;
}
ul#sites li {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
ul#sites li img {
	width: 360px;
}
ul#sites.sites-top {
	padding: 40px 0;
}
#maintenance {
	border-top:2px solid #333;
	border-bottom:2px solid #333;
    margin: 40px 0;
	padding: 30px 0 20px;
}
#term {
    font-size: 20px;
	display: inline-block;
    padding: 10px 0;
}
#notice{
    font-size: 12px;
}
h1 {
	font-weight: bold;
	font-size:18px;
	margin-bottom: 10px;
}

h2 {
	font-weight: bold;
	font-size:16px;
	margin-bottom: 10px;
}
a {
	color: #333;
	text-decoration: underline;
}
strong {
	font-weight: bold;
}
.box {
	border:1px solid #333;
	padding: 20px;
}
footer {
	width: 100%;
	border-top:1px solid #333;
	height: 50px;
	padding-top: 12px;
	text-align: center;
}
footer p {
	font-size: 11px;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}


@media only screen and (max-width: 768px) {
	main {
	    margin: 20px;
	}
	ul#sites li img {
		width: 240px;
	}
	ul#sites.sites-top {
		padding: 20px 0;
	}
	p {
		line-height: 1.8;
	}
	p.text {
		text-align: left;
	}
	#term {
	    font-size: 18px;
	}
	footer {
		height: 30px;
		padding-top: 12px;	
	}
}

/* お知らせ */
.news {
	margin: 40px 0;
}
.news h2 {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}
.news h2::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #222;
}
.news-list {
	border-top: 1px dotted #666;
	margin-bottom: 20px;
}
.news-list li {
	border-bottom: 1px dotted #666;
}
.news-list a {
	display: flex;
	gap: 20px;
	padding: 15px 10px;
	font-size: 14px;
	line-height: 1.6;
	color: #222;
	text-decoration: none;
}
.news-list a:hover .news-title {
	text-decoration: underline;
}
.news-list time {
	flex-shrink: 0;
}
.news-more {
	text-align: right;
	margin-top: 24px;
}
.news-more a {
	color: #222;
}
.news-back {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 40px;
}
.news-back a {
	color: #222;
}
.news-detail {
	background: rgba(255, 255, 255, 0.8);
	padding: 40px;
	margin-top: 20px;
}
.news-detail h1 {
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;
	margin-bottom: 25px;
}
.news-detail p:last-child {
	margin-bottom: 0;
}
.news-date {
	margin-bottom: 10px;
}
@media only screen and (max-width: 768px) {
	.news-list a {
		flex-direction: column;
		gap: 5px;
	}
	.news-detail {
		padding: 20px;
	}
}
