/* main {
  letter-spacing: 0.1em;
  background-color: #FCF9F4;
} */

.main-top .splide__track--nav>.splide__list>.splide__slide.is-active {
  border: none;
}

.main-top .splide__slide img {
  width: 100%;
}

/* スマートフォン対応 */
@media (max-width: 767px) {

  section {
    margin-top: 60.35px;
  }

  .main-title {
    background-color: #9E9170;
    color: #FFFFFF;
    font-size: 16px;
    /* font-weight: 800; */
    padding: 10px 0;
    text-align: center;
  }

  .main-subtitle {
    padding: 14px 0 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
  }

  .main-top a {
    position: fixed;
    right: 10px;
    top: 600px;
  }

  /* .main-img {
    margin: auto;
    display: flex;
    width: 100%;
    height: 400px;
    object-fit: contain;
  } */

  .property-info {
    padding: 0 20px 32px;
  }

  .info-title {
    background-color: #D1C9B4;
    color: #000000;
    height: 23px;
    font-size: 12px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .info-div {
    margin-top: 21px;
  }

  .info-name {
    color: #C4AA67;
    font-size: 14px;
  }

  .info-text {
    color: #19191B;
    font-size: 16px;
    margin: 10px 0 0 10px;
  }

  .info-div span {
    font-size: 12px;
  }

  /* グリッドレイアウト */
  .info-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .info-imgs img {
    width: 100%;
    cursor: pointer;
    aspect-ratio: 1 /1;
    object-fit: contain;
  }

  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 背景のオーバーレイ */
  }


  /* モーダルの背景のオーバーレイ */
  .modal-overlay {
    display: none;
    /* 初期状態で非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明の黒で背景を覆う */
    z-index: 999;
    /* モーダルの背面に表示 */
  }

  .modal,
  .modal-overlay {
    display: none;
    /* 初期状態で非表示 */
  }

  /* モーダル内の画像のスタイルを追加 */
  .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    /* 画像の幅を自動調整 */
    width: 90%;
    height: 70%;
    object-fit: contain;
    /* 画像の縦横比を保持しつつ収まるように調整 */
  }


  .close {
    position: absolute;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    top: 130px;
  }

  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }


  .back {
    display: flex;
    margin: 10px 0 90px;

  }

  .backarrow {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    border: 1px solid #19191B;
  }

  .backarrow::before {
    content: "";
    display: block;
    position: absolute;
    top: 25px;
    left: 13px;
    width: 28px;
    height: 1px;
    background: #19191B;
  }

  .backarrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 22px;
    left: 13px;
    width: 5px;
    height: 5px;
    border: 1px solid;
    border-color: transparent transparent #19191B #19191B;
    transform: rotate(45deg);
  }

  .backdiv {
    margin-left: 12px;
  }

  .backdiv span {
    color: #9E9170;
    font-weight: bold;
    font-size: 12px;
    /* font-family: Didot; */
    letter-spacing: 0;
  }

  .backdiv p {
    font-size: 16px;
    margin: 0;
  }
}

.sub-img {
  width: 100%;
}

.main-img {
  width: 100%;
}

/* パソコン向け */
@media (min-width: 768px) {

  section {
    margin-top: 73px;
  }

  .main-title {
    background-color: #9E9170;
    color: #FFFFFF;
    font-size: 30px;
    /* font-weight: 800; */
    padding: 10px 0;
    text-align: center;

  }

  .main-subtitle {
    padding: 14px 0 16px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
  }

  .flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 30px auto;
    max-width: 1200px;
  }

  #top-splide-slider {
    position: sticky;
    top: 100px;
  }

  .main-top {
    display: flex;
  }

  .main-top a {
    display: flex;
    justify-content: end;
    margin-right: 50px;
  }

  .main-left {
    width: 50%;
  }

  .main-ritgh {
    width: 50%;
  }

  .property-info {
    padding: 0 30px 40px;
    max-width: 1200px;
    margin: auto;
  }

  .info-title {
    background-color: #D1C9B4;
    color: #000000;
    height: 40px;
    font-size: 18px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .info-div {
    margin-top: 21px;
  }

  .info-name {
    color: #C4AA67;
    font-size: 20px;
  }

  .info-text {
    color: #19191B;
    font-size: 20px;
    margin: 10px 0 0 10px;
  }

  .info-div span {
    font-size: 14px;
  }

  /* グリッドレイアウト */
  .info-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .info-imgs img {
    width: 100%;
    cursor: pointer;
    aspect-ratio: 1 /1;
    object-fit: contain;
  }

  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 背景のオーバーレイ */
  }


  /* モーダルの背景のオーバーレイ */
  .modal-overlay {
    display: none;
    /* 初期状態で非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明の黒で背景を覆う */
    z-index: 999;
    /* モーダルの背面に表示 */
  }

  .modal,
  .modal-overlay {
    display: none;
    /* 初期状態で非表示 */
  }

  /* モーダル内の画像のスタイルを追加 */
  .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    /* 画像の幅を自動調整 */
    width: 90%;
    height: 70%;
    object-fit: contain;
    /* 画像の縦横比を保持しつつ収まるように調整 */
  }

  .close {
    position: absolute;
    right: 90px;
    color: white;
    font-size: 80px;
    cursor: pointer;
    top: 0px;
  }

  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  .back {
    display: flex;
    margin: 10px 0 90px;

  }

  .backarrow {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    border: 1px solid #19191B;
  }

  .backarrow::before {
    content: "";
    display: block;
    position: absolute;
    top: 25px;
    left: 13px;
    width: 28px;
    height: 1px;
    background: #19191B;
  }

  .backarrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 22px;
    left: 13px;
    width: 5px;
    height: 5px;
    border: 1px solid;
    border-color: transparent transparent #19191B #19191B;
    transform: rotate(45deg);
  }

  .backdiv {
    margin-left: 12px;
  }

  .backdiv span {
    color: #9E9170;
    font-weight: bold;
    font-size: 14px;
    /* font-family: Didot; */
    letter-spacing: 0;
  }

  .backdiv p {
    font-size: 20px;
    margin: 0;
  }
}
