/* =========================
   Scene 1 subtitle
========================= */
.hero__title{
letter-spacing: 2.5px;
color: var(--color-bg);
}

.concept-subtitle {
  margin-top: 22px;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.18em;
  line-height: 1.8;
color: rgba(90, 90, 90, 0.55);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition:
    opacity 1.6s ease,
    transform 1.6s ease,
    filter 1.6s ease;
}

.home-panel--concept-intro.is-subtitle-visible .concept-subtitle {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* =========================
   Home Story
   Hero → Concept unified
========================= */
.home-story {
  position: relative;
  height: 700svh;
  background: #f7f4ef;
}

.home-story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #f7f4ef;
}

.home-story__content {
  position: relative;
  z-index: 10;
  height: 100%;
}

/* =========================
   Background layers
========================= */
.home-story__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 1.4s ease;
  pointer-events: none;
}

.home-story__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Hero background */
.home-story__bg--hero {
  z-index: 1;
}

/* Concept backgrounds */
.home-story__bg--1,
.home-story__bg--2,
.home-story__bg--3 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-story__bg--1 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/VR2-2.jpeg');
}

.home-story__bg--2 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/vv5-6.webp');
}

.home-story__bg--3 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/vv5-6-1.webp');
}

.home-story__bg--1::after,
.home-story__bg--2::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(247,244,239,0.76) 0%,
      rgba(247,244,239,0.42) 20%,
      rgba(247,244,239,0.26) 52%,
      rgba(247,244,239,0.78) 100%
    );
}
.home-story__bg--3::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 14, 30, 0.35) 0%,
      rgba(10, 14, 30, 0.55) 40%,
      rgba(10, 14, 30, 0.75) 70%,
      rgba(10, 14, 30, 0.88) 100%
    );
}
/* =========================
   Hero background slides
========================= */
.home-story__hero-slides,
.home-story__hero-slide {
  position: absolute;
  inset: 0;
}

.home-story__hero-slide {
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: transform, opacity;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-story__hero-slide.is-active {
  opacity: 1;
}

.home-story__hero-slide--1 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/04/fa1-scaled.webp');
  animation: heroZoomUp 9s ease-in-out infinite;
}

.home-story__hero-slide--2 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/04/f52-scaled.webp');
  animation: heroPanLeft 9s ease-in-out infinite;
}

.home-story__hero-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.16) 26%,
    rgba(0,0,0,0) 50%
  );
  pointer-events: none;
}

/* =========================
   Story effects
========================= */
.home-story__blind,
.home-story__wash {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
}

.home-story__blind {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.82) 0 9%,
      rgba(255,255,255,0) 9% 18%
    );
  transform: translateX(-100%);
}

.home-story__blind.is-run {
  animation: conceptBlind .85s ease forwards;
}

@keyframes conceptBlind {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  18% {
    opacity: .95;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.home-story__wash {
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 28%),
    radial-gradient(circle at 72% 56%, rgba(255,255,255,.48) 0, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 48% 78%, rgba(255,255,255,.38) 0, rgba(255,255,255,0) 30%);
  filter: blur(20px);
  transform: scale(1.08);
}

.home-story__wash.is-run {
  animation: conceptWash 1.05s ease forwards;
}

@keyframes conceptWash {
  0% {
    opacity: 0;
    transform: scale(1.12);
  }
  25% {
    opacity: .72;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
/* =========================
   Hero Scroll Indicator
========================= */
.hero__scroll {
  position: absolute;
  right: 42px;
  bottom: 90px;
  z-index: 9;
  width: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  animation: heroScrollFadeIn 1.2s ease .9s forwards;
}

.hero__scroll-svg-wrap {
  width: 100%;
}

.hero-scroll-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-scroll-svg .y {
  fill: rgba(255,255,255,.88);
}

/* scroll文字グループ */
.hero-scroll-svg #w {
  opacity: .95;
}

/* 矢印グループ */
.hero-scroll-svg #x {
  transform-box: fill-box;
  transform-origin: center top;
  animation: heroScrollArrowStretch 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}

/* 矢印の線と先端で少し動きを変える */
.hero-scroll-svg #x path:first-child {
  transform-box: fill-box;
  transform-origin: center top;
  animation: heroScrollLineStretch 1.8s ease-in-out infinite;
}

.hero-scroll-svg #x path:last-child {
  transform-box: fill-box;
  transform-origin: center center;
  animation: heroScrollArrowHeadFloat 1.8s ease-in-out infinite;
}

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

/* グループ全体の呼吸 */
@keyframes heroScrollArrowStretch {
  0%, 100% {
    opacity: .88;
  }
  50% {
    opacity: 1;
  }
}

/* 縦線が上下に伸び縮み */
@keyframes heroScrollLineStretch {
  0%, 100% {
    transform: scaleY(0.82);
  }
  50% {
    transform: scaleY(1.16);
  }
}

/* 矢印の先端が少し下に呼吸する */
@keyframes heroScrollArrowHeadFloat {
  0%, 100% {
    transform: translateY(0) scaleY(0.96);
  }
  50% {
    transform: translateY(8px) scaleY(1.04);
  }
}
/* =========================
   Panels
========================= */
.home-panel {
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform .85s ease;
  pointer-events: none;
}

.home-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   Hero panel
========================= */
.home-panel--hero {
  z-index: 3;
}

.home-panel--hero .hero__title-wrap,
.home-panel--hero .hero__side,
.home-panel--hero .hero__fade {
  transition: opacity .8s ease, transform .8s ease;
}

.home-panel--hero.is-leaving .hero__title-wrap {
  opacity: 0;
  transform: translateY(20px);
}

.home-panel--hero.is-leaving .hero__side {
  opacity: 0;
  transform: translateX(16px);
}

.home-panel--hero.is-leaving .hero__fade {
  opacity: 0;
}

/* =========================
   Hero elements
   (existing design preserved)
========================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: #fff;
  overflow: hidden;
}

.hero__media {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: transform, opacity;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide--1 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/VR2-2.jpeg');
  animation: heroZoomUp 9s ease-in-out infinite;
}

.hero__slide--2 {
  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/リビングダイニング-36.webp');
  animation: heroPanLeft 9s ease-in-out infinite;
}

/* 左下テキスト */
.hero__title-wrap {
  position: absolute;
  left: 18px;
  bottom: 26px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 60%;
}

.hero__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 1.2s ease forwards;
}

.hero__meta:nth-child(2) {
  animation-delay: .3s;
}

.hero__meta:nth-child(3) {
  animation-delay: .6s;
}

.hero__meta--name {
  font-size: 12px;
  letter-spacing: .18em;
  color: #fff;
}

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

/* Hero下部の見やすさ調整 */
.home-panel--hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0) 100%
  );
  z-index: 4;
  pointer-events: none;
}

/* 白い縦帯 */
.hero__side {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 66px;
  width: 80px;
  background: rgba(255, 255, 255, 0.94);
  z-index: 7;
  display: block;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.35),
    0 8px 28px rgba(0,0,0,.06);
  pointer-events: none;
}

/* 帯の中の縦文字 */
.hero__vertical-copy {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: row-reverse;
  gap: 7px;
  height: auto;
font-family: var(--font-sans);
}

.hero__copy-line {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .12em;
  color: #111;
  white-space: nowrap;
}

.hero__copy-line--1 {
  margin-top: 0;
}

.hero__copy-line--2 {
  margin-top: 180px;
}

/* 下へつなぐフェード */
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #f7f4ef 100%);
  pointer-events: none;
  z-index: 8;
}

/* Hero animation */
@keyframes heroZoomUp {
  0% {
    transform: scale(1.08) translateY(2%);
  }
  100% {
    transform: scale(1.16) translateY(-2%);
  }
}

@keyframes heroPanLeft {
  0% {
    transform: scale(1.08) translateX(2%);
  }
  100% {
    transform: scale(1.14) translateX(-3%);
  }
}

/* =========================
   Concept intro / text
========================= */
.home-panel--concept-intro,
.home-panel--concept,
.home-panel--concept-last {
  z-index: 5;
}

.home-panel--concept-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14svh 20px 12svh;
}

.concept-intro {
  max-width: 28em;
}

.concept-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(17,17,17,.62);
}

.concept-title {
  margin: 0;
  font-size: clamp(24px, 7vw, 42px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .08em;
  color: #111;
}

.concept-text {
  position: relative;
  z-index: 3;
  max-width: 21em;
}

.concept-copy {
  margin: 0;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: .08em;
  color: rgba(17,17,17,.88);
margin-top: 15px;
}

.concept-copy + .concept-copy {
  margin-top: 14px;
}

.concept-copy--lead {
  font-size: clamp(20px, 5.4vw, 34px);
  line-height: 1.9;
  letter-spacing: .1em;
  color: #111;
}

.concept-copy--xl {
  font-size: clamp(24px, 6vw, 40px);
  line-height: 1.75;
  letter-spacing: .08em;
  color: #111;
}

/* =========================
   Concept media
========================= */
.concept-title-svg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.concept-photo,
.concept-video {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.concept-photo img,
.concept-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   Scene 2
========================= */
.home-panel[data-scene="2"] {
  padding: 14svh 20px 12svh;
}

.home-panel[data-scene="2"] .concept-text {
  padding-top: 30svh;
  padding-left: 18px;
}

.concept-photo--1 {
  top: 16svh;
  left: 16px;
  width: 45vw;
  max-width: 295px;
  aspect-ratio: 3 / 4;
}

.concept-photo--1-sub {
  position: absolute;
  right: 24px;
  bottom: 8svh;
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 1.9s cubic-bezier(.22, .61, .36, 1),
    transform 1.9s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 1.9s;
  z-index: 4;
}

.home-panel[data-scene="2"].is-extra-photo-visible .concept-photo--1-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 1.9s cubic-bezier(.22, .61, .36, 1),
    transform 1.9s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 0s;
}

/* =========================
   Scene 3
========================= */
.home-panel[data-scene="3"] {
  padding: 14svh 20px 12svh;
}

.home-panel[data-scene="3"] .concept-text {
  padding-top: 30svh;
  max-width: 18em;
}

.concept-photo--2 {
  top: 20svh;
  right: -18px;
  width: 54vw;
  max-width: 360px;
  aspect-ratio: 4 / 3;
}

.concept-video--1 {
  right: 24px;
  bottom: 12svh;
  width: 38.5vw;
  max-width: 140px;
  aspect-ratio: 3 / 4;
}


/* =========================
   Scene 4
========================= */
.home-panel[data-scene="4"] {
  padding: 14svh 20px 12svh;
}

.home-panel[data-scene="4"] .concept-text {
  padding-top: 21svh;
  max-width: 20em;
  position: relative;
  z-index: 5;
}

.concept-photo--3-main {
  right: 18px;
  bottom: 14svh;
  width: 42vw;
  max-width: 180px;
  aspect-ratio: 4 / 5;
  z-index: 3;
}

.concept-photo--3-square {
  left: 18px;
  bottom: 8svh;
  width: 68vw;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  z-index: 4;
}

.concept-photo--3-wide {
  left: 20px;
  top: 17svh;
  width: 48vw;
  max-width: 220px;
  aspect-ratio: 16 / 10;
  z-index: 4;
}

.concept-photo--3-square,
.concept-photo--3-wide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 1.5s cubic-bezier(.22, .61, .36, 1),
    transform 1.5s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 1.5s;
}

.home-panel[data-scene="4"].is-photo2-visible .concept-photo--3-square {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 1.5s cubic-bezier(.22, .61, .36, 1),
    transform 1.5s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 0s;
}

.home-panel[data-scene="4"].is-photo3-visible .concept-photo--3-wide {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 1.7s cubic-bezier(.22, .61, .36, 1),
    transform 1.7s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 0s;
}

/* =========================
   Scene 5
========================= */
.home-panel[data-scene="5"] {
  display: flex;
  align-items: center;
  padding: 14svh 20px 12svh;
}

.concept-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  width: 100%;
  align-items: center;
}

.concept-split__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.concept-split__text {
  max-width: 20em;
}
.concept-split__media img {
  display: block;
  width: 80%;
  height: 100%;
  object-fit: cover;
}
/* =========================
   Scene 6
========================= */
.home-panel[data-scene="6"] {
  display: flex;
  align-items: center;
  padding: 14svh 20px 12svh;
}

.home-panel[data-scene="6"] .concept-text {
  max-width: 19em;
}
.home-panel--dark .concept-copy,
.home-panel--dark .concept-copy--lead {
  color: #fff;
}

/* シャドウ（高級寄り） */
.home-panel--dark .concept-copy,
.home-panel--dark .concept-copy--lead {
  text-shadow:
    0 2px 8px rgba(0,0,0,0.35),
    0 8px 24px rgba(0,0,0,0.25);
}

/*=========================
   Panel animation
========================= */
.home-panel .concept-intro,
.home-panel .concept-text,
.home-panel .concept-photo:not(.concept-photo--1-sub):not(.concept-photo--3-square):not(.concept-photo--3-wide),
.home-panel .concept-video,
.home-panel .concept-split {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .9s ease .14s,
    transform .9s ease .14s;
}

.home-panel.is-active .concept-intro,
.home-panel.is-active .concept-text,
.home-panel.is-active .concept-photo:not(.concept-photo--1-sub):not(.concept-photo--3-square):not(.concept-photo--3-wide),
.home-panel.is-active .concept-video,
.home-panel.is-active .concept-split {
  opacity: 1;
  transform: translateY(0);
}

.home-panel--concept-last .concept-text {
  transition:
    opacity 1.15s ease .18s,
    transform 1.15s ease .18s;
}

/* =========================
   Safety / header relation
========================= */
.home-story,
.home-story__bg,
.home-story__hero-slides,
.home-story__hero-slide {
  pointer-events: none;
}

.home-story__content,
.home-panel,
.hero__title-wrap,
.hero__side,
.concept-intro,
.concept-text,
.concept-photo,
.concept-video,
.concept-split {
  pointer-events: none;
}

.concept-story {
  display: none;
}
/* =========================
   SVG
========================= */
.concept-title-svg {
  display: block;
  width: min(92vw, 680px);
  height: auto;
}
.concept-title-svg g {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1.05s ease,
    transform 1.05s ease;
  transform-box: fill-box;
  transform-origin: center center;
}

.home-panel.is-active .concept-title-svg.is-animated g {
  opacity: 1;
  transform: translateY(0);
}

/* 1文字ずつ遅延 */
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(1)  { transition-delay: .05s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(2)  { transition-delay: .12s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(3)  { transition-delay: .19s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(4)  { transition-delay: .26s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(5)  { transition-delay: .33s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(6)  { transition-delay: .40s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(7)  { transition-delay: .47s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(8)  { transition-delay: .54s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(9)  { transition-delay: .61s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(10) { transition-delay: .68s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(11) { transition-delay: .75s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(12) { transition-delay: .82s; }
.home-panel.is-active .concept-title-svg.is-animated g:nth-of-type(13) { transition-delay: .89s; }

/* SVG自体の色をサイト用に統一したい時 */
.concept-title-svg .o {
  fill: #231815;
}

.concept-title-svg-wrap--2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.concept-title-svg-wrap--2 svg {
  width: 90%;
  height: auto;
}


/* =========================
   Room
========================= */
.home-room {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}

.room-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
  flex-direction: column;
}

.room-subtitle {
  margin-top: 14px;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.22em;
  color: rgba(35, 24, 21, 0.5);
  text-align: center;
}


.room-title-svg {
  display: block;
width: min(62vw, 235px);
  height: auto;
}

.room-title-svg g:not(.spark) {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.room-title-svg.is-animated g:not(.spark) {
  opacity: 1;
  transform: translateY(0);
}

.room-title-svg.is-animated g:not(.spark):nth-of-type(1) { transition-delay: .05s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(2) { transition-delay: .12s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(3) { transition-delay: .19s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(4) { transition-delay: .26s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(5) { transition-delay: .33s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(6) { transition-delay: .40s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(7) { transition-delay: .47s; }
.room-title-svg.is-animated g:not(.spark):nth-of-type(8) { transition-delay: .54s; }

.room-title-svg .cls-1,
.room-title-svg path,
.room-title-svg polygon {
  fill: #231815;
}
/* =========================
   Experience用モディファイア
========================= */
.room-title-wrap--ex{
margin:40px auto;
}
.room-title-svg--ex {
  width: min(84vw, 320px);
}

/* PCで少し大きめに */
@media (min-width: 768px) {
  .room-title-svg--ex {
    width: min(46vw, 420px);
  }
}
/* =========================
   星アニメーション
========================= */
.room-title-svg .spark {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: sparkle 2.8s ease-in-out infinite;
  animation-play-state: paused;
}

.room-title-svg.is-animated .spark {
  opacity: 1;
  animation-play-state: running;
}

@keyframes sparkle {
  0% {
    transform: rotate(0deg) scale(0.96);
    opacity: 0.55;
  }
  35% {
    transform: rotate(140deg) scale(1.08);
    opacity: 1;
  }
  65% {
    transform: rotate(240deg) scale(0.98);
    opacity: 0.82;
  }
  100% {
    transform: rotate(360deg) scale(0.96);
    opacity: 0.55;
  }
}
/* =========================
   Room Layout SP
========================= */
.room-inner {
  position: relative;
  display: block;
}

.room-slider {
  position: relative;
  width: 86%;
  margin-right: auto;
  margin-left: 0;
  overflow: visible;
}

.room-swiper {
  overflow: visible;
}

.room-swiper .swiper-slide {
  aspect-ratio: 0.78 / 1;
}

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

/* ポチ */
.room-swiper .swiper-pagination {
  position: static;
  margin-top: 18px;
  text-align: left;
  padding-left: 2px;
}

.room-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 8px 0 0 !important;
  opacity: 1;
  background: rgba(35, 24, 21, 0.22);
}

.room-swiper .swiper-pagination-bullet-active {
  background: rgba(35, 24, 21, 0.72);
}

/* テキストを少し重ねる */
.room-content {
  position: relative;
  margin-top: -24px;
  margin-left: auto;
  width: 56%;
  padding-right: 6%;
  z-index: 3;
}

.room-heading {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.room-text {
  font-size: 14px;
  line-height: 1.95;
margin-top:20px;
}
/* =========================
   Room Horizontal Gallery
========================= */
.room-gallery-scroll {
  margin-top: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.room-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.room-gallery-track {
  display: flex;
  gap: 12px;
  padding-left: 0;
  padding-right: 6vw;
  width: max-content;
}

.room-gallery-item {
  flex: 0 0 auto;
  width: 38vw;
  max-width: 180px;
  aspect-ratio: 0.72 / 1;
  margin: 0;
  overflow: hidden;
  background: transparent;

  /* 登場アニメーション初期 */
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

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

/* 表示 */
.room-gallery-scroll.is-animated .room-gallery-item {
  opacity: 1;
  transform: translateX(0);
}

/* ぱらぱら遅延 */
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(1) { transition-delay: .05s; }
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(2) { transition-delay: .15s; }
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(3) { transition-delay: .25s; }
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(4) { transition-delay: .35s; }
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(5) { transition-delay: .45s; }
.room-gallery-scroll.is-animated .room-gallery-item:nth-child(6) { transition-delay: .55s; }


/* =========================
   Room Features
========================= */

.room-features > * {
  position: relative;
  z-index: 1;
}
.room-feature + .room-feature {
  margin-top: 88px;
}

.room-feature__text {
 margin: 0 20px 26px;
}

.room-feature__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(35, 24, 21, 0.45);
}

.room-feature__title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: #231815;
}

.room-feature__desc {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(35, 24, 21, 0.88);
}

.room-feature__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
}

.room-feature__main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.room-feature__main-image.is-active {
  opacity: 1;
}

.room-feature__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.room-feature__thumb {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity .35s ease, transform .35s ease;
}

.room-feature__thumb.is-active {
  opacity: 1;
}

.room-feature__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}


/* =========================
   Room Features base
========================= */
.room-features {
  position: relative;
  isolation: isolate;
  padding: 30px 0 110px;
  background: #f7f4ef;
  overflow: hidden;
}

.room-features > * {
  position: relative;
  z-index: 2;
}

/* 背景画像レイヤー */
.room-features::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/v105-6-scaled.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 1.2s ease;
}

/* ダークオーバーレイ */
.room-features::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)),
    url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/vv40-6-scaled.webp') center center / cover no-repeat,
    linear-gradient(
      180deg,
      rgba(47, 55, 50, 0.92) 0%,
      rgba(31, 38, 34, 0.96) 100%
    ),
    url('https://varie-fuji-terrace.com/wp-content/uploads/2026/03/vv8-6-scaled.webp') repeat;

  background-size:
    auto,
    cover,
    auto,
    160px 40px;

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    repeat;

  background-position:
    center center,
    center center,
    center center,
    center center;

  background-blend-mode:
    screen,
    soft-light,
    normal,
    darken;

  opacity: 0;
  filter: blur(10px);
  transform: scale(1.02);
  transition:
    opacity 1.2s ease,
    filter 1.2s ease,
    transform 1.2s ease;
  pointer-events: none;
}

/* ダーク切り替え時 */
.room-features.is-dark-mode::after {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
/* =========================
   Text color transition
========================= */
.room-features .room-features-title-wrap,
.room-features .room-features-subtitle,
.room-features .room-feature__eyebrow,
.room-features .room-feature__title,
.room-features .room-feature__desc {
  transition:
    color .9s ease,
    opacity .9s ease;
}

/* 通常時 */
.room-features .room-features-subtitle {
  color: rgba(35, 24, 21, 0.72);
}

.room-features .room-feature__eyebrow {
  color: rgba(35, 24, 21, 0.58);
}

.room-features .room-feature__title {
  color: #231815;
}

.room-features .room-feature__desc {
  color: rgba(35, 24, 21, 0.82);
}

/* ダーク時 */
.room-features.is-dark-mode .room-features-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.room-features.is-dark-mode .room-feature__eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.room-features.is-dark-mode .room-feature__title {
  color: #f8f5ef;
}

.room-features.is-dark-mode .room-feature__desc {
  color: rgba(255, 255, 255, 0.82);
}

/* SVG色も白寄せ */
.room-features .room-features-title-svg path,
.room-features .room-features-title-svg .cls-1 {
  transition: fill .9s ease;
  fill: #231815;
}

.room-features.is-dark-mode .room-features-title-svg path,
.room-features.is-dark-mode .room-features-title-svg .cls-1 {
  fill: #f8f5ef;
}

/* サムネイルや画像の境界も少し明るく */
.room-features .room-feature__thumb {
  transition:
    border-color .8s ease,
    opacity .8s ease,
    transform .4s ease;
}

.room-features.is-dark-mode .room-feature__thumb {
  border-color: rgba(255, 255, 255, 0.22);
}

/* メイン画像が暗背景で沈みすぎないように少し浮かせる */
.room-features .room-feature__main,
.room-features .room-feature__thumbs {
  transition: box-shadow .8s ease;
}

.room-features.is-dark-mode .room-feature__main {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.room-features.is-dark-mode .room-feature__thumbs {
  box-shadow: none;
}


.room-features-inner {
  position: relative;
  z-index: 2;
}

.room-features.is-dark-mode::before {
  transform: scale(1.01);
  filter: saturate(0.8) brightness(0.72);
  transition:
    transform 1.2s ease,
    filter 1.2s ease;
}

.room-features::before {
  transform: scale(1);
  filter: saturate(1) brightness(1);
  transition:
    transform 1.2s ease,
    filter 1.2s ease,
    opacity 1.2s ease;
}
/* =========================
   Room Features Title
========================= */
.room-features-head {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 72px;
}

.room-features-title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;

  opacity: 0;
  transform: translateX(-36px);
  filter: blur(8px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    filter 1.2s ease;
}

.room-features-title-wrap.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.room-features-title-svg-wrap {
  width: min(100%, 240px);
  line-height: 0;
}

.room-features-title-svg {
  display: block;
  width: 100%;
  height: auto;
}

.room-features-title-svg path,
.room-features-title-svg .cls-1 {
  fill: #231815;
}

.room-features-subtitle {
  margin: 0;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: rgba(35, 24, 21, 0.72);
}


/* =========================
   Experience Story
========================= */
.experience-story {
  padding: 0 0 120px;
  background: #f7f4ef;
  overflow: hidden;
}

.experience-story__inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.experience-story__head {
  text-align: center;
  margin-bottom: 70px;
}


.experience-story__lead {
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: rgba(35, 24, 21, 0.68);
}

/* =========================
   Item
========================= */
.exp-item {
  position: relative;
  margin-bottom: 90px;
}

.exp-item__media {
  position: relative;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

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

/* 写真サイズバリエーション */
.exp-item--tall .exp-item__media {
  width: min(74vw, 320px);
  aspect-ratio: 4 / 5.2;
}

.exp-item--square .exp-item__media {
  width: min(68vw, 280px);
  aspect-ratio: 1 / 1;
}

.exp-item--wide .exp-item__media {
  width: min(78vw, 330px);
  aspect-ratio: 1.3 / 1;
}

.exp-item--portrait .exp-item__media {
  width: min(66vw, 260px);
  aspect-ratio: 3.8 / 5.4;
}

/* 交互配置ベース */
.exp-item--right .exp-item__media {
  margin-left: 0;
  margin-right: auto;
}

.exp-item--left .exp-item__media {
  margin-left: auto;
  margin-right: 0;
}

/* テキスト */
.exp-item__text {
  position: relative;
  z-index: 2;
  width: min(72vw, 290px);
  margin-top: -24px;
  padding: 0 8px;
}

.exp-item--right .exp-item__text {
  margin-left: auto;
  text-align: left;
}

.exp-item--left .exp-item__text {
  margin-right: auto;
  text-align: left;
}

.exp-item__time {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: rgba(35, 24, 21, 0.5);
margin-top:35px;
}



/* SVG時間本体 */
.exp-item__time {
  margin-top: 35px;
}

.exp-item__time-svg {
  width: 74px;
  max-width: 100%;
  line-height: 0;
}

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

.exp-time-svg .w {
  fill: #231815;
  stroke: #231815;
}

/* 文字ごとの初期状態 */
.exp-time-svg g {
  opacity: 0;
  filter: blur(1.5px);
  transition:
    opacity 0.16s linear,
    filter 0.18s ease;
  will-change: opacity, filter;
}

/* 発火後 */
.exp-item.is-inview .exp-time-svg g {
  opacity: 1;
  filter: blur(0);
}

/* タイプ風の順番 */
.exp-item.is-inview .exp-time-svg g:nth-of-type(1) { transition-delay: 0.00s; }
.exp-item.is-inview .exp-time-svg g:nth-of-type(2) { transition-delay: 0.08s; }
.exp-item.is-inview .exp-time-svg g:nth-of-type(3) { transition-delay: 0.16s; }
.exp-item.is-inview .exp-time-svg g:nth-of-type(4) { transition-delay: 0.24s; }
.exp-item.is-inview .exp-time-svg g:nth-of-type(5) { transition-delay: 0.32s; }

.exp-item__heading {
  margin-top: 8px;
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #231815;
}

.exp-item__desc {
  margin-top: 12px;
  font-size: clamp(13px, 3.5vw, 14px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: rgba(35, 24, 21, 0.72);
}

/* =========================
   Next day
========================= */
.exp-nextday {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px 0 72px;
}

.exp-nextday__line {
  width: 48px;
  height: 1px;
  background: rgba(35, 24, 21, 0.18);
}

.exp-nextday__label {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(35, 24, 21, 0.46);
}
/* =========================
   Experience cinematic
========================= */
.experience-story {
  position: relative;
  background: #f7f4ef;
  color: #231815;
  transition:
    background-color 1.15s ease,
    color 1.15s ease;
}

/* 背景オーバーレイ */
.experience-story::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 198, 142, 0.22), transparent 42%),
    linear-gradient(to bottom, rgba(191, 118, 62, 0.18), rgba(83, 45, 29, 0.32));
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.04);
}

.experience-story.is-sunset {
  background: #b78161;
  color: #fffaf4;
}

.experience-story.is-sunset::before {
  opacity: 1;
  transform: scale(1);
}

/* グリーンブラック */
.experience-story.is-nightgreen {
  background: #222e29;
  color: #f3f0e8;
}

.experience-story.is-nightgreen::before {
  opacity: 1;
  transform: scale(1);
  background:
    radial-gradient(circle at 50% 30%, rgba(96, 138, 112, 0.12), transparent 36%),
    linear-gradient(to bottom, rgba(28, 42, 36, 0.22), rgba(10, 14, 12, 0.42));
}

/* 文字色反転 */
.experience-story.is-sunset .experience-story__lead,
.experience-story.is-nightgreen .experience-story__lead,
.experience-story.is-sunset .exp-item__heading,
.experience-story.is-nightgreen .exp-item__heading,
.experience-story.is-sunset .exp-item__desc,
.experience-story.is-nightgreen .exp-item__desc,
.experience-story.is-sunset .exp-nextday__label,
.experience-story.is-nightgreen .exp-nextday__label {
  color: rgba(255,255,255,0.92);
}

.experience-story.is-sunset .exp-nextday__line,
.experience-story.is-nightgreen .exp-nextday__line {
  background: rgba(255,255,255,0.34);
}

.experience-story.is-sunset .exp-time-svg .w,
.experience-story.is-nightgreen .exp-time-svg .w {
  fill: #fffdf8;
  stroke: #fffdf8;
}

/* =========================
   Item reveal
========================= */
.exp-item {
  position: relative;
  z-index: 1;
}

/* 写真ぼわっと登場 */
.exp-item__media {
  transform: translateY(34px) scale(0.965);
  opacity: 0;
  filter: blur(14px);
  transition:
    transform 1.15s cubic-bezier(.22,.61,.36,1),
    opacity 0.95s ease,
    filter 1.1s ease,
    box-shadow 1s ease;
}

.exp-item.is-inview .exp-item__media {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

/* 写真に軽いベール */
.exp-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.18), rgba(255,255,255,0));
  opacity: 1;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.exp-item.is-inview .exp-item__media::after {
  opacity: 0;
}
/* =========================
   Text reveal
========================= */

.exp-item__text {
  opacity: 1;
  transform: none;
}

.exp-item__heading,
.exp-item__desc {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.exp-item__heading {
  transition-delay: 0.22s;
}

.exp-item__desc {
  transition-delay: 0.34s;
}

.exp-item.is-inview .exp-item__heading,
.exp-item.is-inview .exp-item__desc {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Next day stage
========================= */
.exp-nextday {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.exp-nextday--stage {
  min-height: 68vh;
  margin: 40px 0 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: scale(0.9);
  opacity: 0;
  transition:
    transform 1.2s cubic-bezier(.22,.61,.36,1),
    opacity 0.8s ease;
}
.exp-nextday--stage::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.54), rgba(255,255,255,0) 60%);
  transform: scale(1.18);
  opacity: 0;
  transition:
    transform 1.4s cubic-bezier(.22,.61,.36,1),
    opacity 1.1s ease;
}

.exp-nextday.is-inview {
  opacity: 1;
  transform: scale(1);
}

.exp-nextday.is-inview::before {
  opacity: 1;
  transform: scale(1);
}

/* ラベルを左から */
.exp-nextday__label {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(.22,.61,.36,1);
  transition-delay: 0.22s;
}

.exp-nextday.is-inview .exp-nextday__label {
  opacity: 1;
  transform: translateX(0);
}

.exp-nextday__line {
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(.22,.61,.36,1);
}

.exp-nextday.is-inview .exp-nextday__line {
  opacity: 1;
  transform: scaleX(1);
}

/* Next day直後の朝2件をより柔らかく */
.exp-nextday-group .exp-item__media {
  transition-duration: 1.35s;
}

.exp-nextday-group .exp-item__text {
  transition-duration: 1.05s;
}
.experience-story.is-nextday-mode {
  background: #f7f4ef;
  color: #231815;
}

.experience-story.is-nextday-mode::before {
  opacity: 0;
  transform: scale(1.04);
}
/* =========================
   View
========================= */
.room-title-svg--view {
width: min(46vw, 300px); 
}

.concept-title-svg-wrap svg,
.concept-title-svg-wrap svg * {
  fill: #111 !important;
  stroke: none !important;
  filter: none !important;
}
/* =========================
   PC
========================= */
@media (min-width: 769px) {
  .hero__title-wrap {
    left: clamp(24px, 4vw, 130px);
    bottom: clamp(200px, 5vw, 350px);
    max-width: 40%;
  }
  .exp-item__time-svg {
    width: 88px;
  }
  .exp-nextday--stage {
    min-height: 62vh;
    margin: 40px 0 120px;
  }

  .exp-nextday__label {
    font-size: 18px;
    letter-spacing: 0.28em;
  }

  .exp-nextday__line {
    width: 110px;
  }

  .home-room {
    padding: 120px 0 0x;
  }

  .room-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: center;
  }

  .room-slider {
    width: 100%;
    margin: 0;
  }

  .room-swiper .swiper-slide {
    aspect-ratio: 1.18 / 0.92;
  }

  .room-swiper .swiper-pagination {
    margin-top: 20px;
    text-align: left;
    padding-left: 0;
  }

  .room-content {
    width: auto;
    margin: 0;
    padding: 0 5vw 0 4vw;
  }

  .room-heading {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .room-text {
    font-size: 16px;
    line-height: 2;
max-width: 480px;
  }
  .room-gallery-scroll {
    margin-top: 64px;
    overflow: visible;
  }

  .room-gallery-track {
    gap: 20px;
    padding-right: 0;
    width: 100%;
  }

  .room-gallery-item {
    width: min(18vw, 240px);
    max-width: none;
  }
  .room-features {
    margin-top: 120px;
  }

  .room-features {
    margin-top: 120px;
    padding: 150px 0 120px;
  }

  .room-features-head {
width: min(1250px, calc(100% - 60px));
    margin: 0 auto 72px;
  }

  .room-features-inner {
width: min(1250px, calc(100% - 60px));
    margin: 0 auto;
  }

  .room-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 0.98fr);
    gap: 36px;
    align-items: center;
  }
 .room-feature + .room-feature {
    margin-top: 96px;
  }

  .room-feature__text {
    position: relative;
    padding-left: 32px;

    /* デフォルト（白背景用） */
    --line-thin: rgba(35, 24, 21, 0.28);
    --line-thick: rgba(35, 24, 21, 0.7);
  }

  /* ダークモード時 */
  .room-features.is-dark-mode .room-feature__text {
    --line-thin: rgba(255,255,255,0.4);
    --line-thick: rgba(255,255,255,0.85);
  }


  .room-feature__text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 10px;

    background:
      linear-gradient(
        to right,
        var(--line-thin) 0px,
        var(--line-thin) 3px,
        transparent 1px,
        transparent 4px,
        var(--line-thick) 4px,
        var(--line-thick) 8px,
        transparent 8px
      );

    transition: background 0.8s ease;
  }
 

  .room-feature__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .room-feature__title {
    margin: 0 0 16px;
    font-size: clamp(25px, 2.1vw, 31px);
    line-height: 1.42;
  }

  .room-feature__desc {
    max-width: 34em;
    font-size: 14px;
    line-height: 2;
  }

  .room-feature__media {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
  }

  .room-feature__main {
    aspect-ratio: 1.72 / 1;
    border-radius: 0;
    overflow: hidden;
  }

  .room-feature__thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
  }

  .room-feature__thumb img {
    aspect-ratio: 1.6 / 1;
  }

  .experience-story {
    padding: 0 0 160px;
  }

  .experience-story__inner {
    width: min(100% - 120px, 1200px);
  }

  .experience-story__head {
    margin-bottom: 110px;
  }

  .exp-item {
    min-height: 420px;
    margin-bottom: 110px;
  }

  .exp-item__text {
    position: absolute;
    bottom: -10px;
    width: min(34vw, 370px);
    margin-top: 0;
    padding: 0;
  }

  .exp-item--right .exp-item__media {
margin:0 auto 40px 110px;
  }

  .exp-item--right .exp-item__text {
    right: 90px;
    left: auto;
  }

  .exp-item--left .exp-item__media {
    margin-right: 110px;
    margin-left: auto;
  }

  .exp-item--left .exp-item__text {
    left: 90px;
    right: auto;
  }

  .exp-item--tall .exp-item__media {
    width: min(34vw, 420px);
  }

  .exp-item--square .exp-item__media {
    width: min(30vw, 360px);
  }

  .exp-item--wide .exp-item__media {
    width: min(40vw, 520px);
  }

  .exp-item--portrait .exp-item__media {
    width: min(28vw, 330px);
  }

  .exp-item__time {
    font-size: 15px;
  }

  .exp-item__heading {
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1.6;
  }

  .exp-item__desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 2.05;
  }

  .exp-nextday {
    margin: 26px 0 95px;
    gap: 20px;
  }

  .exp-nextday__line {
    width: 72px;
  }

.concept-title-svg-wrap--2 {
    justify-content: left;}
.concept-title-svg-wrap--2 svg {
    width: 120%;
}
  .home-story {
    height: 620vh;
  }


  .hero__side {
    right: clamp(78px, 8vw, 140px);
    width: clamp(62px, 8vw, 100px);
  }

  .hero__vertical-copy {
    gap: 12px;
  }

  .hero__copy-line {
    font-size: clamp(14px, 1.3vw, 20px);
    line-height: 1.9;
  }

  .hero__copy-line--2 {
    margin-top: 46px;
  }

  .home-panel--concept-intro {
    padding: 14vh 7vw 12vh;
  }

  .concept-title {
    font-size: clamp(30px, 4vw, 58px);
  }

  .concept-text {
    max-width: 30em;
  }

  .concept-copy {
    line-height: 2.15;
    font-size: 16px;
  }
.concept-copy--lead {
    font-size: 28px !important;}

  /* scene 2 */
  .home-panel[data-scene="2"] {
    padding: 14vh 7vw 12vh;
  }

  .home-panel[data-scene="2"] .concept-text {
    padding-left: 30vw;
    padding-top: 18vh;
  }


  .concept-photo--1 {
    top: clamp(120px, 16vh, 170px);
    left: clamp(26px, 1.15vw, 36px);
    width: clamp(250px, 44vw, 500px);
    max-width: none;
    aspect-ratio: 3 / 4;
  }
  .concept-photo--1-sub {
    right: clamp(70px, 10vw, 180px);
    bottom: clamp(60px, 8vh, 120px);
    width: clamp(420px, 38vw, 720px);
  }

  /* scene 3 */
  .home-panel[data-scene="3"] .concept-text {
    padding-top: 24vh;
    padding-left: 16vw;
    max-width: 26em;
  }

  .concept-photo--2 {
    top: clamp(90px, 13vh, 180px);
    right: clamp(120px, 15vw, 260px);
    width: clamp(320px, 50vw, 550px);
    max-width: none;
  }

.concept-video--1 {
  right: clamp(120px, 28vw, 360px);
  bottom: clamp(20px, 4vh, 70px);
  width: clamp(260px, 26vw, 420px);
max-width: 220px;
}
  /* scene 4 */
  .home-panel[data-scene="4"] .concept-text {
    padding-top: 18vh;
    padding-left: 12vw;
    max-width: 28em;
  }

  .concept-photo--3-main {
    right: clamp(80px, 10vw, 180px);
    bottom: clamp(48px, 7vh, 110px);
    width: clamp(300px, 32vw, 520px);
    max-width: none;
  }

  .concept-photo--3-square {
    left: clamp(120px, 16vw, 260px);
    bottom: clamp(70px, 11vh, 150px);
    width: clamp(180px, 20vw, 300px);
    max-width: none;
  }

  .concept-photo--3-wide {
    left: clamp(220px, 48vw, 530px);
    top: clamp(420px, 75vh, 760px);
    width: clamp(220px, 34vw, 300px);
    max-width: none;
  }

  /* scene 5 */
  .home-panel[data-scene="5"] {
    padding: 14vh 7vw 12vh;
  }

  .concept-split {
    grid-template-columns: minmax(520px, 700px) 1fr;
    gap: min(8vw, 110px);
  }

  .concept-split__media {
    transform: scale(1.1);
    transform-origin: center;
  }

  .concept-split__text {
    max-width: 26em;
  }

  /* scene 6 */
  .home-panel[data-scene="6"] {
    padding: 14vh 7vw 12vh;
  }

  .home-panel[data-scene="6"] .concept-text {
    padding-left: 12vw;
    max-width: 36em;
  }

  .home-panel--concept-intro .concept-title-svg-wrap {
    width: 100%;
    margin: 0 auto;
  }

  .home-panel--concept-intro .concept-title-svg {
    margin: 0 auto;
  }
}


/* =========================
  SP
========================= */
@media (max-width: 767px) {
.hero__title-wrap {
    bottom: 130px;
}
.hero__title {
    letter-spacing: 2.5px;
color: var(--color-bg);
    font-size: 22px;
margin-top: 20px;
line-height: 1.6;
}
.room-title-svg--view {
width: min(41vw, 320px);
}
.experience-story {
    padding: 0 0 20px}

.hero__scroll {
    right: 20px;
    bottom: 80px;
    width: 35px;
  }
  .room-features-head {
    width: calc(100% - 32px);
    margin: 0 auto 44px;
  }

  .room-features-title-wrap {
    gap: 10px;
    transform: translateX(-20px);
  }

  .room-features-title-svg-wrap {
    width: min(100%, 188px);
  }

  .room-features-subtitle {
    font-size: 11px;
    letter-spacing: 0.16em;
    line-height: 1.8;
margin: 0 0 0 5px;
  }
.room-title-svg--ex {
  width: min(52vw, 320px)!important;
}

  .room-title-svg {
width: min(42vw, 320px);
  }

.home-room{
padding: 58px 0 96px;
}
.room-title-wrap {
  margin-bottom: 33px;
}
  .room-feature {
    display: flex;
    flex-direction: column;
  }

  .room-feature__media {
    order: 1;
    margin-bottom: 22px;
  }

  .room-feature__text {
    order: 2;
    margin-bottom: 0;
  }
}

.section-scroll-buffer {
  display: none;
}
/* =========================
   Concept title text (EN)
========================= */
.concept-title-text-wrap {
  width: 100%;
}

.concept-title-text {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* scene 1 */
.concept-title-text--intro {
  font-size: clamp(30px, 5.2vw, 74px);
}

