@charset "utf-8";
/* CSS Document */

#mainHeader {
	width: 100%;
	height: auto;
	position: relative;
}
#mainHeader:after {
	content: '';
	padding-top: 22.9%;
	display: block;
}

#mainHeader h1 {
	margin: auto;
	color: #FFFFFF;
	font-size: 6rem;
	line-height: 1;
	height: 70px;
	text-shadow: 0px 0px 15px rgba(0,0,0,0.6);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
@media (max-width: 767px) {
	#mainHeader h1 {
		margin: auto;
		color: #FFFFFF;
		font-size: 2.4rem;
		line-height: 1;
		height: 30px;
		text-shadow: 0px 0px 15px rgba(0,0,0,0.6);
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
}


body#news #mainHeader {
	background: url("../img/news/bg_header.jpg") no-repeat top left;
	background-size: cover;
}
body#privacy #mainHeader {
	background: url("../img/privacy/bg_header.jpg") no-repeat top left;
	background-size: cover;
}



/*======================================================================
	NEWS
======================================================================*/
/* category */
.ctgList {
	margin: 100px auto;
}
.ctgList ul {
	margin: 0;
	padding: 0;
}
.ctgList ul li {
	list-style: none;
}
.ctgList ul li + li { margin-left: 80px; }
.ctgList ul li a {
	color: #727171;
	text-decoration: none;
	display: block;
	padding: 10px 25px;
	position: relative;
}
.ctgList ul li a:after {
	content: "";
	display: block;
	width: 100%;
	height: 5px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #727171;
	visibility: hidden;
	opacity: 0;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform 0.4s;
}
.ctgList ul li a:hover::after {
	visibility: visible;
	opacity: 1;
	transform: scale(1, 1);
}

.ctgList ul li.current-cat a:after {
	content: "";
	display: block;
	width: 100%;
	height: 5px;
	transform: scale(1, 1);
	visibility: visible;
	opacity: 1;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #727171;
}

@media (max-width: 767px) {
	.ctgList {
		margin: 30px auto;
	}
	.ctgList ul li {
		margin: 0 auto 20px;
		width: 47%;
		text-align: center;
		box-sizing: border-box;
	}
	.ctgList ul li + li { margin-left: auto; }
	.ctgList ul li.current-cat {
		padding: 5px 10px;
	}
	.ctgList ul li a {
		padding: 5px 10px;
		width: 100%;
		text-align: center;
		display: block;
		box-sizing: border-box;
	}
}


h1.catTtl {
	margin: 80px auto 40px;
	padding: 0 5px 5px;
	color: #727171;
	font-size: 2.4rem;
	line-height: 1.4;
	border-bottom: 1px solid #727171;
}


/*======================================================================
	NEWS TOP
======================================================================*/
#newsTopList article {
	margin: 0 5% 60px 0;
	width: 30%;
	border: 1px solid #a9a9a9;
	box-sizing: border-box;
}
#newsTopList article:nth-of-type(3n) { margin: 0 0 60px 0; }

#newsTopList article a {
	text-decoration: none;
	color: #000000;
}

#newsTopList article span { padding: 5px 10px; }
#newsTopList article figure {
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	position: relative;
}
#newsTopList article figure:after {
	content: '';
	padding-top: 56.28%;
	display: block;
}
#newsTopList article figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
}

#newsTopList article date { padding: 10px 10px 5px;}

#newsTopList article h2 {
	margin: 5px 10px 10px;
	font-size: 1.8rem;
	line-height: 1;
}

@media (max-width: 480px) {
	#newsTopList article {
		margin: 0 auto 40px;
		width: 90%;
		border: 1px solid #a9a9a9;
		box-sizing: border-box;
	}
	#newsTopList article:nth-of-type(3n) { margin: 0 auto 40px; }
}


/*================================
	pagenate
================================*/
.pagenate {
	margin: 80px auto;
	text-align: center;
}
.pagenate span.current {
	margin: 0 5px;
	padding: 5px 10px;
	color: #FFFFFF;
	background: #727171;
}
.pagenate a {
	margin: 0 5px;
	padding: 5px 10px;
	border: 1px solid #727171;
}
.pagenate a:hover {
	background: #dcdcdc;
}



/*======================================================================
	NEWS detail
======================================================================*/
#entryBody {
	margin: 0 auto 80px;
}

#entryBody date {
	padding: 5px 10px;
	border: 1px solid #a9a9a9;
}
#entryBody h1 {
	margin: 10px auto 30px;
	font-size: 2.4rem;
	line-height: 1.4;
}
#entryBody figure {
	margin: 40px auto;
}
@media (max-width: 480px) {
	#entryBody h1 {
		margin: 10px auto 30px;
		font-size: 2.0rem;
		line-height: 1.4;
	}
}

#entryBody .recruitLink {
	margin: 40px auto;
}

#entryBody .recruitLink a.btn {
	margin: 0 auto;
	padding: 5px 20px;
	color: #FFFFFF;
	width: 280px;
	text-decoration: none;
	background: #00a1e9;
	border-radius: 10px;
	box-shadow: 0 -3px 0 rgba(50,50,50,0.2) inset;
	display: block;
}


.pagenavi, .pagenavi li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pagenavi { margin-bottom: 80px; }

.pagenavi li + li { margin-left: 40px; }
.pagenavi li.prev a,
.pagenavi li.next a {
	color: #FFFFFF;
	width: 200px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	background: #727171;
	display: block;
	box-sizing: border-box;
}
.pagenavi li.prev a:before {
    content: "";
	margin: auto 20px auto auto;
    width: 10px;
    height: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
	display: inline-block;
}
.pagenavi li.next a:after {
    content: "";
	margin: auto auto auto 20px;
    width: 10px;
    height: 10px;
    vertical-align: middle;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
	display: inline-block;
}
.pagenavi li.prev a:hover, .pagenavi li.next a:hover {
	color: #727171;
	background: #f5f5f5;
}
@media (max-width: 767px) {
	.pagenavi li { width: 40%; }
	.pagenavi li.prev a,
	.pagenavi li.next a {
		width: 100%;
	}
}



/*======================================================================
	privacy
======================================================================*/
#privacy section {
	margin: 60px auto;
}

#privacy section h2 span {
	padding: 0 5px;
	font-size: 2.4rem;
	background: linear-gradient(transparent 70%, #a7d6ff 70%);
}



/*======================================================================
	common
======================================================================*/
.fl, .fl-tab, .fl-smp {
	display:-webkit-box;
	display:-moz-box;
	display:-webkit-flexbox;
	display:-moz-flexbox;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:flex;
}

.fl-jst {
	-webkit-justify-content:space-between;
	-moz-justify-content:space-between;
	justify-content:space-between;
}

.fl-cen {
	-webkit-justify-content:center;
	-moz-justify-content:center;
	justify-content:center;
}

.fl-end {
	-webkit-justify-content:flex-end;
	-moz-justify-content:flex-end;
	justify-content:flex-end;
}

.fl-wrap {
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
}

.fl-col {
	-webkit-flex-direction:column;
	-moz-flex-direction:column;
	flex-direction:column;
}


@media (max-width: 767px) {
	.fl-tab {
		-webkit-flex-direction:column;
		-moz-flex-direction:column;
		flex-direction:column;
	}
	.fl-smp {
		-webkit-flex-direction:column;
		-moz-flex-direction:column;
		flex-direction:column;
	}
}
