/* */
.slider-box {
  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;
  min-height: 65vh;
  font-family: Arial, sans-serif;
}
@media (max-width: 1200px) {
  .slider-box {
    min-height: 60vh;
  }
}
@media (max-width: 1000px) {
  .slider-box {
    min-height: 50vh;
  }
}
@media (max-width: 768px) {
  .slider-box {
    min-height: 40vh;
  }
}
@media (max-width: 480px) {
  .slider-box {
    min-height: 25vh;
  }
}

.slider-container {
  max-width: 1200px;
  width: 100%;
  aspect-ratio: 12/7;
  position: relative;
  overflow: hidden;
  background: #000;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
          box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-size: cover;
  background-position: center;
  background-image: url("../img/ryukakusan-top-1.webp");
}

.slide:nth-child(2) {
  background-image: url("../img/ryukakusan-top-2.webp");
}

.slide:nth-child(3) {
  background-image: url("../img/ryukakusan-top-3.webp");
}

@media (max-width: 1024px) {
  .slider-container {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .slider-container {
    height: 400px;
  }
  .slide {
    font-size: 32px;
  }
  .arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .arrow.prev {
    left: 10px;
  }
  .arrow.next {
    right: 10px;
  }
}
@media (max-width: 480px) {
  .slider-container {
    height: 205px;
  }
  .slide {
    font-size: 24px;
    background-size: 100%;
  }
  /*.slide {
          min-width: 100%;
          height: 100%;
          display: flex;
  background-size: cover;
  background-position: center;
          background-image: url('../img/ryukakusan-top-1-sp.webp');
      }

      .slide:nth-child(2) {
          background-image: url('../img/ryukakusan-top-2-sp.webp');
      }

      .slide:nth-child(3) {
          background-image: url('../img/ryukakusan-top-3-sp.webp');
      }*/
  .arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .dots {
    bottom: 20px;
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
}
.arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  z-index: 10;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

.arrow.prev {
  left: 20px;
}

.arrow.next {
  right: 20px;
}

@media (max-width: 480px) {
  .arrow.prev {
    left: 10px;
  }
  .arrow.next {
    right: 10px;
  }
}
.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.dot.active {
  background: white;
}

.list-container {
  max-width: 100%;
  margin: 0 auto;
}

.list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  color: inherit;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

.list-item:hover {
  background: #f9f9f9;
}

.list-item:last-child {
  border-bottom: none;
}

.category {
  width: 145px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-weight: bold;
  color: #666;
}
@media (max-width: 480px) {
  .category {
    width: 120px;
  }
}

.title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #333;
}