/* Custom Styles to Preserve Original Design */
.hidden {
  display: none;
}

.consultant-list,
.consultation-form {
  padding: 2rem 0;
  background-color: #fafbfc;
  min-height: 70vh;
}

.consultant-card {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e8ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.consultant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 109, 141, 0.15);
  border-color: #c6e6f3;
}

.doctor-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid #1a6d8d;
}

.doctor-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.doctor-specialty {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0.3rem;
}

.doctor-license {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 1.2rem;
}

.consult-now-btn {
  background: #1a6d8d;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.9rem;
  margin-top: auto;
}

.consult-now-btn:hover {
  background: #155d79;
  transform: translateY(-2px);
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  color: #4a5568;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-note p {
  margin-bottom: 0.5rem;
}

.footer-note .small {
  font-size: 0.85rem;
  color: #718096;
}

/* 相談フォームのスタイル */
.consultation-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.doctor-profile-large {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
  padding: 2rem;
  text-align: center;
  border: 1px solid #e8ecef;
  height: fit-content;
}

.doctor-image-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid #1a6d8d;
}

.connection-steps {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
  padding: 2rem;
  border: 1px solid #e8ecef;
}

.steps-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps-list {
  list-style: none;
  padding: 0;
}

.steps-list li {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.steps-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-number {
  background: #1a6d8d;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content p {
  margin: 0.3rem 0;
  color: #4a5568;
  line-height: 1.6;
}

.step-content .jp {
  font-weight: 500;
}

.step-content .en {
  font-size: 0.85rem;
  color: #718096;
}

.consultation-form-fields {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
  padding: 2rem;
  border: 1px solid #e8ecef;
  margin-top: 1rem;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.form-input {
  padding: 0.8rem 1rem;
  border: 1px solid #e8ecef;
  border-radius: 0px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #1a6d8d;
  box-shadow: 0 0 0 2px rgba(26, 109, 141, 0.1);
}

.file-upload-box {
  border: 2px dashed #e8ecef;
  border-radius: 0px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.file-upload-box:hover {
  border-color: #1a6d8d;
  background: rgba(26, 109, 141, 0.02);
}

.upload-icon {
  font-size: 2rem;
  color: #718096;
  margin-bottom: 1rem;
}

.upload-text {
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.upload-subtext {
  font-size: 0.85rem;
  color: #718096;
}

.connect-btn {
  background: #1a6d8d;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1.5rem;
}

.connect-btn:hover {
  background: #155d79;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 109, 141, 0.15);
}

.dev-note {
  background: #f8fafc;
  border: 1px solid #e8ecef;
  border-radius: 0px;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #718096;
}

.back-btn {
  background: #ffffff;
  color: #1a6d8d;
  border: 1.5px solid #1a6d8d;
  padding: 0.7rem 1.5rem;
  border-radius: 0px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-btn:hover {
  background: #1a6d8d;
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title-p {
  font-size: 2rem;
  font-weight: 700;
  color: #1a6d8d;
  margin-bottom: 0.5rem;
}

.section-accent {
  width: 60px;
  height: 4px;
  background: #1a6d8d;
  margin: 0 auto 1rem;
}

.feature-intro {
  color: #4a5568;
  font-size: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .doctor-image-large {
    width: 120px;
    height: 120px;
  }

  .consultation-form-fields,
  .doctor-profile-large,
  .connection-steps {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  }
  .consultant-list,
  .consultation-form {
    min-height: 100% !important;
  }
  .consultation-layout {
    padding: 0;
  }
}

@media (min-width: 480px) {
  .consultant-list,
  .consultation-form {
    min-height: 100% !important;
  }
}
