@charset "utf-8";
/* @reset */
* {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align:middle;
}
ol,ul {
  list-style: none;
}
i {
  font-weight: normal;
}
a {
  text-decoration: none;
  transition: color 0.3s;
}
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  box-shadow: 0 0 6px rgba(0,0,0,0.2) inset;
  border-radius: 15px;
}
::-webkit-scrollbar-thumb {
  background-color:#91cdf1;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2) inset;
}
  html{
    -webkit-text-size-adjust: 100%;
    font-family:'Noto Sans JP', sans-serif;
  }
/* end@reset */

/* pc layout */
body {
  background-color: #f8f1e3;
  color:#433d32;
 font-family: "Noto Sans JP",sans-serif;
 /* color:#281b06; */
 line-height: 1.7;
 text-align: justify;
}
.inner {
 width: 86%;
 margin: 0 auto;
}
.header {
  background-image: url(../img/portfolio_top.png);
  background-size:cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;

  
}
.header h1 {
  text-align: center;
  font-family: 'Stardos Stencil', cursive;
  font-size: 6vw;
  letter-spacing: .03;
  font-weight: normal;
  color:#9f7a36;
  transform: translate(0,0.2em);
}
.header h1 i {
  font-size: 4vw;
  display: inline-block;
  transform: translate(0,1em) scale(1,1.1);
  color:#0080ff;
}
header h1 span {
  display: block;
  font-size: 4.5vw;
  margin-top: -0.5em;
}
header p a {
  font-size: 4em;
  color:#0080ff;
}
header p a:hover {
  color:#4cd6a7;
}
.nav {
  position: fixed;
  top:0;
  z-index:999;
  width:100%;
  padding: 1em 0 .5em;
  background-color:#f8f1e3;
  box-shadow: 0 1px 1px rgba(58,54,45,.2);
}
.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 0 auto;
}
.nav ul a {
  display: block;
  color:#9f7a36;
  text-decoration: none;
  padding: 0 1em;
  font-weight: 700;
}
.nav a:hover {
  color:#4cd6a7;
}
.nav a::after {
  content:"";
  display: block;
  margin-top: .5em;
  border-bottom: solid 2px #aaa;
  transform: scale(0,1);
  transition: .2s;
}
.nav a:hover::after {
  border-bottom: solid 2px #0080ff;
  transform: scale(1.3,1);
}
.nav a i {
  padding-right: .5em;
}
.section {
  padding: 100px 0;
}
.col-1,.col-3,footer {
  background-color:#e1f1fa;
  /* opacity:.8; */
}
.col-2,.col-4 {
  background-color: #f8f1e3;
}
.inner h2 {
  color:#9f7a36;
}
.section h2 {
  font-family: 'Stardos Stencil', cursive;
  text-align: center;
  letter-spacing: .03em;
  font-size: 2em;
  font-weight: normal;
  padding-bottom: 1.5em;
}
.section h2 i {
  padding-right: .03;
}
.work-box-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.work-box {
  width: 30%;
  margin-bottom: 5em;
}
.work-box h3 {
  color:#9f7a36;
  font-size: 1.5em;
}
.work-box img {
  margin-bottom: 1em;
}
.work-box a {
  color:#0080ff;
  transition: .3s
}
.work-box a:hover {
  color:#4cd6a7;
}
.about-flex {
  display: flex;
  justify-content: space-around;
}
.about-flex figure {
  width: 25%;
}
.about-flex figure figcaption {
  text-align: center;
  margin-top: .5em;
  color:#9f7a36;
}
.about-flex p {
  width: 60%;
  color:#433d32;
  font-size: 1.2em
}
.about_me {
  font-size: 1.2em;
  color: #23475d;
  width: 80%;
  margin: 0 auto 2em;
}
.skill-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.skill-box {
  width: 45%;
  margin-bottom: 4em;
}
.skill-box h3 {
  font-size: 1.5em;
  color:#23475d;
}
.skill-box h3 i {
  padding-right: 0.5em;
}
.fa-star,
.fa-star-half{
  color:#4cd6a7;
}
.sns {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sns ul {
  width: 40%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3em;
}
.sns ul a {
  display: inline-block;
  color:#91cdf1;
  font-size: 3em;
  transition: .3s
}
.sns ul li a:hover {
  color:#4cd6a7;
}
.footer {
  padding: 3em 0 5em;
  text-align: center;
}
.topback a {
  font-size: 3em;
  margin-bottom: .3em;
  color:#aaa;
  transition: .3s;
}
.topback a:hover {
  color:#4cd6a7;
}

/* responsive */
@media screen and (max-width:830px) {
  html {
    font-size: 87.5%;
  }
  .header h1 {
    font-size: 9vw;
  }
  .header h1 i {
    font-size:6vw;
  }
  .header h1 span {
    font-size: 7vw;
  }
  .nav .hide {
    display: none;
  }
  .nav li a {
    font-size: 2em;
    padding: 0;
  }
  .nav a::after {
    display: none;
  }
  .nav a i {
    padding-right: 0;
  }
  .work-box {
    width: 48%;
  }
  .about-flex {
    flex-direction: column;
    align-items: center;
  }
  .about-flex figure {
    width: 40%;
    margin-bottom: 2em;
  }
  .about-flex p {
    width: 100%;
  }
  .skill-box {
    width: 100%;
  }
  .sns ul {
    width: 80%;
  }
}

@media screen and (max-width:480px) {
  .nav ul {
    width: 90%;
    font-size: 1em;
  }
}
@media screen and(max-width:320px) {
  .nav ul {
    font-size: .85em;
  }
}

/* end pc layout */
