html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: url("koba.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* 中央コンテンツが短くても背景がしっかり表示される */
.container {
  min-height: calc(100vh - 120px);  /* ヘッダー・フッター分を除く */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.nav {
  background-color: rgba(0, 0, 0, 0.5);  /* 半透明の黒背景で視認性アップ */
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  z-index: 10;
  position: relative;
}

footer {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  color: white;
  z-index: 5;
  position: relative;
  text-align: center;  /* ← 追加済み */
}

/* 全体共通で白文字＋文字影を統一 */
body, .container, .greeting-message, footer, nav, nav a, h1, h2, h3, p, a {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  color: white;
}

.slider {
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.slider-track {
  display: inline-flex;
  gap: 10px;
}

.slider-track img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
/* ギャラリー用スライダー */
.gallery-container {
  overflow-x: scroll;
  white-space: nowrap;
  padding: 20px;
}

.gallery-container img {
  height: 200px;
  margin-right: 10px;
  border-radius: 8px;
  display: inline-block;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.button-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  transition: background-color 0.3s;
}

.button-link:hover {
  background-color: rgba(255, 255, 255, 0.25);
}