@charset "utf-8";

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 450px;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	width: 100%;
	/*overflow: hidden;*/
	padding-bottom: 50px;
}
.slick-slider {
	padding: 0!important;
	margin: 0!important;
}


/*　背景画像設定*/
.slider-item01 {
    background:url("../images/top-01.jpg");
}
.slider-item02 {
    background:url("../images/top-02.jpg");
}

.slider-item03 {
    background:url("../images/top-04.jpg");
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 350px;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
.slider-item::after {
	content: '';
	background-color: rgba(0,0,0,0.20);
	position: absolute;
	top: 0; right:  0; bottom: 0; left: 0;
	z-index: 4;
}
@media screen and (min-width:320px) and (max-width:767.98px) {
	.slider {
		position:relative;
	z-index: 1;
		height: 60vw;
	}
	
	.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 60vw;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: top;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
}

/*矢印の設定*/

.slick-prev, 
.slick-next {
    position: absolute;
	z-index: 3;
    top: 35%;
    cursor: pointer; /*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #eee;/*矢印の色*/
    border-right: 2px solid #eee;/*矢印の色*/
    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: 10;
    text-align:center;
	margin:10px 0 0 0;/*ドットの位置*/
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:30px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    /*border-radius:50%;*/
    background:#cccccc;/*ドットボタンの色*/
	border: none;
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

.top-tokucho {
	font-size: 12px;
	word-break: keep-all;
}

/*------------------------------------*/
/*--- スライダー  ------*/
/*------------------------------------*/
/*----- 共通 -----*/
.slider-item01 p , .slider-item02 p , .slider-item03 p {
	color: #ffffff;
	position: absolute;
	z-index: 5;
}

.slider-item01 p span { color:#ffffff; }
/*----- スマホサイズ small -----*/
@media screen and (min-width: 320px) and (max-width:575.98px)  {
	.slider-item01 p, .slider-item02 p, .slider-item03 p {
		top: 33%;
		left: 7%;
		font-size: 1.2em;
		padding: 0.25em;
	}
}
/*----- スマホサイズ large -----*/
@media screen and (min-width: 576px) and (max-width:767.98px)  {
	.slider-item01 p, .slider-item02 p, .slider-item03 p {
		top: 33%;
		left: 7%;
		font-size: 1.6em;
		padding: 0.25em 0.5em;
	}
	
}
/*----- tabletサイズ -----*/
@media screen and (min-width: 768px) and (max-width:991.98px){
	.slider-item01 p, .slider-item02 p, .slider-item03 p {
		top: 33%;
		left: 7%;
		font-size: 1.8em;
		padding: 0.5em 0.5em;
	}
	
}
/*----- PCサイズ -----*/
@media screen and (min-width: 992px) and (max-width:1399.98px){
	.slider-item01 p, .slider-item02 p, .slider-item03 p {
		top: 33%;
		left: 7%;
		font-size: 2em;
		padding: 0.75em 0.5em;
	}

}
/*----- 最大サイズ -----*/
@media screen and (min-width: 1400px) {
	.slider-item01 p, .slider-item02 p, .slider-item03 p {
		top: 33%;
		left: 5%;
		font-size: 2em;
		z-index: 5;
	}
}
