/* ===== 社員一覧ページ（画像比率統一 Ver.） ===== */
#behind-the-scenes .title__ja {
    font-size: 24px;
}
#behind-the-scenes .scene-btn__outer {
    color: #fff;
}
/* ボタン */
#behind-the-scenes .scene-btn {
    background: #0c2f57;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: .08em;
    color: inherit;
    border-radius: 999px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
#behind-the-scenes .scene-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
    opacity: .95;
}
.scene-list {
    max-width: 1200px;
    margin: auto;
}

.scene-list__title {
    font-size: 16px;
    font-weight: 500;
    padding: 10% 0 0;
}

.scene-list__grid {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    margin: 5% auto;
}

.employee-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.employee-block:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 画像比率を16:9固定（DYM公式風） */
.employee-block__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.employee-block__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 中央トリミング */
    object-position: center;
    transition: transform 0.4s ease;
}

.box3_text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.name-border {
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.casenumber {
    font-size: 0.8rem;
    color: #999;
}

.initial {
    font-size: 1.1rem;
    font-weight: bold;
    color: #002b6b;
    margin-top: 5px;
}

.employee-role {
    font-size: 0.9rem;
    margin: 5px 0;
}

.employee-join span {
    font-size: 0.85rem;
    color: #555;
}

.scchedule-btn {
    display: inline-block;
    background: #002b6b;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.scchedule-btn:hover {
    background: #001a41ff;
}

/* スマホ対応 */
@media screen and (max-width: 1024px) {
    .scene-list__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .scene-list__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}