/* 職種アニメーションセクション */
.job-types {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    overflow: hidden;
}

.job-types-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 40px;
}

.job-types-scroll {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-types-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.job-types-track-2 {
    animation-direction: reverse;
}

.job-types-track-3 {
    animation-duration: 35s;
}

.job-types-track span {
    display: inline-block;
    background: white;
    color: #1a365d;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-types-track span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

/* 本気度フィルタリングセクション */
.commitment {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 80px 0;
}

.commitment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.commitment-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c53030;
    margin-bottom: 20px;
    line-height: 1.6;
}

.commitment-intro p {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.8;
}

.commitment-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.commitment-col {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.commitment-bad {
    border-left: 5px solid #e53e3e;
}

.commitment-good {
    border-left: 5px solid #38a169;
}

.commitment-col-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a365d;
}

.commitment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.commitment-list li {
    font-size: 1.05rem;
    color: #2d3748;
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.commitment-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.commitment-bad .commitment-list li::before {
    color: #e53e3e;
}

.commitment-good .commitment-list li::before {
    color: #38a169;
}

.commitment-result {
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.commitment-bad .commitment-result {
    background: #fff5f5;
    color: #c53030;
}

.commitment-good .commitment-result {
    background: #f0fff4;
    color: #22543d;
}

.commitment-explanation {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.commitment-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.commitment-explanation p {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.8;
    margin-bottom: 15px;
}

.commitment-closing {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.commitment-message {
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    margin-bottom: 15px;
}

.commitment-message:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .job-types {
        padding: 40px 0;
    }
    
    .job-types-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .job-types-track span {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .commitment {
        padding: 50px 0;
    }
    
    .commitment-lead {
        font-size: 1.2rem;
    }
    
    .commitment-intro p {
        font-size: 1rem;
    }
    
    .commitment-table {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .commitment-col {
        padding: 30px 20px;
    }
    
    .commitment-col-title {
        font-size: 1.1rem;
    }
    
    .commitment-list li {
        font-size: 0.95rem;
        padding-left: 25px;
    }
    
    .commitment-explanation {
        padding: 30px 20px;
    }
    
    .commitment-subtitle {
        font-size: 1.2rem;
    }
    
    .commitment-explanation p {
        font-size: 1rem;
    }
    
    .commitment-closing {
        padding: 30px 20px;
    }
    
    .commitment-message {
        font-size: 1.05rem;
    }
}
