/* ベースリセットとグローバル設定 */
:root {
    /* テーマカラー設定 */
    --main-color: #007bff; /* 主要な青色（リンク、ボタンなど） */
    --accent-color: #28a745; /* 強調色（お問い合わせボックスなど） */
    --text-color: #343a40; /* メインテキストの色 */
    --bg-color: #f8f9fa; /* 背景色 */
    --border-color: #e9ecef; /* ボーダーの色 */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ボックスシャドウ */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.container {
    max-width: 960px; /* PCでの最大幅 */
    margin: 0 auto;
    padding: 0 15px;
    background-color: #fff; /* コンテンツ背景を白に */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------- */
/* ヘッダーとナビゲーション */
/* ---------------------------------- */
.page-header {
    padding: 20px 0;
    border-bottom: 3px solid var(--border-color);
}

.breadcrumb-nav {
    font-size: 0.85rem;
    padding-bottom: 10px;
    color: #6c757d;
}

.current-page {
    color: var(--text-color);
    font-weight: bold;
}

.header-content {
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 10px;
}

.update-note small {
    display: block;
    margin-top: 10px;
    color: #dc3545; /* 注意書きは赤で強調 */
    font-size: 0.9rem;
}

.current-date small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.8rem;
}

/* ---------------------------------- */
/* メインコンテンツとセクション */
/* ---------------------------------- */
.main-content {
    padding: 30px 0;
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.section h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* ---------------------------------- */
/* 求人カード */
/* ---------------------------------- */
.job-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.job-title {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: 10px;
    border-left: 5px solid var(--main-color);
    padding-left: 10px;
}

.job-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.job-details dt {
    font-weight: bold;
    width: 80px; /* 定義タイトルの幅を固定 */
    float: left;
    clear: both;
    padding: 5px 0;
    color: #5a6268;
}

.job-details dd {
    padding: 5px 0;
    margin-left: 85px;
    font-weight: 600;
}
/* floatをクリアするための処理 */
.job-details dl::after {
    content: "";
    display: table;
    clear: both;
}

/* ---------------------------------- */
/* 給与と応募方法 */
/* ---------------------------------- */
.compensation-range {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc3545; /* 赤で強調 */
    padding: 10px 0;
}

.application-process .section-title {
    border-bottom: 2px dashed var(--main-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.application-steps {
    list-style-type: decimal;
    padding-left: 30px;
}

.application-steps li {
    margin-bottom: 15px;
}

/* ---------------------------------- */
/* お問い合わせボックス */
/* ---------------------------------- */
.contact-section {
    border: none;
    padding: 0;
}

.contact-box {
    background-color: var(--accent-color);
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-title {
    font-size: 1.8rem;

    margin-bottom: 15px;
    color: white;
}

.attention-message {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffc107; /* 黄色で目立たせる */
    margin-bottom: 15px;
}

.privacy-link a {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 20px;
}

.company-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tel-fax {
    font-size: 1.2rem;
    font-weight: bold;
}

.phone-number {
    color: #ffc107; /* 電話番号を黄色で強調 */
}

.fax {
    margin-left: 20px;
}

/* ---------------------------------- */
/* フッター */
/* ---------------------------------- */
.page-footer {
    padding: 15px 0;
    text-align: right;
    border-top: 1px solid var(--border-color);
}

.to-top a {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
}

/* ---------------------------------- */
/* レスポンシブ対応 (モバイルファースト) */
/* ---------------------------------- */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .section {
        padding: 15px;
    }

    .job-title {
        font-size: 1.3rem;
    }

    .tel-fax {
        display: block;
        margin-bottom: 10px;
    }

    .fax {
        margin-left: 0;
        display: block;
    }
}