@charset "UTF-8";

.lp-contact-form {
  margin-top: 7rem;
  padding-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer > .lp-contact-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 7rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.lp-contact-form__title,
.contact-form-section h1,
.contact-screen h1 {
  margin: 0 0 1.6rem;
  color: #fff;
  font-size: clamp(2.6rem, 2.1vw, 4rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.lp-contact-form__lead,
.contact-form-section p,
.contact-screen p {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.4rem, 0.95vw, 1.8rem);
  line-height: 1.8;
  text-align: center;
}

.lp-contact-form__required,
.contact-form-section__required {
  color: #e9546b !important;
  font-size: clamp(1.2rem, 0.84vw, 1.6rem) !important;
}

.contact-form {
  max-width: 720px;
  margin: 4rem auto 0;
}

.form-field {
  display: block;
  margin-bottom: 2rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1.8rem 2.4rem;
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  border-radius: 8px;
  font: inherit;
  font-size: clamp(1.4rem, 0.95vw, 1.8rem);
  line-height: 1.6;
}

.file-field__control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  width: 100%;
  min-height: 6.2rem;
  padding: 1.3rem 1.6rem 1.3rem 2.4rem;
  color: rgba(255, 255, 255, 0.72);
  background: #000;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: clamp(1.4rem, 0.95vw, 1.8rem);
  line-height: 1.6;
  overflow: hidden;
}

.file-field__text {
  flex: 0 0 auto;
  min-width: 0;
}

.file-field__button {
  flex: 0 0 auto;
  padding: 0.7rem 1.4rem;
  color: #000;
  background: #fff;
  border-radius: 4px;
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.file-field__note {
  min-width: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  line-height: 1.6;
}

.file-field__selected {
  display: flex;
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 0.8rem;
  min-width: 0;
  max-width: 45%;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  line-height: 1.6;
  text-align: left;
}

.file-field__selected span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-field__control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-field textarea {
  min-height: 16rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #e9546b;
  outline: none;
}

.form-error {
  display: block;
  margin-top: 0.6rem;
  color: #e9546b;
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
}

.form-help {
  display: block;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  line-height: 1.6;
}

.form-error--global {
  max-width: 720px;
  margin: 2rem auto 0 !important;
}

.contact-button {
  display: block;
  min-width: 220px;
  margin: 4rem auto 0;
  padding: 1.4rem 3.2rem;
  color: #000;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  font: inherit;
  font-size: clamp(1.4rem, 0.95vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-button:hover {
  opacity: 0.78;
}

.contact-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.contact-button--muted {
  background: #cfcfcf;
  border-color: #cfcfcf;
}

.contact-form__links {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 2rem;
  color: #fff;
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
}

.contact-form__links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background: #000;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-page::before {
  content: "";
  display: block;
  height: 9rem;
  background: linear-gradient(90deg, rgba(233, 84, 107, 0.72), rgba(233, 84, 107, 0.92));
}

.contact-page__main {
  max-width: 920px;
  min-height: calc(100vh - 9rem);
  margin: 0 auto;
  padding: 9rem 2.4rem 12rem;
}

.contact-screen,
.contact-form-section {
  max-width: 720px;
  margin: 0 auto;
}

.contact-screen {
  text-align: center;
}

.contact-screen--confirm {
  text-align: left;
}

.contact-screen--confirm h1,
.contact-screen--confirm > p {
  text-align: center;
}

.confirm-list {
  margin: 5rem 0 0;
  padding: 4rem 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.confirm-list__item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.8;
}

.confirm-list__item:last-child {
  margin-bottom: 0;
}

.confirm-list__item dt {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.confirm-list__item dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.confirm-actions-wrap {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  margin-top: 4rem;
}

.confirm-actions {
  width: min(220px, 48%);
}

.confirm-actions .contact-button {
  width: 100%;
  margin-top: 0;
}

.contact-screen__link {
  margin-top: 6rem !important;
}

.contact-screen__link a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

@media (max-width: 768px) {
  .lp-contact-form {
    margin-top: 5rem;
    padding-top: 4rem;
  }

  .contact-form {
    width: 100%;
    margin-top: 3rem;
  }

  .form-field input,
  .form-field textarea {
    padding: 1.5rem 1.6rem;
  }

  .contact-page__main {
    padding: 6rem 2rem 8rem;
  }

  .confirm-list__item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .confirm-actions-wrap {
    display: block;
  }

  .confirm-actions {
    width: 100%;
    margin-top: 2rem;
  }
}

.contact-consent {
  max-width: 720px;
  margin: 3rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.2rem, 0.84vw, 1.5rem);
  line-height: 1.8;
  text-align: center;
}

.contact-consent p {
  margin: 0 0 0.8rem;
}

.contact-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
