/* ▼ 全体のリセット ▼ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* ▼ ヘッダーのスタイル ▼ */
.global-header {
    background-color: #ffffff;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-list li a {
    display: block;
    background-color: #002b5e;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    /* ★ シュッとした英語フォントを指定！文字間隔も少し開けてスタイリッシュに */
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-list li a:hover {
    opacity: 0.8;
}

/* ▼ メインビジュアルのスタイル ▼ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/bg-enoki.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 60px;
}

/* ★ バッジのサイズを個別に微調整！ */
.store-badges {
    position: absolute;
    top: 100px;
    right: 5%;
    display: flex;
    align-items: center; /* 縦の真ん中を綺麗に揃える */
    gap: 10px;
    z-index: 20;
}

.store-badges a:nth-child(1) img {
    height: 60px; /* 余白が多いGoogle Playを少し大きめに */
}

.store-badges a:nth-child(2) img {
    height: 42px; /* 余白がないApp Storeを少し小さめに */
}

.catchcopy {
    position: absolute;
    top: 25%;
    right: 15%; /* ★ leftを消して、rightに変更！右から15%の位置に置く */
    z-index: 10;
}
/* imgのサイズ(height: 350px)はそのまま！ */

/* ★ コンテナ（箱）の横幅ストッパーを 800px → 1200px に広げる！ */
.hero-center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px; 
    display: flex;
    justify-content: center;
}

/* ★ キャラクターの高さストッパーを 55vh → 75vh に上げる！ */
.character-img {
    max-height: 75vh; 
    margin-bottom: 0; 
    z-index: 5;
}

/* ★ キャラクターが大きくなる分、ロゴが隠れないように少し上にズラす */
.logo-img {
    position: absolute;
    bottom: 40px; 
    width: 80%;
    max-width: 600px;
    z-index: 10;
}

/* ===================================================
   ▼ オープニングアニメーション（スプラッシュ画面） ▼
=================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/washi-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #fdfbf7;
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
    /* ★ 全体が消えるタイミングを遅くしたよ！（7.5秒後に、1.5秒かけてゆっくり消える） */
    animation: splashFadeOut 1.5s ease 7.5s forwards;
}

/* キャッチコピーの文字設定 */
.splash-text {
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
    font-size: 2.5rem;
    color: #333;
    writing-mode: vertical-rl;
    letter-spacing: 0.5em;
}

/* ★ 1文字ずつのアニメーション設定（0.8秒 → 1.5秒に増やして、フワッと感をゆっくりに！） */
.splash-text span {
    opacity: 0;
    animation: textFadeIn 1.5s ease forwards;
}

/* ▼ 最初の1.5秒は完全にブランク！そこから0.3秒間隔でじわ〜っと表示させるよ ▼ */
.splash-text span:nth-child(1) { animation-delay: 1.5s; }
.splash-text span:nth-child(2) { animation-delay: 1.8s; }
.splash-text span:nth-child(3) { animation-delay: 2.1s; }
.splash-text span:nth-child(4) { animation-delay: 2.4s; }
.splash-text span:nth-child(5) { animation-delay: 2.7s; }
.splash-text span:nth-child(6) { animation-delay: 3.0s; }
.splash-text span:nth-child(7) { animation-delay: 3.3s; }
.splash-text span:nth-child(8) { animation-delay: 3.6s; }
.splash-text span:nth-child(9) { animation-delay: 3.9s; }
.splash-text span:nth-child(10){ animation-delay: 4.2s; }

/* ▼ アニメーションの動き（変更なし） ▼ */
@keyframes textFadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes splashFadeOut {
    0% { opacity: 1; }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ===================================================
   ▼ Overview（概要）セクション ▼
=================================================== */
.overview-section {
    padding: 80px 0; /* 上下の余白 */
    /* 背景画像の設定 */
    background-image: url('../images/bg-overview.jpg');
    background-size: cover; /* または repeat（画像に合わせて変更します） */
    background-position: center;
    background-color: #f5f5f5; /* 画像がない場合の仮の色 */
    text-align: center;
}

.overview-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 動画エリア */
.video-container {
    margin-bottom: 60px;
}

.video-container video, 
.video-container iframe {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9; /* 動画の比率を固定 */
    border: 4px solid #fff; /* 少し白いフチをつける */
    border-radius: 8px; /* 角を少し丸くする */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* 影をつけて浮き上がらせる */
    background-color: #000;
}

/* QRコードエリア */
.qr-area {
    display: flex;
    justify-content: center;
    gap: 60px; /* 2つのQRコードの間の隙間 */
    margin-bottom: 60px;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* ★ 白い背景、角丸、影（box-shadow）を全部削除してスッキリさせました！ */
}

/* ★ バッジの高さを個別に調整しつつ、縦のラインもビシッと揃える！ */
.qr-box:nth-child(1) .store-badge img {
    height: 55px; /* 余白が多いGoogle Playを少し大きめに */
    margin: 0;    /* こっちは余白なし */
}

.qr-box:nth-child(2) .store-badge img {
    height: 40px; /* App Storeの画像の大きさはそのまま */
    margin-top: 7.5px;    
    margin-bottom: 7.5px; 
}

.qr-box .qr-img {
    width: 150px; /* QRコードの大きさ */
    height: 150px;
}

/* ドット絵キャラクター */
.dot-characters img {
    width: 50%; /* ★ 横幅を半分のサイズ（50%）に変更！ */
    max-width: 400px; /* パソコンの大きな画面でも大きくなりすぎないようにストッパー */
    height: auto;
}

/* ===================================================
   ▼ パララックス（夕陽の吉野川）セクション ▼
=================================================== */
.parallax-yoshino {
    width: 100%;
    height: 100vh; /* 画面の高さの60%分を見せる（お好みで調整OK！） */
    min-height: 400px; /* 最低でも400pxは高さを確保する */
    
    background-image: url('../images/bg-yoshino-sunset.jpg');
    background-size: cover;
    background-position: center;
    
    /* ★ これがパララックスの魔法！背景画像をその場に固定する！ */
    background-attachment: fixed; 
}

/* ===================================================
   ▼ Overview（テキスト）セクション ▼
=================================================== */
.overview-text-section {
    background-color: #ffffff;
    /* ★ 1番目の数値（上の余白）を 120px にグッと広げて、パララックスとの距離を取りました！ */
    padding: 120px 20px 60px; 
    text-align: center;
}

.overview-text-inner {
    max-width: 900px; /* 文字が大きくなる分、横幅のストッパーも少し広げました */
    margin: 0 auto;
}

/* タイトルとサブタイトル */
.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 48px; /* サイズアップ！ */
    color: #999999;
    font-weight: bold;
    margin-bottom: -5px;
    text-align: center;
}

.section-subtitle {
    font-family: 'Times New Roman', serif;
    font-size: 20px; /* サイズアップ！ */
    color: #999999;
    margin-bottom: 45px; 
    text-align: center;
}

/* キャッチフレーズ（青と緑の斜体） */
.catchphrase {
    font-size: 34px; /* サイズアップ！ */
    line-height: 1.5;
    margin-bottom: 45px;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

.catchphrase .blue-text {
    color: #3b5b9b;
}

.catchphrase .green-text {
    color: #00a86b;
}

/* 本文テキスト */
.description {
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
    font-size: 18px; /* サイズアップ！ */
    line-height: 1.9;
    color: #444444;
    text-align: center;
}

/* ===================================================
   ▼ Story（ストーリー）セクション ▼
=================================================== */
.story-section {
    position: relative; /* 水色の丸をこの中に閉じ込めるための基準 */
    padding: 120px 20px;
    background-image: url('../images/bg-overview.jpg'); /* マップ背景を使い回し！ */
    background-size: cover;
    background-position: center;
    overflow: hidden; /* 丸がはみ出た部分を隠す */
}

/* ふんわりした水色の丸背景 */
.story-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ど真ん中に配置する魔法 */
    width: 600px;  /* 丸の横幅 */
    height: 600px; /* 丸の縦幅 */
    background-color: rgba(216, 228, 255, 0.6); /* ★ Wix版に近い、半透明の淡いブルー */
    border-radius: 50%; /* 四角をまん丸にする魔法！ */
    z-index: 1; /* 背景画像の1つ上に置く */
}

.story-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2; /* 水色の丸よりさらに手前に文字を出す（重要！） */
}

/* ===================================================
   ▼ Characters（キャラクター）セクション ▼
=================================================== */
.characters-section {
    background-color: #f4f5f7; /* Storyエリアと区別するために、少しだけグレーっぽい色を敷きます */
    padding: 120px 0; /* 左右の余白は0にする（画面端から端までスクロールさせるため） */
    text-align: center;
}

/* 横スクロールの魔法をかける枠 */
.character-scroll-area {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 60px;
    
    /* ▼ さっきあった「スクロールバーを隠す」3行は消しました！ ▼ */
}

/* ▼ パソコン用に、オシャレで細いカスタムスクロールバーを表示する魔法 ▼ */
.character-scroll-area::-webkit-scrollbar {
    height: 8px; /* スクロールバーの太さ */
}

.character-scroll-area::-webkit-scrollbar-track {
    background: #e0e0e0; /* スクロールバーのレール（背景）の色 */
    border-radius: 10px; /* レールの角を丸く */
    margin: 0 5%; /* 画面の端まで行かないように少し余白を */
}

.character-scroll-area::-webkit-scrollbar-thumb {
    background: #a0a0a0; /* 動かすツマミの色 */
    border-radius: 10px; /* ツマミの角を丸く */
}

.character-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #777777; /* ツマミにマウスを乗せたら少し濃くする */
}
/* ▲ カスタムスクロールバー ここまで ▲ */

/* カードを横一列に並べる */
.character-list {
    display: flex;
    list-style: none;
    gap: 30px; /* カードとカードの隙間 */
    padding: 0 5%; /* 最初と最後のカードの横に少しだけ余白を作る */
}

/* キャラクターカードの見た目 */
.character-card {
    flex: 0 0 auto; /* ★ 画面が狭くてもカードが勝手に縮まないようにする魔法！ */
    width: 85%; /* スマホで見ると画面の85%の大きさになる */
    max-width: 450px; /* パソコンで見ても大きくなりすぎないようにストッパー */
    
    border-radius: 15px; /* 角を丸くする */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* ふんわり影をつけて浮き上がらせる */
    overflow: hidden; /* 角丸からはみ出た画像を隠す */
    transition: transform 0.3s; /* マウスを乗せた時のアニメーション準備 */
}

/* パソコン向け：マウスを乗せたらフワッと少し浮く演出 */
.character-card:hover {
    transform: translateY(-10px);
}

.character-card img {
    width: 100%;
    height: auto;
    display: block; /* 画像の下にできる謎の隙間を消すおまじない */
}

/* ===================================================
   ▼ 応募作品発表セクション ▼
=================================================== */
.works-section {
    background-color: #ffffff;
    background-image: url('../images/bg-works.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 100px 20px 80px; 
    text-align: center;
}

.works-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* タイトルとサブタイトル */
.works-title {
    color: #222222;
    margin-bottom: 10px;
}

.works-subtitle {
    color: #444444;
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
    margin-bottom: 60px;
}

/* 2つのブロックを横並びに */
.works-content {
    display: flex;
    justify-content: center;
    gap: 60px; /* 左セットと右セットの隙間 */
}

/* 各作品発表のブロック（立て札＋ファシリ＋観衆のセット） */
.work-block {
    position: relative;
    width: 45%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 立て札（リンクボタン） */
.banner-link {
    display: block;
    width: 100%;
    transition: transform 0.3s;
    z-index: 1; /* 一番奥に配置 */
}

.banner-link:hover {
    transform: translateY(-8px);
}

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

/* ファシリテーター */
.facilitator-img {
    position: absolute;
    /* ★ 90pxから 115px に増やして、さらに立て札に近づけました！ */
    /* （もし被りすぎる場合は 105px などに減らして微調整してみてね） */
    bottom: 115px; 
    width: 50px;
    height: auto;
    z-index: 2; /* 立て札と観衆の間に挟む */
}

/* ファシリテーターの立ち位置（左右に振り分け） */
.facilitator-img.right-side { right: -5px; } 
.facilitator-img.left-side { left: -5px; }   

/* 観衆 */
.crowd-img {
    position: relative;
    /* ★ マイナスをやめてプラス（15px）にし、観衆を「下」に押し下げて距離をとります！ */
    margin-top: 15px; 
    width: 105%;
    height: auto;
    z-index: 3; /* 一番手前に配置！ */
    pointer-events: none; /* 画像がリンクのクリックを邪魔しないようにする魔法 */
}

/* ===================================================
   ▼ テーマソングセクション ▼
=================================================== */
.theme-song-section {
    /* 背景はマップ画像を使い回し */
    background-image: url('../images/bg-overview.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
}

.theme-song-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 左右を横並びにする魔法 */
.theme-song-content {
    display: flex;
    align-items: center; /* 縦方向の真ん中で揃える */
    gap: 60px; /* 写真とテキストの隙間 */
}

/* ▼ 左側：写真エリア ▼ */
.artist-photo-area {
    width: 40%;
    position: relative; /* 左下のQRコードの基準位置にする */
}

.artist-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* 少し影をつけてリッチに */
}

/* ▼ 右側：テキストエリア ▼ */
.theme-song-text-area {
    width: 60%;
    text-align: center; /* タイトルや曲情報は中央寄せ */
}

.song-info {
    margin-bottom: 40px;
}

.song-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
}

.song-credit {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
}

/* 本文テキストの微調整（このエリアの本文だけ左寄せにする） */
.theme-song-text-area .description.text-left {
    text-align: left;
    display: inline-block;
}

/* ===================================================
   ▼ パララックス（土釜）セクション ▼
=================================================== */
.parallax-dokama {
    width: 100%;
    height: 100vh; /* 前回の吉野川と同じく、画面いっぱいの高さに設定 */
    min-height: 400px; 
    
    background-image: url('../images/bg-dokama.jpg');
    background-size: cover;
    background-position: center;
    
    /* ★ パララックスの魔法！背景画像を固定 */
    background-attachment: fixed; 
}

/* ===================================================
   ▼ Feature（特徴）セクション ▼
=================================================== */
.feature-section {
    background-image: url('../images/bg-overview.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden; 
}

.feature-block {
    position: relative;
    /* ★ さっきの 80px と 最初の 150px の間をとって、100px に調整！ */
    padding: 100px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    /* ★ 50vh だと画像が潰れちゃうので、65vh でほどよい距離感に！ */
    min-height: 65vh; 
}

/* 中央のテキストエリア */
.feature-content {
    position: relative;
    z-index: 10; /* 文字が一番手前に来るようにする！ */
    text-align: center;
    max-width: 900px;
}

.feature-badge {
    width: 60px; /* 六角形バッジの大きさ */
    height: auto;
    margin: -10px auto 30px; /* タイトルとキャッチフレーズの間に綺麗に収める */
    display: block;
}

/* 後ろのふんわりした色付きの丸 */
.feature-circle-bg {
    position: absolute;
    /* ★ 38% から 58% くらいに変更して、丸自体を少し「下」に落とします！ */
    /* （これで、相対的にバッジやタイトルが丸の「上部」にくるよ！） */
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px; 
    height: 380px;
    border-radius: 50%;
    z-index: 1; 
}

.bg-mint { background-color: rgba(210, 250, 240, 0.6); }
.bg-blue { background-color: rgba(220, 235, 255, 0.6); }

/* ====================================
   ▼ 周りに散りばめる丸い写真の共通設定 ▼
   （※この部分は変更なしでOK！）
==================================== */
.float-img {
    position: absolute; 
    border-radius: 50%; 
    object-fit: cover; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
    z-index: 5; 
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ====================================
   ▼ 各写真の位置と大きさ（中央寄りに調整！） ▼
==================================== */
/* ★ top/bottom、left/right のパーセントを増やして、全体的にテキスト（中央）に寄せました！ */

/* --- Feature 1 --- */
.f1-img1 { top: 5%; left: 22%; width: 150px; height: 150px; }
.f1-img2 { top: 8%; right: 18%; width: 200px; height: 200px; animation-delay: 1s; }
.f1-img3 { bottom: 5%; left: 22%; width: 220px; height: 220px; animation-delay: 2s; }
.f1-img4 { bottom: 8%; right: 24%; width: 140px; height: 140px; animation-delay: 3s; }

/* --- Feature 2 --- */
.f2-img1 { top: 10%; left: 20%; width: 160px; height: 160px; animation-delay: 1.5s; }
.f2-img2 { top: 5%; right: 25%; width: 200px; height: 200px; animation-delay: 0.5s; }
.f2-img3 { bottom: 8%; left: 24%; width: 160px; height: 160px; animation-delay: 2.5s; }
.f2-img4 { bottom: 10%; right: 18%; width: 230px; height: 230px; animation-delay: 0s; }

/* --- Feature 3 --- */
.f3-img1 { top: 5%; left: 24%; width: 180px; height: 180px; animation-delay: 2s; }
.f3-img2 { top: 10%; right: 30%; width: 160px; height: 160px; animation-delay: 1s; }
.f3-img3 { bottom: 10%; left: 26%; width: 140px; height: 140px; animation-delay: 3s; }
.f3-img4 { bottom: 5%; right: 20%; width: 220px; height: 220px; animation-delay: 0.5s; }

/* ===================================================
   ▼ パララックス（踊り）セクション ▼
=================================================== */
.parallax-odori {
    width: 100%;
    height: 100vh; /* 画面いっぱいの高さ */
    min-height: 400px; 
    
    background-image: url('../images/bg-odori.jpg');
    background-size: cover;
    background-position: center;
    
    /* ★ これがパララックスの魔法！背景画像を固定 */
    background-attachment: fixed; 
}

/* ===================================================
   ▼ Supporters（サポーター）セクション ▼
=================================================== */
.supporters-section {
    position: relative;
    padding: 120px 20px;
    background-image: url('../images/bg-overview.jpg'); /* マップ背景を使い回し！ */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-align: center;
}

/* ふんわりした水色の丸背景 */
.supporters-circle-bg {
    position: absolute;
    top: 40%; 
    left: 50%;
    transform: translate(-50%, -50%);
    /* ★ 450px から、Featureと同じ 380px に変更して統一感を出しました！ */
    width: 380px;
    height: 380px;
    background-color: rgba(216, 228, 255, 0.6); 
    border-radius: 50%;
    z-index: 1; 
}

.supporters-inner {
    position: relative;
    z-index: 2; /* 背景丸の手前に出す！ */
    max-width: 800px;
    margin: 0 auto;
    
    /* ★ 上に余白を作って、テキスト全体を下に押し下げる魔法！ */
    padding-top: 40px; 
}

/* 5つの丸い画像エリア */
.supporters-images {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.supporter-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* ★ -20px から -5px に減らして、重なりを浅く（横に広く）しました！ */
    /* （もし完全に重なりを無くしたい場合は、ここを 5px や 10px のプラスにしてね！） */
    margin-left: -5px; 
    position: relative;
    transition: transform 0.3s;
}

/* 最初の画像だけは左の余白（重なり）をなくす */
.supporter-img:first-child {
    margin-left: 0;
}

/* ★ 真ん中の画像が一番上に重なるように、順番（z-index）を指定するプロの技！ */
.supporter-img:nth-child(1) { z-index: 1; }
.supporter-img:nth-child(2) { z-index: 2; }
.supporter-img:nth-child(3) { z-index: 3; } /* これが真ん中（一番上） */
.supporter-img:nth-child(4) { z-index: 2; }
.supporter-img:nth-child(5) { z-index: 1; }

/* マウスを乗せたら少し浮いて、一番手前に出てくる演出 */
.supporter-img:hover {
    transform: translateY(-10px);
    z-index: 10; 
}

/* ストアバッジエリア */
.supporters-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* バッジの高さを綺麗に揃える（Overviewと同じ魔法） */
.supporters-badges a:nth-child(1) img {
    height: 55px; 
    margin: 0;
}
.supporters-badges a:nth-child(2) img {
    height: 40px;
    margin-top: 7.5px;
    margin-bottom: 7.5px;
}

/* ===================================================
   ▼ フッター ▼
=================================================== */
.global-footer {
    background-color: #000000;
    color: #ffffff;
    /* ★ 上の余白を 60px → 40px に減らしてスッキリ！ */
    padding: 40px 20px 15px; 
    font-size: 14px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    /* ★ コピーライトとの間の余白を 40px → 20px に減らしました！ */
    margin-bottom: 20px; 
}

/* ▼ 左側：情報エリア ▼ */
.footer-info {
    width: 45%;
}

.footer-dept {
    font-size: 16px;
    font-weight: bold;
    /* ★ 部署名の下の余白を 20px → 10px に！ */
    margin-bottom: 10px; 
    line-height: 1.5;
}
.small-text {
    font-size: 11px;
    font-weight: normal;
}

.footer-address {
    line-height: 1.8;
    /* ★ 住所の下の余白を 30px → 15px に！ */
    margin-bottom: 15px; 
}

.footer-sns {
    display: flex;
    gap: 15px;
    /* ★ SNSアイコンの下の余白を 25px → 15px に！ */
    margin-bottom: 15px; 
}

.footer-sns img {
    width: 35px;
    height: auto;
    transition: opacity 0.3s;
}

.footer-sns a:hover img {
    opacity: 0.7; /* マウスを乗せたら少しフワッと光らせる */
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.privacy-link {
    color: #ffffff;
    font-size: 13px;
    text-decoration: underline;
}

.privacy-link:hover {
    text-decoration: none;
}

.chihou-logo {
    height: 20px; /* ロゴ画像の高さに合わせて調整してね */
    width: auto;
}

/* ▼ 右側：フォームエリア ▼ */
.footer-form-area {
    width: 55%;
}

.form-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
}

.form-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.form-right {
    width: 50%;
}

/* 鮮やかなブルーの入力欄設定 */
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    background-color: #4da6ff; /* スクショに近い明るいブルー */
    border: none;
    border-radius: 4px;
    padding: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

/* 入力欄のプレースホルダー（うすい文字）を白にする */
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #ffffff;
    opacity: 0.9;
}

/* 入力中に枠線を白く光らせる */
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: 2px solid #ffffff;
}

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

.inquiry-form textarea {
    height: 90px;
    resize: none; /* 右下のサイズ変更ツマミを消す */
}

.form-submit {
    text-align: right;
}

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

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

/* ▼ コピーライト ▼ */
.copyright {
    text-align: center;
    font-size: 13px;
    /* ★ コピーライトの上の余白を 40px → 10px に大幅カット！ */
    padding-top: 10px; 
}

/* ===================================================
   ▼ サブページ（一覧ギャラリー）用 ▼
=================================================== */
/* トップに戻るヘッダー */
.subpage-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.back-to-top {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.back-to-top:hover {
    opacity: 0.7;
}

/* メインエリアの背景 */
.subpage-main {
    padding: 120px 20px 80px;
    background-image: url('../images/bg-overview.jpg'); /* マップ背景を敷く */
    background-size: cover;
    background-attachment: fixed; /* パララックス風に固定 */
    min-height: 100vh;
}

/* ギャラリーを囲む白いフワッとした箱 */
.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.subpage-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    color: #333;
    font-family: 'Yu Mincho', 'Sawarabi Mincho', serif;
}

/* ★ 画像を綺麗に並べる魔法のグリッド！ */
.tsurugi-gallery-grid {
    display: grid;
    /* 1枚の横幅を最低280pxにして、画面サイズに合わせて自動で折り返す */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* 画像同士の隙間 */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* 角を少し丸くする */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* ふんわり影 */
    transition: transform 0.3s; /* マウスを乗せた時のアニメーション準備 */
}

/* マウスを乗せると少しフワッと浮く演出 */
.gallery-item img:hover {
    transform: translateY(-5px);
}

/* ===================================================
   ▼ スマホ対応（画面幅が768px以下の時だけ発動する魔法） ▼
   （※前回のスマホ用コードと「まるごと入れ替え」てね！）
=================================================== */
@media screen and (max-width: 768px) {

    /* 1. ヘッダーを非表示 */
    .global-header { display: none; }
    .hero-section { padding-top: 0; }

    /* 2. メインビジュアル：背景そのまま、キャラをドカンと2倍に！ */
    .hero-section {
        height: 50vh; 
        min-height: 400px;
    }
    .character-img {
        width: 250%; 
        max-width: none;
        max-height: none; 
        flex-shrink: 0; 
        margin-left: 0; 
    }
    .logo-img {
        width: 70%; 
        bottom: 25px;
    }
    .store-badges {
        top: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
    }

    /* 3. パララックスの縦幅を半分くらいに */
    .parallax-yoshino, 
    .parallax-dokama, 
    .parallax-odori {
        height: 40vh;
        min-height: 250px;
    }

    /* 4. 本文の改行（<br>）をスマホの時だけ「無効化」する魔法！ */
    .description br {
        display: none; 
    }

    /* 5. 全ての本文を中央揃えに */
    .description {
        font-size: 15px;
        text-align: center !important; 
    }
    .theme-song-text-area .description.text-left {
        text-align: center; 
    }

    /* 6. QRコードとドット絵を中央にギュッと */
    .qr-area { gap: 20px; }
    .qr-box .qr-img { width: 110px; height: 110px; }
    .dot-characters img { width: 90%; } 

    /* 7. Overview等のタイトル周り */
    .overview-text-section { padding: 60px 20px 40px; }
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 16px; margin-bottom: 30px; }
    .catchphrase { font-size: 22px; margin-bottom: 30px; }

    /* 8. 応募作品発表（縦並びに） */
    .works-content {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    .work-block { width: 90%; max-width: 400px; }
    .facilitator-img { bottom: 95px; width: 55px; }

    /* 9. テーマソング：写真を半分くらいに、縦並びに */
    .theme-song-content {
        flex-direction: column;
        gap: 30px;
    }
    .artist-photo-area,
    .theme-song-text-area {
        width: 100%;
    }
    .artist-img {
        width: 50%; 
        margin: 0 auto; 
    }

    /* 10. Feature（フワフワを薄く） */
    .feature-block { padding: 60px 20px; }
    .feature-circle-bg { width: 300px; height: 300px; }
    .float-img {
        width: 80px !important;
        height: 80px !important;
        opacity: 0.2; 
    }

    /* 11. フッター：無駄な余白を削って超コンパクトに！ */
    .global-footer { padding: 30px 20px 15px; } 
    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 0; 
    }
    .footer-info {
        display: contents; 
    }
    .footer-dept { order: 1; text-align: center; margin-bottom: 5px; }
    .footer-address { order: 2; text-align: center; margin-bottom: 25px; } 
    
    .footer-form-area { order: 3; text-align: center; margin-bottom: 25px; width: 100%; }
    .form-title { margin-bottom: 10px; } 
    .form-inputs { flex-direction: column; gap: 5px; margin-bottom: 10px; } 
    .form-left, .form-right { width: 100%; gap: 5px; }
    .inquiry-form textarea { height: 70px; } 
    
    .footer-sns { order: 4; justify-content: center; margin-bottom: 15px; }
    .footer-bottom-links { order: 5; justify-content: center; flex-wrap: wrap; gap: 15px; }

    /* =========================================
       ▼ 12. サブページ（ギャラリー）のはみ出し修正 ▼
    ========================================= */
    .subpage-main {
        padding: 80px 10px 40px; /* 全体の余白を少し詰める */
    }
    .gallery-container {
        padding: 20px; /* 白い箱の余白を減らして、画像を入れやすくする */
    }
    .subpage-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .tsurugi-gallery-grid {
        /* スマホの時は、無理に複数列にせず「1列」で大きく表示する魔法！ */
        grid-template-columns: 1fr;
        gap: 20px;
    }
}