body {
  width: 100%;
  margin: 0;
  background: #D8D8D8;
}

a {
  text-decoration: none;
  color: #000;
}

/* メニュー */

#menu {
  width: 94%;
  max-width: 400px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 110px 0 0 50px;
  box-sizing: border-box;
  background: #000;
  z-index: 2;
  color: #fff;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  overflow: hidden;
  transform: translate(120%);
  transition: 0.3s;
  /* background-image: url(../img/ham-bg.svg);
  background-size: cover; */
  /* filter: brightness(150%); */
}

#menu.open {
  transform: translate(0);
}

#menu img {
  height: 90.5%;
  position: absolute;
  top: 0;
  right: -10vh;
  z-index: -1;
  filter: brightness(100%);
}

#menu p {
  font-size: 14px;
  letter-spacing: 5px;
  margin: 0% 5% 30px 0;
  display: inline-block;
}

#menu span {
  width: 30px;
  height: 30px;
  margin: 2%;
  padding: 0px;
  font-size: 20px;
  line-height: 36.5px;
  transition: 0.3s;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
  position: relative;
}

#menu span::before {
  content: '';
  width: 0px;
  height: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: -1;
  border-radius: 50%;
  transition: 0.16s;
}

#menu span:hover::before {
  width: 30px;
  height: 30px;
}
#menu span:hover a {
  color: #000;
}

#menu span a {
  color: #fff;
  transition: 0.16s;
}

#menu span a i {
  padding: 3px;
  border-radius: 50%;
}





#menu ul {
  font-size: 30px;
  padding: 0;
  list-style: none;
}

#menu li {
  margin: 30px auto;
  position: relative;
}

#menu li > a::before {
  content: '';
  width: 0%;
  height: 110%;
  background: #fff;
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translateY(-55%) skewX(30deg);
  transition: 0.2s;
  z-index: -2;
}

#menu li > a:hover::before {
  width: 200%;
}

#menu li a {
  color: #fff;
  transition: 0.2s;
}
#menu li > a:hover {
  color: #000;
}





/* トップ */

#top {
  width: 100%;
  height: 70px;
  /* position: fixed; */
  padding: 0 6%;
  display: flex;
  align-items: center;
  transition: 0.3s;
  z-index: 2;
  box-sizing: border-box;
  background: transparent;
}

div#top.open {
  background: transparent;
}

#top-p {
  width: auto;
  height: 40px;
  transition: 0.3s;
}

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

#top.top-s {
  height: 50px;
  background: rgba(255, 255, 255, 1);
}
#top-p.top-s {
  height: 40px;
}

#hamburger {
  width: 24px;
  height: 19px;
  position: relative;
  margin: 0 0 0 auto;
  cursor: pointer;
  position: fixed;
  right: 6%;
  z-index: 2;
}

#hamburger.open span {
  background: #fff;
}

#hamburger span {
  width: 24px;
  height: 3px;
  position: absolute;
  left: 0;
  background: #000;
  transition: 0.3s;
}

#hamburger span:nth-child(1) {
  top: 0;
}
#hamburger span:nth-child(2) {
  top: 8px;
  transition: 0.3s;
}
#hamburger span:nth-child(3) {
  top: 16px;
}
#hamburger.open span:nth-child(1) {
  animation: bar1 0.6s both;
}
#hamburger.open span:nth-child(2) {
  opacity: 0;
}
#hamburger.open span:nth-child(3) {
  animation: bar3 0.6s both;
}
#hamburger.close span:nth-child(1) {
  animation: bar1-close 0.6s both;
}
#hamburger.close span:nth-child(2) {
  opacity: 1;
}
#hamburger.close span:nth-child(3) {
  animation: bar3-close 0.6s both;
}

@keyframes bar1 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(8px) rotate(0deg);}
  100% {transform: translateY(8px) rotate(45deg);}
}
@keyframes bar3 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(-8px) rotate(0deg);}
  100% {transform: translateY(-8px) rotate(-45deg);}
}
@keyframes bar1-close {
  0% {transform: translateY(8px) rotate(45deg);}
  50% {transform: translateY(8px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}
@keyframes bar3-close {
  0% {transform: translateY(-8px) rotate(-45deg);}
  50% {transform: translateY(-8px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}


.bg-black {
  width: 100%;
  height: auto;
  background: #000;
  color: #fff;
  position: relative;
}


#before, #next {
  display: none;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
}

#before {
  left: 2%;
}

#next {
  right: 2%;
}

#before > i, #next > i {
  font-size: 30px;
  line-height: 30px;
  color: #ccc;
}


/* ワークス */

.works-title {
  width: 80%;
  font-size: 60px;
  letter-spacing: -1px;
  margin: 2% auto 0% auto;
  line-height: 76px;
  text-align: left;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
}

.works1 {
  width: 100%;
  height: auto;
  margin: 2% 0% 0 0%;
  padding: 8.5% 0 0 0;
  position: relative;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  overflow: hidden;
  text-align: center;
}



.work-c {
  width: 80%;
  height: auto;
  margin: 0% auto 0% auto;
  padding: 0% 0 8% 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}

.work-img {
  width: 80vw;
  /* max-width: 600px; */
  height: 75vw;
  /* max-height: 337.5px; */
  overflow: hidden;
  text-align: center;
  order: 1;
  z-index: 1;
}

.work-img > a > img {
  width: 80vw;
  /* max-width: 600px; */
  height: 75vw;
  /* max-height: 337.5px; */
  object-fit: cover;
  transition: 0.3s;
  vertical-align: bottom;
}

.work-img > a > img:hover {
  transform: scale(1.1);
  filter: brightness(50%);
}

/* .works1 > .work-c:nth-child(2) {
  padding: 0 0 30% 0;
} */

/* .works1 > .work-c:nth-child(3) {
  position: absolute;
  top: 70%;
} */

.work-num {
  width: 30%;
  height: auto;
  /* font-size: 150px;
  line-height: 100px; */
  color: #2E2E2E;
  position: absolute;
  top: 2%;
  left: 2%;
  filter: brightness(10%);
  z-index: 2;
}

/* .work-num > p {
  width: 50%;
  font-size: 10px;
  line-height: 18px;
  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: 48px;
  color: #fff;
  margin: 5% 0 0 0;
  padding: 2.4px 0 0 0;
  box-sizing: border-box;
  position: relative;
  /* overflow: hidden; */
  transition: 0.3s;
  order: 2;
  /* z-index: 0; */
}

.work-info > a {
  width: 100%;
  display: flex;
  align-items: center;
}

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

.work-info::before {
  content: '';
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -30%;
  background: #fff;
  transform: skewX(30deg);
  transition: 0.2s;
  z-index: 0;
}

.work-info:hover p {
  color: #000;
}

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

.work-info::after {
  content: '';
  width: 200%;
  height: 2px;
  background: #fff;
  position: absolute;
  /* top: 95%; */
  bottom: 0;
}

.work-t {
  width: auto;
  font-size: 28px;
  line-height: 48px;
  white-space: nowrap;
  margin: 0% 3% 0 0%;
}

.work-d {
  width: auto;
  white-space: nowrap;
  font-size: 15px;
  line-height: 48px;
  margin: 0% 0 0 0;
}

p.work-m {
  width: auto;
  flex: 1;
  font-size: 12px;
  line-height: 48px;
  margin: 0;
  letter-spacing: 3px;
  text-align: right;
  color: #585858;
  white-space: nowrap;
}

.works2 {
  width: 100%;
  height: auto;
  margin: 0% 0% 0 0%;
  position: relative;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  text-align: center;
  overflow: hidden;
}

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

.works2 > .work-c > .work-num {
  color: #BDBDBD;
}

.works2 > .work-c > .work-info > a .work-t, .works2 > .work-c > .work-info > a .work-d {
  color: #000;
}

.works2 > .work-c > .work-info::before {
  background: #000;
}

.works2 > .work-c > .work-info::after {
  background: #000;
}

.works2 > .work-c > .work-info:hover a p {
  color: #fff;
}

.works2 > .work-c > a:hover .work-info::before{
  left: -10%;
}






.more-works {
  width: 80%;
  height: 10vw;
  line-height: 10vw;
  margin: 3% auto 11% auto;
  /* padding: 0 0 0 15px; */
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.3em;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  text-align: center;
  background-color: #000;
  position: relative;
  transition: 0.3s;
  box-sizing: border-box;
  border: 2px solid #fff;
  overflow: hidden;
}

.more-works::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: 0.3s;
}

.more-works a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  transition: 0.3s;
}

.more-works:hover {
  background: #fff;
}

.more-works:hover a {
  color: #000;
}

.more-works:hover::before {
  width: 130vw;
  height: 130vw;
}

#back-to-top {
  width: 100px;
  margin: 15% auto 15% auto;
  font-size: 15px;
  letter-spacing: 0.3em;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  text-align: center;
  cursor: pointer;
}

#back-to-top::before {
  content: "▲";
  font-size: 15px;
  display: block;
  /* margin-bottom: 5px; */
}

#back-to-top:hover::before {
  animation: btt 0.3s;
}

@keyframes btt {
  0% {transform: translate(0, 0);}
  50% {transform: translate(0, -6px);}
  100% {transform: translate(0, 0);}
}




/* フッター */

footer {
  width: 100%;
  height: 120px;
  background-color: #000;
  text-align: center;
}

footer img {
  width: 260px;
  height: auto;
  margin: 20px 0 10px 0;
  /* display: block; */
}

small {
  display: block;
  color: #fff;
  font-family: "Teko", "oswald", 'anton', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-size: 10px;
}
