@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
}

.wrap {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}





/* scrollについての記述 */
.scrolldown4 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 1%;
  right: 50%;
  /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }

  50% {
    bottom: 3%;
  }

  100% {
    bottom: 1%;
  }
}

/*Scrollテキストの描写*/
.scrolldown4 span {
  /*描画位置*/
  position: absolute;
  left: -20px;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #eee;
  transform: skewX(-31deg);
}

.scrolldown4:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: 0;
  /*矢印の形状*/
  width: 1px;
  height: 50px;
  background: #eee;
}

/* scroll終わり */

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 50px;
  margin-bottom: 50px;
  text-align: center;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
}



/* header */
nav ul {
  display: flex;
  list-style: none;
  justify-content: end;
}

nav ul li {
  margin: 0 50px 20px 0;
}

/* hoverすると下線が出てくる記述 */
a {
  display: block;
}

/* ul { */
/* position: relative; */
/* } */

.a-hover {
  text-decoration: none;
  color: #000;
  display: block;
  text-decoration: none;
  position: relative;
}

.a-hover::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #000;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.a-hover:hover::after {
  transform: scale(1, 1);
}

/* nav終了 */


/* top画像 */
.top-img img {
  height: 100vh;
  width: 100%;
  margin: 0 0 50px 0;
  object-fit: cover;
  position: relative;
}

svg {
  position: absolute;
  top: 10%;
  left: 10%;
}

/* About */
.about {
  width: 100%;
  margin: 0 auto 50px auto;
  display: flex;
  justify-content: space-around;

}

.about-container {
  width: 400px;
  margin: auto 0;
}

.about img {
  width: 20%;
  height: 20%;
  border-radius: 50%;
}

/* Works */
/* 〇Three woodサイト */
.grayscale {
  width: 32%;
}

.grayscale img {
  filter: grayscale(100%);
  /*モノクロ具合を変更したい場合はこの数値を変更*/
  transition: .3s ease-in-out;
  /*移り変わる速さを変更したい場合はこの数値を変更*/
  width: 100%;
  padding: 10px;
}

.grayscale a:hover img {
  /*hoverした時の変化*/
  filter: grayscale(0);
}

.works {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;

}

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.skills-container {
  display: block;
  width: 250px;
  margin: 25px 25px 50px 25px;
}

.skills-container img {
  display: block;
  width: 100px;
  margin: 0 auto 20px auto;
}

.skills-container span {
  display: block;
  text-align: center;
  color: #707070;
}


.js img {
  display: block;
  margin: 30px auto 25px;

}

/* footer */
footer img {
  width: 60px;

}

.footer-inner {
  margin-bottom: 10px;
}

footer .footer-inner ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

footer .footer-inner ul li {
  margin: 0 25px 10px;

}

footer .footer-inner ul li a {
  text-decoration: none;
  color: #000;
}

footer p {
  text-align: center;
}

.SNS-logo {
  width: 80px;
  display: block;
  position: sticky;
  bottom: 30%;
  left: 20px;
  margin-bottom: -100px;
}

.SNS-logo img {
  width: 50px;
  margin: 8px 0;
}

.SNS-logo a:hover {
  opacity: 0.5;
}


/* .追記 */



.last img {
  width: 240px;
  height: 200px;
  object-fit: contain;
}
