@charset "utf-8";

.contents3 {
	background-color: #fff;
}

/*#main h1 {
	background-color: var(--news-color);
}
#main h2 {
	color: var(--news-color);
	border-left: 1em solid var(--news-color);;
}*/
.followbtn {
	background-color: var(--news-color);
	border-color: var(--news-color);
}
.oldnews_link .followbtn {
	background-color: #318102;
	border-color: #318102;
}

.listbox {
	margin-top: 30px;
	border-top: 2px solid #FF791B;
	border-bottom: 2px solid #FF791B;
}
.listbox li {
	border-bottom: 1px dotted #FF791B;
}
.listbox li:last-child {
	border-bottom: none;
}
.listbox li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 1em;
	transition: .5s;
}
.listbox li a:hover {
	background-color: rgba(255,121,17,0.50);
	text-decoration: none;
}
.listbox li a img {
	float: left;
	margin-right: 2em;
	width: 240px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(img/thm.jpg);
}
@media screen and (max-width:480px) {
	.listbox li a img {
		width: 100%;
		margin-bottom: 1em;
		margin-right: 0;
		float: none;
	}
}
.listbox li a::after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
}
.listbox .category {
	border: solid 1px;
	display: inline-block;
	background: #FFF;
	font-size: 80%;
	float: right;
	width: 13em;
	padding: .5em;
	text-align: center;
	border-radius: .3em;
}
@media screen and (max-width:480px) {
	.listbox .category {
		margin-bottom: -.9em;
	}
}
.listbox .date {
	clear: right;
	font-size: .9em;
	font-weight: bold;
	margin-bottom: .5em;
}
.navi {
	padding: 4em 0;
}
.navi ul {
	display: flex;
	justify-content: space-between
}
.navi ul.single {
	display: block;
	justify-content: center;
}
.navi ul.single li {
	width: 100%;
}
.navi ul.single li a {
	display: block;
	text-align: center;
}
.navi ul li span {
	color: #CCC;
}
@media screen and (min-width:481px) {
	.navi ul li.home a::before {
		content: "[";
		display: inline-block;
		padding-right: 1em;
	}
	.navi ul li.home a::after {
		content: "]";
		display: inline-block;
		padding-left: 1em;
	}
	.navi ul li.home span::before {
		content: "[";
		display: inline-block;
		padding-right: 1em;
	}
	.navi ul li.home span::after {
		content: "]";
		display: inline-block;
		padding-left: 1em;
	}
}
@media screen and (max-width:480px) {
	.navi ul {
		margin-bottom: 1em;
	}
	.navi ul li span,
	.navi ul li a {
		font-size: 80%;
		border: 1px solid;
		padding: .8em .5em;
		border-radius: .3em;
	}
}
main article > div.category_title h2 {
	border: none;
}
.category_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 1em 0 2em;
}
.category_list li {
	width: calc(95% / 5);
	margin: 0 .5% 1%;
}
.category_list li.single {
	width: 100%;
}
.category_list li a {
	border: solid 1px;
	display: block;
	background: #FFF;
	padding: .5em;
	text-align: center;
	border-radius: .3em;
	transition: .5s;
}
@media screen and (max-width:480px) {
	.category_list li {
		width: calc(98% / 2);
		margin-bottom: 2%;
	}
	.category_list li.single {
		width: calc(100% / 1);
		margin-bottom: 2%;
	}
	.category_list li a {
		padding: .8em 0
	}
}
.category_list li a:hover {
	background-color: rgba(243,246,34,0.50);
	text-decoration: none;
}
.category_list li a.now {
	border: solid 1px;
	display: block;
	background-color: #318102;
	color: #fff;
}
.category_list li a.now:hover {
	background-color: #318102;
	text-decoration: none;
}

.oldnews_link {
	margin-top: 30px;
}

.newsbox {
	border-top: 2px solid var(--contents-color);
	border-bottom: 2px solid var(--contents-color);
	padding: 2em 1em;
	word-break: break-all;
}
.newsbox .cat a {
	border: solid 1px;
	display: inline-block;
	background: #FFF;
	font-size: 80%;
	float: right;
	width: 12em;
	padding: .5em;
	text-align: center;
	border-radius: .3em;
	margin-left: 1em;
	margin-top: 0em;
}
.newsbox .title h5 {
	font-size: 140%;
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: .3em;
	line-height: 1.5;
	padding-bottom: calc(.3em / 1.4);
	font-weight: 700;
	color: #555;
}
.newsbox .title h6 {
	font-size: 100%;
	margin-bottom: 15px;
}
.newsbox .txt {
	margin: 2em 0 0;
	line-height: 2;
	font-weight: 200;
}

/* アコーディオン */
.p-accordion__body {
	display: none;
}
.p-accordion__title {
	position: relative;
	padding: 0.5em 1em;
	width: 100%;
	text-align: left;
	color: #fff;
	border-radius: 2em;
	background-color: #e40080;
	transition: 0.2s;
	border: none;
	line-height: 1;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	transform:rotate(0.03deg);
	font-weight: 800;
	cursor: pointer;
}
.p-accordion__title:hover {
	opacity: 0.7
}
.p-accordion__title::before{/* 閉じている時 */
	content: "＋";
	position: absolute;
	right: 10px;
	color: #fff;
}
.active .p-accordion__title::before{/* 開いている時 */
	content: "－";
}
