/* ==========================================================================
   Contact Page — お問い合わせフォーム
   ========================================================================== */

.ct-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* イントロ */
.ct-intro {
  text-align: center;
  padding: 48px 0 40px;
}

.ct-intro-lead {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
}

/* フォームカード */
.ct-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ct-form-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a2333;
  margin: 0 0 8px;
}

.ct-form-sub {
  font-size: 0.85rem;
  color: #868e96;
  margin: 0 0 32px;
}

/* フィールド */
.ct-field {
  margin-bottom: 24px;
}

.ct-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a2333;
  margin-bottom: 8px;
}

.ct-required {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: #c0392b;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.ct-optional {
  font-size: 0.65rem;
  font-weight: 700;
  color: #868e96;
  background: #f0f1f3;
  padding: 2px 8px;
  border-radius: 4px;
}

.ct-input,
.ct-textarea,
.ct-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9rem;
  border: 1.5px solid #e0e3e8;
  border-radius: 10px;
  background: #f8f9fb;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  font-family: inherit;
  box-sizing: border-box;
}

.ct-input:focus,
.ct-textarea:focus,
.ct-select:focus {
  outline: none;
  border-color: #1a2333;
  box-shadow: 0 0 0 3px rgba(26, 35, 51, 0.08);
  background: #fff;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #adb5bd;
}

.ct-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ct-hint {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 6px;
}

/* 個人情報同意 */
.ct-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #f0f1f3;
  margin-top: 8px;
}

.ct-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #1a2333;
}

.ct-privacy-text {
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.6;
}

.ct-privacy-text a {
  color: #1a2333;
  font-weight: 600;
  text-decoration: underline;
}

/* 送信ボタン */
.ct-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 32px auto 0;
  padding: 16px 32px;
  background: linear-gradient(135deg, #1a2333, #2c3e57);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.ct-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 35, 51, 0.25);
}

.ct-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 会社情報カード */
.ct-info {
  margin-top: 48px;
  padding: 36px 40px;
  background: #f8f9fb;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ct-info-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a2333;
  display: inline-block;
}

.ct-info-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px 20px;
}

.ct-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6c757d;
}

.ct-info-value {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}

.ct-info-value a {
  color: #1a2333;
  text-decoration: none;
  font-weight: 600;
}

.ct-info-value a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .ct-form-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .ct-grid {
    grid-template-columns: 1fr;
  }

  .ct-info {
    padding: 28px 20px;
  }

  .ct-info-grid {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .ct-info-label {
    margin-top: 12px;
  }

  .ct-submit-btn {
    max-width: 100%;
  }
}
