/* 全体のスタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section img {
    height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.25rem;
}

/* 職種選択ボタン */
.job-btn {
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-btn:hover,
.job-btn.active {
    background-color: #005566;
    color: #fff;
    border-color: #005566;
}

/* 職種詳細カード */
#job-details .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

#job-details .card-img-top {
    height: 250px;
    object-fit: cover;
}

#job-details .card-body {
    padding: 2rem;
}

.job-detail {
    margin-bottom: 1.5rem;
}

.job-detail h5 {
    color: #005566;
    font-weight: 600;
}

/* 選考プロセス */
#recruitment-process .card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#recruitment-process .card:hover {
    transform: translateY(-5px);
}

/* タイムライン */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #005566;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd)::before,
.timeline-item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #005566;
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

/* メッセージセクション */
#message .card {
    border: none;
    border-radius: 10px;
    padding: 2rem;
}

/* 応募CTA */
#apply-cta {
    background: #005566;
}

#apply-cta .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#apply-cta .btn:hover {
    background-color: #f4c430;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section img {
        height: 300px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 10px;
    }
}