.contact-intro__container {
  max-width: 100rem;
}

.contact-intro__content {
  font-size: clamp(1.2rem, 1.12rem + 0.4vw, 1.6rem);
  line-height: 1.8;
}

.contact-intro__content p {
  margin-bottom: 1.5rem;
}

.contact-intro__alert {
  font-size: clamp(1.2rem, 1.16rem + 0.2vw, 1.4rem);
  font-weight: 600;
}

.contact-intro__recruit {
  margin-top: 3rem;
}

.contact-intro__btn {
  margin-top: 1rem;
}

.contact-intro__btn .btn-more {
  margin: 1rem 0 0 0;
  width: 100%;
  padding: 1.8rem;
}

.contact-form {
  max-width: 100rem;
  padding: 5rem 0 10rem;
}

.contact-form__container {
  max-width: 80rem;
  margin: 0 auto;
}

.contact-form h3 {
  font-size: clamp(1.2rem, 1.16rem + 0.2vw, 1.4rem);
  margin: 5rem 0 2rem;
  line-height: 1.6;
}

.contact-form__recruit {
  margin-top: 4rem;
  text-align: center;
  font-size: clamp(1.2rem, 1.12rem + 0.4vw, 1.6rem);
}

.contact-form__btn {
  margin-top: 1.5rem;
  text-align: center;
}

/* タブボタン */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tab-buttons li {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background: transparent;
  color: #666;
  border: 1px solid #666;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.106rem + 0.47vw, 1.4rem);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-buttons li.active {
  border: 1px solid #f1f1f1;
  color: #f1f1f1;
}

/* タブコンテンツ */
.form-tab-wrapper {
  display: grid;
  position: relative;
}

.form-tab-content {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.form-tab-content.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hs-form-iframe {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.form-tab-content.active .hs-form-iframe {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 入力フォーム */
.hs-input:not([type=file]) {
  background-color: #1a1a1a;
}

.hs-input {
  color: #f1f1f1;
  border: 1px solid #666;
}


/* サンキューページ */
.thanks-page {
  text-align: center;
  padding: 30rem 0;
  color: #fff;
  background: #000;
}

.thanks-page__heading-en {
  font-size: clamp(2rem, 0.64rem + 6.8vw, 8.8rem);
  margin-bottom: 5rem;
  font-family: futura-pt, sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
}

.thanks-page__title {
  font-size: clamp(1.4rem, 1.04rem + 1.8vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 10rem;
}

.thanks-page__message {
  max-width: 60rem;
  margin: 0 auto 12rem;
  font-size: clamp(1.2rem, 1.12rem + 0.4vw, 1.6rem);
  line-height: 1.8;
}

/* PC */
@media (max-width: 1440px) {}

@media (max-width: 1280px) {}

@media (max-width: 1024px) {}

/* Tablet */
@media (max-width: 768px) {
  .contact-form {
    padding: 0 0 5rem;
    margin: 0 auto;
  }

  .tab-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0;
    position: relative;
  }

  .tab-buttons li {
    display: none;
    background: #000;
    border: 1px solid #666;
    padding: 1.5rem 2rem;
    text-align: left;
    position: relative;
  }

  .tab-buttons li.active {
    display: block;
    background: #000;
    border: 1px solid #fff;
    color: #fff;
  }

  .tab-buttons li.active::after {
    content: '';
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #f1f1f1;
    border-right: 2px solid #f1f1f1;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    right: 2rem;
    top: 50%;
    display: inline-block;
  }

  .tab-buttons.open li {
    display: block;
  }

  .thanks-page {
    padding: 15rem 0 10rem;
  }

  .thanks-page__heading-en {
    margin-bottom: 3rem;
  }

  .thanks-page__title {
    margin-bottom: 5rem;
    line-height: 1.6;
  }

  .thanks-page__message {
    line-height: 1.6;
    text-align: left;
    margin: 0 auto 5rem;
  }
}


/* Smartphone */
@media (max-width: 480px) {}