@charset "utf-8";
/* CSS Document */
/* ==============================
   recruit.css
   採用一覧ページ専用スタイル
   ============================== */

/* リスト全体 */
.container--news {
    padding: 0;
    margin: 15px 0 0 0;
}

/* 求人カードのスクロールアニメーションを無効化し */
/* ページ読み込み時に全カード同時にスライドイン */
.container--news .news--list {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
}

.container--news .news--list:nth-child(1) { animation-delay: 0.1s; }
.container--news .news--list:nth-child(2) { animation-delay: 0.2s; }
.container--news .news--list:nth-child(3) { animation-delay: 0.3s; }

/* スクロールトリガーを上書きして無効化 */
.container--news .fadeInRightTrigger {
    animation: fadeInRight 0.8s ease forwards !important;
}



/* 各カード */
.news--list {
    list-style: none;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* 右下三角 */
.news--list::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 16px 16px;
    border-color: transparent transparent #222 transparent;
}

/* リンク全体 */
.news--list__link {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

/* バッジ（#SHOPなど） */
.recruit--badge {
    display: inline-block !important;
    background: #222 !important;
    color: #fff !important;
    font-size: 14px;
    padding: 2px 10px;
    margin-bottom: 8px;
    border-radius: 0 !important;
    border: none !important;
}
/* 職種名 */
.recruit--title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.news--list__title.recruit--title {
    font-size: 1.8rem;
}

/* タグ群 */
.news--list__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* 個別タグ（勤務地など） */
.news--list__tags .tag {
    border: 1px solid #aaa;
    font-size: 12px;
    padding: 12px 10px;
    background: #fff;
    color: #333;
    border-radius: 0;
    
    display: inline-flex;     
    align-items: center;      
    justify-content: center;  
    line-height: 1;
    
    margin-right:0;
}

/* 769px以上で2列 */
@media (min-width: 769px) {
    .container--news {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .news--list {
        width: calc(50% - 8px);
        box-sizing: border-box;
        margin-bottom: 0;
    }
}
