:root {
  --header-height: 78px;
}
.front-hero {
  padding-top: calc(var(--header-height) + 14px);
}

.front-hero__inner {
  width: min(calc(100% - 40px), 1560px);
  margin: 14px auto 0;
}
.front-hero__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f3f3;
}
.front-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.front-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.front-hero__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.front-hero__slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.front-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

.front-hero__copy {
  width: min(92%, 860px);
}

.front-hero__sub {
  margin: 0 0 14px;
  font-family: "M PLUS 1", sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(0, 0, 0, 0.24);
}

.front-hero__title {
  margin: 0;
  font-family: "M PLUS 1", sans-serif;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.32),
    0 1px 4px rgba(0, 0, 0, 0.22);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:root {
  --header-height: 78px;
}

/* hero全体 */
.front-hero {
  padding-top: calc(var(--header-height) + 14px);
}


/* スライダー本体 */
.front-hero__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f3f3;
}
.front-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.front-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.front-hero__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.front-hero__slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.front-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

.front-hero__copy {
  width: min(92%, 860px);
}

/* サブ */
.front-hero__sub {
  margin: 0 0 14px;
  font-family: "M PLUS 1", sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(0, 0, 0, 0.24);
}
.front-hero__title {
  margin: 0;
  font-family: "M PLUS 1", sans-serif;
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.32),
    0 1px 4px rgba(0, 0, 0, 0.22);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* =========================
   hero logo
========================= */
.front-hero__logo {
  position: absolute;
  left: clamp(22px, 3.4vw, 44px);
  bottom: clamp(20px, 3.4vw, 42px);
  z-index: 4;
  width: clamp(240px, 32vw, 500px);
  pointer-events: none;
  filter:
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18))
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.18));
}

.front-hero__logo svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}


/* 変形基準 */
.front-hero__logo svg #b6,
.front-hero__logo svg #c6,
.front-hero__logo svg #d6,
.front-hero__logo svg #e6,
.front-hero__logo svg #f6 {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
.front-hero__logo.is-animated svg #b6 {
  animation:
    heroLogoPop 0.56s cubic-bezier(.2, .9, .2, 1.15) 0.08s both,
    heroLogoShake 5.2s ease-in-out 2.2s infinite;
}

.front-hero__logo.is-animated svg #c6 {
  animation:
    heroLogoPop 0.56s cubic-bezier(.2, .9, .2, 1.15) 0.34s both,
    heroLogoShake 5.2s ease-in-out 2.55s infinite;
}

.front-hero__logo.is-animated svg #d6 {
  animation:
    heroLogoPop 0.56s cubic-bezier(.2, .9, .2, 1.15) 0.60s both,
    heroLogoShake 5.2s ease-in-out 2.9s infinite;
}
.front-hero__logo.is-animated svg #e6 {
  animation:
    heroLogoPopSoft 0.7s cubic-bezier(.2, .9, .2, 1.12) 0.92s both,
    heroLogoFloat 4.6s ease-in-out 2.2s infinite;
}

.front-hero__logo.is-animated svg #f6 {
  animation:
    heroBubbleBounce 0.9s cubic-bezier(.22, 1.25, .32, 1) 1.12s both,
    heroBubblePulse 3.2s ease-in-out 2.4s infinite;
}

/* =========================
   keyframes
========================= */
@keyframes heroLogoPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.78);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroLogoPopSoft {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.86);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroLogoShake {
  0%, 90%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  92% {
    transform: translateX(-1.8px) rotate(-1deg);
  }
  94% {
    transform: translateX(2.1px) rotate(1deg);
  }
  96% {
    transform: translateX(-1.4px) rotate(-0.7deg);
  }
  98% {
    transform: translateX(1.2px) rotate(0.6deg);
  }
}

@keyframes heroBubbleBounce {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.55);
  }
  45% {
    opacity: 1;
    transform: translateY(-7px) scale(1.14);
  }
  68% {
    transform: translateY(2px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroBubblePulse {
  0%, 100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.08, 0.96);
  }
  24% {
    transform: scale(0.97, 1.04);
  }
  36% {
    transform: scale(1.1);
  }
  48% {
    transform: scale(1);
  }
}

@keyframes heroLogoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
/* =========================
   hero quick nav
========================= */
.front-hero__quicknav {
  display: none;
}

@media (min-width: 768px) {
  .front-hero__quicknav {
    position: absolute;
    right: clamp(22px, 3.2vw, 42px);
    bottom: clamp(22px, 3.2vw, 38px);
    z-index: 4;

    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 15px 21px;
    justify-content: end;
    align-content: end;
    max-width: min(42vw, 520px);
  }

  .front-hero__quicknav-link {
    position: relative;
    display: inline-block;
    font-family: "M PLUS 1", sans-serif;
    font-size: clamp(13px, 0.98vw, 13.8px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    white-space: nowrap;
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.26),
      0 1px 3px rgba(0, 0, 0, 0.22);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      color 0.25s ease;
  }

  .front-hero__quicknav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.72);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
  }

  .front-hero__quicknav-link:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: #fff;
  }

  .front-hero__quicknav-link:hover::after {
    transform: scaleX(1);
  }
}

/* スマホ */
@media (max-width: 767px) {
  .front-hero__slider {
    aspect-ratio: 4 / 5;
  }

  .front-hero__overlay {
    padding: 20px 16px;
  }

  .front-hero__sub {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }

  .front-hero__title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .front-hero__logo {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(68vw, 280px);
  }

  .front-hero__slider {
    aspect-ratio: 4 / 5;
  }

  .front-hero__overlay {
    padding: 20px 16px;
  }

  .front-hero__sub {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }

  .front-hero__title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.06em;
  }
}

/* =========================================
   Concept Headline
========================================= */
.home-concept__headline {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: clamp(28px, 5vw, 65px);
  overflow: hidden;
}

.home-concept__headline-svg-wrap {
  width: min(100vw, 1800px);
  margin: 0 auto;
}
.home-concept__headline-svg--title02 {
  width: 100%;
  height: auto;
  display: block;
}

/* title02 専用：1文字ずつ隠す */
.home-concept__headline-svg--title02 > g {
  opacity: 0;
  transform: translateX(-42px) translateY(2px) rotate(-1.4deg);
  transform-origin: center center;
  filter: blur(6px);
  will-change: transform, opacity, filter;
}

/* 表示開始 */
.home-concept.is-visible .home-concept__headline-svg--title02 > g {
  animation: conceptTitle02CharIn 0.82s cubic-bezier(.22, .82, .2, 1) forwards;
}

/* 1文字ずつ時間差 */
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(1)  { animation-delay: .02s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(2)  { animation-delay: .08s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(3)  { animation-delay: .14s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(4)  { animation-delay: .20s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(5)  { animation-delay: .26s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(6)  { animation-delay: .32s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(7)  { animation-delay: .38s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(8)  { animation-delay: .44s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(9)  { animation-delay: .50s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(10) { animation-delay: .56s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(11) { animation-delay: .62s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(12) { animation-delay: .68s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(13) { animation-delay: .74s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(14) { animation-delay: .80s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(15) { animation-delay: .86s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(16) { animation-delay: .92s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(17) { animation-delay: .98s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(18) { animation-delay: 1.04s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(19) { animation-delay: 1.10s; }
.home-concept.is-visible .home-concept__headline-svg--title02 > g:nth-of-type(20) { animation-delay: 1.16s; }

@keyframes conceptTitle02CharIn {
  0% {
    opacity: 0;
    transform: translateX(-42px) translateY(2px) rotate(-1.4deg);
    filter: blur(6px);
  }
  58% {
    opacity: 1;
    transform: translateX(6px) translateY(0) rotate(.2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg);
    filter: blur(0);
  }
}


/* =========================================
   Concept Section
========================================= */
.home-concept {
  position: relative;
  padding: clamp(48px, 4vw, 100px) 0;
  background: #f8f4ef;
  overflow: hidden;
}

.home-concept__inner {
  width: min(1560px, calc(100% - 40px));
  margin: 0 auto;
}


.home-concept__top {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.82fr);
  gap: clamp(26px, 3vw, 48px);
  align-items: center;
}
/* -------------------------
   左：メインスライド
------------------------- */
.home-concept__visual {
  min-width: 0;
}

.concept-main-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.75 / 1;
  overflow: hidden;
  border-radius: 32px;
}

.concept-main-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.concept-main-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%);
  transition:
    opacity 1s ease,
    transform 1.2s ease,
    visibility 1.2s ease;
  will-change: transform, opacity;
}

.concept-main-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

.concept-main-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.concept-main-slider__slide.is-active img {
  transform: scale(1.16);
}

/* -------------------------
   右：タイトルとテキスト
------------------------- */
.home-concept__content {
  min-width: 0;
}

.home-concept__title-wrap {
  width: min(100%, 420px);
  margin-left: auto;
}

.home-concept__title-svg-wrap {
  width: 100%;
}

.home-concept__title-svg {
  width: 100%;
  height: auto;
  display: block;
}

.home-concept__text {
  margin-top: 50px;
}

.home-concept__lead,
.home-concept__desc {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}

.home-concept__lead {
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: #393332;
  font-weight: 500;
}

.home-concept__desc {
  margin-top: 18px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2.25;
  letter-spacing: 0.12em;
  color: rgba(57, 51, 50, 0.82);
}

.home-concept.is-visible .home-concept__lead,
.home-room.is-visible .home-concept__lead {
  animation: conceptTextIn 1s ease forwards;
}

.home-concept.is-visible .home-concept__desc,
.home-room.is-visible .home-concept__desc {
  animation: conceptTextIn 1s ease forwards;
  animation-delay: .24s;
}

@keyframes conceptTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* -------------------------
   下段カルーセル
------------------------- */
.home-concept__bottom {
  margin-top: clamp(34px, 4vw, 54px);
}

.concept-carousel {
  --carousel-gap: 10px;
  --carousel-item-width-pc: clamp(180px, 18vw, 250px);
  --carousel-item-width-sp: 58vw;
  --carousel-ashi-width-pc: clamp(34px, 3vw, 52px);
  --carousel-ashi-width-sp: 28px;
  --carousel-speed: 36s;

  position: relative;
  overflow: hidden;
  width: 100%;
}


.concept-carousel__track {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  width: max-content;
  will-change: transform;
  animation: conceptCarouselFlow var(--carousel-speed) linear infinite;
}

.concept-carousel:hover .concept-carousel__track {
  animation-play-state: paused;
}
/* hover停止はPCだけで十分 */
@media (hover: hover) and (pointer: fine) {
  .concept-carousel:hover .concept-carousel__track {
    animation-play-state: paused;
  }
}

.concept-carousel__item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1 / 1.08;
  background: #ddd;
  flex: 0 0 clamp(180px, 18vw, 250px);
}
.concept-carousel__item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1 / 1.08;
  background: #ddd;
  flex: 0 0 var(--carousel-item-width-pc);
}
.concept-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .8s ease;
}

.concept-carousel__item:hover img {
  transform: scale(1.06);
}


@keyframes conceptCarouselFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--carousel-gap) / 2)));
  }
}

@media (max-width: 767px) {
  .concept-carousel__track {
    animation-duration: 55s;
  }

  .concept-carousel__item {
    flex: 0 0 168px;
    border-radius: 18px;
  }
}

/* 足跡 */
.concept-carousel__ashi {
  width: var(--carousel-ashi-width-pc);
  flex: 0 0 var(--carousel-ashi-width-pc);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.concept-carousel__ashi-svg-wrap {
  width: 100%;
  display: block;
}

.concept-carousel__ashi-svg,
.concept-carousel__ashi-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.js-ashi-pop {
  opacity: 0.8;
  transform: translateY(0) scale(1);
  transform-origin: center center;
  will-change: transform, opacity;
  animation: ashiTempoPop 3.6s ease-in-out infinite;
}
.js-ashi-pop:nth-child(2n) {
  animation-delay: .3s;
}

.js-ashi-pop:nth-child(3n) {
  animation-delay: .8s;
}

.js-ashi-pop:nth-child(4n) {
  animation-delay: 1.2s;
}

@keyframes ashiTempoPop {
  0%, 78%, 100% {
    opacity: 0.72;
    transform: translateY(0) scale(1);
  }
  82% {
    opacity: 1;
    transform: translateY(-6px) scale(1.12);
  }
  86% {
    opacity: 1;
    transform: translateY(1px) scale(0.96);
  }
  90% {
    opacity: .92;
    transform: translateY(-2px) scale(1.04);
  }
}
@keyframes conceptCarouselFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(
      -1 * (
        (var(--carousel-item-width-pc) * 4) +
        (var(--carousel-ashi-width-pc) * 4) +
        (var(--carousel-gap) * 8)
      )
    ));
  }
}

/* -------------------------
   concept dog
------------------------- */
.home-concept__text {
  position: relative;
  margin-top: 28px;
  padding-bottom: clamp(88px, 9vw, 150px);
}

.home-concept__dog {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(120px, 15vw, 210px);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  will-change: transform, opacity;
}

.home-concept__dog-svg-wrap {
  width: 100%;
}

.home-concept__dog-svg,
.home-concept__dog-svg svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* SVG全体の登場 */
.home-concept.is-visible .home-concept__dog {
  animation:
    conceptDogIn 0.9s cubic-bezier(.22, .82, .2, 1) .55s forwards,
    conceptDogFloat 4.8s ease-in-out 1.6s infinite;
}

/* 犬の顔まわりだけ少し反応 */
.home-concept__dog-svg svg #_レイヤー_27 {
  transform-origin: 38% 38%;
  transform-box: fill-box;
  will-change: transform;
}

.home-concept.is-visible .home-concept__dog-svg svg #_レイヤー_27 {
  animation: conceptDogEarTilt 5.4s ease-in-out 2s infinite;
}

/* 目だけほんの少し愛嬌 */
.home-concept__dog-svg svg #_レイヤー_27 circle {
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform, opacity;
}

.home-concept.is-visible .home-concept__dog-svg svg #_レイヤー_27 circle {
  animation: conceptDogEyeBlink 5.2s ease-in-out 2.4s infinite;
}

@keyframes conceptDogIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes conceptDogFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.4deg);
  }
  75% {
    transform: translateY(-2px) rotate(-0.3deg);
  }
}

@keyframes conceptDogEarTilt {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  18% {
    transform: rotate(-0.9deg) translateY(-1px);
  }
  24% {
    transform: rotate(0.7deg) translateY(0);
  }
  32% {
    transform: rotate(0deg) translateY(0);
  }
}

@keyframes conceptDogEyeBlink {
  0%, 44%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  46% {
    transform: scaleY(0.15);
    opacity: 0.9;
  }
  48% {
    transform: scaleY(1);
    opacity: 1;
  }
}
/* -------------------------
   SP
------------------------- */
@media (max-width: 767px) {
  .home-concept {
    padding: 30px 0 80px;
  }

  .home-concept__inner {
    width: min(100%, calc(100% - 24px));
  }

  .home-concept__top {
    display: block;
  }

  .home-concept__visual {
    width: calc(100% + 12px);
    margin-left: -55px;
    margin-right: 0;
  }

  .concept-main-slider {
    width: 100%;
    aspect-ratio: 1.28 / 1;
    border-radius: 0 22px 22px 0;
  }

  .home-concept__content {
    margin-top: 22px;
  }

  .home-concept__title-wrap {
    width: min(82%, 280px);
    margin-left: auto;
    margin-right: 0;
  }

  .home-concept__text {
    margin-top: 18px;
  }

  .home-concept__lead {
    font-size: 17px;
    line-height: 1.95;
    text-align: left;
margin-top: 25px;
  }

  .home-concept__desc {
    margin-top: 35px;
    font-size: 13px;
    line-height: 2.05;
    text-align: left;
    letter-spacing: 0.08em;
max-width: 268px;
  }

  .home-concept__bottom {
    margin-top: 30px;
  }

  .concept-carousel__track {
    gap: 10px;
  }


  .home-concept__headline {
    margin-bottom: 24px;
  }

  .home-concept__headline-svg-wrap {
 width: 100%;
 margin-left: 0;
  }
.home-concept__text {
  padding-bottom: 0;
}

.home-concept__dog {
  width: 104px;
  right: 2px;
  bottom: -2px;
}
 .concept-carousel {
    --carousel-gap: 10px;
    --carousel-speed: 34s;
  }

  .concept-carousel__item {
    flex: 0 0 var(--carousel-item-width-sp);
    border-radius: 18px;
  }

  .concept-carousel__ashi {
    width: var(--carousel-ashi-width-sp);
    flex: 0 0 var(--carousel-ashi-width-sp);
  }

  /* SPでは1セットぶんの距離をSP用サイズで計算 */
  @keyframes conceptCarouselFlow {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(
        -1 * (
          (var(--carousel-item-width-sp) * 4) +
          (var(--carousel-ashi-width-sp) * 4) +
          (var(--carousel-gap) * 8)
        )
      ));
    }
  }
}





/* =========================================
   Room Section
========================================= */
.home-room {
  position: relative;
  padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 120px);
  background: #c9dce3;
  z-index: 1;
  margin-top: 60px;
  overflow: visible;
  isolation: isolate;
}

.home-room::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: clamp(100px, 13vw, 190px);
  background: #c9dce3;
  border-radius: 50%;
  transform: translate(-50%, -58%);
  z-index: 0;
  pointer-events: none;
}

.home-room > * {
  position: relative;
  z-index: 1;
}

.home-room__inner {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}


.home-room__bg-shift {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(251, 250, 247, 0) 0%,
      rgba(251, 250, 247, 0) 34%,
      rgba(251, 250, 247, 0.78) 52%,
      rgba(251, 250, 247, 0.96) 72%,
      rgba(251, 250, 247, 1) 100%
    );
  opacity: 0;
  transform: translateY(40px);
  filter: blur(18px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    filter 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.home-room__dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease .2s;
}

.home-room__dots-svg {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: min(1500px, 112%);
  height: auto;
  transform: translateX(-50%);
  opacity: .72;
}

.home-room__inner {
  position: relative;
  z-index: 1;
}


/* =========================================
   Headline
========================================= */
.home-room__headline {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: clamp(34px, 5vw, 68px);
  overflow: hidden;
}

.home-room__headline-svg-wrap {
  width: min(100vw, 1800px);
  margin: 0 auto;
}

.home-room__headline-svg--title02 {
  width: 100%;
  height: auto;
  display: block;
}

.home-room__headline-svg--title02 > g {
  opacity: 0;
  transform: translateX(-42px) translateY(2px) rotate(-1.4deg);
  transform-origin: center center;
  filter: blur(6px);
  will-change: transform, opacity, filter;
}

.home-room.is-visible .home-room__headline-svg--title02 > g {
  animation: roomTitle02CharIn 0.82s cubic-bezier(.22, .82, .2, 1) forwards;
}

.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(1)  { animation-delay: .02s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(2)  { animation-delay: .08s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(3)  { animation-delay: .14s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(4)  { animation-delay: .20s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(5)  { animation-delay: .26s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(6)  { animation-delay: .32s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(7)  { animation-delay: .38s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(8)  { animation-delay: .44s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(9)  { animation-delay: .50s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(10) { animation-delay: .56s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(11) { animation-delay: .62s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(12) { animation-delay: .68s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(13) { animation-delay: .74s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(14) { animation-delay: .80s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(15) { animation-delay: .86s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(16) { animation-delay: .92s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(17) { animation-delay: .98s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(18) { animation-delay: 1.04s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(19) { animation-delay: 1.10s; }
.home-room.is-visible .home-room__headline-svg--title02 > g:nth-of-type(20) { animation-delay: 1.16s; }

@keyframes roomTitle02CharIn {
  0% {
    opacity: 0;
    transform: translateX(-42px) translateY(2px) rotate(-1.4deg);
    filter: blur(6px);
  }
  58% {
    opacity: 1;
    transform: translateX(6px) translateY(0) rotate(.2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg);
    filter: blur(0);
  }
}

/* =========================================
   ROOM
========================================= */
.home-room__top {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.34fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.home-room__content {
  min-width: 0;
}

.home-room__title-wrap {
  width: min(100%, 410px);
  margin: 0;
}

.home-room__title-svg-wrap {
  width: 100%;
}

.home-room__title-svg {
  width: 100%;
  height: auto;
  display: block;
}

.home-room__visual {
  min-width: 0;
  width: min(100%, 980px);
  margin-left: auto;
}

.home-room .concept-main-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  border-radius: 34px 0 0 34px;
  box-shadow: 0 28px 70px rgba(68, 49, 58, 0.14);
}

.home-room .concept-main-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-room .concept-main-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%);
  transition:
    opacity 1s ease,
    transform 1.2s ease,
    visibility 1.2s ease;
  will-change: transform, opacity;
}

.home-room .concept-main-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

.home-room .concept-main-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.home-room .concept-main-slider__slide.is-active img {
  transform: scale(1.16);
}


/* =========================================
   Features
========================================= */
.home-room__features {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 140px);
}
.room-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.85fr);
  align-items: start;
  column-gap: clamp(24px, 5vw, 72px);
  min-width: 0;
  opacity: 0;
  transform: translateY(38px);
  filter: blur(8px);
  transition:
    opacity 1s ease,
    transform 1s ease,
    filter 1s ease;
}


.room-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.85fr);
  align-items: start;
  column-gap: clamp(24px, 5vw, 72px);
  min-width: 0;

  opacity: 0;
  transform: translateY(26px) scale(0.9);
  filter: blur(8px);
  will-change: transform, opacity, filter;
}

.room-feature-card.is-visible {
  animation: roomCardPopIn 0.82s cubic-bezier(.22, .88, .24, 1) forwards;
}

@keyframes roomCardPopIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.9);
    filter: blur(8px);
  }
  62% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 少しずつ斜めにずらす */
.room-feature-card--01 {
  padding-left: 0;
}

.room-feature-card--02 {
  padding-left: clamp(28px, 4vw, 72px);
}

.room-feature-card--03 {
  padding-left: clamp(10px, 2vw, 36px);
}

.room-feature-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.12 / 0.9;
}

.room-feature-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .9s ease;
}

.room-feature-card:hover .room-feature-card__media img {
  transform: scale(1.06);
}

.room-feature-card__body {
  position: relative;
  width: 100%;
  margin: 0;
  padding-top: clamp(34px, 5vw, 74px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.room-feature-card__num {
  font-size: 12px;
  letter-spacing: 0.26em;
  color: rgba(59, 48, 54, 0.46);
}

.room-feature-card__title {
  margin-top: 12px;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.08;
  color: #2f3033;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.room-feature-card__subtitle {
  margin-top: 14px;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.95;
  letter-spacing: 0.12em;
  color: #4f5960;
}

.room-feature-card__desc {
  margin-top: 16px;
  max-width: 34em;
  font-size: clamp(13px, 0.98vw, 15px);
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: rgba(47, 48, 51, 0.78);
}
/* =========================================
   Room features background transition
========================================= */
.home-room__features-wrap {
  position: relative;
  margin-top: clamp(80px, 9vw, 140px);
  padding: clamp(56px, 7vw, 100px) 0 clamp(30px, 5vw, 56px);
  isolation: isolate;
}
/* =========================================
   Room section background switch
========================================= */
.home-room {
  position: relative;
  background: #c9dce3;
  isolation: isolate;
  transition: background-color 0.45s ease;
}

.home-room__bg-shift {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.home-room__bg-shift::before,
.home-room__bg-shift::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* 白背景レイヤー */
.home-room__bg-shift::before {
  background: #fbfaf7;
}

/* ピンクの空気感を少し残したいなら */
.home-room__bg-shift::after {
  left: 50%;
  right: auto;
  bottom: -10%;
  top: auto;
  width: 135%;
  height: 68%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(246, 170, 212, 0.26) 0%,
    rgba(246, 170, 212, 0.14) 38%,
    rgba(246, 170, 212, 0.00) 74%
  );
}

/* dots */
.home-room__dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.home-room__dots-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1500px, 112%);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .72;
}

.home-room__inner {
  position: relative;
  z-index: 1;
}

/* 初期 */
.home-room.is-room-bg-0 {
  background: #c9dce3;
}

/* 1段階目 */
.home-room.is-room-bg-1 {
  background: #dce9ee;
}

/* 2段階目：ここで白っぽくパッと */
.home-room.is-room-bg-2 {
  background: #fbfaf7;
}

.home-room.is-room-bg-2 .home-room__bg-shift::before {
  opacity: 1;
}

.home-room.is-room-bg-2 .home-room__dots {
  opacity: 0.38;
}

/* 3段階目：さらに雰囲気を変える */
.home-room.is-room-bg-3 {
  background: #fbfaf7;
}

.home-room.is-room-bg-3 .home-room__bg-shift::before {
  opacity: 1;
}

.home-room.is-room-bg-3 .home-room__bg-shift::after {
  opacity: 1;
}

.home-room.is-room-bg-3 .home-room__dots {
  opacity: 0.72;
}



/* dot colors */
.room-dot--blue {
  fill: #83d5ff;
}

.room-dot--pink {
  fill: #f6aad4;
}

.room-dot-group--1 { animation: roomDotFloat01 7s ease-in-out infinite; }
.room-dot-group--2 { animation: roomDotFloat02 6.4s ease-in-out infinite; }
.room-dot-group--3 { animation: roomDotFloat03 8s ease-in-out infinite; }
.room-dot-group--4 { animation: roomDotFloat01 6.8s ease-in-out infinite; }
.room-dot-group--5 { animation: roomDotFloat02 7.2s ease-in-out infinite; }
.room-dot-group--6 { animation: roomDotFloat03 7.8s ease-in-out infinite; }
.room-dot-group--7 { animation: roomDotFloat01 6.9s ease-in-out infinite; }
.room-dot-group--8 { animation: roomDotFloat02 8.2s ease-in-out infinite; }
.room-dot-group--9 { animation: roomDotFloat03 6.6s ease-in-out infinite; }

@keyframes roomDotFloat01 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-8px, -14px, 0); }
  50% { transform: translate3d(4px, -28px, 0); }
  75% { transform: translate3d(10px, -16px, 0); }
}

@keyframes roomDotFloat02 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(10px, -12px, 0); }
  60% { transform: translate3d(-6px, -24px, 0); }
  80% { transform: translate3d(3px, -10px, 0); }
}

@keyframes roomDotFloat03 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-6px, -10px, 0); }
  45% { transform: translate3d(8px, -20px, 0); }
  70% { transform: translate3d(-2px, -30px, 0); }
}

.room-feature-card__media {
  position: relative;
  overflow: visible;
}

.room-feature-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-feature-card__mini {
  position: absolute;
  z-index: 3;
  width: clamp(200px, 20vw, 320px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
 opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(.2, .9, .2, 1.15);
}

.room-feature-card__mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.room-feature-card--01 .room-feature-card__mini--bottom {
  left: 88%;
  bottom: -30px;
  transform: translateX(-50%);
}

.room-feature-card--02 .room-feature-card__mini--bottom {
  left: 12%;
  bottom: -30px;
  transform: translateX(-50%);
}
/* 3枚目：右上 */
.room-feature-card__mini--top-right {
  top: -18px;
  right: -18px;
}
.room-feature-card__mini--bottom {
  transform: translateX(-50%) scale(0.8);
}

.room-feature-card.is-visible .room-feature-card__mini {
  opacity: 1;
}

.room-feature-card.is-visible .room-feature-card__mini--bottom {
  transform: translateX(-50%) scale(1);
}

.room-feature-card.is-visible .room-feature-card__mini--top-right {
  transform: scale(1);
  transition-delay: 0.12s;
}
/* =========================================
   SP
========================================= */
@media (max-width: 767px) {
  .home-room {
    position: relative;
    padding: 46px 0 72px;
    overflow: hidden;
    border-top-left-radius: 50% 56px;
    border-top-right-radius: 50% 56px;
  }

  .home-room::before {
    content: none;
  }

  .home-room__inner {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .home-room__top {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }

  .home-room__visual {
    width: 100%;
    margin: 0;
    overflow: visible;
  }

  .home-room .concept-main-slider {
    width: calc(100% + 8px);
    margin-left: 45px;
    margin-right: -14px;
    aspect-ratio: 1.22 / 1;
    border-radius: 22px 0 0 22px;
margin-top: 33px;
  }

.home-room__features {
  width: 100%;
  gap: 42px;
}

  .room-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    padding-left: 0 !important;
  }

  .room-feature-card__media {
    width: min(97%, 320px);
    aspect-ratio: 0.95 / 1.02;
  }

  .room-feature-card__body {
    width: calc(100% - 28px);
    margin-top: -24px;
    margin-left: auto;
    padding: 20px 0 0 0;
  }

  .room-feature-card--01 .room-feature-card__body {
    margin-right: 0;
  }

  .room-feature-card--02 .room-feature-card__media {
    margin-left: auto;
  }

  .room-feature-card--02 .room-feature-card__body {
    width: calc(100% - 18px);
    margin-left: 20px;
    margin-right: auto;
    margin-top: -26px;
  }

  .room-feature-card--03 .room-feature-card__body {
    margin-top: -24px;
margin-left: 120px;
  }

  .room-feature-card__num {
    font-size: 11px;
  }

  .room-feature-card__title {
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.12;
  }

  .room-feature-card__subtitle {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.1em;
  }

  .room-feature-card__desc {
    margin-top: 12px;
    font-size: 12.8px;
    line-height: 2;
max-width: 200px;
  }
  .home-room__features-wrap {
    margin-top: 0;
    padding: 0 0 24px;
  }

  .home-room__dots-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    width: 165%;
    min-width: 680px;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: .54;
  }

   .home-room__bg-shift::before {
    background:
      linear-gradient(
        to bottom,
        rgba(251, 250, 247, 0) 0%,
        rgba(251, 250, 247, 0) 24%,
        rgba(251, 250, 247, 0.28) 38%,
        rgba(251, 250, 247, 0.74) 56%,
        rgba(251, 250, 247, 0.95) 76%,
        rgba(251, 250, 247, 1) 100%
      );
  }

  .home-room__bg-shift::after {
    width: 165%;
    height: 56%;
    bottom: -8%;
    opacity: 0;
  }

.home-room__title-wrap {
  width: min(100%, 250px);
  margin: 0 0 0 -20px;
}
.home-room__title-svg-wrap {
margin-top: 20px;
}
.home-room .home-concept__desc {
  max-width: 200px;
}
  .room-feature-card__mini {
    width: 163px;
    border-width: 4px;
  }

  .room-feature-card__mini--bottom {
    bottom: -22px;
  }

  .room-feature-card__mini--top-right {
    top: -10px;
    right: -10px;
  }
}
/* =========================================
   PC
========================================= */
@media (min-width: 768px) {
  .home-room__title-wrap {
    margin-left: -40px;
  }
.room-feature-card__media {
    aspect-ratio: auto;
    overflow: visible;
  }

  .room-feature-card__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .room-feature-card:hover .room-feature-card__media img {
    transform: scale(1.02);
  }
  .room-feature-card--02 {
    grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 0.95fr);
    padding-left: 0;
    padding-right: clamp(28px, 4vw, 72px);
  }

  .room-feature-card--02 .room-feature-card__body {
    grid-column: 1;
    grid-row: 1;
  }

  .room-feature-card--02 .room-feature-card__media {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .home-room__features {
    gap: 82px;
  }

  .room-feature-card {
    grid-template-columns: minmax(260px, 0.96fr) minmax(260px, 0.9fr);
    column-gap: 30px;
  }

  .room-feature-card__title {
    font-size: clamp(24px, 2.8vw, 34px);
  }

  .room-feature-card__desc {
    max-width: 30em;
  }

}



/* =========================
   Stay guide
========================= */
.home-room-guide {
  margin-top: clamp(72px, 10vw, 140px);
}

.home-room-guide__head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-room-guide__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(60, 60, 60, 0.55);
}

.home-room-guide__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.3;
  color: #2f2a28;
}

.home-room-guide__lead {
  margin: 16px 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  color: rgba(47, 42, 40, 0.72);
}

.home-room-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.stay-unit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(80, 72, 68, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.stay-unit-card__media {
  position: relative;
  aspect-ratio: 1.85 / 1;
  overflow: hidden;
}

.stay-unit-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.stay-unit-card:hover .stay-unit-card__media img {
  transform: scale(1.05);
}

.stay-unit-card__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f2a28;
  font-size: 11px;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
}

.stay-unit-card__badge--plain {
  background: rgba(47, 42, 40, 0.84);
  color: #fff;
}

.stay-unit-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 22px;
}

.stay-unit-card__meta {
  margin-bottom: 14px;
}

.stay-unit-card__name {
  margin: 0;
  font-size: clamp(22px, 1.6vw, 28px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #2f2a28;
}

.stay-unit-card__sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(47, 42, 40, 0.58);
}

.stay-unit-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(47, 42, 40, 0.75);
}

.stay-unit-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.stay-unit-card__gallery,
.stay-unit-card__reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: all 0.35s ease;
  cursor: pointer;
}

.stay-unit-card__gallery {
  flex: 1;
  border: 1px solid rgba(47, 42, 40, 0.16);
  background: #fff;
  color: #2f2a28;
}

.stay-unit-card__gallery:hover {
  background: #f7f3ef;
}

.stay-unit-card__reserve {
  flex: 1;
  border: 1px solid #2f2a28;
  background: #2f2a28;
  color: #fff;
}

.stay-unit-card__reserve:hover {
  opacity: 0.88;
}

/* =========================
   Modal
========================= */
.stay-gallery-modal,
.stay-lightbox {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  z-index: 1000000;
}

.stay-gallery-modal.is-open,
.stay-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.stay-gallery-modal__overlay,
.stay-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, 0.62);
  backdrop-filter: blur(8px);
}

.stay-gallery-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 96px);
  margin: 48px auto;
  padding: 90px 28px 30px;
  border-radius: 28px;
  background: #fff;
  overflow: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
body.admin-bar .stay-gallery-modal__dialog {
  margin-top: 80px;
  max-height: calc(100vh - 120px);
}
.stay-gallery-modal__header {
  padding-right: 54px;
  margin-bottom: 24px;
}

.stay-gallery-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(47, 42, 40, 0.5);
}

.stay-gallery-modal__title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 36px);
  color: #2f2a28;
  line-height: 1.3;
}

.stay-gallery-modal__subtitle {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(47, 42, 40, 0.68);
}

.stay-gallery-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stay-gallery-modal__item {
  position: relative;
  aspect-ratio: 1.35 / 1;
  border: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f1ee;
  cursor: pointer;
}

.stay-gallery-modal__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.stay-gallery-modal__item:hover img {
  transform: scale(1.04);
}

.stay-gallery-modal__close,
.stay-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.stay-gallery-modal__close span,
.stay-lightbox__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: #2f2a28;
}

.stay-gallery-modal__close span:nth-child(1),
.stay-lightbox__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.stay-gallery-modal__close span:nth-child(2),
.stay-lightbox__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
   Lightbox
========================= */
.stay-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 24px));
  height: min(86vh, 860px);
  margin: 7vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stay-lightbox__image-wrap {
  width: 100%;
  height: 100%;
  padding: 48px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stay-lightbox__image-wrap img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.stay-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2f2a28;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.stay-lightbox__nav--prev {
  left: 6px;
}

.stay-lightbox__nav--next {
  right: 6px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .home-room-guide__grid {
    grid-template-columns: 1fr;
  }

  .stay-gallery-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-room-guide {
    margin-top: 64px;
  }

  .stay-unit-card {
    border-radius: 22px;
  }

  .stay-unit-card__body {
    padding: 20px 18px 18px;
  }

  .stay-unit-card__actions {
    flex-direction: column;
  }
  .stay-gallery-modal__dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 72px);
    margin: 56px auto 16px;
    padding: 62px 14px 18px;
    border-radius: 22px;
  }
  .stay-gallery-modal__header {
    padding-right: 42px;
    margin-bottom: 18px;
  }

  .stay-gallery-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stay-gallery-modal__item {
    border-radius: 14px;
  }

  .stay-lightbox__dialog {
    width: calc(100% - 8px);
    height: 84vh;
    margin: 8vh auto;
  }

  .stay-lightbox__image-wrap {
    padding: 42px 34px;
  }

  .stay-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .stay-lightbox__nav--prev {
    left: 2px;
  }

  .stay-lightbox__nav--next {
    right: 2px;
  }
  .stay-lightbox__close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

.stay-gallery-modal__close, .stay-lightbox__close {
    top: 85px;}
}