/* ===== 基本 ===== */
body {
  margin: 0;
  font-family: "Hiragino Sans","Meiryo",sans-serif;
  background: #f9ffff;
  color: #333;
  text-align: center;
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #00cccc, #009999);
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
}
.logo a {
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.main-nav ul li a:hover { text-decoration: underline; }

/* 📱 スマホ用メニュー */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: #00aaaa;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }
  .main-nav ul.active { display: flex; }
}

/* ===== Hero ===== */
.hero {
  padding: 100px 20px 60px;
  background: linear-gradient(135deg,#00cccc,#009999);
  color: white;
  border-radius: 0 0 60px 60px;
}
.hero h1 { font-size: 28px; margin-bottom: 15px; }
.hero p { line-height: 1.8; font-size: 16px; }

/* ===== カードグリッド ===== */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,204,204,0.1);
  width: 330px;
  padding: 20px;
  text-align: center;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  background: #00cccc;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.3s;
}
.btn:hover { background: #009999; }

/* ===== フッター ===== */
footer {
  background: #f0ffff;
  color: #555;
  padding: 25px;
  font-size: 14px;
  margin-top: 60px;
}

/* ===== ページトップボタン ===== */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 999;
  background: #00cccc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
#scrollTopBtn:hover { background: #009999; }

/* ▼ ヘッダーメニュー用のスタイル追加 */
header {
  background: linear-gradient(135deg,#00cccc,#009999);
  color: white;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

#menuToggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  float: right;
}

#navMenu {
  display: none;
  background: #008888;
  margin-top: 10px;
}

#navMenu.open {
  display: block;
}

#navMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#navMenu li {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

#navMenu a {
  color: white;
  text-decoration: none;
}