@charset "UTF-8";

/* font-family: "Dosis", sans-serif; 200 to 800 */
/* font-family: "Noto Sans JP", sans-serif; 100 to 900 */

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #231825;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
}

/* .head */

#head {
  position: relative;
}

#head .nav_bar {
  position: fixed;
  z-index: 100;
  right: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 7px;
  font-size: 12px;
  color: #aaaaaa;
}

#head nav ul {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#head nav ul li a {
  color: #aaaaaa;
}

#head nav ul li a:hover {
  opacity: 0.5;
}

#head .nav_bar .copy {
  margin-right: 40px;
}

#head .title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  text-align: center;
  height: 100vh;
  font-family: "Dosis", sans-serif;
}

#head .title h1 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 30px;
  letter-spacing: 0.3em;
}

#head .title span {
  display: block;
  font-size: 11px;
  color: #aaaaaa;
  padding-top: 5px;
}

/* .main */

#main {
  background-color: #f9f9f9;
  padding: 100px 0;
}

#main .works {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 84px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 42px;
}

#main .works .work {
  width: 150px;
}

#main .works .work img {
  width: 150px;
  height: 130px;
  object-fit: cover;
}

#main .works .work_1 img {
  object-position: 40% 0%;
}

#main .works .work_2 img {
  object-position: 0% 0%;
}

#main .works .work_3 img {
  object-position: 0% 50%;
}

#main .works .work_4 img {
  object-position: 0% 0%;
}

#main .works .work_5 img {
  object-position: 0% 0%;
}

#main .works .work_6 img {
  object-position: 50% 0%;
}

#main .works .work h2 {
  font-size: 15px;
  font-weight: 400;
  padding-top: 10px;
}

#main .works .work h2 a:hover {
  opacity: 0.2;
}

#main .works .work p {
  font-size: 10px;
  padding-top: 4px;
  color: #aaa;
}

/* .about */

#about .wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0;
}

#about .profile {
  display: flex;
  gap: 20px;
}

#about .profile .profile_img {
  width: 112px;
}

#about .profile .profile_img img {
  width: 100%;
}

#about .profile .profile_txt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 0.3em;
}

#about .skill {
  display: flex;
  flex-direction: column;
  gap: 14px;
  letter-spacing: 0.3em;
}

#about .skill h3,
#about .skill h4 {
  font-weight: 600;
}

#about .skill h3,
#about .skill h4,
#about .skill p {
  font-size: 14px;
}

#about .skill h3 {
  padding: 3px 0 3px 10px;
  border-left: 10px solid #aaa;
  height: 1.5em;
}

/* work */

#work {
  background-color: #f9f9f9;
  min-height: 1080px;
  height: 100%;
}

#work .layer {
  position: fixed;
  z-index: 99;
  border: 40px solid #d9d9d9;
  width: 100%;
  height: 100vh;
}

#work .wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 50px 90px 65px;
}

#work .wrapper .inner {
  font-weight: 300;
  max-width: 500px;
  width: 100%;
  margin-bottom: 40px;
}

#work .wrapper .inner h2,
#work .wrapper .inner .txt_wrap dt {
  text-transform: uppercase;
}

#work .wrapper .inner h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

#work .wrapper .inner .txt_wrap dl {
  display: flex;
  margin: 0 12px 14px 3px;
}

#work .wrapper .inner .txt_wrap dt {
  color: #aaaaaa;
}

#work .wrapper .item {
  max-width: 500px;
  margin-bottom: 40px;
}

#work .wrapper .item img {
  width: 100%;
}

#work .wrapper .grid-sizer {
  width: 50%;
}

#work #page-top {
  display: none;
}

@media screen and (max-width: 600px) {
  #head .nav_bar {
    display: none;
  }

  #main .works {
    gap: 40px;
    max-width: 280px;
    padding: 0;
  }

  #main .works .work {
    width: 120px;
  }

  #about .wrapper {
    flex-direction: column;
    max-width: 280px;
    padding: 80px 0;
  }

  #about .profile .profile_img {
    display: none;
  }

  #work .layer {
    border: 20px solid #d9d9d9;
  }

  #work .wrapper {
    max-width: 280px;
    padding: 60px 0;
  }

  #work .wrapper .inner {
    margin-bottom: 20px;
  }

  #work .wrapper .inner .txt_wrap dl {
    margin: 0 0px 14px 0px;
  }

  #work .wrapper .grid-sizer {
    width: 100%;
  }

  #work #page-top {
    display: block;
    position: fixed;
    z-index: 999;
    bottom: 30px;
    right: 30px;
    transform: rotate(-90deg);
    filter: drop-shadow(-2px 3px 1px #d9d9d9);
  }

  #work #page-top a {
    display: block;
    transition: all 0.3s;
    width: 35px;
  }

  #work #page-top a:hover {
    background: #d9d9d9;
    transition: 1s;
  }
}
