.cotomaru-facility-page {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: clip;
  background: var(--color-bg);
  color: var(--color-text);
}

.cotomaru-facility-container {
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
}

.cotomaru-facility-intro {
  padding: var(--cotomaru-subpage-space-top) 0 var(--cotomaru-section-gap);
}

.cotomaru-facility-intro h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0;
}

.cotomaru-facility-lead {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.9;
}

.cotomaru-facility-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 44px;
}

.cotomaru-facility-filter-heading { flex: 0 0 auto; }

.cotomaru-facility-filter-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-right: 0;
  padding: 5px 10px;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.cotomaru-facility-filter {
  min-height: 38px;
  padding: 5px 13px;
  border: 1px solid #b9b0ac;
  border-radius: 3px;
  background: transparent !important;
  color: var(--color-text) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}

.cotomaru-facility-filter:hover,
.cotomaru-facility-filter:focus-visible,
.cotomaru-facility-filter.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

.cotomaru-facility-filter:focus-visible,
.cotomaru-property-dot:focus-visible,
.cotomaru-building-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.cotomaru-facility-list {
  display: grid;
  gap: var(--cotomaru-section-gap);
  padding-bottom: var(--cotomaru-section-gap);
}

.cotomaru-facility-empty {
  padding: 40px 0 140px;
  font-size: 16px;
}

.cotomaru-facility-empty[hidden] { display: none; }

.cotomaru-property[hidden],
.cotomaru-building[hidden] {
  display: none !important;
}

.cotomaru-property-hero {
  position: relative;
  height: clamp(400px, 40vw, 610px);
  overflow: hidden;
  background: #776e69;
}

.cotomaru-property-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.cotomaru-property-slide.is-current {
  visibility: visible;
}

.cotomaru-property-slide.is-entering {
  z-index: 2;
  visibility: visible;
  animation: cotomaru-slide-in .52s cubic-bezier(.42,0,.2,1) forwards;
}

.cotomaru-property-slide.is-leaving {
  z-index: 1;
  visibility: visible;
  animation: cotomaru-slide-out .52s cubic-bezier(.42,0,.2,1) forwards;
}

@keyframes cotomaru-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes cotomaru-slide-out {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.cotomaru-property-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cotomaru-property-hero-shade {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.42), transparent 68%), linear-gradient(0deg, rgba(0,0,0,.34), transparent 48%);
}

.cotomaru-property-hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  height: 100%;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 42px;
  pointer-events: none;
}

.cotomaru-property-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.cotomaru-property-heading p {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(16px, 2vw, 23px);
  line-height: 1.5;
}

.cotomaru-property-pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
}

.cotomaru-property-dot {
  width: 13px;
  height: 13px;
  min-width: 13px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.cotomaru-property-dot.is-current {
  background: #fff !important;
}

.cotomaru-property-buildings {
  padding-top: 0;
}

.cotomaru-property-buildings > .cotomaru-facility-container {
  display: grid;
  width: min(100% - 64px, 1120px);
  gap: 2px;
  background: var(--color-bg);
}

.cotomaru-property-description {
  margin: 0;
  padding: 42px 64px;
  background: #fff6ee;
  font-size: 16px;
  line-height: 1.9;
}

.cotomaru-building {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  padding: 56px 64px;
  background: #fff6ee;
}


.cotomaru-building-image {
  aspect-ratio: 1.5;
  min-width: 0;
  overflow: hidden;
  background: #d5cfca;
}

.cotomaru-building-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cotomaru-building-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 2px 0 4px;
}

.cotomaru-building-content h3 {
  margin: 0 0 22px;
  color: var(--color-accent);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
}

.cotomaru-building-specs {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
}

.cotomaru-building-specs div { display: flex; gap: 24px; }
.cotomaru-building-specs dt { min-width: 5em; }
.cotomaru-building-specs dd { margin: 0; }
.cotomaru-building-specs sup { font-size: .65em; }

.cotomaru-building-description {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
}

.cotomaru-building-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 46px;
  padding: 0;
  list-style: none;
}

.cotomaru-building-tags li {
  padding: 5px 10px;
  border: 1px solid #b9b0ac;
  border-radius: 3px;
  color: #534e4b;
  font-size: 13px;
  line-height: 1.4;
}

.cotomaru-building-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-bottom: 5px;
  color: var(--color-accent) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  align-self: flex-end;
}

.cotomaru-building-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s ease;
}

.cotomaru-building-link:hover::after,
.cotomaru-building-link:focus-visible::after { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .js-facility-motion .cotomaru-property:not(.is-visible) {
    opacity: 0;
    transform: translateX(min(80px, 8vw));
  }
  .js-facility-motion .cotomaru-property {
    transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1);
  }
}

@media (max-width: 767px) {
  .cotomaru-facility-container { width: min(100% - 36px, 1180px); }
  .cotomaru-facility-intro { padding: var(--cotomaru-subpage-space-top-mobile) 0 var(--cotomaru-section-gap); }
  .cotomaru-facility-filters { margin-top: 28px; gap: 9px; }
  .cotomaru-facility-filter-label { font-size: 13px; }
  .cotomaru-facility-filter { font-size: 13px; }
  .cotomaru-facility-list { gap: var(--cotomaru-section-gap); padding-bottom: var(--cotomaru-section-gap); }
  .cotomaru-property-hero { height: 390px; }
  .cotomaru-property-hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 65%); }
  .cotomaru-property-hero-inner { padding-bottom: 26px; align-items: end; }
  .cotomaru-property-heading h2 { font-size: 34px; }
  .cotomaru-property-heading p { font-size: 16px; }
  .cotomaru-property-pagination { gap: 7px; }
  .cotomaru-property-dot { width: 11px; height: 11px; min-width: 11px; }
  .cotomaru-property-buildings > .cotomaru-facility-container { width: min(100% - 36px, 1120px); }
  .cotomaru-property-description { padding: 28px 22px; font-size: 14px; }
  .cotomaru-building { grid-template-columns: 1fr; gap: 22px; padding: 32px 22px; }
  .cotomaru-building-image { aspect-ratio: 1.45; }
  .cotomaru-building-content h3 { font-size: 25px; margin-bottom: 14px; }
  .cotomaru-building-specs { font-size: 15px; margin-bottom: 16px; }
  .cotomaru-building-tags { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cotomaru-property-slide.is-entering,
  .cotomaru-property-slide.is-leaving { animation: none; }
  .cotomaru-property-slide.is-leaving { visibility: hidden; }
  .cotomaru-building-link::after { transition: none; }
}

/* Facility page 2026 design */
.cotomaru-facility-page {
  --facility-orange: #e86f48;
  --facility-peach: #fff0df;
  --facility-brown: #6b3d27;
  --facility-gray: #8c8987;
  --facility-line: #cfc7c2;
  width: 100vw;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw) !important;
  overflow: clip;
  background: #fff;
  color: #3f3733;
}

.cotomaru-facility-page *,
.cotomaru-facility-page *::before,
.cotomaru-facility-page *::after { box-sizing: border-box; }

.cotomaru-facility-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 24vw);
  min-height: 880px;
  padding-left: 7vw;
  background: #efefef;
  overflow: hidden;
}

.cotomaru-facility-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cotomaru-facility-hero__background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cotomaru-facility-hero__content {
  position: relative;
  z-index: 1;
  align-self: start;
  max-width: 680px;
  padding-top: 150px;
  padding-right: 7vw;
}

.cotomaru-facility-kicker,
.cotomaru-facility-section-heading > p {
  margin: 0 0 24px;
  color: var(--facility-orange);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .08em;
}

.cotomaru-facility-hero h1 {
  margin: 0 0 64px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  font-size: clamp(27px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.cotomaru-facility-hero__content > p:last-child {
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
  font-size: 16px;
  line-height: 2.15;
}

.cotomaru-facility-hero__gallery {
  position: relative;
  z-index: 1;
  width: calc(100% + 30px);
  margin-left: -50px;
  height: 880px;
  min-height: 0;
  overflow: clip;
  contain: layout paint;
  isolation: isolate;
  clip-path: inset(0);
  background: transparent;
}

.cotomaru-facility-hero__track {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  display: grid;
  gap: 10px;
  padding-bottom: 10px;
  animation: cotomaru-facility-hero-down 90s linear infinite;
}

.cotomaru-facility-hero__track figure {
  height: 290px;
  margin: 0;
  overflow: hidden;
  background: #999;
}

.cotomaru-facility-hero__track img,
.cotomaru-facility-strip img,
.cotomaru-facility-villa-card img,
.cotomaru-facility-experience img,
.cotomaru-facility-result-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@keyframes cotomaru-facility-hero-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.cotomaru-facility-concept {
  padding: var(--cotomaru-section-gap) 0 var(--cotomaru-section-half);
  background: #fff;
}

.cotomaru-facility-concept__inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 560px);
  align-items: center;
  justify-content: center;
  gap: clamp(80px, 10vw, 170px);
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
}

.cotomaru-facility-concept__image {
  margin: 0;
  text-align: center;
}

.cotomaru-facility-concept__image img {
  width: min(100%, 180px);
  height: auto;
}

.cotomaru-facility-concept__copy h2 {
  margin: 0 0 34px;
  color: var(--facility-brown);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.cotomaru-facility-concept__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

.cotomaru-facility-strip {
  width: 100%;
  overflow: hidden;
  padding-block: var(--cotomaru-section-half);
  background: #fff;
}

.cotomaru-facility-strip__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: cotomaru-facility-strip-left 45s linear infinite;
}

.cotomaru-facility-strip figure {
  flex: 0 0 clamp(220px, 15vw, 310px);
  aspect-ratio: 1.7 / 1;
  margin: 0;
  overflow: hidden;
  background: #999;
}

@keyframes cotomaru-facility-strip-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cotomaru-facility-section-heading {
  margin: 0 auto 68px;
  text-align: center;
}

.cotomaru-facility-section-heading > p { margin-bottom: 16px; }

.cotomaru-facility-section-heading h2 {
  margin: 0;
  color: var(--facility-brown);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.cotomaru-facility-villas {
  padding: var(--cotomaru-section-half) 0;
  background: var(--facility-peach);
}

.cotomaru-facility-villas__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: calc(100% - 16px);
  margin: 0 auto;
}

.cotomaru-facility-villa-card { min-width: 0; }

.cotomaru-facility-villa-card__image {
  display: block;
  aspect-ratio: .96 / 1;
  overflow: hidden;
  background: #999;
}

.cotomaru-facility-villa-card__image img {
  transition: transform .42s ease, box-shadow .42s ease;
}

.cotomaru-facility-villa-card:hover .cotomaru-facility-villa-card__image img {
  transform: translateY(-9px) scale(1.025);
  box-shadow: 0 18px 28px rgba(107, 61, 39, .16);
}

.cotomaru-facility-villa-card__body { padding: 18px 8px 0; }

.cotomaru-facility-villa-card__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cotomaru-facility-villa-card h3,
.cotomaru-facility-result-card h3 {
  margin: 0 0 6px;
  color: var(--facility-brown);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.cotomaru-facility-villa-card__title p,
.cotomaru-facility-result-card p {
  margin: 0;
  color: var(--facility-gray);
  font-size: 10px;
  letter-spacing: .04em;
}

.cotomaru-facility-villa-card__title > a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--facility-orange);
  background: var(--facility-orange);
  color: #fff !important;
  font-size: 11px;
  text-decoration: none !important;
}

.cotomaru-facility-villa-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cotomaru-facility-villa-card li {
  padding: 3px 8px;
  border: 1px solid var(--facility-brown);
  color: var(--facility-brown);
  font-size: 10px;
  line-height: 1.3;
}

.cotomaru-facility-experience {
  padding: var(--cotomaru-section-half) 0;
  background: #fff;
}

.cotomaru-facility-experience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 82px 140px;
  width: min(100% - 56px, 1080px);
  margin: 0 auto;
}

.cotomaru-facility-experience article { min-width: 0; }
.cotomaru-facility-experience figure { aspect-ratio: 1.55 / 1; margin: 0 0 20px; overflow: hidden; background: #999; }
.cotomaru-facility-experience h3 { margin: 0 0 10px; color: var(--facility-brown); font-size: 20px; font-weight: 400; letter-spacing: 0; }
.cotomaru-facility-experience article > p { margin: 0; font-size: 13px; line-height: 1.85; }

.cotomaru-facility-select {
  padding: var(--cotomaru-section-half) 0;
  background: var(--facility-peach);
}

.cotomaru-facility-filter-panel {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  column-gap: 36px;
  row-gap: 62px;
  align-items: start;
  width: min(calc(100% - 100px), 1700px);
  margin: 0 auto;
}

.cotomaru-facility-filter-row {
  display: grid;
  grid-column: 2;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.cotomaru-facility-filter-row > span {
  padding: 7px 0 9px;
  border-bottom: 1px solid var(--facility-orange);
  color: var(--facility-brown);
  font-size: 15px;
}

.cotomaru-facility-filter-row > div { display: flex; flex-wrap: wrap; gap: 28px 18px; }

.cotomaru-facility-filter {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--facility-line);
  border-radius: 0;
  background: transparent !important;
  color: #77716d !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cotomaru-facility-filter[data-filter="all"] {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 85px;
  border-color: var(--facility-orange);
  color: var(--facility-orange) !important;
}

.cotomaru-facility-filter.is-active:not([data-filter="all"]),
.cotomaru-facility-filter:hover,
.cotomaru-facility-filter:focus-visible {
  border-color: var(--facility-orange);
  background: var(--facility-orange) !important;
  color: #fff !important;
}

.cotomaru-facility-filter-note {
  margin: 68px 20px 0;
  color: var(--facility-brown);
  font-size: 15px;
  text-align: center;
}

.cotomaru-facility-filter-note::after {
  content: "";
  display: block;
  width: 1px;
  height: 78px;
  margin: 66px auto 94px;
  background: var(--facility-orange);
}

.cotomaru-facility-results {
  display: flex;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: calc(100% - 16px);
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.cotomaru-facility-results.is-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cotomaru-facility-results.is-carousel::-webkit-scrollbar { display: none; }
.cotomaru-facility-results .cotomaru-facility-result-card { flex: 0 0 30%; min-width: 0; scroll-snap-align: start; }
.cotomaru-facility-slider-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: calc(100% - 40px); margin: 18px auto 0; }
.cotomaru-facility-slider-nav[hidden] { display: none; }
.cotomaru-facility-page .cotomaru-facility-slider-nav button { appearance: none; box-sizing: border-box; display: grid; place-items: center; position: static; flex: 0 0 44px; width: 44px; min-width: 44px; max-width: 44px; height: 44px; min-height: 44px; max-height: 44px; margin: 0; padding: 0; border: 1px solid var(--facility-brown); border-radius: 50%; background: transparent; color: var(--facility-brown); font-size: 0; line-height: 1; transform: none; cursor: pointer; }
.cotomaru-facility-slider-nav button::before,
.cotomaru-facility-slider-nav button::after { content: none; }
.cotomaru-facility-slider-icon { display: block; width: 8px; height: 8px; margin-left: -3px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.cotomaru-facility-slider-icon.is-previous { margin-left: 3px; transform: rotate(-135deg); }
.cotomaru-facility-slider-nav button:disabled { opacity: .3; cursor: default; }
.cotomaru-facility-slider-nav button:focus-visible { outline: 2px solid var(--facility-brown); outline-offset: 3px; }
.cotomaru-facility-page .cotomaru-villa-viewport { scroll-padding-inline-start: max(20px, calc((100vw - 1180px) / 2)); }
.cotomaru-facility-result-card[hidden] { display: none; }
.cotomaru-facility-result-card > a { display: block; color: inherit !important; text-decoration: none !important; }
.cotomaru-facility-result-card { position: relative; z-index: 0; }
.cotomaru-facility-result-card figure { aspect-ratio: .75 / 1; margin: 0 0 24px; overflow: visible; background: #999; }
.cotomaru-facility-result-card img { transition: transform .42s ease, box-shadow .42s ease; }
.cotomaru-facility-result-card:hover { z-index: 2; }
.cotomaru-facility-result-card:hover img { transform: translateY(-10px) scale(1.03); box-shadow: 0 18px 28px rgba(107, 61, 39, .18); }
.cotomaru-facility-result-card h3,
.cotomaru-facility-result-card p { margin-right: 9px; margin-left: 9px; }

.cotomaru-facility-no-results { margin: 44px 20px; text-align: center; }
.cotomaru-facility-no-results[hidden] { display: none; }

.cotomaru-facility-result-dots {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  min-height: 8px;
  margin: 32px 7vw 0;
}

.cotomaru-facility-result-dots[hidden] { display: none; }

.cotomaru-facility-result-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--facility-orange); opacity: .35; }
.cotomaru-facility-result-dots span.is-current { opacity: 1; }

.cotomaru-facility-selection-link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: 92px auto 0;
  padding: 22px 48px;
  border: 1px solid var(--facility-orange);
  color: var(--facility-orange) !important;
  text-align: center;
  text-decoration: none !important;
  overflow: hidden;
  box-shadow: none;
}

.cotomaru-facility-selection-link::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--facility-orange);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .42s cubic-bezier(.2, .75, .25, 1);
}

.cotomaru-facility-selection-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 8px;
  border: 1px solid var(--facility-orange);
  pointer-events: none;
  transition: border-color .3s ease;
}

.cotomaru-facility-selection-link strong,
.cotomaru-facility-selection-link span { position: relative; z-index: 1; transition: color .3s ease; }
.cotomaru-facility-selection-link strong { font-size: 16px; font-weight: 500; }
.cotomaru-facility-selection-link span { margin-top: 4px; color: var(--facility-brown); font-size: 11px; }
.cotomaru-facility-selection-link:hover::before,
.cotomaru-facility-selection-link:focus-visible::before { transform: scaleX(1); }
.cotomaru-facility-selection-link:hover strong,
.cotomaru-facility-selection-link:hover span,
.cotomaru-facility-selection-link:focus-visible strong,
.cotomaru-facility-selection-link:focus-visible span { color: #fff; }
.cotomaru-facility-selection-link:hover::after,
.cotomaru-facility-selection-link:focus-visible::after { border-color: #fff; }

/* Q&A: 施設個別ページ(villa-lp.css .cvlp-faq)と同じ表示 */
.cotomaru-facility-faq {
  padding: var(--cotomaru-section-half) 0;
  background: #fff;
  color: #3d2e2b;
}

.cotomaru-facility-faq__panel { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.cotomaru-facility-faq header { margin-bottom: 48px; text-align: center; }
.cotomaru-facility-faq header p { margin: 0 0 10px; color: var(--facility-orange); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.cotomaru-facility-faq h2 { margin: 0; color: inherit; font-size: clamp(28px, 3.5vw, 44px); font-weight: 500; letter-spacing: 0; }
.cotomaru-facility-faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid #e8d8ce; }
.cotomaru-facility-faq details { border-bottom: 1px solid #e8d8ce; }
.cotomaru-facility-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; font-weight: 700; cursor: pointer; list-style: none; }
.cotomaru-facility-faq summary::-webkit-details-marker { display: none; }
.cotomaru-facility-faq summary span { color: var(--facility-orange); font-size: 22px; font-weight: 400; }
.cotomaru-facility-faq details p { margin: 0; padding: 0 40px 24px 0; color: #756762; line-height: 1.9; }
.cotomaru-facility-faq__link { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: max-content; min-height: 58px; margin: 34px auto 0; overflow: hidden; padding: 15px 30px; border: 1px solid var(--facility-orange); background: transparent; color: var(--facility-orange) !important; font-weight: 700; text-decoration: none !important; transition: color .3s ease; }
.cotomaru-facility-faq__link::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--facility-orange); transform: scaleX(0); transform-origin: right center; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.cotomaru-facility-faq__link::after { content: ""; position: absolute; z-index: 2; inset: 10px; border: 1px solid currentColor; opacity: .72; pointer-events: none; }
.cotomaru-facility-faq__link span { position: relative; z-index: 1; }
.cotomaru-facility-faq__link:hover, .cotomaru-facility-faq__link:focus-visible { color: #fff !important; }
.cotomaru-facility-faq__link:hover::before, .cotomaru-facility-faq__link:focus-visible::before { transform: scaleX(1); }

@media (max-width: 900px) { .cotomaru-facility-faq__panel { width: min(100% - 36px, 700px); } }
@media (max-width: 620px) { .cotomaru-facility-faq__panel { width: calc(100% - 28px); } }

.cotomaru-tripla-anchor { height: 1px; background: var(--facility-orange); }
.cotomaru-tripla-dock {
  position: fixed;
  z-index: 80;
  right: 50%;
  bottom: var(--tripla-bottom, 18px);
  width: min(calc(100% - 48px), 1240px);
  min-height: 84px;
  padding: 18px 24px;
  border: 1px solid #eadbd5;
  background: #fff;
  box-shadow: 0 10px 28px rgba(64, 50, 43, .16);
  transform: translateX(50%);
  transition: bottom .38s ease-out;
}

.cotomaru-tripla-dock__label { display: block; margin-bottom: 8px; color: var(--facility-orange); font-size: 11px; letter-spacing: .08em; }
.cotomaru-tripla-search { min-height: 34px; }
.cotomaru-tripla-search__fallback { color: var(--facility-brown); font-size: 13px; }

.facility-reveal {
  opacity: 0;
  transform: translateY(82px);
  transition: opacity 2.4s ease, transform 2.4s cubic-bezier(.16, .68, .22, 1);
}

.facility-reveal.is-in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .cotomaru-facility-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, 26vw); padding-left: 40px; }
  .cotomaru-facility-hero__content { padding-right: 40px; }
  .cotomaru-facility-villas__grid,
  .cotomaru-facility-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 8px; }
  .cotomaru-facility-experience__grid { gap: 64px 48px; }
}

@media (max-width: 767px) {
  .cotomaru-facility-hero { grid-template-columns: 1fr; min-height: auto; padding: 0; }
  .cotomaru-facility-hero__content { padding: 100px 24px 76px; }
  .cotomaru-facility-hero h1 { margin-bottom: 34px; font-size: 25px; }
  .cotomaru-facility-hero__content > p:last-child { font-size: 14px; }
  .cotomaru-facility-hero__gallery { width: calc(100% - 20px); height: 520px; margin-left: 0; }
  .cotomaru-facility-hero__track figure { height: 172px; }
  .cotomaru-facility-concept { padding: var(--cotomaru-section-gap) 0 var(--cotomaru-section-half); }
  .cotomaru-facility-concept__inner { grid-template-columns: 1fr; gap: 50px; width: min(100% - 40px, 600px); }
  .cotomaru-facility-concept__image img { width: 130px; }
  .cotomaru-facility-concept__copy h2 { font-size: 23px; }
  .cotomaru-facility-concept__copy p { font-size: 14px; }
  .cotomaru-facility-strip { padding-block: var(--cotomaru-section-half); }
  .cotomaru-facility-strip figure { flex-basis: 210px; }
  .cotomaru-facility-villas,
  .cotomaru-facility-select { padding: var(--cotomaru-section-half) 0; }
  .cotomaru-facility-section-heading { width: calc(100% - 40px); margin-bottom: 44px; }
  .cotomaru-facility-villas__grid { display: flex; gap: 18px; width: 100%; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cotomaru-facility-villas__grid::-webkit-scrollbar { display: none; }
  .cotomaru-facility-villa-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .cotomaru-facility-experience { padding: var(--cotomaru-section-half) 0; }
  .cotomaru-facility-experience__grid { grid-template-columns: 1fr; gap: 52px; width: min(100% - 40px, 600px); }
  .cotomaru-facility-filter-panel { width: min(100% - 40px, 600px); }
  .cotomaru-facility-filter-panel { grid-template-columns: 1fr; row-gap: 28px; }
  .cotomaru-facility-filter[data-filter="all"],
  .cotomaru-facility-filter-row { grid-column: 1; grid-row: auto; }
  .cotomaru-facility-filter-row { grid-template-columns: 1fr; gap: 12px; }
  .cotomaru-facility-filter-row > span { width: 155px; }
  .cotomaru-facility-filter-note { margin-bottom: 48px; }
  .cotomaru-facility-results { display: flex; gap: 18px; width: 100%; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: 20px; scrollbar-width: none; }
  .cotomaru-facility-result-card,
  .cotomaru-facility-results.is-carousel .cotomaru-facility-result-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .cotomaru-facility-selection-link { margin-top: 58px; }
  .cotomaru-tripla-dock { width: calc(100% - 24px); min-height: 74px; padding: 13px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .cotomaru-facility-hero__track,
  .cotomaru-facility-strip__track { animation: none; }
  .facility-reveal { opacity: 1; transform: none; transition: none; }
}

.cotomaru-facility-concept + .cotomaru-facility-villas { padding-top: var(--cotomaru-section-half); }

/* ===== SELECT：施設パネルを3列グリッドで並べ、白黒→マウスオンでカラー ===== */
.cotomaru-facility-page .cotomaru-facility-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; width: min(100% - 40px, 1180px); margin: 0 auto; padding: 0; overflow: visible; scroll-snap-type: none; }
.cotomaru-facility-page .cotomaru-facility-results .cotomaru-facility-result-card { flex: none; min-width: 0; }
.cotomaru-facility-page .cotomaru-facility-result-card figure { overflow: hidden; }
.cotomaru-facility-page .cotomaru-facility-result-card img { filter: grayscale(1); transition: filter .45s ease, transform .45s ease; }
.cotomaru-facility-page .cotomaru-facility-result-card:hover img,
.cotomaru-facility-page .cotomaru-facility-result-card a:focus-visible img { filter: grayscale(0); transform: scale(1.04); box-shadow: none; }
.cotomaru-facility-page .cotomaru-facility-result-dots { display: none; }
@media (hover: none) { .cotomaru-facility-page .cotomaru-facility-result-card img { filter: none; } }
@media (max-width: 767px) {
  .cotomaru-facility-page .cotomaru-facility-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
}

/* 追従ボタン：全体を予約ページへのリンクに（2026-11-18） */
.cotomaru-tripla-dock--link { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: inherit; text-decoration: none; cursor: pointer; }
.cotomaru-tripla-dock--link:hover, .cotomaru-tripla-dock--link:focus-visible { box-shadow: 0 12px 32px rgba(64, 50, 43, .24); }
.cotomaru-tripla-dock--link:focus-visible { outline: 2px solid var(--facility-orange); outline-offset: 2px; }
.cotomaru-tripla-dock__text { display: block; min-width: 0; }
.cotomaru-tripla-dock__lead { display: block; color: var(--facility-brown); font-size: 13px; }
.cotomaru-tripla-dock__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 4px; background: var(--facility-orange); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: background .2s ease; }
.cotomaru-tripla-dock--link:hover .cotomaru-tripla-dock__btn { background: #E04513; }
@media (max-width: 767px) {
  .cotomaru-tripla-dock--link { gap: 10px; }
  .cotomaru-tripla-dock__lead { font-size: 12px; }
  .cotomaru-tripla-dock__btn { padding: 10px 14px; font-size: 13px; }
}

/* 追従ボタン：トリプラ検索バー（CSSセレクタ #tripla-search）を入れる。表示されたら説明文とボタンを隠す（2026-11-18） */
.cotomaru-tripla-dock--search { cursor: default; }
.cotomaru-tripla-dock__search { flex: 1 1 auto; min-width: 0; }
.cotomaru-tripla-dock__search:empty { display: none; }
.cotomaru-tripla-dock--search:has(#tripla-search > *) .cotomaru-tripla-dock__text,
.cotomaru-tripla-dock--search:has(#tripla-search > *) .cotomaru-tripla-dock__btn { display: none; }
.cotomaru-tripla-dock__btn { text-decoration: none; }
.cotomaru-tripla-dock__btn:hover { background: #E04513; }

/* cotomaru-dock-mobile-2026: スマホでは検索バーを折りたたみ、ボタンで開閉。ヒーローの写真は横に流す（2026-11-18） */
.cotomaru-tripla-dock__toggle, .cotomaru-tripla-dock__open { display: none; }
@media (max-width: 767px) {
  .cotomaru-tripla-dock--search { flex-wrap: wrap; align-items: center; min-height: 0; padding: 10px 14px; gap: 8px 10px; }
  .cotomaru-tripla-dock--search .cotomaru-tripla-dock__label { margin-bottom: 0; font-size: 12px; }
  .cotomaru-tripla-dock--search .cotomaru-tripla-dock__lead { display: none; }
  .cotomaru-tripla-dock--search:has(#tripla-search > *) .cotomaru-tripla-dock__text { display: block; }
  .cotomaru-tripla-dock--search:has(#tripla-search > *) .cotomaru-tripla-dock__open { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 9px 14px; border-radius: 4px; background: var(--facility-orange); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
  .cotomaru-tripla-dock__open .is-open { display: none; }
  .cotomaru-tripla-dock__toggle:checked + .cotomaru-tripla-dock__open .is-open { display: inline; }
  .cotomaru-tripla-dock__toggle:checked + .cotomaru-tripla-dock__open .is-closed { display: none; }
  .cotomaru-tripla-dock--search #tripla-search { display: none; flex-basis: 100%; }
  .cotomaru-tripla-dock__toggle:checked ~ #tripla-search { display: block; }

  .cotomaru-facility-hero__gallery { width: 100%; height: 180px; margin-left: 0; }
  .cotomaru-facility-hero__track { display: flex; width: max-content; height: 100%; gap: 10px; padding-bottom: 0; padding-right: 10px; animation: cotomaru-facility-hero-side 60s linear infinite; }
  .cotomaru-facility-hero__track figure { flex: none; width: 240px; height: 100%; }
}
@keyframes cotomaru-facility-hero-side { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .cotomaru-facility-hero__track { animation: none; overflow-x: auto; }
}

@media (max-width: 767px) {
  /* 開閉ボタンが無い場合（テンプレート未更新時）は予約ページへのボタンを出す */
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn { display: inline-flex; margin-left: auto; padding: 9px 14px; font-size: 13px; }
}

/* cotomaru-dock-orange-2026: 診断バナーを追従ボタンの上へ。スマホの追従ボタンは高さ2倍・オレンジ背景・黒文字（2026-11-18） */
body:has(.cotomaru-tripla-dock) .cfd-launcher-wrap { bottom: 126px; }
@media (max-width: 767px) {
  body:has(.cotomaru-tripla-dock) .cfd-launcher-wrap { bottom: 150px; }
  .cotomaru-tripla-dock--search { min-height: 122px; padding: 16px 18px; border-color: var(--facility-orange); background: var(--facility-orange); color: #000; }
  .cotomaru-tripla-dock--search .cotomaru-tripla-dock__label { color: #000; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
  .cotomaru-tripla-dock--search .cotomaru-tripla-dock__btn,
  .cotomaru-tripla-dock--search:has(#tripla-search > *) .cotomaru-tripla-dock__open { padding: 14px 18px; border: 2px solid #000; background: transparent; color: #000; font-size: 15px; }
  .cotomaru-tripla-dock--search .cotomaru-tripla-dock__btn:hover { background: rgba(255, 255, 255, .25); }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn::after { content: ""; position: absolute; inset: 0; }
}

/* cotomaru-dock-round-2026: スマホの追従ボタンを右下の丸ボタン（アイコン＋「ご予約」）に（2026-11-18） */
@media (max-width: 767px) {
  body:has(.cotomaru-tripla-dock) .cfd-launcher-wrap { bottom: 116px; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) { left: auto; right: 16px; width: 84px; height: 84px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--facility-orange); box-shadow: 0 8px 22px rgba(64, 50, 43, .28); transform: none; display: block; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__text { display: none; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #000; font-size: 0; letter-spacing: 0; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn::before { content: ""; width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn::after { content: "ご予約"; position: static; inset: auto; font-size: 13px; font-weight: 700; line-height: 1; color: #000; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn:hover, .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)) .cotomaru-tripla-dock__btn:active { background: rgba(255, 255, 255, .18); }
}

/* cotomaru-dock-round-fix: トリプラ読込後も丸ボタンの表示を優先させる（2026-11-18） */
@media (max-width: 767px) {
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)):has(#tripla-search) .cotomaru-tripla-dock__text { display: none; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)):has(#tripla-search) .cotomaru-tripla-dock__btn { display: flex; }
  .cotomaru-tripla-dock--search:not(:has(.cotomaru-tripla-dock__toggle)):has(#tripla-search) #tripla-search { display: none; }
}
