/**
 * Contact Section
 * お問い合わせ・申込みフォームのスタイル
 */

/* ========================================
   Contact Section
======================================== */
.lp01-contact {
  position: relative;
  padding: var(--wp--preset--spacing--5-xl) var(--wp--preset--spacing--base)
    var(--wp--preset--spacing--6-xl);
  background: linear-gradient(
    180deg,
    rgba(200, 131, 159, 0.12) 0%,
    rgba(255, 255, 255, 1) 40%,
    rgba(244, 235, 241, 0.86) 100%
  );
  overflow: hidden;
}

.lp01-contact::before,
.lp01-contact::after {
  content: "";
  position: absolute;
  border-radius: var(--wp--custom--border-radius--full);
  pointer-events: none;
  filter: blur(0.6px);
}

.lp01-contact::before {
  width: 520px;
  height: 520px;
  top: -340px;
  left: -180px;
  background: radial-gradient(
    circle,
    rgba(200, 131, 159, 0.24) 0%,
    rgba(200, 131, 159, 0) 70%
  );
}

.lp01-contact::after {
  width: 420px;
  height: 420px;
  bottom: -260px;
  right: -140px;
  background: radial-gradient(
    circle,
    rgba(200, 131, 159, 0.2) 0%,
    rgba(200, 131, 159, 0) 70%
  );
}

.lp01-contact__inner {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  z-index: 1;
}

.lp01-form {
  margin-top: var(--wp--preset--spacing--3-xl);
  display: grid;
  gap: var(--wp--preset--spacing--2-xl);
  padding: var(--wp--preset--spacing--3-xl);
  border-radius: var(--wp--custom--border-radius--2-xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--wp--custom--overlay--primary--3);
  backdrop-filter: blur(4px);
}

.lp01-form__group {
  display: grid;
  gap: var(--wp--preset--spacing--sm);
}

.lp01-form__label {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--xs);
  font-size: var(--wp--preset--font-size--base);
  font-weight: var(--wp--custom--font-weight--semibold);
  color: rgba(55, 65, 81, 0.9);
}

.lp01-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--wp--preset--spacing--xs);
  height: 24px;
  border-radius: var(--wp--custom--border-radius--full);
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 1),
    rgba(99, 102, 241, 1)
  );
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--xs);
  letter-spacing: 0.08em;
}

.lp01-form__input,
.lp01-form__select,
.lp01-form__textarea {
  width: 100%;
  padding: var(--wp--preset--spacing--base) var(--wp--preset--spacing--xl);
  border-radius: var(--wp--custom--border-radius--lg);
  border: 1px solid rgba(200, 131, 159, 0.35);
  background-color: rgba(255, 255, 255, 0.95);
  font-size: var(--wp--preset--font-size--base);
  color: var(--wp--preset--color--text);
  transition: border-color var(--wp--custom--transition--duration--base)
      var(--wp--custom--transition--timing--ease),
    background-color var(--wp--custom--transition--duration--base)
      var(--wp--custom--transition--timing--ease);
}

.lp01-form__input::placeholder,
.lp01-form__textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.lp01-form__input:focus,
.lp01-form__select:focus,
.lp01-form__textarea:focus {
  border-color: var(--wp--custom--overlay--primary--6);
  background-color: rgba(255, 255, 255, 1);
  outline: 2px solid rgba(200, 131, 159, 0.35);
  outline-offset: 2px;
}

.lp01-form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: var(--wp--custom--line-height--lg);
}

.lp01-form__checkbox {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--sm);
  font-size: var(--wp--preset--font-size--sm);
  color: rgba(55, 65, 81, 0.85);
}

.lp01-form__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 0.3rem;
  border-radius: var(--wp--custom--border-radius--sm);
  border: 1px solid rgba(148, 163, 184, 0.5);
  accent-color: var(--wp--preset--color--primary);
}

.lp01-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  line-height: var(--wp--custom--line-height--md);
  cursor: pointer;
}

.lp01-form__privacy-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

.lp01-form__privacy-button:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
}

.lp01-form__error {
  font-size: var(--wp--preset--font-size--xs);
  color: var(--wp--preset--color--error);
}

.lp01-form__submit {
  margin-top: var(--wp--preset--spacing--base);
}

.lp01-form__submit .c-btn {
  border-radius: var(--wp--custom--border-radius--full);
  font-size: var(--wp--preset--font-size--lg);
  letter-spacing: var(--wp--custom--letter-spacing--xs);
  background-image: linear-gradient(
    135deg,
    rgba(200, 131, 159, 1),
    rgba(132, 76, 102, 1)
  );
}

.lp01-form__submit .c-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

@media (max-width: 767px) {
  .lp01-contact {
    padding: var(--wp--preset--spacing--3-xl) var(--wp--preset--spacing--base)
      var(--wp--preset--spacing--4-xl);
  }

  .lp01-form {
    padding: var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--xl);
    gap: var(--wp--preset--spacing--xl);
  }

  .lp01-form__label {
    flex-wrap: wrap;
  }

  .lp01-form__input,
  .lp01-form__select,
  .lp01-form__textarea {
    padding: var(--wp--preset--spacing--base) var(--wp--preset--spacing--lg);
  }
}

@media (max-width: 599px) {
  .lp01-form {
    border-radius: var(--wp--custom--border-radius--xl);
    padding: var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--lg);
  }

  .lp01-form__submit .c-btn {
    width: 100%;
  }
}
