/* 絞り込み一覧 */
.voice-filter--inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 3.75rem clamp(2rem, 4.16vw, 3.75rem);
    background-color: var(--white-color);
    border-radius: 1rem;
}

.voice-filter__row {
    display: flex;
    align-items: baseline;
    gap: clamp(2rem, 4.4vw, 4rem);
}

.voice-filter__row:not(:last-child) {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.voice-filter__row--menu {
    --filter-color: #ED858A;
}

.voice-filter__row--area {
    --filter-color: #C99358;
}

.voice-filter__row--building {
    --filter-color: #59B5C2;
}

.voice-filter__heading {
    position: relative;
    margin-left: 1.25rem;
    width: 8rem;
    font-size: 1.125rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.voice-filter__heading::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.25rem;
    width: .75rem;
    height: .75rem;
    background: var(--filter-color);
    border-radius: 50%;
}

.voice-filter__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.voice-filter__button {
    padding: .625rem .9375rem;
    background-color: var(--white-color);
    color: var(--filter-color);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    border: 1px solid var(--filter-color);
    border-radius: 3rem;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

.voice-filter__button.is-active {
    background-color: var(--filter-color);
    color: var(--white-color);
}

@media (hover: hover) {
    .voice-filter__button:hover {
        background-color: var(--filter-color);
        color: var(--white-color);
    }
}

/* =====================================================
 * お客様の声 カウント
 * ===================================================== */
.voice-results-count {
    margin-top: 6rem;
}

#voice-count-range {
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: .06em;
}

#voice-count-range span {
    color: #EA8181;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: .06em;
}

.voice-results-count__total {
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: .06em;
}

/* =====================================================
 * お客様の声 一覧
 * ===================================================== */
.voice-results {
    margin-top: 1.5rem;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.voice-list__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem);
    align-items: center;
    gap: 3rem;
    padding: 1.75rem clamp(2rem, 3.472vw, 3.125rem);
    background: var(--white-color);
    border-radius: 1rem;
}

.voice-list__body {
    min-width: 0;
}

.voice-list__title {
    font-size: clamp(1.25rem, 1.944vw, 1.75rem);
    line-height: 1.4;
    letter-spacing: 0;
}

.voice-list__info {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    margin-top: 2.5rem;
}

.voice-list__name,
.voice-list__construction {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.voice-list__area {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-top: 1rem;
    color: #D7586B;
    font-size: 1.125rem;
    line-height: 1.2;
    letter-spacing: .06em;
}

.voice-list__area-icon {
    display: flex;
    width: .75rem;
    height: 1rem;
}

.voice-list__area-icon svg {
    width: 100%;
    height: 100%;
}

.voice-list__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    margin-top: 2.5rem;
}

.voice-list__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .75rem;
    color: var(--white-color);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    border-radius: 100vmax;
}

.voice-list__tag--menu {
    background: #EA8181;
}

.voice-list__tag--area {
    background: #C89056;
}

.voice-list__tag--building {
    background: #5BB4C0;
}

.voice-list__media {
    width: 100%;
    max-width: 26.25rem;
    aspect-ratio: 420 / 340;
    overflow: hidden;
    justify-self: end;
}

.voice-list__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-list__link {
    position: absolute;
    right: 4rem;
    bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8125rem;
    height: 2.8125rem;
    background: #EB9191;
    color: var(--text-color);
    border-radius: 50%;
    transition: transform .3s, background .3s;
}

.voice-list__link svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (hover: hover) {
    .voice-list__link:hover {
        transform: translateX(.25rem);
        background: #F5A3A7;
    }
}

.voice-list__empty {
    padding: 4rem 1rem;
    background: #fff;
    text-align: center;
    border-radius: .75rem;
}

@media screen and (max-width: 1024px) {

    /* 絞り込み */
    .voice-filter--inner {
        gap: 1.5rem;
        padding: 2.5rem 2rem;
    }

    .voice-filter__row {
        gap: 2rem;
    }

    .voice-filter__row:not(:last-child) {
        padding-bottom: 1.5rem;
    }

    .voice-filter__heading {
        flex: 0 0 7rem;
        width: auto;
        font-size: 1rem;
    }

    .voice-filter__button {
        padding: .625rem .875rem;
        font-size: .875rem;
    }

    /* カウント */
    .voice-results-count {
        margin-top: 4rem;
    }

    /* 一覧 */
    .voice-list__item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
        gap: 2rem;
        padding: 2rem;
    }

    .voice-list__title {
        font-size: clamp(1.125rem, 2vw, 1.5rem);
    }

    .voice-list__info {
        margin-top: 1.5rem;
    }

    .voice-list__tags {
        margin-top: 1.5rem;
    }

    .voice-list__media {
        max-width: 26.25rem;
    }

    .voice-list__link {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

@media screen and (max-width: 768px) {

    /* 絞り込み */
    .voice-filter--inner {
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        border-radius: .75rem;
    }

    .voice-filter__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .voice-filter__row:not(:last-child) {
        padding-bottom: 1.5rem;
    }

    .voice-filter__heading {
        flex: none;
        width: auto;
        margin-left: 1.125rem;
        font-size: 1rem;
    }

    .voice-filter__heading::before {
        left: -1.125rem;
        width: .625rem;
        height: .625rem;
    }

    .voice-filter__buttons {
        width: 100%;
        gap: .5rem;
    }

    .voice-filter__button {
        padding: .625rem .875rem;
        font-size: .875rem;
    }

    /* カウント */
    .voice-results-count {
        margin-top: 3rem;
    }

    #voice-count-range {
        font-size: 1rem;
    }

    #voice-count-range span {
        font-size: 1.375rem;
    }

    .voice-results-count__total {
        font-size: 1rem;
    }

    /* 一覧 */
    .voice-results {
        margin-top: 1rem;
    }

    .voice-list {
        gap: 1.5rem;
    }

    .voice-list__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: .75rem;
    }

    .voice-list__title {
        font-size: 1.25rem;
    }

    .voice-list__info {
        margin-top: 1.5rem;
    }

    .voice-list__name,
    .voice-list__construction {
        font-size: .9375rem;
    }

    .voice-list__area {
        margin-top: .75rem;
        font-size: 1rem;
    }

    .voice-list__tags {
        gap: .5rem;
        margin-top: 1.5rem;
    }

    .voice-list__tag {
        padding: .4375rem .625rem;
        font-size: .75rem;
    }

    .voice-list__media {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 420 / 340;
    }

    .voice-list__link {
        right: 2rem;
        bottom: 2rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .voice-list__link svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .voice-list__empty {
        padding: 3rem 1rem;
    }
}

@media screen and (max-width: 480px) {

    /* 絞り込み */
    .voice-filter--inner {
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
    }

    .voice-filter__row {
        gap: .875rem;
    }

    .voice-filter__row:not(:last-child) {
        padding-bottom: 1.25rem;
    }

    .voice-filter__heading {
        font-size: .9375rem;
    }

    .voice-filter__button {
        padding: .5625rem .75rem;
        font-size: .8125rem;
    }

    /* カウント */
    .voice-results-count {
        margin-top: 2.5rem;
    }

    /* 一覧 */
    .voice-list {
        gap: 1rem;
    }

    .voice-list__item {
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .voice-list__title {
        font-size: 1.125rem;
    }

    .voice-list__info {
        margin-top: 1.25rem;
    }

    .voice-list__name,
    .voice-list__construction {
        font-size: .875rem;
    }

    .voice-list__area {
        font-size: .875rem;
    }

    .voice-list__tags {
        margin-top: 1.25rem;
    }

    .voice-list__media {
        aspect-ratio: 420 / 340;
    }

    .voice-list__link {
        right: 1.75rem;
        bottom: 1.75rem;
        width: 2.25rem;
        height: 2.25rem;
    }

    .voice-list__link svg {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* =====================================================
 * お客様の声 ページネーション
 * ===================================================== */
.voice-pagination {
    margin-top: 3.5rem;
}

.voice-pagination__inner {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.voice-pagination__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-family-en);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .04em;
    border: none;
    cursor: pointer;
    transition: color .3s;
}

.voice-pagination__button.is-active {
    color: #D7586B;
}

.voice-pagination__button:disabled {
    opacity: .3;
    cursor: default;
}

.voice-pagination__button--arrow {
    display: block;
    width: .5625rem;
    height: .875rem;
}

.voice-pagination__button--arrow.is-prev {
    margin-right: 1.25rem;
}

.voice-pagination__button--arrow.is-next {
    margin-left: 1.25rem;
    transform: rotate(180deg);
}

.voice-pagination__button--arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (hover: hover) {
    .voice-pagination__button:not(:disabled):hover {
        color: #D7586B;
    }
}

@media screen and (max-width: 1024px) {
    .voice-pagination {
        margin-top: 3rem;
    }

    .voice-pagination__inner {
        gap: 1.5rem;
    }

    .voice-pagination__button--arrow.is-prev {
        margin-right: .75rem;
    }

    .voice-pagination__button--arrow.is-next {
        margin-left: .75rem;
    }
}

@media screen and (max-width: 768px) {
    .voice-pagination {
        margin-top: 2.5rem;
    }

    .voice-pagination__inner {
        gap: 1.25rem;
    }

    .voice-pagination__button {
        font-size: 1rem;
    }

    .voice-pagination__button--arrow {
        width: .5rem;
        height: .75rem;
    }

    .voice-pagination__button--arrow.is-prev {
        margin-right: .5rem;
    }

    .voice-pagination__button--arrow.is-next {
        margin-left: .5rem;
    }
}

@media screen and (max-width: 480px) {
    .voice-pagination {
        margin-top: 2rem;
    }

    .voice-pagination__inner {
        gap: .875rem;
    }

    .voice-pagination__button {
        font-size: .9375rem;
    }

    .voice-pagination__button--arrow.is-prev {
        margin-right: .25rem;
    }

    .voice-pagination__button--arrow.is-next {
        margin-left: .25rem;
    }
}