/* 共通 */

body:not(.home) .changeCard ul {
    padding: 0;
    list-style: none;
    border: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 20px;
}

body:not(.home) .changeCard ul::after {
    content: "";
    display: block;
    width: 30%;
}

body:not(.home) .changeItemTxt {
    width: 62%;
}

body:not(.home) .changeItemTxt p.itemTitle {
    font-size: 1.1rem;
    line-height: 1.56;
    margin: 0;
    font-weight: bold;
    color: #313131;
    margin-bottom: 10px;
}

body:not(.home) .changeItemTxt ul.itemTag {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body:not(.home) .changeItemTxt ul.itemTag li {
    background: #f1f1f1;
    color: #707070;
    font-size: 0.7rem;
    padding: 2px 10px;
    position: relative;
}

body:not(.home) .changeItemTxt ul.itemTag li:before {
    padding-right: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1em;
    content: "\f02b";
    vertical-align: baseline;
    color: #aaa;
}

body:not(.home) p.itemCat {
    position: absolute;
    left: 22px;
    top: 22px;
    background: var(--color-accent_d, #04c400);
    color: #FFF;
    border-radius: 9999px;
    font-size: 0.7rem;
    display: inline-block;
    padding: 1px 12px 0px;
    z-index: 2;
}


/* 共通ここまで */


/* GridCard変更後 */

body:not(.home) li.changeItem.gridCard {
    width: 30.5%;
    margin-bottom: 30px;
}

body:not(.home) li.changeItem.gridCard a {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
    cursor: pointer;
    transition: 0.2s ease-in-out;
    height: 100%;
    padding: 0;
    position: relative;
    text-decoration: none;
}

body:not(.home) li.changeItem.gridCard a:hover {
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
    transform: translateY(-4px);
}

body:not(.home) li.changeItem.gridCard a p.itemCat {
    top: 10px;
    left: 10px;
}

body:not(.home) li.changeItem.gridCard a .changeItemTxt {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 10px;
}

body:not(.home) li.changeItem.gridCard a img {
    width: 100%;
    height: 200px;
    margin: 0 0 12px;
    object-fit: cover;
}

body:not(.home) li.changeItem.gridCard .changeItemTxt ul.itemTag {
    display: none;
}

body:not(.home) .common-title-hp{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}
body:not(.home) .common-title-hp h2 {
    border-top: solid 2px var(--color-accent_d, #04c400);
    border-bottom: solid 2px var(--color-accent_d, #04c400);
    padding: 20px 23px;
    margin: 0 0 15px;
    font-size: 20px;
}
body.post-type-archive-customer_review .single_box,
body.blog .single_box{
    padding-bottom: 90px;
}
@media(min-width: 768px){
    body:not(.home) .common-title-hp h2 {
        font-size: 32px;
    }
}

/*pagination用*/

body:not(.home) .pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

body:not(.home) .page-numbers {
    padding: 10px 15px 10px 15px;
    background: var(--color-accent_d, #04c400);
    margin: 0 5px;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
}

body:not(.home) span.page-numbers.current {
    background: #FFF;
    border: 1px solid;
    color: #1a1a1a;
}

@media screen and (max-width: 767px) {
    /* （ここにモバイル用スタイルを記述） */
    body:not(.home) li.changeItem.gridCard {
        width: 100%;
        margin-bottom: 20px;
    }
    body:not(.home) .consult-middle-hp a {
        width: 287px!important;
        height: 65px!important;
    }
}

.reviewCard ul{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 20px;
    row-gap: 40px;
}
.reviewCard ul li{
    flex: 0 0 100%;
    background: #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0/12%), 0 2px 3px 0 rgb(0 0 0/22%);
}
.reviewCard ul img{
    display: block;
}
.reviewCard ul li .text{
    padding: 20px;
}
@media (min-width: 768px){
    .reviewCard ul li{
        flex: 0 0 calc(100% / 3 - (20px * 2 / 3));
    }
}