
/* --- news (2026.02.13) ------------------------------ */

div.news {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto 50px auto;
}

div.news div.midashi {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	border-radius: 3px;
  background: linear-gradient(to bottom, #fff, #eeeeee);
	box-shadow: 2px 2px 4px gray;
	padding: 10px;
	margin: 0 0 16px 0;
}
div.news div.midashi img {
	width: 30px;
	height: 30px;
	vertical-align: middle;
	margin: 0 10px 0 0;
}
div.news div.midashi h2 {
	width: calc(100% - 40px);
	font-size: 1.2em;
	font-weight: bold;
}

#all:checked ~ #all-item ,
#news:checked ~ #news-item ,
#topics:checked ~ #topics-item ,
#recruit:checked ~ #recruit-item {
  display: block;
}
input[name="tab_item"] {
  display: none;
}
input[name="tab_item"] + label {
	color: #000;
	font-size: 0.9em;
	text-align: center;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 30px;
	padding: 4px 16px;
	margin: 0 10px 16px 0;
}
input[name="tab_item"]:checked + label {
	color: #fff;
	background-color: #000;
}


div.news ul.post {
	display: none;
	width: 100%;
	height: 345px;
	font-size: 0.9em;
	background-color: #fff;
	padding: 15px 20px;
	overflow-y: scroll;
}
div.news ul.post li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	border-bottom: 1px dotted #b0bac6;
	padding: 15px 0;
}

div.news div.date {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 122px;
	margin: 0 10px 0 0;
}
div.news div.date img {
	width: 24px;
	margin: 0 10px 0 0;
}
div.news div.date p {
	width: 85px;
}

div.news ul.post li a.title {
	color: #3fa9f5;
	text-decoration: underline;
}

div.news span.icon.news {
	width: 100%;
	max-width: 90px;
	color: #4d4d4d;
	font-size: 0.875em;
	text-align: center;
	border: 1px solid #4d4d4d;
	border-radius: 20px;
	padding: 3px 0 1px 0;
	margin: 0 10px 0 0;
}
div.news span.icon.pdf {
	width: 100%;
	max-width: 44px;
	color: #fff;
	font-size: 0.9em;
	text-align: center;
	background-color: #dc143c;
	border-radius: 4px;
	padding: 2px 0;
	margin: 0 0 0 10px;
}
div.news span.icon.link {
	width: 18px;
	height: 18px;
	margin: 0 0 0 10px;
}
div.news span.icon.new {
	color: #ff1d25;
	font-weight: bold;
	margin: 0 0 0 10px;
}

/* --- content_box ------------------------------ */

.nav_box {
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px 10px;
	margin: 0 0 20px;
}
.nav_box .list_box {
	flex: 1 1 30%;
	font-weight: normal;
	text-decoration: none;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 2px 2px 4px gray;
	padding: 0 10px 10px;
}
.nav_box a:hover {
	opacity: 0.6;
}
.content_box {
	position: relative;
	top: -5px;

}
.list_box .line {
	width: 95%;
	height: 5px;
	position: relative;
	top: -5px;
	margin: 0 auto
}
.line_01 {	
	background-color: #3fa9f5;
}
.line_02 {
	background-color: #7ac943;
}
.line_03 {
	background-color: #ff931e;
}
.line_04 {
	background-color: #c07bac;
}
.line_05 {
	background-color: #c69c6d;
}
.line_06 {
	background-color: #00a99d;
}
.box_01 {
	background-image: url("../images/frontpage/content_01.png");
	background-repeat: no-repeat;
}
.box_02 {
	background-image: url("../images/frontpage/content_02.png");
	background-repeat: no-repeat;
}
.box_03 {
	background-image: url("../images/frontpage/content_03.png");
	background-repeat: no-repeat;
}
.box_03 ul li {
	display: inline-block;
}
.box_03 ul li:first-child {
	margin: 0 10px 0 0;
}
.box_03 ul li a {
	background-image: url("../images/icon-arw_orange.png");
	background-position: left center;
	background-repeat: no-repeat;
	padding: 0 0 3px 25px;
	font-weight: bold;
	border-bottom: 1px solid #ff931e;
	display: inline-block;
}
.box_04 {
	background-image: url("../images/frontpage/content_04.png");
	background-repeat: no-repeat;
}
.box_05 {
	background-image: url("../images/frontpage/content_05.png");
	background-repeat: no-repeat;
}
.box_05 ul li {
	display: inline-block;
}
.box_05 ul li:first-child {
	margin: 0 10px 0 0;
}
.box_05 ul li a {
	background-image: url("../images/icon-arw_brown.png");
	background-position: left center;
	background-repeat: no-repeat;
	padding: 0 0 3px 25px;
	font-weight: bold;
	border-bottom: 1px solid #c69c6d;
	display: inline-block;
}
.box_06 {
	background-image: url("../images/frontpage/content_06.png");
	background-repeat: no-repeat;
}
.content_box h2 {
	padding: 5px 0 10px 85px;
	font-weight: bold;
	font-size: 1.2em;
}
.content_box h2 img {
	margin: 0 0 0 8px;
	vertical-align: middle;
}
.content_box p {
	font-size: 0.87em;
	line-height: 1.6em;
	padding: 5px 0; 
	font-weight: bold;
}
@media screen and (max-width: 768px) {
	.nav_box .list_box {
		flex: 1 1 48%;
		font-weight: normal;
		text-decoration: none;
		background-color: #fff;
		border-radius: 5px;
		box-shadow: 2px 2px 4px gray;
	}
	.box_03 div ul li:first-child {
		margin: 0 0 20px;
	}
}
@media screen and (max-width: 500px) {
	.nav_box {
		display: block;
	}

	.nav_box .list_box {
		margin: 0 3% 30px;
	}
}
@media screen and (max-width: 378px) {
	.box_03 ul li a {
		background-size: 13px auto;
		padding: 0 0 3px 20px;
	}
}

