@charset "utf-8";
.step-slider {
  position: relative;
  width: 100%;
}

.step-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.step-slider__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.35s ease;
  will-change: transform;
}

.step-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
}

.step-slider__slide > .l-section {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 背景エリアの高さを揃える */
.step-slider__slide .u-bg-brand-p-10 {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding-bottom: 56px; /* dots分の余白 */
  box-sizing: border-box;
}

.step-slider__slide img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: auto;
}

/* 左右ボタン */
.step-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-slider__btn--prev {
  left: 0px;
}

.step-slider__btn--next {
  right: 0px;
}

.step-slider__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* dots をスライドエリア内の中央下に */
.step-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.step-slider__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  padding: 0;
  cursor: pointer;
}

.step-slider__dot.is-active {
  background: #333;
}

@media screen and (max-width: 767px) {
  .step-slider__slide .c-image._full {
    width: 85% !important;
  }
}

