@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #111;
  line-height: 160%;
  background: #f2f2f2;
  --sb-track-color: #efefef;
  --sb-thumb-color: #aaaaaa;
  --sb-size: 6px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 12px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 12px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
img {
  width: 100%;
  vertical-align: bottom;
}

main {
  max-width: 900px;
  margin: 0 auto;
}
main .top {
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
}
main .top__inner {
  padding: 0 40px;
}
main .top .title {
  margin-bottom: 16px;
  color: #333;
}
main .top .name {
  margin-bottom: 16px;
  width: 240px;
}
@media (width > 600px) {
  main .top .name {
    width: 320px;
  }
}
main .top .skill {
  width: 240px;
}
@media (width > 600px) {
  main .top .skill {
    width: 320px;
  }
}
main .works {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}
main .works__catch {
  width: 20%;
  max-width: 100px;
  margin-bottom: 40px;
}
main .works__catch img {
  position: relative;
  animation-duration: 0.8s;
  animation-name: bound;
}
main .works .product {
  position: relative;
  padding: 0 20px;
}
main .works .product__item {
  position: relative;
  margin-bottom: 40px;
}
main .works .product__item.visible {
  top: 8px;
  opacity: 0;
  transition: linear 0.3s;
}
main .works .product__item.effect {
  top: 0;
  opacity: 1;
}
main .works .product__item .desc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  opacity: 0;
  transition: 0.6s;
}
main .works .product__item .desc:hover {
  cursor: pointer;
}
main .works .product__item .desc p {
  padding: 0 24px;
  color: #fff;
  text-shadow: #000 0px 0px 8px;
  font-size: 0.8rem;
}
@media (width > 600px) {
  main .works .product__item .desc p {
    font-size: 1rem;
  }
}
main .works .product__item .desc:hover {
  opacity: 1;
}
main .works .product__item .info {
  position: fixed;
  top: 0;
  left: 100%;
  width: 98%;
  min-height: 100vh;
  padding: 20px;
  background: #fff;
  box-shadow: #999 0 0 16px;
  z-index: 3;
  transition: linear 0.4s;
}
main .works .product__item .info.open {
  left: 2%;
  animation-duration: 0.6s;
  animation-name: open;
}
main .works .product__item .info__headding {
  max-width: 900px;
  margin: 0 auto;
  height: 10vh;
  display: flex;
  justify-content: left;
}
main .works .product__item .info__headding .closeBtn {
  position: relative;
  height: 48px;
  padding: 8px 16px;
  font-size: 1.8rem;
  font-weight: 100;
  transition: 0.2s linear;
  left: 0;
  opacity: 0.8;
}
main .works .product__item .info__headding .closeBtn:hover {
  opacity: 1;
  left: 12px;
  cursor: pointer;
}
main .works .product__item .info__headding .closeBtn .material-icons {
  position: relative;
  font-size: 1.2rem;
  margin-right: 8px;
}
main .works .product__item .info__contents {
  max-width: 900px;
  padding: 0 8px 64px;
  height: 80vh;
  margin: 0 auto;
  overflow-y: auto;
  --sb-track-color: #efefef;
  --sb-thumb-color: #aaaaaa;
  --sb-size: 6px;
}
main .works .product__item .info__contents::-webkit-scrollbar {
  width: var(--sb-size);
}
main .works .product__item .info__contents::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 12px;
}
main .works .product__item .info__contents::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 12px;
}
@supports not selector(::-webkit-scrollbar) {
  main .works .product__item .info__contents body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
main .works .product__item .info__contents__img {
  margin-bottom: 5vh;
}
main .works .product__item .info__contents .note {
  font-size: 0.8rem;
}
main .works .product__item .info__contents .note__label {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 100;
  color: #333;
}
main .contact {
  padding: 0 40px;
  margin-bottom: 120px;
}
main .contact__headding {
  font-size: 1.5rem;
  font-weight: 100;
  margin-bottom: 16px;
}
main .contact__txt {
  font-size: 0.8rem;
  margin-bottom: 8px;
}
main .contact .mail {
  font-size: 1.2rem;
  font-weight: 100;
}

@keyframes bound {
  from {
    opacity: 0;
    transform: rotate(20deg);
    top: -60px;
  }
  20% {
    opacity: 1;
    top: -20px;
  }
  40% {
    top: 0px;
    transform: rotate(-10deg);
  }
  60% {
    top: -10px;
  }
  to {
    top: 0px;
  }
}
@keyframes open {
  from {
    left: 100%;
  }
  80% {
    left: 1%;
  }
  to {
    left: 2%;
  }
}/*# sourceMappingURL=style.css.map */