body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
}

h1, .title {
  font-family: "Courgette", serif;
  font-weight: 400;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

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: 100px 0;
}

.section:nth-of-type(odd) {
  background-color: #FFFBE6;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.content {
  position: relative;
}

/*--------------------------------
 見出し
---------------------------------*/
.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: #E5FFE2;
  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-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;
  font-family: "Courgette", serif;;
}

.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: 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 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
}

.mv-container {
  position: relative;
  padding: 0 20px;
}

.mv-container img {
  width: 100%;
  height: auto;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
}

.works-item {
  width: 31.74603%;
  margin-bottom: 40px;
  color: #333;
  margin-left: auto;
  margin-right: auto;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-sample {
  border: solid 1px #333;
}

.works-img {
  width: 100%;
  aspect-ratio: 1.43;
}

.works-img img {
  border: 1px solid #e6e6e6;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a.works-item .works-img {
  transition: all 0.2s ease;
}

a.works-item:hover .works-img {
  background-color: rgba(255, 255, 255, 0.2);
  background-blend-mode: lighten;
  transform: scale(1.03);
  opacity: 0.7;
}


.banner-list .works-img img {
  border:none;
  object-fit: contain;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

#works .container > p {
  text-align: center;
  margin-bottom: 1.5em;
}

.work-category {
  text-align: center;
  margin: 1.5em 0;
}

.slash-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #63501E;
  margin: 30px 0 20px 0;
  font-size: 12px;
}

.slash-title::before {
  content: "";
  width: 36px;
  height: 1px;
  transform: rotate(60deg);
  box-sizing: border-box;
  background-color: #63501E;
}

.slash-title::after {
  content: "";
  width: 36px;
  height: 1px;
  transform: rotate(-60deg);
  box-sizing: border-box;
  background-color: #63501E;
}

.leaf-line-bg {
  background-image: url(..//img/leaf_line01.png);
  width: 100%;
  height: 30px;
  background-repeat: repeat-x;
  background-size: contain;
  margin: 1rem 0;
}

span.title {
  font-size: 24px;
  color: #87C87D;
}

span.title::after {
  content: "";
  width: 5px;
  height: 24px;
  display: inline-block;
  margin: 0 0.5em;
  background-color: #87C87D;
  vertical-align: -2px;
}

/*--------------------------------
 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: 48%;
  margin-bottom: 50px;
}

.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
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 20%;
  margin-right: 30px;
  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;
}

/*--------------------------------
 Contact お問合せ
---------------------------------*/
.contact {
  text-align: center;
}

#contact-form {
  margin-bottom: 50px;
}

#contact-form form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: auto;
  background-color: #FFFBE6;
  padding: 10px;
}

.text-box {
  margin: 15px 0;
}

span.imp {
  color: red;
  font-size: 0.8em;
  margin-left: 1em;
}


#contact-form label:not(#terms-label) {
  display: flex;
  width: 200px;
  height: 30px;
  line-height: 30px;
}

#form-name input, #form-email input {
  border: solid 1px #333;
  width: 300px;
  height: 40px;
  padding: 5px;
}

#form-content textarea {
  border: solid 1px #333;
  height: 100px;
  padding: 5px;
}

#form-terms {
  flex-direction: column;
}

#form-terms > p > div {
  display: flex;
  align-items: center;
}

#form-terms > details {
  width: 400px;
  text-align: start;
}

#form-terms ol {
  margin-top: 20px;
}

#form-terms summary {
  margin-top: 20px;
}

#agree {
  margin-left: 10px;
}

#contact-form .submit > p {
  display: flex;
  justify-content: center;
}

#contact-form .submit {
  margin: 30px auto 10px auto;
  display: flex;
}

#contact-form .submit input {
  background-color: #00bf63;
  border: solid 1px #333;
  border-radius: 3px;
  padding: 3px 10px;
  color: #fff;
}

.wpcf7-response-output {
  display: flex;
  margin: 30px auto;
}


/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #009F52;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 30px;
  bottom: 70px;
  border-radius: 50%;
}

.page-top:hover {
  transform: scale(1.1);
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
  font-size: 30px;
}

.contact .lead span {
  display: inline-block;
  vertical-align: -0.2em;
  margin-right: 0.3em;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-image: url(..//img/bottom-pic.png);
  background-size: contain;
  background-repeat: repeat;
  position: relative;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
  margin-top: -50px;
}

/*--------------------------------
 下層：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: #009F52;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*media Queries PC
----------------------------------------------------*/
@media screen and (min-width: 766px) {
  /* お問合せ */

  #contact-form form {
    width: 600px;
  }

  #contact-form form > div > p {
    display: flex;
  }

  #form-content > textarea {
    width: 360px;
  }

  #form-terms > details {
    margin-left: 100px;
  }

  .mv {
    margin: 50px 0;
  }

  .br-sp {
    display: none;
  }

  .for-sp {
    display: none;
  }

}

/*media Queries 767 SP
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* SP用見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* SP用レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* SP用ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  SP用メインビジュアル */
  .mv {
    padding: 5vh 0;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    top: 75%;
    font-size: 14px;
    line-height: 1.7;
  }

  /* SP用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;
  }

  /* SP用Skill */
  .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;
  }

  /* SP用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;
  }

  /* SP用フッター */
  .footer {
    padding: 20px;
  }

  /* SP用下層ページ */
  .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;
  }

  /* SP用お問合せ */
  #form-content > textarea {
    width: 300px;
  }

  #form-terms > details {
    margin-left: 20px;
    width: 300px;
  }

}
