@media (min-width: 735px) {

  #top.open > #top-p {
    opacity: 1;
  }



/* ワークス */

.works-title {
  width: 80%;
  font-size: 116px;
  line-height: 116px;
  letter-spacing: -1px;
  margin: 8% auto 3% auto;
}

  .works1 {
    margin: 2% 0% 0 0%;
  }

  .work-num {
    width: 33%;
  }

  .work-info {
    height: 70px;
    padding: 4px 0 0 0;
  }

  .work-t {
    font-size: 50px;
    line-height: 70px;
    /* margin: 0.8% 3% 0 2%; */
  }

  .work-d {
    font-size: 30px;
    line-height: 70px;
  }

  p.work-m  {
    font-size: 16px;
    line-height: 70px;
    letter-spacing: 5px;
    font-weight: 400;
  }


  .more-works {
    font-size: 25px;
    letter-spacing: 0.3em;
    border: 3px solid #fff;
  }

  #back-to-top {
    width: 300px;
    margin: 10% auto 10% auto;
    font-size: 25px;
  }


  footer {
    height: 150px;
  }

  footer img {
    width: 300px;
    margin: 30px 0 15px 0;
  }

  small {
    letter-spacing: 1.5px;
    font-size: 16px;
  }


}






@media (min-width: 1068px) {

  .works-title {
    width: 88%;
    /* flex: 1; */
    font-size: 96px;
    line-height: 96px;
    letter-spacing: -1px;
    margin: 5% auto 3% auto;
    text-align: left;
  }

  .bg-black {
    overflow: hidden;
  }

  #before, #next {
    display: block;
  }

.works1 {
  width: 88%;
  margin: 1% auto 0 auto;
  padding: 0;
  text-align: center;
  max-width: 1200px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.work-c {
  width: auto;
  flex: 0 0 31.8%;
  height: auto;
  /* max-width: 960px; */
  /* height: 500px; */
  margin: 5% 2% 5% 0%;
  padding: 0 0% 0 0;
  overflow: hidden;
  /* box-sizing: border-box; */
  /* transform: translateX(-100%); */
  transition: 0.5s;
}

/* .work-c:last-child {
  margin: 5% 0 5% 0;
} */

.work-img {
  width: 28vw;
  height: 28vw;
}

.work-img > a > img {
  width: 100%;
  /* max-width: 600px; */
  height: 100%;
  /* max-height: 337.5px; */
  /* width: 100%;
  height: auto; */
  /* width: 100%;
  height: auto;
  object-fit: cover;
  transition: 0.3s; */
}

.work-num {
  width: 48%;
  position: absolute;
  bottom: 0;
  left: 52%;
  /* margin: 0 0 0 auto; */
  filter: brightness(100%);
  z-index: 0;
}

/* .work-num > p {
  font-size: 1.2vw;
  line-height: 2.5vw;
  letter-spacing: 1px;
  font-family: 'Orbitron', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  display: inline-block;
} */

.work-info {
  width: 100%;
  height: 60px;
  /* margin: 2% 2% 0 2%; */
  transition: 0.3s;
  order: 1;
  /* align-self: flex-end; */
}

.work-info > a {
  position: absolute;
  top: 3px;
  left: 0.5%;
  right: 0;
  bottom: -3px;
  /* padding: 0 3%; */
  justify-content: space-around;
}

.work-info p {
  position: relative;
  z-index: 1;
}


.work-info:hover::before{
  width: 150%;
  left: -25%;
}

.work-info::after {
  width: 100%;
  bottom: 0;
}

.work-t {
  font-size: 38px;
  line-height: 60px;
  margin: 0% 0% 0 0%;
  text-align: center;
  flex: 0.5 1 auto;
}

.work-d {
  line-height: 60px;
  font-size: 20px;
  flex: 1 1 auto;
  text-align: center;
  /* margin: 1% 0 0 0; */
}

p.work-m {
  line-height: 60px;
  flex: 1 1 auto;
  font-size: 14px;
  letter-spacing: 3px;
  text-align: right;
  color: #585858;
}

.works2 > .work-c {
  margin: 4.7% auto 0 auto;
}



.more-works {
  width: 80%;
  max-width: 960px;
  height: 90px;
  line-height: 90px;
  margin: 8% auto 8% auto;
  font-size: 22px;
}

#back-to-top {
  font-size: 22px;
}




}




@media (min-width:1200px) {




  .work-t {
    font-size: 45px;
    line-height: 60px;
    /* margin: 0.8% 3% 0 2%; */
  }

  .work-d {
    line-height: 60px;
    font-size: 23px;
    /* margin: 1% 0 0 0; */
  }

  p.work-m {
    line-height: 60px;
    flex: 1;
    font-size: 14px;
    letter-spacing: 3px;
    text-align: right;
    color: #585858;
  }

}
