/* メンバーページスタイル */

.member-profile {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* 偶数番目のメンバー（画像を右側に配置） */
.member-profile.reverse {
    flex-direction: row-reverse;
}

.member-photo {
    flex-shrink: 0;
}

.member-photo img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.member-info {
    flex-grow: 1;
}

.member-name,
.page-article .member-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;  /* 上マージンを0に固定 */
}

.member-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
}

.member-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Alliance Partner セクション */
.alliance-section {
    margin-top: 60px;
    padding-top: 40px;
}

.alliance-title {
    font-size: 36px;
    font-weight: 700;
    color: #4a5568;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.partner-item {
    margin-bottom: 60px;
    padding: 30px 0;
}

.partner-logo {
    text-align: center;
    margin-bottom: 30px;
}

.partner-logo img {
    max-width: 300px;
    height: auto;
}

.partner-description {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .member-profile {
        flex-direction: column;
        padding: 20px;
    }

    /* reverseクラスも縦並びに統一 */
    .member-profile.reverse {
        flex-direction: column;
    }

    .member-photo {
        text-align: center;
    }

    .member-photo img {
        width: 150px;
    }

    .member-name {
        font-size: 26px;
        text-align: center;
    }

    .member-title {
        text-align: center;
    }
}