/* 画像エリア */
.up-d_production-img-area {
  position: relative;
  background: rgb(243, 244, 246);
  border-radius: 10px;
  margin-bottom: 3rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
          box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* スライド群（高さが潰れないように） */
.up-d_img-slides {
  position: relative;
  height: 400px;
}

/* 各スライド：重ねて、activeだけ表示 */
.up-d_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  height: 100%;
}

.up-d_slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative; /* activeだけ通常フローに戻して高さを確保 */
}
.up-d_slide a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
}

/* 画像 */
.up-d_slide img {
  display: block;
  width: auto;
  height: 100%;
  -o-object-fit: contain;
      object-fit: contain;
}

/* ボタン */
.up-d_production-btn-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  margin-top: 16px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.up-d_production-btn {
  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: 96px;
  border: 2px solid #d7dbe3;
  border-radius: 12px;
  cursor: pointer;
  -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: #fff;
  line-height: 1.5;
  font-weight: 500;
  aspect-ratio: 1 / 1;
  -webkit-transition: .5s;
  transition: .5s;
  overflow: hidden;
}

.up-d_production-btn.is-active {
  border-color: rgb(59, 130, 246);
  background: rgb(239 246 255);
}

.up-d_production-btn:hover {
  border-color: rgb(59, 130, 246);
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}
