/* recruit/index.html用のスタイル */

.recruit-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* recruit-intro */
.recruit-intro-section {
    padding: 60px 20px;
    text-align: center;
}

.recruit-data-section {
    padding-bottom: 60px;
}

.recruit-intro-title>h2 {
    font-size: 2rem;
    font-family: 'Zen Old Mincho', serif;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.6;
}

.recruit-intro-text {
    font-size: 14px;
    line-height: 2;
    margin: 0 auto;
    text-align: left;
    padding: 0 3rem;
}

nav.recruit-nav>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60px;
    gap: 20px;

    a.btn {
        font-size: 1rem;
    }

    @media screen and (min-width: 768px) {
        gap: 20px;
    }

    &>li {
        min-width: 290px;
        max-width: 400px;
        flex: 1;
    }
}

.contact-button-container {
    max-width: 250px;
    margin: 0 auto;

    a.btn {
        font-size: 1rem;
    }
}



@media (min-width: 992px) {
    .recruit-intro-section {
        padding: 100px 40px;
    }

    .recruit-intro-title {
        font-size: 32px;
    }

    .recruit-intro-text {
        font-size: 16px;
    }
}

.job-posting-title {
    text-align: center;
    margin: 0 auto 80px auto;
    font-size: 1.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
}


/* =========================================
   ベーススタイル（スマホ向け：縦並び）
   ========================================= */
.job-posting-card {
    margin-bottom: 60px;

    &:last-child {
        margin-bottom: 0;
    }
}

.job-posting-list {
    width: 100%;
    margin: 0 auto 60px;
    border-top: 1px solid #e0e0e0;
    color: #333;
}

.job-posting-row {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.job-posting-row dt {
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0 15px 10px 15px;
}

.job-posting-row dd {
    margin: 0;
    padding: 0 15px 0 25px;
    /* 左側にアクセントライン用の余白 */
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
}

/* 説明文の左にある緑のライン */
.job-posting-row dd::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #bce272;
    /* 画像のアクセントカラー（黄緑） */
}

/* リストや段落の微調整 */
.job-posting-row dd p {
    margin: 0 0 10px 0;
}

.job-posting-row dd p:last-child {
    margin-bottom: 0;
}

.job-posting-row dd ul {
    margin: 10px 0 0 0;
    padding-left: 1.2em;
    list-style-type: disc;
}

.contact-button-container {
    max-width: 250px;
    margin: 0 auto;
}

/* =========================================
   タブレット・PC向け（画面幅 768px以上：横並び）
   ========================================= */
@media (min-width: 768px) {
    .job-posting-list {
        max-width: 900px;
        border: 1px solid #e0e0e0;
        /* 外枠を囲む */
    }

    .job-posting-row {
        display: flex;
        align-items: stretch;
        /* 左右の高さを揃える */
        padding: 0;
    }

    .job-posting-row dt {
        flex: 0 0 200px;
        /* 左側のラベル幅を固定 */
        background-color: #fff;
        padding: 30px 20px;
        display: flex;
        align-items: center;
        /* ラベルを上下中央に */
        margin-bottom: 0;
    }

    .job-posting-row dd {
        flex: 1;
        padding: 30px 40px;
        /* 境界線 */
    }

    /* 横並び時はラインの位置を調整 */
    .job-posting-row dd::before {
        left: 20px;
        top: 30px;
        bottom: 30px;
    }

    .contact-button-container {
        max-width: 350px;
        margin: 0 auto;
    }
}