@charset "UTF-8";
/* CSS Document */
/* 基本設定 */
/* 初期設定 */
/* ----------------------------------------------------------------------
mv
---------------------------------------------------------------------- */
#mv {
  width: 93%;
  height: calc(96.5vh - 7em);
  margin: 7em auto 0;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.5em;
  font-weight: 600;
  position: relative;
}
@media screen and (max-width: 520px) {
  #mv {
    font-size: 1.6rem;
    margin: 5.6em auto 0;
    height: calc(96.5vh - 5.6em);
  }
}
#mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#mv .absTxt {
  position: absolute;
  inset: 30% 0 auto 0;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
  animation: spreadText 1.3s ease-out 1 forwards;
}

@keyframes spreadText {
  0% {
    letter-spacing: 0.2em;
  }
  100% {
    letter-spacing: 0.5em;
  }
}
/* ----------------------------------------------------------------------
TOPcommon
---------------------------------------------------------------------- */
.topTtl {
  font-family: "Google Sans Flex", serif;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 300;
  margin-bottom: 1.6em;
  text-align: center;
}
@media screen and (max-width: 520px) {
  .topTtl {
    font-size: 4rem;
    margin-bottom: 0.8em;
  }
}

#skill,
#works,
#social {
  margin-top: 17.4rem;
}
@media screen and (max-width: 520px) {
  #skill,
  #works,
  #social {
    margin-top: 7rem;
  }
}

/* ----------------------------------------------------------------------
skill
---------------------------------------------------------------------- */
#skill .inner {
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: 0.1em;
  font-weight: 400;
}
@media screen and (max-width: 520px) {
  #skill .inner {
    font-size: 1.1rem;
  }
}
#skill .inner .skillList {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: stretch;
  row-gap: 3.7em;
}
#skill .inner .skillList .skillItem {
  width: 30.65%;
}
@media screen and (max-width: 520px) {
  #skill .inner .skillList .skillItem {
    width: 100%;
  }
}
#skill .inner .skillList .skillItem dt {
  text-align: center;
  font-size: 178.5%;
  font-weight: 400;
  line-height: 1.7;
}
#skill .inner .skillList .skillItem dt span {
  display: block;
  font-size: 56%;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #a2a8b0;
}
#skill .inner .skillList .skillItem > .imgBox {
  width: 50%;
  margin: 2.6em auto;
}
@media screen and (max-width: 520px) {
  #skill .inner .skillList .skillItem > .imgBox {
    width: 30%;
    margin: 0.6em auto;
  }
}

/* ----------------------------------------------------------------------
works
---------------------------------------------------------------------- */
#works .inner .woksList {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: stretch;
  row-gap: 4rem;
}
#works .inner .woksList li {
  width: 30.65%;
}
@media screen and (max-width: 520px) {
  #works .inner .woksList li {
    width: 87%;
    margin: 0 auto;
  }
}
#works .inner .woksList li a {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-color: #f3f3f3;
  text-align: center;
}
#works .inner .woksList li a img {
  max-width: initial;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#works .inner .commonBtn {
  margin: 3em auto 0;
}

/* ----------------------------------------------------------------------
social
---------------------------------------------------------------------- */
#social .inner {
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: 0.1em;
  font-weight: 400;
}
@media screen and (max-width: 520px) {
  #social .inner {
    font-size: 1.1rem;
  }
}
#social .inner .socialBox {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: stretch;
  row-gap: 2.5em;
}
#social .inner .socialBox .imgBox {
  width: 30.65%;
}
@media screen and (max-width: 520px) {
  #social .inner .socialBox .imgBox {
    width: 70%;
    margin: 0 auto;
  }
}
#social .inner .socialBox .txtBox {
  width: 61.3%;
}
@media screen and (max-width: 520px) {
  #social .inner .socialBox .txtBox {
    width: 100%;
  }
}
#social .inner .commonBtn {
  margin: 3em auto 0;
}

/* ----------------------------------------------------------------------
ローディング
---------------------------------------------------------------------- */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}
#loading .imgBox {
  width: 70%;
  max-width: 10em;
  margin-bottom: 2em;
  animation: slideInDown 0.5s ease-out forwards;
}
#loading > p {
  color: #333;
  display: flex;
  align-items: flex-end;
}
#loading > p span {
  display: inline-block;
  animation: dotJump 1.4s infinite;
}
#loading > p span:nth-child(2) {
  animation-delay: 0.2s;
}
#loading > p span:nth-child(3) {
  animation-delay: 0.4s;
}
#loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dotJump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}