@charset "utf-8";

/***********************************************************************

------------------------------------------------------------------------
お知らせ
***********************************************************************/

#main {
	padding-bottom: 50px;	
}
@media only screen and (max-width: 767px) {
	#main {
		padding-bottom: 0;
	}
}

/* 一覧ページ
========================================== */

#main #news .news_list {
	background-color: #000;
	position: relative;
	margin-top: 25px;
	color: #fff;
	padding: 30px 35px;
}
#main #news .news_list::before,
#main #news .news_list::after {
	content: "";
	display:block;
	position: absolute;
	width: 1024px;
	height: 12px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	left: 0;
}
#main #news .news_list::before {
	background-image: url("../img/recruit/bg_news_top.png");
	top: -12px;
}
#main #news .news_list::after {
	background-image: url("../img/recruit/bg_news_btm.png");
	bottom: -12px;
}
#main #news .news_list > li + li {
	margin-top: 30px;
}
#main #news .news_list .n-item {
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: flex-start;
	column-gap: 40px;
}
#main #news .news_list .n-item .n-day {
	font-size: 14px;
	flex-shrink: 0;
}
#main #news .news_list .n-item .n-tit {
	font-weight: 700;
}
@media only screen and (max-width: 767px) {
	#main #news .news_list {
		padding: 20px 15px;
	}
	#main #news .news_list::before,
	#main #news .news_list::after {
		width: 100%;
	}
	#main #news .news_list .n-item {
		gap: 5px;
		flex-wrap: wrap;
	}
	#main #news .news_list .n-item .n-tit {
		width: 100%;
	}
}

/* ページャー */
#main #news .pager {
	margin-top: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 10px;
}
#main #news .pager a {
	text-decoration: none;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	background-color: #e5ecf4;
	border-radius: 50%;
	line-height: 1;
	letter-spacing: 0;
}
#main #news .pager li.prev a,
#main #news .pager li.next a {
	background-color: transparent!important;
}
#main #news .pager li.active a,
#main #news .pager li:hover a {
	background-color: #d1ddec;
}
@media only screen and (max-width: 767px) {
	#main #news .pager a {
		width: 46px;
		height: 46px;
	}
}
@media only screen and (max-width: 360px) {
	#main #news .pager a {
		width: 34px;
		height: 34px;
	}
}

/* 詳細ページ
========================================== */

#main #news.news_detail {
}
#main #news.news_detail .n-item {
	background-color: #000;
	position: relative;
	margin-top: 25px;
	color: #fff;
	padding: 30px 0;
}
#main #news.news_detail .n-item::before,
#main #news.news_detail .n-item::after {
	content: "";
	display:block;
	position: absolute;
	width: 100%;
	height: 10px;
	background-position: center;
	background-size: auto 10px;
	background-repeat: repeat-x;
	left: 0;
}
#main #news.news_detail .n-item::before {
	background-image: url("../img/recruit/bg_news_tit_top.png");
	top: -10px;
}
#main #news.news_detail .n-item::after {
	background-image: url("../img/recruit/bg_news_tit_btm.png");
	bottom: -10px;
}
#main #news.news_detail .n-item .n-tit {
	display: block;
	font-size: 20px;
	font-weight: 700;
}
#main #news.news_detail .n-item .n-day {
	display: block;
	font-weight: 700;
	margin-top: 10px;
}
#main #news.news_detail .n-text {
	margin-top: 40px;
	font-size: 15px;
}
@media only screen and (max-width: 767px) {
	#main #news.news_detail .n-item {
		padding: 5px 0;
	}
	#main #news.news_detail .n-item .n-tit {
		font-size: 18px;
	}
	#main #news.news_detail .n-item .n-day {
		font-size: 14px;
	}
}

/* ページャー */
#main #news.news_detail .pagerArticle {
	margin-top: 100px;
	height: 50px;
	position: relative;
}
#main #news.news_detail .pagerArticle li {
	position: absolute;
	top: 0;
}
#main #news.news_detail .pagerArticle .prev {left: 30px;}
#main #news.news_detail .pagerArticle .next {right: 30px;}
#main #news.news_detail .pagerArticle .back {
	left: 50%; 
	transform: translateX(-50%);
}
#main #news.news_detail .pagerArticle a {
	text-decoration: none;
	display: block;
	border: 1px solid #c9c9c9;
	background-color: #fff;
	border-radius: 5px;
	font-size: 14px;
	padding: 10px 20px;
	position: relative;
}
#main #news.news_detail .pagerArticle a:hover {
	background-color: #e5ecf4;
}
#main #news.news_detail .pagerArticle .back a {
}
#main #news.news_detail .pagerArticle .prev a {
	padding-left: 50px;
}
#main #news.news_detail .pagerArticle .next a {
	padding-right: 50px;
}
#main #news.news_detail .pagerArticle .prev a::before,
#main #news.news_detail .pagerArticle .next a::before {
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: #f5f7f8;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	text-align: center;
	font-size: 12px;
	line-height: 30px;
}
#main #news.news_detail .pagerArticle .prev a::before {
	content: "＜";
	left: 10px;
}
#main #news.news_detail .pagerArticle .next a::before {
	content: "＞";
	right: 10px;
}
@media only screen and (max-width: 767px) {
	#main #news.news_detail .pagerArticle {
		margin-top: 50px;
		height: 110px;
	}
	#main #news.news_detail .pagerArticle .prev {
		left: 15px;
		width: calc(48.5% - 15px);
	}
	#main #news.news_detail .pagerArticle .next {
		right: 15px;
		width: calc(48.5% - 15px);
	}
	#main #news.news_detail .pagerArticle .back {
		top: auto;
		bottom: 0;
		width: calc(100% - 30px);
	}
	#main #news.news_detail .pagerArticle a {
		text-align: center;
	}
}