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


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

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

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

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



/* main */
.main {
	text-align: center;
  padding-bottom: 120px;
	}

.post__box {
	display: flex;
	flex-wrap: wrap;
	}

.post__item {
	width: 23.5%;
  display: flex;
  flex-wrap: wrap;
  border-radius: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .6);
  margin-bottom: 50px;
  margin-right: 2%;
	}

.post__mark {
	top: 0;
	left: 0;
	position: absolute;
	background: #D90000;
	color: #FFF;
	padding: 3px 10px;
	font-size: 14px;
	font-weight: bold;
	z-index: 900;
	}

.post__item:nth-child(4n) {
	margin-right: 0;
	}

.post__thumbnail {
	width: 100%;
  height: 270px;
	border-bottom: 1px solid #DDD;
	position: relative;
	display: block;
	transition: .2s;
	overflow: hidden;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	}

.post__thumbnail::before {
	display: block;
	content: "";
	padding-top: 56.25%;
}
	
.post__thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	max-width: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .2s;
	-webkit-transition: .2s;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
	}

.post__thumbnail img:hover {
	-webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
	opacity: .8;
	}

.post__content {
	width: 100%;
  padding: 25px;
  text-align: left;
	}

.post__h3 {
	font-weight: 600;
	margin-bottom: 5px;
	transition: .2s;
	-webkit-transition: .2s;
	}

.post__h3 a:hover {
	color: #FF9B00;
	}

.post__info {
	font-size: 13px;
	color: #777;
  padding-top: 25px;
	margin-bottom: 5px;
	}

.post__info a {
	font-size: 13px;
	color: #777;
	}

.post__date {
  font-size: 14px;
  color: #A9A9A9;
}

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

.wp-pagenavi .current {
	background: #FF9B00;
	border: 1px solid #FF9B00;
	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 #000;
	background-color: #fff;
	color: #000;
	margin: 0 5px;
	transition: .2s;
	-webkit-transition: .2s;
	}

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




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

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

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

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



	
}




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

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

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

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

/* main */
.main {
	margin-bottom: 40px;
  padding-bottom: 0;
	}

.post__thumbnail {
	height: auto;
	}

.post__content {
	padding: 15px;
	height: auto;
	}

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

}




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

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

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

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

/* main */
.main {
	font-size: 14px;
	}

.post__item {
	width: 100%;
	height: auto;
	float: none;
	margin-bottom: 30px;
	display: block;
	margin-right: 0;
	border-radius: 12px;
	}

.post__mark {
	top: 15px;
	font-size: 12px;
	}

.post__thumbnail {
	width: 50%;
	overflow: hidden;
	height: 100%;
	float: left;
	border-bottom: none;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	}

.post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	border-top-left-radius: 12px;
	border-top-right-radius: 0;
	border-bottom-left-radius: 12px;
}

.post__content {
	width: 50%;
	padding: 20px;
	height: auto;
	float: right;
	}

.wp-pagenavi {
	margin-top: 30px;
	font-size: 14px;
	}

.wp-pagenavi .current {
	margin: 0 3px;
	}
	
.wp-pagenavi .page, .last {
	margin: 0 3px;
	}
	
	
	
	
}