body {
  background-color: #343434;
  color: #ffffff;
  line-height: 1.6;
  height: auto;
}

body.page main {
  height: auto;
}

.profile-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 200;
  line-height: 3.2rem;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: 5px;
}

.profile-content-editable {
}

.profile-content-editable h2 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-top: 120px;
  margin-bottom: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  padding-left: 0;
}

.profile-content-editable p {
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.profile-content-editable strong {
  font-weight: 400;
}
.profile-content-editable p + p {
  margin-top: 0;
}
.profile-content-editable h2 + p {
  margin-top: 0;
}

.profile-content-editable ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.profile-content-editable ul li {
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.profile-content-editable ul li::before {
  content: "・";
  margin-right: 10px;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .profile-page__inner {
    padding: 60px 20px 80px;
    line-height: 2.6rem;
  }

  .page-title {
    font-size: 2.2rem;
    margin-bottom: 60px;
  }

  .profile-content-editable {
  }

  .profile-content-editable h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .profile-content-editable ul {
    padding-left: 0;
  }

  .profile-content-editable ul li {
    text-align: center;
    list-style-position: inside;
  }

  .profile-content-editable ul li::before {
    margin-right: 5px;
  }
}

.gform_title {
  display: none;
}
.gform_wrapper .gfield_label {
  color: #ffffff !important;
}

.gform_wrapper .gform-field-label--type-sub,
.gform_wrapper .gform-field-label.gform-field-label--type-sub {
  color: #b4b4b4 !important;
}

.gform_wrapper .gfield_label .gfield_required {
  display: none;
}

.gform_wrapper .gfield_label::after {
  content: " *";
  color: #ff6868;
  font-weight: bold;
}

.gform_wrapper .gfield_description.gfield_consent_description,
.gform_wrapper
  .gform-field-label.gform-field-label--type-inline.gfield_consent_label {
  color: #a8a8a8 !important;
}

.works-page__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  font-family: "Noto Serif JP", serif;
}

.work-items-container {
  display: grid;
  grid-template-columns: repeat(3, 328px);
  justify-content: center;
  gap: 60px 40px;
  margin: 0 auto;
  max-width: 100%;
}

.work-item {
  width: 100%;
  text-align: left;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
}

.work-item__ttl {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.work-item__desc {
  font-size: 1.3rem;
}

.works-category-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 80px;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 2px;
}

.works-category-title:first-of-type {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .works-category-title {
    font-size: 1.8rem;
    margin-top: 60px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .work-items-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    gap: 40px 0;
  }

  .work-item {
    width: 100%;
    max-width: 328px;
    text-align: center;
  }

  .work-item__ttl {
    font-size: 1.4rem;
  }

  .work-item__desc {
    font-size: 1.2rem;
  }
}

html {
  scroll-behavior: smooth;
}

.works-local-nav {
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.works-local-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-local-nav li {
  margin: 0;
  display: flex;
  align-items: center;
}

.works-local-nav li::after {
  content: "|";
  font-weight: 200;
  opacity: 0.5;
  color: #ffffff;
  margin: 0 20px;
}

.works-local-nav li:last-child::after {
  content: none;
}

.works-local-nav a {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  transition: opacity 0.3s;
}

.works-local-nav a:hover {
  opacity: 0.7;
}

.works-local-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s;
  margin-top: 4px;
}

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

@media screen and (max-width: 768px) {
  .works-local-nav {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    padding: 0;
    position: relative;
  }

  .works-local-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    gap: 0;
  }

  .works-local-nav::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px; /* フェードの幅 */
    height: 100%;
    /* 透明から背景色(#343434)へのグラデーション */
    background: linear-gradient(to right, rgba(52,52,52,0) 0%, #343434 100%);
    pointer-events: none; /* 下にあるリンクをクリックできるようにする */
    z-index: 1;
  }
  
  .works-local-nav li {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding-right: 20px;
  }

  .works-local-nav li:last-child {
    padding-right: 0;
  }

  .works-local-nav ul::-webkit-scrollbar {
    display: none;
  }

  .works-local-nav ul {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .works-local-nav li::after {
    content: none;
  }
}

/* ====================================
   スクロールフェードインアニメーション
==================================== */
.js-fade-in {
  opacity: 0;                /* 最初は透明 */
  transform: translateY(30px); /* 最初は30px下に配置 */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* 0.8秒かけて変化 */
}

/* 画面内に入った時にJSで付与されるクラス */
.js-fade-in.is-visible {
  opacity: 1;                /* 不透明に */
  transform: translateY(0);  /* 元の位置へ */
}

.gform_confirmation_message_1 {
  text-align: center!important;
  font-size: 15px!important;
}