/* メインコンテンツ */
.page-header {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 141, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3rem;
    color: #c05f1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    position: relative;
    z-index: 2;
}

/* 検索フォーム */
.search-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid #f0f0f0;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #c05f1a;
    font-size: 0.9rem;
}

.form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #ffe8d0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    min-width: 150px;
}

.form-group select:focus {
    outline: none;
    border-color: #c05f1a;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
    height: fit-content;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(230, 126, 34, 0.4);
}

/* 物件一覧 */
.properties-section {
    margin-bottom: 3rem;
    padding: 60px 0;    /* セクション上下の余白を確保 */
    min-height: 360px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.property-image {
    height: 200px;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.property-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(237, 141, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.property-info {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    color: #c05f1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.property-price {
    font-size: 1.5rem;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-badge {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-area-badge {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.properties-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 結果表示 */
.results-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-radius: 12px;
    color: #c05f1a;
    font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .page-title {
        font-size: 2rem;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        margin-top: 1rem;
    }

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

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeInUp 0.6s ease forwards;
}

.property-card:nth-child(1) {
    animation-delay: 0.1s;
}

.property-card:nth-child(2) {
    animation-delay: 0.2s;
}

.property-card:nth-child(3) {
    animation-delay: 0.3s;
}

.property-card:nth-child(4) {
    animation-delay: 0.4s;
}

.property-card:nth-child(5) {
    animation-delay: 0.5s;
}

.property-card:nth-child(6) {
    animation-delay: 0.6s;
}

.property-card.hidden {
    display: none;
}