body {
  font-family: "Inter", "Lora", "Noto Sans JP", sans-serif, serif;
  color: #0d0d0d;
}

a {
  transition: opacity 0.3s;
  text-decoration: none;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.03em;
  color: #e8988b;
}

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

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

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

.section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10px;
}

/*--------------------------------
見出し
---------------------------------*/
.title {
  font-size: 32px;
  font-family: "Lora", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  text-align: center;
}

.title-thanks {
  font-size: 23px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #0d0d0d;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

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

.header .container {
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 20px 30px;
}

.container > a {
  width: 30px;
  height: 30px;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.nav-item:not(:last-child) {
  margin-right: 48px;
}

.nav-item a {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0d0d0d;
  display: inline-block;
  transition: 0.3s;
  letter-spacing: 0.06em;
}

.nav-item a:after {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  transition: 0.3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #f1d4ce;
}

.nav-item a:hover:after {
  width: 100%;
}

#menu-sp {
  display: none;
}
#nav-sp {
  display: none;
}

/*--------------------------------
メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  /* text-align: center; */
}

.mv-container {
  position: relative;
  /* padding: 0 20px; */
}

/* メインビジュアルの上に文字を配置 */
.mv-title {
  position: absolute;
  top: 34%;
  left: 21%;
  width: 20% !important;
}

#mv-start {
  display: none;
}

.mv-container img {
  width: 100%;
  height: auto;
}

/*--------------------------------
Works
---------------------------------*/
.works-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* .works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -70px;
} */

.works-item {
  /* width: 31.74603%;
  margin-right: 1.5873%; */
  margin-bottom: 70px;
  color: #0d0d0d;
}

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

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-name {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 15px;
}

/*--------------------------------
Skills
---------------------------------*/

.skill-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10px;
}

.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: 30px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/*--------------------------------
About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  margin-right: 30px;
  margin-bottom: 40px;
  max-width: 157px;
}

.profile-body {
  flex: 1;
}

.profile-name {
  font-size: 18px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.profile-text {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

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

/*--------------------------------
Contact
---------------------------------*/
.contact {
  text-align: center;
}

.lead {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

/* お問い合わせフォーム */
.form-group {
  display: flex;
  justify-content: center;
}

/* 入力フィールドのスタイル */
.wpcf7-form .form-group label {
  display: block;
  width: 60%;
  margin-bottom: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  text-align: left;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form input[type="file"] {
  width: 100%;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  margin-top: 5px;
}

textarea:focus {
  outline: none;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  background-color: #f1d4ce;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
}

.wpcf7-form input[type="submit"]:hover {
  box-shadow: unset;
  transform: translateY(4px);
}

.recaptcha {
  font-size: 14px;
}

.form-group > div {
  width: 60%;
  display: flex;
}

/* 送信完了メッセージ  */
.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
}

/*--------------------------------
ページトップ
---------------------------------*/
.page-top {
  padding: 20px;
  text-align: center;
}

.page-top img {
  width: 30px;
}

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

.copyright {
  font-size: 11px;
  font-family: "Lora", serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center;
  color: #0d0d0d;
}

/*--------------------------------
下層：Worksページ
---------------------------------*/
.article {
  padding: 90px 0px;
}

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

.article-title {
  font-size: 23px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #0d0d0d;
  margin-bottom: 50px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  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: #f1d4ce;
}

.article-body p {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.8;
  margin-top: 15px;
  margin-bottom: 30px;
}

.sidebar {
  margin-top: 80px;
}

.p-3 {
  padding: 0;
}

h2.wp-block-heading {
  position: relative;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  padding-left: 0;
}

li.cat-item {
  list-style: none;
}

.cat-item a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("../img/arrow.png");
  background-position: center;
  background-size: contain;
  /* content: url("../img/arrow.png"); */
}

.home-link {
  text-align: center;
}

/*--------------------------------
下層：404ページ
---------------------------------*/
.text {
  text-align: center;
}

.text > p {
  margin-bottom: 10px;
}

/*media Queries 1048
----------------------------------------------------*/
@media screen and (max-width: 1048px) {
  .skill-text > br {
    display: none;
  }
}

/*media Queries 664
----------------------------------------------------*/
@media screen and (max-width: 664px) {
  .recaptcha {
    text-align: left;
  }
}

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

  .pc-only {
    display: none;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 40px;
  }

  .section {
    padding: 50px 0;
  }

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

  /* PCのナビゲーションを非表示に	 */
  .nav-pc {
    display: none;
  }

  /* ハンバーガーメニュー */
  #menu-sp {
    float: right;
    padding: 0;
    display: block;
    width: 34px;
  }

  /* スマホ用ナビゲーション */
  #nav-sp {
    background-color: #ffffff;
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
    width: 100%;
    display: none;
    z-index: 100;
  }

  /* xボタン */
  #close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
  }

  /* ナビゲーションメニュー用ロゴ */
  #logo-sp {
    padding: 15px;
    border-bottom: solid 2px #f1d4ce;
  }

  #logo-sp > img {
    width: 30px;
  }

  #nav-sp > a {
    display: block;
  }

  #nav-sp > .menu {
    text-decoration: none;
    display: block;
    padding: 13px 0 13px 14px;
  }

  .menu {
    font-family: "Lora", serif;
    font-size: 24px;
    font-weight: 500;
    color: #0d0d0d;
  }

  .border {
    border-bottom: solid 2px #f1d4ce;
  }

  .mv-container {
    padding: 0;
  }

  .mv-title {
    position: absolute;
    font-size: 30px;
    top: 32%;
    left: 21%;
    width: 54% !important;
  }

  /* Works */
  .works-name {
    font-size: 14px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 60px;
  }

  /* Skills */
  .skill-container {
    padding: 0 10px;
  }

  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 45px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-img {
    margin-right: 36px;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 157px;
    margin: 0 auto 40px auto;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

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

  /* Contact */
  .wpcf7-form .form-group label {
    width: 90%;
  }

  .form-group > div {
    width: 90%;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

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

  .article-body h3 {
    font-size: 16px;
    padding-left: 0.8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

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