/* =========================================================
   geo-properties – 物件一覧
   メインカラー : #04384c
   アクセント   : #ff8400
========================================================= */

/* =========================
   グリッド
========================= */

.geo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* =========================
   カード
========================= */

.geo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #1a2a3c;
    border-radius: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.geo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.geo-card a {
    display: block;
    width: 100%;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
}

/* =========================
   サムネイル
========================= */

.geo-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.geo-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.geo-card:hover .geo-thumb img {
    transform: scale(1.04);
}

/* =========================
   NO IMAGE
========================= */

.geo-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e2030;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    letter-spacing: 0.12em;
}

/* =========================
   暗いオーバーレイ
========================= */

.geo-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(8, 20, 34, 0.48);
    transition: background 0.35s ease;
}

.geo-card:hover .geo-overlay {
    background: rgba(8, 20, 34, 0.38);
}

/* =========================
   ステータス画像
========================= */

.geo-arc {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 165px;
    height: 165px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    pointer-events: none;
}

.geo-arc.arc-blue {
    background-image:
        url("https://geo-realty.com/grwp/wp-content/uploads/2026/06/image-1.png");
}

.geo-arc.arc-red {
    background-image:
        url("https://geo-realty.com/grwp/wp-content/uploads/2026/06/image-2.png");
}

.geo-arc.arc-green {
    background-image:
        url("https://geo-realty.com/grwp/wp-content/uploads/2026/06/image-3.png");
}

.geo-arc.arc-orange {
    background-image:
        url("https://geo-realty.com/grwp/wp-content/uploads/2026/06/image-4.png");
}

/* =========================
   ステータスラベル
========================= */

.geo-label {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 7px 12px;
    border: 1px solid rgba(4, 56, 76, 0.15);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    color: #04384c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-shadow: none;
    white-space: nowrap;
    pointer-events: none;
}

/* =========================
   カード中央のカテゴリー名
========================= */

.geo-card-body {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 76px;
    box-sizing: border-box;
    text-align: center;
    pointer-events: none;
}

.geo-card-type {
    max-width: 90%;
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.65),
        0 1px 3px rgba(0, 0, 0, 0.65);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* =========================
   カード下部
========================= */

.geo-card-details {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 20px 15px;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.68) 55%,
            rgba(0, 0, 0, 0) 100%
        );
    pointer-events: none;
}

/* 住所 */

.geo-card-address {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
}

/* 土地・建物・アクセス */

.geo-card-meta {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    line-height: 1.55;
}

/* 物件名 */

.geo-card-title {
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================
   投稿なし
========================= */

.geo-no-posts {
    padding: 40px 0;
    color: #6b7b83;
    font-size: 14px;
    text-align: center;
}

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

.geo-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 48px;
}

.geo-pagination a,
.geo-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid rgba(4, 56, 76, 0.22);
    border-radius: 8px;
    color: #04384c;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.geo-pagination a:hover {
    border-color: #04384c;
    background: #04384c;
    color: #ffffff;
}

.geo-pagination .current {
    border-color: #04384c;
    background: #04384c;
    color: #ffffff;
    font-weight: 700;
}

.geo-pagination .prev,
.geo-pagination .next {
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* =========================
   タブレット
========================= */

@media (max-width: 1024px) {

    .geo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .geo-arc {
        width: 145px;
        height: 145px;
    }

    .geo-label {
        top: 15px;
        right: 13px;
        min-width: 66px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .geo-card-body {
        inset: 0;
        padding: 34px 24px 70px;
    }

    .geo-card-type {
        font-size: 25px;
    }

    .geo-card-details {
        padding: 34px 18px 13px;
    }

    .geo-card-title {
        font-size: 12px;
    }
}

/* =========================
   スマートフォン
========================= */

@media (max-width: 640px) {

    .geo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .geo-card {
        aspect-ratio: 16 / 10;
    }

    .geo-arc {
        width: 130px;
        height: 130px;
    }

    .geo-label {
        top: 12px;
        right: 10px;
        min-width: 62px;
        padding: 6px 9px;
        font-size: 10.5px;
    }

    .geo-card-body {
        inset: 0;
        padding: 30px 20px 66px;
    }

    .geo-card-type {
        font-size: 24px;
    }

    .geo-card-details {
        padding: 30px 16px 12px;
    }

    .geo-card-address {
        font-size: 10.5px;
    }

    .geo-card-meta {
        font-size: 9.5px;
    }

    .geo-card-title {
        font-size: 12px;
    }

    .geo-pagination {
        margin-top: 32px;
    }

    .geo-pagination a,
    .geo-pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }
}