/* スタッフセクション */
.staff-section {
    text-align: center;
    padding: 50px 20px;
}

/* スタッフタイトル */
.staff-title {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 30px;
}

/* スタッフの配置（グリッド） */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* スタッフ1人分のスタイル */
.staff-item {
    text-align: center;
}

/* 役職のスタイル */
.staff-role {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d33;
    margin-bottom: 5px;
}

/* 説明テキスト（原作など） */
.staff-desc {
    font-size: 0.9rem;
    color: #555;
}

/* スタッフ情報（名前＋写真） */
.staff-info {
    display: inline-flex; /* インラインフレックスで横並び */
    align-items: center;  /* 縦方向中央揃え */
    gap: 8px; /* 名前と画像の間隔 */
}

/* スタッフ名 */
.staff-name {
    font-size: 3rem;
    font-weight: bold;
    margin: 0; /* 余白をリセット */
    white-space: nowrap; /* 名前が折り返されないように */
}

/* スタッフ写真 */
.staff-photo {
    width: 25px; /* 画像のサイズ */
    height: auto;
    /* border-radius: 50%; /* 丸くする */
    vertical-align: middle; /* 縦の位置を揃える */
}





/* スタッフ情報（名前＋イラスト） */
.staff-info {
    position: relative; /* 子要素を絶対配置するための基準 */
    display: inline-block; /* 名前の長さに合わせて幅を調整 */
}

/* スタッフ名 */
.staff-name {
    padding: 5px 10px; /* 名前の周りに少し余白を追加 */
    position: relative; /* イラストの基準位置とする */
    display: inline-block;
}

/* イラスト配置用のコンテナ */
.staff-illustrations {
    position: absolute; /* 名前の位置を基準に絶対配置 */
    width: 100%; /* 親要素に合わせる */
    height: 0; /* 影響を与えないように高さをゼロに */
}


/* 左下に配置 */
.staff-illust.left {
    left: -35px; /* 名前の左側 */
}

/* 右下に配置 */
.staff-illust.right {
    right: -35px; /* 名前の右側 */
}

/* スタッフのミニキャライラスト */
.staff-illust {
    width: 60px; /* 画像のサイズ */
    height: auto;
    position: absolute;
    bottom: -25px; /* 名前の下に配置 */
}

/* 左下に配置 */
.staff-illust.left {
    left: -45px; /* 名前の左側 */
    bottom: -20px; /* 名前の下に配置 */
}

/* 右下に配置 */
.staff-illust.right {
    right: -35px; /* 名前の右側 */
    bottom: -20px; /* 名前の下に配置 */
}

/* 真下に配置 */
.staff-illust.under {
    left: 50%; /* 中央基準 */
    transform: translateX(-50%); /* 中央に揃える */
    bottom: -45px; /* さらに少し下に配置 */
}
