@charset "utf-8";
/* CSS Document */
main {
  padding: 6.4em 4em;
}
h1 {
  display: block;
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height: 20em;
  background: url(../img/sp_works_top.jpg) center center / cover no-repeat;
}
h1 > span {
  display: flex;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  flex-direction: column;
  font-size: 2em;
  font-weight: 600;
  text-shadow: #fff 0.06em 0.06em 0.33em;
  
}
h1 span span:nth-child(2) {
  font-size: 75%;
  font-family: 'Noto sans JP';
  font-weight: 400;
  padding: 0.5em 0 0 0.2em;
}

#profile_name {
  padding: 2em 0;
}
#profile_name h2 {
  text-align: center; 
  font-size: 2.5em;
  font-weight: 500;
  font-family: 'EB Garamond','Shippori Mincho';
  margin-bottom: 0.5em;
}
#profile_name span {
  display: block;
  font-size: 0.5em;
  font-weight: 300;
  font-family: 'EB Garamond','Shippori Mincho';
  color: #ccc;
}

h3 {
  font-size: 1.5em;
  font-weight: 500;
  font-family: 'EB Garamond','Shippori Mincho';
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
h3:after {
border-top: 1px solid;
content: "";
flex-grow: 1;
margin-left: 1rem;
}

#profile_career {
  padding: 1em 0 2em;
}
#profile_worklist {
  padding: 1em 0 0;
}


/* ---- 360px ---- */ 

@media screen and (max-width:374px) {
  body {
    font-size: 4vw;
  }
}

/* ---- TAB ---- */ 

@media screen and (min-width:768px) {
  #profile_name {
    padding: 4em 0;
  }
  #profile_career {
    padding: 2em 0 4em;
  }
  #profile_worklist {
  padding: 2em 0 0;
  }
}

/* ---- PC ---- */ 

@media screen and (min-width:1024px) {
  main > section  {
    width: 1000px;
    margin: 0 auto;
  }

  h1 {
    height: 450px;
  }
  h1 > span {
    left: 22%;
    font-size: 4em;
  }
  #profile_name h2 {
    font-size: 4em;
	margin-bottom: 1em;
  }
  h3 {
    font-size: 2em;
  }
}