/* ========================================
   Property HERO
======================================== */

.kf-detail-hero {
    margin-top: 40px;
}

.kf-detail-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* =========================
   左カラム
========================= */

.kf-detail-left {
    width: 48%;
}

.kf-title {
    font-size: 38px;
    color: #1f4d3c;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.kf-address {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
}

.kf-price {
    font-size: 26px;
    font-weight: bold;
    margin: 24px 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.kf-layout {
    font-size: 18px;
    color: #444;
}

.kf-rent {
    font-size: 30px;
    color: #1f4d3c;
}

.kf-area {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.kf-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.tag-orange {
    background: #f39c12;
    color: #fff;
}

.tag-red {
    background: #e74c3c;
    color: #fff;
}

/* =========================
   右カラム（画像）
========================= */

.kf-detail-right {
    width: 52%;
}

.kf-main-image {
    overflow: hidden;
    border-radius: 10px;
}

.kf-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

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

.kf-thumbs {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.kf-thumb img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.kf-thumb img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* 選択中サムネ */

.kf-thumb img.active {
    outline: 3px solid #1f4d3c;
    opacity: 1;
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 1024px) {

    .kf-detail-hero__inner {
        flex-direction: column;
    }

    .kf-detail-left,
    .kf-detail-right {
        width: 100%;
    }

    .kf-main-image img {
        height: 320px;
    }
}

@media (max-width: 768px) {

    .kf-title {
        font-size: 26px;
    }

    .kf-price {
        font-size: 20px;
    }

    .kf-rent {
        font-size: 24px;
    }

    .kf-main-image img {
        height: 260px;
    }

    .kf-thumb img {
        width: 80px;
        height: 60px;
    }
}