.text_red {
    color: #e60012;
}

#five_merit_wrapper {
    margin-bottom: 0;
    margin-top: 0;

    .container {
        padding: 0 4cqw;
    }

    .five_merit_title {
        margin: 0 auto 20px;
        width: fit-content;
        text-align: center;
        font-weight: 500;
        font-size: clamp(1em, 2.8vw, 3em);
    }

    /* おたからやの最新査定素材 */
    .appraisal_equips .titleMain {
        margin-bottom: 1.5em;
    }

    .appraisal_equips .equip {
        display: grid;
        grid-template-columns: min(22vw, 220px) 1fr;
        grid-template-rows: 1fr;
        width: 100%;
        gap: 4vw;
        margin-bottom: min(5%, 2rem);
    }

    .appraisal_equips .equip .equip_img img {
        width: 100%;
    }

    .appraisal_equips .equip .equip_meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .appraisal_equips .equip .equip_meta .equip_title {
        font-size: min(4vw, 20px);
        font-weight: 700;
        line-height: 1;
    }

    .appraisal_equips .equip .equip_meta .equip_explain {
        line-height: 1.6;
        font-size: min(5vw, 16px);
        padding: 1em 0;
    }

    @media (max-width: 767px) {
        .five_merit_title {
            font-size: 4.6vw;
        }

        .five_merit_text {
            background-color: #fff;
            padding: 20px;
        }

        .appraisal_equips .equip {
            display: flex;
            flex-direction: column;
            width: 100%;
            padding: 0 20px;
            background: #fff;
            margin-bottom: 10px;
        }

        .appraisal_equips .equip:not(:last-child) {
            border-bottom: 1px solid #000;
        }

        .appraisal_equips .equip .equip_img {
            padding: 0 24%;
        }

        .appraisal_equips .equip .equip_img img {
            width: 100%;
        }

        .appraisal_equips .equip .equip_meta {
            display: flex;
            flex-direction: column;
        }

        .appraisal_equips .equip .equip_meta .equip_title {
            font-size: min(5vw, 24px);
            font-weight: 700;
            line-height: 1;
            color: #d82300;
            text-align: center;
        }

        .appraisal_equips .equip .equip_meta .equip_explain {
            line-height: 1.6;
            font-size: min(5vw, 16px);
            padding: 1em 0;
            text-align: justify;
        }
    }
}

/* <!--accordion--> */
#five_merit_wrapper {
    .acc_block {
        display: flex;
        flex-direction: column;
        min-width: 200px;
    }

    .acc_item {
        display: inline-block;
    }

    .acc_head {
        position: relative;
        padding: 16px;
        border-radius: 30px;
        background: #f1f1f1;
        width: 100%;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
    }

    .acc_head h3 {
        font-weight: 600;
        margin-left: 10px;
    }

    .red_btn {
        width: 20px;
        height: 20px;
        position: relative;
        right: 20px;
        top: 28%;
        background-color: #d82300;
        border-radius: 10px;
        margin: auto 0;
    }

    .red_btn:after {
        content: "";
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        display: inline-block;
        width: 8px;
        height: 8px;
        transform: rotate(-135deg) translateY(9px);
        position: absolute;
        top: 50%;
        transition: transform 0.4s;
    }

    .red_btn.is-open::after {
        transform: rotate(45deg) translateY(-8px) translateX(1px);
        top: 64%;
    }

    .acc_body {
        position: relative;
        padding: 0 20px;
        line-height: 0;
        opacity: 0;
        transition:
            line-height 0.4s,
            padding 0.4s,
            opacity 0.1s;
        height: 0;
        overflow: hidden;
    }

    .acc_body.is-open {
        padding: 20px;
        line-height: 1.5;
        opacity: 1;
        height: auto;
    }

    .acc_item:not(:first-child) {
        margin-top: 16px;
    }

    @media (max-width: 767px) {
        .acc_head h3 {
            font-weight: 600;
            margin-left: 10px;
            font-size: 3.6vw;
        }
    }
}
#five_merit_wrapper {
    .gg_profile_block {
        display: flex;
        justify-content: center;
        margin: 30px 0;
    }

    .gg_profile_left {
        width: fit-content;
        margin: 1rem 0;
        border-radius: 50%;
        /* overflow: hidden; */
    }

    .gg_profile_left img {
        /*max-width: 100%;*/
        /* background: #f0f0f0; */
        /* border-radius: 20%; */
        /* height: clamp(100px, 15vw, 160px); */
        width: clamp(100px, 15vw, 160px);
        /* object-fit: contain;
                                        transform: scale(1.3);
                                        object-position: center 24px; */
    }

    .gg_profile_right {
        width: 60%;
        margin-left: 20px;
    }

    .career {
        margin-left: 6px;
    }

    .career h4 {
        font-size: 2vw;
        font-weight: 500;
    }

    .career p {
        display: flex;
    }

    .titleSub {
        margin-top: 1rem;
    }

    .gg_profile_report img {
        border: 1px #000 solid;
        width: 100%;
    }

    @media (max-width: 767px) {
        .gg_wrapper p {
            font-size: 2.6vw;
        }

        .career h4 {
            font-size: 2.8vw;
        }
    }
}
