body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.section {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
  font-family: 'Bilbo Swash Caps', cursive;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  transition: background-color .6s;
}

.header.active {
  /* background-color: rgba(196, 194, 194, 0.842); */
  background-color: #333;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  margin-right: 20px;
  letter-spacing: .08em;
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
}

.header-logo img {
  vertical-align: middle;
}

.header-logo-work {
  filter: none;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .1em;
  color: #111;
  /* font-family: 'Libre Baskerville', serif; */
}

.top a {
  color: #eee;
}

/* ナビ下の線 */
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #eee;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;

  background-image: url(../img/wind.jpg);
  background-repeat: no-repeat;
  /* background-position: 0px -500px; */
  background-position: center center;
  background-size: cover;
}

.mv-container {
  padding: 0 40px;
}

.fadein {
  opacity: 0;
  animation: fadein 3s ease forwards;
}

@keyframes fadein {
  100% {
    opacity: 1;
  }
}

.mv-title {
  font-size: 60px;
  /* font-weight: bold; */
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;
  color: #fff;
  animation-delay: 0.1s;
  font-family: 'Bilbo Swash Caps', cursive;
  /* font-family: 'Libre Baskerville', serif; */
}

.mv-subtitle {
  font-size: 15px;
  /* font-weight: bold; */
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: 0.8em;
  color: #fff;
  animation-delay: 0.5s;
  /* font-family: 'Libre Baskerville', serif; */
}

/*スクロールダウン*/
.scrolldown {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 30px;
  /*全体の高さ*/
  height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/*--------------------------------
 Works
---------------------------------*/
/* フェードイン */
.fadein1 {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein1.active {
  opacity: 1;
  transform: translate(0, 0);
}

.works .container{
  padding: 0 auto;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
  margin: 0 auto;
}

.works-item {
  width: 31.74603%;
  margin-right: 0.7935%;
  margin-left: 0.7935%; 
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: .6;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}


/*--------------------------------
 certificate
---------------------------------*/
.certificate-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.certificate-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.certificate-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.certificate-body {
  flex: 1;
}

.certificate-name {
  margin-bottom: 10px;
}

.certificate-text {
  font-size: 14px;
  line-height: 1.8;
}


/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.profile-img {
  width: 20%;
  margin-right: 30px;
  border-radius: 50%;
}

.profile-img img {
  border-radius: 50%;
}

.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

/* フォーム */
.c-form {
  max-width: 600px;
  margin: 0 auto;
}

.c-form_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 20px;
}

.c-form_label,
.c-form_input {
  padding: 10px;
  text-align: left;
}

.c-form_label {
  width: 90%;
}

.c-form_input {
  width: 90%;
  font-size: 1.1vw;
  border: solid 1px #333;
  background-color: #fff;
}

.c-form_input:focus-visible {
  outline: #1ca9e3 auto 1px;
}

.c-form_required {
  color: #1ca9e3;
}

textarea.c-form_input {
  height: 160px;
}

.c-form_submit {
  text-align: center;
}

.c-form_submit button {
  width: 15vw;
  height: 4vw;
  line-height: 4vw;
  display: block;
  font-size: 1.1vw;
  letter-spacing: .1em;
  margin: 5vw auto;
  text-align: center;
  color: #1ca9e3;
  background-color: transparent;
  border: solid 1.5px #1ca9e3;
  transition: 0.4s;
  cursor: pointer;
}

.c-form_submit button:hover {

  color: #fff;
  background-color: #1ca9e3;
}

@media (min-width: 640px) {
  .c-form_item {
    flex-wrap: nowrap;
  }

  .c-form_label {
    width: 40%;
  }

  .c-form_input {
    width: 55%;
  }
}

@media screen and (max-width: 767px) {
  .c-form_submit button {
    width: 38vw;
    height: 10vw;
    line-height: 10vw;
    margin: 10vw auto;
  }
}

/* サンクスページ */
.thanks {
  text-align: center;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 11px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
    height: 75vh;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 40px;
  }

  .mv-subtitle {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .mv-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Works */
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Certificate */
  .certificate-list {
    display: block;
    margin-bottom: 0;
  }

  .certificate-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .certificate-item:last-child {
    margin-bottom: 0;
  }

  .certificate-name {
    margin-bottom: 5px;
  }

  .certificate-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }

  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}