@charset "UTF-8";
/*
Theme Name: Takuma Kitazawa Portfolio
Description: ポートフォリオ
Version:1.0
Author: Takuma Kitazawa
*/
/*レスポンシブ*/
html {
  overflow: auto;
  font-size: 62.5%;
  color: #333333;
}

body {
  overflow: hidden;
}

p {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 767px) {
  p {
    font-size: 1.2rem;
  }
}

.sentence {
  line-height: 2.785;
}
.sentence::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 2.785) * 0.5em);
  content: "";
}
.sentence::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 2.785) * 0.5em);
  content: "";
}

img {
  width: 100%;
}

.logo {
  width: 4rem;
}
@media screen and (max-width: 767px) {
  .logo {
    width: 3rem;
  }
}

.contents {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 4rem;
}
@media screen and (max-width: 767px) {
  .contents {
    padding: 0 3rem;
  }
}

.heading {
  display: flex;
  gap: 2.2rem;
  align-items: flex-end;
  flex-wrap: nowrap;
}
@media screen and (max-width: 767px) {
  .heading {
    gap: 1rem;
  }
}
.heading h2 {
  display: inline-block;
  font-size: 4rem;
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .heading h2 {
    font-size: 2.4rem;
  }
}
.heading p {
  display: inline-block;
  position: relative;
  font-size: 1.6rem;
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  bottom: 0.57em;
}
@media screen and (max-width: 767px) {
  .heading p {
    font-size: 1.2rem;
    bottom: 0.33em;
  }
}

/*ローディング画面*/
#splash {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: #FFF100;
  z-index: 99999;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#splash-logo img {
  width: 200px;
}

.destroy {
  visibility: hidden;
  opacity: 0;
  transition: ease;
  -webkit-animation-duration: 0.1s;
          animation-duration: 0.1s;
}

header {
  height: 8rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}
@media screen and (max-width: 767px) {
  header {
    height: 5rem;
  }
}
header .left {
  padding-left: 4rem;
}
@media screen and (max-width: 767px) {
  header .left {
    padding-left: 2.2rem;
  }
}
header .right {
  display: flex;
  flex-direction: row;
  font-size: 1.3rem;
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
}

.nav-lists {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-right: 8rem;
}
@media screen and (max-width: 767px) {
  .nav-lists li {
    display: none;
  }
}

.menu-btn {
  margin-right: 4rem;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .menu-btn {
    margin-right: 3rem;
  }
}

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: #FFF100;
  /*動き*/
  transition: all 1s;
}
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 767px) {
  #g-nav ul {
    font-size: 1.6rem;
  }
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}

.mv {
  position: relative;
  height: 100vh;
  width: 100%;
}
.mv .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mv .inner .text {
  margin-right: 8rem;
  display: flex;
  flex-direction: column;
}
.mv .inner .text p {
  letter-spacing: 0.2em;
  display: inline-block;
  font-size: 1.6rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .mv .inner .text p {
    font-size: 1.3rem;
  }
}
.mv .inner .text h1 {
  display: inline-block;
  font-size: 4rem;
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  line-height: 2;
  margin-top: 2.1rem;
  white-space: nowrap;
}
.mv .inner .text h1::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 2) * 0.5em);
  content: "";
}
.mv .inner .text h1::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 2) * 0.5em);
  content: "";
}
@media screen and (max-width: 767px) {
  .mv .inner .text h1 {
    font-size: 2.4rem;
    margin-top: 1.6rem;
  }
}
.mv .inner .text .thank {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 767px) {
  .mv .inner .text .thank {
    margin-top: 3.1rem;
  }
}
.mv .inner .text .thank .left-border {
  display: block;
  background-color: #333333;
  height: 1px;
  width: 40px;
  margin-right: 1rem;
}
@media screen and (max-width: 767px) {
  .mv .inner .text .thank .left-border {
    width: 10px;
    margin-right: 0.5rem;
  }
}
.mv .inner .text .thank p {
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .mv .inner .text .thank p {
    font-size: 1.4rem;
  }
}
.mv .inner img {
  width: 50rem;
  z-index: -1;
}
@media screen and (max-width: 1159px) {
  .mv .inner img {
    position: absolute;
    left: 57.5%;
  }
}
@media screen and (max-width: 767px) {
  .mv .inner img {
    left: auto;
    right: -17.3rem;
  }
}
@media screen and (max-width: 450px) {
  .mv .inner img {
    right: -21rem;
  }
}

.scrollDown {
  opacity: 0;
  position: absolute;
  bottom: 20px;
  left: 4rem;
  gap: 0.8rem;
  display: flex;
  align-items: center;
}
.scrollDown span {
  position: relative;
  top: -30px;
  left: -22px;
  font-size: 1rem;
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  rotate: 90deg;
}
.scrollDown::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #333333;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  -webkit-animation: pathmove 1.4s ease-in-out infinite;
          animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@-webkit-keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
.about {
  margin: 0 auto;
  padding-top: 8rem;
}
@media screen and (max-width: 767px) {
  .about {
    padding-top: 8rem;
  }
}
.about .content {
  margin-top: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .about .content {
    flex-direction: column;
    margin-top: 6rem;
  }
}
.about .content .img {
  flex-shrink: 0;
  border: solid 1px #333333;
  border-radius: 50%;
  width: 18rem;
  height: 18rem;
  background-image: url("img/28_color.png");
  background-size: 14rem 15rem;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 20px;
  margin-left: auto;
  margin-right: min(12.75%, 14.8rem);
}
@media screen and (max-width: 767px) {
  .about .content .img {
    margin: 0 auto;
  }
}
.about .content .info {
  width: min(64.5%, 64.5rem);
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 767px) {
  .about .content .info {
    width: 100%;
    margin-top: 7rem;
    justify-content: center;
  }
}
.about .content .info .name {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 500;
  border-bottom: #FFF100 3px solid;
  margin: 0 auto 0 0;
}
@media screen and (max-width: 767px) {
  .about .content .info .name {
    font-size: 1.6rem;
    border-bottom: #FFF100 2px solid;
    margin: 0 auto;
  }
}
.about .content .info .text {
  margin-top: 4.6rem;
}

.skills {
  background-color: #FAFAFA;
  margin-top: 15rem;
  padding: 12rem 0 15rem;
}
@media screen and (max-width: 767px) {
  .skills {
    margin-top: 11rem;
    padding: 8rem 0 11rem;
  }
}
.skills .contents .heading {
  margin-bottom: 8rem;
}
@media screen and (max-width: 767px) {
  .skills .contents .heading {
    margin-bottom: 6rem;
  }
}
.skills .contents .content {
  display: flex;
  flex-direction: column;
  max-width: 75.6rem;
  margin: 0 0 0 auto;
  gap: 14rem;
}
@media screen and (max-width: 1000px) {
  .skills .contents .content {
    gap: 12rem;
  }
}
@media screen and (max-width: 767px) {
  .skills .contents .content {
    margin-left: 0;
    gap: 6.8rem;
  }
}
.skills .contents .content .item h3 {
  font-family: termina, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: 500;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  padding-bottom: 2rem;
  border-bottom: solid 3px #FFF100;
  margin-bottom: 4.6rem;
  display: flex;
}
@media screen and (max-width: 767px) {
  .skills .contents .content .item h3 {
    font-size: 1.8rem;
    padding-bottom: 1.2rem;
    margin-bottom: 3.2rem;
  }
}
.skills .contents .content .item h3 .number {
  font-size: 1.2rem;
  margin: auto 3.5rem auto 0;
}
@media screen and (max-width: 767px) {
  .skills .contents .content .item h3 .number {
    font-size: 1rem;
    margin-right: 1.5rem;
  }
}
.skills .contents .content .item .tools {
  color: #555555;
  letter-spacing: 0.02em;
  margin-top: 5.6rem;
}
@media screen and (max-width: 767px) {
  .skills .contents .content .item .tools {
    margin-top: 3.6rem;
  }
}

.works {
  padding-top: 12rem;
}
@media screen and (max-width: 767px) {
  .works {
    padding-top: 8rem;
  }
}
.works .heading {
  margin-bottom: 8rem;
}
@media screen and (max-width: 767px) {
  .works .heading {
    margin-bottom: 4.8rem;
  }
}

.work-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 3rem;
}
@media screen and (max-width: 1000px) {
  .work-lists {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .work-lists {
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
  }
}
.work-lists img {
  height: auto;
  aspect-ratio: 1.781/1;
  margin-bottom: 1.4rem;
}
.work-lists .text p {
  font-size: 1/6rem;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .work-lists .text p {
    font-size: 1.4rem;
  }
}
.work-lists .text .category {
  color: #555555;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
@media screen and (max-width: 767px) {
  .work-lists .text .category {
    font-size: 1.1rem;
  }
}

footer {
  margin-top: 15rem;
  background-color: #FAFAFA;
}
@media screen and (max-width: 767px) {
  footer {
    margin-top: 10rem;
  }
}
footer .upper {
  padding: 7rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  footer .upper {
    padding: 5rem 0;
    justify-content: center;
  }
}
footer .upper .footer-logo {
  display: flex;
}
footer .upper .footer-logo img {
  margin-right: 3rem;
}
@media screen and (max-width: 767px) {
  footer .upper .footer-logo img {
    margin-right: 1rem;
  }
}
footer .upper .footer-logo p {
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  footer .upper .footer-logo p {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 767px) {
  footer .nav {
    display: none;
  }
}
footer .nav ul {
  display: flex;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  gap: 5rem;
}
footer .copy-right {
  padding-bottom: 3.1rem;
}
footer .copy-right p {
  text-align: center;
  font-size: 1rem;
}

/*制作物詳細ページ*/
.works-detail .container {
  max-width: 116rem;
  padding: 0 4rem;
  margin: 0 auto;
}
.works-detail .first-view {
  margin-top: 20rem;
  text-align: center;
}
.works-detail .first-view img {
  width: min(90rem, 100%);
}
.works-detail .first-view h1 {
  margin-top: 6.8rem;
  font-size: 2.8rem;
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .works-detail .first-view h1 {
    font-size: 1.8rem;
  }
}
.works-detail .first-view .category {
  margin-top: 2rem;
  color: #555555;
  font-size: 1.5rem;
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  .works-detail .first-view .category {
    font-size: 1.1rem;
  }
}
.works-detail .info {
  margin-top: 10rem;
}
@media screen and (max-width: 767px) {
  .works-detail .info {
    margin-top: 7.2rem;
  }
}
.works-detail .info .first-info {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 2.33;
}
.works-detail .info .first-info::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 2.33) * 0.5em);
  content: "";
}
.works-detail .info .first-info::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 2.33) * 0.5em);
  content: "";
}
@media screen and (max-width: 767px) {
  .works-detail .info .first-info {
    font-size: 1.1rem;
  }
}
.works-detail .basic-info {
  margin-top: 10.3rem;
  display: flex;
  flex-direction: column;
  gap: 12rem;
}
@media screen and (max-width: 767px) {
  .works-detail .basic-info {
    margin-top: 8.1rem;
    gap: 7.2rem;
  }
}
.works-detail .basic-info li {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .works-detail .basic-info li {
    flex-direction: column;
  }
}
.works-detail .basic-info li h2 {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  position: relative;
}
@media screen and (max-width: 767px) {
  .works-detail .basic-info li h2 {
    font-size: 1.6rem;
    margin: 0 auto 0 0;
  }
}
.works-detail .basic-info li h2::after {
  content: "";
  display: block;
  background-color: #FFF100;
  width: 100%;
  height: 3px;
  bottom: 0;
}
.works-detail .basic-info li p {
  line-height: 2;
  font-size: 1.5rem;
  letter-spacing: 0.02;
  width: 80%;
  max-width: 83.2rem;
}
.works-detail .basic-info li p::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 2) * 0.5em);
  content: "";
}
.works-detail .basic-info li p::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 2) * 0.5em);
  content: "";
}
@media screen and (max-width: 767px) {
  .works-detail .basic-info li p {
    margin-top: 2rem;
    font-size: 1.2rem;
    width: 100%;
  }
}
.works-detail .works-view {
  margin-top: 27.7rem;
}
@media screen and (max-width: 767px) {
  .works-detail .works-view {
    margin-top: 10rem;
  }
}
.works-detail .works-view-column {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 8rem;
       column-gap: 8rem;
}
@media screen and (max-width: 767px) {
  .works-detail .works-view-column {
    flex-direction: column;
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 5.6rem;
  }
}
.works-detail .works-view-pc {
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
@media screen and (max-width: 767px) {
  .works-detail .works-view-pc {
    width: 100%;
    gap: 2.4rem;
  }
}
.works-detail .works-view-sp {
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
@media screen and (max-width: 767px) {
  .works-detail .works-view-sp {
    gap: 2rem;
    margin: 0 auto;
  }
}
.works-detail .banner-img {
  width: min(100%, 60rem);
  margin: 0 auto;
}
.works-detail .gnav {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  margin-top: 10rem;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 767px) {
  .works-detail .gnav {
    font-size: 1.3rem;
  }
}
.works-detail .gnav .number {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}
@media screen and (max-width: 767px) {
  .works-detail .gnav .number {
    font-size: 1.3rem;
  }
}
.works-detail .gnav span {
  align-items: center;
  display: flex;
  gap: 1.2rem;
}
.works-detail .gnav span img {
  width: 1rem;
}
.works-detail .gnav .next {
  flex-direction: row-reverse;
}
.works-detail .gnav .next img {
  transform: rotate(180deg);
}
.works-detail footer {
  margin-top: 10rem;
}

/*------------------------------------------------
アニメーション
ーーーーーーーー------------------------------------*/
/* その場で */
.fadeIn {
  -webkit-animation-name: fadeInAnime;
          animation-name: fadeInAnime;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  opacity: 0;
}

@-webkit-keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.scrollDown {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

/* 上から */
.fadeDown {
  -webkit-animation-name: fadeDownAnime;
          animation-name: fadeDownAnime;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  opacity: 0;
}

@-webkit-keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeDownTrigger {
  opacity: 0;
}

.randomAnime {
  visibility: hidden;
}

/* 滑らかに変形して出現 */
.smoothTrigger {
  opacity: 0;
}

.smooth {
  -webkit-animation-name: smoothAnime;
          animation-name: smoothAnime;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  transform-origin: left;
  opacity: 0;
}

.thank {
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

@-webkit-keyframes smoothAnime {
  from {
    transform: translate3d(0, 100%, 0) skewY(12deg);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0) skewY(0);
    opacity: 1;
  }
}

@keyframes smoothAnime {
  from {
    transform: translate3d(0, 100%, 0) skewY(12deg);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0) skewY(0);
    opacity: 1;
  }
}
#g-nav li:nth-of-type(1) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
#g-nav li:nth-of-type(2) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
#g-nav li:nth-of-type(3) {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}
#g-nav li:nth-of-type(4) {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
#g-nav li:nth-of-type(5) {
  -webkit-animation-delay: 1.1s;
          animation-delay: 1.1s;
}
/*# sourceMappingURL=style.css.map */