/*--------------------
 �����o�������
--------------------*/

@media screen and (min-width:480px) {
    .balloon {
        margin-bottom: 0.7em;
        position: relative;
        margin-left: 0px;
        /*�����o���ʒu����*/
    }
    .balloon:before,
    .balloon:after {
        clear: both;
        content: "";
        display: block;
    }
    .balloon figure {
        width: 80px;
        height: 80px;
    }
    .balloon-image-left {
        float: left;
        margin-right: 20px;
        margin-top: -2px;
    }
    .balloon-image-right {
        float: right;
        margin-left: 20px;
    }
    .balloon figure img {
        /* width: 100%;
		height: 100%; */
        width: 4rem;
        margin: 0;
    }
    .balloon-image-description {
        padding: 5px 0 0;
        font-size: 10px;
        text-align: center;
    }
    .balloon-text-right,
    .balloon-text-left {
        position: relative;
        padding: 5px 5px 10px 10px;
        border: 1px solid;
        border-radius: 10px;
        display: inline-block;
        box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.32);
    }
    .balloon-text-right {
        float: left;
        width: 780px;
    }
    .balloon-text-left {
        float: right;
        width: auto;
        margin-right: -20px;
        max-width: 780px;
    }
    .balloon p {
        margin: 0px;
    }
    .balloon p:last-child {
        margin-bottom: 0;
    }
    .balloon-text-right:before {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 10px;
        left: -20px;
    }
    .balloon-text-right:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 10px;
        left: -19px;
    }
    .balloon-text-left:before {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 10px;
        right: -20px;
    }
    .balloon-text-left:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 10px;
        right: -19px;
    }
}

@media screen and (max-width:480px) {
    .balloon {
        margin-bottom: 0.3em;
        position: relative;
    }
    .balloon:before,
    .balloon:after {
        clear: both;
        content: "";
        display: block;
    }
    .balloon figure {
        width: 60px;
        height: 60px;
        margin-left: auto;
        margin-right: auto;
        margin-top: -5px;
    }
    .balloon-image-left {
        float: left;
        margin-right: 20px;
    }
    .balloon-image-right {
        float: right;
        margin-left: 20px;
    }
    .balloon figure img {
        /* width: 100%;
        height: 100%; */
        width: 3rem;
        margin-left: -10px;
    }
    .balloon-image-description {
        padding: 5px 0 0;
        font-size: 9pt;
        text-align: center;
    }
    .balloon-text-right,
    .balloon-text-left {
        position: relative;
        padding: 5px 5px 10px 10px;
        border: 1px solid;
        border-radius: 10px;
        max-width: -webkit-calc(75% - 40px);
        max-width: calc(85% - 40px);
        display: inline-block;
        box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.32);
        word-wrap: break-word;
    }
    .balloon-text-left {
        margin-right: 20px;
    }
    .balloon-text-right {
        float: left;
        width: 70%;
    }
    .balloon-text-left {
        float: right;
    }
    .balloon p {
        margin: 0px;
    }
    .balloon p:last-child {
        margin-bottom: 0;
    }
    .balloon-text-right:before {
        position: absolute;
        content: '';
        border: 9px solid transparent;
        top: 7px;
        left: -19px;
    }
    .balloon-text-right:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 6px;
        left: -18px;
    }
    .balloon-text-left:before {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 7px;
        right: -21px;
    }
    .balloon-text-left:after {
        position: absolute;
        content: '';
        border: 10px solid transparent;
        top: 7px;
        right: -20px;
    }
}

.balloon-text-right {
    background-color: #FFFFFF;
    border-color: #4472C4;
    color: #003366;
}

.balloon-text-right:before {
    border-right: 10px solid #4472C4;
}

.balloon-text-right:after {
    border-right: 10px solid #FFFFFF;
}

.balloon-text-left {
    background-color: #FFF2CC;
    border-color: #FFC000;
    color: #003366;
}

.balloon-text-left:before {
    border-left: 10px solid #FFC000;
}

.balloon-text-left:after {
    border-left: 10px solid #FFF2CC;
}