/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: serif;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP",
    sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  color: #fefefe;
  background-color: #1a1a1a;
  background-image: url(../img/bg.webp);
  background-position: center top;
  background-repeat: repeat;
  background-attachment: fixed;
}

/* ページ読み込み中はコンテンツを非表示（背景画像のみ表示）
   初期状態はHTMLのインラインスタイルで制御 */
section {
  margin-top: 100px;
}
section.hero {
  margin-top: 0;
}
.contentsBox {
  width: 88%;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}
img {
  width: 100%;
  height: auto;
}
p {
  letter-spacing: 0.125rem;
  line-height: 1.5rem;
  padding: 1rem 0;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin: 0 auto;
  padding: 0.9em 2em;
  border-top: 1px solid #aa9646;
  border-right: none;
  border-bottom: 1px solid #aa9646;
  border-left: none;
  color: #fff;
  font-size: 1em;
}
.btn::before,
.btn::after {
  position: absolute;
  width: 1px;
  height: 140%;
  background-color: #aa9646;
  content: "";
}
.btn::before {
  left: calc(3.1em / 5 - 1px);
}
.btn::after {
  right: calc(3.1em / 5 - 1px);
}
.btn-aria {
  margin-top: 50px;
}

/* roomページのbtn-aria内のbtnのwidthを変更 */
body.page-room .btn-aria .btn {
  width: 300px;
}

/* ================================
   ▼ スクロールで表示されるメニュー
================================ */
.scroll-menu {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 30px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.scroll-menu.active {
  opacity: 1;
  pointer-events: auto;
}
.menu-container {
  display: flex;
  justify-content: end;
  align-items: center;
}

/* ================================
   ▼ ハンバーガーアイコン
================================ */
.menu-toggle {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ハンバーガー → X アニメーション */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   ▼ スライドインメニュー（全画面）
================================ */
/* スライドインメニュー（全画面） - 初期は非表示 */
.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.4s ease;
  z-index: 1000;
  padding: 70px 20px 80px;
  box-sizing: border-box;
}
.menu-overlay.show {
  right: 0;
}
.menu-overlay ul {
  list-style: none;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu-overlay ul li {
  margin: 8px 0;
}
.menu-overlay ul li a {
  color: white;
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 8px;
}
.menu-overlay ul li a.contact-fix {
  /* 固定ボタンのスタイルを無効化（より具体的なセレクタで上書き） */
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  transform: none;
  writing-mode: horizontal-tb;
  letter-spacing: normal;
  width: auto;
  height: auto;
  text-align: center;
  z-index: auto;
  
  /* ボタンスタイル */
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 12px 35px;
  margin: 15px auto 0;
  max-width: 280px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}
.menu-overlay ul li a.contact-fix::after {
  display: none;
  content: none;
}
.menu-overlay ul li a.contact-fix:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* PC用タイトル */
.menu-title-pc {
  display: none;
}

.menu-title-pc a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  transition: opacity 0.3s ease;
}

.menu-title-pc a:hover {
  opacity: 0.8;
}

/* PC用ナビゲーション（常時表示） */
.menu-pc {
  display: flex;
  justify-content: end;
  gap: 30px;
  list-style: none;
}
.menu-pc li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

/* ハンバーガーアイコン（SP用） */
.menu-toggle {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* ハンバーガー → Xアニメーション */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 閉じるボタン（右向き矢印） */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
}
.menu-close:after {
  content: "➔";
}

/* ナビゲーションがスクロールで出現 */
.scroll-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* PC用メニューコンテナ */
.menu-pc-container {
  width: 88%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.scroll-menu.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   モバイル専用スタイル（〜768px）
================================= */
@media (max-width: 768px) {
  /* PCメニュー非表示 */
  .menu-pc {
    display: none;
  }

  /* PCタイトル非表示 */
  .menu-title-pc {
    display: none;
  }

  /* ハンバーガー表示 */
  .menu-toggle {
    display: flex;
  }

  /* モバイル固定ナビ（.scroll-menu）はそのまま */
  .scroll-menu {
    padding: 20px;
    justify-content: flex-end;
  }

  .menu-pc-container {
    width: 100%;
    max-width: none;
  }

  /* 関連ナビ（例：固定ボタンなど） */
  .nav-contact {
    display: block;
  }
  .scroll-menu {
    background-color: rgba(0, 0, 0, 0);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ===============================
   PC専用スタイル（769px以上）
   モバイル専用メニューを非表示
================================= */
@media (min-width: 769px) {
  /* ハンバーガー非表示 */
  .menu-toggle {
    display: none !important;
  }

  /* PCタイトル表示 */
  .menu-title-pc {
    display: block;
  }

  /* スライドインメニュー非表示 */
  .menu-overlay {
    display: none !important;
  }
}

/* ================================
   ▼ その他既存スタイル
================================ */
.splide__slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.contact-fix {
  position: fixed;
  top: 200px;
  right: 17px;
  z-index: 9998;
  transform: translateY(-50%);
  writing-mode: vertical-lr;
  letter-spacing: 0.3em;
  padding: 40px 7px;
  color: #fff;
  text-decoration: none;
}
.contact-fix::after {
  content: "";
  display: block;
  border-right: #fff solid 1px;
  height: 50px;
  width: 1px;
  position: absolute;
  top: -25px;
  right: 45%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .contact-fix {
    top: unset;
    bottom: 0;
    right: auto;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    transform: translateY(0);
    writing-mode: horizontal-tb;
    padding: 7px 0 0;
    height: 35px;
    font-size: 0.875rem;
    width: 100%;
    border-radius: 15px 15px 0 0;
    text-align: center;
    z-index: 1;
  }
  .contact-fix::after {
    display: none;
  }
  /* メニュー内のcontact-fixは固定ボタンのスタイルを無効化 */
  .menu-overlay ul li a.contact-fix {
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    transform: none;
    writing-mode: horizontal-tb;
    background-color: #ffffff;
    color: #000000;
    padding: 12px 35px;
    height: auto;
    width: auto;
    max-width: 280px;
    border-radius: 50px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #ffffff;
  }
  .menu-overlay ul li a.contact-fix::after {
    display: none;
    content: none;
  }
}

.main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
}
.main-title-en {
  color: #fff;
  font-size: 5rem;
  letter-spacing: 1.25rem;
  display: inline-block;
  margin-right: -1.25rem;
}
.main-title-ja {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 1.125rem;
}
.main-title-ja::before,
.main-title-ja::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5), 0 0 8px rgba(255, 255, 255, 0.3);
}
.main-title-ja::before {
  margin-right: 1em;
}
.main-title-ja::after {
  margin-left: 0.25em;
}
@media (max-width: 768px) {
  .main-title-en {
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    margin-right: -0.5rem;
  }
  .main-title-ja {
    font-size: 1rem;
    letter-spacing: 0.5rem;
    justify-content: center;
  }
  .main-title-ja::before,
  .main-title-ja::after {
    width: 1.5em;
    height: 1px;
    background: #fff;
  }
  .main-title-ja::before {
    margin-right: 1em;
  }
  .main-title-ja::after {
    margin-left: 0.5em;
  }
}

.content-catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}
.content-catch-en {
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(170, 150, 70, 0.8),
    0 0 20px rgba(170, 150, 70, 0.6), 0 0 30px rgba(170, 150, 70, 0.4);
}
.content-catch-ja {
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(170, 150, 70, 0.8),
    0 0 20px rgba(170, 150, 70, 0.6), 0 0 30px rgba(170, 150, 70, 0.4);
}
.content-catch-ja {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.125rem;
}
.content-catch-ja::before,
.content-catch-ja::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #aa9646;
  box-shadow: 0 0 4px rgba(170, 150, 70, 0.6), 0 0 30px rgba(170, 150, 70, 0.4);
}
.content-catch-ja::before {
  margin-right: 1em;
}
.content-catch-ja::after {
  margin-left: 1em;
}
@media (max-width: 768px) {
  .content-catch-ja {
    font-size: 0.875rem;
  }
  .content-catch-en {
    font-size: 1.5rem;
  }
}
/* ================================
   ▼ aboutページコンテンツ
================================ */
.about-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
}

.about-text {
  flex: 1;
  width: 50%;
  letter-spacing: 0.2rem;
  line-height: 2;
}

.about-text p {
  padding-bottom: 25px;
  font-size: 1rem;
}

.page-about-bg {
  flex: 1;
  width: 50%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-about-bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* TOPページ用のabout-galleryスタイル（既存のまま） */
.about-content .about-gallery {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.about-content .about-gallery img {
  width: 100%;
  border-radius: 8px;
}

/* ギャラリーセクション（aboutページ専用） */
.about-gallery-section {
  margin-top: 80px;
  margin-bottom: 60px;
}

.about-gallery-section .about-gallery {
  width: 100%;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.about-gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
}

.about-gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.about-gallery-note {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
  letter-spacing: 0.1rem;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }

  .about-text {
    width: 100%;
    padding: 0;
  }

  .page-about-bg {
    width: 100%;
  }

  .about-content .about-gallery {
    width: 100%;
  }

  .about-gallery-section {
    margin-top: 50px;
    margin-bottom: 40px;
  }

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

  .about-text p {
    padding-bottom: 20px;
    font-size: 0.9375rem;
  }
}

.slider {
  overflow: hidden;
  width: 100%;
}

.slider .slide-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scroll 30s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.slider .slide-track li {
  flex-shrink: 0;
  width: 350px;
  padding: 30px 5px;
}

.slider .slide-track img {
  width: 100%;
  display: block;
}

/* 横スクロールアニメーション */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ▼ スマホ（768px以下）用：速度を15秒に短縮 */
@media (max-width: 768px) {
  .slider .slide-track {
    animation: scroll 15s linear infinite;
  }
  .slider .slide-track li {
    flex-shrink: 0;
    width: 150px;
    padding: 30px 5px;
  }
  .about-content {
    flex-direction: column-reverse;
  }
}

.room-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 0;
}
.room-text {
  flex: 1;
  width: 50%;
  letter-spacing: 0.15rem;
}
.room-text dl dt {
  line-height: 2;
  padding: 25px 0 5px;
}
.room-text dl dt:first-child {
  padding: 0 0 5px 0;
}
.room-text dl dd span {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0;
  padding-top: 5px;
}
.room-text ul li {
  list-style-position: inside;
}

/* roomページの画像エリア（aboutページのpage-about-bgと同様） */
.page-room-bg {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-room-bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.room-gallery {
  width: 100%;
  margin-bottom: 0;
}

/* TOPページのroom-content内のgalleryは50%（TOPページのみ） */
.room-content .room-gallery {
  width: 50%;
}

.room-gallery-section {
  margin-top: 50px;
  margin-bottom: 40px;
}

.room-gallery-title {
  margin-bottom: 20px;
}

/* ご宿泊予約はこちらの下にスペース（2室目以降の見出し） */
.room-gallery + .room-gallery-title {
  margin-top: 40px;
}

.room-gallery-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  margin-bottom: 20px;
}

.room-gallery-note {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.1rem;
}
.room-gallery-note-sub {
  margin-top: 0;
  line-height: 1.7;
}

.room-gallery-reserve {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.room-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* TOPページのroomセクション内のgalleryは3列 */
/* TOPページのroom-content内のgalleryは3列（TOPページのみ） */
.room-content .room-gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* roomページのroom-gallery-section内のgalleryは4列 */
.room-gallery-section .room-gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.room-gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
}

.room-gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.room-img {
  margin-top: 50px;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room-bg {
  width: 85%;
  display: flex;
  padding-top: 80px;
}
.room-bg-imgarea {
  width: 100%;
}
.room-bg-img {
  width: 100%;
}

@media (max-width: 768px) {
  .room-content {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 0;
  }
  .room-text {
    width: 100%;
  }
  
  .page-room-bg {
    width: 100%;
  }
  
  .room-gallery {
    width: 100%;
    margin-bottom: 0;
  }
  
  /* TOPページのroom-content内のgalleryもスマホでは100% */
  .room-content .room-gallery {
    width: 100%;
  }
  
  .room-gallery-section {
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .room-gallery-title h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
  }
  .room-gallery-reserve {
    gap: 12px;
    margin-top: 16px;
  }
  .room-gallery-note-sub {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .room-img {
    height: auto;
  }
  .room-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
  }
  
  /* TOPページのroomセクション内のgalleryもスマホでは2列 */
  /* TOPページのroom-content内のgalleryもスマホでは2列 */
  .room-content .room-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* roomページのroom-gallery-section内のgalleryもスマホでは2列 */
  .room-gallery-section .room-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .room {
    padding-bottom: 80px;
  }
  .room-bg {
    width: 100%;
  }
  .reservation-container {
    min-height: auto;
    padding: 40px 0;
  }
  .btn-reservation {
    margin-bottom: 20px;
  }
  .btn-reservation a {
    max-width: 100%;
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  .room-gallery .btn-reservation {
    margin-top: 12px;
  }
  .room-gallery .btn-reservation a {
    padding: 10px 45px 10px 18px;
    font-size: 0.85rem;
  }
  .room-gallery .btn-reservation a:after {
    right: 20px;
  }
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.modal.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.room-modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  object-fit: contain;
}

/* ▼ 閉じるボタン */
.close {
  position: absolute;
  top: 60px;
  right: 90px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  z-index: 10001;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.close:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  .close {
    top: 80px;
    right: 23px;
  }
}
/* ▼ 矢印（左右） */
.arrow {
  position: absolute;
  top: 50%;
  font-size: 48px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10001;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.arrow.left {
  left: 30px;
}

.arrow.right {
  right: 30px;
}

.access {
  padding-bottom: 100px;
}

.access-text h3 {
  padding-bottom: 5px;
}
.access-text h3 span {
  font-size: 0.875rem;
}
.access-text p {
  padding-bottom: 25px;
}

.access-text-ad {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  padding: 50px 0px;
  margin-bottom: 50px;
}
.access-text-ad h3 {
  width: 30%;
  max-width: 30%;
}
@media (max-width: 768px) {
  .access {
    padding-bottom: 50px;
  }
  .access-text-ad {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 25px 0px;
  }
  .access-text-ad h3 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

.movie-container {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.reservation-container {
  width: 100%;
  min-height: 500px;
  padding: 60px 20px;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/reservation-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reservation-text {
  color: #fefefe;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.1rem;
}

@media (max-width: 768px) {
  .reservation-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
  }
}

.reservation {
  padding-top: 0;
}
.btn-reservation {
  margin-top: 0;
  margin-bottom: 25px;
  padding: 0 20px;
}
.btn-reservation a {
  background: #342011;
  border: 1px solid #b28452;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 380px;
  padding: 10px 50px;
  color: #fefefe;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.btn-reservation a:hover {
  background: #fefefe;
  color: #333;
}
.btn-reservation a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #fefefe;
  border-right: 3px solid #fefefe;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 30px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.room-gallery .btn-reservation a {
  padding-right: 50px;
}
.room-gallery .btn-reservation a:after {
  right: 25px;
}
.btn-reservation a:hover:after {
  border-color: #342011;
}

/************************** 
フッター 
***************************/
footer {
  background: #333;
}
footer ul li {
  list-style-type: none;
  padding: 0.25em;
}
.footer-logo-container {
  margin-bottom: 20px;
}
.footer-logo-container a {
  color: #fefefe;
}
.footer-logo-container img {
  width: 100%;
}
.footer-box {
  color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 50px;
  justify-content: space-between;
}

.footer-info {
  width: 30%;
}
.footer-info ul {
  list-style-type: none;
}
.footer-nav {
  margin-top: 50px;
}
.footer-nav a {
  text-decoration: none;
  color: #fefefe;
}
@media (max-width: 768px) {
  .footer-box {
    flex-direction: column;
  }
  .footer-info {
    width: 100%;
  }
  .footer-nav {
    margin-top: 25px;
  }
}
.copy {
  margin-top: 50px;
  font-size: 0.8125rem;
  text-align: center;
  color: #fff;
}
@media (max-width: 768px) {
  .copy {
    margin-bottom: 40px;
  }
}

/* ================================
   ▼ 右から左にカーテンが開くページ遷移アニメーション
================================ */
.page-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.curtain-panel {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 30%, #2d2d2d 60%, #0f0f0f 100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.curtain-right {
  right: 0;
  transform: translateX(100%);
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5),
    -4px 0 40px rgba(0, 0, 0, 0.3);
}

/* カーテンを閉じるアニメーション（右から左へ） */
.page-curtain.closing .curtain-right {
  transform: translateX(0);
}

/* ページ読み込み時の初期状態 */
.page-curtain .curtain-right {
  transform: translateX(100%);
}

/* ページ読み込み完了後の状態 */
body.page-loaded .page-curtain .curtain-right {
  transform: translateX(100%);
}

/* カーテンを開くアニメーション（左へ移動） */
.page-curtain.opening .curtain-right {
  transform: translateX(-100%) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .curtain-panel {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* ================================
   ▼ ページ専用ヒーロー画像セクション
================================ */
.page-about-img {
  position: relative;
  width: 100%;
  height: calc(50vh - 80px);
  min-height: calc(400px - 80px);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("../img/room/img00-01.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

/* roomページ用の背景画像 */
body.page-room .page-about-img {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("../img/room/img00-01.webp");
}

/* accessページ用の背景画像 */
body.page-access .page-about-img {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("../img/room/img00-01.webp");
}

.page-about-img .about-catch-en,
.page-about-img .access-catch-en {
  font-size: 3.5rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.5rem;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(170, 150, 70, 0.8),
    0 0 40px rgba(170, 150, 70, 0.6), 0 0 60px rgba(170, 150, 70, 0.4);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.page-about-img .about-catch-ja,
.page-about-img .access-catch-ja {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 15px rgba(170, 150, 70, 0.8),
    0 0 30px rgba(170, 150, 70, 0.6), 0 0 45px rgba(170, 150, 70, 0.4);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.page-about-img .about-catch-ja::before,
.page-about-img .about-catch-ja::after,
.page-about-img .access-catch-ja::before,
.page-about-img .access-catch-ja::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: #aa9646;
  box-shadow: 0 0 8px rgba(170, 150, 70, 0.8),
    0 0 16px rgba(170, 150, 70, 0.6), 0 0 40px rgba(170, 150, 70, 0.4);
  opacity: 0;
  animation: fadeIn 1s ease-out 0.9s forwards;
}

.page-about-img .about-catch-ja::before,
.page-about-img .access-catch-ja::before {
  margin-right: 1.5em;
}

.page-about-img .about-catch-ja::after,
.page-about-img .access-catch-ja::after {
  margin-left: 1.5em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .page-about-img {
    height: calc(40vh - 70px);
    min-height: calc(350px - 70px);
    margin-top: 70px;
    background-attachment: scroll;
  }

  .page-about-img .about-catch-en,
  .page-about-img .access-catch-en {
    font-size: 2rem;
    letter-spacing: 0.3rem;
    margin-bottom: 20px;
  }

  .page-about-img .about-catch-ja,
  .page-about-img .access-catch-ja {
    font-size: 1rem;
    letter-spacing: 0.15rem;
  }

  .page-about-img .about-catch-ja::before,
  .page-about-img .about-catch-ja::after,
  .page-about-img .access-catch-ja::before,
  .page-about-img .access-catch-ja::after {
    width: 50px;
  }

  .page-about-img .about-catch-ja::before,
  .page-about-img .access-catch-ja::before {
    margin-right: 1em;
  }

  .page-about-img .about-catch-ja::after,
  .page-about-img .access-catch-ja::after {
    margin-left: 1em;
  }
}
