/* c:\Users\user\my_project\website\assets\css\job-openings.css */

#job-openings {
    padding: 60px 0;
    background-color: #f9f9f9; /* 背景色を追加 */
    z-index: 0; /* 他のセクションより下に配置 */
    position: relative; /* z-indexを使うために必要 */
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.job-list {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 40px; /* 各求人情報の間のスペース */
}

.job-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.job-item h3 {
    font-size: 1.6rem;
    color: #007bff; /* タイトルの色 */
    margin-bottom: 20px; /* テーブルとの間隔 */
    border-bottom: 2px solid #007bff; /* タイトル下線 */
    padding-bottom: 0px;
    display: inline-block; /* 下線の幅をテキストに合わせる */
}

/* assets/css/layout/job-openings.css に追記 */
.job-item .job-requirements {
    margin-top: 15px; /* h3との間隔 */
    margin-bottom: 25px; /* テーブルとの間隔 */
    padding: 15px;
    background-color: #f8f9fa; /* 少し背景色をつける場合 */
    border-left: 3px solid #007bff; /* アクセントライン */
}

.job-item .job-requirements h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.job-item .job-requirements p,
.job-item .job-requirements ul {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.job-item .job-requirements ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.job-details-table {
    width: 100%;
    border-collapse: collapse; /* 罫線を重ねる */
    margin-bottom: 20px; /* ボタンとの間隔 */
}

.job-details-table th,
.job-details-table td {
    padding: 15px 10px; /* パディング調整 */
    border-bottom: 1px solid #eee; /* 各行の下に罫線 */
    vertical-align: top; /* 内容が多い場合に上揃え */
    text-align: left;
}

/* 左カラム (th) のスタイル */
.job-details-table th {
    font-weight: bold; /* 太字 */
    color: #555; /* 少し濃いグレー */
    width: 120px; /* 左カラムの幅を固定 */
    /* 例: フォントファミリーを指定する場合 */
    /* font-family: 'Arial', sans-serif; */
}

/* 右カラム (td) のスタイル */
.job-details-table td {
    color: #333; /* 標準的なテキスト色 */
    /* 例: 別のフォントファミリーを指定する場合 */
    /* font-family: 'Georgia', serif; */
    line-height: 1.6; /* 行間を少し広げる */
}

/* テーブルの最後の行の下罫線を削除する場合 (任意) */
.job-details-table tr:last-child th,
.job-details-table tr:last-child td {
    border-bottom: none;
}

.job-item .btn {
    text-align: center;
    display: inline-block; /* ボタンの表示形式 */
    margin-top: 10px; /* テーブルからのマージン */
    /* 必要に応じて他のボタンスタイルを style.css から継承または上書き */
}

/* Company PR Section のスタイル (index.html と共通なら style.css に記述) */
/* 必要であればここに #company-pr 関連のスタイルを追加 */
#company-pr {
    padding: 60px 0;
    background-color: #fff; /* 背景色 */
}
.company-pr-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.company-pr-text {
    flex: 1;
}
.company-pr-text .section-title {
    text-align: left; /* 左寄せ */
    margin-bottom: 20px;
}
.company-pr-text p {
    color: #666;
    line-height: 1.7;
}
.company-pr-image {
    flex: 0 0 45%; /* 画像の幅 */
    max-width: 45%;
}
.company-pr-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 (例) */
@media (max-width: 768px) {
    .company-pr-content {
        flex-direction: column;
    }
    .company-pr-image {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 30px;
    }
    .company-pr-text .section-title {
        text-align: center; /* スマホでは中央寄せ */
    }
    .job-details-table th {
        width: 100px; /* スマホでは少し狭く */
    }
    .job-details-table th,
    .job-details-table td {
        padding: 12px 8px;
    }
}
