@charset "UTF-8";

/*ベース*/
#news
{
	background: #4DA4BF;
	padding: 30px 5%;
}

#news .flex
{
	float: left;
	width: 80%;
	margin-right: 10%;
}

#news .flex dl
{
	display: flex;
	color: #fff;
}

#news .flex dt
{
	font-weight: 300;
	width: 9em;
}

#news .flex dd
{
	width: calc(100% - 9em);
}

#news .flex a
{
	color: #fff;
	transition: all 0.3s;
}

#news .flex a:hover
{
	text-decoration: underline;
}

#news .toggle
{
	display: none;
}

#news .Label
{
	/*過去のNEWSを見る*/
	width: 10%;
	color: #fff;
	clear: both;
}

#news .Label span
{
	font-size: 1.3rem;
	position: relative;
}

#news .Label span::after
{
	/*タイトル横の矢印*/
	content: "";
	width: 10px;
	height: 10px;
	border-top: 1.5px solid #fff;
	border-right: 1.5px solid #fff;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top: calc(50% - 8px);
	right: -20px;
	transform: rotate(135deg);
}

#news .toggle:checked+.Label span::after
{
	transform: rotate(-45deg) !important;
	top: 50%
}

#news .content
{
	/*過去のニュース*/
	clear: both;
	height: 0;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	margin: 0 auto;
	transition: all 0.3s;
}

#news .toggle:checked+.Label+.content
{
	/*開閉時*/
	height: auto;
	padding: 2rem 0 0;
	transition: all .3s;
}

#news .content p
{
	display: flex;
	justify-content: space-between;
	width: 80%;
	padding-bottom: 1em;
	color: #fff;
}

#news .content p .date
{
	width: 9em;
}

#news .content p a
{
	width: calc(100% - 9em);
	color: #fff;
	transition: all 0.3s;
}

#news .content p a:hover
{
	text-decoration: underline;
}

@media screen and (max-width: 1000px)
{
	#news .flex
	{
		margin-right: 5%;
	}

	#news .flex dt
	{
		width: 8em;
		letter-spacing: 0.05em;
	}

	#news .flex dd
	{
		width: calc(100% - 8em);
	}
}

@media screen and (max-width: 768px)
{
	#news
	{
		padding: 20px 5%;
	}

	#news .flex
	{
		width: 100%;
		margin-right: 0;
		margin-bottom: 1rem;
	}

	#news .flex dl
	{
		display: block;
	}

	#news .flex dd
	{
		width: 100%;
	}

	#news .Label
	{
		display: block;
		width: 7em;
		margin: 0 auto 0;
	}

	#news .content p
	{
		width: 100%;
		display: block;
		padding-bottom: 0.5em;
	}

	#news .content p .date
	{
		width: 100%;
	}

	#news .content p a
	{
		width: 100%;
	}

	#news .flex dt,
	#news .content p .date
	{
		font-size: 1.3rem;
	}
}