@charset "utf-8";
/*
Theme Name: NASEF JAPAN全日本高校eスポーツ選手権
Theme URI: xxxxx
Author: e-bird
version: 1.0
*/

.wp-pagenavi {
	width: 100%;
  margin-top: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.wp-pagenavi a,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	color: #0E73B2;
	background: none;
	border: 2px solid #0E73B2;
	border-radius: 5px;
	line-height: 1;
	margin: 0 5px;
	/* font-size: 1.6rem; */
	font-family: Helvetica;
}
.wp-pagenavi a.page:hover {
	opacity: 1;
	color: #0E73B2;
}
.wp-pagenavi span.current {
	border: 2px solid #0E73B2 !important;
	color: #fff;
	background-color: #0E73B2;
	pointer-events: none;
}
.wp-pagenavi span.extend {
  width: auto;
	border: 2px solid #FFF;
}
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
  position: relative;
  color: transparent;
}
.wp-pagenavi a.previouspostslink::before {
  content: "";
  width: 8px;
  height: 14px;
  background: url(/images/common/webp/arrow.webp);
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 10;
  transform: rotate(180deg);
}
.wp-pagenavi a.nextpostslink::before {
  content: "";
  width: 8px;
  height: 14px;
  background: url(/images/common/webp/arrow.webp);
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 10;
}
@media only screen and (max-width: 750px) {
  .wp-pagenavi {
    margin-top: 4vw;
  }
	.wp-pagenavi a.page,
  .wp-pagenavi span.extend {
		display: none;
	}
	.wp-pagenavi a,
	.wp-pagenavi span.current {
		width: 40px;
		height: 40px;
		margin: 0 3px;
	}
}

/* .cover を正方形にして余白を白に */
.news-list .news-slick .item a .cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #000;
}
/* 画像はどのサイズでも枠内に収める（縦横の長い方をフィット） */
.news-list .news-slick .item a .cover img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* はみ出さず全体表示、余白は背景の白 */
  display: block;
}

.news_detail .title_box h2 {
  flex: 1;
}
@media only screen and (max-width: 912px) {
  .news_detail .title_box h2 {
    flex: unset;
  }
}

.news_detail .layoutbox h2 {
  margin-top: 2em;
}
.news_detail .layoutbox .thum {
  text-align: left;
}
.news_detail .layoutbox .thum .caption {
  margin-top: 0.5em;
  padding: 0 0;
  font-size: 88%;
  line-height: 1.4;
}
.news_detail .layoutbox .thum .caption p {
  margin-top: 0;
}
.news_detail .layoutbox .thum.img-mid {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.news_detail .layoutbox .thum.img-row {
  display: flex;
  justify-content: space-between;
}
.news_detail .layoutbox .thum.img-row .img {
  width: 48.5%;
}
.news_detail .layoutbox .box-video {
	width: 80%;
	margin: 40px auto 0;
}
.news_detail .layoutbox .box-video .video {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.news_detail .layoutbox .box-video .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-width: 750px) {
	.news_detail .layoutbox .box-video {
		width: 100%;
		margin-top: 30px;
	}
}