@import "common.css";

#news_section {
	width: 100%;
	margin: 0 auto;
}

#news_main {
	padding: 10px 10px;
	max-width: 600px;
	margin: 0 auto;
}

#news_exp h1 {
	margin: 30px 0;
	padding: 5px;
	font-size: 18px;
	border: 2px solid #4d4d4d;
	border-radius: 20px;
	text-align: center;
}

/*------------------------------
ニュース - 年度選択
-------------------------------*/
.search_nendo {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 5px;
	margin: 10px 0;
}

.search_nendo input {
	display: none;
}

.search_nendo label {
	color: #4d4d4d;
	font-weight: bold;
	border-radius: 100%;
	text-align: center;
}

.search_nendo input[type="radio"]:checked + label {
	color: #4d4dff;
}

/*------------------------------
ニュース - コンテンツ内
-------------------------------*/
.letter {
	background: rgb(255, 254, 168);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	margin: 26px auto 0;
	max-width: 600px;
	min-height: 400px;
	padding: 24px;
	position: relative;
	width: 90%;
}
.letter:before,
.letter:after {
	content: "";
	height: 98%;
	position: absolute;
	width: 100%;
	z-index: -1;
}
.letter:before {
	background: rgb(214, 213, 125);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
	left: -5px;
	top: 4px;
	transform: rotate(-2.5deg);
}
.letter:after {
	background: rgb(241, 240, 159);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	right: -3px;
	top: 1px;
	transform: rotate(1.4deg);
}

.letter h1 {
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	border-bottom: dotted 1px;
}

.letter span {
	width: 100%;
	font-weight: bold;
}

.letter p {
	width: 100%;
	padding-top: 20px;
}

.letter p a {
	width: 100%;
	display: block;
}
