/*--------------------------------------------------------------
# Job Detail Page Specific Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Job Detail Hero Section
--------------------------------------------------------------*/
.job-detail-hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.85) 0%, rgba(0, 90, 48, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: var(--white);
}

.job-hero-content {
  position: relative;
  z-index: 2;
}

.job-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.job-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.job-breadcrumb a:hover {
  color: var(--white);
  text-decoration: none;
}

.job-breadcrumb i {
  font-size: 12px;
  opacity: 0.6;
}

.job-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.job-detail-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.job-hero-desc {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
  max-width: 600px;
}

/*--------------------------------------------------------------
# Job Overview Section
--------------------------------------------------------------*/
.job-overview {
  padding: 80px 0;
  background: var(--white);
}

.overview-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.overview-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.overview-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.overview-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--primary);
  border-radius: 2px;
}

.overview-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 30px;
}

.highlight-points {
  list-style: none;
  padding: 0;
}

.highlight-points li {
  position: relative;
  padding: 15px 0 15px 40px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  color: var(--gray);
}

.highlight-points li:last-child {
  border-bottom: none;
}

.highlight-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 15px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.overview-sidebar {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 40px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 25px;
  text-align: center;
}

.job-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
}

.job-stat:last-child {
  border-bottom: none;
}

.stat-label {
  flex: 0 0 90px;
  color: var(--gray);
  font-weight: 600;
  text-align: left;
}

.stat-value {
  flex: 1;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}

.stat-highlight {
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Work Content Section
--------------------------------------------------------------*/
.work-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.work-step {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 25px;
}

.step-icon i {
  font-size: 36px;
  color: var(--primary);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.step-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Career Path Section
--------------------------------------------------------------*/
.career-path {
  padding: 80px 0;
  background: var(--white);
}

.career-timeline {
  position: relative;
  max-width: 1200px;
  margin: 50px auto 0;
  min-height: 300px;
}

/* PC表示: 横並び */
@media (min-width: 993px) {
  .timeline-line {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
  }
  
  .career-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
  }
  
  .career-stage {
    position: relative;
    text-align: center;
  }
  
  .stage-marker {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
  }
  
  .stage-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: var(--primary);
    font-weight: 400;
  }
  
  .stage-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px 15px;
    min-height: 200px;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

/* スマートフォン表示: 縦並び */
@media (max-width: 992px) {
  .timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
  }
  
  .career-stages {
    display: block;
  }
  
  .career-stage {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
  }
  
  .stage-marker {
    position: absolute;
    left: -25px;
    top: 20px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  
  .stage-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    color: var(--primary);
    font-weight: 400;
  }
  
  .stage-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
  }
}

.stage-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.stage-subtitle {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.stage-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*--------------------------------------------------------------
# Support System Section
--------------------------------------------------------------*/
.support-system {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8f5e9 0%, #f5f5f5 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.support-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.support-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-content {
  padding: 40px;
  text-align: center;
}

.support-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.support-icon i {
  font-size: 32px;
  color: var(--white);
}

.support-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.support-content p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 25px;
}

.support-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.support-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray);
}

.support-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Requirements Section
--------------------------------------------------------------*/
.requirements-section {
  padding: 80px 0;
  background: var(--white);
}

.requirements-table {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.requirements-table table {
  width: 100%;
  margin: 0;
}

.requirements-table th {
  background: var(--primary);
  color: var(--white);
  padding: 25px 30px;
  font-weight: 600;
  font-size: 16px;
  width: 30%;
  vertical-align: top;
  border: none;
}

.requirements-table td {
  padding: 25px 30px;
  line-height: 1.8;
  color: var(--gray);
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.requirements-table tr:last-child td {
  border-bottom: none;
}

.highlight-text {
  color: var(--primary);
  font-weight: 600;
}

.salary-example {
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 15px 20px;
  margin-top: 10px;
  border-radius: 0 10px 10px 0;
}

/*--------------------------------------------------------------
# Entry CTA Section
--------------------------------------------------------------*/
.entry-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-large {
  padding: 20px 50px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.btn-cta-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.btn-cta-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta-outline:hover {
  border-color: var(--white);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--white);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .overview-sidebar {
    position: static;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .career-timeline {
    max-width: 600px;
  }
  
  .career-stage:nth-child(even) {
    text-align: left;
  }
  
  .career-stage:nth-child(even) .stage-content,
  .career-stage:nth-child(odd) .stage-content {
    margin-left: 80px;
    margin-right: 20px;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .stage-marker {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .work-steps {
    grid-template-columns: 1fr;
  }

  .requirements-table th,
  .requirements-table td {
    display: block;
    width: 100%;
    padding: 20px;
  }

  .requirements-table th {
    background: var(--primary);
    color: var(--white);
    margin-bottom: 5px;
  }

  .career-stage:nth-child(even) .stage-content,
  .career-stage:nth-child(odd) .stage-content {
    margin-left: 60px;
    margin-right: 10px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-large {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .job-stat {
    flex-direction: column;
    gap: 4px;
  }

  .job-stat .stat-label {
    flex: none;
  }
}

@media (max-width: 480px) {
  .job-detail-hero {
    padding: 120px 0 60px;
  }
  
  .stage-content {
    max-width: 280px;
  }
}