/* css/careers.css - 「採用情報」ページ専用スタイル */

/* ページヘッダー */
.page-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: var(--header-height);
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* イントロダクションセクション */
.intro-section {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}
.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}
.intro-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.benefit-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.benefit-item img {
    height: 60px; /* アイコンサイズを統一 */
    margin-bottom: 1rem;
}
.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* 求人リストセクション */
.job-listings-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}
.job-listings-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.job-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}
.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.job-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}
.job-card .employment-type {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.job-details {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}
.job-details li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}
.job-details li strong {
    color: var(--heading-color);
    display: inline-block; /* 項目名と内容のバランスを調整 */
    min-width: 6em; /* 項目名の幅を揃える */
}
.job-card .btn {
    align-self: flex-start; /* ボタンを左寄せに */
    margin-top: auto; /* カード下部に配置 */
}

/* 問い合わせセクション */
.contact-section {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}
.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}
.contact-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.contact-info {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.contact-info p {
    margin: 0.5rem 0;
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .intro-section p, .contact-section p {
        padding: 0 1rem;
    }
    .job-card {
        padding: 2rem 1.5rem;
    }
    .job-card h3 {
        font-size: 1.4rem;
    }
    .job-details li strong {
        min-width: 5em; /* スマホで項目名の幅を調整 */
    }
    .contact-info {
        font-size: 1rem;
    }
}
/* css/careers.css に追記 */

.job-card .company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.job-card h3 {
    margin-bottom: 1.5rem;
}