body {
  font-family: "小塚ゴシック Pr6N","Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #353535;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

h2 {
  font-family: "M PLUS 1p";
  border-bottom:1px solid;
  width: 180px;
  margin: auto;
}

h3 {
  text-align: center;
  margin-bottom: 20px;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.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;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-family: Meiryo;
  font-size: 25px;
  font-weight: normal;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}

.gnav-list {
  display: flex;
  justify-content: center;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 30px;
}

.gnav-item a {
  position: relative;
  font-size: 16px;
  font-family: "Rajdhani" ;
  font-weight: 600;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: -.01em;
  color: #333;
}
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #353535;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  text-align: center;
}

.mv-container {
  padding: 0 40px;
}

.mv-title {
  font-family: Meiryo;
  font-size: 60px;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.mv-subtitle {
  font-size: 30px;
  font-weight: 500;
  font-style: italic;
  color: #5d5d5d;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.mv-text {
  font-size: 16px;
  line-height: 1.8;
}

/*--------------------------------
 About
---------------------------------*/
.about {
  background-color:#d2d7df ;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 30%;
  margin-right: 72px;
  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;
}

/*--------------------------------
Service
---------------------------------*/
.service {
  background-color:#bdbbb0 ;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.service-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #333;
  background-color: #fff;
}

.service-item:hover {
  opacity: .9;
}

.service-item:nth-of-type(3n) {
  margin-right: 0;
}

.service-img img {
  border: 1px solid #e6e6e6;
  background-color:#bdbbb0 ;
  width: 60%;
  display: block;
  margin: auto;
  padding: 10%;
}

.service-name {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
}

.service-text {
  font-size: 14px;
  margin-top: 15px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 15px;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #333;
}


.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.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:#d2d7df ;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  padding: 20px;
  margin-bottom: 50px;
}

.skill-img {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  font-family: Rajdhani;
  font-size: 28px;
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}


/*--------------------------------
 Contact
---------------------------------*/
.contact {
  background-color:#bdbbb0 ;
}

.contact {
  text-align: center;
}

.contact-item {
  color: #fff;
  background-color: #8a897c;
  padding: 15px 50px;
  border-radius: 9999px;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 0 30px 30px;
  background-color: #bdbbb0;
}

.grav-list{
  display: flex;
  justify-content: center;
}

.copyright {
  font-size: 10px;
  text-align: center;
  padding: 20px 0;
}

/*--------------------------------
 下層：Contactフォーム
---------------------------------*/
.contact-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}


.contact-title {
  margin-bottom: 30px;
  text-align: center;
  font-size: 30px;
}

.contact-form {
  max-width: 960px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.contact-form h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.contact-form h3:not(:first-child) {
  margin-top: 50px;
}

.contact-form h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.contact-form p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-form table {
  margin: 0 auto;
  border: none;
}

.contact-form form table tr .radio {
  display: block;
}

.btn {
  display: block;
  margin: 0 auto;
}

.home-link {
  text-align: center;
}

input[type="text"]

textarea {
  width: 100%;
  height: 200px;
}

/*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;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .grav {
    right: 0;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 14px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
    height: 75vh;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Service */
  .service-list {
    display: block;
    margin-bottom: 0;
  }

  .service-item {
    width: 100%;
    margin-bottom: 35px;
    background-color: #fff;
  }

  .service-item:last-child {
    margin-bottom: 0;
  }

  .service-name {
    margin-bottom: 5px;
  }

  .service-text {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
  }

  /* 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;
    background-color: #fff;
  }

  .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;
  }

  /* フッター */
  .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;
  }
}

/*--------------------------------
 下層：Contactフォーム 2023/03/01
---------------------------------*/

* {
  box-sizing: border-box;
}

.contactform-container {
  width: 960px;
  margin: 0 auto;
  padding: 60px 0 0 0;
}

.contactform-title {
  margin-bottom: 30px;
  text-align: center;
  font-size: 30px;
}

.contactform-table {
  width: 100%;
  margin-bottom: 20px;
}

.contactform-item, .contactform-body {
  padding: 20px;
  border: 1px solid #ccc;
}

.contactform-item {
  text-align: left;
  width: 30%;
  background-color: #fff;
}

.form-text {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 400px;
}

.contactform-service {
  display: block;
}

.contactform-service-txt {
  margin-left: 3px;
}

.form-textarea {
  width: 100%;
  padding: 10px;
  height: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contactform-submit {
  width: 250px;
  color: #fff;
  background-color: #8a897c;
  display: block;
  margin: 0 auto;
  padding: 15px;
  border-radius: 100vh;
  border: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .contactform-container {
    width: 100%;
  }
}