@charset "UTF-8";

body {
  font-size: 16px;
  line-height: 2em;
  letter-spacing: 0.13em;
  font-family: 'PT Sans','Noto Sans JP', sans-serif;
  color: #3E4550;
  background-color: #fcfcfc;
  overflow-x: hidden;
  text-align: center;
}

main.top {
  overflow: hidden;
  padding-bottom: 70px;
  width: 95%;
  padding: 0 2.5% 0;
  box-sizing: content-box;
}

section.mv {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  max-width: 1440px;
  margin: 0 auto 120px auto;
}
.scrolldown1{
  position:absolute;
  left:50px;
  bottom:10px;
  height:50px;
}
div.mv_title {
  margin-left: 100px;
  z-index: 10;
}

p.site_title {
  font-weight: bold;
  font-size: 48px;
  letter-spacing: 8px;
  line-height: 1.5em;
  text-align: left;
  width: 680px;
}

  /*mvボタン*/
a.btn-border {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  position: absolute;
  top: 70%;
  left: 17.5%;
  width: 500px;
  height: 75px;
  line-height:75px;
  color: #3E4550;
  font-size: 2em;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
a.btn-border:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 5px;
  height: 100%;

  content: '';
  -webkit-transition: all .3s;
  transition: all .3s;

  background: #000;
}

a.btn-border:hover {
  color: #fff;
  background: #000;
}

a.btn-border:hover:before {
  background: #fff;
}
  
  
  /* p.sub_title {
    text-align: left;
  } */
  
  .typed_wrap p {
    text-align: left;
    /* width: 680px; */
  }
  
  .typed::after {
    content: "|";
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    50%{opacity: 0;}
  }
  
  div.mv_img {
    margin-left: -240px;
  }
  
  div.mv_img img {
    width: 75%;
    padding-top: 100px;
  }
  
  .scrolldown1 span{
    position: absolute;
    left:-15px;
    top: -30px;
    color: #3E4550;
    font-size: 12px;
    letter-spacing: 0.05em;
    transform: rotate(90deg);
  }
  
  .scrolldown1::after{
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: #3E4550;
    animation: pathmove 1.5s ease-in-out infinite;
    opacity:0;
  }
  
  @keyframes pathmove{
    0%{
      height:0;
      top:0;
      opacity: 0;
    }
    30%{
      height:30px;
      opacity: 1;
    }
    100%{
      height:0;
      top:50px;
      opacity: 0;
    }
  }

  /* スクロール */
.scroll-up {
    opacity: 0; 
    visibility: hidden;
    transform: translateY(50px);
    transition: all 1s;
}
.scroll-up.is-show {
  opacity: 1;
  visibility: visible;
}
  
/* about */
.about {
  padding-bottom: 30px;
}

.about_inner {
  padding-inline: 30px;
  text-align: left;
}

.about_container {
  display: flex;
  flex-direction: column;
}

.about_images {
  position: relative;
  order: -1;
  margin-bottom: 90px;
  margin-left: -30px;
}

.about_images::before {
  position: absolute;
  content: "";
  bottom: -13vw;
  right: 0;
  z-index: 1;
  width: 26vw;
  height: 26vw;
  background-image: url(/images/top/name_circle.webp);
  background-size: contain;
  animation: rotateCircle 20s linear infinite;
}

.about_images::after {
  position: absolute;
  content: "";
  left: 20px;
  bottom: -20px;
  z-index: -1;
  width: 85%;
  height: 100%;
  opacity: 0.8;
  background-image: url(/images/top/profile.jpg);
  background-size: contain;
  filter: blur(25px);
  transform: translateZ(0);
}

.about_image {
  width: 85%;
  overflow: hidden;
  transition: opacity 1.2s ease;
}

.about_image.is-show{
  opacity: 1;
}

.about_image img {
  transform: scale(1.2);
  transition: transform 1.2s ease;
}

.about_image.is-show img {
  transform: scale(1);
}

.about_name {
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.6rem;
}

.about_description {
  margin-bottom: 44px;
  font-size: 1.3rem;
  line-height: 2;
}

.about_button-wrapper {
  margin-top: 20px;
  margin-bottom: 90px;
  text-align: right;
}

.about_button {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  padding-block: 10px;
  color: var(--black);
  font-size: 1.6rem;
  font-family: var(--main-font);
  letter-spacing: 0.02em;
}

.about_button::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.19, 0.77, 0.29, 1.05);
}

.about_button-text {
  margin-right: 16px;
}

.about_button-arrow {
  position: relative;
  width: 20px;
  height: 12px;
  overflow: hidden;
}

.about_button-arrow::before, .about_button-arrow::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/common/icon_arrow.svg);
  background-size: contain;
}

.about_button-arrow::before {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s, opacity 0.3s 0.2s;
  transition-timing-function: ease-in-out;
}

.about_button-arrow::after {
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.4s, opacity 0.3s;
  transition-timing-function: ease-in-out;
}

@media (min-width: 768px) {
  .about {
    padding-bottom: 160px;
  }

  .about_inner {
    margin-inline: auto;
    padding-inline: 40px;
    max-width: 1160px;
    text-align: left;
  }

  .about_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  .about_block {
    width: 65%;
  }

  .about_images {
    position: relative;
    order: -1;
    margin-left: 0;
    margin-bottom: 0;
    margin-right: 15%;
    width: 35%;
  }

  .about_images::before {
      right: -52px;
      bottom: -52px;
      width: 124px;
      height: 124px;
    }

  .about_images::after {
    left: 30px;
    bottom: -30px;
    width: 100%;
  }

  .about_image {
    width: 100%;
  }

  .about_name {
    margin-bottom: 38px;
    text-align: left;
    font-size: 1.8rem;
  }

  .about_description {
    margin-bottom: 50px;
    font-size: 1.5rem;
    line-height: 2.6;
  }

  .about_button-wrapper {
    margin-top: 54px;
    margin-bottom: 0;
  }

  .about_button {
    padding-block: 16px;
    font-size: 2.0rem;
  }

  .about_button-text {
    margin-right: 40px;
  }

  .about_button-arrow {
    width: 30px;
    height: 18px;
  }

  .about_button:hover::after {
    transform: scaleX(0);
    transform-origin: right;
  }

  .about_button:hover .about_button-arrow::before {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.4s, opacity 0.3s;
    transition-timing-function: ease-in-out;
  }

  .about_button:hover .about_button-arrow::after {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.4s, opacity 0.3s 0.2s;
    transition-timing-function: ease-in-out;
  }
}



.lower h1 {
  font-size: 32px;
  letter-spacing: 0.15em;
  position: relative;
}
.lower h2 {
  font-size: 20px;
  letter-spacing: 0.15em;
}
h1.about::before {
  content: 'About';
  position: absolute;
  left: 0px;
  top: -120px;
  display: inline-block;
  color: transparent;
  font-size: 210px;
  letter-spacing: 0;
  line-height: 1em;
  text-align: left;
  -webkit-text-stroke: 1px #A7A7A7; 
  text-stroke: 1px #A7A7A7;
  z-index: -1;
}
h1.skill::before {
  content: 'Skill';
  position: absolute;
  right: 20px;
  top: -120px;
  display: inline-block;
  color: transparent;
  font-size: 210px;
  letter-spacing: 0;
  line-height: 1em;
  text-align: left;
  -webkit-text-stroke: 1px #A7A7A7;
  text-stroke: 1px #A7A7A7;
  z-index: -1;
}
h1.works::before {
  content: 'Works';
  position: absolute;
  left: 0px;
  top: -120px;
  display: inline-block;
  color: transparent;
  font-size: 210px;
  letter-spacing: 0;
  line-height: 1em;
  text-align: left;
  -webkit-text-stroke: 1px #A7A7A7;
  text-stroke: 1px #A7A7A7;
  z-index: -1;
}

/**************************************************
 skill
**************************************************/
.skill_contents{
  width: 48%;
  display: inline-block;
  height: auto;
  transition-duration: 0.5s;
  border: none;
  margin: 0 5px 0 5px;
}
.skill_contents img{
  width: 80%;
  display: flex;
  margin: auto;
  cursor: pointer;
}
.skill_contents img:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-5px);
  transition-duration: 0.5s;
}
.skill_contents p {
  text-align: center;
  margin: 10px auto 20px;;
}
section.skill {
  position: relative;
  margin-top: 320px;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: content-box;
}
div.skill_inner {
  display: flex;
  justify-content: center;
  margin: 60px 0;
  text-align: center;
  background-image: linear-gradient(transparent 30%, #f8f8f8 0%);
}
div .skill-contents {
  margin: 30px;
  padding: 0 20px;
  width: 500px;
}
section.skill img.skill_img {
  width: 50%;
  padding: 15px 0;
}
div .tool-inner {
  text-align: left;
  padding-bottom: 30px;
}

p.skill_desc {
  min-height: 350px;
  text-align: left;
}
p.tool {
  padding: 5px 0;
  display: inline-block;
  background-image: linear-gradient(transparent 70%, #73d0f5 0%);
  line-height: 0.8em;
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


@media (min-width: 768px) {
  .skills {
    padding-top: 120px;
    padding-bottom: 180px;
  }

  .skills_inner {
    margin-inline: auto;
    padding-inline: 40px;
    max-width: 1160px;
  }

  .skills_title {
    font-size: 6.0rem;
    letter-spacing: 0.05em;
  }
  .skills_tool {
    font-size: 1.5rem;
  }
}


/* works */
.works {
  margin-top: 300px;
  padding-bottom: 140px;
}

.works_inner {
  padding-inline: 30px;
}

.works-list_item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s, transform 0.8s;
  transition-timing-function: ease;
}

.works-list_item:first-of-type {
  transition-delay: 0s;
}

.works-list_item:nth-of-type(2) {
  transition-delay: 0.2s;
}

.works-list_item:nth-of-type(3) {
  transition-delay: 0.4s;
}

.works-list_item:nth-of-type(4) {
  transition-delay: 0.6s;
}

.works-list_item:nth-of-type(5) {
  transition-delay: 0.8s;
}

.works-list_item:last-of-type {
  transition-delay: 1.0s;
}

.works-list.is-show .works-list_item {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .works {
    margin-top: 300px;
    padding-bottom: 150px;
  }

  .works_inner {
    margin-inline: auto;
    padding-inline: 40px;
    max-width: 1160px;
    padding-bottom: 200px;
  }
}