:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f3f6f4;
  --ink: #20312c;
  --muted: #5d6c66;
  --line: #dce3df;
  --green: #28655c;
  --green-dark: #1f5049;
  --blue: #335f7c;
  --focus: #b8681d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; letter-spacing: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.65; }
body.dialogOpen { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: 60px; line-height: 1.15; font-weight: 750; }
h2 { font-size: 32px; line-height: 1.35; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 700; }
.icon { width: 20px; height: 20px; display: inline-block; flex: 0 0 20px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.skipLink { position: fixed; left: 12px; top: 8px; z-index: 3000; padding: 10px 16px; background: #fff; color: var(--green-dark); border-radius: 4px; transform: translateY(-150%); }
.skipLink:focus-visible { transform: translateY(0); }
.siteHeader { position: sticky; top: 0; z-index: 1100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.topbar { max-width: 1264px; min-height: 80px; padding: 12px 32px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; }
.brand { width: fit-content; font-size: 20px; font-weight: 750; line-height: 1.25; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.navLinks { display: flex; gap: 24px; align-items: center; }
.navLinks a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.navLinks a:hover, .navLinks a[aria-current] { color: var(--green); border-color: var(--green); }
.languageSwitch { display: flex; padding: 3px; background: var(--surface); border-radius: 6px; justify-self: end; flex-shrink: 0; }
.languageSwitch button { min-width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; font-size: 13px; font-weight: 650; color: var(--muted); }
.languageSwitch button[aria-pressed="true"] { background: #fff; color: var(--green-dark); box-shadow: 0 1px 4px #20312c14; }
.hero { min-height: 510px; position: relative; display: grid; align-items: center; background: #3c4640; color: #fff; isolation: isolate; }
.heroMedia, .heroMedia picture, .heroImage { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroMedia { z-index: -2; }
.heroImage { object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(18,28,24,.62),rgba(18,28,24,.18)); }
.heroBody { width: 100%; max-width: 1264px; margin: auto; padding: 56px 32px; }
.eyebrow { font-size: 13px; font-weight: 650; margin-bottom: 14px; color: #f7e6ca; }
.heroLead { max-width: 510px; font-size: 18px; line-height: 1.8; margin-top: 20px; color: #fff; overflow-wrap: anywhere; }
.heroActions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primaryButton, .secondaryButton, .quietButton { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 5px; line-height: 1.4; font-size: 14px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.primaryButton { background: var(--green); color: #fff; min-height: 48px; padding: 12px 22px; }
.primaryButton:hover { background: var(--green-dark); }
.secondaryButton { border-color: #ffffffb3; color: #fff; min-height: 48px; padding: 12px 22px; background: #ffffff0a; }
.secondaryButton:hover { background: #ffffff1f; }
.quietButton { background: transparent; border-color: var(--line); color: var(--green-dark); }
.quietButton:hover { background: var(--surface); border-color: #a9bbb1; }
.iconButton { width: 44px; height: 44px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--green-dark); }
.iconButton:hover:not(:disabled) { background: var(--surface); }
.section { max-width: 1264px; margin: auto; padding: 64px 32px; }
.sectionHeader { margin-bottom: 28px; }
.sectionHeader p { margin-top: 10px; color: var(--muted); }
.stayDirectory { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stayDirectory label { font-size: 14px; font-weight: 600; }
.stayDirectory select { min-height: 44px; max-width: 360px; min-width: 180px; padding: 8px 32px 8px 12px; border: 1px solid #b6c4bc; border-radius: 5px; background: #fff; color: var(--ink); }
.stayDirectory p { margin-left: auto; color: var(--muted); font-size: 13px; }
.propertyGrid { display: grid; gap: 28px; }
.propertyCard { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; scroll-margin-top: 100px; }
.galleryStage { aspect-ratio: 16 / 10; min-width: 0; background: #eef1ef; position: relative; align-self: stretch; }
.galleryOpen { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.galleryStage picture, .dialogStage picture { display: block; width: 100%; height: 100%; }
.galleryMain { display: block; width: 100%; height: 100%; object-fit: contain; }
.galleryExpand { width: 44px; height: 44px; position: absolute; right: 12px; top: 12px; display: grid; place-items: center; border-radius: 5px; background: #ffffffed; color: var(--ink); }
.galleryExpand .icon { width: 18px; height: 18px; }
.mediaStatus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; line-height: 1.6; color: var(--muted); pointer-events: none; }
[data-state="loaded"] > .mediaStatus { display: none; }
[data-state="loading"] .galleryExpand, [data-state="error"] .galleryExpand { visibility: hidden; }
[data-state="error"] picture { visibility: hidden; }
.propertyInfo { padding: 24px; min-width: 0; align-self: center; }
.propertyMeta { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; margin-bottom: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.propertyNumber { font-variant-numeric: tabular-nums; font-weight: 700; }
.address { font-size: 13px; margin-top: 10px; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.postal { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.propertyDescription { margin-top: 8px; font-size: 13px; color: var(--muted); }
.galleryMeta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 20px; }
.photoCounter { font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; margin-top: 8px; padding: 3px 3px 8px; min-width: 0; scrollbar-width: thin; scrollbar-color: #afc1b5 transparent; overscroll-behavior-x: contain; }
.thumbs button { width: 68px; height: 56px; flex: 0 0 68px; padding: 2px; border: 2px solid transparent; border-radius: 4px; background: #eef1ef; overflow: hidden; position: relative; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); background: #fff; }
.thumbs button:hover { border-color: #8cb0a2; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 1px; }
.thumbs button[data-state="error"]::after { content: "-"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.propertyActions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.propertyActions .quietButton { padding: 9px 12px; font-size: 13px; }
.inquiryLink { border-color: transparent; }
.mapBand { background: var(--surface); }
.mapFrame { border: 1px solid #cbd7cf; border-radius: 7px; overflow: hidden; background: #fff; }
.mapControls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 66px; }
.mapZoomControls { display: flex; gap: 6px; margin-right: auto; }
.mapInteract { font-size: 13px; }
.mapInteract[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
#propertyMap { height: 440px; width: 100%; background: #e9eeeb; position: relative; }
.mapMessage { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.mapFrame[data-state="loading"] #propertyMap::after { content: ""; position: absolute; inset: 0; background: #e9eeeb; }
.propertyMarker { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 2px 7px #20312c30; }
.clusterMarker { background: #fff; color: var(--blue); border: 3px solid var(--blue); width: 56px; height: 44px; border-radius: 22px; font-size: 13px; }
.leaflet-marker-icon:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.leaflet-popup-content { font: 14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color: var(--ink); margin: 14px 16px; max-width: 290px; overflow-wrap: anywhere; }
.leaflet-popup-content h3 { font-size: 16px; margin-bottom: 6px; }
.leaflet-popup-content p { font-size: 13px; }
.leaflet-popup-content ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.leaflet-popup-content .addressMapLink { padding-left: 0; }
.leaflet-popup-content .quietButton { margin-top: 12px; }
.leaflet-container a.leaflet-popup-close-button { width: 44px; height: 44px; font-size: 24px; display: grid; place-items: center; right: 0; top: 0; }
.leaflet-container { font-family: inherit; }
.addressPanel { margin-top: 28px; }
.addressPanel h3 { font-size: 18px; margin-bottom: 14px; }
.addressPanel ol { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; padding: 0; margin: 0; }
.addressPanel li { min-width: 0; padding: 16px 0; border-top: 1px solid #d4ddd7; }
.addressName { padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; min-height: 44px; text-align: left; line-height: 1.5; width: 100%; color: var(--ink); }
.addressName strong { font-size: 14px; overflow-wrap: anywhere; }
.addressNumber { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #e0e9e3; color: var(--blue); font-size: 12px; font-weight: 700; }
.addressPanel li > p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.addressMapLink { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--green-dark); font-size: 13px; line-height: 1.5; font-weight: 600; padding: 6px 0; overflow-wrap: anywhere; }
.addressMapLink .icon { width: 16px; height: 16px; flex-basis: 16px; }
.addressMapLink:hover { text-decoration: underline; text-underline-offset: 4px; }
.contactSection { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 48px; align-items: center; }
.contactIntro > p { color: var(--muted); margin-top: 16px; max-width: 420px; }
.phoneLink { margin-top: 24px; flex-wrap: wrap; }
.contactSelection { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-left: 3px solid var(--green); padding: 8px 0 8px 12px; margin-top: 18px; }
.contactSelection p { font-size: 14px; overflow-wrap: anywhere; }
.contactSelection .iconButton { border-color: transparent; }
.qrGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.qrCard { min-width: 0; background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 7px; }
.qrHeading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 14px; }
.qrHeading h3 { font-size: 16px; }
.demoBadge { font-size: 11px; line-height: 1.5; color: #6c5e46; background: #f3ebdd; padding: 3px 6px; border-radius: 3px; }
.qrImageFrame { display: block; width: 100%; aspect-ratio: 1; position: relative; padding: 8px; border: 0; background: #f7f9f7; }
.qrImageFrame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.channelActions { display: grid; gap: 8px; margin-top: 10px; }
.channelActions:empty { display: none; }
.channelActions .quietButton { width: 100%; font-size: 13px; }
.footer { background: #24332e; color: #f3f6f4; }
.footerInner { max-width: 1264px; margin: auto; padding: 32px; font-size: 13px; line-height: 1.8; }
.footerInner > p { margin-bottom: 6px; overflow-wrap: anywhere; }
.footerInner > p:first-child { font-weight: 650; font-size: 14px; }
.companyDetails { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.floatingContact { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1000; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 6px; background: var(--green-dark); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 3px 16px #20312c30; }
.photoDialog { width: min(1100px,calc(100vw - 48px)); height: min(850px,calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 7px; background: #fff; color: var(--ink); }
.photoDialog[open] { display: flex; flex-direction: column; }
.photoDialog::backdrop { background: #17251fe0; }
.dialogHeader { padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.dialogHeader h2 { font-size: 17px; line-height: 1.45; min-width: 0; }
.dialogStage { flex: 1; min-height: 0; position: relative; background: #eef1ef; }
#dialogPhoto { position: absolute; inset: 0; }
.dialogFooter { display: flex; align-items: center; justify-content: center; padding: 10px 18px; gap: 24px; flex-shrink: 0; }
.dialogFooter p { min-width: 80px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.emptyState { padding: 28px 0; color: var(--muted); }
.no-js .thumbs, .no-js .galleryExpand, .no-js .mapControls, .no-js #propertyMap { display: none; }
.no-js .stayDirectory select, .no-js .stayDirectory label, .no-js .languageSwitch { visibility: hidden; pointer-events: none; }
.no-js .galleryStage .mediaStatus { display: none; }
.no-js .galleryOpen { pointer-events: none; }
@media (max-width: 1000px) {
  .propertyCard { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .propertyInfo { padding: 20px; }
  .propertyActions .quietButton { font-size: 12px; padding: 8px; gap: 5px; }
  .propertyActions .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .addressPanel ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contactSection { gap: 28px; grid-template-columns: 1fr; }
  .contactIntro { max-width: 680px; }
  .contactIntro > p { max-width: none; }
  .qrGrid { max-width: 620px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 128px; }
  .topbar { grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; min-height: 110px; padding: 8px 24px; }
  .brand { font-size: 18px; }
  .navLinks { grid-column: 1 / -1; grid-row: 2; gap: 24px; justify-content: center; }
  .hero { min-height: 420px; }
  h1 { font-size: 44px; }
  .heroBody { padding: 40px 24px; }
  .section { padding: 48px 24px; }
  .propertyCard { grid-template-columns: 1fr; scroll-margin-top: 128px; }
  .galleryStage { aspect-ratio: 16 / 9; }
  .propertyInfo { padding: 20px; }
  .propertyActions .quietButton { font-size: 13px; padding: 9px 12px; }
  .propertyActions .icon { width: 20px; height: 20px; flex-basis: 20px; }
  .galleryMeta { margin-top: 16px; }
  #propertyMap { height: 360px; }
  .footerInner { padding: 28px 24px; }
}
@media (max-width: 620px) {
  h1 { font-size: 40px; }
  h2 { font-size: 27px; }
  h3 { font-size: 19px; }
  .topbar { padding-left: 18px; padding-right: 18px; }
  .heroBody { padding: 36px 18px; }
  .heroLead { font-size: 17px; max-width: 450px; }
  .heroActions { margin-top: 22px; }
  .hero::after { background: rgba(18,28,24,.46); }
  .section { padding: 40px 18px; }
  .sectionHeader { margin-bottom: 22px; }
  .sectionHeader p { font-size: 14px; }
  .stayDirectory { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; padding-bottom: 16px; margin-bottom: 20px; }
  .stayDirectory select { min-width: 0; width: 100%; max-width: none; font-size: 14px; }
  .stayDirectory p { grid-column: 1 / -1; margin-left: 0; font-size: 12px; }
  .propertyGrid { gap: 20px; }
  .propertyInfo { padding: 18px; }
  .galleryStage { aspect-ratio: 4 / 3; }
  .propertyActions { margin-top: 10px; }
  .mapControls { padding: 8px 10px; gap: 8px; }
  .mapControls .quietButton { padding: 8px 10px; font-size: 12px; }
  #propertyMap { height: 340px; }
  .addressPanel ol { grid-template-columns: 1fr; }
  .addressPanel li { padding: 12px 0; }
  .contactSection { gap: 24px; }
  .contactIntro > p { font-size: 14px; }
  .phoneLink { margin-top: 18px; }
  .qrGrid { gap: 12px; }
  .qrCard { padding: 12px; }
  .qrHeading h3 { font-size: 14px; }
  .qrImageFrame { padding: 4px; }
  .footerInner { padding: 28px 18px 84px; font-size: 12px; }
  .floatingContact { right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); }
  .photoDialog { width: calc(100vw - 20px); height: calc(100dvh - 24px); }
  .dialogHeader { padding: 10px 12px; }
  .dialogHeader h2 { font-size: 15px; }
  .dialogFooter { padding: 10px 12px max(10px,env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  h1 { font-size: 36px; }
  .navLinks { gap: 20px; }
  .navLinks a { font-size: 13px; }
  .propertyActions .quietButton { font-size: 12px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
