/* ========================================
   モデルハウス 詳細ページ - 【最終確定版】
======================================== */

.mh-final-design {
  font-family: "M PLUS 1", sans-serif;
  color: #333;
}
.mh-header-final {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
}
.mh-title-final {
  font-family: "Shippori Mincho", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.mh-company-final a {
  color: #555;
  text-decoration: none;
  font-size: 1.85rem;
}
.mh-featured-image {
  margin-top: 40px;
}
.mh-featured-image img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 5px;
}

.mh-gallery-section {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 40px;
}
.gallery-grid {
  display: grid;
  gap: 20px;
}
.gallery-grid.count-4,
.gallery-grid.count-5,
.gallery-grid.count-6 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid.count-3 {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid.count-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid.count-1 {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 4 / 3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.05);
}

.mh-wide-content-container {
  background-color: #f7f6f2;
  padding: 100px 40px;
}
.mh-wide-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.mh-section-title-wide {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 20px;
}
.mh-section-title-wide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #c9b071;
}
.mh-section-body-wide {
  font-size: 1.1rem;
  line-height: 2.1;
}
.mh-detail-list-wide dt {
  font-size: 1.85rem; /* ★項目名を大きく */
  font-weight: bold;
  margin-bottom: 1rem; /* ★項目と内容の間の余白を広げる */
}
.mh-detail-list-wide dd {
  margin-left: 0;
  margin-bottom: 2.5rem; /* ★各セクション間の余白を広げる */
  font-size: 1.1rem; /* ★内容の文字も少し大きく */
  line-height: 1.9;
}
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.scene-tag {
  font-size: 1.5rem; /* ★タグの文字も大きく */
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 18px; /* ★タグの余白も少し広げる */
  border-radius: 20px;
}

.mh-sidebar-container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
}
.mh-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 5px;
  text-align: center;
}
.sidebar-widget h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 予約カレンダーのスタイル */
.reservation-calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.reservation-calendar-table caption {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.reservation-calendar-table th,
.reservation-calendar-table td {
  text-align: center;
  padding: 10px 5px;
}
.reservation-calendar-table th {
  font-size: 0.9rem;
  color: #777;
}
.reservation-calendar-table td {
  border: 1px solid #eee;
}
.reservable-day {
  background: #e3f2fd;
  cursor: pointer;
  transition: background-color 0.2s;
}
.reservable-day:hover {
  background: #bbdefb;
}
.disabled-day {
  color: #ccc;
}

@media (max-width: 900px) {
  .mh-wide-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .mh-sidebar-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   モデルハウス ヘッダータイトル - モダンゴシック
======================================== */
.mh-header-content-final {
  position: relative;
  z-index: 2; /* 背景の英字より手前に表示 */
}

.mh-title-final {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 4rem; /* ★サイズを大きくしてインパクトを出す */
  font-weight: 700; /* 太字 */
  line-height: 1.4;
  color: #222;
  text-align: center;
  margin-bottom: 1.5rem;

  /* 文字に少し影をつけて立体感を出す */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* ★背景に大きな英字タイトルを配置するテクニック */
.mh-header-content-final::before {
  content: "MODEL HOUSE"; /* 表示するテキスト */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Montserrat", sans-serif;
  font-weight: 800; /* Extra Bold */
  font-size: 8rem; /* 非常に大きく */
  color: rgba(0, 0, 0, 0.04); /* 薄いグレー */
  z-index: -1; /* タイトルの背後に配置 */
  white-space: nowrap; /* 折り返さない */
  user-select: none; /* テキストを選択不可に */
}

@media (max-width: 768px) {
  .mh-title-final {
    font-size: 2.8rem;
  }
  .mh-header-content-final::before {
    font-size: 5rem;
  }
}
