@charset "utf-8";

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


/*　背景画像設定*/
.slider-item01 {
    background:url("../images/top-slide-104.jpeg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item02 {
    background:url("../images/top-slide-105.jpeg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item03 {
    background:url("../images/top-slide-101.jpeg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
.slider-item04 {
    background:url("../images/top-slide-100.jpeg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
.slider-item05 {
    background:url("../images/top-slide-103.jpeg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}



.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 70vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	position: relative;
}
/*
.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: 55vh;
	}
	
	.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 53vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: top;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
		display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
}
}

/*矢印の設定*/

.slick-prev, 
.slick-next {
    position: absolute;
	z-index: 3;
    top: 42%;
    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-item .slider-text {
	bottom: 0;
	position: absolute;
	width: 75%;
	left: 0;
	top: 45%;
	height: 120px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background: linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.0));
}
.slider-item  .slider-text p {
	color: #ffffff;
	letter-spacing: 0.15em;
	z-index: 5;
	font-family: "MS Serif", "New York", "serif";
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin: 0;
}
/*----- スマホサイズ small -----*/
@media screen and (min-width: 320px) and (max-width:575.98px)  {
	.slider-item .slider-text {
		width: 100%;
	}
	.slider-item01 p,.slider-item02 p {
		font-size: 20px;
		padding: 0.25em 0.25em 0.25em 0.5em;
		width: 100%;
	}
	.slider-item03 p,.slider-item04 p,.slider-item05 p {
		font-size: 20px;
		padding: 0.25em 0.25em 0.25em 0.5em;
		width: 100%;
	}
}
/*----- スマホサイズ large -----*/
@media screen and (min-width: 576px) and (max-width:767.98px)  {
	.slider-item .slider-text {
		width: 90%;
	}
	.slider-item01 p,.slider-item02 p {
		font-size: 24px;
		padding: 0.5em 0.5em 0.5em 1em;
		width: 100%;
	}
	.slider-item03 p,.slider-item04 p,.slider-item05 p {
		font-size: 24px;
		padding: 0.5em 0.5em 0.5em 1em;
		width: 100%;
	}
}
/*----- tabletサイズ -----*/
@media screen and (min-width: 768px) and (max-width:991.98px){
	.slider-item .slider-text {
		width: 90%;
	}
	.slider-item01 p,.slider-item02 p {
		font-size: 26px;
		padding: 0.5em 0.5em 0.5em 1.5em;
		width: 100%;
	}
	.slider-item03 p,.slider-item04 p,.slider-item05 p {
		font-size: 26px;
		padding: 0.5em 0.5em 0.5em 1.5em;
		width: 100%;
	}
	
}
/*----- PCサイズ -----*/
@media screen and (min-width: 992px) and (max-width:1399.98px){
	.slider-item .slider-text {
		width: 90%
	}
	.slider-item01 p,.slider-item02 p {
		font-size: 28px;
		padding: 0.75em 0.5em 0.75em 1.5em;
		width: 100%;
	}
	.slider-item03 p,.slider-item04 p,.slider-item05 p {
		font-size: 28px;
		padding: 0.75em 0.5em 0.75em 1.5em;
		width: 100%;
	}
}
/*----- 最大サイズ -----*/
@media screen and (min-width: 1400px) {
	.slider-item01 p,.slider-item02 p {
		font-size: 32px;
		padding: 20px 20px 20px 80px;
		width: 100%;
	}
	.slider-item03 p,.slider-item04 p,.slider-item05 p {
		font-size: 32px;
		padding: 20px 20px 20px 80px;
		width: 100%;
	}
}
