@charset "utf-8";
/* リスト全体のスタイル */
.p-midcareer__list{
margin-top: 47px;
}
.p-midcareer__job-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #256490; /* 一番上の横線（色はサイトに合わせて調整してね） */
}

/* 各求人の行（枠） */
.p-midcareer__job-item {
    border-bottom: 1px solid #256490; 
    background-color: #F5F1EA; 
}

/* リンクエリア全体を横並び（Flexbox）にする */
.p-midcareer__job-link {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 60px ; 
    color: #314C65; 
    transition: background-color 0.3s ease;
}

.p-midcareer__job-link:hover {
    background-color: #f0ede3;
}

/* 職種名のテキスト */
.p-midcareer__job-title {
    font-size: 32px; 
   font-weight: 400;
    letter-spacing: 2%;
    line-height: 140%;
}

/* 右側の青い丸ボタンの土台 */
.p-midcareer__arrow-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;  
    height: 56px; 
    background-color: #256490; /* ボタンの背景色 */
    border-radius: 50%; 
    transition: transform 0.3s ease;
}

/* 矢印の文字 */
.p-midcareer__arrow-icon {
    color: #ffffff; /* 矢印の色（白） */
    font-size: 20px;
}

/* ホバーしたときにボタンを少し大きくする演出（お好みで） */
.p-midcareer__job-link:hover .p-midcareer__arrow-btn .p-midcareer__arrow-icon {
    color: #ffffff;
}

/* 中途採用2・アルバイトパート採用（地域選択画面） */
.section-midcareer2 {
    background-color: #F5F1EA;
    padding: 60px 0 100px;
}

.area-select-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

.area-select-ttl {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
    padding-left: 20px;
    position: relative;
    color: #1F1F1F;
    margin-bottom: 50px;
}

.area-select-ttl::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 32px;
    background-color: #256490;
}

/* 2カラムレイアウト（CSS Grid） */
.area-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
}

/* 地方グループ */
.region-group {
    margin-bottom: 45px;
}

.region-ttl {
    font-family: serif;
    font-size: 18px;
    font-weight: 500;
    color: #314C65;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* 都道府県リスト */
.pref-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pref-item {
    margin: 0;
}

.pref-link {
    display: inline-block;
    background-color: #FFFFFF;
    color: #314C65;
    padding: 12px 30px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.pref-link:hover {
    background-color: #256490;
    color: #FFFFFF;
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .section-midcareer2 {
        padding: 40px 0 60px;
    }
    
    .area-select-ttl {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .area-select-ttl::before {
        height: 24px;
    }
    
    .area-columns {
        grid-template-columns: 1fr;
        gap: 30px 0;
    }
    
    .region-group {
        margin-bottom: 30px;
    }
    
    .region-ttl {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .pref-link {
        padding: 10px 20px;
        font-size: 14px;
    }
    .p-midcareer__job-title {
    font-size: 22px; 
}
}