/**
 * ACF Block: クラブアニドネメンバー紹介
 */

.acf-block-club-anidone-member {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.member_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.12rem;
}

@media screen and (max-width: 540px) {
    .member_wrap {
        flex-direction: column;
    }
}

.member_block {
    position: relative;
    display: flex;
    gap: 1.94rem;
    padding: 1.8125rem 1.625rem;
    border: 2px solid var(--graygreen-500, #C5CFC6);
    border-radius: 0.625rem;
    background: var(--white, #FFF);
    margin-bottom: 0;
    max-width: calc(50% - 1.06rem);
    max-height: 30rem;
    box-sizing: border-box;
}

@media screen and (max-width: 540px) {
    .member_block {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: none;
    }

    .member_block:not(:last-child)::after {
        display: none;
    }
}

.member_block__left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 8rem;
}

@media screen and (max-width: 540px) {
    .member_block__left {
        flex-direction: row;
        align-items: center;
        gap: 1.13rem;
        width: auto;
        margin-bottom: 0rem;
    }
}

.member_block .img {
    width: 6rem;
    height: 6rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
}

@media screen and (max-width: 540px) {
    .member_block .img {
        width: 6rem;
        height: 6rem;
    }
}

.member_block .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.member_block .name {
    color: var(--black-700, #333);
    font-family: "Zen Maru Gothic";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin: 1.0625rem 0 0 0;
    text-align: center;
}

@media screen and (max-width: 540px) {
    .member_block .name {
        font-size: 1.0625rem;
        margin: 0rem;
    }
}

.member_block .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 20rem;
    overflow-y: scroll;
}

@media screen and (max-width: 540px) {
    .member_block .text {
        width: 100%;
    }
}

.member_block .text .profile,
.member_block .text .comment {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member_block .text .profile span,
.member_block .text .comment span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    background: var(--graygreen-200, #EBEFE7);
    color: var(--green-900, #006E09);
    font-family: "Zen Maru Gothic";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    border-radius: 3.125rem;
    width: fit-content;
    position: relative;
}

.member_block .text .profile span::after,
.member_block .text .comment span::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    bottom: -0.4375rem;
    width: 0.75rem;
    height: 0.75rem;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background-color: var(--graygreen-200, #EBEFE7);
    transform: rotate(0deg);
}

.member_block .text .profile p,
.member_block .text .comment p {
    color: var(--black-700, #333);
    font-family: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 350;
    line-height: 180%;
    margin: 0;
}