.pageContents {
  padding-top: 0;
}

.pageContents.junkoContent {
  padding-top: calc(8px * 15);
}

.junko__profile {
  display: flex;
  gap: 32px;
}

.junko__profile img {
  border-radius: 50%;
  height: auto;
  max-height: 140px;
  max-width: 140px;
  width: 100%;
}

.junk__profile--textArea {
  max-width: 448px;
}

.junko__categories--list {
  display: grid;
  grid-template-columns: repeat(5, 18%);
  justify-content: space-between;
  row-gap: 20px;
}

.junko__categories--item {
  border: 1px solid #182b38;
  border-radius: 30px;
  text-align: center;
}

.junko__categories--item a {
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 12px 0;
  width: 100%;
}

.junko__posts {
  background: #f0f0f0;
  padding: 100px 20px 160px;
}

.junko__posts .page__subtitle {
  text-align: center;
}

.junko__posts .page__outer--wrapper {
  margin: 0 auto;
}

.junko__posts--list {
  display: grid;
  grid-template-columns: repeat(4, 22%);
  justify-content: space-between;
  margin-top: 50px;
  row-gap: 56px;
}

.junko__posts--item a {
  display: flex;
  flex-direction: column;
}

.junko__posts--date {
  color: #13202f;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.3;
  margin-top: 22px;
}

.junko__posts--item .page__subheading {
  letter-spacing: 0;
  margin-top: 10px;
  min-height: 82.39px;
}

@media screen and (max-width: 500px) {
	.junko__posts--item .page__subheading {
	  min-height: unset;
	}
}

.junko__posts--categoryList {
  color: #326588;
  column-gap: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
}

.junko__posts--category {
  color: #326588;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1.53;
  margin-top: 10px;
}

.footer {
  margin-top: 0;
}

.page__title {
  font-size: 28px;
}

.page__title--container {
  overflow: hidden;
}

.authorName {
  margin-top: calc(8px * 6);
}

@media screen and (max-width: 950px) {
  .junko__profile {
    align-items: center;
    flex-direction: column;
  }
  .junko__posts--list {
    grid-template-columns: repeat(3, 32%);
  }
}

@media screen and (max-width: 767px) {
  .pageContents.junkoContent {
    padding-top: calc(8px * 8);
  }
  .junko__categories--list {
    grid-template-columns: repeat(3, 32%);
  }
  .junko__posts--list {
    grid-template-columns: repeat(2, 48%);
  }
  .junko__posts {
    padding: 100px 20px 80px;
  }
}

@media screen and (max-width: 500px) {
  .junko__categories--list {
    grid-template-columns: repeat(2, 48%);
  }
  .page__sideTitle--wrapper {
    margin: 35vw auto 0;
  }
  .junko__posts--list {
    grid-template-columns: 1fr;
  }
  .authorName {
    margin-top: calc(8px * 4);
  }
}

/* Page Navi CSS */

.wp-pagenavi {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 80px;
}

.wp-pagenavi a,
.wp-pagenavi .current {
  align-items: center;
  background: transparent;
  border: 1px solid #333;
  border-radius: 50%;
  color: #333;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  height: 48px;
  letter-spacing: .1em;
  line-height: 2;
  place-content: center;
  width: 48px;
}

.wp-pagenavi .current {
  background: #333;
  border: 1px solid #333;
  color: #fff;
}

.wp-pagenavi .extend {
  align-items: start;
  line-height: 1.5;
}

.extend,
.wp-pagenavi a.last,
.wp-pagenavi a.first {
  display: none;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  border: none;
  color: transparent;
  position: relative;
}

.wp-pagenavi a.nextpostslink::before {
  background: url(../images/common/icon-chevron_right.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 20px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
}

.wp-pagenavi a.previouspostslink::before {
  background: url(../images/common/icon-chevron_left.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 20px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
}

.single-forge .pageHead__descDate {
  justify-content: flex-end;
}

/* ========================================
20240722 追加
======================================== */
.junko__posts--item a {
  text-decoration: none;
}

.pagenation__box {
	display: flex;
    justify-content: space-between;
	margin: 105px auto 0;
    max-width: 1020px;
	padding: 0 20px;
}

.pagenation__nextBtn {
	width: 48%;
}

@media screen and (max-width: 767px) {
	.pagenation__nextBtn {
		width: 100%;
	}
}

.prev {
	text-align: end;
}

.pagenation__nextBtn a {
	font-size: 16px;
    color: #000;
    text-decoration: none;
    position: relative;
}

.next a::before {
	position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    top: 50%;
    left: -15px;
    transform: translateY(-50%) rotate(45deg);
}

.prev a::before {
	position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    top: 50%;
    right: -15px;
    transform: translateY(-50%) rotate(-135deg);
}

@media screen and (max-width: 950px) {
	.pagenation__nextBtn a {
		font-size: 14px;
	}
	
	.pagenation__nextBtn.prev a {
		padding: 0;
	}

	.pagenation__nextBtn a::before {
		left: -15px;
	}

	.prev a::before {
		right: -15px;
		left: auto;
	}
}

@media screen and (max-width: 767px) {
	.pagenation__box {
		margin: 50px auto 0;
		flex-direction: column;
	}
	
	.pagenation__nextBtn.prev {
		text-align: end;
		margin-top: 20px;
	}
}

.junko__posts--thumbnail {
	max-width: 246px;
    width: 100%;
    height: 100%;
}

.junko__posts--thumbnail img {
    aspect-ratio: 7 / 6;
	width: 100%;
	height: 100%;
	object-fit: cover;
    border-radius: 15px;
}

@media screen and (min-width: 1440px) {
	.junko__posts--thumbnail {
		height: 210px;
	}
}

@media screen and (max-width: 767px) {
	.junko__posts--thumbnail {
		max-width: 100%;
	}
}
