:root {
    --primary: #7abc50;
    --primary-dark: #5f9441;
    --primary-light: #96bc74;
    --secondary: #e8f7df;
    --white: #ffffff;
    --grey-900: #111827;
    --grey-800: #1f2937;
    --grey-700: #374151;
    --grey-600: #4b5563;
    --grey-500: #6b7280;
    --grey-300: #d1d5db;
    --grey-200: #e5e7eb;
    --grey-100: #f3f4f6;
    --grey-50: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.75;
    color: var(--grey-800);
    background: var(--grey-50);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey-200);
}

.navbar-brand .navbar-item {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--grey-900);
}

.navbar-item:hover {
    background-color: transparent !important;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    background: linear-gradient(110deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}


.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.375rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Company Info */
.company-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.company-logo {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.company-name {
    font-weight: 600;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    margin-top: 50px;
    padding-bottom: 4rem;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--grey-200);
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--grey-300);
    background: white;
    color: var(--grey-700);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 188, 80, 0.3);
}

/* Employee Grid */
.employees-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--grey-900);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}


.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.employee-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--grey-200);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.employee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.employee-card:hover::before {
    transform: scaleX(1);
}

.employee-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--grey-200);
}

.employee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.employee-card:hover .employee-image img {
    transform: scale(1.05);
}

.employee-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(122, 188, 80, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.employee-content {
    padding: 2rem;
}

.employee-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 0.5rem;
}

.employee-role {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.employee-department {
    color: var(--grey-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.employee-preview {
    color: var(--grey-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.employee-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--grey-200);
}

.employee-join-date {
    color: var(--grey-600);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-btn {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateX(3px);
}

.cta-section {
    background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-800) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 24px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(122, 188, 80, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.staffd-card .employee-image img {
    object-position: 50% 30%;
}

.staffd-card:hover .employee-image img {
    transform: scale(1.05);
    /* hover時は他と同じ拡大 */
}

/* 個別調整（トリミング位置を少し引きで見せる） */
.staffe-card .employee-image img {
    object-position: 50% 30%;
    transform: scale(1.0);
}

.stafff-card .employee-image img {
    object-position: 50% 30%;
    transform: scale(1.0);
}

.staffg-card {
    /* 調整用カスタムプロパティ（ここを書き換えれば座標とズームを指定可能） */
    --staffg-height: 320px;
    --staffg-pos-x: 50%;
    --staffg-pos-y: 15%;
    --staffg-scale: 1.0;
    display: flex;
    flex-direction: column;
}

.staffg-card .employee-image {
    height: var(--staffg-height);
    background: #f0efe9;
    flex-shrink: 0;
}

.staffg-card .employee-content {
    flex: 1;
}

.staffg-card .employee-image img {
    object-position: var(--staffg-pos-x) var(--staffg-pos-y);
    transform: scale(var(--staffg-scale));
}

.staffg-card:hover .employee-image img {
    transform: scale(calc(var(--staffg-scale) + 0.03));
}


@keyframes float {

    0%,
    100% {
        transform: translate(0%, 0%) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.btn-primary {
    background: linear-gradient(120deg, #52c65a 0%, #48af4f 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #45a74b 0%, #379c3e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Footer */
.footer-section {
    background: var(--grey-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.footer-cta {
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid var(--grey-700);
    padding-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* employee */
.employee-content {
    padding: 1.5rem;
}

@media (max-width: 1023px) {}

@media (max-width: 767px) {
    .hero-section {
        min-height: 60vh;
        padding-top: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-stats {
        margin-top: 25px;
    }

    .main-content {
        margin-top: 50px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .filter-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .content-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-title {
        font-size: 1.7rem;
    }
}