* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1.5em;
}
/* body {
    width: 1200px;
    margin: 0 auto;
  } */
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: rgb(255, 255, 255, 0.7);
}

section {
  text-align: center;
  background-color: black;
  /* height: 100vh;
  height: 100%; */
  color: rgb(255, 255, 255, 0.7);
}

/* ーーーーーー閉じるボタンーーーーーー */
.close img {
  width: 20px;
  position: fixed;
  top: 0;
  right: 0;
  margin: 20px;
}
.close {
  display: block;
}
h1 {
  font-size: 23px;
  font-weight: 600;
  padding: 60px 0 30px 0;
}
@media screen and (min-width: 600px) {
  .content {
    display: flex;
    /* justify-content: space-around; */
    width: 75%;
    margin: 0 auto;
  }
  ul {
    display: flex;
    margin-right: 50px;
  }
  .btn {
    display: block;
    width: 170px;
    height: 34px;
    margin: 15px 8px 15px 0;
    border: 1px solid rgb(255, 255, 255, 0.7);
    border-radius: 1.3em;
    font-size: 12px;
    font-weight: 600;
    line-height: 2rem;
  }
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: 18px;
    padding-top: 50px;
    text-align: left;
    margin-left: 20px;
  }
  .content {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90vw;
    margin: auto;
  }
  ul {
    display: flex;
    flex-wrap: wrap;
  }
  .btn {
    display: block;
    width: 150px;
    /* height: 34px; */
    margin: 5px 10px 5px 0;
    border: 1px solid rgb(255, 255, 255, 0.7);
    border-radius: 1.3em;
    font-size: 12px;
    font-weight: 600;
    line-height: 2rem;
  }
}

.opacity {
  opacity: 0.4;
}
.text {
  text-align: left;
}
.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
  padding: 0 50px;
}
@media screen and (min-width: 600px) {
  .works {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 75%;
    padding: 0 100px;
    /* height: 700px; */
    background-color: rgb(255, 255, 255);
    /* margin-bottom: 100px; */
  }
  .toggle a img {
    width: 40px;
    height: 100px;
    /* padding: 20px 10px; */
  }

  figcaption {
    color: #000;
    margin-top: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .works {
    width: 100%;
  }
}
.left a img {
  position: fixed;
  top: 50vh;
  left: 2vw;
  /* padding: 20px 10px; */
}
.right a img {
  position: fixed;
  top: 50vh;
  right: 2vw;
  /* padding: 20px 10px; */
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .works {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    background-color: aliceblue;
    margin-bottom: 100px;
  }
  .toggle a img {
    width: 20px;
    height: 100px;
    /* padding: 20px 10px; */
  }
  figcaption {
    color: #000;
    margin-top: 5px;
  }
}

figure img {
  width: 85%;
  z-index: 999;
}
.size img {
  width: 70%;
}
figure {
  margin: 50px 0;
}
.link {
  padding: 10px 0 300px;
}
.link a::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0c1";
  font-weight: 900;
  /* font-size: 1.1em; */
  padding-right: 5px;
}
@media screen and (max-width: 768px) {
  .link a {
    font-size: 12px;
  }
}
