/* ベースCSS・リセットCSS */
* {
  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;
}
body {
//  overflow: hidden;
}

.demo-title {
  font-size: 24px;
  margin-bottom: 1em;
  padding: 1em 0;
  text-align: center;
  color: #fefefe;
  background-color: #1f5491;
}
/*********** ここまでベースCSS・リセットCSS ***********/
.congratulations{
	width:100%;
	height: calc(500px * 0.5625);
	position:absolute;
	z-index:1;
	padding:0;
  background-position: cover;
  background-position: center;
  background-repeat: no-repeat;
  	border:0;
}
.carousel {
  width: 600px;
  height: calc(600px * 0.5625);
  position: relative;
  margin: 0 auto;
}
.carousel-area {
  /* リスト数×リスト幅を計算してwidth指定してもいいが、汎用性を考慮してjQueryで計算代入する */
  height: 100%;
  position: absolute;
  display: flex;
  z-index:600;
}
/* object-fitを使用せずに画像トリミングさせるためにbackgroundで指定 */
.carousel-list {
  width: 600px;
  height: 100%;
  margin-right: 30px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 600px) {

	.carousel {
	width: 400px;
	height: calc(400px * 0.75);
	}
	.carousel-list {
	width: 400px;
	height: calc(400px * 0.75);
	margin-right: 0;
	}
	.congratulations{
		text-align:center;
		width:100%;
		height: calc(400px * 0.75);
		position:absolute;
		z-index:1;
	  	background-position: cover;
	  	background-position: center;
	  	background-repeat: no-repeat;
	  	border:0;
	}
	.congramsg{
		width:100%;
		text-align:center;
		display:none;
	}
}
.carousel-list:nth-child(1) {
 background-image: url(../../common/img/prize_image_01.png);
}
.carousel-list:nth-child(2) {
 background-image: url(../../common/img/prize_image_02.png);
}
.carousel-list:nth-child(3) {
 background-image: url(../../common/img/prize_image_03.png);
}
.carousel-list:nth-child(4) {
 background-image: url(../../common/img/prize_image_04.png);
}
.carousel-list:nth-child(5) {
 background-image: url(../../common/img/prize_image_05.png);
}
.carousel-list:nth-child(6) {
 background-image: url(../../common/img/prize_image_06.png);
}
.carousel-list:nth-child(7) {
 background-image: url(../../common/img/prize_image_07.png);
}
.carousel-list:nth-child(8) {
 background-image: url(../../common/img/prize_image_08.png);
}
.carousel-list:nth-child(9) {
 background-image: url(../../common/img/prize_image_09.png);
}
.carousel-list:nth-child(10) {
 background-image: url(../../common/img/prize_image_10.png);
}
.carousel-list:nth-child(11) {
 background-image: url(../../common/img/prize_image_11.png);
}
.carousel-list:nth-child(12) {
 background-image: url(../../common/img/prize_image_12.png);
}
/* 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: 90%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrow-btn {
  width: 48px;
  height: 48px;
  background-color: rgba(31, 84, 145, 0.804);
  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(51, 79, 216);
  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: 5% auto 0;
  display: flex;
  justify-content: space-around;
}
.pagination-circle {
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  border-radius: 50%;
  background-color: rgba(31, 84, 145, 0.471);
}
/* jsでtargetクラスがついたら背景色を変える */
.pagination-circle.target {
  background-color: rgba(31, 84, 145, 0.804);
}

}
