@charset "UTF-8";

/* ========================================
   基本設定
======================================== */
html {
  scroll-behavior: smooth;
}

.p-hachiouji.l-modelhouse {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 15px;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

/* ========================================
   メインビジュアル
======================================== */
.main-visual {
  text-align: center;
  margin-bottom: 60px;
}

.main-banner img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.main-visual h1 {
  margin: 30px 0 15px;
  font-size: 2rem;
  color: #8c7042;
  letter-spacing: 0.1em;
}

.lead-text {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* ========================================
   棟ナビ
======================================== */
.modelhouse-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.nav-item {
  flex: 1;
  max-width: 450px;
  text-decoration: none;
  transition: transform 0.3s;
}

.nav-item:hover {
  transform: translateY(-5px);
}

.nav-item img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-item span {
  display: block;
  margin-top: 10px;
  padding: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: #8c7042;
}

/* ========================================
   詳細セクション
======================================== */
.detail-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e0e0e0;
}

.title-group {
  margin-bottom: 40px;
  text-align: center;
}

.title-group p {
  margin-bottom: 5px;
  font-weight: bold;
  color: #b39343;
}

.underlined-title {
  display: inline-block;
  width: 100%;
  padding-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: 1px solid #333;
}

.price-text {
  margin: 20px 0 40px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #333;
  letter-spacing: 0.05em;
}

/* ========================================
   物件概要画像
======================================== */
.plan-summary-img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.plan-summary-img img:first-child {
  width: 40%;
  max-width: 350px;
  height: auto;
}

.plan-summary-img img:last-child {
  width: 55%;
  max-width: 500px;
  height: auto;
}

/* ========================================
   特徴リスト
======================================== */
.feature-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 50px;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  display: flex;
  align-items: center;
  padding: 15px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  background: #faf7f0;
  border-radius: 5px;
}

.feature-chips .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  color: #fff;
  background: #8c7042;
  border-radius: 50%;
}

/* ========================================
   図面画像
======================================== */
.plan-zumen-img {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-top: 40px;
}

.plan-zumen-img img {
  width: 38%;
  max-width: 400px;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* ========================================
   性能画像
======================================== */
.plan-seinou-img {
  margin-top: 50px;
  text-align: center;
}

.plan-seinou-img img {
  display: inline-block;
  width: 50%;
  max-width: 500px;
  height: auto;
}

/* ========================================
   Access
======================================== */
.access-info {
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.access-title {
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
  color: #8c7042;
  font-family: "Times New Roman", serif;
}

.map-container {
  width: 80%;
  margin: 0 auto 40px;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.access-details {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  margin: 0 auto;
}

.access-box {
  flex: 1;
}

.access-box h4 {
  margin-bottom: 15px;
  padding-left: 10px;
  font-size: 1.1rem;
  color: #8c7042;
  border-left: 4px solid #8c7042;
}

.access-box p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.access-box .note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
}

.access-box .note span {
  color: #d9534f;
}

/* ========================================
   お問い合わせフォーム
======================================== */
.form {
  padding: 56px 0;
}

.form .container {
  max-width: 1200px;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 767px) {
  .plan-summary-img {
    gap: 10px;
  }

  .plan-summary-img img:first-child {
    width: 55%;
  }

  .plan-summary-img img:last-child {
    width: 45%;
  }

  .price-text {
    margin-bottom: 30px;
    font-size: 1.4rem;
  }

  .plan-seinou-img img {
    width: 80%;
  }

  .plan-zumen-img {
    gap: 8px;
  }

  .plan-zumen-img img {
    width: 47%;
  }

  .underlined-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .plan-summary-img img {
    width: 100%;
  }

  .feature-chips {
    grid-template-columns: 1fr;
  }

  .map-container,
  .access-details {
    width: 100%;
  }

  .access-details {
    flex-direction: column;
    gap: 40px;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .form {
    padding: 40px 0;
  }
}