/**
 * product-page-style 用の共通パーツ（敷地・工事スペックの dl 等）
 * borderless-house.css の後に読み込む。
 */

/* ========== シネマヒーロー（project/renovation/kwac-factory と同型: 全面写真 + 黒グラデ + 重ね）========== */
.product-page-style .pps-hero--cinema {
  --font-ui-hero: 'Manrope', 'Jost', 'Helvetica Neue', sans-serif;
  --type-meta-hero: clamp(10px, 0.78vw, 11px);
  position: relative;
  width: 100%;
  /* borderless-house の .pps-hero（height:80vh / max-height）を退けて kwac と同じ全幅シネマに */
  height: auto !important;
  max-height: none !important;
  min-height: 88vh !important;
  min-height: 100dvh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
}
.product-page-style .pps-hero--cinema .pps-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* background 用レイヤー（従来の div） */
.product-page-style .pps-hero--cinema .pps-hero__bg:not(img) {
  --parallax-y: 0px;
  position: absolute;
  left: -4%;
  top: -3%;
  width: 108%;
  height: 106%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  transition: transform 0.2s ease-out;
  z-index: 0;
}
/* <img> ヒーロー（極端な横長・background が見えない場合のフォールバック。パララックス対象は .pps-hero__bg のまま） */
.product-page-style .pps-hero--cinema .pps-hero__media > img,
.product-page-style .pps-hero--cinema .pps-hero__bg:is(img) {
  --parallax-y: 0px;
  display: block;
  max-width: none;
  position: absolute;
  left: -4%;
  top: -3%;
  width: 108%;
  height: 106%;
  object-fit: cover;
  object-position: 50% 42%;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  transition: transform 0.2s ease-out;
  z-index: 0;
  pointer-events: none;
  border: 0;
}
.product-page-style .pps-hero--cinema .pps-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 95% 75% at 50% 32%, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, 0.28) 50%, rgba(8, 8, 8, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18) 0%, rgba(8, 8, 8, 0.38) 42%, rgba(8, 8, 8, 0.55) 100%);
  pointer-events: none;
}
.product-page-style .pps-hero--cinema .pps-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(48px, 10vh, 100px) max(80px, min(4vw, 1.5rem)) clamp(40px, 8vh, 72px);
  max-width: min(72rem, 98vw);
  margin: 0 auto;
  box-sizing: border-box;
}
.product-page-style .pps-hero--cinema .pps-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.5vw, 28px);
}
.product-page-style .pps-hero--cinema .pps-hero__eyebrow {
  font-family: var(--font-ui-hero) !important;
  font-size: var(--type-meta-hero) !important;
  font-weight: 500 !important;
  letter-spacing: 0.52em !important;
  text-transform: uppercase;
  color: rgba(232, 214, 188, 0.95) !important;
  margin: 0 !important;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
}
.product-page-style .pps-hero--cinema .pps-hero__title {
  font-family: var(--font-display) !important;
  font-size: clamp(34px, 6.2vw, 76px) !important;
  font-weight: 200 !important;
  letter-spacing: 0.26em !important;
  color: #fffcf7 !important;
  margin: 0 !important;
  line-height: 1.06 !important;
  text-transform: uppercase;
  text-shadow: 0 6px 56px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
}
.product-page-style .pps-hero--cinema .pps-hero__title::after {
  content: "";
  display: block;
  width: min(72px, 18vw);
  height: 1px;
  margin: clamp(20px, 2.5vw, 28px) auto 0;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 106, 0.95), transparent);
  opacity: 0.9;
}
.product-page-style .pps-hero--cinema .pps-hero__sub {
  font-family: var(--font-body) !important;
  font-size: clamp(12.5px, 1.18vw, 15px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.09em !important;
  color: rgba(252, 249, 242, 0.97) !important;
  margin: 0 auto !important;
  max-width: min(52em, 95vw);
  text-transform: none;
  line-height: 1.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 6px 32px rgba(0, 0, 0, 0.35);
}
.product-page-style .pps-hero--cinema .pps-hero__scroll {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.55;
}
.product-page-style .pps-hero--cinema .pps-hero__scroll span {
  font-family: var(--font-ui-hero);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(247, 245, 242, 0.65);
}
.product-page-style .pps-hero--cinema .pps-hero__scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
@media (max-width: 768px) {
  .product-page-style .pps-hero--cinema .pps-hero__bg:not(img),
  .product-page-style .pps-hero--cinema .pps-hero__bg:is(img) {
    left: -4%;
    width: 108%;
  }
  .product-page-style .pps-hero--cinema .pps-hero__title {
    letter-spacing: 0.14em !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-page-style .pps-hero--cinema .pps-hero__bg:not(img),
  .product-page-style .pps-hero--cinema .pps-hero__bg:is(img) {
    transform: none !important;
    transition: none !important;
  }
}

.product-page-style h1:not(.pps-hero__title) {
  color: var(--black) !important;
}
.m-spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.75rem 2rem;
  max-width: 40em;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--gray-700);
  margin: 0;
  padding: 0;
}
.m-spec div {
  display: contents;
}
.m-spec dt {
  font-weight: 500;
  color: var(--black);
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: start;
}
.m-spec dd {
  margin: 0;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 0.75rem;
}
.m-spec + .m-spec__note {
  font-size: 11px;
  color: var(--gray-500);
  margin: 1rem 0 0;
  font-style: italic;
  line-height: 1.7;
  max-width: 40em;
}
@media (max-width: 600px) {
  .m-spec {
    grid-template-columns: 1fr;
  }
  .m-spec dt { padding-top: 0.75rem; }
  .m-spec dt:first-of-type { padding-top: 0; }
  .m-spec dd { border-bottom: none; padding-bottom: 0.25rem; }
}
