/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position: relative;
    margin: auto;
    z-index: 1;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    width: 1000px;
    height: 500px;
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    padding: 0;
    text-align: center;
    justify-content: center;
}

/*　背景画像設定　*/

.slider-item01 {
    background: url(../img/img_01.jpg);
}

.slider-item02 {
    background: url(../img/img_02.jpg);
}

.slider-item03 {
    background: url(../img/img_01.jpg);
}


.slider-item {
    width: 100%;
    /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 520px;
    /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;
    /*背景画像をリピートしない*/
    background-position: center;
    /*背景画像の位置を中央に*/
    background-size: cover;
    /*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

.slick-prev,
.slick-next {
    position: absolute;
    z-index: 3;
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid transparent;
    /*矢印の色*/
    border-right: 2px solid transparent;
    /*矢印の色*/
    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: -50px 0 0 0;
    /*ドットの位置*/
    display: none;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: transparent;
    /*ドットボタンの色*/
    display: none;
}

.slick-dots .slick-active button {
    background: transparent;
    /*ドットボタンの現在地表示の色*/
}

/*1024pxモバイル*/
@media screen and (max-width:1024px) {

    /*========= slid arrow ===============*/
    .slider {
        width: 700px;
        margin-top: 50px;
    }

    .slider-item {
        height: 400px;
    }
}

/*480pxモバイル*/
@media screen and (max-width:480px) {

    /*========= slid arrow ===============*/
    .slider {
        height: 157px;
        width: 350px;
    }

    .slider-item {
        height: 200px;
    }
}
