@charset "UTF-8";

/* ==============================
   全体の設定
   ============================== */
:root {
  --bg-color: #F0F8FF;      /* 背景色（ほんのり青みがかった爽やかな白：AliceBlue） */
  --text-color: #333333;    /* 基本の文字色（変更なし） */
  --main-color: #00A2E8;    /* メインカラー（スカイブルー） */
  --accent-color: #FF7B00;  /* アクセントカラー（オレンジ。目立たせたい部分に使用） */
  --white: #FFFFFF;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   各セクション共通
   ============================== */
.section {
  padding: 50px 20px;
}
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 30px;
  letter-spacing: 2px;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--main-color);
  margin: 10px auto 0;
}
/* ==============================
   アニメーション1：フワッと現れるヒーロー
   ============================== */
.hero-content {
  /* 1.5秒かけて、fadeInという動きを実行する */
  animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
  0% { 
    opacity: 0; /* 最初は透明 */
    transform: translateY(20px); /* 20px下にずらしておく */
  }
  100% { 
    opacity: 1; /* 完全に表示 */
    transform: translateY(0); /* 元の位置に戻る */
  }
}

/* ==============================
   アニメーション2：浮き上がるボタン
   ============================== */
.toc-list li a {
  /* 動きを0.3秒かけて滑らかにする魔法の1行 */
  transition: all 0.3s ease; 
}

/* マウスを乗せた時（hover）と、タップした瞬間（active） */
.toc-list li a:hover,
.toc-list li a:active {
  transform: translateY(-3px); /* 3px上に動かす */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* 影を濃くする */
  background-color: var(--main-color); /* 背景をメインカラーに */
  color: var(--white); /* 文字を白に */
}

/* ==============================
   1. ヒーローセクション
   ============================== */
.hero {
  /* ▼背景画像と、文字を読みやすくするための半透明フィルター（黒の40%）を設定 */
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('images/hero-bg.jpg');
  background-size: cover;          /* 枠に合わせて画像を自動で拡大・縮小 */
  background-position: center;     /* 画像の中心を基準に表示 */
  background-repeat: no-repeat;    /* 画像の繰り返しを防ぐ */
  
  color: var(--white);
  text-align: center;
  /* 画像の魅力が伝わるよう、上下の余白（高さ）を少し広めに調整しています */
  padding: 100px 20px 80px; 
}
.main-logo-text {
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: 3px;
}
.main-logo {
  width: 85%;       /* スマホ画面に対するロゴの幅（85%） */
  max-width: 400px; /* PCなどで見たときの最大幅 */
  margin: 0 auto 10px; /* 中央揃えにして、下に10pxの余白 */
}

/* ==============================
   2. 目次ボタン
   ============================== */
.toc-nav {
  background-color: var(--white);
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  /* スマホでスクロール時に上部に固定（ピタッとくっつく） */
  position: sticky;
  top: 0;
  z-index: 100;
}
.toc-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li a {
  display: block;
  padding: 8px 12px;
  background-color: #f4f4f4;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}
.toc-list li a:active {
  background-color: var(--main-color);
  color: var(--white);
}

/* ==============================
   3. プログラム
   ============================== */
.program-section {
  padding: 40px 10px; /* 上下の余白も少し広げてゆったりさせました */
  background-color: var(--bg-color);
}
.program-image-wrapper {
  text-align: center;
  width: 100%;
}
.program-image {
  display: block;
  margin: 0 auto;
  /* ▼ 横幅を100%から変えることで、左右に余白を作ります ▼ */
  width: 80%;       /* スマホ画面の80%の幅で表示（＝左右に10%ずつの余白ができる） */
  max-width: 600px;
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* 影を少し濃く・広くして立体感をアップ */
  
  /* ▼ 常に動くフワフワをやめ、表示された瞬間にスッと現れる動きに変更 ▼ */
  animation: slideUpFade 1s ease-out forwards;
}

/* スッと浮き上がって定着する動きの設計図 */
@keyframes slideUpFade {
  0% {
    opacity: 0; /* 最初は透明 */
    transform: translateY(30px); /* 30px下に隠しておく */
  }
  100% {
    opacity: 1; /* 完全に表示 */
    transform: translateY(0); /* 元の位置にピタッと止まる */
  }
}

/* ==============================
   4. エリアマップ
   ============================== */
.map-note {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

/* ==============================
   5. キッズランド
   ============================== */
.kids-image {
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ==============================
   6. 売店
   ============================== */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* スマホで2列にする設定 */
  gap: 15px;
}
.shop-item {
  background-color: var(--white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}
.shop-item img {
  border-radius: 5px;
  margin-bottom: 10px;
}
.shop-item h3 {
  font-size: 16px;
  margin: 0 0 5px;
}
.shop-item p {
  font-size: 12px;
  margin: 0;
  color: #666;
}

/* ==============================
   7. 注意事項
   ============================== */
.rules-section {
  background-color: var(--white);
}
.rule-list {
  list-style: none;
  padding: 0;
}
.rule-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}
.rule-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--main-color);
}

/* ==============================
   フッター
   ============================== */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
}

/* ==============================
   追加：プログラム画像のリッチな演出
   ============================== */

/* 1. キラッと光るエフェクトの枠組み */
.shine-wrapper {
  display: inline-block; /* 画像の幅にピッタリ合わせる魔法 */
  position: relative;
  overflow: hidden; /* はみ出た光をカットして、画像の形に収める */
  border-radius: 12px; /* 画像の角丸に合わせる（もし画像が四角ければ0にします） */
}

/* 光の帯の正体（疑似要素） */
.shine-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  /* 白くて半透明なグラデーションの帯を作る */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); /* 帯を斜めにする */
  animation: shine 5s infinite; /* 5秒ごとに繰り返す（無限ループ） */
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }  /* 最初の1秒で駆け抜ける */
  100% { left: 200%; } /* 残りの4秒は待機（これを入れないとチカチカしすぎます） */
}



