/*==================================================
スライダーのためのcss
===================================*/
#index_top {
  position: relative;
  /* margin: 0 0 100px 0; */
}

@media screen and (max-width: 1000px) {
  #index_top {
    margin-top: 108px;
  }
}

@media screen and (max-width: 768px) {
  #index_top {
    margin-top: 108px !important;
    margin: 0 0 20px;
  }
}

@media screen and (max-width: 720px) {
  #index_top {
    margin-top: 108px;
  }
}

@media screen and (max-width: 480px) {
  #index_top {
    margin-top: 108px;
  }
}

@media screen and (max-width: 320px) {
  #index_top {
    margin-top: 108px;
  }
}

#index_top .main_copy {
  position: absolute;
  left: 44%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  z-index: 65;
  /*文字の装飾*/
  max-width: 80%;
  width: 1000px;
  /* margin-top: 65px; */
  /* padding-bottom: 30px; */
  height: 250px;
}
@media screen and (max-width: 1000px) {
  #index_top .main_copy {
    top: 200px;
  }
}
@media screen and (max-width: 768px) {
  #index_top .main_copy {
    top: 132px;
  }
  #index_top .main_copy {
    position: absolute;
    left: 49%;
  }
}
@media screen and (max-width: 480px) {
  #index_top .main_copy {
    max-width: 90%;
  }
}
@media screen and (max-width: 320px) {
  #index_top .main_copy {
    top: 165px;
  }
}

/* @media screen and (max-width: 768px) { */
#index_top .main_copy img {
  width: 100%;
}
/* } */

.main_slider {
  position: relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  /* height: 100vh; */
  height: 88vh;
  /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  height: 470px !important;
}

@media screen and (max-width: 768px) {
  .main_slider {
    /*height: 58vh !important;*/
    height: 380px !important;
  }
}
@media screen and (max-width: 320px) {
  .main_slider {
    height: 290px !important;
  }
}


/*　背景画像設定　*/
.slider-item01 {
  background: url(/images/index/topimage01.jpg);
}

.slider-item02 {
  background: url(/images/index/topimage02.jpg);
}

.slider-item03 {
  background: url(/images/index/topimage03.jpg);
}

.slider-item04 {
  background: url(/images/index/topimage04.jpg);
}

.slider-item05 {
  background: url(/images/index/topimage05.jpg);
}

.slider-item {
  width: 100%; /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  /*height: 100vh; */
  /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  /* height: 88vh; */
  /* height: 632px !important; */
  height: 100%;
  background-repeat: no-repeat; /*背景画像をリピートしない*/
  background-position: center; /*背景画像の位置を中央に*/
  background-size: cover; /*背景画像が.slider-item全体を覆い表示*/
}

/* @media screen and (max-width: 768px) {
  .slider-item {
    height: 100%;
  }
} */

/* ～320px */
@media screen and (max-width: 320px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_320.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_320.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_320.jpg);
  }
}

/* 321px～428px */
@media screen and (min-width: 321px) and (max-width: 428px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_428.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_428.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_428.jpg);
  }
}

/* 429px～480px */
@media screen and (min-width: 429px) and (max-width: 480px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_480.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_480.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_480.jpg);
  }
}

/* 481px～768px */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_768.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_768.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_768.jpg);
  }
}

/* 769px～1070px */
@media screen and (min-width: 769px) and (max-width: 1070px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_1070.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_1070.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_1070.jpg);
  }
}
/* 1600px～*/
@media screen and (min-width: 1600px) {
  .slider-item01 {
    background-image: url(/images/index/topimage01_1920.jpg);
  }
  .slider-item03 {
    background-image: url(/images/index/topimage03_1920.jpg);
  }
  .slider-item04 {
    background-image: url(/images/index/topimage04_1920.jpg);
  }
}

/*矢印の設定*/

.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;
}

@media screen and (max-width: 768px) {
  .slick-prev,
  .slick-next {
    top: 62%;
    height: 12px;
    width: 12px;
  }
}

.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; /*ドットの位置*/
}

@media screen and (max-width: 640px) {
  .slick-dots {
    margin: -35px 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: #c4c4c4; /*ドットボタンの色*/
  padding: 6px;
  margin: 5px;
}

@media screen and (max-width: 640px) {
  .slick-dots button {
    padding: 3px;
  }
}

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

#slide_space {
  background: #e9eadf;
  padding: 1% 0;
  margin-bottom: 75px;
}

.construction_slider {
  margin: 0 auto;
  /* width: 80%; */
}

.construction_slider img {
  height: auto;
  width: 100%;
}

.construction_slider li {
  float: left;
  list-style: none;
  position: relative;
  width: 280px;
  margin-right: 4px;
}

.construction_slider li span {
  color: #484848;
  display: block;
  font-size: 0.75em;
  padding: 10px 0;
  text-align: center;
  white-space: nowrap;
}

.construction_slider li span > .br_sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .construction_slider li span > .br_sp {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .construction_slider > .slick-prev,
  .construction_slider > .slick-next {
    display: none;
  }
}
