/* 2026-11 追加: 求人カードの作り直しとLINEボタン */

/* カード: 全体リンクは重ねたリンクで実現し、中にLINEボタンを置けるようにする */
.ahk-card {
    position: relative;
    display: flex;
    flex-direction: column;
}
.ahk-card .ahk-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.ahk-card .job-opening-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ahk-card:hover {
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.28);
}

/* LINEボタン共通 */
.ahk-line-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #06c755;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1.3;
    transition: background-color .15s;
}
.ahk-line-btn:hover,
.ahk-line-btn:focus {
    background: #05a847;
    color: #fff;
    text-decoration: none;
}
.ahk-line-btn__icon {
    flex: none;
}

/* カード内 */
.ahk-line-btn--card {
    margin-top: auto;
    align-self: center;
    padding: 10px 28px;
    font-size: 15px;
}

/* 求人詳細の上部 */
.ahk-line-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
    padding: 18px 20px;
    background: #effaf3;
    border: 1px solid #b7e6c9;
    border-radius: 8px;
}
.ahk-line-detail__msg {
    margin: 0;
    font-weight: 700;
    color: #333;
    text-wrap: balance;
}
.ahk-line-btn--detail {
    padding: 12px 36px;
    font-size: 17px;
}

@media screen and (max-width: 767px) {
    .ahk-line-btn--card {
        font-size: 14px;
        padding: 9px 22px;
    }
    .ahk-line-detail {
        flex-direction: column;
        text-align: center;
        padding: 14px 12px;
    }
    .ahk-line-detail__msg {
        font-size: 14px;
    }
    .ahk-line-btn--detail {
        width: 100%;
        font-size: 16px;
    }
}
