@charset "utf-8";

.voice_list {
    position: relative;
}

.voice_item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 0 74px;
}

.voice_item:last-child {
    margin-bottom: 0;
}

.voice_item_img {
    width: 150px;
    text-align: center;
}

.voice_item_img img {
    margin: auto auto 5px 0;
}

.voice_item_img span {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0;
    color: #D83155;
}

.voice_item_txt {
    width: calc((100% - 37px) - 150px);
    padding: 29px 25px 26px 31px;
    margin-left: auto;
    background: #FFF;
    border-radius: 19px;
    border: 2px solid #FBDBE1;
    box-shadow: 0 5px 0 #FBDBE1;

    position: relative;
}

.voice_item_txt::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: transparent #FFF #FFF transparent;
    border-width: 27px;
    top: 37px;
    left: -16px;
    transform: scaleY(-0.3) rotate(135deg);
    z-index: 1;
}

.voice_item_txt::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: transparent #FBDBE1 #FBDBE1 transparent;
    border-width: 27px;
    top: 37px;
    left: -23px;
    box-shadow: -10px 10px 0 #FBDBE1;
    transform: scaleY(-0.3) rotate(135deg);
    z-index: -5;
}

.voice_item_txt p {
    font-size: 1.6rem;
    margin-top: 10px;
    margin-bottom: 0;
}

.voice_item_txt span{
	font-size: 1.6rem;
	font-weight: bold;
	letter-spacing: 0;
}

@media screen and (max-width:767px) {
    .voice_list {
        margin: 0 0 27px;
    }

    .voice_item {
        margin: 28px 0 60px;
        flex-direction: column;
        align-items: center;
    }

    .voice_item_img {
        margin-bottom: 30px;
    }

    .voice_item_img img {
        margin: auto auto 12px;
    }

    .voice_item_img span {
        font-size: 1.5rem;
    }

    .voice_item_txt {
        width: 100%;
        padding: 26px 18px 24px;
    }

    .voice_item_txt::before {
        border-color: #FFF #FFF transparent transparent;
        border-width: 28px;
        top: -15px;
        left: 24px;
        transform: scale(0.6, 1) skew(-11deg, -34deg);
    }

    .voice_item_txt::after {
        border-color: #FBDBE1 #FBDBE1 transparent transparent;
        border-width: 28px;
        top: -20px;
        left: 26px;
        transform: scale(0.6, 1) skew(-11deg, -34deg);

    }

    .voice_item_txt p {
        font-size: 1.5rem;
        line-height: 1.6;
    }
}