@charset "UTF-8";

/*----------------------------------------
  施設紹介ページ
-----------------------------------------*/

html {
  scroll-padding-top: 8rem;
}

.facility-page {
  padding-bottom: 200px;
  color: var(--taxtColor);
  font-family: "Zen Kaku Gothic New";
}

.tb-only {
  display: none;
}

/*mv 泉質ページと共通*/
#facility-mv {
  position: relative;
  margin-top: 8rem;
}

.facility-mv__img {
  width: 100%;
}

.facility-mv__img::before {
  background: rgba(66, 66, 66, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: " ";
}

.facility__heading {
  position: absolute;
  bottom: 30.27%;
  left: 124px;
  color: var(--whiteColor);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 500;
}

.facility__heading-1 {
  font-size: var(--font18);
  line-height: normal;
  letter-spacing: 5.4px;
}

.facility__heading-2 {
  font-size: var(--font26);
  line-height: normal;
  letter-spacing: 7.8px;
}

.facility-mv__bg1 {
  width: 5.56%;
  height: auto;
  position: absolute;
  top: 30%;
  left: 50px;
}

.facility-mv__bg2 {
  width: 8.2%;
  height: auto;
  position: absolute;
  bottom: 9.44%;
  left: 465px;
}

/*ページ内リンクボタン */
.page__link {
  margin-top: 67px;
  justify-content: center;
  display: flex;
  gap: 5%;
}

.page-link__btn {
  display: block;
  color: #fff;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: var(--font18);
  font-weight: 700;
  letter-spacing: 5.4px;
  border-radius: 2px;
  padding-block: 36px;
  padding-left: 2rem;
  position: relative;
  width: 328px;
  outline: 1px solid #fff;
  outline-offset: -7px;
}

.page-link__btn::before {
  position: absolute;
  content: "";
  width: 44px;
  height: 44px;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.page-link__btn::after {
  position: absolute;
  content: "";
  background: url(../img/facility/arrow-icon.png) no-repeat center center /
    contain;
  width: 16px;
  height: 9.88px;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.onsen {
  background: var(--onsenColor) !important;
}

.onsen::before {
  background: url(../img/facility/onsen-icon.png) no-repeat center center /
    contain;
}

.restaurant {
  background: var(--mealColor) !important;
}

.restaurant::before {
  background: url(../img/facility/resutaurant-icon.png) no-repeat center center /
    contain;
}

.etc,
.space {
  background: var(--accentColor) !important;
}

.etc::before {
  background: url(../img/facility/etc-icon.png) no-repeat center center /
    contain;
}

/*section 共通*/
.facility__inner {
  max-width: 1200px;
  padding-inline: 30px;
}

.section__content {
  margin-top: 96px;
  padding-left: 17.25px;
  display: flex;
}

.section__title {
  margin-top: clamp(0rem, -1.496rem + 3.12vw, 1.313rem);
  padding-left: 5.5%;
  width: 52%;
}

.section__Maintitle {
  margin-left: 26px;
  font-family: "Zen Old Mincho";
  font-size: var(--font26);
  font-weight: 700;
  letter-spacing: 7.8px;
  position: relative;
}

.section__Maintitle::before {
  position: absolute;
  content: "";
  width: 7px;
  height: 33px;
  background: var(--onsenColor);
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
}

.section__text {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 3rem;
  letter-spacing: 1.4px;
}

.section__text span {
  font-size: 1.2rem;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-top: 2.4rem;
}

.onsen__map {
  text-align: center;
}

.onsen__map img {
  max-width: 412.5px;
}

.gallery__slider {
  width: 41.7%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery__slider-icon {
  display: flex;
  color: var(--baseColor);
  font-family: "Zen Kaku Gothic New";
  font-size: var(--font20);
  font-weight: 700;
  letter-spacing: 6px;
  writing-mode: vertical-lr;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 130px;
  position: absolute;
  top: 0;
  left: 40px;
  z-index: 99;
}

.gallery-card {
  border-radius: 10px;
}

.gallery-card__image {
  text-align: center;
  padding-bottom: 60px;
}

.gallery-card__image img {
  border-radius: 10px;
  height: 304px;
}

.gallery__pagination {
  background: var(--onsenColor);
  padding-block: 25px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}

/*spa*/
.gallery__phots {
  margin-top: 70px;
  display: flex;
  gap: 3%;
  padding-bottom: 53px;
  justify-content: center;
}

.gallery__phot {
  width: calc(100vw / 4);
  border-radius: 10px;
  overflow: hidden;
}

.gallery__phot img {
  border-radius: 10px;
}

/*サウナ　岩盤浴　家族風呂 */
.sub__content {
  margin-top: 60px;
  display: flex;
  padding-left: clamp(0rem, -31.25rem + 41.67vw, 12.25rem);
}

.subContent__slider {
  width: 36.4%;
}

.middleContent__slider {
  width: 41.7%;
}

.subContent-card__image {
  width: 100%;
  height: 220px;
  padding-bottom: 20px;
}

.subContent-card__image img {
  height: 100%;
}

.subContent__pagination,
.middleContent__pagination {
  background: none;
}

.middleContent-card__image {
  padding-bottom: 0;
}

.middleContent-card__image img {
  height: 400px;
}

/*家族風呂のみ　*/
.section__attention {
  font-size: 1.2rem;
  line-height: 2rem;
  letter-spacing: 1.2px;
  text-indent: 1em;
}

.section__attention:nth-of-type(1) {
  margin-top: 24px;
}

.reserve-btn {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 50px;
  border-radius: 100px;
  border: 2px solid var(--taxtColor);
  color: var(--taxtColor);
  background: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2.24px;
  transition: all 0.3s;
}

.reserve-btn:hover {
  background: var(--mainColor);
  color: var(--whiteColor);
  border: 2px solid var(--mainColor);
}

/*restaurantのみ */
#restaurant .section__text {
  margin-top: 40px;
}

#restaurant .section__detail {
  margin-top: 9.6rem;
  font-size: var(--font16);
  letter-spacing: 2.56px;
}

#restaurant .section__detail dl {
  margin-top: 20px;
  display: flex;
  font-size: 1.4rem;
  letter-spacing: 2.24px;
}

#restaurant .section__Maintitle::before {
  background: var(--mealColor);
}

.section-detail__text-sub {
  margin-top: 11px;
}

/*spaceのみ */

#space .section__content {
  margin-top: 0;
  padding-top: 96px;
}

#space .section__Maintitle::before {
  background: var(--accentColor);
}

#space .section__text {
  margin-top: 4rem;
}

#space .reserve-btn {
  margin-top: 7rem;
}

/*etcのみ */
#etc .section__text {
  margin-top: 16px;
}

#etc .section__detail {
  margin-left: 27px;
}

#etc .section__Maintitle::before {
  background: var(--accentColor);
}

.section__detail li {
  list-style: disc;
}

#etc .section-detail__list {
  font-size: var(--font18);
  font-weight: 700;
  letter-spacing: 5.4px;
  margin-top: 40px;
}

#etc .section-detail__list:nth-of-type(2) {
  margin-top: 32px;
}

#etc .section-detail__list:nth-of-type(3) {
  margin-top: 16px;
}

#etc .section-detail__list::marker {
  color: var(--accentColor);
  font-size: 1.5em;
}

#etc .section__detail dl {
  display: flex;
  font-size: 1.4rem;
  letter-spacing: 2.24px;
  font-weight: 500;
}

#etc .section__detail dl:nth-of-type(1) {
  margin-top: 16px;
}

#etc .section__detail dl:last-child {
  margin-bottom: clamp(0.625rem, -1.085rem + 3.57vw, 2.125rem);
}

/* price */
.facility_price-banner {
  max-width: 500px;
  margin-inline: auto;
  padding-block: 3rem;
}
.facility_price-banner a {
  transition: opacity 0.3s;
}
.facility_price-banner a:hover {
  opacity: 0.7;
}
/*----------------------------------------
    1200~900
-----------------------------------------*/
@media (max-width: 1200px) and (min-width: 900px) {
  .facility__inner {
    max-width: 900px;
  }

  .page__link {
    flex-wrap: wrap;
    gap: 20px;
  }

  .section__title {
    width: 50%;
  }

  .section__Maintitle {
    font-size: var(--font20);
  }

  .section__text {
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 1.2px;
  }

  .section__text span {
    margin-top: 1rem;
  }

  .section__attention:nth-of-type(1) {
    margin-top: 1rem;
  }

  .gallery__slider {
    width: 50%;
  }

  .sub__content {
    padding-inline: 0;
  }

  .onsen__map img {
    margin-top: 2rem;
  }

  #etc .section__subTitle {
    font-size: var(--font18);
  }

  #etc .section-detail__list {
    margin-top: 2rem;
    font-size: var(--font16);
  }
}

/*----------------------------------------
    899~768
-----------------------------------------*/
@media (max-width: 899px) and (min-width: 768px) {
  .tb-only {
    display: block;
  }

  .page__link {
    flex-wrap: wrap;
    gap: 20px;
  }

  .section__title {
    width: 50%;
  }

  .section__Maintitle {
    font-size: var(--font20);
  }

  .section__text {
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 1.2px;
  }

  .section__text span {
    margin-top: 1rem;
  }

  .section__attention:nth-of-type(1) {
    margin-top: 1rem;
  }

  .gallery__slider {
    width: 50%;
  }

  .onsen__map img {
    margin-top: 2rem;
  }

  #restaurant .section__detail {
    margin-top: 7.6rem;
  }

  #etc .section__subTitle {
    font-size: var(--font18);
  }

  #etc .section-detail__list {
    margin-top: 2rem;
    font-size: var(--font16);
  }
}

/*----------------------------------------
    SP
-----------------------------------------*/

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .inner {
    padding: 0 2.5rem;
    max-width: 500px;
  }

  html {
    scroll-padding-top: 5.5rem;
  }

  .facility-page {
    padding-bottom: 140px;
  }

  /* mv */

  #facility-mv {
    margin-top: 5.5rem;
  }

  .facility__heading {
    gap: 0;
  }

  .facility__heading {
    top: 30.56%;
    left: 33.12px;
  }

  .facility__heading-1 {
    font-size: 1.2rem;
    letter-spacing: 3.6px;
  }

  .facility__heading-2 {
    letter-spacing: 4.5px;
    font-size: 1.5rem;
  }

  .facility-mv__bg1 {
    top: 12%;
    left: 13.57px;
  }

  .facility-mv__bg2 {
    bottom: 9.44%;
    left: 233.12px;
  }

  .page__link {
    margin-top: 40px;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .page-link__btn {
    padding: 27px 46px 27px 63px;
    font-size: 1.35rem;
    width: 264px;
  }

  .page-link__btn::before {
    width: 33px;
    height: 33px;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-link__btn::after {
    width: 12px;
    height: 7.41px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
  }

  .section__content {
    margin-top: 60px;
    padding-left: 0;
    flex-direction: column;
  }

  .section__title {
    padding-left: 10px;
    width: 100%;
    display: contents;
  }

  .section__Maintitle {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 6px;
    order: 1;
  }

  .section__Maintitle::before {
    width: 4px;
    height: 24px;
  }

  .section__description {
    order: 3;
  }

  #restaurant .section__detail dl {
    margin-top: 0;
  }

  #etc .section__Maintitle {
    letter-spacing: 2.4px;
  }

  #etc .section-detail__list {
    letter-spacing: 1.6px;
  }

  .section__text {
    margin-top: 8px;
    line-height: 2.4rem;
  }

  .section__subTitle {
    font-size: 2rem;
    color: #696969;
    letter-spacing: 10px;
  }

  #onsen .section__subTitle {
    color: var(--taxtColor);
    font-size: 1.4rem;
    letter-spacing: 2.24px;
    margin-left: 0;
  }

  .section__subTitle::before {
    display: none;
  }

  .gallery__slider {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 16px;
    order: 2;
  }

  .gallery__slider-icon {
    width: 39.324px;
    height: 90px;
    font-size: 1.4rem;
    letter-spacing: 4.068px;
    left: 27.12px;
  }

  .gallery-card__image {
    padding-bottom: 44px;
    height: auto;
  }

  .gallery-card__image img {
    height: 247px;
  }

  .gallery__pagination {
    padding-block: 12px;
  }

  .onsen__map {
    margin-top: 16px;
  }

  .sub__content {
    margin-top: 16px;
    flex-direction: column;
  }

  .subContent__slider {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .subContent-card__image {
    height: 245px;
    padding-bottom: 0;
  }

  .subContent-card__image img {
    height: 100%;
  }

  .subContent__pagination {
    padding-block: 0;
    bottom: 2rem !important;
  }

  .subContent-title {
    position: relative;
  }

  .subContent-title p {
    color: #696969;
    font-size: var(--font20);
    font-weight: 700;
    letter-spacing: 1rem;
  }

  .subContent-title::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 2px;
    background: #d9d9d9;
    top: 50%;
  }

  .subContent__slider {
    margin-top: 16px;
  }

  .middleContent-card__image {
    padding-bottom: 10px;
  }

  .middleContent__text {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1.4px;
    margin-top: 8px;
    line-height: 2.4rem;
  }

  .section__text span {
    margin-top: 0;
  }

  .section__attention {
    font-weight: 700;
    margin-left: 11px;
    text-indent: -1em;
    /* 最初の行を左にずらす */
    padding-left: 1em;
    /* 全体を1文字分右へ */
  }

  .section__attention:nth-of-type(1) {
    margin-top: 8px;
  }

  .reserve-btn {
    display: flex;
    margin-top: 25px;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    border-radius: 100px;
    border: 2px solid var(--taxtColor);
    color: var(--taxtColor);
    background: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2.24px;
    transition: all 0.3s;
  }

  .reserve-btn:hover {
    background: var(--mainColor);
    color: var(--whiteColor);
    border: 2px solid var(--mainColor);
  }

  #restaurant .section__content {
    margin-top: 50.49px;
  }

  #restaurant .section__text {
    margin-top: 8px;
  }

  #restaurant .section__detail {
    margin-top: 2rem;
  }

  #restaurant .section__detail dl {
    display: flex;
    flex-direction: column;
  }

  #etc .section-detail__list {
    margin-top: 8px;
  }

  #etc .section-detail__list:nth-of-type(2) {
    margin-top: 23.5px;
  }

  #etc .section__text {
    margin-top: 8px;
  }

  #etc .section__detail dl:nth-of-type(1) {
    margin-top: 23.5px;
  }

  #space .section__text {
    margin-top: 16px;
  }

  #space .section__content {
    padding-top: 64px;
    padding-bottom: 40px;
  }
}
