@charset "utf-8";

.slider {
  position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/* 背景画像設定 */
.slider-item01 {
  background:url(../images/photo1.jpg);
/*  background:url(https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/6-1-2/img/img_01.jpg); */
}

.slider-item02 {
  background:url(../images/photo2.jpg);
/*  background:url(https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/6-1-2/img/img_02.jpg); */
}

.slider-item03 {
  background:url(../images/photo3.jpg);
/*  background:url(https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/6-1-2/img/img_03.jpg); */
}

.slider-item04 {
  background:url(../images/photo4.jpg);
/*  background:url(https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/6-1-2/img/img_04.jpg); */
}

.slider-item05 {
  background:url(../images/photo5.jpg);
/*  background:url(https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/6-1-2/img/img_05.jpg); */
}

.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: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #fff;/*矢印の色*/
  border-right: 2px solid #fff;/*矢印の色*/
  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;/*ドットの位置*/
}

.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:#fff;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}

/*========= レイアウトのためのCSS ===============*/
ul {
  margin:0;
  padding: 0;
  list-style: none;
}

a {
  color: #fff;
}

a:hover,
a:active{
  text-decoration: none;
}

h1 {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size:6vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.wrapper {
  position: relative;
}

.container {
  background:#e7ddd2
/*  background:#fff; */
}

.container p {
  padding: 300px 0; 
  text-align: center;
  color: #fff;
}

/*
.slider {
  width: 300px;
  height: 200px;
  overflow: hidden;
  margin: 0 auto;
}

.slider-item {
  width: 300px;
  float: left;
}

img{
  width:100%;
}

.slider-inner {
  width: 300%;
  animation: slider 10s infinite ease;
}

@keyframes slider {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-300px);
  }
  66% {
    transform: translateX(-600px);
  }
  100% {
    transform: translateX(0);
  }
}
*/

.slide {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  28% {
    opacity: 1
  }
  38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 20s linear infinite;
}

.slide img:nth-child(2) {
  animation-delay: 8s;
}

.slide img:last-child {
  animation-delay: 16s;
}

/*========= モーダル表示のためのCSS ===============*/

/*infoエリアをはじめは非表示*/
#info{
  display: none;
}

/*モーダルの横幅を変更したい場合*/
.modaal-container{
    max-width: 600px;
}

/*モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
  background:#ccc;  
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background:#666;
}


/*========= レイアウトのためのCSS ===============*/

header {
  background: #333;
}

h1 {
  font-size:1.5rem;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
  color: #fff;
}

h2 {
  font-size:1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}

p,ul {
  margin-top:20px;  
}

ul {
  list-style: none;
}

a {
  color:#333;
    outline: none;
}

small {
  background:#333;
  color:#fff;
  display: block;
  text-align: center;
  padding:20px;
}

section {
  padding:30px;
}

section:nth-child(2n) {
  background:#f3f3f3; 
}

img {
  max-width: 100%;
  height: auto;
}
