@charset "UTF-8";
.aioseo-html-sitemap > div > h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}
.aioseo-html-sitemap > div > ul {
  padding-left: 2rem;
}
.aioseo-html-sitemap > div > ul > li {
  list-style-type: disc;
}
.aioseo-html-sitemap > div > ul > li > ul {
  padding-left: 2rem;
}
.aioseo-html-sitemap > div > ul > li > ul > li {
  list-style-type: disc;
}
.aioseo-html-sitemap > div > ul li {
  margin-bottom: 0.5rem;
}

.page-mv {
  position: relative;
  z-index: 1;
  margin-top: 10.8rem;
  -webkit-transition: 0.2s margin;
  transition: 0.2s margin;
}
@media screen and (max-width: 768px) {
  .page-mv {
    margin-top: 6.8rem;
  }
}
.page-mv::before {
  content: "";
  background: rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.page-mv-bg {
  width: 100%;
  height: 240px;
}
@media screen and (max-width: 768px) {
  .page-mv-bg {
    height: 16rem;
  }
}
.page-mv-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.page-mv-desc {
  width: 100%;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.page-mv-title {
  font-size: 4rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .page-mv-title {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
  }
}
.page-mv-titleEn {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .page-mv-titleEn {
    font-size: 1.6rem;
  }
}

.main-fig {
  margin-bottom: 6rem;
  width: 100%;
  height: 65rem;
}
.employee .main-fig {
  height: 60rem;
}
@media screen and (max-width: 768px) {
  .main-fig {
    height: 25rem;
    margin-bottom: 4rem;
  }
}
.main-fig img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wb-house-fig {
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (max-width: 768px) {
  .wb-house-fig {
    margin-bottom: 3rem;
  }
}
.wb-house-fig img {
  width: 26rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  .wb-house-fig img {
    width: 16rem;
  }
}
.wb-house-logotext {
  text-align: center;
}
.wb-house-logotext img {
  width: 64rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  .wb-house-logotext img {
    width: 30rem;
  }
}

.slider-A-wrap {
  width: 100%;
}

.slider-A {
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow: hidden;
}

.slider-A .swiper-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.slider-A-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3rem;
  background: #fff;
  -webkit-box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.25);
  padding: 4rem 5rem 4rem 2rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  .slider-A-slide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 2rem;
    padding: 4rem 2rem 4rem 2rem;
  }
}

.slider-A-slide-desc-fig {
  width: 50%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 768px) {
  .slider-A-slide-desc-fig {
    width: 100%;
  }
}

.slider-A-slide-desc-img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-A-slide-desc {
  width: 45%;
}
@media screen and (max-width: 768px) {
  .slider-A-slide-desc {
    width: 100%;
  }
}

.slider-A-slide-desc .__title {
  margin: 0 0 2rem;
  font-size: 2.6rem;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .slider-A-slide-desc .__title {
    font-size: 1.8rem;
    margin: 0 0 2rem;
  }
}

.slider-A-slide-desc .__text {
  margin: 1rem 0 0;
  line-height: 2;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .slider-A-slide-desc .__text {
    font-size: 1.4rem;
    margin: 1rem 0 0;
  }
}

.slider-A-slide-desc .__number {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .slider-A-slide-desc .__number {
    margin: 0 0 1.2rem;
    font-size: 1.6rem;
  }
}

/* 下部コントロール */
.slider-A-controls {
  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;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .slider-A-controls {
    margin-top: 2.5rem;
    gap: 0.5rem;
  }
}

.slider-A-prev,
.slider-A-next {
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.slider-A-prev::before {
  content: "";
  background: url(../../images/renewal/common/slide-prev-arrow.png) no-repeat center center/cover;
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .slider-A-prev::before {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.slider-A-next::before {
  content: "";
  background: url(../../images/renewal/common/slide-next-arrow.png) no-repeat center center/cover;
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .slider-A-next::before {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.slider-A-fraction {
  min-width: 7.2rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.slider-A-fraction .current,
.slider-A-fraction .total {
  display: inline-block;
}

.slider-B {
  overflow: hidden;
  max-width: calc(100% - (100% - 120rem) / 2);
  margin-left: auto;
  margin-right: 0;
}
@media screen and (max-width: 768px) {
  .slider-B {
    padding-left: 4%;
  }
}

.slider-B .swiper-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.slider-B-slide {
  height: 35rem;
}
@media screen and (max-width: 768px) {
  .slider-B-slide {
    height: 23rem;
  }
}

.slider-B-slide-desc {
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 2.5rem 2rem;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.guarantee-slider .slider-B-slide-desc {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 3rem;
}
@media screen and (max-width: 768px) {
  .guarantee-slider .slider-B-slide-desc {
    gap: 2rem;
  }
}
.slider-B-slide-desc.--gry {
  background: #E4E4E4;
}
.slider-B-slide-desc .__fig {
  text-align: center;
}
.slider-B-slide-desc .__fig img {
  height: 14rem;
}
@media screen and (max-width: 768px) {
  .slider-B-slide-desc .__fig img {
    height: 10rem;
  }
}
.slider-B-slide-desc .__number {
  font-size: 8rem;
  color: rgba(190, 190, 190, 0.5);
  line-height: 1;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .slider-B-slide-desc .__number {
    font-size: 4rem;
  }
}
.slider-B-slide-desc .__title {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .slider-B-slide-desc .__title {
    font-size: 1.6rem;
  }
}
.slider-B-slide-desc .__text {
  font-size: 1.8rem;
}
@media screen and (max-width: 768px) {
  .slider-B-slide-desc .__text {
    font-size: 1.5rem;
  }
}

/* prev next */
.prevnext-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 1.2rem;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .prevnext-box {
    gap: 0.6rem;
    top: auto;
    bottom: 0;
  }
}
.prevnext-box.--noheading {
  top: -7.5rem;
}
@media screen and (max-width: 768px) {
  .prevnext-box.--noheading {
    top: -4.5rem;
  }
}

.slider-B-prev,
.slider-B-next {
  width: 6rem;
  height: 6rem;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .slider-B-prev,
  .slider-B-next {
    width: 3rem;
    height: 3rem;
  }
}

.slider-B-prev {
  background-image: url("../../images/renewal/common/slide-prev-skl-arrow.svg");
}

.slider-B-next {
  background-image: url("../../images/renewal/common/slide-next-skl-arrow.svg");
}

/* progress bar */
.slider-B-progress {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  margin-top: 6rem;
}
@media screen and (max-width: 768px) {
  .slider-B-progress {
    margin-top: 4rem;
  }
}

.slider-B-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #C6A647;
  border-radius: 999px;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}

.slider-B-progress-fill.is-animating {
  -webkit-animation-name: sliderProgressFill;
          animation-name: sliderProgressFill;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes sliderProgressFill {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}

@keyframes sliderProgressFill {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  to {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}
.slider-c {
  position: relative;
  margin-bottom: 1.6rem;
}
.slider-c .swiper-slide {
  overflow: hidden;
  background: #e4e4e4;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .slider-c .swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: auto;
  }
}
.slider-c img {
  display: inline-block;
  width: auto;
  height: 50rem;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 768px) {
  .slider-c img {
    height: auto;
    max-height: 27rem;
  }
}

.slider-c-thumbs .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  overflow: hidden;
}
.slider-c-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.slider-c-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 768px) {
  .slider-c-thumbs img {
    aspect-ratio: 16/12;
  }
}
.slider-c-thumbs .swiper-button-prev,
.slider-c-thumbs .swiper-button-next {
  width: 4rem;
  height: 4rem;
  margin-top: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translatey(-50%);
          transform: translatey(-50%);
  z-index: 1;
}
.slider-c-thumbs .swiper-button-prev::after,
.slider-c-thumbs .swiper-button-next::after {
  content: none;
}
.slider-c-thumbs .swiper-button-prev {
  left: 1.2rem;
  background: url("../../images/renewal/common/slide-prev-arrow.png") no-repeat center center/cover;
}
.slider-c-thumbs .swiper-button-next {
  right: 1.2rem;
  background: url("../../images/renewal/common/slide-next-arrow.png") no-repeat center center/cover;
}

@media screen and (max-width: 767px) {
  .slider-c {
    margin-bottom: 1rem;
  }
  .slider-c-thumbs .swiper-button-prev,
  .slider-c-thumbs .swiper-button-next {
    width: 3rem;
    height: 3rem;
  }
  .slider-c-thumbs .swiper-button-prev {
    left: 0;
  }
  .slider-c-thumbs .swiper-button-next {
    right: 0;
  }
}
.yb-grid {
  position: relative;
  z-index: 1;
}
.yb-grid::before {
  content: "WB HOUSE";
  font-family: "Baskervville", serif;
  color: #fff;
  font-size: 20rem;
  line-height: 1;
  position: absolute;
  top: 0;
  right: 4%;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .yb-grid::before {
    font-size: 4rem;
    top: 2rem;
    right: 0;
  }
}
.yb-grid.mb-yb::before {
  content: "MB SYSTEM";
  font-family: "Baskervville", serif;
  color: #fff;
  font-size: 20rem;
  line-height: 1;
  position: absolute;
  top: 0;
  right: 4%;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .yb-grid.mb-yb::before {
    font-size: 4rem;
    top: 2rem;
    right: 0;
  }
}
.yb-grid-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-top: 8rem;
}
@media screen and (max-width: 768px) {
  .yb-grid-content {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.yb-grid .__title {
  -webkit-transform: translatey(-10rem);
          transform: translatey(-10rem);
}
@media screen and (max-width: 768px) {
  .yb-grid .__title {
    -webkit-transform: translatey(-9rem);
            transform: translatey(-9rem);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media screen and (max-width: 768px) {
  .yb-grid .__text {
    width: 75%;
    font-size: 1.4rem;
  }
}
.yb-grid .yb-box {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .yb-grid .yb-box {
    width: 100%;
  }
}

.yb-wrap {
  width: 100%;
}
.yb-wrap iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
}

.gallery-layout {
  position: relative;
  z-index: 1;
}
.gallery-layout-mainBg {
  position: relative;
  z-index: 1;
}
.gallery-layout-img01 {
  width: 72.5rem;
  height: auto;
}
@media screen and (min-width: 1441px) {
  .gallery-layout-img01 {
    width: 90rem;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1700px) {
  .gallery-layout-img01 {
    width: 72.5rem;
  }
}
@media screen and (max-width: 768px) {
  .gallery-layout-img01 {
    width: 20rem;
  }
}
.gallery-layout-img02 {
  width: 25rem;
  height: auto;
  position: absolute;
  bottom: -12rem;
  left: 70rem;
  z-index: 2;
}
@media screen and (min-width: 1441px) {
  .gallery-layout-img02 {
    width: 35rem;
    bottom: -17rem;
    left: 85rem;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1700px) {
  .gallery-layout-img02 {
    width: 25rem;
    bottom: -12rem;
    left: 70rem;
  }
}
@media screen and (max-width: 768px) {
  .gallery-layout-img02 {
    width: 10rem;
    bottom: -4rem;
    left: 19rem;
  }
}
.gallery-layout-img03 {
  width: 35rem;
  height: auto;
  position: absolute;
  bottom: -26rem;
  right: 0;
  z-index: 2;
}
@media screen and (min-width: 1441px) {
  .gallery-layout-img03 {
    width: 45rem;
    bottom: -31rem;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1700px) {
  .gallery-layout-img03 {
    width: 35rem;
    bottom: -26rem;
  }
}
@media screen and (max-width: 768px) {
  .gallery-layout-img03 {
    width: 15rem;
    bottom: -17rem;
  }
}
.gallery-layout + section, .gallery-layout + div {
  padding-top: 20rem;
}
@media screen and (min-width: 1441px) {
  .gallery-layout + section, .gallery-layout + div {
    padding-top: 22rem;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1700px) {
  .gallery-layout + section, .gallery-layout + div {
    padding-top: 20rem;
  }
}
@media screen and (max-width: 768px) {
  .gallery-layout + section, .gallery-layout + div {
    padding-top: 12rem;
  }
}

.imgWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 8rem;
  margin-bottom: 8rem;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}
@media screen and (max-width: 768px) {
  .imgWrap {
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 4rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.imgWrap .figBox.--col {
  width: 74%;
}
@media screen and (max-width: 768px) {
  .imgWrap .figBox.--col {
    width: 100%;
  }
}
.imgWrap .text-box.--col {
  width: 26%;
  margin-top: 5rem;
}
@media screen and (max-width: 768px) {
  .imgWrap .text-box.--col {
    width: 100%;
    margin-top: 0;
  }
}
.imgWrap .text-box.--col .head {
  text-align: center;
  padding: 2rem 1rem;
  background: #524B40;
  color: #fff;
  margin-bottom: 1rem;
}
.imgWrap .text-box.--col .list {
  margin-bottom: 1rem;
}

.pagination-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.pagination a {
  color: #000;
  display: block;
}

.pagination .prev a,
.pagination .next a {
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 0.9em;
}

.pagination .prev a::after,
.pagination .next a::after {
  content: "";
  width: 48px;
  height: 13px;
  border-bottom: solid 1px;
  border-color: #000;
  display: block;
}

.pagination .prev a {
  margin-right: 22px;
  padding-left: 7px;
}

.pagination .prev a::after {
  border-left: solid 1px;
  -webkit-transform: skew(-45deg);
          transform: skew(-45deg);
}

.pagination .next a {
  margin-left: 22px;
  padding-right: 7px;
}

.pagination .next a::after {
  border-right: solid 1px;
  -webkit-transform: skew(45deg);
          transform: skew(45deg);
}

.pagination > .to-list a {
  font-size: 1.6rem;
  font-weight: 700;
  white-space: nowrap;
}

.pagination > .to-list a:hover {
  text-decoration: none;
}

.pagination > .to-list:first-of-type {
  margin-left: 175px;
}

.pagination > .to-list:last-of-type {
  margin-right: 175px;
}

.paging,
.page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.5rem;
  font-weight: 500;
}

.paging > * + *,
.page-numbers > * + * {
  margin-left: 22px;
}

.paging .prev,
.paging .next,
.page-numbers .prev,
.page-numbers .next {
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 0.9em;
}

.paging .prev::after,
.paging .next::after,
.page-numbers .prev::after,
.page-numbers .next::after {
  content: "";
  width: 48px;
  height: 13px;
  border-bottom: solid 1px;
  border-color: #524B40;
  display: block;
}

.paging .prev,
.page-numbers .prev {
  margin-right: 0;
  padding-left: 7px;
}

.paging .prev::after,
.page-numbers .prev::after {
  border-left: solid 1px;
  -webkit-transform: skew(-45deg);
          transform: skew(-45deg);
}

.paging .next,
.page-numbers .next {
  margin-left: 0;
  padding-right: 7px;
}

.paging .next::after,
.page-numbers .next::after {
  border-right: solid 1px;
  -webkit-transform: skew(45deg);
          transform: skew(45deg);
}

.paging a,
.page-numbers a {
  background: #e1e1e1;
  border-radius: 50%;
  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;
  width: 30px;
  height: 30px;
  text-decoration: none;
  padding-bottom: 0.15em;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.paging a:hover,
.page-numbers a:hover {
  background: #524B40;
  color: #fff;
}

.paging li:first-child a,
.paging li:last-child a,
.page-numbers li:first-child a,
.page-numbers li:last-child a {
  background: transparent;
  border: 0;
  display: block;
  width: auto;
  height: auto;
}

.paging li:first-child a:hover,
.paging li:last-child a:hover,
.page-numbers li:first-child a:hover,
.page-numbers li:last-child a:hover {
  background: transparent;
  color: #524B40;
}

.paging .current,
.page-numbers .current {
  border-radius: 50%;
  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;
  width: 30px;
  height: 30px;
  text-decoration: none;
  padding-bottom: 0.15em;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background: #524B40;
  color: #fff;
}

.paging li:first-child .current,
.page-numbers li:first-child .current {
  margin-left: 77px;
}

.paging li:last-child .current,
.page-numbers li:last-child .current {
  margin-right: 77px;
}

.bottom-block {
  margin: 10rem 0 7rem;
}
@media screen and (max-width: 768px) {
  .bottom-block {
    margin: 8rem 0 7rem;
  }
}

.bottom-block .bottom-head {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.35em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .bottom-block .bottom-head {
    font-size: 1.8rem;
  }
}

.tab-content {
  display: none;
}

.tab-content.show {
  display: block;
}

.tab-btn {
  cursor: pointer;
}