@charset "UTF-8";

.slider-container {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
  }

  .main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }

  .thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border 0.3s;
  }

  .thumbnail.active {
    border: 2px solid #00bfff;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 15px;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
  }

  .arrow-left {
    left: 10px;
  }

  .arrow-right {
    right: 10px;
  }

/* イメージキャラの位置設定*/
.img-bear {
    position: relative;
    width: 10%;
    height: auto;
    left: 10%;
    transform: rotate(20deg); /* 画像を10度回転 */
    transition: transform 0.3s ease; /* 回転がスムーズに変化 */
}

.img-box {
    position: relative;
    width: 10%;
    height: auto;
    left: 45%;
    transform: rotate(5deg);
    transition: transform 0.3s ease;
    top: 50px
}

.img-rainbow {
    position: relative;
    width: 10%;
    height: auto;
    right: -60%;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
    top: -80px
}

.img-corn {
    position: relative;
    width: 7%;
    height: auto;
    left: 10%;
    top: -50px;
    transform: rotate(-10deg); /* 画像を10度回転 */
    transition: transform 0.3s ease; /* 回転がスムーズに変化 */
}

.img-pen {
    position: relative;
    width: 10%;
    height: auto;
    left: 30%;
    transform: rotate(10deg);
    transition: transform 0.3s ease;
    top: 50px;
}

.img-car {
    position: relative;
    width: 10%;
    height: auto;
    right: -60%;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
    top: -80px
}

.img-apple {
    position: relative;
    width: 8%;
    height: auto;
    left: 10%;
    transform: rotate(-15deg); 
    transition: transform 0.3s ease;
    top: -60px;   
}

.img-carrot {
    position: relative;
    width: 10%;
    height: auto;
    left: 45%;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    top: 50px
}

.img-pear {
    position: relative;
    width: 8%;
    height: auto;
    right: -60%;
    transform: rotate(10deg);
    transition: transform 0.3s ease;
    top: -80px;
}

.img-kaihou {
    position: relative;
    width: 22%;
    height: auto;
    left: 15%;
    margin: 25px 0 -40px;
    z-index: 3
}

.img-Trumpet {
    position: relative;
    width: 11%;
    height: auto;
    left: 10%;
    transform: rotate(10deg);
    transition: transform 0.3s ease;
    top: 5px
}

.img-note {
    position: relative;
    width: 10%;
    height: auto;
    right: -70%;
    transform: rotate(10deg);
    transition: transform 0.3s ease;
    top: -50px;
}

.img-clock {
    position: relative;
    width: 10%;
    height: auto;
    left: 35%;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    top: 60px
}

  @media (max-width: 500px) {
    .thumbnail {
      width: 70px;
      height: 50px;
    }
  }