.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin-top: 50px;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slider {
  width: 100%;
  height: 500px;
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

  .slide-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
}

/*スライダー内テキスト　１行目*/
.slide-text-title {
  font-size: 35px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
  text-shadow: 1px 0 5px #ff0000;
}

/*スライダー内テキスト　2行目*/
.slide-text-desc {
  font-size: 20px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
  text-shadow: 1px 0 5px #ff0000;
}


.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  font-size: large;
  font-weight: bold;
  background-color: rgb(96, 230, 136);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.contact-button:hover {
  background-color: rgb(150, 150, 150);
}

.nav-button {
  font-size: xx-large;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

#prev { left: 10px; }
#next { right: 10px; }

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.dot {
  width: 10px;
  height: 10px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: white;
}