/* ============================================
   お問い合わせページ用CSS
   Lightning子テーマ - 株式会社無垢
   ============================================ */

.page-template-page-contact {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Hero Section */
.page-template-page-contact .hero {
  padding: 80px 0;
}

.page-template-page-contact .hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-template-page-contact .hero p {
  color: #fff;
  font-size: 18px;
  opacity: 0.95;
}

/* Content Section */
.page-template-page-contact .section {
  padding: 80px 0;
}

.page-template-page-contact .section .container {
  max-width: 800px;
}

.page-template-page-contact .section > .container > div:first-child {
  margin-bottom: 48px;
  text-align: center;
}

.page-template-page-contact .section > .container > div:first-child p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: white;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper input[type="tel"]:focus,
.contact-form-wrapper textarea:focus {
  border-color: #337ab7;
  outline: none;
}

.contact-form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-wrapper input[type="submit"] {
  background: #337ab7;
  color: white;
  padding: 16px 48px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #2563a0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 122, 183, 0.3);
}

/* Contact Form 7 Styles */
.wpcf7-form p {
  margin-bottom: 24px;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
}

.wpcf7-response-output {
  margin-top: 24px;
  padding: 16px;
  border-radius: 4px;
}

/* Contact Info */
.contact-info {
  margin-top: 64px;
  padding: 32px;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #2c3e50;
  text-align: center;
}

.contact-info > div {
  margin-bottom: 16px;
  padding: 16px;
  background: white;
  border-radius: 4px;
}

.contact-info > div > div:first-child {
  font-weight: 600;
  color: #337ab7;
  margin-bottom: 8px;
}

.contact-info > div > div:last-child {
  font-size: 18px;
  color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
  .page-template-page-contact .hero h1 {
    font-size: 32px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
