/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
Version: 1.0
*/

.property-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.property-info {
    flex: 1;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 8px;
}

.property-link {
    display: inline-block;
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.property-link:hover {
    text-decoration: underline;
}

/* Search Again ボタン */
.search-again-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.search-again-button:hover {
    background-color: #005a87;
}
.property-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-top: 12px;
    font-size: 1rem;
    background-color: #0073aa;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.property-link:hover {
    background-color: #005a87;
}
/* ================================
   Contact Form 7 - Custom Form Style
   ================================ */

.wpcf7 form {
  max-width: 500px;
  margin: 60px auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.wpcf7 form label {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 14px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #0073aa;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #005a87;
}

