/* 絞り込み一覧 */
.works-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;
}

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

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

.works-filter__row--category {
    --filter-color: #ED858A;
}

.works-filter__row--area {
    --filter-color: #59B5C2;
}

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

.works-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%;
}

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

.works-filter__button {
    position: relative;
    display: inline-flex;
    padding: 0;
    border: none;
    border-radius: 3rem;
    background: transparent;
    cursor: pointer;
}

.works-filter__button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.works-filter__button span {
    display: block;
    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;
    transition: background-color .3s, color .3s;
}

.works-filter__button input:checked + span {
    background-color: var(--filter-color);
    color: var(--white-color);
}

.works-filter__button input:focus-visible + span {
    outline: 2px solid var(--filter-color);
    outline-offset: 3px;
}

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

.works_wrapper {
    margin: 126px auto 0;
    width: 85vw;
}

.works_wrapper ul li {
    border-bottom: 1px solid var(--text-color);
}

.works_wrapper ul li article {
    padding: 70px 0;
    display: flex;
    gap: 5.3vw;
}

.works_wrapper ul li:first-of-type article {
    padding-top: 0;
}

.works_wrapper ul li article .img_area {
    display: flex;
    gap: 2vw;
    margin: 0 auto;
    width: 40vw;
    max-width: 700px;
}

.works_wrapper ul li article .img_area .img {
    position: relative;
    width: calc((100% - 2vw)/2);
    aspect-ratio: 273/367;
}

.works_wrapper ul li article .img_area .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works_wrapper ul li article .img_area .img.img01::before {
    display: block;
    content: "施工前";
    position: absolute;
    top: 32px;
    left: 0;
    padding: 15px 20px;
    background: var(--text-color);
    color: var(--white-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    border-radius: 0 50px 50px 0;
}

.works_wrapper ul li article .img_area .img.img02::before {
    display: block;
    content: "施工後";
    position: absolute;
    top: 32px;
    left: 0;
    padding: 15px 20px;
    background: #EA8181;
    color: var(--white-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    border-radius: 0 50px 50px 0;
}

.works_wrapper ul li article .text_area {
    width: calc(100% - 40vw - 5.3vw);
}

.works_wrapper ul li article .text_area p.description {
    font-size: 1.75rem;
    line-height: 1.5;
    letter-spacing: 0;
}

.works_wrapper ul li article .text_area p.period {
    margin-top: 1rem;
    color: #A88B8B;
    font-size: 1.25rem;
    line-height: 1.2;
}

.works_wrapper ul li article .text_area .content_text {
    margin-top: 32px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

.works_wrapper ul li article a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 25px;
    width: fit-content;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    border-radius: 30px;
    transition: .3s;
    background: var(--text-color);
    color: var(--white-color);
    margin: 50px 0 0 auto;
}

.works_wrapper ul li article a.btn svg {
    width: 1.875rem;
}

.works_wrapper ul li article a.btn svg path {
    fill: var(--white-color);
}

@media (hover: hover) and (pointer: fine) {
    .btn.bg.br:hover {
        opacity: .7;
    }
}

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

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

    .works-filter__row {
        gap: 2rem;
    }

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

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

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

@media screen and (max-width:990px) {
    .works_wrapper {
        width: 90vw;
    }

    .works_wrapper ul li article {
        flex-direction: column;
    }

    .works_wrapper ul li article .img_area,
    .works_wrapper ul li article .text_area {
        width: 100%;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =====================================================
 * ページネーション
 * ===================================================== */
.works-pagination {
    position: relative;
    margin-top: 3.5rem;
    padding-bottom: 20rem;
}

.works-pagination::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    bottom: 0;
    aspect-ratio: 1440 / 190;
    background-image: url(../../img/front/member_visual-wave-bottom.svg);
}

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

.works-pagination__inner .page-numbers {
    display: inline-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;
    text-decoration: none;
    cursor: pointer;
    transition: color .3s;
}

.works-pagination__inner .page-numbers.current {
    color: #D7586B;
    cursor: default;
}

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

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

.works-pagination__button--arrow.is-next {
    margin-left: 1.25rem;
}

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

.works-pagination__button--arrow svg path {
    transition: stroke .3s;
}

@media (hover: hover) {
    .works-pagination__inner a.page-numbers:hover {
        color: #D7586B;
    }

    .works-pagination__inner a.page-numbers:hover svg path {
        stroke: #D7586B;
    }
}

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

    .works-pagination__inner {
        gap: 1.5rem;
    }

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

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

@media screen and (max-width: 768px) {
    .works-pagination {
        padding-bottom: 10rem;
    }

    .works-pagination {
        margin-top: 2.5rem;
    }

    .works-pagination__inner {
        gap: 1.25rem;
    }

    .works-pagination__inner .page-numbers {
        font-size: 1rem;
    }

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

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

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

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

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

    .works-pagination__inner .page-numbers {
        font-size: .9375rem;
    }

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

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

/* ========================================
    お問い合わせ
======================================== */
.top-cta {
    position: relative;
    padding: 2rem 0 13.8125rem;
    background-color: #FAEADC;
}

.top-cta::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url(../../img/front/cta-wave-bottom.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    aspect-ratio: 1440 / 94.96;
}

.top-cta__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-cta__content {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 5.736vw, 5.1625rem);
    margin-top: 3.5rem;
}

.top-cta__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .875rem;
    flex: 1;
}

.top-cta__img {
    position: relative;
    width: 100%;
    aspect-ratio: 311.4/207;
}

.top-cta__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10.35rem;
}

.top-cta__arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #E89E9E;
    border-radius: 50%;
}

.top-cta__arrow svg {
    width: 1.3125rem;
    height: auto;
}

.top-cta__body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-cta__callout {
    width: 10rem;
}

.top-cta__callout img {
    width: 100%;
}

.top-cta__title {
    font-size: 1.5rem;
    letter-spacing: 1.5;
}

@media screen and (max-width:990px) {
    .top-cta__content {
        flex-direction: column;
        gap: 3rem;
        margin: 3.5rem auto 0;
        max-width: 37.5rem;
    }
}

@media screen and (max-width:768px) {
    .top-cta {
        padding: 5rem 0 10rem;
    }

    .top-cta__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .top-cta__head .ttl {
        font-size: clamp(2rem, 5.2vw, 2.5rem);
    }
}