@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,300,0,0&display=swap");

/* ===============================
   First View
=============================== */

.cotomaru-fv-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin: 0 !important;
  background: var(--color-bg);
}

.cotomaru-fv-slider__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 3s ease-in-out,
    transform 5.5s ease-in-out;
}

.cotomaru-fv-slider__slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1.06);
}

.cotomaru-fv-slider__slide.is-prev {
  z-index: 1;
  opacity: 0;
  transform: scale(1.08);
}

.cotomaru-fv-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.cotomaru-fv-slider__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white) !important;
  padding: 24px;
}

.cotomaru-fv-slider__logo,
.cotomaru-fv-slider__title,
.cotomaru-fv-slider__sub,
.cotomaru-fv-slider__buttons,
.cotomaru-fv-slider__dots {
  opacity: 0;
  transform: translateY(70px);
}

.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__logo,
.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__title,
.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__sub,
.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__buttons,
.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__dots {
  animation: cotomaruFadeUp 3.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__title {
  animation-delay: 0.6s;
}

.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__sub {
  animation-delay: 1.1s;
}

.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__buttons {
  animation-delay: 1.6s;
}

.cotomaru-fv-slider__content.is-show .cotomaru-fv-slider__dots {
  animation-delay: 2.1s;
}

@keyframes cotomaruFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cotomaru-fv-slider__logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.cotomaru-fv-slider__title {
  margin: 0;
  color: var(--color-white) !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
}

.cotomaru-fv-slider__title span {
  display: inline !important;
  margin: 0 !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
}

.cotomaru-fv-slider__sub {
  margin-top: 6px !important;
  color: var(--color-white) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.cotomaru-fv-slider__buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.cotomaru-fv-slider__buttons .cotomaru-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  min-height: 34px;
  padding: 9px 14px;
  line-height: 1.4;
  text-align: center;
}

.cotomaru-fv-slider__dots {
  margin-top: 24px;
  display: flex !important;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.cotomaru-fv-slider__dots button {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.45) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.cotomaru-fv-slider__dots button.is-active {
  background: var(--color-white) !important;
  transform: scale(1.1);
}

.cotomaru-fv-slider__dots button::before,
.cotomaru-fv-slider__dots button::after {
  display: none !important;
  content: none !important;
}

/* FV full bleed fix */
.cotomaru-fv-slider {
  width: 100vw !important;
  max-width: 100vw !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ===============================
   Concept
=============================== */

.cotomaru-concept-section {
  padding: var(--cotomaru-section-gap) 0 0;
  background: var(--color-bg);
  overflow: hidden;
}

.cotomaru-concept-inner {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: center;
}

.cotomaru-concept-logo,
.cotomaru-concept-content {
  opacity: 0;
  transform: translateY(70px);
}

.cotomaru-concept-section.is-show .cotomaru-concept-logo,
.cotomaru-concept-section.is-show .cotomaru-concept-content {
  animation: cotomaruConceptFadeUp 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cotomaru-concept-section.is-show .cotomaru-concept-content {
  animation-delay: 0.45s;
}

@keyframes cotomaruConceptFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cotomaru-concept-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cotomaru-concept-logo img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cotomaru-concept-catch {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-header);
  opacity: 0.9;
}

.cotomaru-concept-label {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-header) !important;
}

.cotomaru-concept-content h2 {
  margin: 0 0 30px;
  font-size: 24px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.cotomaru-concept-content p {
  margin: 0 0 28px;
  font-size: 16.8px;
  line-height: 2.25;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* ===============================
   Dog
=============================== */

.cotomaru-dog-section {
  position: relative;
  margin-bottom: 0;
  padding: var(--cotomaru-section-gap) 0 0;
  background: var(--color-bg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
}

.cotomaru-dog-section.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: 1.2s ease;
}

.cotomaru-dog-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 246, 0.9);
}

.cotomaru-dog-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding-left: 8%;
  padding-top: 40px;
}

.cotomaru-dog-content {
  padding-top: 10px;

  transform: translate(30px, 80px); 
}

.cotomaru-dog-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.cotomaru-dog-thumb {
  width: 110px;
  flex-shrink: 0;
}

.cotomaru-dog-thumb img {
  width: 100%;
  display: block;
}

.cotomaru-dog-title-wrap {
  display: flex;
  flex-direction: column;
}

.cotomaru-dog-label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-header);
}

.cotomaru-dog-title-wrap h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.cotomaru-dog-content p {
  margin-bottom: 30px;
  font-size: 16.8px;
  line-height: 2.1;
}

.cotomaru-dog-slider {
  width: 220px;
  height: 560px;
  overflow: hidden;
  justify-self: end;
  opacity: 0.9;
}

.cotomaru-dog-slider .track {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cotomaru-dog-slider--left .track {
  animation: dogUp 18s linear infinite;
}

.cotomaru-dog-slider--right .track {
  animation: dogDown 20s linear infinite;
}

.cotomaru-dog-slider img {
  width: 220px;
  height: 285px;
  object-fit: cover;
}

/* ===============================
   Villa
=============================== */

.cotomaru-villa-section {
  position: relative;
  width: calc(100% + 40px);
  max-width: none !important;
  margin-right: -20px !important;
  margin-left: -20px !important;
  padding: var(--cotomaru-section-gap) 0 72px;
  background: #fff2e8;
  color: #6b3d27;
  overflow: hidden;
}

.cotomaru-villa-heading {
  width: min(1600px, calc(100% - 14vw));
  margin: 0 auto 72px;
}

.cotomaru-villa-label {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #7a4127;
}

.cotomaru-villa-heading h2 {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #6b3d27;
}

.cotomaru-villa-lead {
  max-width: 680px;
  margin: 0;
  font-size: 16.8px;
  line-height: 2.1;
  color: #6b3d27;
}

.cotomaru-villa-viewport {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}

.cotomaru-villa-viewport::-webkit-scrollbar {
  display: none;
}

.cotomaru-villa-slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
}

.cotomaru-villa-slider-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #7a4127;
  border-radius: 50%;
  background: transparent;
  color: #7a4127;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.cotomaru-villa-slider-nav button:hover,
.cotomaru-villa-slider-nav button:focus-visible {
  background: #7a4127;
  color: #fff;
}

.cotomaru-villa-slider-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

.cotomaru-villa-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  min-width: 100%;
  padding: 18px max(20px, calc((100vw - 1180px) / 2)) 22px;
}

.cotomaru-villa-card {
  flex: 0 0 clamp(290px, 28vw, 390px);
  min-width: 290px;
  display: block;
  color: #6b3d27 !important;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.cotomaru-villa-card__image {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 0.82 / 1;
  overflow: visible;
  background: #f5e2d3;
  text-decoration: none;
}

.cotomaru-villa-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.cotomaru-villa-card:hover .cotomaru-villa-card__image img {
  transform: translateY(-12px) scale(1.035);
  box-shadow: 0 20px 34px rgba(107, 61, 39, 0.2);
}

.cotomaru-villa-card__body {
  padding: 24px 14px 0;
}

.cotomaru-villa-card__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.cotomaru-villa-card__title-row > div {
  min-width: 0;
}

.cotomaru-villa-card h3 {
  margin: 0 0 8px;
  color: #6b3d27;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.cotomaru-villa-card__location {
  margin: 0;
  color: #858585;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.cotomaru-villa-card__detail {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 34px;
  padding: 7px 12px;
  color: #fff !important;
  background: #7a4127;
  border: 1px solid #7a4127;
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.cotomaru-villa-card__detail:hover {
  color: #7a4127 !important;
  background: transparent;
}

.cotomaru-villa-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cotomaru-villa-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid #7a4127;
  color: #7a4127;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0;
}

.cotomaru-villa-actions {
  width: min(1100px, calc(100% - 56px));
  margin: 72px auto 0;
  padding-bottom: 0;
  text-align: center;
}

.cotomaru-villa-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  padding: 12px 62px 12px 24px;
  border: 1px solid #7a4127;
  color: #7a4127 !important;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.1em;
  overflow: hidden;
  text-decoration: none !important;
  transition: color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.cotomaru-villa-button::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.35s ease;
}

.cotomaru-villa-button::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s ease;
}

.cotomaru-villa-button:hover {
  background: #7a4127;
  color: #fff !important;
  opacity: 1;
}

.cotomaru-villa-button:hover::before,
.cotomaru-villa-button:hover::after {
  transform: translate(10px, -50%) rotate(0deg);
}

.cotomaru-villa-button:hover::after {
  transform: translate(10px, -50%) rotate(45deg);
}

@keyframes dogUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes dogDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* ===============================
   Select
=============================== */

.cotomaru-select-section {
  padding: var(--cotomaru-section-gap) 0 0;
  background: var(--color-bg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
}

.cotomaru-select-section.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: 1.2s ease;
}

.cotomaru-select-inner {
  width: min(1100px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.cotomaru-select-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.cotomaru-select-label {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-header) !important;
}

.cotomaru-select-content h2 {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.cotomaru-select-text {
  margin: 0 0 30px;
  font-size: 16.8px;
  line-height: 2.1;
  color: var(--color-text);
}

.cotomaru-select-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.cotomaru-select-btn--choice {
  min-width: 216px;
  text-align: center;
  cursor: pointer;
}

.cotomaru-select-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cotomaru-select-panel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.35s ease;
}

.cotomaru-select-panel:hover {
  transform: translateY(-6px);
}

.cotomaru-select-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: brightness(0.9);
  transition: 0.4s ease;
}

.cotomaru-select-panel:hover img {
  transform: scale(1.05);
}

.cotomaru-select-panel span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  color: var(--color-white);
  letter-spacing: 0.06em;
}

/* ===============================
   Experience
=============================== */

.cotomaru-experience {
  position: relative;
  margin-top: var(--cotomaru-section-gap);
  height: 85vh;
  overflow: hidden;
}

.cotomaru-experience__bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: brightness(0.85);
}

.cotomaru-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.cotomaru-experience__logo {
  position: absolute;
  left: 60px;
  bottom: 90px;
  z-index: 3;
}

.cotomaru-experience__logo img {
  width: 120px;
}

/* Override the shared section gap only at the Experience/Q&A junction. */
body.home .entry-content > .cotomaru-experience + .cotomaru-reserve-cta {
  margin-top: calc(-1 * var(--cotomaru-experience-overlap, 60px)) !important;
}

.cotomaru-experience__content {
  position: absolute;
  right: 8%;
  top: 50%;
  z-index: 3;
  max-width: 360px;
  transform: translateY(-50%);
  color: var(--color-white);
}

.cotomaru-experience__label {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.cotomaru-experience__content h2 {
  margin-bottom: 20px;
  color: var(--color-accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.9;
}

.cotomaru-experience__text {
  font-size: 16.8px;
  line-height: 2;
}

/* ===============================
   Reserve CTA
=============================== */

.cotomaru-reserve-cta {
  position: relative;
  z-index: 30;
  margin-top: -50px;
  margin-bottom: var(--cotomaru-section-gap);
  padding: 0 20px 0;
  background: transparent;
}

.cotomaru-reserve-cta__inner {
  width: min(86%, 960px);
  margin: 0 auto;
  padding: 80px 48px 52px;
  background: var(--color-bg);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

/* FAQ */

.cotomaru-reserve-cta__faq {
  position: relative;
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--color-line);
}

.cotomaru-reserve-cta__faq-button {
  min-width: 180px;
}

.cotomaru-reserve-cta__faq-label {
  position: absolute;
  top: -33px;
  left: 36%;
  transform: translateX(-120px) rotate(-18deg);

  font-size: 25px;
  letter-spacing: 0.18em;
  color: #da876a;
  font-weight: 600;
  opacity: 0.9;
  pointer-events: none;
}

/* cards */

.cotomaru-reserve-cta__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cotomaru-reserve-card {
  display: flex;
  align-items: center;
  gap: 22px;

  min-width: 0;
  padding: 24px;

  background: #fff;
  border: 1px solid #eadbd5;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;

  transition: 0.35s ease;
}

.cotomaru-reserve-card:hover {
  transform: translateY(-4px);
  border-color: #da876a;
  color: inherit !important;
  text-decoration: none !important;
}

.cotomaru-reserve-card:focus-visible {
  outline: 2px solid #da876a;
  outline-offset: 4px;
}

.cotomaru-reserve-card__image {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 120px;
  aspect-ratio: 1 / 1;

  overflow: hidden;
  background: #fff7f2;
  border: 1px solid rgba(218, 135, 106, 0.3);
}

.cotomaru-reserve-card__image img {
  display: none;
}

.cotomaru-reserve-card__image::before {
  content: "fact_check";
  font-family: "Material Symbols Rounded";
  font-size: 46px;
  line-height: 1;
  color: #da876a;
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 48;
}

.cotomaru-reserve-card:nth-child(2) .cotomaru-reserve-card__image::before {
  content: "event_available";
}

.cotomaru-reserve-card__body {
  min-width: 0;
}

.cotomaru-reserve-card__body h3 {
  margin: 0 0 12px;

  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cotomaru-reserve-card__body h3 {
  position: relative;
  display: inline-block;

  margin: 0 0 12px;

  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cotomaru-reserve-card__body h3::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 2px;

  width: 100%;
  height: 10px;

  background: rgba(224, 69, 19, 0.18);

  z-index: -1;
}

.cotomaru-reserve-card__body p {
  margin: 0 0 14px;

  color: var(--color-text);
  font-size: 13px;
  line-height: 1.9;
}

.cotomaru-reserve-card__link {
  padding: 0;
  border: none;
  background: transparent;

  color: var(--color-accent) !important;

  transition: 0.3s ease;
}

.cotomaru-reserve-card:hover .cotomaru-reserve-card__link {
  transform: translateX(4px);
}

/* responsive */

@media (max-width: 768px) {
  .cotomaru-experience {
    margin-top: var(--cotomaru-section-gap);
  }

  .cotomaru-reserve-cta {
    margin-bottom: var(--cotomaru-section-gap);
  }

  .cotomaru-reserve-cta__inner {
    width: min(92%, 960px);
    padding: 56px 24px 40px;
  }

  .cotomaru-reserve-cta__cards {
    grid-template-columns: 1fr;
  }

  .cotomaru-reserve-card {
    gap: 18px;
    padding: 20px;
  }

  .cotomaru-reserve-card__image {
    width: 92px;
  }

  .cotomaru-reserve-cta__faq-label {
    top: -24px;
    transform: translateX(-90px) rotate(-18deg);
    font-size: 20px;
  }

}

/* ===============================
   Subscription
=============================== */

.cotomaru-subscription {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.cotomaru-subscription__video {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: translate(-50%, -50%);
  filter: brightness(0.85);
}

.cotomaru-subscription::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.1);
}

/* 左側コンテンツ */

.cotomaru-subscription__content {
  position: absolute;
  left: 8%;
  top: 50%;

  z-index: 3;

  max-width: 420px;

  transform: translateY(-50%);

  color: var(--color-white);
}

.cotomaru-subscription__label {
  margin-bottom: 20px;

  font-size: 11px;
  letter-spacing: 0.2em;

  color: var(--color-bg);
}

.cotomaru-subscription__content h2 {
  margin-bottom: 20px;

  color: #355c4d;

  font-size: 24px;
  font-weight: 450;
  line-height: 1.9;
}

.cotomaru-subscription__text {
  margin-bottom: 28px;

  font-size: 16.8px;
  line-height: 2;

  color: var(--color-bg);
}

/* ボタン */

.cotomaru-subscription__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;

  border: 1px solid var(--color-bg);
  background: transparent;

  color: var(--color-bg) !important;

  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none !important;

  transition: 0.3s ease;
}

.cotomaru-subscription__button:hover {
  background: var(--color-bg);
  color: #355c4d !important;
  text-decoration: none !important;
}

/* 右側装飾画像 */

.cotomaru-subscription__deco {
  position: absolute;
  right: 8%;
  top: 25%;

  z-index: 2;

  width: 80px;

  transform: translateY(-50%);

  opacity: 0.4;

  pointer-events: none;
}

.cotomaru-subscription__deco img {
  width: 100%;
  display: block;
}

/* responsive */

@media (max-width: 768px) {

  .cotomaru-subscription {
    height: 760px;
  }

  .cotomaru-subscription__content {
    left: 24px;
    right: 24px;

    max-width: none;
  }

  .cotomaru-subscription__deco {
    right: -10%;
    width: 72vw;
    opacity: 0.08;
  }

}

/* ===============================
   Facility Panel
=============================== */

.cotomaru-facility-panel-section {
  position: relative;
  z-index: 2;
  padding: var(--cotomaru-section-gap) 0 0;
  background: var(--color-bg);
  overflow: hidden;
}

.cotomaru-facility-panel-wrap {
  position: relative;
  overflow: visible;
}

.cotomaru-facility-panel-track {
  display: flex;
  gap: 40px;
  padding: 16px 0 16px 60px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.cotomaru-facility-panel-track:active {
  cursor: grabbing;
}

.cotomaru-facility-panel-track.is-dragging {
  scroll-snap-type: none;
  user-select: none;
}

.cotomaru-facility-panel-track::-webkit-scrollbar {
  display: none;
}

.cotomaru-facility-panel {
  position: relative;
  flex: 0 0 760px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  border: none;
  background: var(--color-bg);
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px var(--color-header);
  scroll-snap-align: start;
  transition: transform 0.35s ease;
}

.cotomaru-facility-panel:hover {
  transform: translateY(-8px);
}

.cotomaru-facility-panel,
.cotomaru-facility-panel * {
  text-decoration: none !important;
}

.cotomaru-facility-panel__image {
  height: 100%;
  aspect-ratio: 3 / 2;
  border-right: none;
  box-shadow: inset -1px 0 0 var(--color-header);
}

.cotomaru-facility-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cotomaru-facility-panel__content {
  height: 100%;
  padding: 34px 30px;
  display: grid;
  grid-template-rows: auto 92px auto 1fr auto;
}

.cotomaru-facility-panel__label {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}

.cotomaru-facility-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  margin-bottom: 10px;
}

.cotomaru-facility-panel__title-image {
  width: 44px;
  height: 44px;
}

.cotomaru-facility-panel__title-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
}

.cotomaru-facility-panel__content h3 {
  margin: 0;
  font-size: 20px;
}

.cotomaru-facility-panel__name {
  margin-bottom: 16px;
  font-size: 13px;
  color: #777;
}

.cotomaru-facility-panel__text {
  min-height: 80px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.cotomaru-facility-panel__btn {
  width: fit-content;
}

/* 矢印 */
.cotomaru-facility-arrow {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 20;

  width: 60px; /* ←ここで長さ調整（今の約2倍） */
  height: 1px;

  background: var(--color-accent);
  border: none;
  padding: 0;
  cursor: pointer;
}

/* やじり */
.cotomaru-facility-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;

  width: 10px;
  height: 10px;

  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);

  transform: translateY(-50%) rotate(45deg);
}

/* hover */
.cotomaru-facility-arrow:hover {
  opacity: 0.6;
}

/* ===============================
   Mobile Facility Panel
=============================== */

@media (max-width: 1199px) {
  .cotomaru-villa-track {
    width: max-content;
  }

  .cotomaru-villa-card {
    flex-basis: min(390px, 72vw);
  }
}

@media (max-width: 767px) {
  .cotomaru-concept-inner,
  .cotomaru-select-inner {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .cotomaru-concept-section,
  .cotomaru-dog-section,
  .cotomaru-select-section,
  .cotomaru-villa-section,
  .cotomaru-facility-panel-section {
    padding: var(--cotomaru-section-gap) 0 0;
  }

  .cotomaru-concept-content p,
  .cotomaru-dog-content p,
  .cotomaru-select-text,
  .cotomaru-villa-lead,
  .cotomaru-experience__text,
  .cotomaru-subscription__text {
    font-size: 15px;
  }

  .cotomaru-dog-section {
    margin-bottom: 0;
  }

  .cotomaru-dog-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
  }

  .cotomaru-dog-content {
    transform: none;
  }

  .cotomaru-dog-slider {
    width: 100%;
    height: 520px;
    justify-self: stretch;
  }

  .cotomaru-dog-slider img {
    width: 100%;
    height: 270px;
  }

  .cotomaru-villa-heading,
  .cotomaru-villa-actions {
    width: min(100% - 40px, 1100px);
  }

  .cotomaru-villa-heading {
    margin-bottom: 34px;
  }

  .cotomaru-villa-heading h2 {
    font-size: 23px;
  }

  .cotomaru-villa-track {
    gap: 22px;
    padding: 12px 20px 18px;
  }

  .cotomaru-villa-card {
    flex-basis: 82vw;
  }

  .cotomaru-villa-card:hover .cotomaru-villa-card__image img {
    transform: none;
    box-shadow: none;
  }

  .cotomaru-villa-card__image {
    aspect-ratio: 0.9 / 1;
  }

  .cotomaru-villa-card__body {
    padding-right: 4px;
    padding-left: 4px;
  }

  .cotomaru-villa-card__title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cotomaru-villa-card__detail {
    min-width: 132px;
  }

  .cotomaru-select-buttons {
    gap: 10px;
  }

  .cotomaru-select-btn,
  .cotomaru-select-btn--choice {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .cotomaru-facility-panel-track {
    padding: 16px 20px;
    gap: 24px;
  }

  .cotomaru-facility-panel {
    flex: 0 0 86vw;
    grid-template-columns: 1fr;
  }

  .cotomaru-facility-panel:hover {
    transform: none;
  }

  .cotomaru-facility-panel__image {
    border-right: none;
    box-shadow: inset 0 -1px 0 var(--color-header);
  }

  .cotomaru-facility-panel__content {
    padding: 24px;
  }

  .cotomaru-facility-panel__content h3 {
    font-size: 18px;
  }

  .cotomaru-facility-panel__text {
    font-size: 13px;
  }

  .cotomaru-facility-arrow {
    right: 14px;
    width: 42px;
    height: 42px;
  }
}

/* Share the boundary across the contrasting villa and selection bands. */
.cotomaru-villa-section { padding-bottom: var(--cotomaru-section-half); }
.cotomaru-villa-section + .cotomaru-select-section { padding-top: var(--cotomaru-section-half); }
