/*
Theme Name: SWELL Child - Acchikocchi
Template: swell
Version: 1.0.0
Description: 空き家検索サイト用SWELL子テーマ
*/

/* 空き家検索ページ用スタイル */
.akiya-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.akiya-search-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.akiya-search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.akiya-search-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.akiya-search-group select,
.akiya-search-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.akiya-btn-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.akiya-btn-search:hover {
    opacity: 0.9;
}

.akiya-results-count {
    color: #666;
    margin-bottom: 20px;
}

.akiya-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.akiya-property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.akiya-property-card:hover {
    transform: translateY(-5px);
}

.akiya-property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.akiya-property-content {
    padding: 15px;
}

.akiya-property-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 5px;
}

.akiya-property-title {
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.4;
}

.akiya-property-location {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.akiya-property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.akiya-tag {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
}

.akiya-tag.featured {
    background: #ffeaa7;
    color: #d35400;
}

.akiya-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.akiya-pagination button {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
}

.akiya-pagination button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.akiya-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .akiya-search-row {
        grid-template-columns: 1fr;
    }
    
    .akiya-property-grid {
        grid-template-columns: 1fr;
    }
}
