/* ===========================
   物件詳細ページ専用スタイル
   =========================== */

/* パンくずナビゲーション */
.breadcrumb-section {
    background: var(--secondary-color);
    padding: 1rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-light);
}

/* 物件詳細セクション */
.property-detail-section {
    padding: 3rem 0;
    background: var(--white);
}

/* 物件ヘッダー */
.property-header {
    margin-bottom: 2rem;
}

.property-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.property-location svg {
    color: var(--primary-color);
}

/* 画像ギャラリー */
.property-gallery {
    margin-bottom: 3rem;
}

.gallery-main {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* 物件詳細コンテンツ */
.property-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* 詳細セクション */
.detail-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* 物件概要 */
.property-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 8px;
}

.overview-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.overview-item h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.overview-item p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

/* 物件説明 */
.property-description p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.property-description p:last-child {
    margin-bottom: 0;
}

.property-highlights {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.property-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.property-features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.8;
}

.property-features-list li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* 設備・アメニティ */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
    text-align: center;
}

.amenity-item svg {
    color: var(--primary-color);
}

.amenity-item span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* サイドバー */
.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* 予約カード */
.booking-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.booking-price h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.booking-note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.booking-info {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.booking-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.booking-info p:last-child {
    color: var(--text-light);
}

/* 物件情報カード */
.property-info-card {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
}

.property-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--text-light);
}

.info-value {
    font-weight: 700;
    color: var(--text-color);
}

/* 他の物件 */
.other-properties {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
}

.other-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.other-property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.other-property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.other-property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.other-property-card h4 {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.text-center {
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .property-detail-title {
        font-size: 1.8rem;
    }

    .property-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-main img {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-grid img {
        height: 150px;
    }

    .property-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-sidebar {
        position: static;
    }

    .property-overview {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-properties-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .property-detail-content {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .other-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
