/*==================================================
スライダーのためのcss
===================================*/
.slider {
   position: relative;
    z-index: 1;
    height: 454px;
    padding: 0;
    margin: 0;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/slider-item01.webp);
}

.slider-item02 {
    background:url(../img/slider-item02.webp);
}

.slider-item03 {
    background:url(../img/slider-item03.webp);
}

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

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    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:16px;/*ドットボタンのサイズ*/
    height:16px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#808080;/*ドットボタンの色*/
}

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

#g-nav{
 
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 10;
    /*ナビのスタート位置と形状*/
    top:-100%;
    left:0;
    width:100%;
    height: 80vh;/*ナビの高さ*/
    background:#F8F8F8;
    /*動き*/
    transition: all 1s;
    margin-left: auto;
    margin-right: auto;
   
 
 }
  
 
 /*アクティブクラスがついたら位置を0に*/
 #g-nav.panelactive{
     top: 0px;
 }
 
 
 
 
 /*ナビゲーションの縦スクロール*/
 #g-nav.panelactive #g-nav-list{
     /*ナビの数が増えた場合縦スクロール*/
     position: fixed;
     z-index: 9999; 
     width: 100%;
     height: 100vh;/*表示する高さ*/
     overflow: auto;
     -webkit-overflow-scrolling: touch;
     
 }
 
 
 /*ナビゲーション*/
 #g-nav ul {
     /*ナビゲーション天地中央揃え*/
     position: absolute;
     z-index: 99999;
     top: 30%;
     left: 50%;
     transform: translate(-50%,-50%);
     margin: auto;
     text-align: left;
     width: 100%;
 
 }
 
 /*リストのレイアウト設定*/
 
 #g-nav li{
     list-style: none;
     text-align: left; 
     border-bottom: 1px solid #D5D5D5;
     padding-left: 20px;
  
     
    
 }
 
 #g-nav li a{
     color: #3B3B3B;
     text-decoration: none;
     padding: 10px;
     display: block;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     font-weight: bold;
     font-family:yu-gothic-pr6n, sans-serif ;
     text-decoration: none;
 
 
     
     
 
 
 }
 
 #g-nav li .img{
     width:  30px;
     height: 30px;
     margin-top: 10px;
     background-image: url("../img/sp_arrow.svg");
     background-repeat: no-repeat;
      float: right;
      margin-right: 5%;
     }
 
 
 /*========= ボタン ===============*/
 .openbtn{
     position:absolute;
     z-index: 9999;/*ボタンを最前面に*/
     top: 8px;
     right: 0px;
     cursor: pointer;
     width: 38px;
     height:38px;
     background-color:#4795cc;
     border-radius: 5px;
     margin-right: 2%;
   

 
 
 }
     
 /*×に変化*/	
 .openbtn span{
     display: inline-block;
     transition: all .4s;
     position: absolute;
     left: 10px;
     height: 3px;
     border-radius: 2px;
     background-color: #fff;
       width: 50%;
 
   }
 
 .openbtn span:nth-of-type(1) {
     top: 12px;	
 }
 
 .openbtn span:nth-of-type(2) {
     top: 18px;
 }
 
 .openbtn span:nth-of-type(3) {
     top:25px;
 }
 
 .openbtn.active span:nth-of-type(1) {
     top: 14px;
     left: 11px;
     transform: translateY(6px) rotate(-45deg);
     width: 45%;
 }
 
 .openbtn.active span:nth-of-type(2) {
     opacity: 0;
 }
 
 .openbtn.active span:nth-of-type(3){
     top: 26px;
     left: 11px;
     transform: translateY(-6px) rotate(45deg);
     width: 45%;
 }


 @media screen and (max-width:960px) {

 .slider {
    position: relative;
     z-index: 1;
     height: 454px;
     padding: 0;
     margin: 0;
     margin-top: 105px;
 }
 /*　背景画像設定　*/
 }


@media screen and (max-width:768px) {
    .slider-item01 {
        background:url(../img/slider-item01_sp.webp);
    }
    
    .slider-item02 {
        background:url(../img/slider-item02_sp.webp);
    }
    
    .slider-item03 {
        background:url(../img/slider-item03_sp.webp);
    }

    .slider-item {
        width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
        height:500px;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
        background-repeat: no-repeat;/*背景画像をリピートしない*/
        background-position: center;/*背景画像の位置を中央に*/
        background-size: auto;/*背景画像が.slider-item全体を覆い表示*/
        background-size: contain;
    }
    
    .slider {
        position: relative;
         z-index: 1;
         height: 454px;
         padding: 0;
         margin: 0;

     }
     /*　背景画像設定　*/
     
     .slick-dots {
        position: relative;
        z-index: 3;
        text-align: center;
        margin: -50px 0 0 0;
        padding: 0;
    }
    }

     



/*== ヘッダー追従のためのCSS */
#header{
    position: fixed;/*追従ナビのためpositionをfixedにする*/
    top:0;/*ポジション設定topを0*/
    left:0;
    height: 70px;/*headerの高さを指定*/
    width:100%;/*position:fixed;にしたため、横幅100%を設定*/
 text-align: center;
    z-index: 999;
    }
    /*検証のためのCSS*/
    section{
    padding: 500px 0;
    }
    
    #page-link{
    padding-top: 100px;
    }

    