@charset "utf-8";

body {
  background-color: var(--primary-beige);
}

.subtopic {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  color: var(--primary-darkBrown);
  font-size: 2rem;
  text-align: center;
  margin-top: 16px;
}

.section__title {
  padding: 32px 16px;
  position: relative;
  z-index: 1;
}

.menu__header {
  transition: transform 0.9s;
}
.menu__header.hidden {
  transform: translateY(-110px);
}
.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  width: 51%;
  height: 35px;
  background: rgba(95, 120, 72, 0.4);
  z-index: 0;
}

.section__txt {
  margin-top: 10px;
}

.page__visual {
  width: 100%;
  height: auto;
}
.page__visual img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-fit: 0 0 0 30px;
}

.section {
  padding: 0 4.2%;
}

.facilities__content {
  padding: 42px 16px;
  background-color: rgba(var(--primary-beigeR), 0.5);
}

/* Onsen */
.facilities__content:first-child {
  margin-top: 0;
}
.section-onsen .onsen__images {
  position: relative;
  width: 100%;
  height: 200px;
  max-width: 100%;
  overflow: hidden;
  margin-left: 0;
}
.section-onsen .onsen-background {
  position: absolute;
  width: 84%;
  height: 20vh;
  object-fit: cover;
  overflow: hidden;
  max-width: 100%;
  margin: 0;
}

.section-onsen .onsen-foreground {
  position: absolute; 
  top: 60px; 
  right: 0;
  width: 53%; 
  height: 15vh; 
  max-width: 100%; 
  object-fit: cover;
  overflow: hidden;
  margin: 0;
}

.reserve__btn {
  display: inline-block;
  margin: 4px 0 0 0;
  padding: 4px 24px;
  font-size: 1.6rem;
  color: var(--primary-white);
  background: var(--primary-brown);
}

/* Main Pool */
.section-mainPool {
  margin-top: 32px;
}

.section-pool .facilities__content-mainPool {
  display: flex;
  width: 100%;
  height: auto;
  gap: 8px;
}

.facilities__content-mainPool img {
  width: 49%;
  height: 25vh;
  gap: 8px;
  object-fit: cover;
}

/* Kids Pool */

.kidsPool{
  width: 100%;
  height: 100%;
}
.kidsPool .img-kidsPool {
  margin-top: 32px;
  width: 100%;
  height: 25vh;
  object-fit: cover;
}

/* Garden */

.garden__images {
  width: 100%;
  height: auto;
}

.garden__images .japanese__garden {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.garden__images__flex {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  gap: 8px;
  margin-top: 8px;
}

.garden__images__flex .garden__img {
  width: 50%;
  height: 17vh;
  object-fit: cover;
  overflow: hidden;
}

/* Relaxation Room */

.relaxation__image {
  width: 100%;
  height: auto;
}

.relaxation__image .relaxationRoom__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

/* Spa */
.spaRoom {
  width: 100%;
  height: 100%;
}

.spaRoom .spaRoom__img {
  width: 100%;
  height: 25vh;
  object-fit: cover;
}

/* Other rooms */
.facilities__content-other {
  width: 100%;
  height: auto;
}

.facilities__other__images {
  width: 100%;
  height: auto;
}
.facilities__other__images .other__img {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  overflow: hidden;
}

.other__img:nth-of-type(2) {
  zoom: 0.2;
}

/* laundry */
.facilities__content:last-child {
  margin-bottom: 32px;
}

/* footer */

.privacy {
  margin-top: 0;
}
.footer {
  border-top: 1px solid black;
}
.privacy__sitemap {
  margin-top: 20px;
}
.contacts__list,
.sitemap {
  margin-top: 20px;
}
/* END of Smartphone */

/* -------------------------------------------------------------------------------------------------------------- */

/* PC version */

@media screen and (min-width: 1024px) {
  .page__visual {
    width: 100%;
    height: auto;
  }
  .page__visual img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
  }
  .section {
    padding: 0 64px;
    margin-bottom: 64px;
  }
  .subtopic {
    margin: 0;
  }
  .section__title {
    padding: 64px;
    position: relative;
    z-index: 1;
  }
  .section__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 85px;
    width: 51%;
    height: 51px;
    background: rgba(95, 120, 72, 0.4);
    z-index: 0;
  }
  .section__txt {
    margin-top: 12px;
  }
  .facilities__content {
    padding: 64px;
    display: flex;
    margin-bottom: 0;
    align-items: center;
  }

  .main__content {
    display: block;
    margin-left: 20px;
  }

  .section__img img {
    width: 366px;
    height: 250px;
    object-fit: cover;
  }

  /* Onsen */
  .section-onsen {
    margin-bottom: 0;
  }
  .section-onsen .onsen__images {
    position: relative;
    width: 100%;
    height: 357px;
    max-width: 100%;
    overflow: hidden;
    margin-left: 0;
  }
  .section-onsen .onsen-background {
    position: absolute;
    width: 90%;
    height: 88%;
    object-fit: cover;
    overflow: hidden;
    max-width: 100%;
    margin: 0;
  }

  .section-onsen .onsen-foreground {
    position: absolute;
    top: 150px;
    right: 0;
    width: 53%; 
    height: 60%; 
    max-width: 100%; 
    object-fit: cover;
    overflow: hidden;
    margin: 0;
  }

  .reserve__btn {
    display: inline-block;
    margin: 4px 0 0 0;
    padding: 4px 24px;
    font-size: 1.6rem;
    color: var(--primary-white);
    background: var(--primary-brown);
    transition: 0.5s ease-in-out;
  }

  .reserve__btn:hover {
    opacity: 0.5;
  }

  /* Pool */
  .section-pool {
    margin-bottom: 0;
  }
  .facilities-pool {
    display: block;
    margin-bottom: 0;
  }
  /* Main Pool */
  .section-pool .facilities__content-mainPool {
    display: flex;
    width: 100%;
    height: 327px;
    gap: 8px;
  }

  .mainPool__content {
    display: flex;
    align-items: center;
  }
  .facilities__content-kidsPool {
    display: flex;
  }
  .facilities__content-mainPool img {
    width: 49%;
    height: 100%;
    gap: 8px;
    object-fit: cover;
  }

  .main__content {
    width: 100%;
  }
  .disclaimer__item {
    line-height: 1;
  }
  /* Kids Pool */

  .facilities__content-kidsPool .subtopic {
    margin-top: 32px;
  }
  .facilities__content-kidsPool .img-kidsPool {
    margin-top: 32px;
    width: 100%;
    height: 43vh;
    object-fit: cover;
  }

  /* Gardens */
  .section-garden {
    margin-bottom: 0;
  }
  .garden__images {
    display: flex;
    width: 100%;
    height: 305px;
    gap: 10px;
  }

  .garden__images .japanese__garden {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
  }

  .garden__images__flex {
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .garden__images__flex .garden__img {
    width: 100%;
    height: 48.5%;
    object-fit: cover;
    overflow: hidden;
  }
  .garden__img:last-of-type {
    margin-top: 12px;
  }

  /* Relaxation Room */
  .section-relaxation {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .relaxation__image {
    width: 100%;
    height: 100%;
  }

  .relaxation__image .relaxationRoom__img img {
    width: 100%;
    height: 32vh;
    object-fit: cover;
    overflow: hidden;
    align-items: center;
  }

  /* Spa */
  .spa__images {
    width: 100%;
    height: 100%;
  }

  .spa__images .spaRoom__img {
    width: 100%;
    height: 42vh;
    object-fit: cover;
    object-fit: center;
  }

  /* Other Facilities */
  .section-recreation .facilities__content {
    display: block;

    background: transparent;
    padding: 0;
  }

  .facilities__other__images {
    display: block;
    background: transparent;
    padding: 0;
  }

  .facilities-other-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-start;
    box-sizing: border-box;
    background-color: rgba(var(--primary-beigeR), 0.5);
  }

  .section-recreation,
  .section-shop,
  .section-laundry {
    max-width: 32%; 
    padding: 64px;
  }

  .section-shop {
    margin: 0 64px;
  }
  .section-recreation .subtopic {
    margin-top: 20px;
  }
  .section-recreation .main__content {
    margin-left: 0;
  }
  .section-shop .subtopic {
    margin-top: 20px;
  }
  .section-laundry .subtopic {
    margin-top: 20px;
  }
  .section-shop {
    padding-left: ;
  }
  .section__img-other img {
    width: 100%;
    height: 240px; /* keeps all images uniform */
    object-fit: cover; /* crops nicely */
  }
  .facilities-other-flex > section:nth-child(1) {
    padding-right: 0;
  }
  .facilities-other-flex > section:nth-child(3) {
    padding-left: 0;
  }
  .facilities-other-flex > section:nth-child(2) {
    padding-left: 0;
    padding-right: 0;
  }

  .facilities-other-flex > section {
    flex: 1; 
    max-width: 32%; 
    box-sizing: border-box;
  }

  .privacy {
    margin-top: 40px;
  }

  .contacts__list {
    margin-top: 32px;
  }
}
