body {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 12px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: grid;
}

.sp-only {
  display: grid;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 0px;
}

.section {
  padding: 90px 0px;
}


/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: transparent;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
}

.header-logo {
  font-size: 18px;
  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: 10px;
}

.gnav-item a {
  position: relative;
  font-size: 12px;
  font-weight: normal;
  display: inline-block;
  padding: 5px 4px;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.gnav-item a:hover{
  color: #cccccc;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  margin-bottom: 5%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.works-item {
  width: 1100px;
  margin: 5% 0;
  color: #fff;
}

.works-item:hover {
  opacity: .9;
}

.works-img img {
  border: none;
}

/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-direction: row;  
  margin: 10% 15%;
  gap: 5%;
}

.profile-body {
  font-size: 12px;
  line-height: 2;
  margin-bottom: 5%;
}


/*--------------------------------
 Contact
---------------------------------*/
.contact {
  display: flex;
  flex-flow: column;
  margin: 2% 15%;
  gap: 0px;
}

.contact-body {
  font-size: 12px;
  line-height: 2;
  margin-bottom: 5%;
}


/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: normal;
  cursor: pointer;
  margin: 10% 15%;
  margin-bottom: 5%;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #333;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #fff;
}

/*--------------------------------
作品ページ
---------------------------------*/

.article {
  padding: 100px 0;
}

.article-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-body {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.article-body p {
  font-size: 12px;
  line-height: 1.8;
  margin: 5% 0;
}

/*--------------------------------
作品文
---------------------------------*/
.text-body {
  margin: 0 15%;
}

.text-body p {
  font-size: 12px;
  line-height: 1.8;
}

/*PCでは無効（改行しない）*/
.sma{
    display: block;
}

/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
    .sma{
        display: none;
    }
}


/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 10px;
  }

  .pc-only {
    display: block;
  }

  .sp-only {
    display: block;
  }


  /* レイアウト */
  .wrapper {
    padding-top: 50px; 
  }

  .section {
    padding: 20px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 10px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 5px;
  }

  .gnav-item a {
    font-size: 12px;
  }

  .gnav-item a:after {
    display: none;
  }

  /* About */
  

  .profile {
    display: block;
  }

  .profile-body p {
    font-size: 11px;
    line-height: 1.9;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 15px;
  }

    /* Contact */
  

  .contact {
    display: block;
  }

  .contact-body p {
    font-size: 11px;
    line-height: 2;
  }


  /* 下層ページ */
  .article {
    padding: 20px 0;
  }

  .article-body p {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}
