body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  background: #f8f4e6;
  color: #333;
}

.header, .footer {
  text-align: center;
  background: #c41e3a;
  color: white;
  padding: 15px 0;
}

main {
  padding: 20px;
}

/* ===== スライダー全体 ===== */
.slider-container {
  position: relative;
  max-width: 500px;/*900px;*/
  margin: 10px auto;/*30px auto;*/
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== スライドエリア ===== */
.slider {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== ボタン類 ===== */
.controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.controls button {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.controls button:hover {
  background: rgba(255,255,255,0.3);
}

/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 767px) {
  .controls button {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .slider-container {
    border-radius: 10px;
  }

  .controls {
    flex-direction: column;
    bottom: 10px;
    gap: 6px;
  }

  .controls button {
    font-size: 5px;/*13px;*/
    padding: 5px 8px;
  }
}
