/**
 * contact.css - 問い合わせページ専用スタイル
 */

.main-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* ========================================
   Page Header
======================================== */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--mhw-brown-light);
}

.page-header h1 {
  color: var(--mhw-orange);
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
}

.page-description {
  color: var(--mhw-text-muted);
  margin: 0;
  line-height: 1.8;
  font-size: 1rem;
}

/* ========================================
   Contact Form Section
======================================== */
.contact-form-section {
  margin-bottom: 4rem;
}

.contact-form {
  background: var(--mhw-brown);
  border: 2px solid var(--mhw-brown-light);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  color: var(--mhw-text);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.form-label.required::after {
  content: ' *';
  color: var(--mhw-orange);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--mhw-brown-dark);
  border: 2px solid var(--mhw-brown-light);
  border-radius: 6px;
  color: var(--mhw-text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--mhw-orange);
  background: var(--mhw-brown);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #666;
}

.form-input:read-only {
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.form-select {
  cursor: pointer;
}

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

.character-count {
  text-align: right;
  color: #888;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-file {
  width: 100%;
  padding: 0.8rem;
  background: var(--mhw-brown-dark);
  border: 2px dashed var(--mhw-brown-light);
  border-radius: 6px;
  color: var(--mhw-text);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-file:hover {
  border-color: var(--mhw-orange);
}

.form-file::file-selector-button {
  padding: 0.5rem 1rem;
  background: var(--mhw-orange);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  margin-right: 1rem;
  transition: background 0.3s ease;
}

.form-file::file-selector-button:hover {
  background: var(--mhw-gold);
}

.form-hint {
  color: #888;
  font-size: 0.85rem;
  margin: 0.5rem 0 0 0;
  line-height: 1.5;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn-submit,
.btn-reset {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background: var(--mhw-orange);
  color: white;
}

.btn-submit:hover {
  background: var(--mhw-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.btn-reset {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mhw-text-muted);
  border: 1px solid var(--mhw-brown-light);
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--mhw-orange);
}

/* ========================================
   Contact Info Section
======================================== */
.contact-info-section {
  margin-bottom: 3rem;
}

.contact-info-section h2 {
  color: var(--mhw-orange);
  text-align: center;
  margin: 0 0 2rem 0;
  font-size: 2rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--mhw-brown);
  border: 2px solid var(--mhw-brown-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(233, 69, 96, 0.2);
  border-color: var(--mhw-orange);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--mhw-text);
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.info-card p {
  color: var(--mhw-text-muted);
  margin: 0.5rem 0;
  line-height: 1.6;
}

.info-note {
  font-size: 0.85rem;
  color: #888;
}

.info-link {
  display: inline-block;
  color: var(--mhw-orange);
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-link:hover {
  color: var(--mhw-gold);
}

/* ========================================
   Notice Section
======================================== */
.notice-section {
  margin-bottom: 2rem;
}

.notice-box {
  background: rgba(15, 52, 96, 0.3);
  border: 2px solid var(--mhw-brown-light);
  border-radius: 8px;
  padding: 2rem;
}

.notice-box h3 {
  color: var(--mhw-orange);
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.notice-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.notice-box li {
  color: var(--mhw-text-muted);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.notice-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--mhw-orange);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
  .main-container {
    padding: 0 1rem;
  }

  .page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-submit,
  .btn-reset {
    width: 100%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-description {
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .form-label {
    font-size: 0.95rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  .btn-submit,
  .btn-reset {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .contact-info-section h2 {
    font-size: 1.5rem;
  }

  .info-icon {
    font-size: 2.5rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
  }

  .notice-box {
    padding: 1.5rem;
  }

  .notice-box h3 {
    font-size: 1.1rem;
  }

  .notice-box li {
    font-size: 0.9rem;
  }
}
