@charset "utf-8";

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0
}

ul[role='list'],
ol[role='list'] {
    list-style: none
}

body {
    min-height: 100vh;
    line-height: 1.5
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1
}

h1,
h2,
h3,
h4 {
    text-wrap: balance
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor
}

img,
picture {
    max-width: 100%;
    display: block
}

input,
button,
textarea,
select {
    font: inherit
}

textarea:not([rows]) {
    min-height: 10em
}

:target {
    scroll-margin-block: 5ex
}

.page-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    overflow: hidden;
    margin-top: 120px;
}

/* ===============================
   おすすめ物件
=============================== */

.search {
    width: min(80%, 1120px);
    margin: 3rem auto 7rem;
}

@media screen and (max-width: 1150px) {
    .search {
        width: 90%;
    }
}


/* ===============================
   カテゴリ
=============================== */

.catewrap {
    position: relative;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #efa228;
}

.catewrap::before {
    content: "絞り込み項目";
    display: block;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.catewrap .webgene-blog {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catewrap .webgene-item {
    margin: 0;
}

.catewrap .webgene-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 40px;
    padding: .65rem 1.5rem;
    background-color: #fff7f0;
    border-radius: 4px;
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color .3s ease,
        color .3s ease,
        opacity .3s ease;
}

.catewrap .webgene-item:first-child a {
    background-color: #efa228;
    color: #fff !important;
}

.catewrap .webgene-item a::after {
    display: none;
}

.catewrap .webgene-item a:hover {
    background-color: #efa228;
    color: #fff !important;
    opacity: 1;
}


/* ===============================
   物件一覧
=============================== */

.list-wrap .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.list-wrap .webgene-item {
    position: relative;
    padding: 0;
    margin: 0;
}

.list-wrap .webgene-item::after {
    display: none;
}

.list-wrap .webgene-item-info {
    height: 100%;
}

.list-wrap .list-link {
    display: block;
    height: 100%;
    color: #000;
    text-decoration: none;
}

.list-wrap .listAr {
    height: 100%;
}

.list-wrap .listLk {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:
        auto
        auto
        auto
        auto
        auto;
    gap: 0;
    height: 100%;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 9px;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, .08),
        0 5px 12px rgba(0, 0, 0, .08);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.list-wrap .list-link:hover .listLk {
    transform: translateY(-3px);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, .10),
        0 8px 18px rgba(0, 0, 0, .10);
}


/* HTMLの入れ子を解除して
   カテゴリ→タイトル→画像→情報の順で配置 */
.list-wrap .column,
.list-wrap .listCt {
    display: contents;
}


/* カテゴリ */
.list-wrap .categoryTxt {
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 0 .5rem;
    padding: .3rem .75rem;
    background-color: #fff;
    border: 1px solid #efa228;
    border-radius: 50px;
    color: #efa228;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}


/* 物件名 */
.list-wrap .itemtitle {
    grid-row: 2;
    margin: 0 0 .75rem;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}


/* 物件画像 */
.list-wrap .listLkImgWr {
    grid-row: 3;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0;
    background-color: #ddd;
}

.list-wrap .listLkImgWr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform .4s ease;
}

.list-wrap .list-link:hover .listLkImgWr img {
    transform: scale(1.03);
}

.list-wrap .listPrice {
    display: none;
    position: relative;
    margin: 0 0 .75rem;
    padding-left: 54px;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    min-height: 20px;
}

.list-wrap .listPrice.is-active {
    display: block;
}

/* text1：家賃 */
.list-wrap .listPrice.type-rent::before {
    content: "家賃";
}

/* text2：価格 */
.list-wrap .listPrice.type-price::before {
    content: "価格";
}

/* text3：賃料 */
.list-wrap .listPrice.type-fee::before {
    content: "賃料";
}

.list-wrap .listPrice::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 21px;
    padding: .2rem .4rem;
    transform: translateY(-50%);
    background-color: #aaa;
    border-radius: 50px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.list-wrap .listPrice span {
    font-size: inherit;
    font-weight: inherit;
}
.list-line-wrap{
    margin-top: .75rem;
    min-height: 24px;
}


/* 住所・備考 */
.list-wrap .listline {
    grid-row: 4;
    position: relative;
    margin: 0 0 .75rem;
    padding-left: 54px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.list-wrap .listline::before {
    content: "住所";
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 21px;
    padding: .2rem .4rem;
    transform: translateY(-50%);
    background-color: #aaa;
    border-radius: 50px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.list-wrap .listline span {
    font-size: inherit;
    font-weight: inherit;
}


/* ===============================
   ページネーション
=============================== */

.list-wrap .webgene-pagination {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2.5rem;
}

.webgene-pagination > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
}

.webgene-pagination > ul > li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    min-height: auto;
    border: 0;
    background: transparent;
    list-style: none;
}

.webgene-pagination > ul > li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: .5rem .2rem;
    background-color: transparent;
    color: #000 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.webgene-pagination > ul > li.selected a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 18px;
    height: 2px;
    transform: translateX(-50%);
    background-color: #efa228;
}

.webgene-pagination > ul > li:hover a::before {
    content: none;
}

.webgene-pagination > ul > li.prev,
.webgene-pagination > ul > li.next {
    width: 24px;
    height: 38px;
    border: 0;
    background-color: #efa228;
}

.webgene-pagination > ul > li.prev a,
.webgene-pagination > ul > li.next a {
    width: 100%;
    height: 100%;
    padding: 0;
    color: #fff !important;
}


/* ===============================
   Tablet
=============================== */

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

    .catewrap {
        margin-bottom: 3rem;
    }

    .catewrap .webgene-blog {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: .75rem;
    }

    .catewrap .webgene-item a {
        width: 100%;
        min-width: 0;
        padding: .7rem .5rem;
    }

    .list-wrap .webgene-blog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===============================
   SP
=============================== */

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

    .search {
        width: 90%;
        margin: 2rem auto 5rem;
    }

    .catewrap {
        margin-bottom: 2.5rem;
        padding-bottom: 1.25rem;
    }

    .catewrap::before {
        margin-bottom: .75rem;
        font-size: 13px;
    }

    .catewrap .webgene-blog {
        grid-template-columns: repeat(2, 1fr);
        gap: .6rem;
    }

    .catewrap .webgene-item a {
        min-height: 38px;
        padding: .65rem .5rem;
        font-size: 13px;
    }

    .list-wrap .webgene-blog {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .list-wrap .listLk {
        padding: 1rem;
    }

    .list-wrap .categoryTxt {
        font-size: 11px;
    }

    .list-wrap .itemtitle {
        font-size: 15px;
    }

    .list-wrap .listPrice {
        font-size: 17px;
    }

    .list-wrap .list-line {
        font-size: 12px;
    }

    .webgene-pagination > ul {
        gap: .8rem;
    }

    .webgene-pagination > ul > li a {
        font-size: 16px;
    }
}