/* ==================================================
   LOWER PAGE COMMON
================================================== */

.lower-page {
  overflow-x: clip;
  overflow-y: visible;
}

.lower-page img {
  display: block;
  width: 100%;
  height: auto;
}

.lower-page figure {
  margin: 0;
}

.lower-page p,
.lower-page h1,
.lower-page h2,
.lower-page h3,
.lower-page h4 {
  margin-top: 0;
}


/* ==================================================
   PAGE HERO
   PC
================================================== */

.page-hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  padding: 0;
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.page-hero__visual {
  position: absolute;
  top: 0;
  left: 50%;
  width: 33.333%;
  height: 100%;
  overflow: hidden;
  transform: translateX(-50%);
}

.page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__heading {
  position: absolute;
  top: 48%;
  left: 8%;
  z-index: 2;
  width: 350px;
  margin: 0;
  transform: translateY(-50%);
}

.page-hero__title {
  position: relative;
  margin: 0;
  padding: 0 15px 8px;
  font-family: var(--mincho);
  font-size: clamp(64px, 5.8vw, 105px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-hero__title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
}

.page-hero__subtitle {
  margin: 12px 0 0;
  padding-left: 15px;
  overflow: hidden;
  font-family: var(--mincho);
  font-size: 35px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}


/* ==================================================
   PAGE HERO
   TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .page-hero__visual {
    width: 45%;
  }

  .page-hero__heading {
    left: 6%;
  }

}


/* ==================================================
   PAGE HERO
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .page-hero {
    min-height: 600px;
  }

  .page-hero__visual {
    width: 68%;
  }

  .page-hero__heading {
    top: 44%;
    left: 6%;
    width: min(72vw, 280px);
  }

  .page-hero__title {
    padding: 0 8px 6px;
    font-size: clamp(48px, 16vw, 72px);
    line-height: 0.9;
  }

  .page-hero__subtitle {
    margin-top: 8px;
    padding-left: 8px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

}


/* ==================================================
   PAGE HERO TITLE ANIMATION
================================================== */

.page-hero__title-mask {
  display: block;
  overflow: hidden;
}

.page-hero__title-text {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation:
    hero-title-rise 1s cubic-bezier(0.22, 1, 0.36, 1)
    0.85s forwards;
}

.page-hero__title::after {
  transform: scaleX(0);
  transform-origin: left center;
  animation:
    hero-line-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1)
    0.15s forwards;
}

.page-hero__subtitle-text {
  display: block;
  opacity: 0;
  transform: translateX(-35px);
  animation:
    hero-subtitle-show 0.8s cubic-bezier(0.22, 1, 0.36, 1)
    1.75s forwards;
}


/* ==================================================
   PAGE HERO KEYFRAMES
================================================== */

@keyframes hero-line-grow {

  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }

}

@keyframes hero-title-rise {

  0% {
    opacity: 0;
    transform: translateY(110%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes hero-subtitle-show {

  0% {
    opacity: 0;
    transform: translateX(-35px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }

}


/* ==================================================
   PAGE INTRO
   PC
================================================== */

.page-intro {
  padding: 110px 0 140px;
}

.page-intro__inner {
  width: min(calc(100% - 80px), 1400px);
  margin: 0 auto;
}

.page-intro__content {
  text-align: center;
}

.page-intro__title {
  margin: 0 0 45px;
  font-family: var(--mincho);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.page-intro__text {
  margin: 0;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.08em;
}


/* ==================================================
   PAGE INTRO
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .page-intro {
    padding: 65px 0 85px;
  }

  .page-intro__inner {
    width: calc(100% - 40px);
  }

  .page-intro__title {
    margin-bottom: 28px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }

  .page-intro__text {
    font-size: 14px;
    line-height: 2.1;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .page-intro__text br {
    display: none;
  }

}


/* ==================================================
   SECTION HEADING
   PC
================================================== */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 150px;
  padding-bottom: 28px;
  border-bottom: 1px solid #111;
}

.section-heading__main {
  display: flex;
  align-items: center;
  gap: 28px;
}

.section-heading__icon {
  flex: 0 0 auto;
  width: 100px;
}

.section-heading__icon img {
  width: 100%;
  height: auto;
}

.section-heading__text {
  flex: 1;
}

.section-heading__title {
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(42px, 4.5vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.section-heading__subtitle {
  margin: 16px 0 0;
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.section-heading__lead {
  flex: 0 0 auto;
  margin: 0 0 4px;
  font-family: var(--mincho);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-align: right;
}


/* ==================================================
   SECTION HEADING
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .section-heading {
    display: block;
    margin-top: 85px;
    padding-bottom: 18px;
  }

  .section-heading__main {
    gap: 16px;
  }

  .section-heading__icon {
    width: 62px;
  }

  .section-heading__title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1;
  }

  .section-heading__subtitle {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .section-heading__lead {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: left;
  }

}


/* ==================================================
   FACILITY SECTION
================================================== */

.facility-section {
  position: relative;
  padding-bottom: 150px;
}

@media screen and (max-width: 767px) {

  .facility-section {
    padding-bottom: 90px;
  }

}


/* ==================================================
   FACILITY SECTION HEADING
   PC
================================================== */

.section-heading--facility {
  display: block;
  width: min(calc(100% - 80px), 900px);
  margin: 0 auto;
  padding: 100px 0 55px;
  border-bottom: 0;
  text-align: center;
}

.section-heading--facility .section-heading__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.section-heading--facility .section-heading__icon {
  width: 82px;
}

.section-heading--facility .section-heading__text {
  flex: 0 1 auto;
  text-align: left;
}

.section-heading--facility .section-heading__title {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 46px);
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.section-heading--facility .section-heading__subtitle {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
}

.section-heading--facility .section-heading__lead {
  margin: 38px 0 0;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-align: center;
}


/* ==================================================
   FACILITY SECTION HEADING
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .section-heading--facility {
    display: block;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 65px 0 38px;
  }

  .section-heading--facility .section-heading__main {
    gap: 16px;
  }

  .section-heading--facility .section-heading__icon {
    width: 58px;
  }

  .section-heading--facility .section-heading__title {
    font-size: clamp(25px, 8vw, 36px);
    letter-spacing: 0.08em;
  }

  .section-heading--facility .section-heading__subtitle {
    margin-top: 8px;
    font-size: 12px;
  }

  .section-heading--facility .section-heading__lead {
    margin-top: 26px;
    font-size: 18px;
    text-align: center;
  }

}


/* ==================================================
   FACILITY SCROLL ANIMATION
   PC
================================================== */

.facility-scroll {
  position: relative;
  z-index: 1;
  height: 300vh;

  /*
   * 最後の1画面分を後続コンテンツと重ねる。
   * これにより、画像が上へ流れず、
   * 次の内容が下から覆いかぶさる。
   */
  margin-bottom: -100vh;
  overflow: visible;
}

.facility-scroll__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.facility-scroll .facility-main-visual {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.facility-scroll .facility-main-visual__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
}

.facility-scroll .facility-main-visual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.facility-scroll .facility-main-visual__content {
  --facility-text-progress: 0;
  --facility-text-exit-progress: 0;

  position: absolute;
  top: 50%;
  left: 5.5%;
  z-index: 2;
  width: 38%;
  padding: 0;
  color: #fff;
  background: none;
  opacity:
    calc(
      var(--facility-text-progress) *
      (1 - var(--facility-text-exit-progress))
    );
  transform:
    translateY(
      calc(
        -50%
        + (1 - var(--facility-text-progress)) * 55vh
        - var(--facility-text-exit-progress) * 55vh
      )
    );
  will-change: transform, opacity;
}

.facility-scroll .facility-main-visual__content p {
  margin: 0;
  font-size: 18px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.facility-scroll .facility-main-visual__content p strong {
  font-size: 22px;
}

.facility-scroll .facility-main-visual__content p + p {
  margin-top: 18px;
}


/* ==================================================
   FACILITY SCROLL ANIMATION
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .facility-scroll {
    height: 300vh;
  }

  .facility-scroll__sticky {
    height: 100svh;
  }

  .facility-scroll .facility-main-visual__image img {
    object-position: center;
  }

.facility-scroll .facility-main-visual__content {
  top: auto;
  right: auto;
  bottom: 25%;
  left: 7%;
  width: 86%;
  opacity:
    calc(
      var(--facility-text-progress) *
      (1 - var(--facility-text-exit-progress))
    );
  transform:
    translateY(
      calc(
        (1 - var(--facility-text-progress)) * 45vh
        - var(--facility-text-exit-progress) * 45vh
      )
    );
}
/*背景画像黒透過グラデ*/
  .facility-scroll .facility-main-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
background:
  linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.34) 50%,
    rgba(0, 0, 0, 0.14) 70%,
    rgba(0, 0, 0, 0) 84%
  );
  }

  .facility-scroll .facility-main-visual__content {
    z-index: 2;
    background: none;
    text-shadow:
      0 2px 5px rgba(0, 0, 0, 0.75),
      0 6px 14px rgba(0, 0, 0, 0.45);
  }
	/**/
  .facility-scroll .facility-main-visual__content p {
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.03em;
  }

  .facility-scroll .facility-main-visual__content p strong {
    font-size: 15px;
  }

  .facility-scroll .facility-main-visual__content p + p {
    margin-top: 10px;
  }

  .facility-scroll .facility-main-visual__content br {
    display: block;
  }
	
	
	/*各section　頭部の調整*/
	#spa-resting-space .section-heading.section-heading--characters{
		        padding-top: 0px;
		margin-top: 60px;
	}
}


/* ==================================================
   FACILITY GALLERY
   PC
================================================== */

.facility-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: min(calc(100% - 80px), 1400px);
  margin: 150px auto 0;
}

.facility-gallery__item {
  aspect-ratio: 680 / 430;
  overflow: hidden;
}

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


/* ==================================================
   FACILITY GALLERY
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .facility-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 30px);
    margin-top: 55px;
  }

  .facility-gallery__item {
    aspect-ratio: 750 / 500;
  }

}


/* ==================================================
   FACILITY LAYOUT
   PC
================================================== */

.facility-layout {
  width: min(calc(100% - 80px), 1100px);
  margin: 100px auto 0;
}

.facility-layout__image {
  width: 100%;
}

.facility-layout__image img {
  width: 100%;
  height: auto;
}


/* ==================================================
   FACILITY LAYOUT
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .facility-layout {
    width: calc(100% - 40px);
    margin-top: 55px;
  }

}


/* ==================================================
   FACILITY SINGLE VISUAL
   PC
================================================== */

.facility-single-visual {
  width: min(calc(100% - 80px), 1400px);
  margin: 70px auto 0;
}

.facility-single-visual__image {
  width: 100%;
  aspect-ratio: 1400 / 820;
  overflow: hidden;
}

.facility-single-visual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-single-visual__caption {
  margin: 0;
  padding-top: 28px;
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-align: center;
}


/* ==================================================
   FACILITY SINGLE VISUAL
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .facility-single-visual {
    width: calc(100% - 30px);
    margin-top: 40px;
  }

  .facility-single-visual__image {
    aspect-ratio: 750 / 580;
  }

  .facility-single-visual__caption {
    padding-top: 20px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

}


/* ==================================================
   SECTION HEADING WITH CHARACTERS
   PC
================================================== */

.section-heading--characters {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 35px;
  width: min(calc(100% - 80px), 1000px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--characters .section-heading__character {
  flex: 0 0 auto;
  width: 120px;
}

.section-heading--characters .section-heading__text {
  flex: 0 1 auto;
}

.section-heading--characters .section-heading__title {
  white-space: nowrap;
}


/* ==================================================
   RESTING SPACE HEADING
   PC
================================================== */

.section-heading--resting {
  width: min(calc(100% - 80px), 760px);
  gap: 28px;
  padding-top: 80px;
  padding-bottom: 45px;
  border-bottom: 0;
}

.section-heading--resting .section-heading__character {
  width: 95px;
}

.section-heading--resting .section-heading__title {
  font-size: clamp(26px, 2.1vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.18em;
}

.section-heading--resting .section-heading__subtitle {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-align: center;
}


/* ==================================================
   RESTING SPACE HEADING
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .section-heading--characters {
    gap: 10px;
    width: calc(100% - 30px);
  }

  .section-heading--characters .section-heading__character {
    width: 58px;
  }

  .section-heading--characters .section-heading__title {
    white-space: normal;
  }

  .section-heading--characters .section-heading__subtitle {
    font-size: 12px;
  }

  .section-heading--resting {
    width: calc(100% - 30px);
    gap: 10px;
    padding-top: 60px;
    padding-bottom: 32px;
  }

  .section-heading--resting .section-heading__character {
    width: 54px;
  }

  .section-heading--resting .section-heading__title {
    font-size: clamp(20px, 6.4vw, 28px);
    letter-spacing: 0.12em;
  }

  .section-heading--resting .section-heading__subtitle {
    margin-top: 8px;
    font-size: 12px;
  }

}


/* ==================================================
   INFORMATION SECTION
   PC
================================================== */

.information-section {
  position: relative;
  padding: 140px 0;
}

.information-section__inner {
  width: min(calc(100% - 80px), 1400px);
  margin: 0 auto;
  border: 1px solid #fff;
}

.information-section__title {
  margin: 0 0 70px;
  padding-top: 70px;
  font-family: var(--mincho);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
}


/* ==================================================
   INFORMATION COLUMNS
   PC
================================================== */

.information-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.information-columns__item {
  display: flex;
  flex-direction: column;
  gap: 36px;
}


/* ==================================================
   INFORMATION BLOCK
   PC
================================================== */

.information-block {
  padding: 38px 40px 42px;
  border: 1px solid #111;
}

.information-block__title {
  margin: 0 0 26px;
  color: #ffff00;
  font-family: var(--mincho);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.information-block__text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.information-block__text p {
  margin: 0;
}

.information-block__text p + p {
  margin-top: 24px;
}

.information-block__subtitle {
  margin: 24px 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.information-block__subtitle:first-child {
  margin-top: 0;
}


/* ==================================================
   INFORMATION SECTION
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  .information-section {
    padding: 85px 0;
  }

  .information-section__inner {
    width: calc(100% - 30px);
  }

  .information-section__title {
    margin-bottom: 42px;
    padding-top: 42px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .information-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .information-columns__item {
    gap: 24px;
  }

  .information-block {
    padding: 26px 22px 30px;
  }

  .information-block__title {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.05em;
  }

  .information-block__text {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .information-block__text p + p {
    margin-top: 20px;
  }

  .information-block__subtitle {
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.7;
  }

}


/* ==================================================
   FEE BOX
   PC
================================================== */

#spa-fee {
  position: relative;
  padding: 120px 0 150px;
}

.fee-box {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  width: min(calc(100% - 80px), 1080px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.fee-box__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 30px 18px;
  color: #111;
  background: #bdbdbd;
}

.fee-box__title {
  margin: 0;
  font-family: var(--mincho);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.fee-box__content {
  padding: 34px 52px 30px;
}

.fee-box__group + .fee-box__group {
  margin-top: 26px;
}

.fee-box__group p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.fee-box__group p + p {
  margin-top: 22px;
}

.fee-box__heading {
  margin: 0 0 20px;
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

#spa-fee .information-section__character {
  position: absolute;
  right: max(5vw, 35px);
  bottom: 125px;
  width: 90px;
  margin: 0;
  pointer-events: none;
}

#spa-fee .information-section__character img {
  width: 100%;
  height: auto;
}


/* ==================================================
   FEE BOX
   SMARTPHONE
================================================== */

@media screen and (max-width: 767px) {

  #spa-fee {
    padding: 75px 0 120px;
  }

  .fee-box {
    grid-template-columns: 54px minmax(0, 1fr);
    width: calc(100% - 30px);
  }

  .fee-box__label {
    padding: 22px 10px;
  }

  .fee-box__title {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }

  .fee-box__content {
    padding: 26px 18px 28px;
  }

  .fee-box__group + .fee-box__group {
    margin-top: 24px;
  }

  .fee-box__group p {
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .fee-box__group p + p {
    margin-top: 18px;
  }

  .fee-box__heading {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  #spa-fee .information-section__character {
    right: 18px;
    bottom: 30px;
    width: 68px;
  }

}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

  .page-hero__title::after,
  .page-hero__title-text,
  .page-hero__subtitle-text {
    animation: none;
  }

  .page-hero__title::after {
    transform: scaleX(1);
  }

  .page-hero__title-text,
  .page-hero__subtitle-text {
    opacity: 1;
    transform: none;
  }

.facility-scroll {
  height: 280svh;
  height: 280dvh;
  margin-bottom: -100svh;
  margin-bottom: -100dvh;
}

.facility-scroll__sticky {
  height: 100svh;
  height: 100dvh;
}

  .facility-scroll + .facility-gallery::before {
    top: -55px;
    bottom: -100svh;
    bottom: -100dvh;
  }

  .facility-scroll .facility-main-visual {
    height: auto;
  }

  .facility-scroll .facility-main-visual__image {
    height: auto;
    aspect-ratio: 1920 / 1080;
  }

  .facility-scroll .facility-main-visual__content {
    --facility-text-progress: 1;
  }

}

/*
 * 固定画像のあとに続くギャラリーを、
 * sticky画像より手前に表示する
 */
.facility-scroll + .facility-gallery {
  position: relative;
  z-index: 2;
}


/*
 * ギャラリーの背後にページ幅いっぱいの背景を敷き、
 * 固定画像を下から覆う
 */
.facility-scroll + .facility-gallery {
  position: relative;
  z-index: 3;
  background-color: #0f0f0f;
  isolation: isolate;
}

.facility-scroll + .facility-gallery::before {
  content: "";
  position: absolute;
  top: -150px;
  right: 50%;

  /*
   * ギャラリーが流れている間、
   * 下の固定画像が見えないように
   * 背景だけを1画面分延長する
   */
  bottom: -100vh;
  bottom: -100dvh;

  z-index: -1;
  width: 100vw;
  background-color: #0f0f0f;
  transform: translateX(50%);
  pointer-events: none;
}

.facility-section {
  position: relative;
  isolation: isolate;
}

.facility-section + .facility-section {
  z-index: 4;
}

/* ==================================================
   SPA SAUNA SPACING ADJUST
================================================== */

#spa-pool {
  padding-bottom: 45px;
}

#spa-sauna .section-heading--facility {
  padding-top: 45px;
}
/*#spa-sauna .facility-layout {
margin-top: 0;
}*/

/* ==================================================
   SPA POOL LAYOUT FIX
================================================== */

#spa-pool .facility-layout {
  position: relative;
  z-index: 4;
  background-color: #0f0f0f;
}

