@charset "UTF-8";
/*----------------------------------
  Pagination（CMSが自動生成する .webgene-pagination）
  前へ・次へのアイコンは画像を使わず CSS の線で描く
-----------------------------------*/
.webgene-pagination {
  margin-block-start: 3.5rem;
  /*----------------------------------
    ページ番号
  -----------------------------------*/
  /*----------------------------------
    前へ・次へ
  -----------------------------------*/
}
@media (min-width: 768px) {
  .webgene-pagination {
    margin-block-start: 5.0625rem;
  }
}
.webgene-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.625rem;
  row-gap: 0.625rem;
}
.webgene-pagination li {
  color: #d00168;
  font-size: max(0.875rem, 11.2px);
  font-weight: 700;
  line-height: 1.4285714286;
}
@media (min-width: 0px) {
  .webgene-pagination li {
    font-size: 0.875rem;
  }
}
@media (min-width: 768px) {
  .webgene-pagination li {
    font-size: max(0.875rem, 10px);
    font-weight: 700;
    line-height: 1.4285714286;
  }
}
.webgene-pagination .number a {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background-color: #f7f7f7;
  color: #4b4b4b;
  font-weight: 400;
  font-size: max(0.875rem, 11.2px);
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media (min-width: 0px) {
  .webgene-pagination .number a {
    font-size: 0.875rem;
  }
}
@media (min-width: 768px) {
  .webgene-pagination .number a {
    font-size: max(0.875rem, 10px);
    font-weight: 400;
    line-height: 1;
  }
}
@media (any-hover: hover) {
  .webgene-pagination .number a:hover {
    background-color: #e1aac6;
    color: #ffffff;
  }
}
.webgene-pagination .number.selected a {
  background-color: #d00168;
  color: #ffffff;
}
.webgene-pagination .prev a,
.webgene-pagination .next a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  color: #d00168;
  font-weight: 400;
  font-size: max(0.875rem, 11.2px);
  font-weight: 400;
  line-height: 1.4285714286;
}
@media (min-width: 0px) {
  .webgene-pagination .prev a,
  .webgene-pagination .next a {
    font-size: 0.875rem;
  }
}
@media (min-width: 768px) {
  .webgene-pagination .prev a,
  .webgene-pagination .next a {
    font-size: max(0.875rem, 10px);
    font-weight: 400;
    line-height: 1.4285714286;
  }
}
.webgene-pagination .prev a::before,
.webgene-pagination .next a::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f7f7f7;
  translate: 0 -50%;
  transition: background-color 0.3s ease;
  pointer-events: none;
}
.webgene-pagination .prev a::after,
.webgene-pagination .next a::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  border-top: 1.5px solid #372710;
  border-right: 1.5px solid #372710;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
@media (any-hover: hover) {
  .webgene-pagination .prev a:hover::before,
  .webgene-pagination .next a:hover::before {
    background-color: #d00168;
  }
  .webgene-pagination .prev a:hover::after,
  .webgene-pagination .next a:hover::after {
    border-color: #ffffff;
  }
}
.webgene-pagination .prev {
  margin-inline-end: 0.625rem;
}
.webgene-pagination .prev a {
  padding-inline-start: 3.125rem;
}
.webgene-pagination .prev a::before {
  left: 0;
}
.webgene-pagination .prev a::after {
  left: 1.125rem;
  translate: 0 -50%;
  rotate: -135deg;
}
.webgene-pagination .next {
  margin-inline-start: 0.625rem;
}
.webgene-pagination .next a {
  padding-inline-end: 3.125rem;
}
.webgene-pagination .next a::before {
  right: 0;
}
.webgene-pagination .next a::after {
  right: 1.125rem;
  translate: 0 -50%;
  rotate: 45deg;
}
