/* contact.css */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #555;
  background: #eef7f7;
  line-height: 1.8;
}

a {
  color: inherit;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.header {
  text-align: center;
  margin-bottom: 34px;
}

.logo {
  max-width: 230px;
  width: 70%;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

h1 {
  margin: 0;
  color: #666;
  font-size: 34px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.lead {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.tel {
  display: inline-block;
  margin: 8px 0;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.faq-link {
  color: #417d91;
  font-weight: 700;
}

.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-row {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.required {
  color: #d95b5b;
  font-size: 0.9em;
  margin-left: 4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdede;
  border-radius: 10px;
  background: #fbffff;
  font-size: 16px;
  font-family: inherit;
  color: #333;
}

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

.note {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 13px;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
}

.confirm-table th,
.confirm-table td {
  border-bottom: 1px solid #e5eeee;
  padding: 14px 8px;
  vertical-align: top;
}

.confirm-table th {
  width: 28%;
  text-align: left;
  color: #555;
}

.actions {
  margin-top: 30px;
  text-align: center;
}

button,
.btn {
  display: inline-block;
  min-width: 200px;
  margin: 6px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  background: #7fb8c4;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-back {
  background: #aaa;
}

button:hover,
.btn:hover {
  opacity: 0.85;
}

.message {
  text-align: center;
  font-size: 18px;
}

.footer {
  margin-top: 40px;
  text-align: center;
  color: #888;
  font-size: 13px;
}

@media (max-width: 736px) {
  .page {
    padding: 28px 14px 50px;
  }

  h1 {
    font-size: 26px;
  }

  .lead {
    padding: 20px 16px;
    text-align: left;
  }

  .tel {
    font-size: 24px;
  }

  .form-card {
    padding: 22px 16px;
  }

  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  button,
  .btn {
    width: 100%;
  }
}
