@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul,li {
  list-style: none;
}
a {
  text-decoration: none;
  color: black;
}
html {
  font-family: "Noto Sans JP",sans-serif;
}
body {
  max-width: 100%;
}

/* header */
.header-main {
  
  /* background-color: aquamarine; */
  display: flex;
  text-align: center;
  width:90vw;
  height: 70vh;
  margin: 5vw auto;
}
h1.title {
  font-weight: 600;
  margin-left: 35vw;
  margin-top:10vw; 
  letter-spacing:0.75vw;
  line-height: 2
}
nav p {
  display: none;
}
nav ul {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 5vw;
  
}
nav ul li a{
  font-weight: 300;
  color: teal;
  margin-top: 3em;
  
}
nav ul li a:hover {
 color: #0080fa
}
nav ul li a::after {
  content: "";
  display: block;
  margin-top: 0.5em;
  border-bottom:solid 2px #fff;
  transform: scaleX(0);
  transition: 0.2s;
}
nav ul li a:hover::after {
  border-bottom: solid 2px pink;
  transform: scaleX(1);
}
.header-main nav ul {

position: fixed;
}

/* end@header */

/* @work */

.container {
  /* background-color: aquamarine; */
  width: 80%;
  margin-left:15vw ;
  font-weight: 300;
}
.subtitle {
  font-size:2.5vw;
  font-weight: 200;
  text-align: center;
  padding-top: 8vh
}

#work img {
  margin: 0 10vw;
  width: 80%;
}
.project-1-title {
  font-size: 1.5vw;
  /* background-color: #0080fa; */
  margin:10vh 0 0 10vw;
}
a img {
  transition: 0.3s
}
a img:hover {
  opacity: 0.7;
}
.detail-1 a{
  color: black;
  font-size: 1.5vw;
  margin-left:65vw;
}
.detail-1 a:hover {
  opacity: 0.5;
}
.pdf {
  margin-left: 65vw;
  margin-top: 3vh;
}
.pdf i {
  font-size: 2em;
}
.pdf a:hover {
  color: #0080fa
}
/* @about */
.aboutcontent {
  display: flex;
  width: 70%;
  margin-left: 10vw;
  margin-top: 8vh
}
.text {
  margin-left: 3vw;
  margin-top: 5vw

}
.name {
  font-weight: 400;
  font-size: 2vw
}
.self-introdaction {
  font-weight: 400;
  margin-top: 5vh;
  line-height: 2;
  font-size: 0.9vw;
}
#about img {
  width: 20vw;
  
  object-fit: cover
}
/* end@about */

/* @skill */

.skill-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: 10vw;
  margin-top: 8vh;
}
.skill-box {
  width: 45%;
  margin-bottom: 4vh;
}

.skill-box h2 i {
  padding-right: 1vw;
}
.skill-text {
  font-weight: 400;
  font-size: 0.7vw;
  text-align: center;
  margin-right: 18vw;
}
.fa-solid.fa-palette {
  font-size: 1.5em;
}
.fa-regular.fa-star-half-stroke{
  font-size: 2vw
}
.skill-box i {
  padding-top: 1vh;
  padding-bottom: 1vh;
}
.skillstar {
  margin-left: 3vw
}
/* end@skill */

/* @footer */
address {
  font: inherit
}
.sns {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sns ul {
  width: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5vh;
}
.sns ul a {
  display: inline-block;
  margin-top: 5vh;
  transition: 0.3s;
}
.sns ul i {
  font-size: 3vw;
}
.footer {
  padding: 3em 0 5em ;
  text-align: center;
}
.topback a{
  font-size: 3em;
  color: teal;
  transition: 0.3s;
}
.topback a:hover {
  color: pink;
}
/* end@footer */

/* @mooving letter */
.mainVisual__title {
  font-size: 1.6rem;
  line-height: 4.6rem;
  position: absolute;
  top: calc(100vw * (450/1920));
  right: calc(100vw * (344/1920));
}

.mainVisual__title span {
  display: inline-block;
}
/* end@mooving letter */


/* work */
.angle-left,.angle-right {
  font-size: 1.3vw;
  margin-bottom: 1vh;
  font-weight: 300;
}
i.fa-solid {
  font-size: 2vw;
}
.top a{
  display: flex;
  align-items: center
}
.top a:hover {
  opacity: 0.5;
}
.back a{
  display: flex;
  align-items: center;
  margin-left:90%
}
.back a:hover {
  opacity: 0.5;
}
.work-1-description {
  font-weight: 300;
  line-height: 1.75;
}
.work-1 {
  width: 60%;
  margin: 0 auto
}
.work-1-description {
  text-indent: -1em;
  padding-left: 1em;
  margin-top: 5vh
}
.work-box-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 8vh;
}
.work-box {
  width: 40%;
  margin-bottom: 10vh;
}
.work-box h3 {
  font-weight: 400;
}
.work-box p {
  font-weight: 300;
  margin-top: 2vh;
}

.work-box img {
  margin-bottom: 1em;
}
.work-box a{
  color: #0080fa;
  text-decoration: underline;
  transition: 0.3s;
}
.work-box a:hover {
  opacity: 0.5;
}

/* responsive */

@media screen and (max-width:830px ){
  html {
    font-size: 87.5%;
  }
  nav {
    position: fixed;
    margin-left: 70%;
    transition:0.6s;
    z-index: 999;
  }
  nav ul li a:hover::after {
    border-bottom: solid 2px #fff;
  }
  nav.hide{
    transform: translateY(-100%);
    opacity: 0;
  }
  nav p {
    display: block;
    color: teal;
    border: 2px solid teal;
    border-radius: 3px;
    padding: 1vh 4vw 1vh 4vw;
    background-color: #fff;
    box-sizing: border-box;
    }
  nav ul {
    display: none;
    height:35vh;
    width: 90%;
    position: relative;
    right: 1vw;
  }
  nav ul li a {
    display: block;
    border: 2px solid teal;
    margin: 0.5vh;
    padding: 1vh 1vw 0 1vw;
    border-radius: 3px;
    background-color: #fff;
  }
  .header-main {
    height: 20vh;
  }
  h1.title {
    margin: 10vh auto;
    line-height: 1.5;
    font-size: 7vw;
  }
  .container {
    width: 100%;
    margin: 0 auto;
  }
  .subtitle {
    font-size: 6vw
  }
  .project-1-title {
    font-size: 3.5vw;
    margin:2vh 0 0 10vw;
  }
  .detail-1 a{
    font-size: 3.5vw;
    margin-left:85vw;
  }

  .aboutcontent {
    display: block;
    margin: 0 auto;
    width: 90%;
  }
  .self-introdaction {
    font-weight: 300;
    margin-top: 3vh;
    font-size: 4vw;
  }
  .name {
    font-weight: 400;
    font-size: 8vw;
    text-align: center
  }
  #about img {
    width: 30vw;
    margin-left: 30vw;
    object-fit: cover;
    margin-top: 3vh
  }

  .skill-flex {
    display: block;
    margin: 0 ;
  }
  .skill-box {
    width: 70%;
    margin: 15vw auto;
    margin-right: 10vw;
  }
  .skill-text {
    line-height: 2;
    font-weight: 400;
    font-size: 2.5vw;
    text-align: center;
  }

  .skillstar {
    margin-left: 10vw
  }
  .fa-regular.fa-star-half-stroke{
    font-size: 4vw
  }
  .sns ul {
    width: 60%;
    margin-bottom: 2vh
  }
  .sns ul i {
    font-size: 15vw;
  }

.work-1 {
  width: 80%
}
.angle-left,.angle-right {
  font-size: 3.5vw;
}
i.fa-solid {
  font-size: 4vw;
}
.work-box-flex {
  display: block;
}
.work-box {
  width: 100%;
  margin-bottom: 8vh;
}
.work-box h3 {
  font-size: 3.5vw;
}
.work-box p {
  font-size: 2.5vw;
}
.back a{
  margin-left:70%;
}
.wrap {
  overflow: hidden;
}
}



