@charset "UTF-8";

/*!
Theme Name: stinger8 
Template:   stinger8-child
Version:    0.0.1
*/

/************************************
** 個人共通のスタイル
************************************/

/* 吹き出し */
.speech-person {
    width: 80px;
    min-width: 80px;
}

figure {
    margin: 0;
}

.speech-balloon {
    height: 100%;
    position: relative;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    word-break: break-all;
}
.speech-wrap {
    margin-top: 1em;
    margin-bottom: 1em;
    display: flex;
}
.speech-icon img {
    border-radius: 20%; /*アイコン枠の角丸み*/
    border: 2px solid #ccc;
    width: 100%;
}

.speech-balloon::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -12px;
    top: 10px;
    border-right: 12px solid #ccc;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.speech-balloon p {
    margin: 0;
}

.speech-balloon::after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -9px;
    top: 10px;
    border-right: 12px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.cf::after {
    clear: both;
    content: "";
    display: block;
}

.sbp-l .speech-balloon {
    margin-left: 20px;
}

.sbp-r {
    flex-direction: row-reverse;
    margin-left: 20px;
}

.sbp-r .speech-balloon::before {
    right: -12px;
    left: auto;
    border-left: 12px solid #ccc;
    border-right: none;
}

.sbp-r .speech-balloon::after {
    right: -9px;
    left: auto;
    border-left: 12px solid #fff;
    border-right: none;
}
.sbp-r .speech-balloon {
    margin-right: 20px;
}
