* {
  padding: 0;
  margin: 0;
  font-family: 'Amiri', 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}


main {
  display: flex;
  flex-direction: column;
}

@font-face {
  font-family: "Asther";
  src: url("/font/Asther-Regular.ttf") format("truetype");
}




/* ########################## */
/* mobileversion */
/* ########################## */

@media (min-width:300px){

  h2 {
    font-size: 40px;
    font-family: "ivymode", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: slategray;
    letter-spacing: 5px;
  }
  
  h3 {
    font-size: 18px;
    font-weight: 300;
    font-family: "biz-udpmincho", sans-serif;
    font-style: normal;
    letter-spacing: 5px;
  }

p {
    line-height: 2rem;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-family: "biz-udpmincho", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    text-align: justify;
    color: #333333;
  }

  a {
    font-family: "biz-udpmincho", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2em;
  }

/* header */

header {
  /* background-color: #D3C8C6; */
  padding: 20px;
}
.sns a{
  color: #F5F4E4;
}

.pc {
  display: none;
}

.sns_sp {
  display: flex;
  column-gap: 30px;
  justify-content: center;
}

.sp img{
  padding-bottom: 20px;
  width: 40px;
}

 .sp a {
  text-decoration: none;
  color: #333333;
  letter-spacing: 0.1em;
}

.sp ul {
  display: flex;
  justify-content: space-around;
}

.sp .menu {
  align-items: center;
  justify-content: center;
}

.sp .menu a,
.sp .menu_list {
  font-family: "ivymode", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* header */
.mainVisual{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}


body:before{
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  /* background-color: #B98E75; */
  /* background-color: #DADCD6; */
  /* background-color: rgb(235, 231, 227); */
  /* background-color: #F8F4F1; */
  background-color: #f2f1ee;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}



.mainVisual > h1{
  font-size: 70px;
  color: slategray;
  font-family: "ivymode", sans-serif;
  font-family: "Asther";
  /* font-family: "grande"; */
  font-weight: 300;
  font-style: normal;
  letter-spacing: 5px;
  animation-name:blurAnime;
  animation-duration:3s;
  animation-fill-mode:forwards;
  letter-spacing: 15px;
  line-height: 1.5;
}



@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  }

  to {
  filter: blur(0);
  transform: scale(1);
  }
}


/* .scroll_down {
  position: relative;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 10vh;
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }

.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 13px;
  padding: 10px 10px 110px;
  color: slategray;
  font-size: 10px;
  font-family: "ivymode", sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}

.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #F5F4E4;
}

.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #333333;
}

.scroll_down a:hover {
  opacity: .5;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
} */

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* footer */
footer {
  /* background-color: #D3C8C6; */
  padding: 10%;
  text-align: center;
  color: slategray;
  font-family: "ivymode", sans-serif;
  font-weight: 300;
  font-style: normal;
}


/* about */
.about {
  display: flex;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
.about-wrapper{
  padding-top: 10vh;
  padding-bottom: 10vh;
  width: 85%;
  display: flex;
  flex-direction: column;
  row-gap: 5vh;
  align-items: center;
}

.about h2 {
  font-size: 18px;
  font-weight: 300;
  font-family: "biz-udpmincho", sans-serif;
  font-style: normal;
  color: #333333;
}

.myself {
  width: 25vh;
  height: 30vh;
  /* border-top-left-radius: 50%; */
  /* border-top-right-radius: 20%; */
  object-fit: cover;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
  column-gap: 20px;
}
.skills img{
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.skills figcaption {
  font-size: 12px;
  padding-top: 5px;
}

.about ul{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px;
  line-height: 2.5;
}

.about-wrapper > aside{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 30px;
}


/* skill */
.skill {
  display: flex;
  justify-content: center;
  height: 40vh;
  padding-top: 5vh;
  padding-bottom: 5vh;
}
.skill-wrapper{
  max-width: 85%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 5vh;
}


.skill-wrapper aside {
  display: flex;
  flex-wrap: wrap;
  row-gap: 3vh;
  column-gap: 3vh;
}

.skill figure {
  display: flex;
  flex-direction: column;
  row-gap: 2vh;
  align-items: center;
  width: 20%;
}

.skill img {
  width: 6vh;
  height: 6vh;
}

.skill figcaption {
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}


/* previous work */

.work{
  display: flex;
  justify-content: center;
  padding-top: 5vh;
  padding-bottom: 5vh;
}
.work-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 5vh;
  align-items: center;
}

#work-items{
  display: flex;
  flex-direction: column;
  row-gap: 5vh;
}

.work-item{
  display: flex;
  flex-direction: column;
  row-gap: 3vh;
}

.work img {
  width: 40vh;
  height: 40vh;
  object-fit: cover;
  color: #333333;
  /* border-radius: 3%; */
}

.work figcaption{
  display: flex;
  text-align: left;
}

.work figcaption > a{
  text-decoration: none;
  transition: .4s;
  font-size: 12px;
  line-height: 2rem;
  letter-spacing: 0.2rem;
  width: 40vh;
  color: #333333;
}

.work figcaption > a:hover {
  color: ghostwhite;
} 

/* service */
.service{
  display: flex;
  justify-content: center;
  padding-top: 30vh;
  padding-bottom: 5vh;
}
.service-wrapper {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 5vh;
}

.service section {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

.service aside {
  display: flex;
  flex-direction: column;
  row-gap: 3vh;
  align-items: center;
}

.service aside > img{
  width: 10vh;
}


.service h3,
.service p {
  color: #333333;
}



}

/* ######################### */
/* tabletversion */
/* ######################### */

@media (min-width:600px){

  
  h2 {
    font-size: 30px;
  }
  
  h3 {
    font-size: 20px;
  }

  p {
    font-size: 12px;
    text-align: justify;
  }

  header {
    padding: 25px;
  }

  .scroll_down{
    padding-bottom: 30vh;
  }

  .sp {
    display: none;
  }

  .pc {
    display: inline;
  }


  .sns_pc {
    display: flex;
    column-gap: 30px;
  }
  
   .pc a {
    text-decoration: none;
    color: #333333;
    letter-spacing: 0.1em;
  }

  .pc img {
  width: 30px;
  }

  .pc .logo{
    width: 100px;
  }
  
  .pc .menu {
    align-items: center;
    justify-content: center;
  }
  
  .pc .menu a,
  .pc .menu_list {
    font-family: "ivymode", sans-serif;
    font-weight: 300;
    font-style: normal;
  }


  .pc ul {
    display: flex;
    column-gap: 40px;
    align-items: center;
  }

  .pc .menu {
      display: flex;
      justify-content: space-between;
  }

  .mainVisual{
    height: 700px;
  }

  .mainVisual > h1{
    font-size: 120px;
  }

  /* about */
  .about {
    display: flex;
    align-items: center;
    column-gap: 3vh;
  }
  

  .myself {
    width: 25vh;
    height: 30vh;
  }

  .skills img {
    width: 30px;
    height: 30px;
  }

  /* skill */

  

  .skill-wrapper aside{
    justify-content: center;
  }

 .skill img {
  width: 8vh;
  height: 8vh;
}

.skill figcaption {
  font-size: 12px;
}

/* education */

.education li {
  font-size: 15px;
}

/* previous work */

.work figcaption > a{
  text-decoration: none;
  transition: .4s;
  font-size: 12px;
}


.work-wrapper{
  padding-top: 10vh;
}

#work-items {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 8vh;
  column-gap: 6vh;
  width: 90%;
}

/* service */
.service {
  height:53vh;
  padding-bottom: 5vh;
}

.service aside {
  width: 30%;
}

.service > article {
  height: 53vh; 
}

.service section {
  display: flex;
  flex-direction: row;
  column-gap: 50px;
}

/* contact */

.contact aside {
  justify-content: center;
  width: 95%;
}
.contact li {
  font-size: 15px;
}

.contact li > a {
  font-size: 15px;
}

.contact button {
  width: 13vh;
  height: 3vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}



}

/* ############# */
/* desktopversion */
/* ############## */

@media (min-width:1000px){


  /*マウスカーソル*/

body{
  position: relative;
  cursor: none; 
  /* height:100vh; */
}

/* a{
  display:inline-block;
} */

#cursor{
  position: fixed;
  background: slategray;
  border-radius:10px;
  width: 10px;
  height: 10px;
  margin: -10px 0 0 -10px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.1s;
}

#stalker{
  position: fixed;
  border: 1px solid #333333;
  width: 60px;
  height: 60px;
  border-radius:30px;
  margin: -30px 0 0 -30px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.5s;
}

#cursor.active,
#stalker.active{
  transform: scale(1.4);
}

  h2 {
    font-size: 40px;
  }
  
  h3 {
    font-size: 23px;
  }

p {
    font-size: 14px;
    line-height: 2.5;
    text-align: justify;
  }
/*header*/
header {
  padding: 10px 35px;
}
.sp img {
  width: 25px;
}
  
  .mainVisual {
    height: 80vh;
    /* background-position: 25% 65%; */
  }

.mainVisual > h1 {
    font-size: 200px;
  }

  .scroll_down {
    padding-bottom: 10vh;
  }

  /* about */

  .about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
  }
  
  .about-wrapper{
    max-width:70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  
  
  .myself {
    width: 45vh;
    height: 50vh;
  }


  
  .about aside {
    width: 50%;
  }

  .about h2 {
    font-size: 20px;
  }

  .skills img {
    width: 35px;
    height: 35px;
  }

  /* skill */
  .skill {
    height: 68vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }

  .skill-wrapper{
    max-width: 70%;
  }

  .skill-wrapper aside{
    column-gap: 8vh;
    padding-top: 5vh;
  }

  .skill img {
    width: 12vh;
    height: 12vh;
  }
  
  .skill figcaption {
    font-size: 16px;
  }

  /* education */
  .education-wrapper{
    max-width: 70%;
    
  }
  .education {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-left: 30vh; */
  }
  .education li {
    font-size: 17px;
  }

  /* previous work */
  
  #work-items{
    max-width:100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 8vh;
    /* column-gap: 6vh; */
    /* width: 75%; */
  }

.work-item a{
  overflow: hidden;
}
.work-item img {
  transition: all 0.5s ease-in-out;
}
.work-item img:hover {
  transform: scale(1.1);
  transition: all 0.5s ease-in-out;
}

  
  
  .work img {
    /* width: 100%; */
    width: 40vh;
    height: 40vh;
    /* object-fit: cover; */
  }

  
  .work figcaption > a{
    text-decoration: none;
    transition: .4s;
    font-size: 14px;
  }

  .work figcaption > a:hover{
    color: lightslategray;
  }
  
  
  /* service */

  .service{
    padding-bottom: 10vh;
  }

  .service-wrapper {
    display: flex;
    max-width: 75%;
    column-gap: 5vh;
    row-gap: 10vh;
  }

  .service-wrapper section{
    display: flex;
    justify-content: space-between;
    column-gap: 90px;
  }
  
  .service aside {
    width: 40%;
  }


/*footer*/
  footer {
    padding: 3%;
  }

  
  
}