﻿/* ============================================
    スタイルシート読み込み設定
============================================ */
@charset "utf-8";

/* ============================================
    レスポンシブ対応（幅 ～800px）
============================================ */
@media screen and (max-width: 800px) {

  /* --------------------------------------
      ページ全体
  -------------------------------------- */
  body {
    scroll-snap-type: none;
    overflow: auto; /* ← scroll を許可 */
  }

  /* --------------------------------------
      セクション
  -------------------------------------- */
  section {
    scroll-snap-align: none;
    height: auto !important;
    flex-direction: column;
    gap: 0;
  }

  .half-box {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    height: auto;
    padding: 0.5rem 1rem 0;
  }

  /* --------------------------------------
      ナビゲーション
  -------------------------------------- */
  .nav-home {
    top: 1rem;
    left: 1rem;
    position: fixed;
  }

  .nav-next-prev {
    font-size: 0.8rem;
  }

  .indicator-container {
    display: none;
  }

  /* --------------------------------------
      画像・テキスト
  -------------------------------------- */
  .crop-box .event-logo {
    width: 80%;
  }

  .bold-text {
    font-size: 4.8vw;
  }

  .event-headline {
    font-size: 5.4vw;
  }

  .text-box p {
    font-size: 3.6vw;
  }

  .text-box p.bold-text {
    font-size: 4.2vw;
  }

  .text-box .history-button {
    font-size: inherit;
  }
  .menu-japanese {
    font-size: 5.4vw;
  }

  .menu-english {
    font-size: 3.6vw;
  }

  .history-head {
    font-size: 3.6vw;
  }

  .event-btn {
    font-size: 3.6vw;
  }

  /* --------------------------------------
      バナー
  -------------------------------------- */

  .overlay {
    width: 100%;
  }

  .headline-container {
    width: 100%;
  }

  .headline-container img {
    width: 100%;
    height: auto;
  }

  .text-overlay {
    font-size: 6.4vw;
  }

  .english-overlay {
    font-size: 3.2vw;
  }

  /* --------------------------------------
      スライドショー
  -------------------------------------- */
  .slideshow-container {
    margin-top: 2rem;
  }

  .slideshow-container::before {
    padding-top: 56.25%; /* 16:9比率 */
  }

  /* --------------------------------------
      インジケーター非表示
  -------------------------------------- */
  body .indicator-container {
    display: none !important;
  }

  /* --------------------------------------
      ボタン・ナビゲーション位置調整
  -------------------------------------- */
  .nav-home,
  .year-navigation {
    position: static;
  }
}

