/* Contact page (Figma node-id: 11260:87412) */

.contact-main {
  background: var(--color-bg);
}

/* Hero */
.contact-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 232px 0 144px;
  background-image: url('../images/contact-hero-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact-hero__container {
  width: 91.11%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-hero__title {
  margin: 0;
  font-family: var(--font-poppins);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--color-white);
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-family: var(--font-noto-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.contact-breadcrumb a {
  color: var(--color-white);
}

.contact-breadcrumb__sep {
  opacity: 0.7;
}

/* Form section */
.contact-form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 104px 24px;
}

.contact-form-section__lead {
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 8px 0 24px;
  font-family: var(--font-noto-sans-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--color-text);
}

.contact-form-card {
  width: 100%;
  max-width: 760px;
  padding: 48px;
  background: var(--color-white);
  border-radius: 10px;
}

/* HubSpot form layout */
form.hs-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
}

form.hs-form fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

form.hs-form .form-columns-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: unset;
}

form.hs-form .form-columns-1 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: unset;
}

form.hs-form .form-columns-1:has(.hs_shanon_furigana),
form.hs-form .form-columns-1:has(.hs_company_id),
form.hs-form .form-columns-1:has(.hs_zip),
form.hs-form .form-columns-1:has(.hs_state),
form.hs-form .form-columns-1:has(.hs_city),
form.hs-form .form-columns-1:has(.hs_address),
form.hs-form .form-columns-1:has(.hs_n2),
form.hs-form .form-columns-1:has(.hs_employee_num)
{
  display: none;
}

form.hs-form .hs-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  width: 100%!important;
}

form.hs-form .hs-form-field > label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-family: var(--font-noto-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

form.hs-form .hs-form-required {
  color: #ce0000;
}

form.hs-form .hs-field-desc {
  display: none;
}

form.hs-form .input {
  width: 100%;
}

form.hs-form input[type=text],
form.hs-form input[type=email],
form.hs-form input[type=tel],
form.hs-form select,
form.hs-form textarea {
  box-sizing: border-box;
  width: 100%!important;
  margin: 0;
  padding: 12px 16px;
  font-family: var(--font-noto-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: #f2f2f2;
  border: none;
  border-radius: 8px;
  appearance: none;
}

form.hs-form .hs-input::placeholder {
  color: #6b7280;
}

form.hs-form select.hs-input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%23042731%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}

form.hs-form textarea.hs-input {
  min-height: 120px;
  resize: vertical;
}

form.hs-form .hs-error-msgs {
  padding-left: 0;
  list-style: none;
  color: #ce0000;
}

.contact-form__field-footer {
  display: flex;
  justify-content: flex-end;
}

.contact-form__counter {
  margin: 0;
  font-family: var(--font-noto-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280;
}

.contact-form__legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__privacy {
  margin: 0;
  font-family: var(--font-noto-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.contact-form__privacy a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.contact-form__privacy a:hover {
  opacity: 0.85;
}

.inputs-list {
  padding: 0;
  list-style: none;
}

.contact-form .hs-fieldtype-booleancheckbox .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border :1px solid blue;
}

.contact-form .hs-form-booleancheckbox-display {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-noto-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.contact-form .hs-fieldtype-booleancheckbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.contact-form .hs_submit {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
}

.contact-form__submit {
  padding-right: 74px;
  position: relative;
  font-weight: 500;
}

.contact-form__submit::after {
  content: '';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20viewBox%3D%220%200%2026%2026%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M20%2016H6H20Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M14.7934%2011L20%2015.9588M20%2016H6%22%20stroke%3D%22white%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hs_submit {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
}

.hs_submit.hs-submit:has(.actions) {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 152px 16px 80px;
    justify-content: flex-start;
  }

  .contact-hero__container {
    gap: 24px;
  }

  .contact-hero__title {
    font-size: 48px;
    line-height: 1.3;
  }

  .contact-form-section {
    padding: 80px 16px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .contact-form .form-columns-2 {
    grid-template-columns: 1fr;
  }
}
