body {
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.recruit-detail-page {
    padding-bottom: 100px;
}

.container {
    max-width: 1616px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
    box-sizing: border-box;
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 25px 0 15px 0;
}

.breadcrumb {
    font-size: 0.85rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.sns-share-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.sns-share-btn {
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sns-share-btn:hover {
    opacity: 0.8;
}

/* X（旧Twitter）: */
.btn-x {
    background-color: #000000;
}

/* Facebook */
.btn-facebook {
    background-color: #1877F2;
}

/* LINE */
.btn-line {
    background-color: #06C755;
}

.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fafafa;
    padding: 10px 0 20px 0;
}

.sticky-header {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}

.sticky-header-info {
    flex: 1;
}

.job-main-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-tag {
    font-size: 0.85rem;
    color: #666;
}

.btn-apply {
    background-color: var(--primary);
    color: #fff;
    padding: 16px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    font-size: 1rem;
    border: 2px solid var(--primary);
    transition: background-color 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-apply:hover {
    background-color: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.job-main-image-wrap {
    width: 100%;
    margin: 30px 0 60px 0;
}

.job-main-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-body-container {
    width: 100%;
    background-color: #fff;
    padding: 60px 80px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    margin-bottom: 25px;
}

.job-catchphrase {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 60px;
    line-height: 1.5;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    border-left: 6px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detail-section-text {
    line-height: 1.9;
    padding-left: 21px;
    font-size: 1rem;
    white-space: pre-line;
}

.job-detail-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    margin-bottom: 40px;
}

.job-detail-table th,
.job-detail-table td {
    padding: 22px 20px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.job-detail-table th {
    width: 22%;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

.job-detail-table td {
    white-space: pre-line;
}

.back-action {
    text-align: right;
}

.btn-back {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #d0d0d0;
}

.page-bottom-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 20px;
}

.sns-share-wrap {
    margin-left: auto;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .detail-body-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sns-share-wrap {
        width: 100%;
    }

    .sticky-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .detail-body-container {
        padding: 25px 20px;
    }

    .job-catchphrase {
        font-size: 1.5rem;
    }

    .job-detail-table th,
    .job-detail-table td {
        display: block;
        width: 100%;
    }

    .job-detail-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .page-bottom-actions {
        justify-content: center;
    }

    .sns-share-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
}
