@charset "utf-8";

/* ===== 変数設定 ===== */
:root {
  --max-width: 1100px; /* コンテンツの最大幅 */
  --padding: 20px;     /* 左右の余白 */
  --text-color: #333;
  --theme-font: "Shippori Mincho", "Yu Mincho", serif; /* 和風な雰囲気用 */
}

/* ===== 基本設定 ===== */
* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text-color);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

img { max-width: 100%; height: auto; vertical-align: bottom; }

/* 共通クラス: コンテンツを中央に寄せる箱 */
.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding);
  position: relative;
}

.text-center { text-align: center; }

/* セクション共通の余白 */
.section-wrap {
  padding: 80px 0;
}
.bg-gray { background-color: #f9f9f9; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(5px);
}

.nav-inner {
  display: flex;
  justify-content: center; /* メニューを中央寄せ */
  padding-top: 15px;
  padding-bottom: 15px;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff; /* ★文字を真っ白に！ */
  text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* ★背景が明るくても読めるように黒い影をつけるよ */
}

/* ===== HERO (メインビジュアル) ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: clamp(600px, 85vh, 900px); /* 高さを確保 */
  overflow: hidden;
}

/* 背景画像設定 */
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4)), /* 下部を少し暗く */
    url("../images/hero.png");
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

/* コンテンツ配置用レイヤー */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto; /* 中央配置 */
}

/* 各パーツの配置 */
.store-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.store-badges .badge { height: 44px; }
.store-badges .badge.gp { height: 56px; }

.hero-title-wrap {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}
.hero-title {
  max-width: 500px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.hero-actions {
  position: absolute;
  bottom: 30px;
  right: 20px;
}

/* ===== VIDEO ===== */
.promo-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #000;
}
.promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== OVERVIEW (WIX風デザイン) ===== */
/* ★追加：Overviewだけ、全体の幅（1100px）の制限を解除して広くする */
#overview .inner {
  max-width: 1600px; /* または 100% にすると画面端まで広がります */
}

.overview-grid {
  display: grid;
  /* ★変更：画像の比率を上げる（1.2fr → 1.6fr） */
  grid-template-columns: 2.0fr 1fr; 
  gap: 15px;
  align-items: center;
}

.overview-media img {
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.overview-text {
  text-align: center;
}

.overview-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  color: #aaa;
  margin: 0;       /* ← 下の余白を完全になくしました */
  line-height: 1;  /* ← 行自体の高さもキュッと詰めました */
  letter-spacing: 0.05em;
}

.overview-sub {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.overview-desc {
  text-align: center; /* ← 左揃えから中央揃えに変更 */
  display: block;     /* ← ブロック全体を使って中央に配置 */
  font-family: var(--theme-font);
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 20px;
}

.overview-free {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 30px;
}

/* ===== PARALLAX (忍城) ===== */
.parallax-section {
  width: 100%;
  height: 75vh;
  min-height: 600px;
  background-image: url("../images/oshiro_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
  /* 中身の配置設定 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative; /* ボタンの配置基準になります */
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 少し暗さを強めました */
  z-index: 1;
}

/* コンテンツ（文字とロゴ） */
.parallax-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: var(--max-width);
  /* ボタンを外に出したので、少し上にずらしてバランスを取ります */
  margin-bottom: 60px; 
}

.parallax-text {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: bold;
  margin: 0 0 10px; /* 線との距離 */
  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
  line-height: 1.5;
}

/* ★追加：細い横線 */
.line {
  width: 100%;            /* 画面いっぱいまで伸ばすなら100% */
  max-width: 700px;       /* さすがに長すぎるので上限を設定 */
  height: 1px;            /* 線の太さ */
  background: rgba(255, 255, 255, 0.7); /* 白（少し透明） */
  margin: 0 auto 40px;    /* 上下の余白：上0、下40px */
}

/* ★変更：ロゴを大きく */
.parallax-logo img {
  width: 500px;           /* ご希望の大きさへ */
  max-width: 90%;         /* スマホでは画面幅の90%に縮小 */
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* ★変更：ボタンを底に固定 */
.btn.bottom-btn {
  position: absolute;     /* 自由配置モード */
  bottom: 50px;           /* 底から50pxの位置 */
  left: 50%;              /* 左から50%の位置 */
  transform: translateX(-50%); /* 自身の幅の半分だけ左に戻す（完全中央寄せ） */
  z-index: 3;
  min-width: 160px;
  text-align: center;
  background: rgba(0,0,0,0.6); /* 背景を少し濃くして読みやすく */
}

/* スマホ用設定 */
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: block; }
  .parallax-section { background-attachment: scroll; }
  
  /* スマホではロゴを少し控えめにしないと圧迫感がすごいので調整（任意） */
  .parallax-logo img { width: 300px; }
}

/* ===== CHARACTER ===== */

/* Characterも幅広で見せたいので、制限を緩めます */
#character .inner {
  max-width: 1400px;
}

.character-grid {
  display: grid;
  /* 左(テキスト1) : 右(画像2.2) の比率 */
  grid-template-columns: 1fr 2.2fr;
  gap: 30px; /* 隙間 */
  align-items: center;
}

/* テキストエリアの設定 */
.character-text {
  text-align: center; /* 中央揃え */
  padding: 0 20px;
}

/* 画像の設定 */
.character-media img {
  display: block;
  width: 100%;
  height: auto;
  /* キャラクター画像は影をつけない方が自然なことが多いですが、
     もし浮き上がらせたい場合は以下のコメントアウトを外してください */
  /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); */
}

/* ===== スマホ対応 ===== */
@media (max-width: 900px) {
  .character-grid {
    grid-template-columns: 1fr; /* 縦積みに変更 */
    gap: 50px;
  }
  
  /* スマホでは画像を先に（上に）見せたい場合 */
  .character-media { order: 1; }
  .character-text  { order: 2; }
}

/* ===== PARALLAX APP (2つ目のパララックス) ===== */

/* このセクション専用の背景画像を設定 */
.parallax-app {
  background-image: url("../images/bg_characters.jpg");
  /* 必要に応じて高さを調整してください */
  height: 80vh; 
  min-height: 400px;
}

/* ストアバッジを底に並べて配置 */
.app-links {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* バッジ画像のサイズ調整（共通クラスを利用しつつ微調整） */
.app-links img.badge {
  height: 50px; /* 少し大きめに見やすく */
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6)); /* 影をつけて背景から浮き立たせる */
  transition: transform 0.2s;
}

.app-links img.badge.gp {
  height: 64px; /* GooglePlayは余白が大きいので少し大きく設定 */
}

/* ホバー時に少し動く演出（クリックしたくなるように） */
.app-links a:hover img {
  transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 768px) {
  /* スマホではバッジを少し小さく、縦並びにしても良いかも */
  .app-links img.badge { height: 40px; }
  .app-links img.badge.gp { height: 52px; }
}

/* ===== VISIT & GPS ===== */

/* ここも幅広で見せます */
#visit-gps .inner {
  max-width: 1200px;
}

.visit-grid {
  display: grid;
  /* 左(画像) : 右(テキスト) の比率を 1:1 にしてバランス重視 */
  grid-template-columns: 1fr 1fr; 
  gap: 50px;
  align-items: center;
}

/* 画像の設定 */
.visit-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ふんわり影 */
}

/* テキストの設定 */
.visit-text {
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr; /* 縦積み */
    gap: 30px;
  }
}

/* ===== PARALLAX TOWN (3つ目のパララックス) ===== */
.parallax-town {
  background-image: url("../images/bg_town.gif");
  height: 80vh;
  min-height: 400px;
  image-rendering: pixelated;
  
  /* ↓もしGIFの位置がズレるようなら、この行を追加して位置調整してもOKです */
  background-position: center bottom; 
}

/* ★追加：このセクションだけ、暗いエフェクト（幕）を消す設定 */
.parallax-town::before {
  display: none;
}

/* .parallax-town の中にある画像（img）だけ、なめらか表示に戻す設定 */
.parallax-town img {
  image-rendering: auto; /* ← これで通常モードに戻ります */
}

/* ※ .app-links の設定は既に書いてあるので、自動的にボタンが底に配置されます */

/* ===== SUPPORTERS ===== */

#supporters .inner {
  max-width: 1200px;
}

.supporters-grid {
  display: grid;
  /* 左(テキスト) : 右(画像) = 1 : 1.4 くらいの比率 */
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

/* テキストの設定 */
.supporters-text {
  text-align: center; /* 項目全体は中央寄せ */
}

/* 画像の設定 */
.supporters-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 900px) {
  .supporters-grid {
    grid-template-columns: 1fr; /* 縦積み */
    gap: 30px;
  }
  
  /* スマホでは画像を先に（上に）見せたい場合は以下の2行を追加 */
  .supporters-media { order: 1; }
  .supporters-text  { order: 2; }
}

/* ===== GALLERY ===== */
.gallery-section {
  width: 100%;
  overflow: hidden; /* はみ出した部分を隠す */
  background: #222; /* 背景は黒っぽく */
  padding: 0;
}

.gallery-track {
  display: flex;
  width: max-content; /* 中身の長さに合わせる */
  /* 40秒かけてゆっくり左へ流れるアニメーション */
  animation: loop-slide 40s linear infinite;
}

/* 画像の設定 */
.gallery-track img {
  height: 50vh;       /* 画面の半分の高さで統一 */
  min-height: 300px;  /* 最小サイズ */
  width: auto;        /* 横幅はなりゆき */
  display: block;
}

/* アニメーションの定義 */
@keyframes loop-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 全体の長さの50%（つまり1セット分）動いたら0に戻る */
    transform: translateX(-50%);
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .gallery-track img {
    height: 35vh; /* スマホなら少し小さめに */
  }
}

/* ===== BOTTOM BADGES ===== */
.bottom-badges {
  padding: 60px 0;
  background: #fff;
  position: relative;
  text-align: center;
}
/* ここでは position: absolute を解除して、普通に表示します */
.bottom-badges .app-links {
  position: static;
  transform: none;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
}

/* 透明ボタン */
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  background: rgba(0,0,0,0.3);
}
.btn-ghost:hover { background: rgba(0,0,0,0.5); }

/* 枠線ボタン（黒） */
.btn-border {
  border: 1px solid #333;
  color: #333;
  padding: 12px 40px;
}
.btn-border:hover {
  background: #333;
  color: #fff;
}

/* 塗りつぶしボタン（黒） */
.btn-black {
  background: #333;
  color: #fff;
  border: 1px solid #333;
  padding: 12px 40px;
}
.btn-black:hover {
  background: #fff;
  color: #333;
}

/* ===== アニメーション ===== */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}
.fadein.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ===== レスポンシブ (スマホ対応) ===== */
@media (max-width: 768px) {
  .section-wrap { padding: 50px 0; }
  
  /* メニューを小さく */
  .nav { gap: 10px; }
  .nav a { font-size: 12px; }

  /* ヒーローエリア調整 */
  .hero-section { height: 600px; }
  .store-badges { 
    top: auto; bottom: 120px; /* タイトルの上に移動 */
    left: 50%; transform: translateX(-50%);
  }
  .hero-title-wrap { bottom: 60px; }
  .hero-actions { 
    top: 15px; right: 15px; bottom: auto; /* 右上に移動 */
  }

  /* グリッドを縦積みに */
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .overview-text { padding: 0 10px; }
}

/* ===== PRIVACY POLICY PAGE ===== */

.policy-page {
  padding: 80px 0;
  background: #f9f9f9;
  min-height: 80vh; /* 中身が少なくてもフッターが浮かないように */
}

/* ページタイトル */
.page-title {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 32px;
  margin-bottom: 60px;
  color: #333;
}

/* 本文エリア（読みやすく幅を狭める） */
.policy-content {
  max-width: 800px; /* 横に広がりすぎないように制限 */
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  line-height: 2.0;
  font-size: 15px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h3 {
  font-size: 18px;
  border-left: 4px solid #333; /* 左にアクセントの線 */
  padding-left: 12px;
  margin-bottom: 15px;
  background: #f4f4f4;
  padding: 8px 12px;
}

.policy-section ul {
  padding-left: 20px;
  margin: 10px 0;
}
.policy-section ul li {
  list-style: none;
  margin-bottom: 5px;
}

.policy-footer {
  margin-top: 60px;
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 14px;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .policy-content {
    padding: 30px 20px;
  }
  .page-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}

/* 石巻RPG完全再現：Heroエリア調整（微調整版） */

/* ①ヘッダーを透明にしてマップの上に重ねる！ */
header {
  background: transparent !important; /* 白い背景を消す */
  border-bottom: none !important; /* 下の線を消す */
  backdrop-filter: none !important; /* すりガラス効果を消す */
  position: absolute !important; /* スクロールについてこないように固定 */
  top: 0;
  width: 100%;
}

.nav-inner {
  justify-content: space-between;
  align-items: center;
}
.city-symbol img {
  height: 70px;
  width: auto;
  margin-right: 20px;
}

/* ②メインビジュアル全体の高さ（キャンバスを大きく！） */
.hero-section {
  position: relative;
  height: 100vh; /* 画面いっぱいの高さ */
  min-height: 1000px; /* ★最低でも900pxを確保して、切れないようにする */
  background-color: #ffffff; /* 下の白い空間用 */
}

/* ③背景マップ（下を少し空けて白空間を作る） */
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; 
  height: 85%; /* ★ここがポイント！マップを途中で終わらせて、下15%を真っ白な空間にする */
  z-index: 1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; 
  width: 100%; 
  height: 250px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

/* ④キャラクターの位置と距離 */
.hero-characters {
  z-index: 5;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 850px; /* ★ココ！1100pxから900pxに減らしたよ。これで2人がさらにグッと近づく！ */
  height: 92%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* ⑤中央のロゴとキャッチコピーの配置 */
.hero-title-center {
  position: absolute;
  bottom: 20px; /* ★ココ！下からの浮き具合を50pxから20pxに減らして、全体を少し下に下げたよ */
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 80%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ⑥キャッチコピーのサイズ微調整 */
.hero-catch {
  height: 480px; /* ★ココ！380pxから300pxに縮めて、絶対に天井にぶつからないようにしたよ */
  width: auto;
  margin-bottom: -10px;
  z-index: 21;
}

/* ⑦メインロゴのサイズ調整（新しく追加・変更） */
.main-logo {
  width: 80%; /* ★ココ！100%だったのを80%にして、ロゴを1段階小さくしたよ！ */
  filter: drop-shadow(0 5px 15px rgba(255,255,255,0.3));
}

/* ⑧ストアバッジの配置とデザイン */
.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; 
  margin-top: -10px; /* ★ココ！ 15pxだったのを 0px や 5px に減らしてみて。もしもっと近づけたい（めり込ませたい）場合は -10px とかマイナスをつけてもOK！ */
  z-index: 22;
}

.hero-badges img.badge {
  height: 45px; /* Appleバッジの基本の高さ */
  width: auto;
  transition: transform 0.2s; /* ふわっと動かす準備 */
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); /* 軽く影をつける */
}

.hero-badges img.badge.gp {
  height: 60px; /* GooglePlayは黒枠の余白が多いので、少し高めの数字にすると揃うよ */
}

/* マウスを乗せた時に少し大きくなるアクション */
.hero-badges a:hover img {
  transform: scale(1.05);
}

/* ⑨Overview（概要）セクション専用デザイン */
.overview-ishinomaki {
  padding: 80px 0 0 0; /* 下の余白はギャラリーが敷き詰められるのでゼロに */
  background-color: #ffffff;
}

.overview-text-center {
  text-align: center;
  margin-bottom: 50px; /* ギャラリーとの隙間 */
}

/* 「概要」の文字 */
.overview-main-title {
  font-size: 40px;
  color: #6da065; /* スクショに近い少し落ち着いた緑 */
  margin-bottom: -10px;
  font-weight: bold;
}

/* サブタイトル（黄緑色＋下線） */
.overview-subtitle {
  display: inline-block;
  font-size: 24px;
  color: #9bd14e; /* 明るい黄緑 */
  font-weight: bold;
  margin-bottom: 40px;
  border-bottom: 2px solid #9bd14e; /* 文字の下線を再現 */
  padding-bottom: 3px;
}

/* 説明文 */
.overview-desc-text p {
  font-size: 18px;
  line-height: 2.2;
  color: #333333;
  margin-bottom: 25px;
}

/* ギャラリーの無限スクロール設定 */
.scrolling-gallery {
  width: 100%;
  overflow: hidden;
  line-height: 0; /* 画像の下にできる謎の隙間を消すおまじない */
}

.gallery-track {
  display: flex;
  width: max-content;
  /* ★スクロールの速さはここ！まずは20秒で1周。短くすると速くなります */
  animation: loop-gallery 40s linear infinite;
}

.gallery-track img {
  height: 700px; /* 画像の高さを統一。大きくしたい場合はここを増やす */
  width: auto;
  display: block;
}

/* アニメーションの動き（左へ流れる） */
@keyframes loop-gallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 全体の半分（7枚分）進んだらリセット */
}

/* ⑩プロモーション動画エリア専用デザイン（明るい水色＆キラキラ増量版） */
.promo-section {
  position: relative;
  margin-top: 80px; /* ★ここを追加！Heroセクションとの間に「白い隙間」を作ります */
  padding: 120px 0;
  background: linear-gradient(135deg, #b4e3f8 0%, #63c0f5 100%);
  overflow: hidden;
}

/* --- 光の魔法（大小たくさんの光） --- */
.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px); /* 背景が明るいので、少しぼかしを弱めて輪郭を出す */
  z-index: 1;
  pointer-events: none;
  /* ①またたく（点滅） ＋ ②斜めに移動（流れ星） */
  animation: orb-twinkle 4s infinite, orb-flow 15s infinite linear;
  /* 背景が水色なので、光は「真っ白に近いごく薄い水色」にして際立たせる */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ■またたく（点滅）アニメーション */
@keyframes orb-twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.8; }
}

/* ■斜めに移動（左上から右下へ）アニメーション */
@keyframes orb-flow {
  0% { transform: translate(-30vw, -30vh); }
  100% { transform: translate(110vw, 110vh); }
}

/* ========================================= */
/* --- 10個の光の不規則な設定（サイズ・速さ・位置を全部バラバラに） --- */
/* ========================================= */
.orb1 { width: 35vw; height: 35vw; animation-duration: 4s, 12s; animation-delay: 0s, 0s; top: 10%; left: 10%; }
.orb2 { width: 55vw; height: 55vw; animation-duration: 3s, 20s; animation-delay: 1s, 2s; top: -10%; left: 70%; }
.orb3 { width: 25vw; height: 25vw; animation-duration: 5s, 30s; animation-delay: 2s, 5s; top: 40%; left: 40%; }
.orb4 { width: 45vw; height: 45vw; animation-duration: 4s, 18s; animation-delay: 0.5s, 8s; top: 70%; left: 0%; }
.orb5 { width: 65vw; height: 65vw; animation-duration: 6s, 25s; animation-delay: 1.5s, 10s; top: 60%; left: 50%; }
.orb6 { width: 15vw; height: 15vw; animation-duration: 2s, 8s;  animation-delay: 3s, 12s; top: 10%; left: 90%; }
.orb7 { width: 30vw; height: 30vw; animation-duration: 4.5s, 15s; animation-delay: 1.2s, 4s; top: 20%; left: -20%; }
.orb8 { width: 20vw; height: 20vw; animation-duration: 3.5s, 22s; animation-delay: 0.8s, 7s; top: 80%; left: 80%; }
.orb9 { width: 50vw; height: 50vw; animation-duration: 5.5s, 19s; animation-delay: 2.5s, 1s; top: -10%; left: 30%; }
.orb10 { width: 40vw; height: 40vw; animation-duration: 3.8s, 16s; animation-delay: 1.8s, 9s; top: 50%; left: 10%; }

/* --- YouTube動画の配置 --- */
.promo-inner {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  /* 背景が明るくなったので、影も少し優しく調整 */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ⑪パララックス（石ノ森萬画館）セクション */
.parallax-mangattan {
  width: 100%;
  height: 100vh; /* 画面の高さの60%を使う */
  min-height: 600px;
  /* ↓萬画館の風景画像のファイル名に書き換えてね！ */
  background-image: url('../images/karam_1.jpg');
  background-size: cover;
  background-position: center;
  /* ★これが背景を固定してパララックス(視差効果)にする魔法！ */
  background-attachment: fixed; 
}

/* ⑫採用作品発表セクション（完全版・遠近感修正） */
.contest-section {
  padding: 80px 0;
  background-image: url('../images/back_2.jpg');
  background-size: auto; 
  background-position: center;
}

/* --- 巻物を広くするためのリミッター解除 --- */
#contest .inner {
  max-width: 1400px; /* 1100pxの制限を解除して広げる */
}

/* 巻物エリア */
.scroll-wrapper {
  max-width: 100%; /* リミッター解除された幅まで目一杯広げる */
  margin: 0 auto;
  background-image: url('../images/back_4.png');
  background-size: 100% 100%; 
  background-repeat: no-repeat;
  padding: 80px 50px 100px; 
  text-align: center;
}

/* タイトル（画像に差し替え） */
.contest-header {
  margin-bottom: 0px; 
}
.contest-title-img {
  width: 100%; /* ★80%から90%に大きく！ */
  max-width: 1400px; /* ★600pxの制限を800pxまで引き上げました！ */
  height: auto;
  display: block;
  margin: 0 auto;
}

.contest-subtitle {
  font-size: 24px; /* ★16pxから24pxに大きく！ */
  color: #d32f2f; 
  font-weight: bold;
  margin-bottom: 20px;
}

/* 額縁とNPCの並び（フレックスボックス） */
.contest-frames {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  gap: 150px; /* ★2つの額縁をグッと離す */
  flex-wrap: wrap; 
}

/* 各額縁エリア（額縁とNPCを縦に並べる） */
.frame-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 350px;
}

.frame-img {
  width: 100%;
  height: auto;
  margin-bottom: -10px; 
  transition: transform 0.2s;
}
.frame-box a:hover .frame-img {
  transform: scale(1.05); 
}

/* 発表者のNPC */
.npc-presenter {
  max-width: 60px; 
  height: auto;
  margin-bottom: 5px;
  position: relative;
  z-index: 10; /* ★最手前にする */
}

/* 観客NPCが群がるエリア */
.audience-group {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  width: 100%;
  max-width: 320px; 
  margin-top: -20px;
}

/* 観客NPCひとりひとり */
.audience-group img {
  width: 50px; 
  height: auto;
  margin: -10px -5px; /* めり込ませて密集させる */
  position: relative;
  z-index: 5; /* ★基本の重なり */
}

/* --- ★遠近感と配置の完全指定（11人個別に立ち位置と重なり順を設定！） --- */
/* Y軸(縦)がマイナス＝奥へ行く＝z-indexを低くする */
/* Y軸(縦)がプラス＝手前へ来る＝z-indexを高くする */

.audience-group img:nth-child(1) { transform: translate(0px, 0px); z-index: 10; }
/* 2番目：手前（下）に来るのでz-indexを高く！ */
.audience-group img:nth-child(2) { transform: translate(5px, 12px); z-index: 12; }
/* 3番目：奥（上）へ行くのでz-indexを低く！ */
.audience-group img:nth-child(3) { transform: translate(-8px, -10px); z-index: 8; }
/* 4番目：手前（下）に来るのでz-indexを高く！ */
.audience-group img:nth-child(4) { transform: translate(-5px, 8px); z-index: 11; }
/* 5番目：さらに手前に来るのでもっと高く！ */
.audience-group img:nth-child(5) { transform: translate(10px, 15px); z-index: 13; }
/* 6番目：奥へ行くので低く！ */
.audience-group img:nth-child(6) { transform: translate(-10px, -5px); z-index: 9; }
/* 7番目：手前に来るので高く！ */
.audience-group img:nth-child(7) { transform: translate(-12px, 5px); z-index: 11; }
/* 8番目：手前に来るので高く！ */
.audience-group img:nth-child(8) { transform: translate(8px, 10px); z-index: 12; }

/* ↓ここから下の段（2列目）に押し出されるキャラたち。一番手前になるようベースを20以上に！ */
.audience-group img:nth-child(9) { transform: translate(-5px, 0px); z-index: 20; }
.audience-group img:nth-child(10){ transform: translate(10px, 8px); z-index: 22; }
.audience-group img:nth-child(11){ transform: translate(-8px, 2px); z-index: 21; }

/* ⑬Storyセクション */
.story-section {
  /* ★修正！ 100px 0 だったのを、4つの数字にします（上 右 下 左の順） */
  padding: 100px 0 40px 0; /* 下の余白を100pxから「20px」に減らす！ */
  background-color: #ffffff; 
}

/* 左右に並べる魔法（フレックスボックス） */
.story-layout {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 縦の中央で揃える */
  gap: 50px; /* テキストと画像の隙間 */
}

/* --- 左側（テキスト） --- */
.story-text {
  width: 40%;
  text-align: center; /* スクショ通り、文章を中央揃えに */
}

.story-title {
  font-size: 48px;
  color: #5d8e52; /* 落ち着いた緑色 */
  margin-bottom: -20px;
}

.story-subtitle {
  font-size: 24px;
  color: #8ac046; /* 明るい黄緑色 */
  font-weight: bold;
  margin-bottom: 20px;
}

.story-desc p {
  font-size: 18px;
  color: #333333;
  line-height: 2; /* 行間を広げて読みやすく */
  margin-bottom: 25px;
}

/* --- 右側（画像） --- */
.story-img {
  width: 60%;
}

.story-img img {
  max-width: 120%;
  height: auto;
  display: block;
}

/* --- スマホ表示の時は縦に並べる（レスポンシブ） --- */
@media screen and (max-width: 768px) {
  .story-layout {
    flex-direction: column; /* 縦並びに変更 */
  }
  .story-text, .story-img {
    width: 100%; /* スマホでは横幅いっぱいに使う */
  }
  .story-img {
    margin-top: 40px;
  }
}

/* Storyセクション全体の枠を広げる魔法 */
#story .inner {
  max-width: 1300px; /* 好きな広さに数字を調整してね */
}

/* ⑭GPSセクション */
.gps-section {
  /* ★修正！ こちらも4つの数字にします */
  padding: 40px 0 40px 0; /* 上の余白を100pxから「20px」に減らす！ */
  background-color: #ffffff; 
}

/* ★ここを追加！GPSセクション全体の枠を広げる魔法 */
#gps .inner {
  max-width: 1400px; /* ★ココ！Storyの時（1300px）よりもさらに広げて 1400px や 1500px にしてみて！ */
}

/* 左右に並べる魔法（フレックスボックス） */
.gps-layout {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 縦の中央で揃える */
  gap: 50px; /* 画像とテキストの隙間 */
}

/* --- 左側（画像） --- */
.gps-img {
  width: 60%;
}

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

/* --- 右側（テキスト） --- */
.gps-text {
  width: 40%;
  text-align: center; /* テキストを中央揃えに */
}

/* ★洋平の設定をそのまま引き継ぎ！ */
.gps-title {
  font-size: 48px;
  color: #5d8e52; /* 落ち着いた緑色 */
  margin-bottom: -20px;
}

.gps-subtitle {
  font-size: 24px;
  color: #8ac046; /* 明るい黄緑色 */
  font-weight: bold;
  margin-bottom: 20px;
}

.gps-desc p {
  font-size: 18px;
  color: #333333;
  line-height: 2; /* 行間を広げて読みやすく */
  margin-bottom: 25px;
}

/* --- スマホ表示の時は縦に並べる（レスポンシブ） --- */
@media screen and (max-width: 768px) {
  .gps-layout {
    flex-direction: column; /* 縦並びに変更 */
  }
  .gps-text, .gps-img {
    width: 100%; /* スマホでは横幅いっぱいに使う */
  }
  /* スマホの時は画像をテキストの上に持ってくる（自然な見栄えにする魔法） */
  .gps-img {
    order: -1; 
    margin-bottom: 40px;
  }
}

/* ⑮Supportersセクション */
.supporters-section {
  /* ★修正！ 1つ目の数字（上）を100pxから20pxに減らします */
  padding: 40px 0 100px 0; 
  background-color: #ffffff;
}

/* ★画像をもっと大きくするためのリミッター解除（GPSと同じ！） */
#supporters .inner {
  max-width: 1400px;
}

/* 左右に並べる魔法 */
.supporters-layout {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  gap: 50px; 
}

/* --- 左側（テキスト） --- */
.supporters-text {
  width: 40%; /* テキストは40% */
  text-align: center; 
}

/* フォント設定（StoryやGPSと同じ！） */
.supporters-title {
  font-size: 48px;
  color: #5d8e52; 
  margin-bottom: -10px; /* 少しだけ調整 */
}

.supporters-subtitle {
  font-size: 24px;
  color: #8ac046; 
  font-weight: bold;
  margin-bottom: 30px;
}

.supporters-desc p {
  font-size: 18px;
  color: #333333;
  line-height: 2; 
  margin-bottom: 25px;
}

/* --- ボタンのデザイン --- */
.btn-wrap {
  margin-top: 40px;
}

.btn-detail {
  display: inline-block;
  padding: 12px 40px; /* ボタンの縦・横のふくらみ */
  border: 1px solid #333333; /* 黒い細線 */
  color: #333333;
  font-size: 16px;
  text-decoration: none; /* 下線を消す */
  background-color: #ffffff;
  transition: all 0.3s ease; /* ふわっと変化させる魔法 */
}

/* マウスを乗せた時の変化（黒背景に白文字になる！） */
.btn-detail:hover {
  background-color: #333333;
  color: #ffffff;
}

/* --- 右側（画像） --- */
.supporters-img {
  width: 60%; /* 画像は60%で大きく！ */
}

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

/* --- スマホ表示の時は縦に並べる --- */
@media screen and (max-width: 768px) {
  .supporters-layout {
    flex-direction: column; 
  }
  .supporters-text, .supporters-img {
    width: 100%; 
  }
  .supporters-img {
    margin-top: 40px;
  }
}

/* ⑯フッターセクション（縦幅スリム＆フォーム配置修正版） */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 30px 0 15px; /* ★フッター全体の上下の余白をさらに小さくしました！ */
}

.site-footer .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-info, .footer-contact {
  text-align: left;
}

/* --- フッター上部（情報とフォーム） --- */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 30px; /* ★情報エリアと下部（コピーライト）の間の余白も小さくしました */
}

.footer-info {
  width: 40%;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  width: 60%; /* ★フォーム全体の幅を広げました */
}

.contact-title {
  font-size: 16px;
  margin-bottom: 15px;
}

/* フォームのレイアウト */
.contact-form {
  width: 100%;
}

.form-inputs {
  display: flex;
  gap: 15px;
  margin-bottom: 10px; /* Sendボタンとの隙間 */
  align-items: stretch;
  width: 100%;
}

.form-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: 35%; /* 左側（名前・メール）はスリムに */
}

.form-right {
  width: 65%; /* ★右側（内容）の幅を大きく取りました！ */
  display: flex;
  flex-direction: column;
}

/* フォームの入力欄（水色） */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #4aa3f0;
  border: none;
  border-radius: 4px;
  padding: 10px;
  color: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
}

.contact-form input {
  height: 40px;
}

.contact-form textarea {
  height: 100%;
  min-height: 90px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
  opacity: 1;
}

/* Sendボタン */
.form-submit {
  text-align: right; /* ★右下に配置 */
  width: 100%;
}

.btn-send {
  background-color: #4aa3f0;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 30px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-send:hover {
  opacity: 0.8;
}

/* --- フッター下部（コピーライト等） --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-top: 1px solid #333333; /* うっすらした区切り線 */
  padding-top: 20px;
}

.footer-privacy a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-privacy a:hover {
  text-decoration: none;
}

.footer-logo img {
  max-height: 25px;
  width: auto;
}

/* --- スマホ表示の時は縦に並べる --- */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-info, .footer-contact {
    width: 100%;
  }
  .form-inputs {
    flex-direction: column;
  }
  .form-left, .form-right {
    width: 100%;
  }
  .form-right {
    height: 120px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ========================================= */
/* ⑰ サブページ（ギャラリー）用デザイン */
/* ========================================= */

.subpage-main {
  padding-top: 100px; 
  background-color: #f9f9f9; 
  min-height: 80vh;
}

.gallery-page-section {
  padding: 50px 0 100px;
}

.gallery-page-section .inner {
  max-width: 1200px; 
}

.award-block {
  margin-bottom: 80px; 
  text-align: center;
}

/* ★画像を綺麗に並べるための魔法（フレックスボックスに変更） */
.gallery-grid {
  display: flex; /* ★グリッドからフレックスボックスに変更します */
  justify-content: center; /* ★超重要！横方向の中央揃えの魔法 */
  flex-wrap: wrap; /* 折り返し（次の行に行くこと）を許可 */
  gap: 30px; /* 画像と画像の隙間 */
  width: 100%;
}

.gallery-item {
  background-color: transparent;
  padding: 0;
  border-radius: 8px;
  transition: transform 0.3s;
  
  /* PCで横に3枚並ぶような横幅を指定します。
     (100%を3等分して、隙間分を少し引く計算です) */
  width: calc(33.333% - 20px); /* ★PCでの横幅を計算で指定 */
  min-width: 280px; /* ★潰れすぎ防止 */
  box-sizing: border-box; /* パディングを計算に含める */
}

.gallery-item:hover {
  transform: translateY(-5px); 
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================= */
/* ⑱ リボン風見出しの魔法（文字を入れるだけでリボンになる！） */
/* ========================================= */

.ribbon-wrap {
  text-align: center;
  margin-bottom: 30px; 
}

/* === 金色リボン === */
.ribbon-gold {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 12px 60px; 
  font-size: 24px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  background: linear-gradient(to bottom, #fceabb 0%, #f8b500 100%); 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

.ribbon-gold::before, .ribbon-gold::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: -15px; 
  width: 40px;
  background: #c98e00; 
  z-index: -1;
}
.ribbon-gold::before {
  left: -20px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 30% 50%, 0 0); 
}
.ribbon-gold::after {
  right: -20px;
  clip-path: polygon(0 0, 0 100%, 100% 100%, 70% 50%, 100% 0); 
}

/* === 赤色リボン === */
.ribbon-red {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 8px 50px;
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  background: linear-gradient(to bottom, #e53935 0%, #b71c1c 100%); 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

.ribbon-red::before, .ribbon-red::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: -12px;
  width: 35px;
  background: #8e0000; 
  z-index: -1;
}
.ribbon-red::before {
  left: -15px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 30% 50%, 0 0);
}
.ribbon-red::after {
  right: -15px;
  clip-path: polygon(0 0, 0 100%, 100% 100%, 70% 50%, 100% 0);
}

/* --- スマホ表示の時は1列か2列にする --- */
@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホでは2列 */
    gap: 15px;
  }
}

/* ========================================= */
/* ⑲ 協力店バナーの上にテキストを乗せる魔法 */
/* ========================================= */

/* 画像とテキストを囲むリンク(<a>)を基準にする */
.gallery-item a {
  position: relative; 
  display: block;
  aspect-ratio: 1 / 1; /* ★ここにお引っ越し！箱自体を強制的に正方形にします */
  overflow: hidden; 
  border-radius: 8px; 
}

/* 画像の設定 */
.gallery-item img {
  width: 100%;
  height: 100%; /* ★追加：中身の画像を、正方形になった箱にピッタリ合わせます */
  object-fit: cover; 
  display: block;
  transition: transform 0.3s;
}
/* ※こっちにあった aspect-ratio は消してOKです！ */

/* ホバー時に画像を少し拡大する（WIXっぽい演出） */
.gallery-item a:hover img {
  transform: scale(1.05); /* 1.05倍に拡大 */
}

/* ★画像の上に浮かせるテキストの設定 */
.shop-name {
  position: absolute; /* ★これで画像の上に浮かびます */
  bottom: 0; /* 下ぴったりに配置 */
  left: 0; /* 左ぴったりに配置 */
  width: 100%; /* 横幅いっぱい */
  background: rgba(0, 0, 0, 0.6); /* ★半透明の黒（座布団）で文字を読みやすく */
  color: #ffffff; /* 文字は白 */
  padding: 10px; /* 文字の周りの余白 */
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box; /* パディングを含めて100%に */
  z-index: 1; /* 画像より上に表示 */
}

/* ========================================= */
/* 📱 キズナファンタジア スマホ完全対応の修正！ */
/* ========================================= */
@media screen and (max-width: 768px) {
  
/* --- ① Heroセクションの修正 --- */
  /* メニューを消して、市章ロゴを完全にド真ん中に配置 */
  .nav {
    display: none !important;
  }
  .nav-inner {
    justify-content: center !important;
    padding-top: 10px !important; 
  }
  /* ★ズレの原因だった市章の右側の余白を消去して完全中央へ！ */
  .city-symbol img {
    margin: 0 !important; 
  }

  /* トップ画面の縦長すぎる空間を圧縮 */
  .hero-section {
    height: 85vh !important; 
    min-height: 650px !important;
  }
  .hero-bg::after {
    height: 120px;
  }

  /* キャッチコピー */
  .hero-catch {
    height: 320px !important; 
    width: auto !important;
    margin-bottom: 20px !important; 
  }

  /* キャラクターを画面いっぱいまでドーンと大きく！ */
  .hero-characters {
    width: 120% !important; 
    left: 50% !important;
    transform: translateX(-45%) !important; 
    justify-content: center !important; /* ★ココ！ space-between を center に変更 */
    align-items: flex-end !important; 
  }
  /* ★ラヴィンを160cm、ピーノを172cmの比率に近づける！ */
  .char-left {
    width: 48% !important; /* ラヴィンは少しスリムに */
    height: auto !important;
	margin-right: -10% !important; /* ★右側（ピーノ側）に引っ張る魔法！ */
  }  
  .char-right {
    width: 65% !important; /* ピーノの比率をガッツリ上げて背を高くする！ */
    height: auto !important;
	margin-left: -5% !important; /* ★左側（ラヴィン側）に引っ張る魔法！ */
  }

  /* メインロゴを横幅いっぱいに！ */
  .main-logo {
    width: 100% !important; 
    max-width: none !important; 
    margin-bottom: 10px !important; 
  }

  /* ★AppleとGoogleのバッジの縦幅を視覚的にピッタリ揃える！ */
  .hero-badges img.badge {
    height: 42px !important; /* Appleの基準サイズ */
  }
  .hero-badges img.badge.gp {
    height: 56px !important; /* Googleの透明余白を加味したベストサイズ */
  }

  /* --- ② その他のセクションの修正 --- */
  /* 横スクロールギャラリーの巨大化を防ぐ */
  .gallery-track img {
    height: 300px; 
  }

  /* --- ③ 採用作品発表のスマホ最適化（引き算の魔法） --- */
  
  /* 伸びてしまう巻物画像を消して、綺麗な「羊皮紙風のボード」に変更！ */
  .scroll-wrapper {
    background-image: none !important; /* 巻物画像を非表示 */
    background-color: rgba(253, 248, 235, 0.95) !important; /* 羊皮紙っぽいクリーム色 */
    border-radius: 12px !important; /* 角を丸くする */
    margin: 0 15px !important; /* 左右に隙間をあけて、後ろのレンガを見せる */
    padding: 40px 15px 50px !important; /* 内側の余白をスマホ用にスリム化 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important; /* ボードをフワッと浮かせた影 */
  }

  /* 額縁同士の隙間をキュッと詰める */
  .contest-frames {
    gap: 50px !important; 
  }

  /* 村人NPC（観客）を非表示にしてスッキリ！ */
  .audience-group {
    display: none !important;
  }

  /* 各セクションの大きすぎる上下の余白をカット */
  .overview-ishinomaki,
  .story-section, 
  .gps-section, 
  .supporters-section {
    padding: 50px 0; 
  }
  
  /* サブタイトルの文字サイズを少し調整 */
  .overview-main-title,
  .story-title,
  .gps-title,
  .supporters-title {
    font-size: 36px; 
  }
  
  /* --- 動画セクションの修正 --- */
  /* 水色の背景の縦幅（上下の余白）をコンパクトに！ */
  .promo-section {
    padding: 40px 0 !important; /* 上下の余白を120pxから40pxに大幅カット！ */
    margin-top: 40px !important; /* Heroとの間の白い隙間もスマホ用に少し狭くします */
  }


}
