/*==================================================
スライダーのためのcss
===================================*/
.slider {
  position:relative;
z-index: 1;
/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
max-height: 600px;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
  background:url(../img/slider01.png);
}

.slider-item02 {
  background:url(../img/slider02.png);
}

.slider-item03 {
  background:url(../img/slider03.png);
}

.slider-item {
    height: 550px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-position-y: -10px;
}
/*
    .slider-item {
      width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
/*      height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
/*      background-repeat: no-repeat;/*背景画像をリピートしない*/
/*      background-position: center;/*背景画像の位置を中央に*/
/*      background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
/*    }

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
  position: absolute;/*絶対配置にする*/
z-index: 3;
  top: 50%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #ccc;/*矢印の色*/
  border-right: 2px solid #ccc;/*矢印の色*/
  height: 25px;
  width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left:2.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right:2.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
position: relative;
z-index: 3;
  text-align:center;
  margin: -100px 0 0 0;
  display: none;
}

.slick-dots li {
  display:none;
margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}


/* タブレット用レイアウト(769px以下に適用)*/
@media screen and (max-width: 769px) {
.slider-item {
height: 550px;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: center;
}
  .slider-item01 {
    background:url(../img/slider01.png);
  }
  
  .slider-item02 {
    background:url(../img/slider02.png);
  }
  
  .slider-item03 {
    background:url(../img/slider03.png);
  }
.slider {
    position: relative;
    z-index: 1;
    height: auto;
}
.slick-prev{
  top: 20%;
}
.slick-next{
  top: 20%;
}
.slider-item {
height: 400px;
background-repeat: no-repeat;
background-size: 70%;
background-position: center;
}
}
/* スマホレイアウト(640px以下に適用)*/
@media screen and (max-width: 640px) {
  .slider {
    position: relative;
    z-index: 1;
    height: auto;
}
  .slick-prev{
    top: 40%;
  }
  .slick-next{
    top: 40%;
  }
  .slick-dots {
position: none;
z-index: 3;
  text-align:center;
  margin: -100px 0 0 0;
}
.slider-item {
height: 300px;
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
}
}