body{
    background-color: #FDF9F5;
}














.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #FDF9F5;
    min-height: 100vh;
}

.breadcrumb {
    /* padding: 10px 20px; */
    font-size: 12px;
    color: #666;
    background: #f8f8f8;
}

.breadcrumb a {
    /* color: #666;
    text-decoration: none; */
}

.main-content {
    display: flex;
    gap: 20px;
    /* padding: 20px; */
}

.left-column {
    flex: 2;
}

.right-column {
    flex: 1;
    max-width: 300px;
}

.property-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.property-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b6b;
    /* margin-bottom: 20px; */
}

.price-detail {
    font-size: 16px;
    color: #ff6b6b;
    /* margin-left: 4px; */
}

.property-images {
    position: relative;
    margin-bottom: 30px;
}

.main-image {
    /* max-width: 800px; */
    width: 100%;
    height: 420px;
    object-fit: contain;   /* ← cover → contain に変更 */
    object-position: center;
    background-color: #e9e9e9;  /* 背景色（任意） */
    border-radius: 8px;
  }
  
.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}


.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #ff6b35;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.info-table th,
.info-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.info-table th {
    background-color: #f8f8f8;
    font-weight: normal;
    width: 120px;
}

.info-table td {
    background-color: white;
}

.contact-section {
    /* background: #4ecdc4; */
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form-btn {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-phone {
    /* display: flex; */
    text-align: center;
    margin-top: 15px;
}

.contact-phone_ttl{
    gap: 6px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.phone-number {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
}

.phone-hours {
    font-size: 12px;
    color: #666;
}

.line-contact {
    background: #00b900;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nearby-info {
    margin-top: 30px;
}

.nearby-category {
    margin-bottom: 20px;
}

.nearby-category h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

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

.nearby-list li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

.nearby-list li:before {
    content: "・";
    margin-right: 5px;
}


.thumbnail-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    max-width: 800px;   /* ← .main-image と揃える */
    width: 100%;
    margin-left: auto;
    margin-right: auto; /* 中央に揃える */
  }
  
  .thumbnail-viewport {
    overflow: hidden;
    width: 100%;
  }
  
  
  
  .thumbnail-track {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
  }
  
  .thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
  }
  
  .thumbnail.active {
    border-color: #0FA8A0;
    opacity: 1;
  }
  
  .thumbnail-nav {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 20px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .seido{
    font-size: 12px;
    color: #6e6e6e;
    margin-bottom: 16px;
  }
  
  .MaintenanceCampaign{
    margin-bottom: 24px;

  }

  .MaintenanceCampaign img{
    width: 100%;
    height: auto;

  }
  

@media (min-width:541px) {
    .contact_cover_sp{
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 540px) {
    .main-content {
        flex-direction: column;
        /* padding: 10px; */
        gap: 0;
    }

    .right-column {
        max-width: none;
        order: -1;
    }

    .property-title {
        font-size: 20px;
    }

    .property-price {
        font-size: 24px;
    }

    .main-image {
        height: 200px;
    }

    .thumbnail-container {
        /* display: none; */
    }

    .nav-btn {
        display: none;
    }

    .info-table {
        font-size: 14px;
    }

    .info-table th {
        width: 100px;
        padding: 8px;
    }

    .info-table td {
        padding: 8px;
    }

    .contact-section {
        margin: 20px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .right-column{
        display: none;
    }

    .contact_btn_sp{
        width: 100%;
    }
    
    .contact_cover_sp h3{
        font-size: 18px;
        font-weight: 200;
        color: #333;
    }

    .contact_cover_sp{
        margin-bottom: 24px;
    }

    .contact_btn_sub{
        display: flex;
        margin-top: 12px;
        margin-bottom: 24px;
        justify-content: space-between;
    }

    .contact_btn_sub img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .property-title {
        font-size: 18px;
    }

    .property-price {
        font-size: 28px;
    }

    .info-table {
        font-size: 16px;
        border-collapse: collapse;
    }

    .info-table th,
    .info-table td {
        padding: 6px;
    }


  .info-table, 
  .info-table tr, 
  .info-table th, 
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table td[colspan="3"] {
    display: block;
  }

  .info-table th,
  .info-table td {
    text-align: left;
  }




    .phone-number {
        font-size: 20px;
    }
}