/* Cast itnext1 styles */
@font-face{
    font-family: 'AvenirNextLTW01-Regular';
    src: local('AvenirNextLTW01-Regular');
}
.mcm-cast-profile, .mcm-cast-list-container { font-family: 'AvenirNextLTW01-Regular', Arial, 'AxisStd-Light', "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; }

/* Table design */
.mcm-table-medium { border:1px solid black; border-collapse:collapse; width:100%; }
.mcm-table-medium th, .mcm-table-medium td { padding:10px 30px; }
@media(max-width:768px){ .mcm-table-medium th, .mcm-table-medium td { padding:8px; } }
.mcm-table-medium tr { border-bottom:1px solid black; }
.mcm-table-medium th { border-right:1px solid black; font-weight:normal; text-align:center; background-color:#f7f7f7; }

/* Profile layout */
.mcm-profile-header { border-bottom:3px solid black; padding-bottom:10px; margin-bottom:12px; }
.mcm-profile-image { flex:0 0 300px; }
@media(max-width:768px){ .mcm-profile-image { width:100%; flex: 0 0 auto; } }
.mcm-sub-images-wrapper .mcm-sub-image { width: calc(20% - 4px); opacity:0.7; transition: opacity .3s; }
.mcm-sub-images-wrapper img { display:block; }

/* List design */
.mcm-cast-list-container { display:flex; gap:15px; flex-wrap:wrap; }
.mcm-cast-item { flex:1 1 calc(33.333% - 15px); background:#000; color:#fff; padding:10px; box-sizing:border-box; min-width:200px; }
.mcm-panel-head { background:black; color:white; padding:10px; }
.mcm-img-responsive { width:100%; height:auto; display:block; }

/* small tweaks */
.mcm-sub-image { height:60px; object-fit:cover; }
.mcm-profile-image img.mcm-img-responsive { max-width:300px; height:auto; display:block; }
