/* =====================================================
   Contact Page Styles
===================================================== */

/* ----- Contact Header ----- */
.contact-header {
  background-color: var(--color-bg-light);
  padding: 80px 40px;
  text-align: center;
}

.contact-header__logo {
  max-width: 280px;
  margin: 0 auto;
}

.contact-header__logo img {
  width: 100%;
  height: auto;
}

.contact-header__title {
  margin-top: 48px;
}

.contact-header__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.contact-header__title-ja {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* ----- Contact Form ----- */
.contact-form {
  max-width: 720px;
  margin: 48px auto 0;
}

.form-note {
  font-size: 1.2rem;
  color: var(--color-text-gray);
  margin-bottom: 8px;
}

/* ----- Form Error ----- */
.form-error {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  color: #d32f2f;
  margin-left: 8px;
}

/* ----- Confirm Table (table--simple) ----- */
.table--simple {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.table--simple tr {
  border-bottom: 1px solid #e0e0e0;
}

.table--simple tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.table--simple th,
.table--simple td {
  padding: 22px 0;
  font-size: 1.8rem;
  line-height: 1.8;
  vertical-align: middle;
  background: transparent;
}

.table--simple th {
  width: 186px;
  padding-left: 40px;
  font-weight: 500;
  color: #002049;
  text-align: left;
  letter-spacing: -0.02em;
}

.table--simple td {
  padding-left: 0;
  font-weight: 400;
  color: #000;
}

/* ----- Confirm Page ----- */
.confirm-lead {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.8;
}

.confirm-buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn--outline-gray {
  border-color: #999;
  color: #999;
}

.btn--outline-gray:hover {
  background-color: #999;
  color: #fff;
}

.btn--outline-gray::after {
  display: none;
}

.btn--outline-gray::before {
  display: none;
}

/* ----- Complete Page ----- */
.complete-message {
  text-align: center;
  padding: 60px 0;
}

.complete-message__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.complete-message__text {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.complete-message--error .complete-message__title {
  color: #d32f2f;
}

/* ----- Responsive ----- */
@media screen and (max-width: 768px) {
  .contact-header {
    padding: 48px 20px;
  }

  .contact-header__logo {
    max-width: 200px;
  }

  .contact-header__title-en {
    font-size: 3.2rem;
  }

  .table--simple th,
  .table--simple td {
    padding: 16px 0;
    font-size: 1.4rem;
    display: block;
    width: 100%;
  }

  .table--simple th {
    padding-left: 0;
    padding-bottom: 0;
  }

  .confirm-lead {
    font-size: 1.3rem;
    text-align: left;
  }

  .complete-message {
    padding: 40px 0;
  }

  .complete-message__title {
    font-size: 2rem;
  }
}
