/* --- スタッフ紹介グリッド --- */
.staff-grid {
    display: grid;
    /* デフォルト（PC版）は3カラム */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* カード同士の間隔 */
}

/* スタッフカードの装飾 */
.staff-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid var(--accent-green);
    display: flex;
    flex-direction: column;
}

/* 写真を強制的に正方形にする（Safari対策込み） */
.staff-photo {
    aspect-ratio: 1 / 1;
    margin-bottom: 15px;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいに中央で切り抜き */
}

/* テキストエリア */
.staff-info .role {
    font-size: 0.85rem;
    font-weight: bold;
}

.staff-info .name {
    font-size: 1.2rem;
}

.staff-info .desc {
    font-size: 0.9rem;
 }

/* --- レスポンシブ設定 --- */

/* タブレット版（1024px以下）：2カラムに調整 */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマホ版（768px以下）：1カラムに変更 */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .staff-card {
        padding: 15px;
    }
}


/* 沿革 */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.common-title {
    text-align: center;
    margin-bottom: 40px;
}

/* タイムラインの外枠 */
.timeline {
    position: relative;
    padding: 20px 0;
}

/* 縦の線 */
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; /* ポチの中心に合わせる */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-green); /* 線の色 */
}

/* 各アイテムのコンテナ */
.timeline-item {
    position: relative;
    padding-left: 35px; /* 線とテキストの距離 */
    margin-bottom: 30px;
}

/* ポチ（ドット） */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 6px;
    width: 14px;
    height: 14px;
    background-color: var(--accent-green); /* 中の色 */
    border-radius: 50%;
    z-index: 1;
}

/* 年月（太字や色の調整） */
.timeline-item .time {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* 内容テキスト */
.timeline-item .content {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

/* 最後のアイテムの余白調整 */
.timeline-item:last-child {
    margin-bottom: 0;
}