@charset "utf-8";
/* company */
#subvisual .bg-topics:before{
	background-image: url("../../image/topics/bg-topics.jpg"); 
	background-position: right;
}

@media screen and (max-width:1080px) {
	#subvisual .bg-topics:before{ 
		background-position: 90%;
	}
}



#topics{
	padding: 80px 0 100px;
}

#topics .news-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  /*justify-content: space-between;*/
  width: calc(100% + 25px);
  box-sizing: border-box;
  margin-bottom: 30px;	
}

#topics .news-list-box {
  width: calc(25% - 25px);
/*  color: #fff;*/
  text-decoration: none;
  transition: .2s all;
  margin-right: 25px;
  margin-bottom: 30px;
}

#topics .news-list-title {
	  letter-spacing: -0.025em;
}

@media screen and (max-width:1300px) {
	#topics .news-list-title {
	  font-size: 95%;
		
	}
}


@media screen and (max-width:1080px) {
	
	#topics .news-list {
	  width: calc(100% + 20px);
	}

 	#topics .news-list-box {
	width: calc(33.33% - 20px);
	margin-right: 20px;
  }
	
	#topics .news-list-title {
	font-size: 90%;
	line-height: 1.5;
	}
}


@media screen and (max-width:750px) {
 	#topics .news-list-box {
	width: calc(50% - 20px);
  }

}

#topics .news-list-box:hover {
  filter: brightness(1.2);
}


#topics .news-list-box.no-link:hover {
  filter:none;
}

#topics .news-list-img {
  display: block;
  margin-bottom: .5em;
  text-align: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}

#topics .news-list-img::before {
    content: "";
    display: block;
    padding-top: 60%;
}
#topics .news-list-img div {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	text-align: center;
	background-color: #f0f0f0;
}

#topics .news-list-img img{
	width: 100%;
    height: 100%;
    object-fit: cover;

}


#topics .more-btn{
	display: block;
    margin: 0 auto;
    width: 300px;
    clear: both;
    padding: 30px 0 0;
}

#topics .more-btn a{
	display: block;
	width: 100%;
	text-decoration: none;
	color: #fff;
	background-color: #4aa6db;
	box-sizing: border-box;
	padding: 15px 40px 15px 30px;
	line-height: 1.5;
	position: relative;
}

#topics .more-btn a:hover{
	color: #fff;
	background-color: #2A6DAF;	
	
}

#topics .more-btn a::before {
	content: '';
	width: 10px;
	height: 10px;
	border-top: solid 2px #fff;
	border-left: solid 2px #fff;
	position: absolute;
	right: 30px;
	top: 50%;
	margin-top: -5px;
	transform: rotate(135deg);
}



/*記事詳細*/


#topics .post h1.post-title{
    position: relative;
    padding: 15px;
	border-top: 1px solid;
	border-bottom: 1px solid;
	color: #4aa6db;
	margin: 0 0 30px 0;
	line-height: 1.5;
}


#topics .post h1.post-title .date{
    color: #1b2839;
}


#topics .post h1.post-title .title{
	display: block;
	margin-top: 5px;
	font-size: 25px;
}

@media screen and (max-width:750px) {
	#topics .post h1.post-title .title{font-size: 36px;}
}


#topics .post .editor-content{
	padding: 30px 0;
	clear:both;
}

#topics .post .editor-content .img-caption{
	margin: 0;
	display: block;
	text-align: center;
}

#topics .post .kaku_img{width: 30px;height: auto;margin-right: 10px;display: inline-block;}

@media screen and (max-width:750px) {
	#topics .post .kaku_img{width: 45px;}
}

#topics .post iframe[src*="youtube"] {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
}



/*------------------------------------------------------------------------------------------------------------------
　img align for wordpress
-------------------------------------------------------------------------------------------------------------------*/

.aligncenter {
    display: block;
    margin: 0 auto;
	padding-bottom:10px;
	max-width:100%;
	height:auto;
}
.alignright { float: right; margin-left:30px;margin-bottom:10px; max-width:425px!important; height:auto;}
.alignleft { float: left; margin-right:30px; margin-bottom:10px; max-width:425px!important;height:auto; }

.aligncenter img, .alignright img, .alignleft img {
	max-width:100%;
	height:auto;
}




@media screen and (max-width: 1150px) {
	.aligncenter, .alignright, .alignleft {
			display: block;
			margin-left: auto;
			margin-right: auto;
			float: none;
			max-width:100%!important;
			text-align:center;
	}
}

/*
@media screen and (max-width: 860px) {
	.alignright { max-width:100%!important;}
	.alignleft { max-width:100%!important;}
}
*/


/*------------------------------------------------------------------------------------------------------------------
　wp-pagenavi
-------------------------------------------------------------------------------------------------------------------*/
.wp-pagenavi {
/*	margin-top:40px;*/
	padding-top:10px;
	display:block !important;
	clear:both !important;
	text-align:center;
	
}

.wp-pagenavi ul{
	list-style: none;
	padding-left: 0;
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	
}
.wp-pagenavi ul li{margin-right: 5px;}

.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
		color:#202020 !important;
		padding:8px 15px !important;
		background-color: #ffffff;
		font-size:16px !important;
		margin-right:3px !important;
		text-decoration:none !important;
	    border:solid 1px #4aa6db!important;
		border-radius: 50%;	
}	

.wp-pagenavi a:hover {
		color:#fff!important;
		background-color: #4aa6db;
		border:solid 2px #4aa6db!important;

}
 .wp-pagenavi span.current{
		padding:8px 15px !important;
		border:solid 1px #4aa6db!important;
		color: #fff!important;
		font-size:16px;
		margin-right:3px !important;
		background-color: #4aa6db;
		border-radius: 50%;
}


@media screen and (max-width: 750px) {
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend, .wp-pagenavi span.current{
		font-size:24px !important;
		padding:7px 18px !important
	}
}

/*------------------------------------------------------------------------------------------------------------------
共通 gallery
-------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 1000px) {
 
	.fancybox-button {
		height: 80px;
		width: 80px;
	}
	
	.fancybox-navigation .fancybox-button {
		height: 120px;
		width: 90px;
	}
	
	.fancybox-infobar{ padding: 20px;font-size: 30px;}
	
	.fancybox-caption{font-size: 28px;}
}
