/* Recruit Page Modern Design */

/* ========================================
   ヒーローセクション
======================================== */
.recruit-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
    background: #0a0e27;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.95;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(3deg); }
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

/* Floating particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-up 15s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 13s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 17s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 15s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 13s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 18s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 14s; }
.particle:nth-child(10) { left: 95%; animation-delay: 18s; animation-duration: 15s; }

.hero-content-modern {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-title-recruit {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.title-highlight {
    background: linear-gradient(90deg, #ffd89b 0%, #ffecd2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 統計カード */
.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 50px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.stat-card-modern:hover::before {
    animation: shine 0.5s ease;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.stat-card-modern:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.8;
}

.stat-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* CTAボタン */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

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

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 2px;
    color: white;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px auto 0;
}

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

/* ========================================
   カルチャーセクション
======================================== */
.culture-section {
    padding: 100px 0;
    background: #f8f9fc;
}

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

.section-badge-modern {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    color: #0f1932;
    margin-bottom: 15px;
}

.section-subtitle-modern {
    font-size: 18px;
    color: #64748b;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.culture-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.culture-card:hover::after {
    transform: scaleX(1);
}

.culture-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.culture-card:nth-child(even):hover {
    transform: translateY(-8px) rotate(1deg);
}

.culture-card.large {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.culture-icon-large {
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
}

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

.culture-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0f1932;
}

.culture-card.large h3 {
    color: white;
}

.culture-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.culture-text {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* ========================================
   福利厚生セクション
======================================== */
.benefits-section {
    padding: 100px 0;
    background: white;
}

.benefits-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

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

.tab-button {
    padding: 12px 30px;
    background: #f1f5f9;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.benefit-item {
    background: #f8f9fc;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0f1932;
}

.benefit-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* ========================================
   募集職種セクション
======================================== */
.positions-section {
    padding: 100px 0;
    background: #f8f9fc;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.position-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.position-card:hover::before {
    opacity: 1;
}

.position-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.position-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.position-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.position-badge.new {
    background: #10b981;
    color: white;
}

.position-badge.urgent {
    background: #ef4444;
    color: white;
}

.position-category {
    padding: 5px 12px;
    background: #e0e7ff;
    color: #667eea;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.position-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f1932;
    margin-bottom: 15px;
}

.position-summary {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.position-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.position-tags .tag {
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 13px;
    color: #475569;
}

.position-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.position-details .detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.detail-icon {
    font-size: 16px;
}

.position-apply {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.position-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ========================================
   選考プロセス
======================================== */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.step-number {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Process line animation */
.process-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0f1932;
}

.step-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.step-duration {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
    padding: 100px 0;
    background: #f8f9fc;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #0f1932;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fc;
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #64748b;
    line-height: 1.8;
}

/* ========================================
   CTA
======================================== */
.recruit-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-content-recruit {
    text-align: center;
    color: white;
}

.cta-content-recruit h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content-recruit p {
    font-size: 20px;
    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: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: white;
    color: #667eea;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 992px) {
    .culture-card.large {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-line {
        top: 0;
        bottom: 0;
        left: 30px;
        width: 2px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero-title-recruit {
        font-size: 32px;
    }
    
    .hero-stats-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title-modern {
        font-size: 32px;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 200px;
    }
}

/* ========================================
   3D効果とインタラクション
======================================== */
.benefit-item {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.benefit-item:hover {
    transform: translateY(-5px) rotateX(-10deg);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.15),
        0 40px 80px rgba(102, 126, 234, 0.1);
}

/* Glowing effect for badges */
.position-badge.new {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(16, 185, 129, 0); }
}

.position-badge.urgent {
    animation: urgent-pulse 1s infinite;
}

@keyframes urgent-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(239, 68, 68, 0); }
}

/* FAQ hover effects */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(102, 126, 234, 0.1);
}

/* CTA section enhancement */
.recruit-cta-section {
    position: relative;
    overflow: hidden;
}

.recruit-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}