/* =========================================================
   ▼ Space for Rent Page Layout
========================================================= */

/* --- Hero image --- */
.rental-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 768px) {
  .rental-hero img {
    height: 260px;
  }
}

.rental-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

/* --- フル幅で軽く余白を置く --- */
.rental-section {
  margin-bottom: 80px;
}

/* --- 見出し（キネ寄りカラー） --- */
.rental-section h2.section-title {
  color: #6a4b3c; /* キネのブラウンに寄せた色 */
}

/* --- テーブル（Information と同じ） --- */
.rental-table .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #d5c6be; /* キネ寄りの淡い茶色 */
}

.rental-table .label {
  font-weight: 600;
}

.rental-table .value {
  line-height: 1.8;
}

.rental-table .label {
  font-size: 13px;
  font-weight: 600;
}

.rental-table .value {
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .rental-table {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .rental-table .label {
    font-size: 12px;
  }

  .rental-table .value {
    font-size: 13px;
  }
}



/* --- 動画比率固定 --- */
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9; /* ← 前のサイズ感に一番近い */
  background: #000;
  overflow: hidden;
  border-radius: 6px;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* --- 動画スライダー --- */
.video-slider {
  width: 100%;
}

.video-slider .swiper-slide {
  display: flex;
  justify-content: center;
}

.video-slider video {
  width: 100%;
  max-width: 100%;
  background: #000; /* ← 白画面対策 */
  border-radius: 6px;
}

/* --- 動画スライダー 矢印カスタム（強制上書き） --- */
.rental-video-swiper .swiper-button-prev,
.rental-video-swiper .swiper-button-next {
  color: #6a4b3c !important; /* キネ寄りブラウン */
  width: 36px;
  height: 36px;
}

.rental-video-swiper .swiper-button-prev::after,
.rental-video-swiper .swiper-button-next::after {
  font-size: 18px !important;
}


/* 注意事項（※揃え） */
.rental-page .wf-note {
  font-size: 10pt;
  color: #777;
  line-height: 1.6;
}

.wf-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-note-list li {
  position: relative;
  padding-left: 1.6em;   /* ※分のスペース */
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.wf-note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
  color: #666;
}

/* --- カレンダー --- */
.calendar-wrap iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 6px;
}

/* --- 予約フォーム --- */
.rental-section form {
  max-width: 700px;
  margin: 0 auto;
}

/* --- お問い合わせボタン --- */
.rental-contact {
  text-align: center;
  margin-top: 40px;
}

/* スペース写真 */
.rental-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* モバイルでも2列のまま */
@media (max-width: 768px) {
  .rental-photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}


.photo-item img {
  width: 100%;
  aspect-ratio: 3 / 4; /* 縦長 */
  object-fit: cover;
  border-radius: 6px;
}

.photo-item figcaption {
  margin-top: 8px;
  font-size: 11pt;
  color: #6a4b3c;
  text-align: center;
}

@media (max-width: 768px) {
  .rental-photos {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   スペース写真：モバイルでも横並び
=============================== */
@media (max-width: 768px) {
  .rental-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rental-photos img {
    width: 100%;
    height: auto;
  }
}

/* ===============================
   概要テーブル：モバイル最適化
=============================== */
@media (max-width: 768px) {
  .rental-table .row {
    grid-template-columns: 100px 1fr; /* ← 左を細く */
    gap: 12px;
  }

  .rental-table .label {
    font-size: 11px;
  }

  .rental-table .value {
    font-size: 12px;
    line-height: 1.7;
  }
}