@charset "utf-8";

/*
 * 下層ページ専用スタイル（スマホ）
 * media="(max-width: 850px)" のみで読み込む
 */

/* 下層ページ（温泉）スマホ */
.onsen-figma-stage-wrap {
  padding-top: 0;
  padding-bottom: 40px;
}

.onsen-figma-stage-wrap {
  overflow: hidden;
}

.onsen-figma-stage-wrap.main-sections-bg::before {
  background-size: cover;
  background-position: right;
}

.main-sections-bg section + section {
  padding: 0 5%;
}
/* ニュース記事ページでは上記 padding を適用しない */
.onsen-figma-stage.news-page--article section + section {
  padding: 0;
}

.facility-actions {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.heading-with-line__line {
  width: 50px;
  height: 0;
  margin: 0 auto 40px;
}

.pricing-member {
  padding: 40px 5% 40px;
}

.pricing-box {
  width: 90%;
}

/* スマホ：ステージ幅 100%（scale やめ通常フロー） */
.onsen-figma-stage {
  width: 100%;
  height: auto;
}

.onsen-section.onsen-page-hero {
  width: 100%;
  padding: 50px 0 40px;
  background-size: cover;
  background-position: top;
  background-image:
    url(../assets/decor/bg_mobile.png?20260221),
    linear-gradient(
      var(--background-yellow-subpages),
      var(--background-yellow-subpages)
    );
}

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

.onsen-page-hero__photo {
  position: relative;
  left: 4vw;
  top: auto;
  width: 80%;
  min-height: unset;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 0;
  filter: none;
  box-shadow: none;
}

.onsen-page-hero__photo-img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 空の白ボックスは非表示（内容は .onsen-page-hero__content-box に集約） */
.onsen-page-hero__box {
  display: none;
}

/* 温泉の文字と説明文を囲む白ボックス（スマホ）：画像レイヤーの上に表示 */
.onsen-page-hero__content-box {
  position: relative;
  margin-top: 20px;
  margin-left: 16vw;
  margin-right: auto;
  width: 80%;
  right: unset;
  padding: 30px 8% 40px;
  background: var(--background-white);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

/* h1「温泉」と横線：白ボックス内で中央 */
.onsen-page-hero__title-row {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  margin-top: 0;
  width: 100%;
  height: auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  z-index: auto;
  box-sizing: border-box;
}

.onsen-page-hero__title {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  font-size: 24px;
  color: var(--color-onsen);
}

.onsen-page-hero__title-line {
  position: static;
  top: auto;
  transform: none;
  flex-shrink: 0;
}

.onsen-page-hero__title-line--left {
  order: -1;
}

.onsen-page-hero__title-line--left,
.onsen-page-hero__title-line--right {
  position: static;
  left: auto;
  width: 10%;
  height: 2px;
  background: var(--color-onsen);
}

/* 説明文：白ボックス内、スマホではbrを非表示にして1段落で折り返し */
.onsen-page-hero__text {
  position: static;
  left: auto;
  top: auto;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  font-size: 15px;
  line-height: 25px;
  color: var(--text-brown);
  text-align: left;
  z-index: auto;
}

.onsen-page-hero__text br {
  display: none;
}

.onsen-page-hero__stamp.onsen {
  bottom: 0px;
  top: auto;
  width: 180px;
}

.onsen-page-hero__stamp {
  position: absolute;
  right: -2%;
  bottom: -12px;
  left: auto;
  top: auto;
  width: 150px;
  height: auto;
  transform: scale(0.8);
  transform-origin: bottom right;
  z-index: 2;
}

.restaurant-page-hero__stamp {
  bottom: -26px;
}

.onsen-page-hero__line {
  position: static;
  left: auto;
  top: auto;
}

.onsen-twocol {
  grid-template-columns: 1fr;
}

.onsen-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.onsen-gallery-grid img {
  height: 140px;
}

.onsen-commit-box {
  padding: 24px 20px;
  max-width: 100%;
}

/* スマホ：PC の固定幅 400px 以上を 100% に上書き */
.onsen-figma-springs {
  max-width: 100%;
  width: 100%;
}

/* 泉質：横並び → 縦並び */
.onsen-figma-springs__body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.onsen-figma-springs__col--alkali,
.onsen-figma-springs__col--sodium {
  width: 100%;
}

.onsen-figma-springs__divider {
  width: 100%;
  height: 2px;
  margin: 32px 0 50px;
  min-height: 2px;
}

.onsen-figma-springs__col--alkali .onsen-figma-springs__btn,
.onsen-figma-springs__col--sodium .onsen-figma-springs__btn {
  width: 100%;
  box-sizing: border-box;
}

.onsen-figma-springs__col--alkali .onsen-figma-springs__well-title,
.onsen-figma-springs__col--sodium .onsen-figma-springs__well-title {
  width: auto;
  text-align: center;
}

.onsen-figma-springs__well-head {
  justify-content: center;
}

.onsen-figma-springs__value {
  margin: 0;
  width: 100%;
}

.onsen-figma-onsen-display__inner {
  max-width: 100%;
  padding: 40px 5% 40px;
}

.onsen-figma-onsen-display__content {
  max-width: 100%;
  text-align: center;
}

/* 当館の温泉表示：項目名と内容を縦並び・全部中央寄せ */
.onsen-figma-onsen-display__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: unset;
  text-align: center;
}

.onsen-figma-onsen-display__row .onsen-figma-onsen-display__k {
  grid-column: unset;
  text-align: center;
}

.onsen-figma-onsen-display__row .onsen-figma-onsen-display__v {
  grid-column: unset;
  text-align: center;
}

.onsen-figma-baths__body {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 画像：row--2 はPCで2カラム・スマホで1カラム、row--3/rest はPC・スマホとも3カラム */
.onsen-figma-baths__row {
  gap: 2%;
  margin-bottom: 0;
}

.onsen-figma-baths__row--2 {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.onsen-figma-baths__row--2 .onsen-figma-baths__item {
  flex: 1 1 100%;
  max-width: 100%;
}

.onsen-figma-baths__row--rest {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.onsen-figma-baths__row--rest .onsen-figma-baths__item {
  flex: 1 1 calc((100% - 4%) / 3);
  min-width: 0;
  box-sizing: border-box;
}

.onsen-figma-baths__item {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.restaurant-dining-section__item {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.onsen-figma-baths__item figcaption {
  font-size: 13px;
}

/* 温泉写真ギャラリー（スマホ） */
.onsen-baths-gallery-modal {
  padding: 10px;
}
.onsen-baths-gallery-modal__inner {
  max-height: 85vh;
}
.onsen-baths-gallery-modal__close {
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  font-size: 20px;
}
.onsen-baths-gallery__slide {
  padding: 36px 40px 44px;
}
.onsen-baths-gallery__slide img {
  max-height: 60vh;
}
.onsen-baths-gallery__caption {
  font-size: 14px;
  margin-top: 8px;
}
.onsen-baths-gallery .slick-prev,
.onsen-baths-gallery .slick-next {
  width: 36px;
  height: 36px;
}
.onsen-baths-gallery .slick-prev {
  left: 4px;
}
.onsen-baths-gallery .slick-next {
  right: 4px;
}
.onsen-baths-gallery .slick-prev:before,
.onsen-baths-gallery .slick-next:before {
  font-size: 20px;
}

/* 「3種のサウナ」の途中で改行しない */
.no-break {
  white-space: nowrap;
}

/* 食事ページ：お得なプラン・宴会のご予約（スマホ） */
section.restaurant-plans {
  padding: 0 !important;
}

.restaurant-plans__body {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 40px;
}

.restaurant-plans__cards {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.restaurant-plans__card {
  flex: 1 1 auto;
  max-width: none;
}

.restaurant-party__inner {
  padding: 40px 5% 50px;
}

.restaurant-party__title {
  font-size: 20px;
}

.restaurant-party__title::after {
  margin-bottom: 20px;
}

.restaurant-party__lead {
  margin-bottom: 24px;
  font-size: 14px;
}

.pricing-member__admission {
  width: auto;
  max-width: none;
}

.restaurant-party .pricing-member__admission {
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}

.stay-booking .pricing-member__admission {
  flex-direction: column;
  gap: 2px;
  margin-bottom: 80px;
}

.restaurant-party__inner .pricing-member__terms {
  width: auto;
}

.onsen_notice .pricing-member__terms {
  width: 100%;
}

.restaurant-party__notes {
  font-size: 14px;
  padding-left: 1em;
}

/* お料理セクション（スマホ） */
.restaurant-dining-section__row {
  gap: 2%;
  margin-bottom: 0px;
}

.restaurant-dining-section__row--2 .restaurant-dining-section__item {
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0;
}

.restaurant-dining-section__row--3 .restaurant-dining-section__item {
  flex: 1 1 calc(33.333% - 10px);
  max-width: unset;
  min-width: 0;
  margin-bottom: 2%;
}

.restaurant-dining-section__item figcaption {
  font-size: 14px;
}

/* メニューダウンロードセクション（スマホ） */
.restaurant-menu-dl__lead {
  margin-bottom: 24px;
  font-size: 14px;
}

.subpage-cta-btn {
  padding: 12px 10px 12px 25px;
  font-size: 15px;
  width: 100%;
}

/* 宿泊ページ（スマホ） */

.stay_box .pricing-row {
  gap: 5%;
}

.stay_box .pricing-price {
  flex-shrink: unset;
}
.stay-rooms__inner .pricing-member {
  margin-top: 0px;
  padding: 40px 5% 20px;
  width: 100%;
}

.stay-rooms__grid {
  gap: 80px;
  margin-top: 2%;
}
.stay-rooms__row {
  gap: 2%;
}
.stay-rooms__row--2 .stay-rooms__item {
  flex: 1 1 100%;
  max-width: 100%;
  margin-bottom: 2%;
}
.stay-rooms__row--3 .stay-rooms__item {
  flex: 1 1 calc((100% - 4%) / 3);
  max-width: unset;
  margin-bottom: 2%;
}
.facility-actions.stay-rooms__actions {
  margin-top: 60px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 館内紹介ページ（スマホ・Figma 640:14 行構成維持） */
.facility-page .onsen-figma-stage-wrap.main-sections-bg::after {
  top: 200px;
}
.facility-page-hero {
  padding: 60px 5%;
  background-image:
    url(../assets/decor/bg_subpages2_mobile.png?20260221),
    linear-gradient(
      var(--background-yellow-subpages),
      var(--background-yellow-subpages)
    );
}
.facility-page-hero__title {
  font-size: 28px;
}
.news-page .onsen-figma-stage-wrap.main-sections-bg::after {
  top: 200px;
}
.news-page-hero {
  padding: 60px 5%;
  background-image:
    url(../assets/decor/bg_subpages2_mobile.png?20260221),
    linear-gradient(
      var(--background-yellow-subpages),
      var(--background-yellow-subpages)
    );
}
.news-page-hero__title {
  font-size: 28px;
}
.onsen-figma-stage .info-section {
  padding: 0 0 0;
}
.news-page .news-item__link {
  padding: 20px 0;
}
.news-page .news-meta {
  flex-direction: row;
  align-items: center;
}
.news-page .news-meta ul {
  margin: 0;
  font-size: 0;
}
.news-page .news-title,
.news-page .news-title a {
  font-size: 15px;
}
.news-page .news-item__body {
  gap: 2px;
}
.news-page .news-item__excerpt {
  font-size: 14px;
}
.news-page .news-item__thumb {
  width: 100px;
  height: 100px;
}
.news-page .news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ニュース記事ページ（スマホ） */
.news-article__title {
  font-size: 20px;
  margin-bottom: 12px;
}
.news-article__meta {
  margin-bottom: 40px;
}
.news-article__eyecatch {
  margin-bottom: 32px;
  width: 100%;
}
.news-article__eyecatch img {
  width: 100%;
  min-height: 180px;
}
.news-article__body {
  margin-bottom: 40px;
}
.news-article__block {
  margin-bottom: 32px;
}
.news-article__h2 {
  font-size: 16px;
}
.news-article__h2::before {
  top: -4px;
}
.news-article__prev-next {
  margin-top: 80px;
}
.news-article__cta {
  margin-bottom: 60px;
}

.facility-intro__body {
  padding: 0 0%;
}
.facility-intro__grid {
  gap: 2vw;
}
.facility-intro__row {
  gap: 2%;
}
.facility-intro__row--2 .facility-intro__item {
  flex: 1 1 calc((100% - 16px) / 2);
}
.facility-intro__row--3 .facility-intro__item {
  flex: 1 1 calc((100% - 32px) / 3);
}
.facility-intro__actions {
  margin-top: 60px;
  margin-bottom: 60px;
}

/* プライバシーポリシーページ（スマホ） */
.privacy-policy .container {
  width: 90%;
  margin: 0 auto;
}
.privacy-policy {
  padding-bottom: 60px;
}
.privacy-policy__intro {
  margin-bottom: 40px;
  font-size: 15px;
}
.privacy-policy__block {
  margin-bottom: 40px;
  padding: 0 0 !important;
}
.privacy-policy__h3 {
  font-size: 16px;
  line-height: 1.2em;
  height: 40px;
}
.privacy-policy__block p,
.privacy-policy__list {
  font-size: 15px;
}
