@charset "utf-8";
body {
  max-width: 100%;
  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%;
  vertical-align: bottom;
  border-style: none;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
} 
/*--------------------------------
レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}
.section {
  padding: 90px 0;
}
.section:nth-of-type(odd) {
  margin: auto;
  background-color: #f7f7f7;
}
.container {
  max-width: 100%;
  margin:  0 auto;
  padding: 40px;
}

/*--------------------------------
見出し
---------------------------------*/
h2.title {
  height: 70px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin: 0px auto 25px auto;
  padding: 20px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  max-width: 100%;
  margin: auto;
  position: fixed;
  top: 0;
  z-index: 1;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}
.header .container {
  width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 20px 40px;
}
.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}
.header-logo a {
  color: #333;
}
.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;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 10%; 
  width: 0;
  height: 3px;
  content: ""; 
  transition: .3s;
}
.gnav-item a:hover:after {
  width: 100%;
} 

/*--------------------------------
メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mv-container {
  width: 1400px;
  margin: auto;
  position: relative;
  padding: 0 20px;
}
.mv-container img {
  margin: auto;
  width: 1440px;
  height: auto;
}

/*--------------------------------
Works
---------------------------------*/
.works-section {
  background-color: #f7f7f7;
}
.works.section {
  width: 1400px;
  height: auto;
  margin: auto;
  box-sizing: border-box;
}
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}
.works-item {
  width: 31.74603%;
  height: auto;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #333;
}
.works-img img   {
  width: 500px;
  height: auto;
  border: 1px solid #e6e6e6;
  margin: auto;
}
.works-item:hover {
  opacity: .9;
}
.works-item:nth-of-type(3n) {
  margin-right: 0;
}
.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: 46%;
  margin-bottom: 50px;
}
.skill-img img {
  width: 100px;
  height: 100px;
  height: auto;
  margin-right: 20px;
}
.skill-body {
  flex: 1;
}
.skill-name {
  margin-bottom: 10px;
}
.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

/*--------------------------------
 About
---------------------------------*/
.about section, #about {
  padding-top: 0;
}
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}
.profile-body {
  width: 1440px;
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact section, #contact {
  padding-top: 0;
}
#contact {
  text-align: center;
}
.contact-item:not(:last-child) {
  margin-right: 10px;
}
.contact-list img {
  width: 70px;
  height: 70px;
  margin: auto;
  padding: 5px;
}
.contact-text {
  margin-top: 10px;
}
/*--------------------------------
 ページトップ
---------------------------------*/
.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 {
  max-width: 100%;
  padding: 30px;
  background-color: #333;
}

.copyright {
  max-width: 100%;
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1440px;
  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 img {
  width: 100%;
  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;
}

.home-link {
  text-align: center;
}



/*--------------------------------------------------
media Queries 767
----------------------------------------------------*/
/* --------------------------------
レイアウト
--------------------------------- */
@media screen and (max-width: 767px) {
  body {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .wrapper {
    padding-top: 73px;
  }
  .section {
    width: 100%;
    height: auto;
    padding: 90px 0;
  }
  .section:nth-of-type(odd) {
    background-color: #f7f7f7;
  }
  .container {
    margin: 0px 20px;
    padding: 0;
  }
  a {
    width: 100%;
    height: auto;
    margin: 0;
  }

  /*--------------------------------
  見出し
  ---------------------------------*/
  h2.title {
    max-width: 100%;
    height: auto;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0px;
    padding-top: 30px;
    text-align: center;
    letter-spacing: .05em;
    color: #333;
  }

  .lead {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  /*--------------------------------
  ヘッダー
  ---------------------------------*/
  .header {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
  }
  .header .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 20px 40px;
  }
  .header-logo {
    margin: 10px 2px 10px 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: .05em;
  }
  .header-logo a {
    color: #333;
  }
  .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: 10px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
    transition: .3s;
    letter-spacing: .05em;
    color: #333;
  }
  
  /*--------------------------------
  メインビジュアル
  ---------------------------------*/
  .mv {
    width: 100%;
    text-align: center;
    margin: 0px;
  }
  .mv-container {
    width: 100%;
    margin: auto auto auto 0;
    padding: 0 15px;
  }
  .mv-container img {
    height: auto;
    margin: auto;
  }

  /*--------------------------------
  Works
  ---------------------------------*/
  .works.section {
    width: 100%;
    height: auto;
    margin: 0;
    box-sizing: border-box;
  }
  .works-list {
    width: 100%;
    height: auto;
    margin-bottom: -40px;
  }
  .works-item {
    width: 100%;
    height: auto;
    margin: auto;
    color: #333;
  }
  .works-img,img  {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    margin-bottom: 5px;
  }
  .works-item:hover {
    opacity: .9;
  }
  .works-item:nth-of-type(3n) {
    margin-right: 0;
  }
  .works-name {
    font-size: 12px;
    font-weight: bold;
    margin-top: 2px;
  }
  .works-info {
    font-size: 10px;
    margin-bottom: 20px;
  }

  /*--------------------------------
  Skill
  ---------------------------------*/
  .skill section {
    word-wrap: break-all;
    padding-top: 0;
  }
  .skill-list {
    background-color: aliceblue;
    height: auto;
    margin-bottom: -50px;
  }
  .skill-item {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: auto;
    margin-top: 15px;
  }
  .skill-img  {
    width: 20%;
    height: auto;
    margin: auto;
  }
  .skill-body {
    margin: 10px auto;
  } 
  .skill-name {
    width: 100%;
    height: auto;
    text-align: center;
  }
  .skill-text {
    font-size: 14px;
    line-height: 1.8;
  }

  /*--------------------------------
  About
  ---------------------------------*/
  .profile {
    margin:  auto;
  }
  .profile-body {
    width: 100%;
    margin: auto;
    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-list,img {
    width: 100%;
    height: auto;
    margin: auto;
    padding: 5px;
  }
  .contact-text {
    margin-top: 10px;
  }
  /*--------------------------------
  ページトップ
  ---------------------------------*/
  .page-top {
    width: 100%;
    height: auto;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #4c4c4c;
  }

  .page-top .material-icons-outlined {
    vertical-align: bottom;
    color: #fff;
  }

  /*--------------------------------
  フッター
  ---------------------------------*/
  footer {
    width: 100%;
    height: auto;
    padding: 30px;
    background-color: #333;
  }
  .copyright {
    width: 100%;
    font-size: 10px;
    text-align: center;
    color: #797979;
  }

  /* /*--------------------------------
  下層：Worksページ
  ---------------------------------*/

  .title {
    margin: 30px 30px;
    text-align: center;
  }
  article {
    padding: 80px 0;
  }
  .article-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  .article-body {
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 80px;
  }

  .article-body h3 {
    position: relative;
    font-size: 18px;
    margin-bottom: 5px;
    padding-left: 1em;
  }
  .article-body {
    width: 100%;
    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;
  } 
  .home-link {
    margin: auto;
    text-align: center;
    }
}
  


  
  
