/* 採用情報ページ専用スタイル */

.recruit-page {
    padding-top: 0;
}

/* 募集一覧スタイル */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.job-listings {
    margin-top: 30px;
}

.job-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.job-table table {
    width: 100%;
    border-collapse: collapse;
}

.job-table thead {
    background: #f8f9fa;
}

.job-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.job-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}

.job-table tbody tr {
    transition: background-color 0.2s ease;
}

.job-table tbody tr:hover {
    background-color: #f8f9fa;
}

.job-table tbody tr:last-child td {
    border-bottom: none;
}

.job-title-cell {
    font-weight: 600;
    color: #2c4f8d;
    min-width: 200px;
}

.job-type-cell {
    white-space: nowrap;
}

.job-type {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.job-summary-cell {
    max-width: 300px;
}

.job-location-cell {
    color: #666;
    max-width: 250px;
}

.job-date-cell {
    color: #666;
    white-space: nowrap;
}

.job-link {
    color: #2c4f8d;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.job-link:hover {
    color: #1a3a6b;
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.no-jobs {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

.error {
    text-align: center;
    padding: 40px;
    color: #d32f2f;
    font-size: 16px;
}

/* 詳細ページスタイル */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #2c4f8d;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.job-detail {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.job-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4f8d;
    margin: 0;
    flex: 1;
}

.job-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.job-detail-section {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 24px;
    font-weight: 600;
    color: #2c4f8d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c4f8d;
}

.section-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.section-content ul {
    list-style: none;
    padding-left: 0;
}

.section-content li {
    padding: 8px 0 8px 28px;
    position: relative;
}

.section-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c4f8d;
    font-weight: bold;
}

.job-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-back {
    display: inline-block;
    color: #666;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-back:hover {
    border-color: #2c4f8d;
    color: #2c4f8d;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message p {
    color: #d32f2f;
    font-size: 18px;
    margin-bottom: 20px;
}

/* ヒーローセクション */
.recruit-hero {
    background: linear-gradient(135deg, #2c4f8d 0%, #1a3a6b 100%);
    color: #fff;
    padding: 120px 0 80px;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruit-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/business/warehouse.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.recruit-hero-content {
    position: relative;
    z-index: 1;
}

.recruit-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.recruit-hero-content p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.65;
}

/* 採用情報セクション */
.recruit-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.recruit-content-block {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.recruit-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #2c4f8d;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #2c4f8d;
}

.recruit-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.recruit-text p {
    margin-bottom: 16px;
}

.recruit-text ul {
    list-style: none;
    padding-left: 0;
}

.recruit-text li {
    padding: 8px 0 8px 28px;
    position: relative;
}

.recruit-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c4f8d;
    font-weight: bold;
}

/* 募集要項テーブル */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.recruit-table th,
.recruit-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.recruit-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #2c4f8d;
    width: 200px;
    vertical-align: top;
}

.recruit-table td {
    color: #333;
    line-height: 1.8;
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
    border-bottom: none;
}

/* 応募ボタンセクション */
.recruit-apply-section {
    text-align: center;
    padding: 40px 0;
}

.recruit-apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2c4f8d 0%, #1a3a6b 100%);
    color: white;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 79, 141, 0.3);
}

.recruit-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 79, 141, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .recruit-hero {
        padding: 180px 0 80px;
    }
}

@media (max-width: 767px) {
    .recruit-hero {
        padding: 160px 20px 60px;
    }

    .recruit-hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .recruit-hero-content p {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .recruit-content-block {
        padding: 24px 20px;
    }

    .job-table {
        border-radius: 8px;
    }

    .job-table table {
        display: block;
        overflow-x: auto;
    }

    .job-table th,
    .job-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .job-title-cell {
        min-width: 150px;
    }

    .job-summary-cell {
        max-width: 200px;
    }

    .job-location-cell {
        max-width: 150px;
    }

    .recruit-subtitle {
        font-size: 22px;
    }

    .recruit-table {
        display: block;
    }

    .recruit-table thead {
        display: none;
    }

    .recruit-table tr {
        display: block;
        margin-bottom: 24px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .recruit-table th {
        background-color: #2c4f8d;
        color: white;
        border-bottom: none;
    }

    .recruit-table td {
        border-bottom: none;
    }
}
