/* 先達業務の一日ページ専用スタイル */

/* ヒーローセクション */
.sendatsu-hero {
    position: relative;
    height: 450px;
    background-image: url('../../images/recruit/sendatsu-hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 0 20px;
    overflow: hidden;
}

/* 画像を少し暗くして文字を見やすく */
.sendatsu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* コンテンツを前面に */
.sendatsu-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sendatsu-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.sendatsu-hero p {
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* タイムラインコンテナ */
.timeline-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* タイムラインセクション */
.timeline-section {
    margin-bottom: 50px;
    padding: 35px;
    background: white;
    border-left: 5px solid var(--primary-gold);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-section:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.15);
}

.timeline-section h3 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-section p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.timeline-section p:last-child {
    margin-bottom: 0;
}

/* 採用情報に戻るリンク */
.back-to-recruit {
    text-align: center;
    margin: 60px 0 80px;
}

.back-to-recruit a {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-gold);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(184, 134, 11, 0.3);
}

.back-to-recruit a:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sendatsu-hero {
        height: 350px !important;
        padding: 105px 20px 0 20px !important;
    }

    .sendatsu-hero h1 {
        font-size: 2.2rem;
    }

    .sendatsu-hero p {
        font-size: 1rem;
    }

    .timeline-container {
        margin: 40px auto;
    }

    .timeline-section {
        padding: 25px 20px;
        margin-bottom: 35px;
        border-left-width: 4px;
    }

    .timeline-section h3 {
        font-size: 1.35rem;
        margin-bottom: 15px;
    }

    .timeline-section p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .back-to-recruit {
        margin: 40px 0 60px;
    }

    .back-to-recruit a {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sendatsu-hero {
        height: 300px !important;
        padding: 0 20px !important;
        padding-top: 95px !important;
    }

    .sendatsu-hero h1 {
        font-size: 1.8rem;
    }

    .sendatsu-hero p {
        font-size: 0.95rem;
    }

    .timeline-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .timeline-section h3 {
        font-size: 1.2rem;
    }

    .timeline-section p {
        font-size: 0.95rem;
    }
}
