@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
.custom-html img.fr-fic.fr-dib {
  width: 100%;
  display: block;
}

.scale {
  max-width: 2000px;
  max-height: 1110px;
  width: 100%;
  position: relative;
  aspect-ratio: 2000/1110;
  background-image: url("scale_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
}
@media (max-width: 767px) {
  .scale {
    max-width: 980px;
    max-height: 1506px;
    aspect-ratio: 980/1506;
    background-image: url("scale_bg_m.jpg");
  }
}
.scale .type {
  position: absolute;
  top: 23%;
  left: 20%;
  width: 20%;
  z-index: 2;
}
@media (max-width: 767px) {
  .scale .type {
    top: 19%;
    left: 24%;
    width: 52%;
  }
}
.scale .type .btn {
  width: 100%;
  display: none;
}
.scale .type .btn.btn1-active, .scale .type .btn.btn2-active {
  display: block;
}
.scale .moto {
  position: absolute;
  top: 65%;
  left: 41.8%;
  transform: translate(-50%, -50%);
  width: 55.5%;
}
@media (max-width: 767px) {
  .scale .moto {
    position: absolute;
    top: 61.8%;
    left: 46%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
}
.scale .moto img {
  max-width: 100%;
}
.scale .mark {
  display: none;
}
@media (max-width: 767px) {
  .scale .mark {
    display: block;
    position: absolute;
    width: 20%;
    width: 30%;
    left: 3%;
  }
}
.scale .mark img {
  width: 100%;
}
.scale .max_Swiper {
  --ratio_pc: 1051 / 1100;
  --ratio_md: 980 / 796;
  width: 52%;
  height: auto;
  padding-top: 0%;
  padding-bottom: 0%;
  padding-left: 16%;
  padding-right: 0%;
}
@media (max-width: 767px) {
  .scale .max_Swiper {
    width: 100%;
    height: auto;
    padding-top: 40%;
    padding-left: 0%;
    padding-right: 0%;
  }
}
.scale .max_Swiper .swiper-wrapper {
  height: 100% !important;
}
.scale .max_Swiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio_pc, 16/9);
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
}
@media (max-width: 767px) {
  .scale .max_Swiper .swiper-slide img {
    aspect-ratio: var(--ratio_md, 16/9);
  }
}
.scale .swiper-pagination {
  position: absolute;
  width: 10rem;
  height: auto;
  /* max-height: 50px; */
  flex-wrap: wrap;
  top: 10%;
  left: 35%;
}
.scale .swiper-pagination .swiper-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scale .swiper-pagination .swiper-slide {
  border: 1px solid #0d0170;
  background-color: #fff;
  color: #0d0170;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  width: auto;
}
.scale .swiper-pagination .swiper-slide-active {
  background-color: #17346e;
  color: #fff;
}
.scale .scale-pagination {
  position: absolute;
  z-index: 1;
  top: 42% !important;
  bottom: unset !important;
  right: 25%;
  width: auto !important;
  left: auto !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 1.5vw;
}
@media (max-width: 767px) {
  .scale .scale-pagination {
    flex-direction: row;
    top: unset !important;
    width: 100% !important;
    bottom: 11% !important;
    right: 5%;
    left: 4% !important;
    font-size: 3vw;
    gap: 0rem;
  }
}
.scale .swiper-pagination-bullet {
  border: 1px solid #17346e;
  background-color: #fff;
  color: #17346e;
  border-radius: 4vw;
  padding: 0 1.5vw;
  width: auto;
  line-height: 1.4;
  height: auto;
  opacity: 1;
  font-family: "Lato", "Arial", sans-serif;
  font-weight: 400;
}
@media (max-width: 767px) {
  .scale .swiper-pagination-bullet {
    padding: 0 4vw;
    width: 19%;
    text-align: center;
  }
}
.scale .swiper-pagination-bullet .num {
  font-size: 2vw;
}
@media (max-width: 767px) {
  .scale .swiper-pagination-bullet .num {
    font-size: 4.5vw;
  }
}
.scale .swiper-pagination-bullet-active {
  color: #fff;
  background: #17346e;
  border: 1px solid #17346e;
}