@charset "utf-8";

#main h1 {
	background-color: var(--news-color);
}
#main h2 {
	color: var(--news-color);
	border-left: 1em solid var(--news-color);;
}
#main a:link {
	color: #da57d8;
}
#main a:link {
	color: #da57d8;
	text-decoration: none;
}
#main a:visited {
	color: #da57d8;
	text-decoration: none;
}
#main a:hover {
	color: #da57d8;
	text-decoration: underline;
}
#main a:active {
	color: #da57d8;
	text-decoration: none;
}

.followbtn {
	background-color: var(--news-color);
	border-color: var(--news-color);
}
.oldnews_link .followbtn {
	background-color: #da57d8;
	border-color: #da57d8;
}

.listbox {
	margin-top: 30px;
	border-top: 2px solid #da57d8;
	border-bottom: 2px solid #da57d8;
}
.listbox li {
	border-bottom: 1px dotted #da57d8;/*rgba(90,199,34,1.00);*/
}
.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(218,87,216,0.20);
	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 #da57d8;
	color: #da57d8;
	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: #da57d8;/*#318102*/
	color: #fff!important;
}
.category_list li a.now:hover {
	background-color: #da57d8;/*#318102*/
	text-decoration: none;
}

.oldnews_link {
	margin: 30px auto;
}

.newsbox {
	border-top: 2px solid #da57d8;
	border-bottom: 2px solid #da57d8;
	padding: 2em 1em;
	background-color: rgba(255,255,255,0.50);
	word-break: break-all;
	margin-bottom: 30px;
}
.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 h5 {
	font-size: 140%;
	border-bottom: 1px solid #ecabeb;
	margin-bottom: .3em;
	line-height: 1.5;
	padding-bottom: calc(.3em / 1.4);
}
.newsbox h6 {
	font-weight: bold;
}
.newsbox .txt {
	margin: 2em 0 0;
	line-height: 2;
	font-weight: 300;
}




/* アコーディオン */
.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: "－";
}
