/* ========================================
   お問い合わせページ専用CSS
======================================== */

/* ========================================
   Page Hero
======================================== */
.contact-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #2a4d7a 0%, #3a6ea5 100%);
  text-align: center;
  margin-top: 80px;
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.contact-hero p {
  font-size: 1.125rem;
  color: #dfeefd;
}

/* ========================================
   Contact Methods
======================================== */
.contact-methods {
  padding: 80px 0;
  background: white;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.method-card {
  padding: 40px 32px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.method-card:hover {
  border-color: #182a88;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfeefd;
  border-radius: 50%;
  color: #182a88;
}

.method-card h3 {
  font-size: 1.5rem;
  color: #242424;
  margin-bottom: 12px;
  font-weight: 700;
}

.method-info {
  font-size: 1.125rem;
  color: #182a88;
  font-weight: 700;
  margin-bottom: 8px;
}

.method-time {
  font-size: 0.9375rem;
  color: #595959;
  margin-bottom: 24px;
}

.method-card .btn {
  width: 100%;
}

/* ========================================
   Contact Form Section
======================================== */
.contact-form-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #dfeefd 0%, white 100%);
}

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

.form-header h2 {
  font-size: 2.5rem;
  color: #182a88;
  margin-bottom: 16px;
  font-family: 'Noto Serif JP', serif;
}

.form-header p {
  font-size: 1.125rem;
  color: #595959;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 700;
  color: #242424;
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  display: inline-block;
  padding: 2px 8px;
  background: #182a88;
  color: white;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}

.optional {
  display: inline-block;
  padding: 2px 8px;
  background: #e0e0e0;
  color: #595959;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #182a88;
  box-shadow: 0 0 0 3px rgba(24, 42, 136, 0.1);
}

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

.form-group select {
  cursor: pointer;
  background-color: white;
}

.form-privacy {
  margin-bottom: 32px;
  padding: 24px;
  background: #dfeefd;
  border-radius: 8px;
}

.privacy-check {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.privacy-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
}

.privacy-check a {
  color: #182a88;
  text-decoration: underline;
  font-weight: 600;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  min-width: 300px;
}

/* ========================================
   Responsive - Tablet
======================================== */
@media (max-width: 1024px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .methods-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* ========================================
   Responsive - Mobile
======================================== */
@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0 60px;
    margin-top:60px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-header h2 {
    font-size: 1.75rem;
  }

  .form-submit .btn {
    min-width: auto;
    width: 100%;
  }

  .method-card {
    padding: 32px 24px;
  }

  .method-icon {
    width: 64px;
    height: 64px;
  }

  .method-icon svg {
    width: 36px;
    height: 36px;
  }
}
