/* html {
  scroll-padding-top: 200px;
} */

body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #151F4D;
}

a {
  transition: opacity .3s;
  text-decoration: none;

}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;

}

.section {
  padding: 150px 0  40px 0;
}


.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  
}

.container-skil {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-evenly;
}



/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1;
  margin: 50px auto 80px auto;
  text-align: center;
  letter-spacing: .05em;
  width: 300px;
  
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin: 30px auto;
  text-align: left;
  display: inline-block;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
  border-bottom: solid 1px #5ce1e6;
  
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin: 10px;
  letter-spacing: .05em;

}

.header-logo a {
  color: #151F4D;
}
.header-logo span {
  color: #FF8A04;
}


.header-logo2 {
  font-size: 78px;
  font-weight: bold;
  line-height: 1.2;
  margin: 20px;
  letter-spacing: -0.1em;
  
}

.s {
  color: #FF8A04;
  
}

.header-logo2 a span{
  color: #151F4D;
  
}


.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  
}

.gnav-list2 {
  display: block;
  list-style: none;
  
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  margin: 15px 0 0 20px;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
  
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.gnav-item a:hover:after {
  width: 100%;
}

.gnav-title {
  font-size: 72px;
  margin: 10px 40px 20px 20px;
 
}

.gnav-title span {
  color: #FF8A04;
  font-size: 72px;
 
}

.gnav-subtitle {
  margin: 0 40px 40px 20px;
  font-size: 32px;
 
}

.gnav-text {
  margin: 0 40px 40px 20px;
  color: #01aa9c;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/

#mv {
  position: relative;
  display: flex;
  opacity: 0;
  transition: opacity 4s ;
  height: 100vh;

}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffdfba;
    
    transition: 3s;
    z-index: 10;
}
.circle.is-animated {
    transform: scale(30);
}

#mv-view {
  z-index: 10;
  margin: 50px auto auto 20px;
  
}

#mv-container {
  width: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  

  
  
}

#mv-container  img {
margin-left: auto;
width: 87em;
z-index: 8;
}


/*--------------------------------
 Works
---------------------------------*/
.container h3 {
margin-bottom: 10px;
}

#works {
  opacity: 0;
  transition: opacity 4s;
  
}


.works-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,300px);
  justify-content: center;
  grid-gap: 2em;
  
}

.works-item {
  width: 300px;
  margin-bottom: 40px;
  color: #151F4D;
  border: solid 1px #c0c0c0;
  
}

.works-item:hover {
  opacity: .9;
}

.works-item a {
  padding: 10px;
  align-items: right;
}



.works-img {
  width: 100%;
  height: 200px;
  background-color: #f7f7f7;
  text-align: center;

}


.works-img img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  object-position: top;
} 


.works-name {
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
  padding: 0 10px 0 10px;
}

.works-info {
  font-size: 12px;
  padding: 0 10px 0 10px;
}

/*--------------------------------
 Skill
---------------------------------*/
#skill {
  opacity: 0;
  transition: opacity 4s;
}

.skill-list-1 {
  width: 100%;
  margin: 0 auto;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 80%;
  margin-bottom: 50px;
}

.skill-img {
  height: auto;
  margin-right: 20px;
  border: solid 1px #FF8A04;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

/*--------------------------------
 About
---------------------------------*/
#about {
  opacity: 0;
  transition: opacity 4s;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.profile-img {
  width: 20%;
  margin-right: 30px;
  
}

.profile-img img {
  border-radius: 30px;
  box-shadow: -15px 15px 0px 4px #151F4D;

}

.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;
  opacity: 0;
  transition: opacity 4s;
}



.contact-list > img {
  border: solid 1px #151F4D;
  margin-right: 10px;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}
/*--------------------------------
 ページトップ
---------------------------------*/

#TOP-re {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 99;
  
}

#TOP-re a {
  background : #fcbefc;
  border-radius: 50%;

  text-decoration: none;
  color: #151F4D;
  width: 90px;
  padding: 20px 5px;
  text-align: center;
  display: block;
  opacity: 0.9;
  transition: all .3s ease;
  margin: 20px 20px 30px auto;
}

#TOP-re a:hover {
  background: #a8b8ff;
  text-decoration: none;
  opacity: 1;
  border-radius: 50%;
  animation: poyon 1.2s infinite;

}



/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
}

.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;
  color: #333;
}

.article-body video {
  width: 780px;
  height: auto;
}

.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;
  color: #333;
}

.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: 20px auto 40px auto;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0 10px 0;
  }

  .container {
    padding: 0 20px;
    
  }

  .circle {
    width: 15px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffdfba;
    transition: 3s;
    z-index: 10;
}
.circle.is-animated {
    transform: scale(40);
}

  .container-skil {
    padding: 0 20px;
    display: block;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .header-logo2 {
    font-size: 28px;
    margin: 0px auto 5px 10px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
    margin-left: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  .gnav-title {
    font-size: 24px;
    margin: 5px auto 5px 10px;
  }

  .gnav-subtitle {
    font-size: 16px;
    margin: 0 10px;
  }

  .gnav-title span {
    font-size: 24px;
  }

 .gnav-text {
  font-size: 12px;
  margin: 5px auto 5px 10px;
  width: 180px;
  color: #01aa9c;
 }

.circle.is-animated {
    transform: scale(40);
}






  /*  メインビジュアル */
  #mv {
    height: 45vh;
    display: flex;
  }

  #mv-view {
    margin: 10px 0 60px 10px;
    
  }

  #mv-container img {
    padding-top: 140px;
    width: 40em;
  }

  

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }


  /* Works */
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
    margin-bottom: 20px;
  }

  .works-list {
    display: grid;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .works-img {
  width: 100%;
  height: 250px;
  align-content: center;
  text-align: center;
}

  /* Skill */
  .skill-list-1 {
    display: block;
    margin-bottom: 40px;
  }

  .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;
  }

  /* 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;
  }


  /* TOPページに戻るボタン */

  #TOP-re {
  position: fixed;
  bottom: 30px;
  right: 5px;
  z-index: 99;
  
}


  #TOP-re a {
  background : #fcbefc;
  font-size: 12px;
  border-radius: 50%;

  text-decoration: none;
  color: #151F4D;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
  display: block;
  opacity: 0.9;
  transition: all .3s ease;
  margin: 0 auto;
}

#TOP-re a:hover {
  background: #a8b8ff;
  text-decoration: none;
  opacity: 1;
  border-radius: 50%;
  animation: poyon 1.2s infinite;

}





  /* フッター */
  .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;
    color: #333;
  }

  .article-body video {
    width: 335px;
  }

}