/* Slider */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
button {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: none;
  border-radius: 0;
}

/*********** ここまでベースCSS・リセットCSS ***********/
.carousel {
  width: 450px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  height: 650px;
}
.carousel-area {
  /* リスト数×リスト幅を計算してwidth指定してもいいが、汎用性を考慮してjQueryで計算代入する */
  height: 100%;
  position: absolute;
  display: flex;
}
/* object-fitを使用せずに画像トリミングさせるためにbackgroundで指定 */
.carousel-list {
  width: 350px;
  margin:0 50px;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 640px) {
  .carousel {
    width: 350px;
    height: 520px;
  }
  .carousel-list {
    width: 250px;
    height: 520px;
  }
  .instagram-media{
    width:250px !important;
    max-width: 100% !important;
    min-width: initial !important;
  }

}
.carousel-list:nth-child(1) {
  /*background-image: url(./img/hamster.jpg);*/
}
.carousel-list:nth-child(2) {
  /*background-image: url(./img/sheep.jpg);*/
}
.carousel-list:nth-child(3) {
  /*background-image: url(./img/turtle.jpg);*/
}

/* clipで非表示指定（スクリーンリーダー対策） */
/*.carousel-img {
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
}*/

/*********** スライド送りボタン ***********/
/* 共有パーツ */
.arow-wrap {
  width: 99%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrow-btn {
  width: 45px;
  height: 45px;
  background-color: rgb(255 175 197);
  border-radius: 50%;
  transition: .2s;
}
.arrow-btn:focus {
  box-shadow: 0px 1px 10px -2px rgba(0, 0, 0, 0.8);
}
.arrow-btn:hover {
  background-color: rgb(255 68 119);
  box-shadow: 0px 1px 10px -2px rgba(0, 0, 0, 0.8);
}
/* 左 */
.arrow-left {
  position: relative
}
.arrow-left:before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fefefe;
  border-left: 2px solid #fefefe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%)rotate(-45deg);
}
/* 右 */
.arrow-right {
  position: relative
}
.arrow-right:before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fefefe;
  border-left: 2px solid #fefefe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70%, -50%)rotate(135deg);
}
@media screen and (max-width: 600px) {
  .arrow-btn {
    width: 30px;
    height: 30px;
  }
}
/*********** ページネーション ***********/
.pagination {
  width: 150px;
  margin: 1% auto 0;
  display: flex;
  justify-content: space-around;
}
.pagination-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(94 94 94 / 25%);
}
/* jsでtargetクラスがついたら背景色を変える */
.pagination-circle.target {
  background-color: rgb(94 94 94 / 80%);
}