.cp-speech {
    align-items: center;
    padding-bottom: .5em;
    gap: 1em;
    display: block;
}

@media (min-width: 767px){
    .cp-speech {
        padding: 1em;
    }
}

.cp-speech::after{
    content: "";
    display: block;
    clear: both;
}

.cp-speech-left {
    flex-direction: row;
}

.cp-speech-right {
    flex-direction: row-reverse;
}

.cp-speech-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    float: left;
    margin: 0 1em .5em 0;
}

.cp-speech-right .cp-speech-avatar{
    float: right;
    margin: 0 0 .5em 1em;
}

.cp-speech-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px -2px rgba(0,0,0,.8);
}

@media (min-width: 767px){
    .cp-speech-avatar img {
        width: 100px;
        height: 100px;
    }
}

.cp-speech-wrapper {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
}

.cp-speech-text p{
    margin-top: 0;
    line-height: 1.6;
    display: inline-block;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    display: block;
}

.cp-speech-text p:not(:first-child){
    margin-top: 1em;
}

/* ▼タブレット以上：元の横並びに戻す */
@media (min-width: 767px){
    .cp-speech{
        display: flex;
        align-items: center;
        padding: 1em;
        gap: 1em;
    }
    .cp-speech-avatar{
        float: none;
        margin: 0;
    }
}

