.page {
  --olive: #3e652b;
  --deep: #18351f;
  --orange: #b65c2b;
  --line: #d9d6ce;
  --soft: #f5f6f1;
  background: #fff;
  color: #182319;
  font-family: var(--font-noto-sans-jp), "Yu Gothic", sans-serif;
  min-height: 100vh;
}
.page * { box-sizing: border-box; }
.breadcrumbs { align-items: center; color: #777; display: flex; font-size: 12px; gap: 9px; margin: auto; max-width: 1120px; padding: 14px 18px; }
.breadcrumbs a { color: #3567a6; }
.breadcrumbs b { color: #4d554e; font-weight: 500; }
.heading { align-items: flex-end; display: flex; gap: 24px; justify-content: space-between; margin: auto; max-width: 1120px; padding: 18px 18px 20px; }
.heading > div { width: 100%; }
.heading p { color: #a35329; font-size: 11px; font-weight: 700; margin: 0 0 9px; }
.heading h1 { font-family: var(--font-noto-serif-jp), serif; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.4; margin: 8px 0 2px; }
.heading .address { color: #555f57; font-size: 13px; font-weight: 500; }
.propertyTypeSwitch { border: 1px solid #cfd2ca; display: grid; grid-template-columns: 1.5fr 1fr; margin: 0 0 14px; max-width: 360px; }
.propertyTypeSwitch button { background: #fff; border: 0; border-right: 1px solid #cfd2ca; color: #344035; cursor: pointer; font-size: 12px; font-weight: 800; min-height: 42px; padding: 7px 12px; }
.propertyTypeSwitch button:last-child { border-right: 0; }
.propertyTypeSwitch button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.badges { display: flex; gap: 6px; }
.badgeRow { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.badges span { border: 1px solid #b8c3ae; border-radius: 3px; color: #375b2b; font-size: 11px; font-weight: 700; padding: 4px 8px; }
.badges span:nth-child(2) { background: #b65335; border-color: #b65335; color: #fff; }
.favorite { align-items: center; background: #fff; border: 1px solid #d8cdbb; border-radius: 50%; color: #8f3d2d; cursor: pointer; display: inline-flex; flex: 0 0 44px; height: 44px; justify-content: center; padding: 0; width: 44px; }
.favorite span { font-size: 25px; line-height: 1; }
.favorite[aria-pressed="true"] { background: #fff8f6; border-color: #d9a99d; }
.gallery { min-width: 0; }
.galleryRail { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #708261 #ecebe6; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.galleryRail::-webkit-scrollbar { height: 6px; }
.galleryRail::-webkit-scrollbar-track { background: #ecebe6; }
.galleryRail::-webkit-scrollbar-thumb { background: #708261; border-radius: 999px; }
.mainPhoto { aspect-ratio: 16 / 9; background: #eee; border: 0; cursor: pointer; display: block; overflow: hidden; padding: 0; position: relative; width: 100%; }
.galleryRail .mainPhoto { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.mainPhoto img, .thumbnails img { object-fit: cover; }
.mainPhoto > span { background: #17291dd9; bottom: 12px; color: #fff; font-size: 11px; font-weight: 700; padding: 8px 12px; position: absolute; right: 12px; }
.thumbnails { display: grid; gap: 7px; grid-template-columns: repeat(4, 1fr); margin-top: 7px; }
.thumbnails button { aspect-ratio: 4 / 3; background: #eee; border: 0; cursor: pointer; overflow: hidden; padding: 0; position: relative; }
.anchorNav { background: #fff; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; margin: 6px auto 0; max-width: 1120px; position: sticky; top: 0; z-index: 10; }
.anchorNav a { border-right: 1px solid var(--line); color: #273327; flex: 1; font-size: 12px; font-weight: 700; padding: 14px 8px; text-align: center; text-decoration: none; }
.anchorNav a:first-child { border-left: 1px solid var(--line); }
.contentLayout { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 300px; margin: auto; max-width: 1120px; padding: 34px 18px 90px; }
.content { min-width: 0; }
.content > section { contain-intrinsic-size: auto 520px; content-visibility: auto; }
.section { border-top: 4px solid var(--olive); margin-bottom: 38px; padding-top: 18px; scroll-margin-top: 70px; }
.section header { margin-bottom: 16px; }
.section header span { color: #a65b32; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.section h2 { font-family: var(--font-noto-serif-jp), serif; font-size: 24px; margin: 5px 0; }
.dataTable { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.dataTable > div { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; min-height: 56px; }
.dataTable dt, .dataTable dd { align-items: center; display: flex; margin: 0; padding: 12px; }
.dataTable dt { background: var(--soft); color: #5f685f; font-size: 11px; }
.dataTable dd { font-size: 13px; font-weight: 700; line-height: 1.6; }
.initialCostSection { border-top-width: 4px; }
.initialCostHero { align-items: baseline; background: #f1f5ed; border-left: 4px solid var(--olive); display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; }
.initialCostHero small { color: #596458; font-size: 11px; font-weight: 800; grid-column: 1/-1; }
.initialCostHero strong { color: #264c20; font-family: var(--font-noto-serif-jp),serif; font-size: 34px; margin-top: 5px; }
.initialCostHero span { color: #5e685e; font-size: 11px; }
.assumptionBar { border: 1px solid var(--line); border-top: 0; display: grid; gap: 7px; padding: 11px 14px; }
.assumptionBar b { color: #844328; font-size: 11px; }
.assumptionBar span { background: #f7f3eb; border-radius: 999px; color: #5f625c; font-size: 10px; padding: 5px 8px; white-space: nowrap; width: fit-content; }
.initialCostTable { border: 1px solid var(--line); border-bottom: 0; margin: 12px 0 0; }
.initialCostTable > div { align-items: center; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; min-height: 62px; padding: 10px 14px; }
.initialCostTable dt { display: grid; gap: 3px; }
.initialCostTable dt b { font-size: 12px; }
.initialCostTable dt small { color: #687068; font-size: 9px; }
.initialCostTable dd { align-items: center; display: flex; font-size: 13px; font-weight: 800; gap: 8px; margin: 0; text-align: right; }
.verifiedLabel,.assumedLabel { border: 1px solid #9db291; color: #355c2b; font-size: 10px; font-weight: 800; line-height: 1.2; padding: 4px 6px; white-space: nowrap; }
.assumedLabel { border-color: #d6ab91; color: #98512d; }
.initialCostWarning { background: #fff8f6; border: 1px solid #d98276; margin-top: 12px; padding: 15px 17px; }
.initialCostWarning b { color: #9a3228; font-size: 12px; }
.initialCostWarning p { color: #5e625e; font-size: 10px; line-height: 1.8; margin: 7px 0; }
.initialCostWarning a { color: #1769aa; font-size: 10px; font-weight: 700; }
.initialCostContact { align-items: center; background: var(--olive); border: 1px solid #294e21; border-radius: 10px; box-shadow: 0 12px 24px rgba(40,73,31,.24),0 3px 7px rgba(40,73,31,.18); color: #fff; display: flex; justify-content: space-between; margin: 16px 3px 8px; min-height: 68px; overflow: hidden; padding: 12px 17px; position: relative; text-decoration: none; transform: translateY(-2px); }
.initialCostContact::after { animation: initial-cost-shine 4.2s ease-in-out infinite; background: linear-gradient(105deg,transparent 22%,rgba(255,255,255,.08) 38%,rgba(255,255,255,.68) 50%,rgba(255,255,255,.1) 62%,transparent 78%); content: ""; inset: -35% auto -35% -65%; pointer-events: none; position: absolute; transform: skewX(-18deg); width: 42%; }
.initialCostContact > span { display: grid; gap: 3px; position: relative; z-index: 1; }
.initialCostContact b { font-size: 13px; }
.initialCostContact small { color: #e3ebdf; font-size: 9px; }
.initialCostContact > strong { font-size: 21px; position: relative; z-index: 1; }
@keyframes initial-cost-shine { 0%,64% { left:-65%; opacity:0; } 70% { opacity:1; } 86%,100% { left:125%; opacity:0; } }
@media (prefers-reduced-motion: reduce) { .initialCostContact::after { animation: none; display: none; } }
.detailsBox { border: 1px solid var(--line); margin-top: 10px; padding: 0 16px; }
.detailsBox summary { color: #315d28; cursor: pointer; font-size: 13px; font-weight: 700; padding: 15px 0; }
.detailsBox dl { border-top: 1px solid var(--line); margin: 0; }
.detailsBox dl div { display: flex; justify-content: space-between; padding: 10px 0; }
.detailsBox dt, .detailsBox dd { font-size: 12px; margin: 0; }
.detailsBox p { color: #697168; font-size: 11px; line-height: 1.8; }
.featureGrid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.featureGrid span { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 12px; font-weight: 700; padding: 15px; }
.contactAside { background: var(--deep); color: #fff; padding: 24px; position: sticky; top: 62px; }
.contactAside small { color: #e6bf7b; font-size: 10px; font-weight: 700; }
.contactAside h2 { font-family: var(--font-noto-serif-jp), serif; font-size: 25px; line-height: 1.5; margin: 10px 0; }
.contactAside p { color: #dce6dc; font-size: 12px; line-height: 1.8; }
.contactAside button { align-items: center; background: #fff; border: 0; color: #16341d; cursor: pointer; display: flex; font-size: 13px; font-weight: 700; justify-content: space-between; margin-top: 8px; min-height: 50px; padding: 0 14px; width: 100%; }
.contactAside button:nth-of-type(2) { background: #edf4e9; }
.contactAside em { color: #b9c9ba; display: block; font-size: 10px; font-style: normal; line-height: 1.6; margin-top: 14px; }
.mobileActions { display: none; }

@media (max-width: 759px) {
  .breadcrumbs { overflow: hidden; white-space: nowrap; }
  .heading { align-items: flex-start; flex-direction: column; padding-top: 10px; }
  .heading h1 { font-size: 25px; }
  .propertyTypeSwitch { max-width: none; width: 100%; }
  .propertyTypeSwitch button { font-size: 11px; min-height: 40px; }
  .heading .address { line-height: 1.7; }
  .favorite { margin: 0; }
  .mainPhoto { aspect-ratio: 4 / 3; }
  .anchorNav { overflow-x: auto; }
  .anchorNav a { flex: 0 0 96px; }
  .contentLayout { display: block; padding: 28px 12px 110px; }
  .section { margin-bottom: 30px; }
  .section h2 { font-size: 22px; }
  .initialCostHero { grid-template-columns: 1fr; padding: 15px; }
  .initialCostHero strong { font-size: 31px; }
  .initialCostHero span { margin-top: 3px; }
  .assumptionBar { align-items: flex-start; }
  .initialCostTable > div { min-height: 59px; padding: 9px 10px; }
  .initialCostTable dd { flex-direction: column; gap: 3px; align-items: flex-end; }
  .initialCostWarning { padding: 13px; }
  .dataTable { grid-template-columns: 1fr; }
  .dataTable > div { grid-template-columns: 96px 1fr; }
  .featureGrid { grid-template-columns: 1fr 1fr; }
  .contactAside { position: static; }
  .mobileActions { background: rgba(255,255,255,.97); border: 1px solid #d9d6ce; border-radius: 14px; bottom: 12px; box-shadow: 0 12px 30px rgba(25,48,27,.24),0 3px 9px rgba(25,48,27,.14); display: grid; gap: 7px; grid-template-columns: .9fr 1.1fr; left: 10px; padding: 7px; position: fixed; right: 10px; z-index: 20; }
  .mobileActions a { align-items: center; border: 1px solid var(--olive); border-radius: 8px; color: var(--olive); display: flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 50px; text-decoration: none; }
  .mobileActions a:first-child { background: #fff; }
  .mobileActions a:last-child { background: var(--olive); color: #fff; box-shadow: 0 5px 12px rgba(45,84,36,.2); }
}

/* Approved rental apartment detail direction: photo-led building / room structure */
.gallery { margin: 0 auto; max-width: 1120px; padding: 0 18px 28px; }
.gallery .mainPhoto { aspect-ratio: 16 / 8; }
.gallery .mainPhoto img { object-position: center; }
.thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thumbnails button[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--olive); }
.thumbnails button > span { background: rgba(18, 42, 24, .78); bottom: 0; color: #fff; font-size: 10px; left: 0; padding: 5px 7px; position: absolute; right: 0; text-align: left; z-index: 2; }
.buildingOverview,.roomSection { margin: 0 auto 30px; max-width: 1120px; padding: 0 18px; }
.buildingOverview > div:first-child,.roomSection > header { align-items: end; border-bottom: 2px solid var(--olive); display: flex; justify-content: space-between; padding-bottom: 12px; }
.buildingOverview small,.roomSection small { color: #a65b32; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.buildingOverview h2,.roomSection h2 { font-family: var(--font-noto-serif-jp),serif; font-size: 24px; margin: 4px 0 0; }
.buildingOverview > dl,.buildingOverview details dl { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 0; }
.buildingOverview dl > div { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; grid-template-columns: 105px 1fr; min-height: 52px; }
.buildingOverview dt,.buildingOverview dd { align-items: center; display: flex; font-size: 12px; margin: 0; padding: 11px; }
.buildingOverview dt { background: var(--soft); color: #616b62; }
.buildingOverview dd { font-weight: 700; }
.buildingOverview details { border: 1px solid var(--line); border-top: 0; padding: 0 15px; }
.buildingOverview summary { color: var(--olive); cursor: pointer; font-size: 12px; font-weight: 800; padding: 14px 0; }
.buildingOverview details dl { margin-bottom: 15px; }
.roomSection { margin-top: 42px; }
.roomSection > header p { color: #697169; font-size: 11px; margin: 0; }
.roomSection h2 b { color: var(--orange); font-size: 16px; }
.roomTabs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.roomTabs button { background: #fff; border: 1px solid var(--line); cursor: pointer; display: grid; flex: 0 0 180px; gap: 4px; min-height: 82px; padding: 10px 13px; text-align: left; }
.roomTabs button[aria-pressed="true"] { background: #f0f4ea; border-color: var(--olive); box-shadow: inset 0 -3px var(--olive); }
.roomTabs button > span { color: var(--olive); font-size: 10px; font-weight: 800; }
.roomTabs button:nth-child(2) > span { color: #b33f34; }
.roomTabs button strong { font-size: 14px; }
.roomTabs button small { color: #687068; letter-spacing: 0; }
.roomSummary { border: 1px solid var(--line); display: grid; grid-template-columns: minmax(260px,.9fr) minmax(0,1.1fr); margin-top: 10px; }
.roomPhoto { min-height: 310px; overflow: hidden; position: relative; }
.roomPhoto img { object-fit: cover; }
.roomPrice { padding: 24px; }
.roomPrice > p { color: #5e675f; font-size: 12px; margin: 0 0 8px; }
.roomPrice > strong { display: block; font-size: 32px; }
.roomPrice > span { font-size: 12px; }
.roomPrice dl { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0; }
.roomPrice dl div { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 10px 4px; }
.roomPrice dt { color: #697169; font-size: 11px; }
.roomPrice dd { font-size: 12px; font-weight: 800; margin: 0; }
.roomActions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.roomActions a { align-items: center; background: var(--olive); color: #fff; display: flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 48px; text-decoration: none; }
.roomActions a:last-child { background: #fff; border: 1px solid var(--olive); color: var(--olive); }
.section header > p { color: #626a63; font-size: 12px; line-height: 1.8; margin: 8px 0 0; }
.livingCards { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.livingCards article { background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; padding: 16px; }
.livingCards b { color: #667454; font-size: 11px; }
.livingCards strong { font-family: var(--font-noto-serif-jp),serif; font-size: 17px; }
.livingCards p { color: #656d66; font-size: 11px; line-height: 1.7; margin: 0; }
.mapPlaceholder { align-items: center; background: #e8ebe4; border: 1px solid #cdd4c8; display: flex; flex-direction: column; justify-content: center; margin-top: 10px; min-height: 180px; text-align: center; }
.mapPlaceholder span { color: #72805f; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.mapPlaceholder strong { font-family: var(--font-noto-serif-jp),serif; font-size: 18px; margin: 8px 0; }
.mapPlaceholder small { color: #717971; font-size: 10px; }
.hazardGrid { display: grid; gap: 8px; grid-template-columns: repeat(3,1fr); }
.hazardGrid article { background: #fff; border: 1px solid #e1c4bf; display: grid; gap: 6px; padding: 14px; }
.hazardGrid b { font-size: 12px; }
.hazardGrid span { color: #ad4035; font-size: 13px; font-weight: 800; }
.hazardGrid small { color: #6f746f; font-size: 10px; }
.hazardButton { align-items: center; background: #b54235; border: 0; color: #fff; display: flex; font-size: 13px; font-weight: 800; justify-content: space-between; margin-top: 10px; min-height: 50px; padding: 0 16px; width: 100%; }
.consultationCard { background: var(--deep); color: #fff; display: grid; grid-template-columns: 230px 1fr; margin: 0 0 18px; min-height: 220px; }
.consultationImage { min-height: 220px; position: relative; }
.consultationImage img { object-fit: cover; }
.consultationCard > div:last-child { align-self: center; padding: 25px; }
.consultationCard small { color: #e6bf7b; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.consultationCard h2 { font-family: var(--font-noto-serif-jp),serif; font-size: 26px; margin: 7px 0; }
.consultationCard p { color: #dae5da; font-size: 12px; line-height: 1.8; }
.consultationCard a { color: #fff; display: inline-flex; font-size: 13px; font-weight: 800; gap: 20px; margin-top: 5px; text-decoration: none; }
.concernSection { border: 1px solid var(--line); margin-bottom: 38px; padding: 18px; }
.concernSection h2 { font-family: var(--font-noto-serif-jp),serif; font-size: 19px; margin: 0 0 12px; }
.concernSection > div { border-top: 1px solid var(--line); }
.concernSection a { align-items: center; border-bottom: 1px solid var(--line); color: #1769aa; display: flex; font-size: 12px; font-weight: 700; justify-content: space-between; padding: 12px 3px; text-decoration: none; }
.concernMore summary { color: #1769aa; cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; padding: 13px 3px 2px; width: fit-content; }
.concernMore summary::-webkit-details-marker { display: none; }
.concernMore summary::after { content: " ＋"; }
.concernMore[open] summary::after { content: " −"; }
.concernMore > div { margin-top: 9px; }

@media (max-width: 759px) {
  .gallery { padding: 0 0 20px; }
  .gallery .mainPhoto { aspect-ratio: 4 / 3; }
  .thumbnails { gap: 4px; grid-template-columns: repeat(4, 88px); overflow-x: auto; padding: 0 8px 4px; }
  .buildingOverview,.roomSection { padding: 0 10px; }
  .buildingOverview > dl,.buildingOverview details dl { grid-template-columns: 1fr; }
  .buildingOverview dl > div { grid-template-columns: 92px 1fr; }
  .roomSection > header { align-items: start; flex-direction: column; gap: 6px; }
  .roomSummary { grid-template-columns: 1fr; }
  .roomPhoto { min-height: 240px; }
  .roomPrice { padding: 18px 15px; }
  .roomActions { grid-template-columns: 1fr; }
  .livingCards,.hazardGrid { grid-template-columns: 1fr 1fr; }
  .consultationCard { grid-template-columns: 38% 62%; min-height: 210px; }
  .consultationImage { min-height: 210px; }
  .consultationCard > div:last-child { padding: 17px 13px; }
  .consultationCard h2 { font-size: 20px; white-space: nowrap; }
  .consultationCard p { font-size: 10px; }
  .concernSection { padding: 15px 12px; }
}

/* Canary-like information rhythm, using Kurasu Design colors and approved icon assets. */
.gallery { max-width: 1084px; padding-inline: 0; }
.gallery .mainPhoto { aspect-ratio: 16 / 7.4; background: #f3f3f1; }
.gallery .mainPhoto img { object-fit: contain; }
.thumbnails { margin-inline: auto; max-width: 720px; }
.firstRoomDecision { border: 1px solid #d7d7d2; margin: 0 auto 30px; max-width: 1084px; }
.firstRoomHeading { align-items: center; border-bottom: 1px solid #deded9; display: flex; justify-content: space-between; padding: 11px 16px; }
.firstRoomHeading > span { align-items: center; display: flex; gap: 12px; }
.firstRoomHeading b { border: 1px solid #9cb18e; color: var(--olive); font-size: 11px; padding: 5px 9px; }
.firstRoomHeading small { color: #687068; font-size: 10px; }
.firstRoomHeading a { color: #1769aa; font-size: 11px; font-weight: 800; }
.firstRoomGrid { align-items: stretch; display: grid; grid-template-columns: .75fr 1.3fr .85fr; }
.firstRoomGrid > div:first-child { border-right: 1px solid #deded9; display: flex; flex-direction: column; justify-content: center; padding: 17px 20px; }
.firstRoomGrid > div:first-child small { color: #626b62; font-size: 11px; }
.firstRoomGrid > div:first-child strong { font-size: 29px; margin-top: 3px; }
.firstRoomGrid > div:first-child span { font-size: 11px; }
.firstRoomGrid dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 10px 18px; }
.firstRoomGrid dl div { border-bottom: 1px solid #e3e3de; display: flex; flex-direction: column; justify-content: center; padding: 7px; }
.firstRoomGrid dl div:last-child { grid-column: 1/-1; }
.firstRoomGrid dt { color: #6a716a; font-size: 9px; }
.firstRoomGrid dd { font-size: 12px; font-weight: 800; margin: 3px 0 0; }
.firstRoomActions { border-left: 1px solid #deded9; display: grid; gap: 7px; padding: 14px; }
.firstRoomActions a { align-items: center; background: var(--olive); color: #fff; display: flex; font-size: 12px; font-weight: 800; justify-content: center; min-height: 43px; text-decoration: none; }
.firstRoomActions a:last-child { background: #fff; border: 1px solid var(--olive); color: var(--olive); }
.firstRoomDecision > p { align-items: center; background: #f6f6f3; border-top: 1px solid #deded9; color: #687068; display: flex; font-size: 9px; gap: 18px; margin: 0; padding: 8px 16px; }
.firstRoomDecision > p b { color: #355c2b; }
.roomFreshness { border-top: 1px solid var(--line); display: grid; gap: 4px; margin-top: 14px; padding-top: 11px; }
.roomFreshness b { color: #355c2b; font-size: 10px; }
.roomFreshness span { color: #6b726b; font-size: 9px; }
.buildingOverview,.roomSection { max-width: 1084px; padding-inline: 0; }
.buildingOverview > div:first-child,.roomSection > header { border-bottom: 1px solid #cacbc7; }
.buildingOverview > div:first-child { display: block; }
.buildingOverview h2,.roomSection h2 { font-size: 22px; }
.roomSection { margin-top: 36px; }
.roomTabs button { flex-basis: 210px; }

.anchorNav {
  border: 1px solid #deded9;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  margin-top: 22px;
  max-width: 1084px;
  padding: 0;
}
.anchorNav a {
  align-items: center;
  background: #fff;
  border: 0;
  border-right: 1px solid #deded9;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 58px;
  padding: 7px 12px 9px;
  position: relative;
}
.anchorNav a:first-child { border-left: 0; }
.anchorNav a:last-child { border-right: 0; }
.anchorNav a img { flex: 0 0 28px; height: 28px; object-fit: contain; width: 28px; }
.anchorNav a::after { background: transparent; bottom: 0; content: ""; height: 3px; left: 14px; position: absolute; right: 14px; }
.anchorNav .activeAnchor { background: #f1f5ed; color: var(--olive); }
.anchorNav .activeAnchor::after { background: var(--olive); }
.anchorLongLabel { display: inline; white-space: nowrap; }
.anchorShortLabel { display: none; }

.contentLayout { padding-top: 30px; }
.section { border-top: 1px solid #c9cbc6; padding-top: 22px; }
.section header { border-bottom: 2px solid var(--olive); padding-bottom: 11px; }

@media (max-width: 759px) {
  .gallery { padding-bottom: 18px; }
  .gallery .mainPhoto { aspect-ratio: 4 / 3; }
  .gallery .mainPhoto img { object-fit: cover; }
  .gallery .floorPlanPhoto img { object-fit: contain; }
  .firstRoomDecision { margin: 0 8px 24px; }
  .firstRoomHeading { align-items: flex-start; padding: 10px 12px; }
  .firstRoomHeading > span { align-items: flex-start; flex-direction: column; gap: 4px; }
  .firstRoomGrid { grid-template-columns: 1fr; }
  .firstRoomGrid > div:first-child { border-bottom: 1px solid #deded9; border-right: 0; padding: 15px; }
  .firstRoomGrid > div:first-child strong { font-size: 28px; }
  .firstRoomGrid dl { padding: 8px; }
  .firstRoomActions { border-left: 0; border-top: 1px solid #deded9; grid-template-columns: 1fr 1fr; padding: 10px; }
  .firstRoomDecision > p { align-items: flex-start; flex-direction: column; gap: 3px; padding: 8px 12px; }
  .buildingOverview,.roomSection { padding-inline: 8px; }
  .anchorNav {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin-top: 14px;
    overflow-x: auto;
    padding: 0 0 5px;
    scrollbar-color: #718361 #ecebe6;
    scrollbar-width: thin;
    top: 58px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .anchorNav a { flex: 0 0 80px; flex-direction: column; gap: 2px; min-height: 62px; padding: 5px 5px 8px; }
  .anchorNav a img { flex-basis: 24px; height: 24px; width: 24px; }
  .anchorLongLabel { display: none; }
  .anchorShortLabel { display: inline; font-size: 10px; white-space: nowrap; }
  .anchorNav::-webkit-scrollbar { height: 5px; }
  .anchorNav::-webkit-scrollbar-track { background: #ecebe6; }
  .anchorNav::-webkit-scrollbar-thumb { background: #718361; border-radius: 999px; }
  .section,.contactAside { scroll-margin-top: 150px; }
}

/* Final responsive rhythm: keep every primary block on the same visual axis. */
@media (min-width: 960px) {
  .page {
    --rent-page-gutter: clamp(28px, 3.2vw, 44px);
    --rent-page-max: 1160px;
  }
  .breadcrumbs,
  .heading,
  .gallery,
  .firstRoomDecision,
  .buildingOverview,
  .roomSection,
  .anchorNav,
  .contentLayout {
    max-width: var(--rent-page-max);
    width: calc(100% - (var(--rent-page-gutter) * 2));
  }
  .breadcrumbs,
  .heading,
  .gallery,
  .buildingOverview,
  .roomSection,
  .contentLayout {
    padding-left: 0;
    padding-right: 0;
  }
  .heading { padding-bottom: 24px; padding-top: 22px; }
  .gallery { padding-bottom: 32px; }
  .firstRoomDecision,
  .buildingOverview { margin-bottom: 36px; }
  .contentLayout {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) 320px;
    padding-bottom: 104px;
    padding-top: 36px;
  }
  .contactAside { top: 76px; }
}

@media (min-width: 760px) and (max-width: 959px) {
  .contentLayout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    padding-inline: 24px;
  }
  .contactAside { position: static; }
}
.contactAside > a{align-items:center;background:#fff;color:#16341d;display:flex;font-size:13px;font-weight:700;justify-content:space-between;margin-top:8px;min-height:50px;padding:0 14px;text-decoration:none;width:100%}.contactAside > a:nth-of-type(2){background:#edf4e9}

/* Shared living / disaster presentation used by the approved residential-buy detail. */
.safetySection {
  border: 1px solid #d8d7ca;
  border-radius: 5px;
  margin-bottom: 38px;
  padding: 28px;
  scroll-margin-top: 78px;
}
.safetyHeader { align-items: flex-end; border-bottom: 1px solid #dedbce; display: flex; gap: 20px; justify-content: space-between; padding-bottom: 16px; }
.safetyHeader > div > span { color: #a55a2a; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.safetyHeader h2 { font-family: var(--font-noto-serif-jp),serif; font-size: clamp(25px,3vw,34px); font-weight: 500; line-height: 1.4; margin: 5px 0 0; }
.safetyHeader > b { background: #eef2e7; border-radius: 999px; color: #416323; flex: none; font-size: 11px; padding: 8px 12px; }
.safetyLead { color: #50574f; font-size: 13px; line-height: 1.9; margin: 18px 0 22px; }
.safetyGrid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.environmentCard,.disasterCard { background: #f7f7f1; border: 1px solid #dce1d2; border-radius: 4px; padding: 18px; }
.disasterCard { background: #fffafa; border: 1.5px solid #d77b6f; }
.environmentCard > header,.disasterCard > header { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 13px; }
.environmentCard > header > span,.disasterCard > header > span { color: #293728; font-family: var(--font-noto-serif-jp),serif; font-size: 19px; font-weight: 800; }
.disasterCard > header > span { color: #a23e34; }
.environmentCard > header > b,.disasterCard > header > b { background: #fff; color: #52634a; font-size: 9px; padding: 6px 8px; }
.disasterCard > header > b { border: 1px solid #e7b3ab; color: #87352c; }
.safetyCardImage { aspect-ratio: 16/7; margin-bottom: 10px; overflow: hidden; position: relative; }
.safetyCardImage img { object-fit: cover; }
.indicatorGrid { display: grid; gap: 7px; grid-template-columns: 1fr 1fr; }
.indicatorGrid > span { background: #fff; border: 1px solid #dedfd6; display: grid; gap: 3px; padding: 11px; }
.indicatorGrid b { color: #252d23; font-size: 12px; }
.indicatorGrid small { color: #6e746b; font-size: 9px; }
.dataStateLegend { align-items: center; background: #f8f4f0; border-left: 4px solid #c05245; color: #4e504a; display: flex; gap: 18px; justify-content: space-between; margin-top: 14px; padding: 13px 15px; }
.dataStateLegend b { color: #7d3028; font-size: 11px; }
.dataStateLegend span { font-size: 10px; }
.safetyDetails { border: 1px solid var(--line); margin-top: 10px; padding: 0 14px; }
.safetyDetails summary { color: #315d28; cursor: pointer; font-size: 12px; font-weight: 800; padding: 14px 0; }
.safetyDetails .livingCards,.safetyDetails .hazardGrid { margin-bottom: 14px; }

@media (max-width: 759px) {
  .safetySection { margin: 0 8px 32px; padding: 20px 12px; scroll-margin-top: 150px; }
  .safetyHeader { align-items: flex-start; flex-direction: column; gap: 9px; }
  .safetyHeader h2 { font-size: 25px; }
  .safetyLead { font-size: 12px; margin: 14px 0 17px; }
  .safetyGrid { grid-template-columns: 1fr; }
  .environmentCard,.disasterCard { padding: 15px 12px; }
  .environmentCard > header > span,.disasterCard > header > span { font-size: 18px; }
  .safetyCardImage { aspect-ratio: 16/7.5; }
  .indicatorGrid > span { padding: 10px; }
  .dataStateLegend { align-items: flex-start; flex-direction: column; gap: 5px; }
  .safetyDetails { padding: 0 10px; }
}

/* Keep this final so the approved desktop proportions win over component refinements above. */
@media (min-width: 960px) {
  .breadcrumbs,
  .heading,
  .gallery,
  .firstRoomDecision,
  .buildingOverview,
  .roomSection,
  .anchorNav,
  .contentLayout {
    max-width: var(--rent-page-max);
    width: calc(100% - (var(--rent-page-gutter) * 2));
  }
  .breadcrumbs,
  .heading,
  .gallery,
  .buildingOverview,
  .roomSection,
  .contentLayout { padding-left: 0; padding-right: 0; }
  .contentLayout { gap: 34px; grid-template-columns: minmax(0, 1fr) 320px; }
}
