@charset "UTF-8";

/* =============================================
   room-detail02.css
   棟詳細ページ専用スタイル
   スコープ: クラスプレフィックス rd02-
   location02.css に依存（l02-wrap / l02-access-info 等を継承）
   ============================================= */

/* ===== Hero ===== */
#home02 .rd02-hero {
 position: relative;
 height: 850px;
 min-height: 420px;
 display: flex;
 align-items: flex-end;
 overflow: hidden;
 color: #fff;
}

#home02 .rd02-hero__bg {
 position: absolute;
 inset: 0;
 background: var(--l02-sea);
}

#home02 .rd02-hero__bg img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}

#home02 .rd02-hero__bg-placeholder {
 width: 100%;
 height: 100%;
 background: linear-gradient(155deg, #0d2a2f 0%, #13343b 45%, #1c3248 100%);
}

#home02 .rd02-hero__veil {
 position: absolute;
 inset: 0;
 background: linear-gradient(
  180deg,
  rgba(10, 20, 28, 0.08) 0%,
  rgba(10, 20, 28, 0.65) 100%
 );
}

#home02 .rd02-hero__inner {
 position: relative;
 z-index: 2;
 padding: 0 clamp(20px, 5vw, 60px) clamp(44px, 7vh, 80px);
}

#home02 .rd02-hero__brand {
 font-family: var(--l02-en);
 letter-spacing: 0.32em;
 font-size: 11px;
 color: rgba(198, 154, 91, 0.8);
 text-transform: uppercase;
 margin-bottom: 10px;
}

#home02 .rd02-hero__title {
 font-family: var(--l02-en);
 font-weight: 500;
 font-size: clamp(2.2rem, 5vw, 4rem);
 color: #fff;
 line-height: 1.2;
 margin: 0 0 10px;
 letter-spacing: 0.1em;
}

#home02 .rd02-hero__jp {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: 0.95rem;
 color: rgba(255, 255, 255, 0.65);
}

/* ===== About ===== */
#home02 .rd02-about {
 padding: clamp(60px, 10vh, 110px) 0;
 border-bottom: 1px solid var(--l02-line);
}

#home02 .rd02-about__inner {
 display: flex;
 gap: 20px;
 flex-direction: column;
}

#home02 .rd02-about__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.3rem, 2.6vw, 2rem);
 line-height: 1.75;
 color: var(--l02-ink);
 margin: 0;
}

#home02 .rd02-about__desc {
 font-weight: 300;
 color: var(--l02-muted);
 line-height: 2.1;
 font-size: 0.93rem;
}

#home02 .rd02-about__desc p {
 margin-bottom: 1em;
}

/* ===== Floors（施設紹介） ===== */
#home02 .rd02-floors {
 padding-bottom: clamp(60px, 10vh, 100px);
 border-bottom: 1px solid var(--l02-line);
}

#home02 .rd02-floors--empty {
 padding: clamp(60px, 10vh, 110px) 0;
}

#home02 .rd02-floors__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.2rem, 2.4vw, 1.8rem);
 color: var(--l02-ink);
 margin-bottom: clamp(40px, 6vh, 70px);
 text-align: center;
}

#home02 .rd02-floor-group {
 margin-bottom: clamp(40px, 6vh, 70px);
}

#home02 .rd02-floor-group__label {
 font-family: var(--l02-en);
 letter-spacing: 0.3em;
 font-size: 25px;
 color: var(--l02-gold);
 text-transform: uppercase;
 padding: 14px 0;
 border-bottom: 1px solid var(--l02-line);
 margin-bottom: 0;
 width: min(1080px, 92%);
 margin-inline: auto;
 text-align: center;
}

/* Facility block（左右交互） */
#home02 .rd02-facility {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 min-height: 380px;
 border-bottom: 1px solid var(--l02-line);
}

#home02 .rd02-facility--reverse .rd02-facility__img {
 order: 2;
}

#home02 .rd02-facility__img {
 position: relative;
 overflow: hidden;
 min-height: 280px;
 background: var(--l02-sea);
}

#home02 .rd02-facility__img img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.6s ease;
}

#home02 .rd02-facility:hover .rd02-facility__img img {
 transform: scale(1.03);
}

#home02 .rd02-facility__img-placeholder {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 font-family: var(--l02-en);
 letter-spacing: 0.2em;
 font-size: 12px;
 color: rgba(255, 255, 255, 0.35);
 background: linear-gradient(145deg, #13343b, #1e3a55);
}

#home02 .rd02-facility__body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 padding: clamp(28px, 4vw, 64px);
}

#home02 .rd02-facility__name {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.1rem, 2vw, 1.5rem);
 color: var(--l02-ink);
 line-height: 1.7;
 margin-bottom: 20px;
}

#home02 .rd02-facility__desc {
 font-size: 0.88rem;
 color: var(--l02-muted);
 line-height: 2;
 font-weight: 300;
}

/* ===== Floor Plan ===== */
#home02 .rd02-floorplan {
 padding: clamp(60px, 10vh, 110px) 0;
 border-bottom: 1px solid var(--l02-line);
}

#home02 .rd02-floorplan__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.2rem, 2.4vw, 1.8rem);
 color: var(--l02-ink);
 margin-bottom: clamp(36px, 5vh, 60px);
 text-align: center;
}

#home02 .rd02-floorplan__grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 24px;
}

#home02 .rd02-floorplan__item img {
 width: 100%;
 height: auto;
 display: block;
 border-radius: 2px;
}

#home02 .rd02-floorplan__pdf {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 margin-top: 12px;
 font-family: var(--l02-en);
 letter-spacing: 0.18em;
 font-size: 12px;
 color: var(--l02-gold);
 border-bottom: 1px solid var(--l02-gold);
 padding-bottom: 3px;
 text-transform: uppercase;
}

#home02 .rd02-floorplan__pdf i {
 font-style: normal;
}

#home02 .rd02-floorplan__placeholder {
 text-align: center;
 padding: clamp(40px, 6vh, 70px) 0;
}

#home02 .rd02-floorplan__svg {
 width: min(500px, 90%);
 margin-inline: auto;
 display: block;
 margin-bottom: 20px;
}

/* ===== 詳細情報（Spec）===== */
#home02 .rd02-info {
 padding: clamp(60px, 10vh, 110px) 0;
 border-bottom: 1px solid var(--l02-line);
 background: #fff;
}

#home02 .rd02-info__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.2rem, 2.4vw, 1.8rem);
 color: var(--l02-ink);
 margin-bottom: clamp(36px, 5vh, 60px);
 text-align: center;
}

#home02 .rd02-info__table {
 width: 100%;
}

#home02 .rd02-info__row {
 display: grid;
 grid-template-columns: 200px 1fr;
 border-bottom: 1px solid rgba(28, 32, 36, 0.08);
 padding: 16px 0;
}

#home02 .rd02-info__row:first-child {
 border-top: 1px solid rgba(28, 32, 36, 0.08);
}

#home02 .rd02-info__table dt {
 font-family: var(--l02-en);
 letter-spacing: 0.2em;
 font-size: 14px;
 color: var(--l02-gold);
 text-transform: uppercase;
 padding-top: 2px;
}

#home02 .rd02-info__table dd {
 font-size: 0.9rem;
 color: var(--l02-ink);
 font-weight: 300;
 line-height: 1.8;
}

#home02 .rd02-info__table--placeholder {
 opacity: 0.6;
}

/* ===== Price ===== */
#home02 .rd02-price {
 background: var(--l02-sea);
 color: #fff;
 padding: clamp(60px, 10vh, 110px) 0;
}

#home02 .rd02-price .l02-sec-en {
 color: var(--l02-gold);
}

#home02 .rd02-price__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.1rem, 2.2vw, 1.6rem);
 color: #fff;
 margin-bottom: clamp(28px, 4vh, 48px);
 text-align: center;
}
#home02 .price-sec {
 display: flex;
 flex-direction: column;
 align-items: center;
}
@media screen and (max-width: 860px) {
 #home02 .price-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
 }
}
#home02 .rd02-price__table {
 width: 100%;
 max-width: 800px;
 border-collapse: collapse;
}

#home02 .rd02-price__table tr {
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#home02 .rd02-price__table tr:first-child {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#home02 .rd02-price__table th {
 font-family: var(--l02-en);
 letter-spacing: 0.16em;
 font-size: 14px;
 color: rgba(255, 255, 255, 0.55);
 text-transform: uppercase;
 text-align: left;
 padding: 16px 0;
 font-weight: 400;
 width: 330px;
}

#home02 .rd02-price__table td {
 font-family: var(--l02-en);
 font-size: clamp(1rem, 1.8vw, 1.3rem);
 font-weight: 500;
 color: #fff;
 text-align: right;
 padding: 16px 0;
}

#home02 .rd02-price__table--placeholder {
 opacity: 0.55;
}

#home02 .rd02-price__note {
 margin-top: 24px;
 font-size: 0.8rem;
 color: rgba(255, 255, 255, 0.48);
 line-height: 1.9;
 font-weight: 300;
}

#home02 .rd02-price__note p + p {
 margin-top: 4px;
}

/* ===== Access ===== */
#home02 .rd02-access {
 padding: clamp(60px, 10vh, 110px) 0;
 border-top: 1px solid var(--l02-line);
}

#home02 .rd02-access__grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 52px;
 align-items: start;
}

#home02 .rd02-access__heading {
 font-family: var(--l02-serif);
 font-weight: 300;
 font-size: clamp(1.1rem, 2.2vw, 1.5rem);
 color: var(--l02-ink);
 line-height: 1.7;
 margin-bottom: 28px;
}

/* Parking — グリッド外・全幅 */
#home02 .rd02-access__parking {
 margin-top: clamp(40px, 6vh, 70px);
 padding-top: clamp(32px, 5vh, 56px);
 border-top: 1px solid var(--l02-line);
 display: flex;
 flex-direction: column;
 align-items: center;
}

#home02 .rd02-access__parking-img {
 width: 100%;
 max-width: 900px;
 margin-top: 16px;
 border-radius: 2px;
 display: block;
}

#home02 .rd02-access__parking-pdf {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 margin-top: 10px;
 font-family: var(--l02-en);
 letter-spacing: 0.18em;
 font-size: 12px;
 color: var(--l02-gold);
 border-bottom: 1px solid var(--l02-gold);
 padding-bottom: 3px;
 text-transform: uppercase;
}

/* ===== Back nav ===== */
#home02 .rd02-back {
 padding: 28px 0;
 border-top: 1px solid var(--l02-line);
 background: var(--l02-paper);
}

#home02 .rd02-back a {
 font-family: var(--l02-en);
 letter-spacing: 0.2em;
 font-size: 12px;
 color: var(--l02-gold);
 text-transform: uppercase;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 transition: 0.3s;
}

#home02 .rd02-back a:hover {
 opacity: 0.7;
}

/* ===== Placeholder（未登録状態） ===== */
#home02 .rd02-placeholder {
 color: #aaa;
 font-size: 0.85rem;
 font-style: italic;
 line-height: 1.8;
}

#home02 .rd02-placeholder--center {
 text-align: center;
}

#home02 .rd02-placeholder--note {
 margin-top: 12px;
 font-size: 0.78rem;
 color: rgba(255, 255, 255, 0.38);
}

#home02 .rd02-empty-block {
 padding: clamp(40px, 6vh, 70px) clamp(20px, 4vw, 48px);
 border: 1px dashed rgba(28, 32, 36, 0.2);
 border-radius: 3px;
 text-align: center;
 background: rgba(28, 32, 36, 0.02);
}

/* ===== Responsive ===== */
@media screen and (max-width: 860px) {
 #home02 .rd02-facility {
  grid-template-columns: 1fr;
 }

 #home02 .rd02-facility--reverse .rd02-facility__img {
  order: 0;
 }

 #home02 .rd02-facility__img {
  min-height: 220px;
 }

 #home02 .rd02-access__grid {
  grid-template-columns: 1fr;
 }

 #home02 .rd02-info__row {
  grid-template-columns: 140px 1fr;
 }
}

@media screen and (max-width: 560px) {
 /* 施設情報表 — ラベルを上、値を下に縦積み */
 #home02 .rd02-info__row {
  grid-template-columns: 1fr;
  gap: 4px;
 }

 /* 料金表 — th と td を縦積みに */
 #home02 .rd02-price__table,
 #home02 .rd02-price__table tbody,
 #home02 .rd02-price__table tr {
  display: block;
 }

 #home02 .rd02-price__table tr {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 #home02 .rd02-price__table tr:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 #home02 .rd02-price__table th {
  display: block;
  width: 100%;
  padding: 0 0 6px;
  font-size: 11px;
  border: none;
 }

 #home02 .rd02-price__table td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  font-size: clamp(1rem, 4vw, 1.2rem);
 }
}
