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


/******************************************************

PC設定 1200px以上の場合に適用 

*******************************************************/

/* mv */
.mv {
	background-image: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),url("/img/news/mv.jpg");
}



/* main */
.news__box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.news__box::before{
	content: "";
	display: block;
	width: 22%;
	order: 1;
}
.news__box::after{
	content: "";
	display: block;
	width: 22%;
}

.news__item {
	width: 22%;
	transition: .2s;
	margin-bottom: 60px;
	background-color: #FFF;
	border-radius: 10px;
	box-shadow: 0 0 10px #CCC;
	overflow: hidden;
}

.news__thumbnail {
	position: relative;
	display: block;
	transition: .2s;
	overflow: hidden;
}

.news__thumbnail::before {
	display: block;
	content: "";
	padding-top: 70%;
}

.news__thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	max-width: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .2s;
}

.news__mark {
	position: absolute;
	left: 0;
	top: 0;
	background-color: #D90000;
	color: #FFF;
	font-weight: bold;
	font-size: 15px;
	padding: 5px 12px;
	border-radius: 0 0 5px 0;
}

.news__link:hover .news__thumbnail img {
	-webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.news__content {
	padding: 15px 15px 20px 15px;
}

.news__h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	transition: .2s;
}

.news__link:hover .news__h3 {
	color: #0e3c95;
}

.news__category p {
	margin-right: 5px;
	display: inline-block;
	font-size: 12px;
	color: #0e3c95;
	border: 1px solid #0e3c95;
	padding: 0 5px;
	margin-bottom: 10px;
}

.news__date {
	font-size: 14px;
	color: #AAA;
}

.wp-pagenavi {
	text-align: center;
	margin-top: 50px;
	}

.wp-pagenavi .current {
	background: #0e3c95;
	border: 1px solid #0e3c95;
	color: #FFF;
	display: inline-block;
	width: 45px;
	height: 45px;
	line-height: 45px;
	margin: 0 5px;
	}

.wp-pagenavi .pages {
	display: none;
	transition: .2s;
	-webkit-transition: .2s;
	}

.wp-pagenavi .page, .last, .first {
	display: inline-block;
	width: 45px;
	height: 45px;
	line-height: 45px;
	border: 1px solid #0e3c95;
	margin: 0 5px;
	color: #0e3c95;
	transition: .2s;
	-webkit-transition: .2s;
	}

.wp-pagenavi .page:hover, .last:hover, .first:hover {
	background: #0e3c95;
	border: 1px solid #0e3c95;
	color: #FFF;
	}



/* search */
.search {
	width: 100%;
	padding: 100px 0 150px 0;
	background: linear-gradient(#0e3c95,#003366 80%);
	color: #FFF;
	margin-bottom: 150px;
}

.search__h2 span {
	color: #FFF;
}

.search__box {
	width: 650px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	}

.search > ul > li {
	width: 300px;
	}

.search > ul > li:first-child {
	margin-right: 50px;
	}

.widgettitle, .search label {
	display: none;
	}

.search select {
	width: 100%;
	display: block;
	height: 45px;
	font-size: 18px;
	}




/******************************************************

タブレットの設定 960px~1199pxの場合に適用 

*******************************************************/

@media screen and (max-width: 1199px){


	
	
}



/******************************************************

タブレットの設定 768px~959pxの場合に適用 

*******************************************************/

@media screen and (max-width: 959px){


	
	

}



/******************************************************

SPの設定 767px以下の場合に適用 

*******************************************************/

@media screen and (max-width: 767px){

/* news */
.news__item {
	width: 48%;
	margin-bottom: 20px;
	border-radius: 5px;
}

.news__mark {
	font-size: 12px;
	padding: 3px 7px;
}
	
.news__content {
	padding: 10px 10px 15px 10px;
}

.news__h3 {
	font-size: 14px;
}

.news__date {
	font-size: 12px;
}
	
.news__category p {
	margin-right: 3px;
	font-size: 10px;
	padding: 0 3px;
	margin-bottom: 5px;
}

.wp-pagenavi {
	margin-top: 20px;
	}

.wp-pagenavi .current {
	width: 35px;
	height: 35px;
	line-height: 35px;
	margin: 0 3px;
	}

.wp-pagenavi .page, .last, .first {
	width: 35px;
	height: 35px;
	line-height: 35px;
	margin: 0 3px;
	}
	


/* search */
.search {
	padding: 60px 0 70px 0;
	margin-bottom: 50px;
}
	
.search__box {
	width: 80%;
	display: block;
	}

.search > ul > li {
	width: 100%;
	margin-bottom: 0;
	}

.search > ul > li:first-child {
	margin-right: 0;
	margin-bottom: 15px;
	}

.search select {
	height: 50px;
	opacity: 1;
	font-size: 14px;
	}
	
}