@charset "utf-8";
/* === @reset === */
* {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  text-underline-offset: 0.15em;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  cursor:pointer;
  outline: none;
  transition: color  0.3s;
  color: #7f7f7f;
}
a:hover {
  opacity: 0.6;
  transition: 0.3s;
}
a:link {
  color: #7f7f7f;
}
a:visited {
  color: #7f7f7f;
}
*:focus {
  outline: none;
}
html {
  -webkit-text-size-adjust: 100%;
}
button, input, select, textarea {
  font-family : inherit;
  font-size : 100%;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: 0 0 6px rgba(0,0,0,0.2) inset;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2) inset;
}
/* === end@reset === */

/*layout*/
body {
  color: #7f7f7f;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;

  line-height: 1.7;
  text-align: justify;
/* font-size: 114%; */
}

.wrap {
  width: 90%;
  margin: 40px auto;
  max-width: 1000px;
}

.inner {
  /* width: 86%; */
  width: 65%;
  margin: 0 auto;
  /* background-color: yellow; */
}
.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;


  background-image: url(../img/main-visual-min.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 3.5em;
  background-color:#00000066; /* 黒色透過は0,0,0, */
  background-blend-mode:darken; /* 黒色透過はdarken */


  position: -webkit-sticky;/*safari用プレフィックス*/
  position: sticky;/*要素をsticky化*/
  top: 0;/*要素の位置*/
  z-index: -1000;

}
.header h1 {
  text-align: center;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;

  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-style: normal;


  font-size: 5.7vw;
  letter-spacing: 0.07em;
  font-weight: normal;
  /* color: #bbb; */
  color: #fff;
  /* transform: translate(0,-0.4em); */
  position: relative;
  top:-0.4em;
}
.header h1 i {
  font-size: 4vw;
  display: inline-block;
  transform: translate(0,1em) scale(1,1.1);
  font-weight: 300;
}
.header h1 span {
  display: block;
  font-size: 3.5vw;
  margin-top: -0.5em;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.header p a {
  font-size: 4em;
  color: #bbb;
}
.header p a:hover {
  color: #0080ff;
}
.scroll-icon {
  position: relative;
  top: 70%;
  /* transform:translateY(100px) ; */
}
.nav {
  position: fixed;
  top: 0;
  z-index: 999;
  /*PhotoSwipeのz-indexが1500なのでそれよりも小さくする*/
  width: 100%;
  padding: 0.9em 0 0.3em;
  background-color: #fff;
  /* opacity: 50%; */
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);

  z-index: 100;
}
.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  font-size: 0.96em;
}
.nav a {
  display: block;
  color: #7f7f7f;
  text-decoration: none;
  padding: 0 1em;
  font-weight: 700;
}
.nav a:hover {
  color: #0080ff;
}
.nav a::after {
  content: "";
  display: block;
  margin-top: 0.5em;
  border-bottom: solid 2px #aaa;
  transform: scale(0,1);
  transition: 0.2s;
}
.nav a:hover::after {
  border-bottom: solid 2px #0080ff;
  transform: scale(1.3,1);
}
.nav a i {
  padding-right: 0.5em;
}
.section {
  padding: 100px 0;
}
.col-1,
.col-3,
.col-5,
.col-7,
.footer{
  background-color: #f7f7f7;
}
.col-2,
.col-4,
.col-6,
.col-8 {
  background-color: #fff;
}
.section h2 {
  text-align: center;
  /* font-family: 'Righteous', cursive; */
    font-family: "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.03em;

  font-size: 1.6em;
  font-weight: normal;
  padding-bottom: 1.5em;
}
.section h2 i {
  padding-right: 0.3em;
}
.work-box-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.work-box {
  width: 30%;
  margin-bottom: 5em;
}
.work-box img {
  margin-bottom: 1em;
}
.work-box a {
  color: #0080ff;
  text-decoration: underline;
}
.work-box a:hover {
  color: #ff0000;
}
.about-flex {
  display: flex;
  justify-content: space-around;
}
.about-flex figure {
  width: 25%;
}
.about-flex figure figcaption {
  text-align: center;
  margin-top: 0.5em;
}
.about-flex p {
  width: 60%;
}
.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;
}
.skill-box h3 i {
  padding-right: 0.5em;
}
.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: #666;
  font-size: 3em;
}
.sns ul a:hover {
  color: #0080ff;
}
.footer {
  padding: 3em 0 5em;
  text-align: center;
}
.topback a{
  font-size: 3em;
  color: #aaa;
}
.topback a:hover {
  color: #0080ff;
}
/* end@pc */

/* @sp */
@media screen and (max-width:830px) {
  html {
    font-size: 87.5%;
  }
  body {
    /* background-position: center 5em;
    background-size: 340%; */
  }
  .header {
    height: 70vh;
    background-position: center 4em;
    background-size: 340%;
    position: relative;
  }
  .header h1 {
    font-size: 9vw;
    position: absolute;
    top: 19vh;
  }
  .header p {
    position: absolute;
    top: 40vh;
  }
  .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;
  }

  .inner {
    width: 86%;
    /* width: 65%; */
    margin: 0 auto;
    /* background-color: yellow; */
  }

  figcaption h3 {
    font-size: 90%;
  }

  .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){
  .header h1 {
    font-size: 9vw;
    position: absolute;
    top: 25vh;
  }
  .nav ul {
    width: 90%;
    font-size: 1em;
  }
  .work-box {
    width: 100%;
  }
}
@media screen and (max-width:320px){
  .nav ul {
    font-size: 0.85em;
  }
}

/* end@sp */