/* 採用エントリーページ専用スタイル */

/* エントリーセクション */
.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
}

/* フォームコンテナ */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* 情報カード */
.contact-info-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 3rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.contact-info-card > * {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .contact-info-card {
    padding: 2rem;
  }
}

.contact-info-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-text {
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(0.5rem);
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-content p {
  color: #f3f4f6;
  font-size: 1.125rem;
}

/* フォームカード */
.contact-form-card {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 768px) {
  .contact-form-card {
    padding: 2rem;
  }
}

/* フォームグループ */
.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

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

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

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-input.error ~ .form-error,
.form-select.error ~ .form-error,
.form-textarea.error ~ .form-error {
  display: block;
}

/* チェックボックス */
.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.form-checkbox:checked {
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  border-color: transparent;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  cursor: pointer;
}

.form-checkbox-label a {
  color: #14b8a6;
  text-decoration: underline;
  font-weight: 600;
}

/* 送信ボタン */
.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:disabled:hover {
  transform: none;
}

/* FAQセクション */
.faq-section {
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #f3f4f6;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #14b8a6;
}

.faq-question {
  padding: 1.5rem;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-question-text {
  font-weight: 600;
  color: #1f2937;
  font-size: 1.125rem;
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #4b5563;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-title p {
  color: #6b7280;
  font-size: 1.125rem;
}

.section-title-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #14b8a6 0%, #3b82f6 100%);
  margin: 0 auto;
  border-radius: 2px;
}

/* 送信完了メッセージ */
.success-message {
  display: none;
  padding: 2rem;
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  color: white;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  animation: slideDown 0.5s ease;
}

.success-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message i {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Contact Form 7 専用スタイル */
.wpcf7 {
  width: 100%;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ok {
  display: none !important;
}

.wpcf7 .wpcf7-response-output {
  display: none !important;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #ef4444 !important;
}

.wpcf7 .wpcf7-spinner {
  display: none;
}

.wpcf7 form.submitting .submit-btn {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* CF7 設定通知スタイル */
.cf7-setup-notice {
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 1rem;
  padding: 2rem;
}

.cf7-setup-notice h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.cf7-setup-notice p {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cf7-setup-notice ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: #4b5563;
}

.cf7-setup-notice ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.cf7-setup-notice code {
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #dc2626;
}

.cf7-template {
  margin-top: 1.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.cf7-template h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.cf7-template pre {
  background: #1f2937;
  color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.form-checkbox-group p{
	display:flex;
	gap:0.25rem;
}

.form-checkbox-label br {
	display:none;
}
