@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.single-property #top_title_area {
    display: none;
}

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

.property-info {
  width: 100%;
  margin-top: 20px;
}

.property-info table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
  table-layout: fixed;
}

.property-info th,
.property-info td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  word-break: break-word;
}

@media (min-width: 768px) {
  .property-info th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    width: 40%;
    background: #f5f5f5;
    font-weight: 600;
    white-space: nowrap;
  }

  .property-info td {
    width: 60%;
    color: #444;
  }
}

/* =========================
   メインスライダー（property-slider）
========================= */
.property-slider.swiper {
    margin: 0 auto;
	width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.property-slider.swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-slider.swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* =========================
   サムネイルスライダー（property-slider-thumb）
========================= */
.property-slider-thumb.swiper {
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.property-slider-thumb.swiper .swiper-slide {
    width: 100px !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-slider-thumb.swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* サムネイル選択時の枠線など */
.property-slider-thumb.swiper .swiper-slide-thumb-active {
    border: 4px solid #0073aa;
    border-radius: 6px;
}

/* =========================
   swiper-button
========================= */
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 70px !important;
    background-color: #FFFFFF;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 10;
}

/* =========================
   レスポンシブ対応
========================= */
@media screen and (max-width: 768px) {
    .property-title {
        font-size: 23px;
    }
    .property-slider-thumb.swiper .swiper-slide img {
        height: 50px;
    }

    .property-slider-thumb.swiper {
        margin: 5px auto 0 auto;
    }

    .property-info table {
        border: none;
    }

    .property-info tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .property-info tr {
        display: block;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .property-info th,
    .property-info td {
        display: block;
        width: 100%;
        border: none;
    }

    .property-info th {
        background: #0073aa;
        color: #fff;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .property-info td {
        padding: 10px;
    }

}

@media screen and (max-width: 480px) {
    .property-slider-thumb.swiper .swiper-slide img {
        height: 40px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 60px !important;
    }
}