@charset "utf-8";

html {
  touch-action: manipulation;
}
body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}
.header{
  width: 100%;
  height: auto;
  background-position: center;
  background-size: cover;
  background-color: rgb(255, 255, 255, 0.8);
}
nav{
  width: 100%;
  padding-top: 20px;
  text-align: center;
}
.logo{
  width: 200px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 1000;
}
.logo a{
  text-decoration: none;
  color: black;
}
nav ul{
  background: rgb(0, 0, 0, 0.8);
  height: auto;
  width: 100%;
  padding-left: 0%;
}
nav ul li{
  display: inline-block;
  list-style: none;
  margin: none;
}
nav ul li a{
  text-decoration: none;
  color: white;
}
.contents{
  margin-top: -16px;
  padding-bottom: 100px;
  text-align: center;
  background-color: rgb(255, 255, 255, 0.8);
}
.contents img{
  width: 80%;
  height: auto;
  pointer-events: auto;
}
.ichiran img{
  height: auto;
  pointer-events: auto;
}
.gallery img{
  height: auto;
  pointer-events: auto;
}
.Hasarius_adansoni img{
  width: 64px;
  height: 47px;
  pointer-events: all;
  cursor: pointer;
  cursor: grab;
}
.Nephila_pilipes_nest img{
  width: 3750px;
  height: auto;
  pointer-events: none;
}
footer{
  background-color: rgb(255, 255, 255, 0.9);
  list-style: none;
  height: auto;
}
footer ul{
  list-style: none;
  display: flex;
  width: 100%;
}
footer li{
  width: 100%;
  text-align: center;
  color: rgb(0, 0, 0);
  border-right: solid 0px white;
}
footer a{
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 1rem;
}

/* メディアクエリサンプル */
@media screen and (min-width: 481px){
  /*PC用スタイル*/
  body:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url("../image/background_img_pc.JPG") center no-repeat;
    background-size: cover;
  }
  .contents{
    min-height: 1000px;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
  }
  .text{
    padding-left: 150px;
    padding-right: 50px;
    text-align: left;
  }
  .contents h1{
    font-size: 1.5rem;
    padding-top: 50px;
  }
  nav ul li{
    padding: 20px;
  }
  .topimg img{
    padding-top: 40px;
    pointer-events: none;
  }
  .ichiran img{
    width: 20%;
    padding-top: 0px;
  }
  .gallery img{
    width: 40%;
    padding-top: 0px;
  }
  footer{
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
  }
}

@media screen and (max-width: 480px){
  /*スマホ用スタイル*/
  body:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url("../image/background_img_mobile.JPG") center no-repeat;
    background-size: cover;
  }
  .contents{
    min-height: 550px;
    width: none;
    margin-left: none;
    margin-right: none;
  }
  .text{
    text-align: left;
    padding-left: 10px;
  }
  .contents h1{
    font-size: 1rem;
    padding-top: 30px;
  }
  nav ul li{
    padding: 6px;
  }
  nav ul li a{
    font-size: 0.6rem;
  }
  .topimg img{
    padding-top: 30px;
    pointer-events: none;
  }
  .ichiran img{
    width: 40%;
    padding-top: 0px;
  }
  .gallery img{
    width: 80%;
    padding-top: 0px;
  }
  footer{
    width: none;
    margin-left: none;
    margin-right: none;
  }
}