@charset "utf-8";

.image_box {
    align-items: flex-start;
}



.voice_box .image_box .img_area {
    width: 22%;
}

.voice_box .image_box .text_area {
    width: 74%;
}

.voice_box {}

.voice_box h3.sh2 {}

.voice_box dt {
    background: #36c2ee;
    text-align: center;
    color: #fff;
    padding: 0.5em 1em;
    margin: 0 0 2em 0;
}

.sign_page .voice_box dt {
    background: #359e00;
}

.voice_box dd {
    margin: 0 0 1.5em 0;
    padding: 0 0 0 2em;
}

.voice_box .img_area img {
    width: 100%;
}

.voice_box:nth-child(even) {
    background: #eef7ff;
}

.sign_page .voice_box:nth-child(even) {
    background: #f3ffee;
}


.voice_box:nth-child(even) .image_box {
    flex-direction: row-reverse;
}

.kentei {
    font-weight: bold;
    font-size: 1.5em;
    color: #ff3939;
}

/*maf*/
.mfa_page .voice_box dt{
    background: #fd8c39;
}

.mfa_page .voice_box h3.sh2{
	margin:0.5em 0 0.25em;
}

.mfa_page .course_ttl{
	text-align: left;
	margin-bottom: 0;
    background: #787878;
    color:#fff;
    padding: 0.25em 0.75em;
    line-height: 1.4;
}

.mfa_voice {
    justify-content: space-between;
}

.mfa_voice dl {
    align-items: center;
    width: calc(100% / 2 - 5%);
    margin: 0 0 2em 0;
}

.mfa_voice dt {
    font-weight: bold;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mfa_voice dt p {
    margin: 0;
}

.mfa_voice dt img {
    width: 50px;
}

.mfa_voice dd {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 1.3em 1em;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #F9E49D;
    border-radius: 10px;
}

.mfa_voice dd:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 10%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid #F9E49D;
}

@media (max-width: 599px) {
    .voice_box .img_area img {
        width: initial;
    }

    .voice_box .image_box .img_area,
    .voice_box .image_box .text_area {
        width: 100%;
    }

    .voice_box dt {
        margin: 0 0 1em 0;
        border-bottom: solid 1px #ccc;
    }

    .voice_box dd {
        padding: 0;
    }

    .mfa_voice dd {
        position: relative;
        display: inline-block;
        margin: 1.5em 0;
        padding: 7px 10px;
        min-width: 120px;
        max-width: 100%;
        color: #555;
        font-size: 16px;
        background: #e0edff;
    }

    .mfa_voice dd:before {
        content: "";
        position: absolute;
        top: -30px;
        left: 50%;
        margin-left: -15px;
        border: 15px solid transparent;
        border-bottom: 15px solid #e0edff;
    }

    .mfa_voice dl {
        align-items: center;
        width: 100%;
        margin: 0 0 2em 0;
    }

    .mfa_voice dl {
        justify-content: center;
    }
}