:root {
  --primary-color: #0F92D7;
  --secondary-color: #999;
  --primary-bg: #898989;
  --secondary-bg: #fff;
  --tertiary-bg: #eaeaea;
  --primary-text: #fff;
  --secondary-text: #222;
  --primary-line: rgb(13, 9, 9);
  --secondary-line: #666;
  --tertiary-line: #bbb;
  --quaternary-line: #a59c9c;
  --quinary-line: #d9d9d9;
  --link: #CDB766;
  --primary-button: #3d3d3d
  --black: #000;
  --white: #fff;
  --gray: #999;
  --red: #D91B3D;
  --loading-zindex: 1200;
  --header-zindex: 850;
  --navsp-zindex: 890;
  --nav-zindex: 800;
  --nav2-zindex: 700;
  --btnopen-zindex: 900;
  --button-zindex: 200;
  --article3-zindex: 50;
  --article2-zindex: 20;
  --article-zindex: 10;
  --modal-zindex: 999;
  --bgcol-zindex: 1;
  --bg-zindex: -1;
}

html {
  font-size: 62.5%;
  word-wrap: break-word;
  line-height: 150%;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--primary-text);
}
html.active {
  overflow-y: hidden;
}

/*------------viewer------------*/
.viewerWrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}
.viewerWrap__header {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 56px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  z-index: var(--article2-zindex);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.viewerWrap__header.active {
  top: 0;
}
.viewerWrap__header__title {
  position: absolute;
  top: 0;
  left: 56px;
  right: 0;
  width: 50%;
  height: 56px;
  font-size: 1.5rem;
  line-height: 130%;
  margin: 0;
  color: var(--gray);
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
@media screen and (max-width: 767px) {
  .viewerWrap__header__title {
    font-size: 1.4rem;
  }
}
.viewerWrap__header__subnavi {
  position: absolute;
  top: 0;
  right: 0;
  width: 112px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.viewerWrap__header__guideline {
  position: relative;
  width: 56px;
  height: 56px;
  cursor: pointer;
  background: url(/common/images/bungeishunju/viewer/ico_viewer_guidline.svg) 50% 36% no-repeat;
  background-size: 36px 36px;
  display: block;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.viewerWrap__header__guideline:hover {
  opacity: 0.6;
}
.viewerWrap__header__guideline em {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 1.1rem;
  font-style: normal;
  text-align: center;
  color: var(--gray);
}
.viewerWrap .btnclose {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  padding: 0 0 0 2px;
  cursor: pointer;
  border: none;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: var(--button-zindex);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
   justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.viewerWrap .btnclose:hover {
  opacity: 0.6;
}
.viewerWrap .btnclose .arrow-left {
 position: relative;
  margin-top: -9px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gray);
  border-left: 2px solid var(--gray);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
} 
.viewerWrap .btnclose em{
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 1.1rem;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  color: var(--gray);
}
.viewerWrap__footer {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 88px;
  margin: 0 auto;
  z-index: var(--article2-zindex);
  background: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.viewerWrap__footer.active {
  bottom: 0;
}
.viewerWrap__footer__prev, .viewerWrap__footer__next {
  position: absolute;
  width: 90px;
  height: 50px;
  font-size: 1.4rem;
  color: var(--gray);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.viewerWrap__footer__prev {
  position: absolute;
  top: 38%;
  left: 0;
}
.viewerWrap__footer__prev:hover {
  opacity: 0.6;
}
.viewerWrap__footer__prev span {
  position: relative;
}
.viewerWrap__footer__prev span::before {
  content: " ";
  position: relative;
  top: -2px;
  width: 8px;
  height: 8px;
  margin: 0 2px 0 0;
  border-left: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.viewerWrap__footer__next {
  position: absolute;
  top: 38%;
  right: 0;
}
.viewerWrap__footer__next:hover {
  opacity: 0.6;
}
.viewerWrap__footer__next span {
  position: relative;
}
.viewerWrap__footer__next span::after {
  content: " ";
  position: relative;
  top: -2px;
  width: 8px;
  height: 8px;
  margin: 0 2px 0 0;
  border-left: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.viewerWrap__footer .swiper-scrollbar {
  top: 14px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 92% !important;
  margin: 0 auto;
  height: 12px !important; /* 高さ */
}
.viewerWrap__footer .swiper-scrollbar {
  background: rgba(0, 0, 0, 0.2) !important; /* 背景色（現在のスライド以外） */
  border-radius: 100px !important; /* 丸み */
}
.viewerWrap__footer .swiper-scrollbar-drag {
  background: var(--primary-color) !important; /* 背景色（現在のスライド） */
  border-radius: 100px !important; /* 丸み */
}
.viewerWrap__buttons {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 12px;
  width: 132px;
  margin: 0 auto;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  z-index: var(--button-zindex);
}
.viewerWrap__buttons button {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 0 0 4px;
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--gray);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.viewerWrap__buttons button:hover {
  opacity: 0.6;
}
.viewerWrap__buttons .zoomin {
  background: rgba(255, 255, 255, 0.9) url(/common/images/bungeishunju/viewer/ico_scalep.svg) 50% 50% no-repeat;
  background-size: 30px 30px;
  border-radius: 6px;
}
.viewerWrap__buttons .zoomout {
  background: rgba(255, 255, 255, 0.9) url(/common/images/bungeishunju/viewer/ico_scalem.svg) 50% 50% no-repeat;
  background-size: 30px 30px;
  border-radius: 6px;
}
.viewerWrap__buttons .zoomreset {
  background: rgba(255, 255, 255, 0.9) url(/common/images/bungeishunju/viewer/ico_scaler.svg) 50% 50% no-repeat;
  background-size: 30px 30px;
  border-radius: 6px;
}

.magazine-main {
  width: 100%;
  height: 100%;
  /* --- @media only screen and (min-width: 900px) --- */
  /* --- @media only screen and (min-width: 900px) --- */
}
.magazine-main .swiper-slide:first-of-type img {
  -o-object-position: 50% 50% !important;
     object-position: 50% 50% !important;
}
.magazine-main .swiper-slide {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.magazine-main .swiper-slide img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}
.magazine-main .swiper-slide__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: var(--button-zindex);
}
.magazine-main .swiper-slide-active img {
  -o-object-position: 0 50%;
     object-position: 0 50%;
}
.magazine-main .swiper-slide-next img {
  -o-object-position: 100% 50%;
     object-position: 100% 50%;
}
.magazine-main .swiper-button-prev {
  top: 22px !important;
  right: 0px !important;
  width: 60px;
  height: 100vh !important;
  background: url(/common/images/bungeishunju/viewer/arrow.svg) 50% 50% no-repeat !important;
  background-size: 32px auto !important;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  opacity: 0.8;
}
@media screen and (max-width: 767px) {
  .magazine-main .swiper-button-prev {
    width: 44px;
  }
}
.magazine-main .swiper-button-prev::after {
  display: none;
}
.magazine-main .swiper-button-prev.swiper-button-disabled{
  background: none !important;
}
.magazine-main .swiper-button-next {
  top: 22px !important;
  left: 0px !important;
  width: 60px;
  height: 100vh !important;
  background: url(/common/images/bungeishunju/viewer/arrow.svg) 50% 50% no-repeat !important;
  background-size: 32px auto !important;
  opacity: 0.8;
}
@media screen and (max-width: 767px) {
  .magazine-main .swiper-button-next {
    width: 44px;
  }
}
.magazine-main .swiper-button-next::after {
  display: none;
}
.magazine-main .swiper-button-next.swiper-button-disabled{
  background: none !important;
}
.magazine-main .swiper-button-center {
  position: absolute;
  top: 40vh;
  left: 0;
  right: 0;
  width: 10%;
  margin: 0 auto;
  height: 20vh;
  z-index: var(--nav2-zindex);
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .magazine-main .swiper-button-center {
    top: 35vh;
    height: 30vh;
  }
}
@media only screen and (min-width: 769px) {
  .magazine-main .swiper[dir=rtl] .swiper-slide.swiper-slide-active:first-child {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@media only screen and (min-width: 769px) {
  .magazine-main .swiper[dir=rtl] .swiper-slide.swiper-slide-next:nth-child(2) {
    -webkit-transform: translateX(-55%);
            transform: translateX(-55%);
  }
}
.magazine-main .swiper-pagination {
  color: var(--black);
}
@media only screen and (min-width: 900px) {
  .magazine-main .swiper-slide:first-child {
    -webkit-transition: -webkit-transform 100ms;
    transition: -webkit-transform 100ms;
    transition: transform 100ms;
    transition: transform 100ms, -webkit-transform 100ms;
  }
  .magazine-main .swiper-slide:first-child img {
    -webkit-transition: -webkit-box-shadow 500ms;
    transition: -webkit-box-shadow 500ms;
    transition: box-shadow 500ms;
    transition: box-shadow 500ms, -webkit-box-shadow 500ms;
  }
  .magazine-main .swiper-slide.swiper-slide-active:first-child {
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
    z-index: 2;
  }
  .magazine-main .swiper-slide.swiper-slide-active:first-child img {
    -webkit-box-shadow: 0px 32px 80px rgba(0, 0, 0, 0.35);
            box-shadow: 0px 32px 80px rgba(0, 0, 0, 0.35);
  }
  .magazine-main .swiper-slide:nth-child(2) {
    -webkit-transition: -webkit-transform 100ms;
    transition: -webkit-transform 100ms;
    transition: transform 100ms;
    transition: transform 100ms, -webkit-transform 100ms;
  }
  .magazine-main .swiper-slide.swiper-slide-next:nth-child(2) {
    -webkit-transform: translateX(55%);
            transform: translateX(55%);
    z-index: 1;
  }
  .magazine-main[dir=rtl] .swiper-slide.swiper-slide-active:first-child {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .magazine-main[dir=rtl] .swiper-slide.swiper-slide-next:nth-child(2) {
    -webkit-transform: translateX(-55%);
            transform: translateX(-55%);
  }
}

/*---nav---*/
.viewer__nav {
  position: absolute;
  top: 56px;
  right: -400px;
  width: 340px;
  height: 100vh;
  margin: 0;
  padding: 0 0 190px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow-y: scroll;
  opacity: 0;
  visibility: hidden;
  /*-ms-overflow-style: none !important;
  scrollbar-width: none !important;*/
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: var(--nav-zindex);
  /*&::-webkit-scrollbar{
    display: none !important;
  }*/
}
.viewer__nav.active {
  right: 0;
  opacity: 1;
  visibility: visible;
  background: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.viewer__nav__list {
  top: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
  background: none;
  list-style-type: none;
}
.viewer__nav__list__li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  text-align: left;
  display: block;
  border-bottom: 1px solid var(--tertiary-line);
}
.viewer__nav__list__link {
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start !important;
      -ms-flex-pack: start !important;
          justify-content: start !important;
  text-align: left !important;
  color: var(--secondary-text);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.viewer__nav__list__link:hover {
  color: var(--primary-text);
  background: var(--primary-color);
}

.bnop {
  position: relative;
  width: 56px;
  height: 56px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: var(--btnopen-zindex);
}
.bnop:hover {
  opacity: 0.6;
}
.bnop.active .bnop__span:nth-of-type(1) {
  top: 6px;
  -webkit-transform: translateY(14px) rotate(-315deg);
          transform: translateY(14px) rotate(-315deg);
}
.bnop.active .bnop__span:nth-of-type(2) {
  opacity: 0;
}
.bnop.active .bnop__span:nth-of-type(3) {
  bottom: 14px;
  -webkit-transform: translateY(-20px) rotate(315deg);
          transform: translateY(-20px) rotate(315deg);
}
.bnop.active .bnop__txt::after {
  content: "閉じる";
}
.bnop .bnop__span {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 26px;
  height: 2px;
  background: var(--gray);
  border-radius: 4px;
  display: inline-block;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.bnop .bnop__span:nth-of-type(1) {
  top: 14px;
}
.bnop .bnop__span:nth-of-type(2) {
  top: 28px;
}
.bnop .bnop__span:nth-of-type(3) {
  bottom: 33px;
}
.bnop .bnop__txt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 100%;
  color: var(--gray);
  display: block;
}
.bnop .bnop__txt::after {
  content: "目次";
}

/*------------viewer------------*/
/*------------loading------------*/
.loadingWrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--primary-bg);
  z-index: var(--loading-zindex);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.loadingWrap.hide {
  opacity: 0;
}
.loadingWrap.dnone {
  display: none;
}
.loadingWrap__col {
  width: 100px;
  margin: 0 auto;
  font-size: 1.4rem;
  text-align: center;
}

@-webkit-keyframes loadingclear {
  0% {
    opacity: 1;
  }
  98% {
    opacity: 0;
  }
  100% {
    visibility: hidden;
    display: none;
  }
}

@keyframes loadingclear {
  0% {
    opacity: 1;
  }
  98% {
    opacity: 0;
  }
  100% {
    visibility: hidden;
    display: none;
  }
}
@-webkit-keyframes ball-scale-multiple {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes ball-scale-multiple {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
.ball-scale-multiple {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 4px;
}

.ball-scale-multiple > div:nth-child(2) {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.ball-scale-multiple > div:nth-child(3) {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.ball-scale-multiple > div {
  background-color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  left: 0;
  top: 0px;
  opacity: 0;
  margin: 0;
  width: 60px;
  height: 60px;
  -webkit-animation: ball-scale-multiple 1s 0s linear infinite;
  animation: ball-scale-multiple 1s 0s linear infinite;
}

/*------------loading------------*/

.modalWrap {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 80px 0;
  z-index: var(--modal-zindex);
  overflow-y: scroll;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: none;
}
.modalWrap .modalWrap__bg {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: var(--bg-zindex);
}
.modalWrap .modalWrap__inner {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  background: var(--white);
  border-radius: 14px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 767px) {
  .modalWrap .modalWrap__inner {
    width: 80%;
    max-width: 92%;
    padding: 20px 4%;
  }
}
.modalWrap .modalWrap__inner--incentives {
  max-width: 600px;
}
.modalWrap .modalWrap__close {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: var(--secondary-color);
  border: none;
  border-radius: 100%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: var(--button-zindex);
}
.modalWrap .modalWrap__close:hover {
  background: var(--primary-color);
}
.modalWrap .modalWrap__close span {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 50%;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  display: inline-block;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.modalWrap .modalWrap__close span:nth-of-type(1) {
  top: 20px;
  -webkit-transform: translateY(4px) rotate(-315deg);
          transform: translateY(4px) rotate(-315deg);
}
.modalWrap .modalWrap__close span:nth-of-type(2) {
  bottom: 20px;
  -webkit-transform: translateY(-4px) rotate(315deg);
          transform: translateY(-4px) rotate(315deg);
}

.guidelineWrap {
  width: 90%;
  margin: 0 auto;
  padding: 24px 0;
}
.guidelineWrap__h1 {
  margin: 0 0 10px;
  padding: 0;
  color: var(--secondary-text);
  font-size: 2rem;
  font-weight: 700;
  line-height: 130%;
}
.guidelineWrap__imgcol {
  width: 100%;
  padding: 64.56% 0 0 0;
  background: url(/common/images/bungeishunju/viewer/viewer_gl_pc.webp) 50% 50%;
  background-size: cover;
}
.viewerPagination {
  --base-width: 2944;
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--secondary-text);
}
.viewerPagination * {
  box-sizing: border-box;
}
.viewerPagination_inner {
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  padding-block: 20px;
}
.viewerPagination__title {
  font-size: min(76 / var(--base-width) * 100vw, 38px);
  font-weight: 700;
  text-align: center;
}
.viewerPagination__figure {
  text-align: center;
  line-height: 0;
  margin-top: min(46 / var(--base-width) * 100vw, 23px);
}
.viewerPagination__img {
  width: min(677 / var(--base-width) * 100vw, 338px) !important;
  height: auto !important;
}
.viewerPagination__text {
  font-size: min(44 / var(--base-width) * 100vw, 22px);
  font-weight: bold;
  line-height: 1;
  text-align: center;
  margin-top: min(70 / var(--base-width) * 100vw, 35px);
}
.viewerPagination__list {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  gap: min(26 / var(--base-width) * 100vw, 13px);
  max-width: min(680 / var(--base-width) * 100vw, 340px);
  margin-top: min(34 / var(--base-width) * 100vw, 17px);
  margin-inline: auto;
  padding: 0;
}
.viewerPagination__list:has(:nth-child(6)) {
  justify-content: flex-start;
}
.viewerPagination__item {
  list-style: none;
}
.viewerPagination__link {
  --active-color: #fff;
  --active-background-color: #222;
  display: grid;
  place-items: center;
  width: min(114 / var(--base-width) * 100vw, 57px);
  height: min(116 / var(--base-width) * 100vw, 58px);
  color: var(--secondary-text);
  text-decoration: none;
  font-size: min(56 / var(--base-width) * 100vw, 28px);
  font-weight: bold;
  line-height: 1;
  border: 1px solid #000;
  background-color: #fff;
  transition-property: color, background-color;
  transition-duration: 0.3s;
}
.viewerPagination__item[data-current='true'] .viewerPagination__link {
  color: var(--active-color);
  background-color: var(--active-background-color);
}
.viewerPagination__link:focus-visible {
  color: var(--active-color);
  background-color: var(--active-background-color);
}
@media (any-hover: hover) {
  .viewerPagination__link:hover {
    color: var(--active-color);
    background-color: var(--active-background-color);
  }
}
