:root {
  --primary-red: #e60012;
  --primary-blue: #0066cc;
  --secondary-blue: #1d4ed8;
  --dark-navy: #1a237e;
          --background-gray: #f8f9fa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--background-gray);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-bottom: 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg,var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-top: 20px;
}



.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
  padding-left: 20px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  
}

.stat-label {
  color: #666;
  font-size: 1rem;
  font-weight: 200;
}

/* Categories Section */
.categories {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
            font-weight: 600;
            color: #1f2937;
  margin-bottom: 1rem;
}

.section-header p {
  color: #6b7280;
            text-align: center;
            margin-bottom: 3rem;
}

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

.category-card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(156, 105, 105, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #0066ff;
}

.category-icon {
  font-size: 3rem;
  color: #0066ff;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.category-count {
  color: #666;
  font-weight: 500;
}

/* Featured Jobs */
.featured-jobs {
  padding: 4rem 0;
}

.section-header-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-header-with-link h2 {
  font-size: 2rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.5rem;
}

.view-all-link {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: #0052cc;
}

  .jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .job-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f1f5f9;
  }


  .job-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
  }

  .company-logo {
    width: 60px;
    height: 60px;
    background: #0066ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .job-info {
    flex: 1;
  }

  .job-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .job-info h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
  }

  .job-type-badge {
    background: #e5f3ff;
    color: #0066ff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .job-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #64748b;
    font-size: 0.8rem;
  }

  .job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .job-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .bookmark-btn {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
  }

  .bookmark-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
  }

  .apply-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .apply-btn:hover {
    background: var(--secondary-blue);
  }

/* Companies Section */
.companies {
  padding: 4rem 0;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.company-item {
  text-align: center;
  padding: 1rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.company-item-style{
  font-size: 1.5rem;
                  font-weight: bold;
                  color: var(--primary-blue);
}

.company-item:hover {
  opacity: 1;
}

.company-item img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.company-item:hover img {
  filter: grayscale(0%);
}

/* CTA Section */

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-primary {
  background: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-blue);
  color: white;
}

.cta {
  background-color: #CFD8DC;
  color: #1F2937;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: #1f2937;
  border: 2px solid white
}

.btn-white:hover {
  background: transparent;
  color: white;
}

.cta-button-primary:hover{
  background: white;
  color: var(--primary-blue);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button-primary {
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;

  border-color: white;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-illustration {
    max-width: 300px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  
}

@media (max-width: 768px) {
  .section-header-with-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .view-all-link {
    justify-content: center;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .job-left {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .job-info h3 {
    font-size: 1.1rem;
  }

  .job-type-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .job-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
  }

  .job-right {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .apply-btn,
  .bookmark-btn {
    flex: 1;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .job-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .company-logo {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .job-info h3 {
    font-size: 1rem;
  }

  .apply-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .bookmark-btn {
    padding: 0.6rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}
