/* =========================================================
   オンラインモデルルーム（media/online-modelroom/）
   今市中央通り onlinemr.css を南金田の配色（brown #645b48／gold #9F8553）へ移植
   ========================================================= */
.p-onlinemr {
  padding-top: 30px;
  color: #3f3a31;
}
.p-onlinemr__head {
  text-align: center;
  margin-bottom: 36px;
}
.p-onlinemr__head h2 {
  font-size: 1.375rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #645b48;
}
.p-onlinemr__head h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 18px auto 0;
  background: #9F8553;
}
.p-onlinemr__lead {
  margin-top: 18px;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ---------- 間取り情報 ---------- */
.p-onlinemr__spec {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 20px;
  background: #fff;
  border: 1px solid #cfc7b4;
}
.p-onlinemr__spec-head {
  text-align: center;
}
.p-onlinemr__spec-label {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(90deg, #8a7448, #b39a64);
}
.p-onlinemr__type {
  margin-top: 12px;
  font-family: "Gilda Display", "Noto Serif JP", serif;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #9F8553;
}
.p-onlinemr__type-alp {
  font-size: 3rem;
  margin-right: 4px;
  vertical-align: -0.1em;
}
.p-onlinemr__type-ldk {
  margin-left: 0.6em;
  font-size: 1.75rem;
  color: #3f3a31;
}
.p-onlinemr__type-sub {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.p-onlinemr__spec-body {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: center;
  gap: 4px 1.2em;
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
.p-onlinemr__spec-body dt {
  text-align: justify;
  text-align-last: justify;
}
.p-onlinemr__spec-body dd {
  margin: 0;
  text-align: right;
}
.p-onlinemr__spec-body .num {
  font-size: 120%;
}
.p-onlinemr__spec-body .total {
  padding-top: 6px;
  border-top: 1px solid #e3e0d9;
}

/* ---------- VR ---------- */
.p-onlinemr__viewer {
  margin-top: 36px;
}
.p-onlinemr__viewer iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 0;
}
.p-onlinemr__hint {
  margin-top: 10px;
  font-size: 0.75rem;
  text-align: center;
  color: #645b48;
}

/* ---------- 下部ボタン ---------- */
.p-onlinemr .btn_area {
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

@media (min-width: 811px) {
  .p-onlinemr {
    padding-top: 50px;
  }
  .p-onlinemr__head {
    margin-bottom: 50px;
  }
  .p-onlinemr__head h2 {
    font-size: 2rem;
  }
  .p-onlinemr__head h2::after {
    margin-top: 24px;
  }
  .p-onlinemr__lead {
    margin-top: 24px;
    font-size: 1rem;
  }
  .p-onlinemr__spec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 34px 40px;
  }
  .p-onlinemr__spec-body {
    margin-top: 0;
    font-size: 1rem;
  }
  .p-onlinemr__viewer {
    margin-top: 50px;
  }
  .p-onlinemr__viewer iframe {
    aspect-ratio: 16 / 9;
  }
}
