@charset "utf-8";
/* CSS Document */

/* =====================================================
   Tablet & PC 共通 (min-width: 769px)
   背面のFV固定 ＋ スクロールによるコンテンツせり上がり
===================================================== */
@media screen and (min-width: 769px) {

  .pc-only {
    display: block !important;
  }

  .fv-fixed-bg.pc-only {
    display: flex !important;
  }

  /* 1. ファーストビューを固定し背面に配置 */
.fv-fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    justify-content: center;
    background-color: #a4d2f0;
  }
  .fv-fixed-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* 2. FV分スクロールした後にコンテンツをせり上げさせる */
  .main-scroll-wrap {
    position: relative;
    z-index: 10;
    margin-top: min(100vh, 900px);
    background-image:
      linear-gradient(0deg, transparent calc(100% - 1px), #fff calc(100% - 1px)),
      linear-gradient(90deg, transparent calc(100% - 1px), #fff calc(100% - 1px)),
      linear-gradient(90deg, #ddff97 45%, #ffd9e4 55%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    background-repeat: repeat;
    background-position: center center;
    background-attachment: fixed;
    border-top: 2px solid #fff;
  }

  .main-scroll-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 20px;
  }

  .main-content-wrap {
    width: var(--main-max-width);
    flex-shrink: 0;
  }

  .main-content {
    margin: 0 auto;
  }
}

/* =====================================================
   PC 3カラムレイアウト (min-width: 1200px)
   画面幅に余裕がある場合に左右の追従サイドバーを表示
===================================================== */
@media screen and (min-width: 1200px) {

  .pc-side-only {
    display: flex !important;
  }

  /* 左右サイドバー共通（画面幅1200px〜1560pxの間で滑らかに伸縮） */
  .sidebar-left,
  .sidebar-right {
    width: clamp(280px, 26vw, 440px);
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;

    /* フェードイン初期状態 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
  }

  .sidebar-left::-webkit-scrollbar,
  .sidebar-right::-webkit-scrollbar {
    display: none;
  }

  /* JSで付与される表示用クラス */
  .sidebar-left.is-visible,
  .sidebar-right.is-visible {
    opacity: 1;
    visibility: visible;
  }

  /* 左サイドバー（ロゴ・サブビジュアル） */
  .sidebar-left {
    align-items: center;
    gap: 24px;
  }

  .sidebar-left img {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  /* 右サイドバー（開催期間・目次） */
  .sidebar-right .information p {
    font-size: clamp(18px, 1.4vw, 24px);
    margin-left: var(--space-md);
  }

  .sidebar-right .list .list-item {
    width: 92%;
  }
}