.b-exec-item {
    /* Flexコンテナとして定義 */
    display: flex;
    flex-direction: column; /* 役職と名前を縦に配置 */
    
    /* 高さの固定（重要）：行数やコンテンツ量の違いでコンテナの高さが変わらないように */
    width: 150px;

    /* コンテンツを中央に配置する場合 */
    justify-content: center; 
    align-items: center;
    @media screen and (max-width: 767px) {/* SP */
        width: 135px;
    }

    &:hover {
        transition: .3s;
        opacity: .8;
    }
}

.b-exec-item-imgarea {
    width: 100%;
    height: 170px; /* 画像のコンテナ高さを固定 */
    overflow: hidden;
    @media screen and (max-width: 767px) {/* SP */
        height: 135px;
    }
}

.b-exec-item-imgarea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.b-exec-item-textarea {
    text-align: center;
    color: #1571da;
    width: 100%; /* 親要素いっぱいに広げる */
    background-color: white;
    padding-bottom: 12px;
}

.b-exec-item-textarea .b-exec-item-job {
    height: 60px;
    line-height: 1.5;
}

.b-exec-item-textarea .b-exec-item-job p {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    height: 100%;
    margin-top: 0;
}


.b-exec-item-textarea .b-exec-item-text {
    font-weight: bold;
    text-align: center;
    line-height: 1;
}





