@charset "utf-8";

#contents {
    background: url(../img/sub_5/a_bg.png) no-repeat center top /cover;
    padding: 120px 0 150px;
}

.a_p img {
    max-width: 700px;
    width: 100%;
}

.a_new {
    transform: translateY(20px);
    padding-left: 22px;
}

.a_new span img {
    max-width: 120px;
    margin-bottom: 10px;
}

.a_new span:nth-child(1) img {
    animation: new_n 1s ease-in infinite alternate;
}

.a_new span:nth-child(2) img {
    padding-bottom: 15px;
    animation: new_e 1s ease-in infinite alternate;
    max-width: 95px;
}

.a_new span:nth-child(3) img {
    animation: new_w 1s ease-in infinite alternate;
}

.a_text {
    text-align: center;
}

@keyframes new_n {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-15px, -15px);
    }
}

@keyframes new_e {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}


@keyframes new_w {

    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(15px, -15px);
    }
}


.a_faq {
    margin-top: 140px;
}

.faq_c {
    background: #fff;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 90px;
    padding-bottom: 120px;
    box-shadow: 10px 15px 20px rgba(107, 107, 107, 0.5);

}

.faq_c .c_header {
    background: #E9E9EB;
    height: 200px;
    border-radius: 90px 90px 0 0;
    overflow: hidden;
}

.faq_c .c_header .h_f {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.faq_c .c_header .h_f figure {
    width: calc(100% - 140px);
    text-align: center;
}

.faq_c .c_header .h_f figure img {
    max-width: 150px;
}

.faq_c .c_header .h_f span {
    font-size: 70px;
    color: #FF9727;
    transform: translateY(20px);
    width: 70px;
}

.h_f_2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.h_f_2 span:nth-child(1) {
    font-size: 20px;
}

.h_f_2 span:nth-child(2) {
    transform: translateY(1px);
}

.message_c {
    padding: 30px 50px;
}

.message_c>span {
    text-align: center;
    color: #8F8F8F;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin: 20px;
}

.m_r {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}

.message_c .m_1 {
    background: #FFD09A;
    padding: 15px 25px;
    border-radius: 40px;
    text-align: center;
    position: relative;
}

.message_c .m_1 p {
    font-size: 18px;
    font-weight: 500;
}

.message_c .m_1 img {
    position: absolute;
    bottom: -3px;
    right: -7px;
    width: 25px;
}

.message_c .m_2 {
    display: inline-block;
    background: #E9E9EB;
    padding: 15px 25px;
    border-radius: 40px;
    margin-top: 80px;
    position: relative;
}

.message_c .m_2.mxw {
    max-width: 400px;
}

.message_c .m_2 p {
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

.message_c .m_2 p span {
    display: block;
}

.message_c .m_2 img {
    position: absolute;
    bottom: -3px;
    left: -7px;
    width: 25px;
}

.message_c .m_2.mxw img {
    position: absolute;
    bottom: 0px;
    left: -6px;
    width: 25px;
}

@media screen and (max-width:768px) {

    #contents {
        padding: 80px 0 90px;
    }

    .a_new {
        padding-left: 0;
        transform: translateY(15px);
    }

    .a_new span img {
        width: 100px;
    }

    .a_new span:nth-child(2) img {
        width: 80px;
    }

    .a_text .a_p {
        text-align: center;
        margin-left: -20px;
    }

    .a_faq {
        margin-top: 65px;
        padding: 0 15px;
    }

    .faq_c {
        max-width: 600px;
        border-radius: 40px;
        padding-bottom: 60px;

    }

    .faq_c .c_header {
        height: 125px;
        border-radius: 40px 40px 0 0;
    }
    .faq_c .c_header .h_f {
        margin-top: 15px;
    }
    .faq_c .c_header .h_f span {
        transform: translateY(12px);
    }
    .faq_c .c_header .h_f figure {
        width: calc(100% - 90px);
    }

    .faq_c .c_header .h_f figure img {
        max-width: 100px;
    }

    .faq_c .c_header .h_f span {
        font-size: 45px;
        width: 45px;
    }
    .h_f_2 span:nth-child(1) {
        font-size: 15px;
    }
    .h_f_2 span:nth-child(2) {
        transform: translateY(2px);
    }

    .message_c {
        padding: 20px 30px;
    }
    .message_c > span {
        margin: 0;
        font-size: 13px;
    }
    .m_r{
        margin-top: 27px;
    }
    .message_c .m_1 {
        padding: 10px 15px;
    }
    .message_c .m_1 p {
        font-size: 13px;
    }
    .message_c .m_2 {
        padding: 10px 15px;
        margin-top: 30px;
        border-radius: 22px;
    }
    .message_c .m_2.mxw img {
        bottom: -1px;
        left: -6px;
        width: 18px;
    }
    .message_c .m_2 p {
        font-size: 13px;
    }


}