/* 物件がないor募集終了の際のアナウンス */

.no__property__announce {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--clump1remTo2rem);
    padding: 4rem 0;
}

.no__property__announce a {
    width: fit-content;
    padding: 0.2em 1em;
    background: var(--blue);
    color: var(--white);
    border-radius: 0.2rem;
    margin: 1em auto;
    font-size: 1.2rem;
}

/* 物件詳細ページ */

.property__detail__wrap {
    width: 100%;
    padding: 100px 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.property__detail {
    width: 100%;
    max-width: 1000px;
    background: var(--base__color);
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

/* 画像 */

.image-gallery {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.main-image img {
    width: 100%;
    display: block;
}

.thumbnail-list {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumb {
    width: 19.2%;
    min-width: 100px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    box-shadow: var(--box__shadow);
}

/* 内容の部分 */

.property__title {
    background: var(--white);
    padding: 0.2em 0.5em 0.2em clamp(1rem, 0.636rem + 1.82vw, 2rem);
    position: relative;
    font-size: clamp(1.1rem, 0.773rem + 1.64vw, 2rem);
}

.property__title::after {
    content: "";
    width: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    height: 100%;
    background: var(--blue);
    position: absolute;
    top: 0;
    left: 0;
}

.property__id {
    font-size: 1rem;
    line-height: 1em;
    text-align: right;
}

.property__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.property__tag {
    width: fit-content;
    padding: 0.2em 0.5em;
    background: var(--white);
    border: 1px solid var(--font__color2);
    border-radius: 0.2em;
}

.detail__list {
    display: grid;
    grid-template-columns: clamp(7rem, 4.091rem + 14.55vw, 15rem) 1fr;
    align-items: center;
}

.detail__list .caption {
    width: 100%;
    height: 100%;
    background: var(--font__color);
    color: var(--white);
    font-size: clamp(0.8rem, 0.582rem + 1.09vw, 1.4rem);
    text-align: center;
    letter-spacing: 0.1em;
    display: grid;
    place-items: center;
}

.detail__list .list__contents {
    background: var(--white);
    font-weight: 700;
    font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem);
    padding: 0.2em 0 0.2em clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
}

.price {
    color: var(--red);

}

.cost {
    color: var(--red);
}

.cost .black {
    color: var(--font__color);
}

.yield {
    color: var(--blue);
}

.place {
    color: var(--font__color);
}

.space {
    color: var(--font__color);
}

.detail__information {
    width: 100%;
    background: var(--white);
    padding: 1rem 1rem 1rem clamp(1rem, 0.636rem + 1.82vw, 2rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: clamp(1rem, 0.855rem + 0.73vw, 1.4rem);
    position: relative;
}

.detail__information::after {
    width: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    height: 100%;
    background: var(--yellow);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}

.detail__comment {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 1rem clamp(1rem, 0.636rem + 1.82vw, 2rem);
    background: var(--white);
    border-radius: 0.5em;
}

/* 検索結果ページ */

.property__search {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.property__search__items {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.property__search__item {
    width: 100%;
    max-width: 280px;
    padding: 1rem;
    background: var(--base__color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s;
    position: relative;
    box-shadow: var(--box__shadow), inset 0 0 0 0 rgba(0, 0, 0, 0);
    border-radius: 1rem;
}

.property__search__item:hover {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), inset var(--box__shadow);
}

.property__search__item a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.property__search__item ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: 1.1rem;
}

.property__search__item:hover img {
    transform: scale(1.1);
}


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

.pagination {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.pagination .current {
    font-size: 1.1em;
    color: var(--blue);
}

/* お気に入り */

.property__like__button {
    width: 100%;
    max-width: 400px;
    background: var(--heavy__base);
    color: var(--visited);
    border-radius: 0.2em;
    box-shadow: var(--box__shadow);
    padding: 0.5em 1em;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.button-contact {
    width: 100%;
    max-width: 400px;
    padding: 0.5em 1rem;
    margin: 0 auto;
    background: var(--button__gradient);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    border-radius: 3em;
    font-size: 1.4rem;
}

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

    .property__search__item {
        width: 100%;
        max-width: none;
        box-shadow: var(--box__shadow);
        border-radius: 1rem;
    }
}