@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("../image/main1.jpg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item02 {
    background:url("../image/main2.jpg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item03 {
    background:url("../image/main3.jpg");
	background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
.slider-item04 {
    background:url("../image/main4.jpg");
	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: 45vh;
	}
	
	.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 45vh;/*各スライダー全体の縦幅を画面の高さいっぱい（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 {
	position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 480px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
	width: 100%;
    font-size: x-large;
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: white;
    line-height: 50px;
    font-weight: lighter;
	font-family: "Zen Old Mincho", serif;
}
.slider-item  .slider-text p {
	color: #ffffff;
	letter-spacing: 0.15em;
	z-index: 5;
	margin: 0;
}
/*----- スマホサイズ small -----*/
@media screen and (min-width: 320px) and (max-width:575.98px)  {
.slider-item .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 480px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: large;
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: white;
    line-height: 35px;
    font-weight: lighter;
    font-family: "Zen Old Mincho", serif;
}
	.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%;
	}
	
	a.text-decoration-none img {
    height: 40px;
}
}
/*----- スマホサイズ large -----*/
@media screen and (min-width: 576px) and (max-width:767.98px)  {
.slider-item .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 480px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: large;
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: white;
    line-height: 35px;
    font-weight: lighter;
    font-family: "Zen Old Mincho", serif;
}
	.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%;
	}
	
	a.text-decoration-none img {
    height: 50px;
}
}
/*----- tabletサイズ -----*/
@media screen and (min-width: 768px) and (max-width:991.98px){
.slider-item .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 480px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: large;
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: white;
    line-height: 35px;
    font-weight: lighter;
    font-family: "Zen Old Mincho", serif;
}
	.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%;
	}
	
	a.text-decoration-none img {
        height: auto;
}
	
}
/*----- PCサイズ -----*/
@media screen and (min-width: 992px) and (max-width:1399.98px){

	.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%;
	}
	
	a.text-decoration-none img {
        height: auto;
}
}
/*----- 最大サイズ -----*/
@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%;
	}
	
	a.text-decoration-none img {
        height: auto;
}
}


/*========= レイアウトのためのCSS ===============*/




#slider ul{
  display: none;
}

#slider a{
  color: #333;
}

#slider a:hover,
#slider a:active{
  text-decoration: none;
}





/*==================================================

トップページのworkで使用

===================================*/
#slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:94%;
    margin:0 auto;
}

#slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

#slider .slick-slide {
    margin:0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:10px;/*ドットボタンのサイズ*/
    height:6px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:0;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#c2baa3;/*ドットボタンの現在地表示の色*/
}

.worktitle {
    text-align: justify;
    font-weight: 500;
}

.worktext {
    text-align: left;
    font-weight: normal;
}
