@charset "UTF-8";
/* --------------------------------
 * 1. 設定：カスタムプロパティとブレイクポイント
 * -------------------------------- */
:root {
  --color-primary: #222;
  --color-secondary: #666;
  --color-background-light: #f9f9f9;
  --color-white: #fff;
  --font-family-base: 'Hina Mincho', serif;
  --max-width-lg: 1500px;
  --max-width-md: 1300px;
  --padding-section-vertical-lg: 60px;
  --padding-section-vertical-md: 120px;
}

/* * ▼ ここで全19箇所の数値を一元管理します ▼
 * 将来的に値を調整したい場合は、ここだけ書き換えればOKです。
 */
/* --------------------------------
 * 2. Mixin定義（マップ対応版）
 * -------------------------------- */
/* --------------------------------
 * 3. 基本スタイル
 * -------------------------------- */
body {
  font-family: var(--font-family-base);
  color: var(--color-primary);
  background-color: var(--color-background-light);
}

a {
  text-decoration: none;
  color: inherit;
}

.force-break1,
.force-break2,
.force-break3,
.force-break4,
.force-break6 {
  display: block;
}

html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

/* --------------------------------
 * ヘッダー
 * -------------------------------- */
#header {
  width: 100%;
  background-color: var(--color-background-light);
  padding: var(--padding-section-vertical-lg) 0;
  height: 330px;
  box-sizing: border-box;
}

.header-inner {
  max-width: var(--max-width-lg);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.logo {
  display: flex;
  z-index: 950;
  padding-left: 10px;
  align-items: flex-start;
}
.logo img {
  height: 75px;
  width: auto;
}

.tagline {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  letter-spacing: 0.3em;
  line-height: 2.2;
  font-weight: 550;
}

#nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
#nav li {
  margin-bottom: 25px;
  padding-left: 25px;
}
#nav li:last-child {
  margin-bottom: 0;
  padding-left: 18px;
}
#nav a {
  font-size: 15px;
  letter-spacing: 0.3em;
  line-height: 2.5;
  font-weight: bold;
}

.nav-contact {
  display: none;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1000;
}
.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: 0.3s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 11px;
}
.hamburger span:nth-child(3) {
  top: 22px;
}

/* マスク */
#mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 800;
}

/* --------------------------------
 * メインビジュアル (MV)
 * -------------------------------- */
.mv {
  line-height: 0;
  margin-bottom: 120px;
}
.mv img {
  width: 100%;
  height: 90vh;
  display: block;
  object-position: center 70%;
  object-fit: cover;
}

.tagline-overlay {
  display: none;
}

/* --------------------------------
 * 共通セクションスタイル
 * -------------------------------- */
.section-title {
  font-size: 25px;
  text-align: left;
  margin-bottom: 60px;
  position: relative;
  letter-spacing: 0.1em;
  margin-top: 100px;
  display: inline-block;
  padding-left: 1em;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.5em;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%);
}

/* --------------------------------
 * 混雑状況ポップアップ
 * -------------------------------- */
.congestion-popup {
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 9999;
  background-color: #cbc1ac;
  padding: 35px 25px 20px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  opacity: 0.9;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-family-base);
  font-size: 16px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.congestion-popup.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: -10px;
  right: -5px;
  background-color: var(--color-secondary);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  padding: 0;
  font-size: 0;
}
.popup-close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background-color: var(--color-white);
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background-color: var(--color-white);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.popup-close:hover {
  background-color: #444;
}

/* --------------------------------
 * 温泉についてセクション
 * -------------------------------- */
#about {
  background-color: var(--color-background-light);
}
#about .inner {
  max-width: var(--max-width-md);
  width: 90%;
  margin: 0 auto;
}

.about-description {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--padding-section-vertical-lg);
  font-size: 15px;
  line-height: 1.8;
  font-weight: bold;
}

.description-jp {
  width: 45%;
  letter-spacing: 0.1em;
}

.description-en {
  width: 45%;
  color: var(--color-secondary);
}

.about-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--padding-section-vertical-lg);
}
.about-images .image-item {
  width: 49%;
}
.about-images img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-details {
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.detail-item {
  width: 33.33%;
  box-sizing: border-box;
  padding: 20px 2.5%;
  border-right: 1px solid #999;
  border-top: none;
  border-bottom: none;
  background-color: transparent;
}
.detail-item:first-child {
  border-left: 1px solid #999;
}
.detail-item h3 {
  padding-left: 0;
  margin-bottom: 5px;
  font-size: 18px;
  letter-spacing: 0.1em;
  position: relative;
}
.detail-item h3::before {
  display: none;
}
.detail-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
  font-weight: bold;
}
.detail-item ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}
.detail-item li {
  position: relative;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  font-weight: bold;
}

.onsen-specs {
  margin: 15px 0 10px;
}
.onsen-specs dt {
  font-weight: bold;
  color: #333;
  float: left;
  clear: left;
  width: 60px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.8;
}
.onsen-specs dd {
  margin-left: 70px;
  margin-bottom: 15px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  font-weight: bold;
}

.text-en {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}
.text-en p {
  margin-bottom: 5px;
  color: #777;
}
.text-en .en-title {
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 5px;
  margin-top: 10px;
}

/* --------------------------------
 * お知らせセクション (News)
 * -------------------------------- */
#news {
  background-color: #6c6558;
  color: var(--color-background-light);
  padding: var(--padding-section-vertical-lg) 0;
  font-family: var(--font-family-base);
  margin-top: 220px;
}
#news .inner {
  max-width: var(--max-width-md);
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.news-header {
  flex-basis: 25%;
  flex-shrink: 0;
}

.section-title-news {
  font-size: 25px;
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 1em;
  margin-bottom: 170px;
}
.section-title-news::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.5em;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}

.news-more {
  font-size: 18px;
  color: var(--color-background-light);
  letter-spacing: 0.1em;
  border-bottom: solid 1px;
}
.news-more:hover {
  opacity: 0.5;
}

.news-list {
  flex-basis: 70%;
}
.news-list dl {
  align-items: baseline;
  margin-bottom: 15px;
}
.news-list dt {
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.news-list dd {
  flex-grow: 1;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-background-light);
}
.news-list dd:hover {
  opacity: 0.5;
}
.news-list dd a {
  color: var(--color-background-light);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

/* --------------------------------
 * 館内ご案内セクション (Facility)
 * -------------------------------- */
#facility {
  background-color: var(--color-background-light);
  padding: var(--padding-section-vertical-md) 0;
}
#facility .inner {
  max-width: var(--max-width-md);
  width: 90%;
  margin: 0 auto;
}

.facility-description {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--padding-section-vertical-lg);
  font-size: 15px;
  line-height: 1.8;
  font-weight: bold;
}
.facility-description .description-jp {
  width: 45%;
  letter-spacing: 0.1em;
}
.facility-description .description-en {
  width: 45%;
  color: var(--color-secondary);
}

.facility-gallery {
  display: flex;
  justify-content: space-between;
}
.facility-gallery .gallery-item {
  width: 30%;
  margin: 0;
  text-align: center;
}
.facility-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  object-fit: cover;
}
.facility-gallery .gallery-item figcaption {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: bold;
}

/* --------------------------------
 * アクセス & 詳細情報セクション (Access & Info)
 * -------------------------------- */
#access {
  background-color: var(--color-background-light);
  padding-bottom: 220px;
}
#access .inner {
  max-width: var(--max-width-md);
  margin: 0 auto;
}

.access-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--padding-section-vertical-lg);
}

.access-text-column {
  flex-basis: 30%;
  flex-shrink: 0;
}

.access-map-column img {
  width: 100%;
  height: auto;
  display: block;
}

.access-title {
  text-align: left;
  padding-top: 0;
  margin-bottom: 40px;
  font-size: 24px;
}

.access-text-column .access-description-jp {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  font-weight: bold;
}
.access-text-column .access-description-en {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-secondary);
  margin-top: var(--padding-section-vertical-lg);
  font-weight: bold;
}
.access-text-column .access-description-en p {
  margin-bottom: 10px;
  color: var(--color-secondary);
}
.access-text-column .access-description-en p:last-child {
  margin-bottom: 0;
}

.access-bottom {
  display: flex;
  justify-content: space-between;
}

.access-column-left {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
}
.access-column-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-column-center {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.access-column-right {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.access-column-right > .info-box {
  flex-grow: 1;
}

.access-image {
  flex-grow: 1;
  margin-bottom: 0;
}

.info-box {
  margin-bottom: 80px;
}
.info-box h3 {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.info-box .access-description-jp {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  font-weight: bold;
}
.info-box .access-description-en {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-secondary);
  margin-bottom: 15px;
  font-weight: bold;
}
.info-box .access-description-en:last-child {
  margin-bottom: 0;
  margin-top: 15px;
}

.access-column-center .info-box:first-child {
  margin-bottom: 0;
}

.info-box.access-fees {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-grow: 1;
}
.info-box.access-fees > div {
  flex-grow: 1;
}

.access-column-left .info-box:last-child,
.access-column-center .info-box:last-child,
.access-column-right .info-box:last-child {
  margin-bottom: 0;
}

/* --------------------------------
 * 浴用上の注意事項セクション
 * -------------------------------- */
.precautions {
  position: relative;
  background-image: url("../images/bg_precautions.jpg");
  background-size: cover;
  background-position: center;
  padding: var(--padding-section-vertical-lg) 0;
  color: var(--color-white);
}
.precautions .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.precautions .inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width-md);
  margin: 0 auto;
}
.precautions .title {
  color: var(--color-white);
  text-align: left;
  padding-top: 0;
  margin-bottom: 20px;
}
.precautions .section-title.white::before {
  display: none;
}

.precautions-list {
  list-style: none;
  padding: 0;
}
.precautions-list li {
  margin-bottom: 20px;
}
.precautions-list li:last-child {
  margin-bottom: 0;
}
.precautions-list .text-jp {
  font-size: 15px;
  letter-spacing: 0.05em;
}
.precautions-list .text-en {
  font-size: 13px;
  color: #ccc;
  line-height: 1.4;
  border-bottom: 1px dashed #ddd;
}

/* --------------------------------
 * フッター
 * -------------------------------- */
#footer {
  background-color: #4b5348;
  color: var(--color-white);
  padding: var(--padding-section-vertical-lg) 0 10px;
  font-family: var(--font-family-base);
}
#footer .inner {
  max-width: var(--max-width-md);
  width: 90%;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 45px;
}
.footer-logo img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-info {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}
.footer-info .tel,
.footer-info .mail {
  display: inline-block;
  width: 40px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}
.footer-nav li {
  margin-left: 30px;
}
.footer-nav li:first-child {
  margin-left: 0;
}
.footer-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.copyright {
  text-align: right;
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0.05em;
  margin-top: 45px;
}

/* --------------------------------
 * お知らせ
 * -------------------------------- */
.unitBox {
  background-color: #ededeb;
  max-width: 1500px;
  margin: 0 auto;
}

.pageHeader-ani-fadeIn {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 60px;
  text-align: center;
  padding-top: 60px;
}

.inner-ani-fadeIn {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
}

.upDate {
  display: block;
  margin-bottom: 5px;
  color: #666;
}

.recentList {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.info-news-title {
  margin: 0 0 10px 0;
}

.info-news-title a {
  font-size: 25px;
  transition: opacity 0.25s ease;
  border-bottom: 1px solid #000;
}

.info-news-title a:hover {
  opacity: 0.5;
}

.itemTxt {
  margin: 0;
  color: #333;
}

.item-ani-fadeInUp {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.info-text-area {
  flex: 1; /* 余ったスペースを全て使う */
}

.listBottom {
  padding-bottom: 60px;
  margin-bottom: 60px;
}

.itemImg {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
}

.itemImg a {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------
 * 詳細ページ (Detail View) CSS
 * -------------------------------- */
.detail-flex-container {
  display: flex;
  justify-content: space-between;
  gap: 40px; /* 左右の余白 */
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 60px;
  padding-bottom: 60px;
}

/* 詳細：左側（テキスト） */
.detail-left {
  flex: 1; /* 余った幅を使う */
  min-width: 0; /* 文字があふれないように */
  text-align: left;
  width: 45%;
  display: flex;
  flex-direction: column;
}

.detail-left .infoDate {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.detail-left h1 {
  font-size: 25px;
  margin-bottom: 30px;
  line-height: 1.4;
}

.detail-left .infoContent {
  margin-bottom: 20px;
}

.btnGotoList a {
  display: inline-block;
  background-color: #666;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
  margin-top: auto;
  text-align: left;
  border-radius: 6px;
}

.btnGotoList {
  margin-top: auto;
  text-align: left;
}

.btnGotoList a:hover {
  opacity: 0.7;
}

/* 詳細：右側（画像） */
.detail-right {
  width: 50%;
  flex-shrink: 0;
}

.detail-main-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* --------------------------------
 * 4. レスポンシブ対応 (メディアクエリ)
 * マップのキーを使用して呼び出します
 * -------------------------------- */
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1540px) {
  .header-inner {
    max-width: 95%;
  }
  #about .inner,
  #news .inner,
  #facility .inner,
  #access .inner {
    max-width: 95%;
    width: 95%;
    height: 100%;
  }
  .precautions {
    background-position: right;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1442px) {
  .precautions .inner {
    width: 90%;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1312px) {
  .force-break2 {
    display: inline;
  }
  .access-text-column {
    padding-right: 20px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1270px) {
  .access-map-column iframe {
    width: 780px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1248px) {
  .access-map-column iframe {
    height: 400px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1172px) {
  .access-map-column iframe {
    width: 720px;
  }
  .info-box {
    margin-bottom: 0;
  }
  .force-break3 {
    display: inline;
  }
  .mv img {
    height: 80vh;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1136px) {
  .access-map-column iframe {
    height: 420px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1115px) {
  .force-break1 {
    display: inline;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1100px) {
  .access-bottom {
    flex-wrap: wrap;
  }
  .access-column-left,
  .access-column-center {
    flex-basis: 50%;
    width: 50%;
    margin-bottom: 30px;
  }
  .access-column-right {
    flex-basis: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .access-image img {
    width: 60%;
  }
  .info-box.access-fees {
    margin-top: 30px;
  }
  .access-column-center .info-box {
    margin-bottom: 30px;
  }
  .access-column-center .info-box:first-child {
    margin-bottom: 30px;
  }
  .force-break4 {
    display: inline;
  }
  .access-map-column iframe {
    width: 670px;
  }
}
/* --- 1024px 以下 (タブレット全般) --- */
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 1024px) {
  #header {
    padding: 40px 0;
    height: auto;
  }
  .header-inner {
    justify-content: space-between;
  }
  .header-inner .tagline {
    display: none;
  }
  #nav li {
    padding-left: 10px;
  }
  .tagline-overlay {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    text-orientation: upright;
    font-size: 20px;
    letter-spacing: 0.3em;
    line-height: 2;
    font-weight: 600;
    white-space: nowrap;
  }
  .mv {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
    height: 100%;
  }
  .mv img {
    height: 75vh;
    object-position: center 95%;
  }
  .about-details {
    flex-direction: column;
    justify-content: flex-end;
  }
  .detail-item {
    width: 100%;
    margin-bottom: 60px;
    border: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px dashed #999;
  }
  .detail-item:nth-child(3) {
    width: 100%;
    border-left: none;
    padding-left: 0;
  }
  .detail-item:first-child {
    border-left: none;
    border-bottom: 1px dashed #999;
  }
  .text-flexbox {
    width: 45%;
  }
  #about .text-en {
    width: 45%;
  }
  .onsen-specs {
    margin: 15px 0 5px;
  }
  .onsen-specs dd:last-child {
    margin-bottom: 0;
  }
  #news {
    margin-top: 120px;
  }
  #news .inner {
    flex-direction: column;
  }
  .news-header {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
  }
  .section-title-news {
    margin-bottom: 0;
  }
  .news-list {
    flex-basis: 100%;
  }
  #facility {
    padding: 80px 0;
  }
  #access {
    padding-bottom: 180px;
  }
  .access-map-column iframe {
    width: 440px;
    height: 365px;
  }
  .access-text-column {
    flex-basis: 45%;
  }
  .access-image img {
    width: 90%;
  }
  .access-column-center {
    justify-content: flex-end;
  }
  .access-column-center .info-box:first-child {
    margin-bottom: 60px;
  }
  .access-column-left, .access-column-center {
    flex-basis: 45%;
  }
  .info-detail-content {
    margin-bottom: 40px !important;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 930px) {
  .mv img {
    object-position: center 20%;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-info {
    margin-bottom: 60px;
  }
  .footer-nav a {
    font-size: 20px;
  }
  .footer-nav li {
    margin-left: 60px;
  }
  .copyright {
    text-align: left;
    margin-top: 60px;
  }
  .info-detail-flex {
    flex-direction: column !important;
    position: relative !important; /* 必須：ボタンの基準にする */
    padding-bottom: 100px !important; /* 必須：ボタンが重なる分の余白を下に作る */
    gap: 160px !important;
  }
  /* 2. 左側（テキスト＋ボタン）の箱をFlexコンテナにする */
  .detail-left {
    width: 100%;
    display: block;
  }
  /* 3. 画像の順番を調整 */
  .info-detail-image {
    width: 100% !important;
    margin-top: 20px;
    margin-bottom: 70px;
  }
  /* 4. 【重要】ボタンだけを画像よりさらに下に送る */
  .back-btn-wrapper {
    position: absolute !important;
    bottom: 0 !important; /* 親要素（flex）の最下部に固定 */
    left: 0 !important;
    /* 親（.info-detail-left）からはみ出させて、
       画像（order:1）よりも大きな数値を指定する */
    width: 100%;
    text-align: center !important;
    margin-bottom: 60px;
  }
  .back-btn-wrapper a {
    display: inline-block !important; /* 幅いっぱいにしない場合 */
  }
  .detail-flex-container {
    flex-direction: column;
    position: relative;
    padding-bottom: 100px;
  }
  .detail-right {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 70px;
  }
  .btnGotoList {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100%;
    text-align: center !important;
    margin-bottom: 60px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 849px) {
  .force-break5 {
    display: block;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 832px) {
  .access-map-column iframe {
    height: 390px;
    width: 350px;
  }
  .footer-nav li {
    margin-left: 40px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 796px) {
  .force-break6 {
    display: inline-block;
  }
}
/* --- 768px (タブレット縦) --- */
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 768px) {
  .section-title {
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .about-description {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .description-jp,
  .description-en {
    width: 100%;
    margin-bottom: 20px;
  }
  .about-images {
    margin-bottom: 20px;
  }
  .about-images .image-item {
    margin-bottom: 15px;
  }
  .about-details {
    flex-direction: column;
  }
  .detail-item {
    width: 100%;
    border: none;
    border-bottom: 1px dashed #999;
    margin: 20px 0;
  }
  .detail-item:last-child {
    border-bottom: none;
    border-bottom: 1px dashed #999;
  }
  #facility {
    padding: 80px 0;
  }
  .facility-description {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .facility-description .description-jp {
    width: 100%;
  }
  .facility-description .description-en {
    width: 100%;
  }
  #access {
    padding-bottom: 100px;
  }
  .access-top {
    display: block;
    margin-bottom: 0;
  }
  .access-text-column {
    flex-basis: 100%;
    width: 100%;
  }
  .access-text-column .access-description-jp {
    margin-bottom: 20px;
  }
  .access-text-column .access-description-en {
    margin-top: 0;
  }
  .access-text-column .access-description-en p:last-child {
    margin-bottom: 40px;
  }
  .access-map-column {
    order: 1;
  }
  .access-map-column iframe {
    width: 100%;
  }
  .access-description-jp {
    order: 2;
  }
  .access-bottom {
    flex-direction: column;
  }
  .access-column-left,
  .access-column-center,
  .access-column-right {
    flex-basis: 100%;
    width: 100%;
    margin-bottom: 40px;
  }
  .access-image img {
    width: 100%;
    height: 50vh;
    object-position: center 90%;
    display: none;
  }
  .info-box.access-fees {
    margin-top: 10px;
  }
  .access-column-center {
    flex-direction: row;
    justify-content: space-between;
  }
  .access-column-center .info-box {
    margin-bottom: 30px;
    width: 45%;
  }
  .access-column-center .info-box:first-child {
    margin-bottom: 30px;
  }
  .precautions {
    padding: 40px 0;
  }
  #footer {
    padding: 40px 0 10px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  .footer-info {
    margin-bottom: 40px;
  }
  .footer-nav ul {
    flex-direction: column;
  }
  .footer-nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .copyright {
    text-align: left;
    margin-top: 30px;
  }
  .info-title-section {
    margin-bottom: 60px !important;
  }
  .info-detail-flex {
    gap: 0px !important;
  }
  .info-detail-header {
    padding-bottom: 0 !important;
  }
  .pageHeader-ani-fadeIn {
    margin-bottom: 60px;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 717px) {
  .force-break7 {
    display: block;
  }
  .mv img {
    height: 65vh;
  }
  .detail-item {
    flex-direction: column;
    width: 100%;
  }
  .detail-item li {
    margin-bottom: 10px;
  }
  .text-flexbox {
    width: 100%;
  }
  #about .text-en {
    width: 100%;
  }
  .onsen-specs dd {
    margin-bottom: 10px;
  }
  .precautions {
    background-position: left;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 664px) {
  .force-break8 {
    display: block;
  }
}
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 560px) {
  .about-images {
    flex-direction: column;
  }
  .about-images .image-item {
    width: 100%;
    margin-bottom: 20px;
  }
  .facility-gallery {
    flex-direction: column;
  }
  .facility-gallery .gallery-item {
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px dashed #999;
  }
  .facility-gallery .gallery-item:last-child {
    margin-bottom: 0;
  }
  .facility-gallery .gallery-item figcaption {
    margin-bottom: 20px;
  }
  .facility-gallery .gallery-item img {
    margin-bottom: 5px;
  }
  .force-break5,
  .force-break7,
  .force-break8 {
    display: inline;
  }
}
/* --- 540px 以下 (スマホ) --- */
/* マップにキーが存在するか確認し、値を取得 */
@media (max-width: 540px) {
  #header {
    padding: 10px 0;
  }
  .hamburger {
    display: block;
    position: fixed;
    top: 40px;
    z-index: 1000;
  }
  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    z-index: 900;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #nav ul {
    writing-mode: vertical-rl;
    text-orientation: upright;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
  }
  #nav li {
    margin-bottom: 30px;
    margin-right: 30px;
  }
  #nav li:last-child {
    padding-left: 30px;
  }
  #nav aside {
    padding: 160px 0 40px 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(203, 193, 172);
  }
  #nav .nav-contact {
    display: block;
    font-size: 15px;
    line-height: 2.2;
    font-weight: bold;
  }
  header.open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
  }
  header.open #nav {
    right: 0;
    top: 0;
  }
  header.open #mask {
    display: block;
  }
  header.open .hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  header.open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  header.open .hamburger span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  #mask {
    background: none;
  }
  .congestion-popup {
    bottom: 20px;
    right: 20px;
    padding: 25px 15px 15px 15px;
    font-size: 14px;
  }
  .access-text-column .access-description-en {
    margin-top: 30px;
  }
  .access-column-center {
    flex-direction: column;
  }
  .access-column-center .info-box {
    width: 100%;
    border-bottom: 1px dashed #999;
  }
  .access-column-center .info-box:first-child {
    width: 100%;
    border-bottom: 1px dashed #999;
  }
  .access-column-right .info-box:last-child {
    border-bottom: 1px dashed #999;
  }
  .info-box .access-description-en:last-child {
    margin-bottom: 5px;
  }
  .onsen-specs dd {
    margin-left: 0;
  }
  .about-images .image-item {
    width: 100%;
    margin-bottom: 15px;
  }
  .facility-gallery .gallery-item {
    width: 100%;
    margin-bottom: 30px;
  }
  .info-news-item {
    display: block !important;
    max-width: none;
  }
  .info-news-item p {
    margin: var(--spacing-sm) 0;
  }
  .info-news-thumb {
    max-width: none !important;
    width: 100% !important;
    margin-top: 25px;
  }
  .item-ani-fadeInUp {
    display: block;
    max-width: none;
  }
  .itemImg {
    max-width: none;
    width: 100%;
    height: 100%;
    margin-top: 25px;
  }
  .itemImg a {
    width: 100%;
    aspect-ratio: 16/9; /* ← 高さはここで決める */
    background-repeat: no-repeat;
    background-position: center;
  }
  .listBottom {
    margin-bottom: 0;
  }
  .detail-flex-container {
    margin-bottom: 0;
  }
}

/*# sourceMappingURL=common.css.map */
