@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700;900&family=Inter:wght@400;700;800;950&family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;500;700&display=swap');

/* Apply default font families */
body {
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif !important;
  background-color: #FDFCF8;
  color: #1e293b;
  overflow-x: hidden;
}

/* Custom serif family class */
.serif {
  font-family: "Noto Serif JP", "Shippori Mincho", "Noto Serif CJK JP", serif !important;
}

/* Custom layout classes and utility compatibility layers */
.font-serif {
  font-family: "Noto Serif JP", "Shippori Mincho", "Noto Serif CJK JP", serif !important;
}
.font-sans {
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif !important;
}

/* Scroll-triggered fade animation states */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Beautiful sparkling custom radial-gradient dotted paper background */
.sparkle-bg {
  background-color: #FDFCF8 !important;
  background-image: radial-gradient(#fde68a 1.5px, transparent 1.5px) !important;
  background-size: 20px 20px !important;
}

/* Page curl corner folded effect */
.page-curl {
  position: relative;
}
.page-curl::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 32px 32px;
  border-color: transparent transparent #e2e8f0 transparent;
  filter: drop-shadow(-2px -2px 2px rgba(0,0,0,0.06));
  pointer-events: none;
}

/* Image zoom on hover */
.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/* Accordion max-height transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-content.is-open {
  max-height: 1000px;
  opacity: 1;
}

.accordion-btn svg {
  transition: transform 0.3s ease;
}

.accordion-btn.is-active svg {
  transform: rotate(180deg);
}

/* Custom scrollbar styling for the scrollable areas */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px; /* スクロールバーの横幅をスリムに */
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent; /* 背景を透明にして紙の質感と調和させる */
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1; /* つまみ部分の淡いグレー */
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8; /* マウスを当てた際のホバーカラー */
}
/* Firefox 用の互換定義 */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.btn-reservation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem; /* 上下14px 左右36px のゆったりした美しい余白 */
  background-color: #1e3a8a; /* テーマ（五峯祭）に合わせた品格ある深みのあるロイヤルブルー */
  color: #ffffff !important; /* テキスト色は白 */
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.05em; /* 文字間を少し広げて洗練された印象に */
  border-radius: 9999px; /* 完全に丸みのあるカプセル型デザイン */
  box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.1), 0 2px 4px -1px rgba(30, 58, 138, 0.06); /* 上品な柔らかい影 */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* なめらかなアニメーション */
  text-decoration: none; /* 下線のクリア */
  cursor: pointer;
  border: none;
}

/* ホバー時に少し浮かび上がるアニメーション */
.btn-reservation:hover {
  background-color: #1d4ed8; /* ホバー時に少しだけ明るい青にしてコントラストを確保 */
  transform: translateY(-3px); /* 3px上に優しく浮かび上がる */
  box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.25), 0 4px 6px -2px rgba(30, 58, 138, 0.15); /* 影を広げてより浮遊感を演出 */
}

/* クリックした瞬間（アクティブ時）の押し込みフィードバック */
.btn-reservation:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.15);
}