@charset "UTF-8";
/* CSS Document */
body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  background-color: #f8f8f8;
  color: #333;
}


/* ヘッダー */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #786E6E;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* ロゴ */
.logo a {
  color: gold;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
}

/* ナビゲーション */
nav {
  flex: 1;
  text-align: center;
}
nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: inline-flex;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #E1C924;
}

/* 体験予約ボタン */
.cta-btn {
  background: gold;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #fff;
  color: #000;
}

/* ハンバーガー */
.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  margin-left: 10px;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* PC/スマホ切り替え */
.desktop-cta { display: inline-block; }
.mobile-cta { display: none; }

/* ナビ（スマホ時用） */
@media (max-width: 1100px) {
  nav {
    display: none;
    position: absolute;
    top: 60px; 
    right: 0;
    background: rgba(0,0,0,0.95);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    z-index: 2000;   /* ★ここを追加して最前面に出す */
    width: 200px;    /* 幅を指定して見やすくする */
  }
  nav.active { display: block; }

  nav ul { display: block; }
  nav ul li { margin: 10px 0; }

  .hamburger { display: flex; }
  .desktop-cta { display: none; }
  .mobile-cta { display: block; margin-top: 15px; }
}

.hero, .service-hero {
  text-align: center;
  padding: 60px 20px;
  background-image: url('images/gym.jpg');
  background-size: cover;
  background-position: center;
  color: #111;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #f1c40f;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.service-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.service-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.extras {
  padding: 40px 20px;
  background-color: #eee;
}

footer {
  background-color: #786E6E;
  color: #fff;
  text-align: center;
  padding: 15px;
}
