/* 
 * デスクトップ版求人情報詳細ページスタイル
 */

/* ページ全体の設定 */
.job-detail-container {
    position: relative;
    overflow: hidden;
}

.job-detail-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    z-index: -1;
}

.job-detail-content {
    padding-top: 100px;
    min-height: 100vh;
}

/* 詳細コンテンツエリア */
.job-detail-article {
    max-width: 750px !important;
    width: 750px !important;
    margin: 0 auto !important;
    padding: 0 0 60px !important;
    box-sizing: border-box !important;
}

/* ヘッダー部分 */
.job-detail-header {
    background-color: white;
    padding: 30px 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid rgb(164, 11, 94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.job-detail-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.job-detail-logo {
    margin: 0 auto;
    width: 140px;
    height: 70px;
}

.job-detail-header-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: rgb(164, 11, 94);
}

.job-detail-header-description {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.job-detail-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.job-detail-nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgb(164, 11, 94);
    text-decoration: none;
}

.job-detail-nav-link span {
    margin-right: 5px;
}

.job-detail-nav-separator {
    color: #ccc;
}

/* 職種タイトルエリア */
.job-title-area {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgb(164, 11, 94);
    padding-bottom: 10px;
}

.job-title {
    margin: 0;
    font-size: 1.5rem;
}

.job-status-badge {
    margin-left: auto;
    background-color: rgb(164, 11, 94);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 職種詳細エリア */
.job-detail-body {
    background-color: white;
    border-radius: 6px;
    padding: 25px;
}

.job-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.job-section-heading {
    border-bottom: 2px solid rgb(164, 11, 94);
    padding-bottom: 8px;
    margin-top: 40px;
    font-size: 1.3rem;
    color: #333;
}

.job-detail-list {
    margin: 20px 0;
    line-height: 1.6;
    list-style-type: none;
    padding-left: 0;
}

.job-detail-list-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.job-detail-list-bullet {
    margin-right: 10px;
    color: rgb(164, 11, 94);
}

/* 職種詳細のマークダウンスタイル */
.job-details h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: rgb(164, 11, 94);
    border-left: 5px solid rgb(164, 11, 94);
    padding-left: 10px;
}

.job-details h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: rgb(164, 11, 94);
}

.job-details ul, .job-details ol {
    margin: 20px 0;
    padding-left: 0;
    list-style-type: none;
    line-height: 1.6;
}

.job-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.job-details li:before {
    content: "•";
    color: rgb(164, 11, 94);
    margin-right: 10px;
    display: inline-block;
}

.job-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-details strong {
    font-weight: bold;
}

/* 応募方法エリア */
.application-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
}

.application-info h3 {
    margin-top: 0;
    color: rgb(164, 11, 94);
    font-size: 1.2rem;
}

.application-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.application-email-link {
    margin-top: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-mail-icon {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.application-mail-address {
    color: rgb(164, 11, 94);
    text-decoration: none;
}

.application-mail-address:hover {
    text-decoration: underline;
}

/* ナビゲーションフッター */
.job-detail-footer {
    margin-top: 40px;
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border: 2px solid rgb(164, 11, 94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.job-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgb(164, 11, 94);
    text-decoration: none;
    font-weight: bold;
}

.job-detail-back-link span {
    font-size: 1.2rem;
}

.job-detail-footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.job-detail-footer-link {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
}

.job-detail-footer-link:hover {
    text-decoration: underline;
    color: rgb(164, 11, 94);
}

/* エラーページスタイル */
.job-not-found {
    text-align: center;
    padding: 100px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.job-not-found h2 {
    color: rgb(164, 11, 94);
    font-size: 24px;
    margin-bottom: 20px;
}

.job-not-found p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.job-not-found-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgb(164, 11, 94);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-not-found-link:hover {
    background-color: rgb(134, 9, 77);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}