@charset "utf-8";

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 80vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(https://sorcreation.com/wp-content/uploads/2024/06/heropic1.png);
}

.slider-item02 {
    background:url(https://sorcreation.com/wp-content/uploads/2024/06/heropic2.png);
}

.slider-item03 {
    background:url(https://sorcreation.com/wp-content/uploads/2024/06/heropic3.png);
}

.slider-item04 {
    background:url(https://sorcreation.com/wp-content/uploads/2024/06/heropic4.png);
}

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


/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    display:none;
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: absolute;
  z-index: 3;
    text-align:center;
  margin:-50vh 0 0 -7vw;
}

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

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

.slick-dots .slick-active button {
    background: #806A6A;

}

ul{
  margin:0 0 0 10%;
  padding: 0;
  list-style: none;
}


/*==================================================
モーダルのためのcss
===================================*/
/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.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;
}

/*以下はコンテンツ内のレイアウト*/
.gallery-list{
  display: flex;
}

.info-list dt{
  margin:0 10px 0 0;
}

.gallery-list li{
  margin:0 10px 0 0;
}

p,ul{
  margin-top:20px;  
}

section:nth-child(2n){
  background:#f3f3f3; 
}

img{
  max-width: 100%;
  height: auto;
}





/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

#header{
    /*fixedで上部固定*/
	position: fixed;
    z-index: 999;/*最前面へ*/
}

/*　上に上がる動き　*/

#header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

