/*--------------------------------------------------------------
# Careers Page Specific Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 250801.html and 250802.html Specific Hero Section
--------------------------------------------------------------*/
.job-detail-hero-250801 {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.job-detail-hero-250801 .hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.job-detail-hero-250801 .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-detail-hero-250801 .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.85) 0%, rgba(0, 90, 48, 0.9) 100%);
  z-index: 2;
}

.job-detail-hero-250801 .container {
  position: relative;
  z-index: 3;
}

.job-detail-hero-250801 .job-hero-content {
  max-width: 800px;
  color: #fff;
}

.job-detail-hero-250801 .job-category-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.job-detail-hero-250801 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.job-detail-hero-250801 .job-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .job-detail-hero-250801 {
    padding: 80px 0;
  }
  
  .job-detail-hero-250801 h1 {
    font-size: 1.8rem;
  }
  
  .job-detail-hero-250801 .job-hero-desc {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# 250801.html Sidebar Styling
--------------------------------------------------------------*/
.detail-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-box {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-box h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
}

/* この仕事の魅力 */
.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.6;
}

.point-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* キャリアパス */
.career-flow {
  position: relative;
  padding-left: 2rem;
}

.career-flow::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: #e0e0e0;
}

.career-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.career-step:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.career-step::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e0e0e0;
}

.step-year {
  font-weight: 700;
  color: var(--primary);
  margin-right: 1rem;
  min-width: 60px;
}

.step-title {
  color: #333;
  font-weight: 500;
}

/* エントリーボックス */
.entry-box {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.entry-box h5 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
}

.btn-entry {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary) 0%, #00a859 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.btn-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 89, 0.3);
  text-decoration: none;
  color: #fff;
}

.entry-note {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.entry-note strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 0.3rem;
  letter-spacing: 2px;
  color: var(--primary);
}

/*--------------------------------------------------------------
# Careers Hero Section
--------------------------------------------------------------*/
.careers-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.careers-hero .hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.careers-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.careers-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.careers-hero .hero-title {
  margin-bottom: 30px;
}

.title-main {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 400;
  letter-spacing: 5px;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.title-sub {
  display: block;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.careers-hero .hero-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-cta:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: var(--primary);
}

.hero-cta i {
  font-size: 24px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/*--------------------------------------------------------------
# Careers Stats Section
--------------------------------------------------------------*/
.careers-stats {
  background: var(--dark);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.stat-content {
  flex: 1;
}

.careers-stats .stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  font-weight: 400;
  margin-left: 5px;
}

.stat-label {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}

/*--------------------------------------------------------------
# Open Positions Section
--------------------------------------------------------------*/
.open-positions {
  padding: 120px 0;
  background: var(--white);
}

.open-positions .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  font-weight: 400;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: -40px;
}

.open-positions .section-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 18px;
  color: var(--gray);
}

/*--------------------------------------------------------------
# Positions Tabs
--------------------------------------------------------------*/
.positions-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab-button {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: var(--gray);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.tab-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/*--------------------------------------------------------------
# Position Items
--------------------------------------------------------------*/
.position-item {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
}

.position-item:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.position-item.featured {
  border: 2px solid var(--primary);
}

.position-header {
  margin-bottom: 25px;
}

.position-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.position-badge.urgent {
  background: #DC143C;
  color: var(--white);
}

.position-badge.new {
  background: var(--primary);
  color: var(--white);
}

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

.position-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.position-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}

.position-meta i {
  color: var(--primary);
}

.position-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 25px;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.position-tags .tag {
  background: #e8f5e9;
  color: var(--secondary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.position-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.position-link:hover {
  gap: 15px;
  text-decoration: none;
  color: var(--secondary);
}

/*--------------------------------------------------------------
# Selection Process Section
--------------------------------------------------------------*/
.selection-process {
  padding: 120px 0;
  background: #f8f9fa;
}

.selection-process .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.process-step[data-step="1"] { animation-delay: 0.1s; }
.process-step[data-step="2"] { animation-delay: 0.2s; }
.process-step[data-step="3"] { animation-delay: 0.3s; }
.process-step[data-step="4"] { animation-delay: 0.4s; }
.process-step[data-step="5"] { animation-delay: 0.5s; }

.step-marker {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.process-step:hover .step-marker {
  border-color: var(--primary);
  transform: scale(1.1);
}

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--primary);
  font-weight: 400;
}

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

.step-content p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
}

.step-period {
  display: block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Benefits Section
--------------------------------------------------------------*/
.benefits-section {
  padding: 120px 0;
  background: var(--white);
}

.benefits-section .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.1) 0%, rgba(0, 208, 108, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

.benefit-card:hover .benefit-icon i {
  color: var(--white);
}

.benefit-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.benefit-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.benefit-card li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray);
}

.benefit-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Position Details Section
--------------------------------------------------------------*/
.position-details {
  padding: 120px 0;
  background: #f8f9fa;
}

.position-details .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.detail-block {
  background: var(--white);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.detail-header h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.detail-badges {
  display: flex;
  gap: 10px;
}

.detail-section {
  margin-bottom: 50px;
}

.detail-section h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

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

.detail-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
}

.detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.note {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--gray);
  margin-top: 20px;
}

.requirement-box {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.requirement-box h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.requirement-box ul {
  list-style: none;
  padding: 0;
}

.requirement-box li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--gray);
}

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

.detail-table {
  width: 100%;
}

.detail-table th {
  background: #f8f9fa;
  padding: 20px;
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  width: 25%;
  vertical-align: top;
}

.detail-table td {
  padding: 20px;
  color: var(--gray);
  line-height: 1.8;
}

.detail-table tr {
  border-bottom: 1px solid #e0e0e0;
}

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

/*--------------------------------------------------------------
# Entry CTA Section
--------------------------------------------------------------*/
.entry-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 90, 48, 0.9) 0%, rgba(0, 168, 89, 0.9) 100%);
}

.entry-cta .cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.btn-cta-primary,
.btn-cta-secondary {
  padding: 18px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

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

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

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

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

/*--------------------------------------------------------------
# Careers Page Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .title-main {
    font-size: 60px;
  }
  
  .careers-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .tab-nav {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .timeline-line {
    display: none;
  }
  
  .detail-block {
    padding: 40px 20px;
  }
  
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .careers-stats .stats-grid {
    grid-template-columns: 1fr;
  }

  .position-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# En Japan Banner Styles
--------------------------------------------------------------*/
.en-job-banner {
  margin: 60px auto;
  text-align: center;
}

.en-job-banner img {
  display: inline-block;
  max-width: 960px;
  height: auto;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

@media (max-width: 575px) {
  .en-job-banner {
    margin: 40px auto;
  }

  .en-job-banner img {
    max-width: 100%;
  }
}