/* お問い合わせ関連（contact.html / thanks.html / privacy.html） */

.contact-tel-highlight {
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-radius: 10px;
  text-align: center;
}

.contact-tel-highlight .contact-tel-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #0369a1;
}

.contact-tel-highlight .contact-tel-number {
  display: inline-block;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0c4a6e;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.contact-tel-highlight .contact-tel-number:hover {
  color: #075985;
  text-decoration: underline;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.contact-table th,
.contact-table td {
  border: 1px solid #d1d5db;
  padding: 0.9rem 1rem;
  vertical-align: top;
}

.contact-table th {
  width: 32%;
  background: #f8fafc;
  text-align: left;
  font-weight: 600;
}

.required-mark {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table select,
.contact-table textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  box-sizing: border-box;
}

.contact-table textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.contact-submit {
  min-width: 180px;
  border: none;
  box-shadow: none;
}

.contact-privacy-notice {
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.75;
}

.contact-privacy-notice a {
  color: #1d4ed8;
  text-decoration: underline;
}

.contact-privacy-notice a:hover {
  color: #1e40af;
}

.contact-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #64748b;
}

.contact-radio-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.contact-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.contact-field-wrap.is-invalid input[type="text"],
.contact-field-wrap.is-invalid input[type="email"],
.contact-field-wrap.is-invalid input[type="tel"],
.contact-field-wrap.is-invalid textarea {
  border-color: #b91c1c;
}

.contact-field-error {
  margin: 0.45rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: #b91c1c;
  line-height: 1.5;
}

.contact-field-error[hidden] {
  display: none !important;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .contact-table th,
  .contact-table td {
    display: block;
    width: 100%;
  }

  .contact-table th {
    border-bottom: 0;
  }
}

/* 送信完了（contact/thanks.html） */

.thanks-panel {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 2rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.thanks-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #0f172a;
}

.thanks-text {
  margin: 0.5rem 0;
  line-height: 1.9;
  color: #334155;
}

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

/* 個人情報方針（contact/privacy.html） */

.privacy-policy {
  max-width: 52rem;
}

.privacy-policy h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
}

.privacy-policy h3:first-child {
  margin-top: 0;
}

.privacy-policy p,
.privacy-policy li {
  line-height: 1.85;
  color: #374151;
}

.privacy-policy ol {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
}

.privacy-policy ol li {
  margin-bottom: 0.45rem;
}

.privacy-policy .privacy-contact-box {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.privacy-policy .privacy-contact-box p {
  margin: 0.35rem 0;
}

.privacy-back-actions {
  margin-top: 1.5rem;
}
