.right_bg {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 20.368vw;
}

section.acv_result {
    position: relative;
}

.page_wrap.result {
    background: url(../img/common/sand.jpg);
    background-size: 100%;
}

.result_wrap {
    flex-wrap: wrap;
    gap: .7vw;
    justify-content: flex-start;
}

.result_item:first-child {
    margin: initial;
}

.result_item:last-child {
    margin: initial;

}

.result_item {
    margin: initial;
}

.search {
    text-align: center;
}

.search ul li input {
    width: 150px;
    height: 50px;
    padding: 10px;
    background: linear-gradient(180deg, #cfa227 0%, #ebd583 45%, #edd88a 70%, #fff6d2 100%);
}

select#ofarea {
    position: relative;
    width: 150px;
    height: 50px;
    padding: 10px;
    webkit-appearance: listbox;
    -moz-appearance: inherit;
    appearance: revert;
}

select#ofpost_tag {
    display: none;
}

.wp-pagenavi {
    margin-top: 100px;
}

span.current {
    display: inline-block;
    border: solid 1px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    background: #333333;
}

a.page.larger {
    display: inline-block;
    border: solid 1px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    color: #333;
    background: #fff;
    margin-left: 5px;
}

a.page.smaller {
    display: inline-block;
    border: solid 1px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    color: #333;
    background: #fff;
    margin-right: 5px;
}

span.extend,
a.nextpostslink {
    float: right;
    width: 170px;
    height: 45px;
    background: #333;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {

    .result_wrap {
        flex-direction: column;
    }

    .result_item:first-child {
        width: 80%;
        margin: 0 auto 20px;
        z-index: 2;
    }

    .result_item {
        width: 80%;
        margin: 0 auto 20px;
        z-index: 2;
    }

    .result_item:last-child {
        width: 80%;
        margin: 0 auto 0;
        z-index: 2;
    }
}

/****** VOICE ******/

.voice_acv_card {
    background: #fff;
    border-radius: 1.691vw;
    padding: 2.353vw 2.574vw;
    margin-bottom: 1.471vw;
    border: solid 1px #DDDDDD;
}

.voice_acv_inner {
    display: flex;
}

.icon_circle {
    width: 9.044vw;
    height: 9.044vw;
    overflow: hidden;
    border-radius: 50%;
}

.icon_circle img {
    height: 100%;
    display: flex;
    object-fit: cover;
    width: 100%;
}

.voice_acv.name {
    margin-right: 1.471vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.voice_acv.txt_box h2 {
    font-weight: 400;
    margin-bottom: 1.103vw;
}

.voice_acv.txt_box p {
    font-weight: 400;
}

.voice_acv_wrap {
    position: relative;
}

@media (max-width: 767px) {

    .voice_acv_card {
        background: #fff;
        border-radius: 5.897vw;
        padding: 6.41vw 4.872vw;
        margin-bottom: 5.128vw;
        border: solid 1px #DDDDDD;
    }

    .voice_acv_inner {
        flex-direction: column;
    }

    .voice_acv.name {
        flex-direction: row;
        margin-bottom: 5.128vw;
    }

    .icon_circle {
        width: 16.667vw;
        height: 16.667vw;
        margin-right: 3.846vw;
    }
}

/****** VOICE ******/

/****** BEFORE AFTER ******/

.before_acv_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.before_acv_card {
    width: 24.338235294117645vw;
    margin: 2% 0;
    border-bottom: solid 1px #ddd;
    padding-bottom: 2.206vw;
}

p.acv_tag {
    font-family: 'Outfit', selif;
    text-align: center;
    font-size: 1.324vw;
    font-weight: 500;
}

.acv_ba_img {
    display: flex;
    justify-content: center;
}

.day {
    color: #b7b7b7;
}

.before_img_element {
    img {
        width: 11.838235294117647vw;
        height: 15.661764705882353vw;
        object-fit: cover;
        border-radius: 1.6911764705882353vw;
    }
}

.after_img_element {
    img {
        width: 11.838235294117647vw;
        height: 15.661764705882353vw;
        object-fit: cover;
        border-radius: 1.6911764705882353vw;
    }
}

@media (max-width: 767px) {

    .ba_acv .right_bg {
        width: 60%;
        top: -51.282vw;
    }

    .default.h2_wrap {
        position: relative;
        z-index: 2;
    }

    .before_acv_wrap {
        flex-direction: column;
    }

    .before_acv_card {
        width: 100%;
    }

    .after_img_element {
        margin: 0 0 0 2%;
    }

    .before_img_element {
        margin: 0 2% 8px 0;
    }

    .before_img_element {
        img {
            width: 41.410256410256416vw;
            height: 54.64358974358975vw;
            border-radius: 3.5897435897435894vw;
        }
    }

    .after_img_element {
        img {
            width: 41.410256410256416vw;
            height: 54.64358974358975vw;
            border-radius: 3.5897435897435894vw;
        }
    }

    p.acv_tag {
        font-size: 4.615384615384616vw;
    }

}



/****** BEFORE AFTER ******/

/****** SEMINAR ******/

h3.post__h3.atv_semi span img {
    vertical-align: middle;
}

.remodal .seminar_ttl_wrap {
    padding-bottom: 1.029vw;
    margin-bottom: 1.324vw;
    border-bottom: solid 1px #b7b7b7;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

ul.ul.list li {
    float: left;
    margin: 0 1.103vw 0 0;
}

.seminar_point {
    padding: 1.029vw 0;
    margin: 1.324vw 0;
    border-top: solid 1px #b7b7b7;
    border-bottom: solid 1px #b7b7b7;
}

h4.gray {
    margin-bottom: 0.735vw;
    color: #B7B7B7;
    font-weight: 500;
}

/****** SEMINAR ******/

/****** NEWS ******/

h2.post__h3.atv_news {
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 4.044vw;
    margin: 1.103vw 0;
    font-size: 1.324vw;

}

h2.post__h3.atv_news span {
    display: inline-block;
    margin-right: 0.294vw;
}

h2.post__h3.atv_news span img {
    vertical-align: middle;
}

.news_content_p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 2.35;
    margin-bottom: 1.838vw;
}

@media (max-width: 767px) {

    article.remodal.remodal-is-initialized.remodal-is-opened {
        display: flex;
        align-items: center;
    }

    .remodal-close {
        position: absolute;
        top: 15px !important;
    }

    table.ol_table tr {
        display: flex;
        align-items: baseline;
    }

    table.ol_table th {
        width: 20%;
    }

    .seminar_ttl_wrap {
        flex-direction: column;
    }

    .seminar_point li {
        font-size: 3.333vw;
    }

    .remodal h3.post__h3 {
        margin-left: 0;
        font-size: 4.103vw;
    }

    .news_txt_all p {
        font-size: 3.333vw;
    }

    .seminar_li {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 35px 5% 50px;
        margin-bottom: 20px;
        border-radius: 5.897vw;
        background: #fff;
    }

    h2.post__h3.atv_news {
        font-size: 4.105vw;
    }


}

/****** NEWS ******/