@charset "UTF-8";
/* CSS Document */
/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position:relative;
      z-index: 1;
      /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
      height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  }
  /*　背景画像設定　*/
  
  .slider-item01 {
      background:url(../images/home/firstview_1.jpg);
  }
  
  .slider-item02 {
      background:url(../images/home/firstview_2.jpg);
  }
  
  .slider-item03 {
      background:url(../images/home/firstview_3.jpg);
  }
  .slider-item04 {
    background:url(../images/home/firstview_4.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: 50%;
      cursor: pointer;/*マウスカーソルを指マークに*/
      outline: none;/*クリックをしたら出てくる枠線を消す*/
      border-top: 1px solid #fff;/*矢印の色*/
      border-right: 1px solid #fff;/*矢印の色*/
      height: 20px;
      width: 20px;
  }
  
  .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:-40px 0 0 0;/*ドットの位置*/
}

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

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

.slick-dots .slick-active button{
    background:#999;/*ドットボタンの現在地表示の色*/
}  .slick-dots {
      position: relative;
      z-index: 3;
      text-align:center;
      margin:-40px 0 0 0;/*ドットの位置*/
  }

  
  
  /*========= レイアウトのためのCSS ===============*/
ul{
    margin:0;
    padding: 0;
    list-style: none;
  }
  
  a:hover,
  a:active{
    text-decoration: none;
  }
  
  .slider-container h2 {
    position: absolute;
    z-index: 2;
    top: 60%;
    left: 23%;
    font-size:clamp(20px, 2.6vw, 36px);
    line-height: 5rem;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-align: center;
    text-indent: -8em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
  }
  .main-nav {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    color: #fff;
  }


  @media(max-width:1024px) {
    .slider-container h2 {
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        line-height: 3.5rem;
    }
  }
