/* @import "reset.css"; */

body{
  margin: 0;
  background-color: white;
  font-family: serif;
  color: rgb(35, 35, 35);
  opacity: 0;
  transition: 1s;
}

a{
text-decoration: none;
color: black;
}

li{
  list-style: none;
}

#yohaku{
  float: left;
  width: 80vw;
  height: 100vh;
  background-color: rgb(131, 212, 167);
  background-color: white;
}

#canvas{
  width: 100%;
  height: 100%;
  display: block;
  transition: 0.25s;
}
#about_box{
  display: none;
  width: 80vw;
  height: 77vh;
  padding-top: 22vh;
  text-align: center;
  background-color: rgb(114, 138, 168);
  background-color: white;
  background-color: rgb(252,252,252);
  transition: .25s;
  opacity: 0;
}
#about_logo{
  font-family: Avenir;
  font-family: serif;
  font-size: 20px;
}
#about_sentense{
  padding-top: 6.5vh;
  font-size: 12.5px;
}
p{
  margin-bottom: 3vh;
}

#works_list{
  width: 80vw;
  height: auto;
  min-height: 100vh;
  display: inline-block;
  display: none;
  background-color: lightblue;
  background-color: white;
  /* background-color: rgb(252, 252, 252); */
  transition-duration: .4s;
  opacity: 0;
}
.item_list{
  padding: 8vh 13vw 0 12vw;
}
.work_item{
  width: 55vw;
  height: 26vh;
  /* height: 30vw; */
  position: relative;
  margin: 0 0 10vh 0;
  background-color: gray;
  background-color: black;
  background-color: white;
  display: inline-block;
}
.inner_title{
  width: 50%;
  width: auto;
  height: 50%;
  position: absolute;
  margin: auto auto auto 5vw;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  line-height: 13vh;
  /* line-height: 15vw; */
  font-size: 13.5px;
}


#social_box{
  display: none;
  width: 80vw;
  height: 100vh;
  text-align: center;
  background-color: yellow;
  background-color: white;
  background-color: rgb(252, 252, 252);
  transition-duration: .25s;
  opacity: 0;
}
#contact{
  padding-top: 40vh;
}
#sns{
  padding-top:5vh;
}



@media screen and (max-width: 768px) {
  body{
    display: block;
  }
  #yohaku{
    width: 100vw;
    height: 90vh;
  }

  #canvas{
    width: 100%;
    height: 100%;
    display: block;
  }

  #about_box{
    display: none;
    width: 100vw;
    height: 72vh;
    padding-top: 13vh;
    text-align: center;
    background-color: rgb(114, 138, 168);
    background-color: white;
    background-color: rgb(252,252,252);
    transition: .25s;
    opacity: 0;
  }
  #about_logo{
    font-family: Avenir;
    font-family: serif;
    font-size: 20px;
  }
  #about_sentense{
    width: 75%;
    margin: auto;
    padding-top: 5vh;
    font-size: 12.5px;
  }
  p{
    margin-bottom: 3vh;
  }


  #works_list{
    width: 100vw;
    transition-duration: .4s;
    opacity: 0;
    padding-bottom: 30px;
  }
  .item_list{
    padding: 0;
  }
  .work_item{
    width: 100vw;
    margin: 10vh 0 0 0;
    background-color: white;
  }
  .inner_title{
    width: 93vw;
    height: 50%;
    margin: auto auto auto 7vw;
  }

  #social_box{
    width: 100vw;
    height: 90vh;
  }
  #contact{
    padding-top: 35vh;
  }
  #sns{
    padding-top:5vh;
  }
}
