html, body {
  overflow-x: hidden; /* 応急処置 */
}

body {
  font-family: "Belanosima", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #363636;
  margin: 0 !important;
}

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: 80px 0;
}

.container {
  padding: 0 100px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 200px;
  font-family: anton;
  font-weight: 500;
}

.works .title {
  color: #125CAE;
  position: absolute;
  top: 10%;
  left: 0%;
}

.skill .title {
  color: #FF1400;
  position: absolute;
  top: 10%;
  right: 0%;
}

.about .title {
  color: #FFC630;
  position: absolute;
  top: 10%;
  left: 0%;
  z-index: 1;
}

.contact .title {
  color: #FFC630;
  position: absolute;
  top: 10%;
  right: 0%;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
  color: #fff;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  background-color: #fff;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 30px;
  margin-right: 20px;
  -webkit-text-stroke: 7px #7B7979;
  paint-order: stroke;
}

.header-logo a {
  color: #fff;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 30px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #7B7979;
}
.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%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
  background-color: #EFEFEF;
  padding-bottom: 80px;
}

.mv-container {
  position: relative;
  padding: 0 20px;
}

.img-portfolio {
  padding-top: 100px;
}

.img-main {
  width: 100%;
  position: absolute;
}

.img-main img {
  width: 20%;
}

.img-earth {
  text-align: left;
  margin-top: 3%;
}

.img-earth img {
  width: 20%;
}

.mv-container h4 {
  font-size: 24px;
  text-align: left;
  font-family: Anton;
  font-weight: 400;
  color: #7B7979;
  padding-top: 20px;
}

.mv-container p {
  position: absolute;/*重ねたい子要素にabsolute*/
  right: 0;
  top: 80%;
  text-align: right;
  font-size: 13px;
  line-height: 2.3;
}

/*--------------------------------
 Works
---------------------------------*/
.works {
  background-color: #EFEFEF;
  position: relative;/*親要素にrelative*/
}

.works-img_c {
  position: absolute;
  right: 0;
  top: 10%;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 250px;
  z-index: 10;
  position: relative;
}

.works-item {
  width: 23%;
  margin-right: 1.58730%;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #363636;
}

.works-item:hover {
  opacity: .9;
}

.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 {
  background-color: #EFEFEF;
  position: relative;/*親要素にrelative*/
}

.skill-cats {
  margin-bottom: 40px;
}

.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: 30px;
}

.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;
}

/*--------------------------------
 About
---------------------------------*/
.about {
  background-color: #FF1400;
  position: relative;/*親要素にrelative*/
}

.about h4 {
  color: #fff;
  font-size: 36px;
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding-top: 20%;
  padding-bottom: 20px;
}

.pc {
  display: block !important;
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
}

.sp {
  display: none !important; 
}

.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  background-color: #363636;
  position: relative;/*親要素にrelative*/
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-img img {
  width: 45%;
}

.mail-img img {
  position: absolute;/*重ねたい子要素にabsolute*/
  right: 15%;
  top: 50%;
}

.contact-text {
  position: absolute;/*重ねたい子要素にabsolute*/
  right: 0;
  top: 70%;
  font-size: 16px;
  color: #fff;
  line-height: 2.3;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.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: #363636;
}

.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 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 {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 100px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 45px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 20px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
    height: 100%;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-container h1 {
    font-size: 135px;
    font-family: Anton;
    font-weight: 300;
    text-align: center;
    color: #599D5B;
    margin-top: 20px;
  }

  .mv-container h4 {
    font-size: 20px;
    text-align: left;
    font-family: Anton;
    font-weight: 400;
    color: #7B7979;
    position: relative;/*親要素にrelative*/
    top: 5px;
    left: 15px;
  }

  .mv-container p {
    position: absolute;/*重ねたい子要素にabsolute*/
    right: 0;
    top: 300px;
    text-align: right;
    font-size: 11px;
    line-height: 2;
  }

  .img-earth {
    top: 100%;
    left: 30px;
  }

  .img-main {
    width: 140%;
    position: absolute;/*重ねたい子要素にabsolute*/
    left: 5%;
    transform: translate(-15%, 0);
  }

  /* 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;
  }

  .works-img_c {
    position: absolute;
    right: 0;
    top: 120px;
    width: 270px;
  }

  /* Skill */

  .skill .title {
    color: #FF1400;
    position: absolute;
    top: 180px;
    right: 0%;
  }
  .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;
  }

  /* About */

  .pc { 
    display: none !important;
  }

  .sp { 
    display: block !important;
    position: absolute;
    right: 0;
    top: 0;
  }

  .about h4 {
  color: #fff;
  font-size: 28px;
  position: relative;
  padding-top: 40%;
  }

  .profile-body p {
    font-size: 11px;
    line-height: 1.7;
    width: 190px;
    position: relative;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* contact */
  .mail-img img {
    position: absolute;/*重ねたい子要素にabsolute*/
    right: 15%;
    top: 250px;
    width: 15%;
  }

  .contact-img img {
    width: 60%;
    margin-top: 50px;
  }

  .contact-text {
    position: absolute;/*重ねたい子要素にabsolute*/
    right: 0;
    top: 320px;
    font-size: 13px;
    color: #fff;
    line-height: 2;
  }

  .contact .container {
    padding-bottom: 70px;
  }

  /* フッター */
  .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;
  }
}
