main {
  padding: 112px 16px 80px;
  min-height: calc(100vh - 88px);
}

.header__wrap {
  padding: 0 16px;
}

.header__top {
  min-height: 88px;
  justify-content: center;
}

.header__logo {
  margin: 0 auto;
}

.header__logoImg {
  margin: 0 auto;
}

.header__logo img {
  max-width: 300px;
}

.contact-page__title {
  max-width: 920px;
  margin: 0 auto 20px;
  color: #17324d;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.contact-page__title::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #d73838;
}

main .form {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 49, 78, 0.12);
}

#contact {
  width: 100%;
}

#contact table {
  width: 100%;
  border-collapse: collapse;
}

#contact tbody,
#contact tr,
#contact th,
#contact td {
  display: block;
  width: 100%;
}

#contact tr + tr {
  margin-top: 20px;
}

#contact th {
  margin-bottom: 8px;
  color: #17324d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

#contact td {
  color: #425466;
  font-size: 14px;
  line-height: 1.8;
}

#contact label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#contact .req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d73838;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #c8d2dd;
  border-radius: 14px;
  background: #f9fbfc;
  color: #17324d;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form textarea:focus {
  outline: none;
  border-color: #1e6bb8;
  box-shadow: 0 0 0 4px rgba(30, 107, 184, 0.12);
  background: #fff;
}

.form textarea {
  min-height: 180px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #8a98a8;
}

.form__alert {
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid #efc2c8;
  border-radius: 18px;
  background: #fff6f7;
}

.form__alertTitle {
  margin: 0 0 8px;
  color: #b62b3b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.form__alertList {
  margin: 0;
  padding-left: 1.5em;
  color: #7e2d37;
  font-size: 14px;
  line-height: 1.8;
}

.form__error {
  margin: 8px 0 0;
  color: #b62b3b;
  font-size: 13px;
  line-height: 1.7;
}

.form input.is-error,
.form input.is-error:focus,
.form textarea.is-error,
.form textarea.is-error:focus {
  border-color: #d94b5a;
  box-shadow: 0 0 0 4px rgba(217, 75, 90, 0.12);
}

.btnbox {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btnbox input[type="submit"] {
  width: auto;
  min-width: 240px;
  padding: 18px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d94b5a, #b62b3b);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(182, 43, 59, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btnbox .button-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  padding: 18px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d94b5a, #b62b3b);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(182, 43, 59, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btnbox input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(182, 43, 59, 0.28);
}

.btnbox .button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(182, 43, 59, 0.28);
}

.btnbox input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 75, 90, 0.2);
}

.btnbox .button-link:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 75, 90, 0.2);
}

main article,
main article #contact,
main article .cntbox,
main article .inner {
  max-width: 920px;
  margin: 0 auto;
}

main article {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 32px 0 48px;
}

main article .cntbox {
  width: 100%;
  padding: 40px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 49, 78, 0.12);
}

.complete_txt {
  color: #17324d;
  text-align: center;
}

.complete_txt .ttl01 {
  margin-bottom: 24px;
  color: #17324d;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.complete_txt .exp {
  margin: 0;
  color: #425466;
  font-size: 16px;
  line-height: 2;
  text-align: center;
}

.complete_txt .btnbox {
  margin-top: 36px;
}

.footer__bottom--simple {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 24px 0 12px;
}

.footer__bottom--simple .footer__copyright {
  margin: 0;
  color: #6a7785;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) {
  main {
    padding: 152px 24px 120px;
    min-height: calc(100vh - 108px);
  }

  .header__wrap {
    padding: 0 24px;
  }

  .header__top {
    min-height: 108px;
  }

  .contact-page__title {
    margin-bottom: 28px;
  }

  .contact-page__title::after {
    margin-top: 20px;
  }

  .form__alert {
    margin-bottom: 32px;
    padding: 22px 24px;
  }

  main .form,
  main article .cntbox {
    padding: 48px;
  }

  main article {
    padding: 56px 0 72px;
  }

  #contact tr {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  #contact th {
    margin: 0;
    padding-top: 14px;
  }

  #contact th label {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .btnbox {
    margin-top: 40px;
  }

  .complete_txt .ttl01 {
    margin-bottom: 28px;
  }

  .complete_txt .exp {
    font-size: 17px;
  }

  .complete_txt .btnbox {
    margin-top: 44px;
  }
}



.contact{
	
	background:#fff !important;
}
