/* =========================================================
   Granxia Banners
   ========================================================= */

.granxia-banners-section {
  margin: 0;
}

.granxia-banners-wrap {
  position: relative;
  overflow: hidden;
}

.granxia-banners-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.granxia-banners-wrap.is-static .granxia-banners-track {
  justify-content: flex-start;
}

.granxia-banner-item {
  flex: 0 0 calc((100% - 48px) / 3);
  display: block;
  text-decoration: none;
}

.granxia-banner-item__inner {
  border-radius: 12px;
  overflow: hidden;
  background: #303030;
}

.granxia-banner-item__image {
  display: block;
  width: 100%;
  height: auto;
}

.granxia-banner-item__fallback {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 20px;
  color: #fff;
  text-align: center;
}

@media (max-width: 1024px) {
  .granxia-banner-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .granxia-banners-track {
    gap: 16px;
  }

  .granxia-banner-item {
    flex: 0 0 100%;
  }
}

/* 矢印 */
.granxia-banners-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 40px;
  height: 40px;

  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
}

.granxia-banners-arrow.is-prev {
  left: 10px;
}

.granxia-banners-arrow.is-next {
  right: 10px;
}

/* ドット */
.granxia-banners-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.granxia-banners-dots .dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #aaa;
  line-height: 1;
  flex: 0 0 10px;
  appearance: none;
  -webkit-appearance: none;
}

.granxia-banners-dots .dot.is-active {
  background: #fff;
}