/* 物件一覧ページ */
.c-property {
    background-color: #F0F0ED;
    padding: 100px 20px 120px;
}

.c-property__inner {
    width: 1150px;
    margin: 0 auto;
}

/* ギャラリー */
.c-property__gallery {
    width: fit-content;
    display: flex;
    gap: 63px;
    margin: 80px auto;
}

.c-property__gallery-item {
    width: 441px;
    height: 166px;
}

.c-property__wrap {
    margin-top: 80px;
}

/* タブ */
.c-property__tabs {
    display: flex;
    align-items: end;
}

.c-property__tab {
    flex: 1;
    height: 61px;
    background-color: transparent;
    border: 1px solid #707070;
    border-bottom: none;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.c-property__tab + .c-property__tab {
    margin-left: 4px;
}

.c-property__tab.is-current {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    color: #54B986;
    position: relative;
    top: 1px;
    height: 62px;
}

.c-property__tab.is-current::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 47px;
    height: 2px;
    background-color: #00BC82;
}


/* 掲載件数ラッパー */
.c-property__count-wrapper {
    background-color: #fff;
    border: 1px solid #707070;
    padding: 46px 0 81px;
    border-radius: 0 0 10px 10px;
}

/* 掲載件数 */
.c-property__count {
    margin: 0 auto 29px;
    background-color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.08em;
    position: relative;
    width: fit-content;
}

.c-property__count::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -15px;
    width: 1.5px;
    height: 20px;
    background-color: #707070;
    transform: rotate(-25deg);
}

.c-property__count::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -15px;
    width: 1.5px;
    height: 20px;
    background-color: #707070;
    transform: rotate(25deg);
}

.c-property__count-num {
    margin: 0 7px;
    color: #00BC82;
    font-size: 50px;
    font-weight: 500;
    position: relative;
    top: 3px;
}


/* カードリスト */
.c-property__list {
    background-color: #fff;
    padding: 0 0 47px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.c-property-card {
    width: 1005px;
    margin: 0 auto;
    padding: 49px 0 49px 49px;
    background-color: #F5F5F5;
    border: 1px solid #707070;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.16);
}

.c-property-card__img {
    width: 321px;
    height: 264px;
    flex-shrink: 0;
    background-color: #C4C4C4;
    overflow: hidden;
}

.c-property-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-property-card__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 17px;
    padding-right: 100px;
    line-height: 1.3;
}

.c-property-card__spec {
    margin-bottom: 15px;
}

.c-property-card__spec-row {
    display: flex;
    align-items: baseline;
    font-size: 16px;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.c-property-card__spec-row + .c-property-card__spec-row {
    margin-top: 16px;
}

.c-property-card__spec-row dt {
    width: 90px;
    flex-shrink: 0;
    font-weight: 500;
}

.c-property-card__spec-row dd {
}

.c-property-card__price-num {
    color: #54B986;
    font-size: 28px;
    font-weight: 500;
}

.c-property-card__price-unit {
    margin-left: 4px;
    font-size: 16px;
}

.c-property-card__price-text {
    color: #54B986;
    font-size: 18px;
    font-weight: 700;
    white-space: pre-line;
}

.c-property-card__btn {
    width: 298px;
    height: 44px;
    background-color: #fff;
    border: 1px solid #707070;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 80px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.c-property-card__btn i {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    position: relative;
    background-image: url(/../../common/img/buy/ico_arrow_b.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* NEW!バッジ */
.c-property-card__new {
    position: absolute;
    top: 17px;
    right: 12px;
    width: 90px;
    height: 90px;
    background-image: url(/../../common/img/buy/ico_new.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* ページネーション */
.c-property__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 0 67px;
}

.c-property__pager-item button {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 22px;
    font-weight: 500;
    color: #B3B3AE;
    cursor: pointer;
}

.c-property__pager-item.is-current button {
    color: #54B986;
}

.c-property__pager-item--arrow button {
    border: 1px solid #54B986;
    border-radius: 50%;
    position: relative;
}

.c-property__pager-item--arrow:first-child {
    margin-right: 20px;
}

.c-property__pager-item--arrow:last-child {
    margin-left: 20px;
}

.c-property__pager-item--arrow button i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #54B986;
    border-right: 2px solid #54B986;
}

.c-property__pager-item--arrow:first-child button i {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.c-property__pager-item--arrow:last-child button i {
    transform: translate(-70%, -50%) rotate(45deg);
}

.c-property__pager-item--arrow.is-disabled button {
    border-color: #D6D6D1;
    cursor: default;
}

.c-property__pager-item--arrow.is-disabled button i {
    border-color: #D6D6D1;
}


/* ご希望の物件は見つかりましたか？ CTA */
.c-property__cta {
    width: 694px;
    margin: 0 auto;
    padding: 36px 54px 42px;
    background-color: rgba(157, 227, 0, 0.07);
    border: 3px solid #18AB2D;
    border-radius: 10px;
    text-align: center;
}


.c-property__cta-title {
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px dashed #707070;
    color: #18AB2D;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.c-property__cta-text {
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 28px;
    margin-bottom: 18px;
}

.c-property__cta-btn {
    width: 100%;
    height: 54px;
    margin: 0 auto;
    background-color: #18AB2D;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.c-property__cta-btn-icon {
    width: 28px;
    height: 28px;
}

.c-property__cta-btn-icon img {
    object-fit: contain;
}

@media (min-width: 769px) {
    .c-property__tab {
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .c-property-card__btn i{
        transition: transform 0.3s ease;
    }

    .c-property-card__btn:hover i{
        transform:translateX(5px);
    }

    .c-property__pager-item button {
        transition: opacity 0.3s ease;
    }

    .c-property__pager-item--arrow button:not(.is-disabled):hover {
        opacity: 0.6;
    }

    .c-property__cta-btn {
        transition: opacity 0.3s ease;
        cursor: pointer;
    }

    .c-property__cta-btn:hover {
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    /* 物件一覧ページ */
    .c-property {
        padding: 55px 24px;
    }

    .c-property__inner {
        width: 100%;
    }

    /* ギャラリー */
    .c-property__gallery {
        flex-direction: column;
        gap: 9px;
        margin: 40px auto;
    }

    .c-property__gallery-item {
        width: 100%;
        height: 123px;
    }

    .c-property__wrap {
        margin-top: 40px;
    }

    /* タブ */
    .c-property__tabs {
        display: flex;
        align-items: end;
    }

    .c-property__tab {
        flex: 1;
        height: 52px;
        font-size: 16px;
        font-weight: 700;
        line-height: 18px;
        border-radius: 5px 5px 0 0;
        padding: 0 2px;
    }

    .c-property__tab span {
        letter-spacing: -0.08em;
    }

    .c-property__tab + .c-property__tab {
        margin-left: 2px;
    }

    .c-property__tab.is-current {
        height: 53px;
    }

    .c-property__tab.is-current::after {
        display: none;
    }


    /* 掲載件数ラッパー */
    .c-property__count-wrapper {
        padding: 19px 20px 23px;
        border-radius: 0 0 5px 5px;
    }

    /* 掲載件数 */
    .c-property__count {
        margin: 0 auto 12px;
        font-size: 18px;
    }

    .c-property__count::before {
        bottom: 0;
        left: -15px;
        width: 1.5px;
        height: 20px;
    }

    .c-property__count::after {
        bottom: 0;
        right: -15px;
        width: 1.5px;
        height: 20px;
    }

    .c-property__count-num {
        margin: 0 3px;
        font-size: 33px;
        top: 2px;
    }


    /* カードリスト */
    .c-property__list {
        padding: 12px 0 22px;
        gap: 15px;
    }

    .c-property-card {
        width: 100%;
        padding: 18px 19px 17px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 18px;
    }

    .c-property-card__img {
        width: 100%;
        height: auto;
    }

    .c-property-card__img picture {
        width: 100%;
        height: 100%;
    }

    .c-property-card__img img {
        aspect-ratio: 6 / 5;
    }

    .c-property-card__body {
        width: 100%;
    }

    .c-property-card__title {
        font-size: 21px;
        margin-bottom: 14px;
        padding-right: 0;
        line-height: 1.2;
    }

    .c-property-card__spec {
        margin-bottom: 14px;
        line-height: 21px;
    }

    .c-property-card__spec-row {
        display: flex;
        align-items: baseline;
        font-size: 14px;
        letter-spacing: 0;
    }

    .c-property-card__spec-row + .c-property-card__spec-row {
        margin-top: 5px;
    }

    .c-property-card__spec-row dt {
        width: 70px;
    }

    .c-property-card__spec-row dd {
        line-height: 21px;
    }

    .c-property-card__price-num {
        font-size: 23px;
    }

    .c-property-card__price-unit {
        margin-left: 4px;
        font-size: 15px;
    }

    .c-property-card__price-text {
        font-size: 23px;
        font-weight: 700;
        white-space: pre-line;
    }

    .c-property-card__btn {
        width: 100%;
        height: 47px;
        justify-content: center;
        padding: 0;
        letter-spacing: 0.03em;
        position: relative;
    }

    .c-property-card__btn i {
        width: 24px;
        height: 24px;
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
    }

    /* NEW!バッジ */
    .c-property-card__new {
        position: absolute;
        top: 6px;
        right: 7px;
        width: 58px;
        height: 59px;
        background-image: url(/../../common/img/buy/ico_new_sp.svg);
    }


    /* ページネーション */
    .c-property__pager {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0 0 36px;
    }

    .c-property__pager-item button {
        font-size: 17px;
    }

    .c-property__pager-item.is-current button {
    }

    .c-property__pager-item--arrow button {
    }

    .c-property__pager-item--arrow:first-child {
        margin-right: 10px;
    }

    .c-property__pager-item--arrow:last-child {
        margin-left: 10px;
    }

    .c-property__pager-item--arrow button i {
    }

    .c-property__pager-item--arrow:first-child button i {
    }

    .c-property__pager-item--arrow:last-child button i {
    }

    .c-property__pager-item--arrow.is-disabled button {
    }

    .c-property__pager-item--arrow.is-disabled button i {
    }


    /* ご希望の物件は見つかりましたか？ CTA */
    .c-property__cta {
        width: 100%;
        margin: 0 auto;
        padding: 17px 20px 24px;
    }


    .c-property__cta-title {
        width: 100%;
        padding-bottom: 10px;
        margin-bottom: 12px;
        border-bottom: 2px dashed #707070;
        font-size: 19px;
        letter-spacing: 0.05em;
        line-height: 24px;
    }

    .c-property__cta-text {
        font-size: 14px;
        letter-spacing: 0;
        line-height: 24px;
        margin-bottom: 10px;
        text-align: justify;
    }

    .c-property__cta-btn {
        width: 225px;
        height: 55px;
        border-radius: 5px;
        padding: 0 17px 0 19px;
        gap: 0;
        font-size: 15px;
        letter-spacing: 0.03em;
        line-height: 20px;
    }

    .c-property__cta-btn-icon {
        width: 26px;
        height: 26px;
        margin-right: 3px;
    }

    .c-property__cta-btn-icon img {
    }
}   