/* スイッチボタン全体 */
.switch-container {
  position: absolute;   /* ← 親(image-container)基準で配置 */
  top: 30%;            /* 上からの距離 */
  right: 10%;          /* 左からの距離（数値指定が可能） */
  width: 200px;
  height: 50px;
  border-radius: 20px;
  border: 2px solid #171717;
  overflow: hidden;
  background: #fff;
  z-index: 10;
}

/* ボタン背景部分 */
.switch-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #171717;
  border-radius: 20px;
  transition: left 0.3s ease;
}

/* ラベル部分 */
.switch-labels {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.switch-label {
  flex: 1;
  text-align: center;
  color: #171717;
  z-index: 1;
  cursor: pointer;
}

.switch-label.active {
  color: #fff;
}
