/* ========================================
   リセットCSS
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}


body {
  margin: 0;
  min-height: 100vh;

  overflow-x: hidden;

  background: #fff;
  color: #111;

  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}


body.modal-open {
  overflow: hidden;
}


button,
input,
textarea,
select {
  font: inherit;
}


button {
  border: 0;
}


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


a {
  color: inherit;
  text-decoration: none;
}



/* ========================================
   ヘッダー
======================================== */

.header {
  position: relative;
  z-index: 1000;
  margin: 0;
}


/* ========================================
   ハンバーガーボタン
======================================== */

.hamburger {
  display: block;

  position: fixed;

  top: 20px;
  right: 20px;

  z-index: 1200;

  width: 55px;
  height: 55px;

  padding: 10px;

  border: none;

  background: #fff;

  cursor: pointer;
}

.hamburger span {
  display: block;

  width: 100%;
  height: 3px;

  margin: 6px 0;

  background: #333;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


/* ========================================
   ハンバーガー → ×
======================================== */

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ========================================
   メニューパネル
======================================== */

.menu-panel {
  position: fixed;

  top: 0;
  right: 0;

  z-index: 1100;

  width: 380px;
  max-width: 90vw;
  height: 100vh;

  padding: 100px 30px 30px;

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: stretch;

  gap: 25px;

  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    -5px 0 20px rgba(0, 0, 0, 0.12);

  transform: translateX(100%);

  transition:
    transform 0.35s ease;

  overflow-y: auto;
}

.menu-panel.is-open {
  transform: translateX(0);
}


/* ========================================
   ナビゲーション
======================================== */

.nav-item {
  position: relative;

  font-family: "Inter", sans-serif;

  font-size: 35px;
  font-weight: 400;

  line-height: 1;

  white-space: nowrap;
}

.nav-row {
  display: flex;

  align-items: center;

  gap: 5px;
}

.nav-row > a {
  color: inherit;
  text-decoration: none;
}


/* ========================================
   サブメニュー開閉ボタン
======================================== */

.submenu-toggle {
  padding: 0;

  border: 0;

  background: transparent;

  color: inherit;

  font-size: 22px;

  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.3s ease;
}


/* ========================================
   ナビゲーションカラー
======================================== */

.menu {
  color: #007aba;
}

.nav-info {
  color: rgba(185, 98, 157, 0.75);
}

.nav-visit {
  color: #3d8739;
}

.other {
  color: rgba(173, 111, 231, 0.75);
}


/* ========================================
   サブメニュー
======================================== */

.submenu {
  position: static;

  min-width: 0;

  margin-top: 15px;

  padding: 0;

  background: transparent;

  border-radius: 0;

  box-shadow: none;

  opacity: 0;

  visibility: hidden;

  max-height: 0;

  overflow: hidden;

  transform: none;

  transition:
    opacity 0.25s ease,
    max-height 0.3s ease,
    visibility 0.25s ease;
}

.nav-item.is-open .submenu {
  opacity: 1;

  visibility: visible;

  max-height: 500px;
}

.submenu a {
  display: block;

  padding: 10px 15px;

  color: #333;

  font-family: "Inter", sans-serif;

  font-size: 18px;

  line-height: 1.3;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.submenu a:hover {
  background: rgba(0, 0, 0, 0.05);

  padding-left: 22px;
}

.nav-item.is-open .submenu-toggle {
  transform: rotate(90deg);
}

/* ========================================
   ページ全体
======================================== */

.site {
  position: relative;

  width: min(100%, 1120px);

  margin: 0 auto;

  padding: 28px 28px 90px;

  overflow: hidden;
}



/* ========================================
   ページタイトル
======================================== */

.page-header {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 105px;

  margin-bottom: 25px;
}


.title-image {
  width: min(520px, 72%);
}


.title-image img {
  display: block;

  width: 100%;
  height: auto;
}



/* ========================================
   DAYセクション
======================================== */

.day-section {
  position: relative;
  z-index: 2;

  margin-bottom: 75px;
}



/* ========================================
   DAY見出し
======================================== */

.day-heading {
  display: flex;

  align-items: baseline;

  gap: 15px;

  margin: 0 0 12px;
}


.day-heading h2 {
  margin: 0;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: clamp(44px, 7vw, 72px);

  line-height: 0.95;

  font-weight: 900;

  letter-spacing: -0.04em;
}


.day-heading strong {
  font-size: clamp(20px, 3vw, 31px);

  font-weight: 900;
}


.day-heading span {
    font-size: clamp(20px, 3vw, 31px);
  color: #1d73a9;

  font-weight: 900;
}



/* ========================================
   タイムテーブル
======================================== */

.timetable {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 28px;

  align-items: start;
}



/* ========================================
   会場
======================================== */

.venue {
  min-width: 0;
}



/* ========================================
   会場タイトル
======================================== */

.venue-header {
  min-height: 70px;

  padding: 10px 10px 8px;

  color: #fff;

  text-align: center;
}


.venue-header h3 {
  margin: 0;

  font-size: clamp(18px, 2.5vw, 25px);

  line-height: 1.1;

  font-weight: 900;
}


.venue-header small {
  display: block;

  margin-top: 3px;

  font-size: 11px;

  font-weight: 700;
}



/* ========================================
   会場カラー
======================================== */

.venue-gym .venue-header {
  background: #B5E0B3;
}


.venue-green .venue-header {
  background: #f0a9d8;
}


.venue-music .venue-header {
  background: #AD6FE7;
}



/* ========================================
   スケジュール本体
======================================== */

.schedule {
  position: relative;

  min-height: 650px;

  border-left: 2px solid #aebdca;
  border-right: 2px solid #aebdca;

  border-top: 0;
  border-bottom: 0;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(120, 160, 185, 0.12) 0,
      rgba(120, 160, 185, 0.12) 1px,
      transparent 1px,
      transparent 60px
    );
}



/* ========================================
   イベント本体
======================================== */

.event {
  position: absolute;

  top: calc(var(--start) * 1.55px);

  left: 0;
  right: 0;

  height: max(
    48px,
    calc((var(--end) - var(--start)) * 1.55px)
  );

  display: flex;

  padding: 0;
  margin: 0;

  /*
   * 上下の線だけ表示
   */
  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  /*
   * 左右の線は表示しない
   */
  border-left: none !important;
  border-right: none !important;

  outline: none;

  box-shadow: none;

  background: #fff;

  color: #111;

  text-align: left;

  appearance: none;
  -webkit-appearance: none;

  overflow: hidden;

  font-weight: inherit;
}



/* ========================================
   クリックできるイベント
======================================== */

.event.clickable {
  cursor: pointer;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;

  outline: none !important;

  box-shadow: none !important;

  transform: none;

  transition:
    background-color 0.18s ease;
}



/* ========================================
   クリックできるイベント：ホバー
======================================== */

.event.clickable:hover {
  z-index: 5;

  transform: none !important;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;

  outline: none !important;

  box-shadow: none !important;

  background: #f8fcff;
}



/* ========================================
   クリック時
======================================== */

.event.clickable:active {
  transform: none !important;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;

  outline: none !important;

  box-shadow: none !important;

  background: #f8fcff;
}



/* ========================================
   フォーカス
======================================== */

.event.clickable:focus {
  transform: none !important;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;

  outline: none !important;

  box-shadow: none !important;
}



/* ========================================
   キーボード操作時
======================================== */

.event.clickable:focus-visible {
  transform: none !important;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;

  outline: 3px solid #8be2ef !important;

  outline-offset: -3px;
}



/* ========================================
   イベント疑似要素
======================================== */

.event::before,
.event::after {
  display: none !important;

  content: none !important;
}



/* ========================================
   イベント時間
======================================== */

.event-time {
  flex: 0 0 55px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 6px 4px;

  background: #65ADD3;

  color: #fff;

  text-align: center;

  font-size: 10px;

  line-height: 1.05;

  font-weight: 900;

  border: none !important;

  outline: none !important;

  box-shadow: none !important;
}



/* ========================================
   イベント内容
======================================== */

.event-body {
  min-width: 0;

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 8px 9px;

  border: none !important;

  outline: none !important;

  box-shadow: none !important;
}


.event-body small {
  margin-bottom: 4px;

  color: #000;

  font-size: 9px;

  line-height: 1.15;

  font-weight: 800;
}


.event-body b {
  font-size: clamp(11px, 1.5vw, 16px);

  line-height: 1.25;

  font-weight: 900;
}


.event-body em {
  margin-top: 3px;

  color: #555;

  font-size: 8px;

  line-height: 1.25;

  font-style: normal;
}



/* ========================================
   通常イベント
======================================== */

.non-clickable {
  cursor: default;

  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;
}



/* ========================================
   音楽室
======================================== */

.music-schedule .event {
  border-top: 2px solid #8db5d0 !important;
  border-bottom: 2px solid #8db5d0 !important;

  border-left: none !important;
  border-right: none !important;
}


.music-schedule .event-body b {
  font-size: 13px;
}



/* ========================================
   Mステ
======================================== */

.mstage-section {
  position: relative;

  margin-top: 55px;

  padding-top: 10px;
}



/* ========================================
   Mステタイトル
======================================== */

.mstage-section .section-title {
  margin: 0 0 25px;

  font-size: clamp(28px, 5vw, 44px);

  line-height: 1.1;

  font-weight: 900;
}



/* ========================================
   Mステ DAY
======================================== */

.mstage-day {
  margin-bottom: 30px;

  border-top: 2px solid #8db5d0;
}

/* ========================================
   Mステ DAY
======================================== */

.mstage-day {
  margin-bottom: 30px;

  border-top: 2px solid;
}


/* ========================================
   Mステ DAYタイトル
======================================== */

.mstage-day h3 {
  margin: 0;

  padding: 12px 15px;

  color: #fff;

  font-size: 20px;

  line-height: 1.2;

  font-weight: 900;
}


/* ========================================
   Mステ DAY1
======================================== */

.mstage-day1 {
  border-top-color: #a984df;
}

.mstage-day1 h3 {
  background: #c791ee;
}


/* ========================================
   Mステ DAY2
======================================== */

.mstage-day2 {
  border-top-color: #438CAF;
}

.mstage-day2 h3 {
  background: #65ADD3;
}


/* ========================================
   Mステ企画
======================================== */

.mstage-item {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 15px;

  border-bottom: 2px solid #8db5d0;

  background: #fff;
}


/* ========================================
   Mステ企画
======================================== */

.mstage-item {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 15px;

  border-bottom: 2px solid #8db5d0;

  background: #fff;
}


.mstage-item strong {
  font-size: 18px;

  line-height: 1.4;

  font-weight: 900;
}


.mstage-item span {
  flex-shrink: 0;

  font-size: 14px;

  font-weight: 800;

  color: #000000;
}

.mstage-day1 .mstage-item {
  border-bottom: none;
}

.mstage-day1 .mstage-item:not(:last-child) {
  border-bottom: 2px solid #7e5e9b;
}

.mstage-day2 .mstage-item {
  border-bottom: none;
}

.mstage-day2 .mstage-item:not(:last-child) {
  border-bottom: 2px solid #438CAF;
}



/* ========================================
   会場案内
======================================== */

.map-section {
  position: relative;

  margin-top: 70px;

  padding-top: 10px;
}



/* ========================================
   会場案内タイトル
======================================== */

.map-section h2 {
  margin: 0 0 25px;

  font-size: clamp(28px, 5vw, 44px);

  line-height: 1.1;

  font-weight: 900;
}



/* ========================================
   会場案内画像
======================================== */

.map-placeholder {
  width: 100%;

  overflow: hidden;

  border: 2px solid #aebdca;

  background: #fff;
}


.map-placeholder img {
  display: block;

  width: 100%;

  height: auto;
}



/* ========================================
   会場案内凡例
======================================== */

.map-legend {
  display: flex;

  flex-wrap: wrap;

  gap: 12px 25px;

  margin: 20px 0 0;

  padding: 0;

  list-style: none;
}


.map-legend li {
  font-size: 25px;

  line-height: 1.5;
}



/* ========================================
   モーダル
======================================== */

.modal[hidden] {
  display: none !important;
}


.modal {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.18s ease;
}


.modal.is-open {
  opacity: 1;

  pointer-events: auto;
}



/* ========================================
   モーダル背景
======================================== */

.modal-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.68);

  backdrop-filter: blur(3px);

  -webkit-backdrop-filter: blur(3px);
}



/* ========================================
   モーダル本体
======================================== */

.modal-content {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(220px, 38%)
    1fr;

  gap: 35px;

  width: min(900px, 90%);

  max-height: 85vh;

  overflow-y: auto;

  margin: 7vh auto 0;

  padding: 42px;

  background: #fff;

  border-radius: 16px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4);

  animation:
    modalOpen 0.25s ease;
}


@keyframes modalOpen {

  from {
    opacity: 0;

    transform:
      translateY(15px)
      scale(0.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}



/* ========================================
   モーダル閉じるボタン
======================================== */

.modal-close {
  position: absolute;

  z-index: 3;

  top: 12px;
  right: 15px;

  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: #eee;

  color: #333;

  font-size: 25px;

  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.18s ease,
    opacity 0.18s ease;
}


.modal-close:hover {
  background: #ddd;
}


.modal-close:focus {
  outline: 2px solid #65add3;

  outline-offset: 2px;
}



/* ========================================
   モーダルポスター
======================================== */

.modal-poster {
  position: relative;

  display: flex;

  align-items: flex-start;
  justify-content: flex-start;

  width: 100%;

  margin: 0;

  padding: 0;

  background: transparent;
}


.modal-poster img {
  display: block;

  width: 100%;

  max-width: 420px;

  height: auto;

  margin: 0;

  object-fit: contain;

  background: transparent;
}



/* ========================================
   ポスタープレースホルダー
======================================== */

.poster-placeholder {
  display: none;

  width: 100%;

  min-height: 250px;

  align-items: center;
  justify-content: center;

  background: #f2f2f2;

  color: #777;

  font-size: 14px;
}


.poster-placeholder.active {
  display: flex;
}


.poster-placeholder[hidden] {
  display: none !important;
}



/* ========================================
   モーダル詳細
======================================== */

.modal-details {
  min-width: 0;

  width: 100%;

  padding-top: 5px;
}



/* ========================================
   モーダルカテゴリ
======================================== */

.modal-label {
  display: block;

  margin: 0 0 8px;

  color: #65add3;

  font-size: 14px;

  line-height: 1.4;

  font-weight: 900;
}



/* ========================================
   モーダルタイトル
======================================== */

.modal-title,
#modalTitle {
  min-width: 0;

  width: 100%;

  margin: 0 0 25px;

  padding-bottom: 15px;

  border-bottom: 3px solid #48aee7;

  font-size: clamp(26px, 4vw, 38px);

  line-height: 1.2;

  font-weight: 900;

  white-space: normal;

  overflow-wrap: anywhere;
}



/* ========================================
   モーダル情報
======================================== */

.modal-info {
  margin: 0 0 22px;
}


.modal-info h3 {
  margin: 0 0 6px;

  color: #111;

  font-size: 15px;

  line-height: 1.4;

  font-weight: 900;
}


.modal-info p {
  margin: 0;

  color: #333;

  font-size: 17px;

  line-height: 1.6;

  overflow-wrap: anywhere;
}



/* ========================================
   モーダルタグ
======================================== */

.modal-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin: 0 0 28px;
}


.modal-tags span {
  display: inline-flex;

  align-items: center;

  min-height: 26px;

  padding: 0 14px;

  background: #eef7fb;

  color: #377b9d;

  border-radius: 999px;

  font-size: 12px;

  font-weight: 800;
}



/* ========================================
   モーダル説明
======================================== */

.modal-description {
  margin-top: 0;

  padding-top: 22px;

  border-top: 1px solid #ddd;
}


.modal-description h3 {
  margin: 0 0 8px;

  color: #111;

  font-size: 15px;

  line-height: 1.4;

  font-weight: 900;
}


.modal-description p {
  margin: 0;

  font-size: 15px;

  line-height: 1.9;

  white-space: pre-line;

  overflow-wrap: anywhere;
}

/* ========================================
   フッター
======================================== */

.footer {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 0;

  background:
    linear-gradient(
      110deg,
      #b9e4fa 0%,
      #d9ecfa 45%,
      #eee6fb 100%
    );

  font-family:
    Arial,
    "Noto Sans JP",
    sans-serif;

  overflow: hidden;
}


/* ========================================
   フッター上部装飾
======================================== */

.footer-decoration {
  width: 100%;

  height: 200px;

  overflow: hidden;
}

.footer-decoration img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;
}


/* ========================================
   フッタータイトル
======================================== */

.footer-title {
  height: 88px;

  display: flex;

  align-items: flex-end;

  gap: 18px;

  padding-left: 36px;
  padding-bottom: 5px;

  color: #000;

  font-size: 30px;

  line-height: 1;
}

.footer-title-en {
  font-style: italic;

  font-weight: 900;
}

.footer-title-jp {
  font-style: normal;

  font-weight: 900;
}


/* ========================================
   タイトル下横線
======================================== */

.footer-line {
  width: 100%;

  height: 3px;

  background: #000;
}


/* ========================================
   フッター本体
======================================== */

.footer-content {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(100px, 0.5fr)
    minmax(130px, 0.6fr)
    minmax(175px, 0.7fr)
    minmax(170px, 0.9fr);

  column-gap: 40px;

  padding:
    25px
    55px
    35px;

  align-items: start;
}


/* ========================================
   連絡先
======================================== */

.footer-contact {
  color: #000;

  font-size: 18px;

  line-height: 1.2;
}

.contact-name {
  margin-bottom: 3px;
}

.contact-mail {
  margin-bottom: 14px;

  font-size: 16px;

  word-break: break-word;
}

.contact-school {
  margin-bottom: 13px;

  font-size: 14px;

  line-height: 1.35;
}

.contact-tel {
  font-size: 14px;

  line-height: 1.4;
}


/* ========================================
   SNS
======================================== */

.footer-sns {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-top: 18px;

  flex-wrap: wrap;
}

.footer-sns a {
  display: flex;

  justify-content: center;
  align-items: center;

  width: 30px;
  height: 30px;

  flex-shrink: 0;

  color: #000000;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-sns i {
  font-size: 40px;

  line-height: 1;
}

.footer-sns a:hover {
  transform:
    translateY(-3px);

  opacity: 0.7;
}


/* Xだけ少し小さく */

.footer-sns .sns-x i {
  font-size: 36px;
}


/* ========================================
   テーマロゴ
======================================== */

.theme-logo {
  width: 100%;

  display: flex;

  justify-content: flex-start;
  align-items: flex-start;
}

.theme-logo img {
  display: block;

  width: 100%;

  max-width: 250px;

  height: auto;

  object-fit: contain;
}


/* ========================================
   フッターナビ
======================================== */

.footer-navigation {
  display: flex;

  flex-direction: column;

  gap: 45px;

  min-width: 0;
}

.footer-menu {
  position: relative;
}

.footer-menu-title {
  display: block;

  margin-bottom: 8px;

  font-size: 25px;

  font-weight: 400;

  line-height: 1;

  color: inherit;

  white-space: nowrap;

  transition:
    opacity 0.2s ease;
}

.footer-menu-title:hover {
  opacity: 0.65;
}

.footer-menu-list {
  position: relative;

  display: flex;

  flex-direction: column;

  gap: 5px;

  padding-left: 12px;
}

.footer-menu-list::before {
  content: "";

  position: absolute;

  left: 3px;

  top: 0;
  bottom: 0;

  width: 2px;

  background: currentColor;
}

.footer-menu-list a {
  font-size: 15px;

  line-height: 1.2;

  color: inherit;

  transition:
    opacity 0.2s ease;
}

.footer-menu-list a:hover {
  opacity: 0.65;
}


/* ========================================
   フッターメニューカラー
======================================== */

.menu-home {
  color: #333;
}

.menu-about {
  color: #0082c4;
}

.menu-visit {
  color: #3c963b;
}

.menu-info {
  color: #d889bd;
}

.menu-other {
  color: #ae7ae9;
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 1200px) {

  .footer-content {
    grid-template-columns:
      minmax(150px, 0.9fr)
      minmax(120px, 0.6fr)
      minmax(160px, 1fr)
      minmax(160px, 1fr);

    column-gap: 25px;

    padding-left: 35px;
    padding-right: 35px;
  }

  .footer-menu-title {
    font-size: 22px;
  }

  .theme-logo img {
    max-width: 200px;
  }

}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 900px) {

  /* ----------------------------
     ホーム4枚画像
  ---------------------------- */

  .home-cards {
    gap: 18px;

    padding:
      50px 0;
  }

  .home-cards > a {
    width: 80%;
  }


  /* ----------------------------
     フッター
  ---------------------------- */

  .footer-decoration {
    height: 120px;
  }

  .footer-title {
    height: 60px;

    gap: 10px;

    padding-left: 20px;
    padding-bottom: 6px;

    font-size: 20px;
  }

  .footer-content {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 30px 20px;

    padding:
      25px
      20px
      35px;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 1;

    font-size: 16px;

    min-width: 0;
  }

  .contact-mail {
    font-size: 13px;
  }

  .contact-school {
    font-size: 12px;
  }

  .contact-tel {
    font-size: 12px;
  }

  .theme-logo {
    grid-column: 2;
    grid-row: 1;

    width: 100%;

    min-width: 0;
  }

  .theme-logo img {
    width: 100%;

    max-width: 200px;
  }

  .footer-navigation {
    grid-column: 1;
    grid-row: 2;

    gap: 30px;
  }

  .footer-navigation-right {
    grid-column: 2;
    grid-row: 2;

    gap: 30px;
  }

  .footer-menu-title {
    font-size: 18px;

    white-space: normal;
  }

  .footer-menu-list {
    padding-left: 10px;

    gap: 4px;
  }

  .footer-menu-list a {
    font-size: 12px;

    line-height: 1.3;
  }

  .footer-sns {
    gap: 8px;

    margin-top: 12px;

    flex-wrap: wrap;
  }

  .footer-sns a {
    width: 38px;
    height: 38px;
  }

  .footer-sns i {
    font-size: 32px;
  }

  .footer-sns .sns-x i {
    font-size: 29px;
  }


  /* ----------------------------
     カウントダウン
  ---------------------------- */

  .count-area {
    height:
      clamp(
        350px,
        70vw,
        500px
      );
  }

  .count-backgrounds {
    height: 100%;
    min-height: 0;
  }

  .countdown-wrapper {
    width: 75%;
  }

  .countdown-title {
    top: 8%;

    font-size:
      clamp(
        24px,
        5vw,
        45px
      );
  }

  .countdown {
    top: 45%;
  }

  .count-content span {
    font-size:
      clamp(
        18px,
        5vw,
        55px
      );
  }

  .count-content small {
    font-size:
      clamp(
        6px,
        1.8vw,
        12px
      );
  }

}


/* ========================================
   小さいスマホ
======================================== */

@media screen and (max-width: 480px) {

  /* ----------------------------
     ホーム4枚画像
  ---------------------------- */

  .home-cards {
    gap: 14px;

    padding:
      35px 0;
  }

  .home-cards > a {
    width: 80%;
  }


  /* ----------------------------
     フッター
  ---------------------------- */

  .footer-content {
    padding-left: 15px;
    padding-right: 15px;

    gap: 25px 12px;
  }

  .footer-title {
    padding-left: 15px;

    font-size: 17px;
  }

  .footer-contact {
    font-size: 14px;
  }

  .contact-mail {
    font-size: 11px;
  }

  .contact-school {
    font-size: 10px;
  }

  .contact-tel {
    font-size: 10px;
  }

  .theme-logo img {
    max-width: 180px;
  }

  .footer-menu-title {
    font-size: 16px;
  }

  .footer-menu-list a {
    font-size: 11px;
  }

  .footer-sns {
    gap: 6px;
  }

  .footer-sns a {
    width: 32px;
    height: 32px;
  }

  .footer-sns i {
    font-size: 27px;
  }

  .footer-sns .sns-x i {
    font-size: 25px;
  }
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 1200px) {

  .footer-content {
    grid-template-columns:
      minmax(150px, 0.9fr)
      minmax(120px, 0.6fr)
      minmax(160px, 1fr)
      minmax(160px, 1fr);

    column-gap: 25px;

    padding-left: 35px;
    padding-right: 35px;
  }

  .footer-menu-title {
    font-size: 22px;
  }

  .theme-logo img {
    max-width: 200px;
  }

}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 900px) {


  /* ----------------------------
     ホーム4枚画像
  ---------------------------- */

  .home-cards {
    gap: 18px;

    padding:
      50px 0;
  }

  .home-cards > a {
    width: 80%;
  }


  

}
/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 900px) {

  .site {
    padding:
      24px
      20px
      70px;
  }


  .timetable {
    gap: 18px;
  }


  .event-time {
    flex-basis: 50px;
  }


  .event-body {
    padding:
      7px
      8px;
  }


  .event-body b {
    font-size: 13px;
  }


  /* ----------------------------------------
     モーダル
  ---------------------------------------- */

  .modal-content {
    width: 90%;

    grid-template-columns:
      minmax(190px, 35%)
      1fr;

    gap: 25px;

    padding: 35px;
  }


  .modal-poster img {
    max-width: 100%;
  }


}



/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 700px) {

  .site {
    width: 100%;

    padding:
      20px
      12px
      60px;
  }



  /* ----------------------------------------
     タイトル
  ---------------------------------------- */

  .page-header {
    min-height: 75px;

    margin-bottom: 20px;
  }


  .title-image {
    width: min(430px, 88%);
  }



  /* ----------------------------------------
     DAY見出し
  ---------------------------------------- */

  .day-heading {
    gap: 9px;

    margin-bottom: 10px;
  }


  .day-heading h2 {
    font-size:
      clamp(38px, 12vw, 56px);
  }


  .day-heading strong {
    font-size:
      clamp(17px, 5vw, 24px);
  }



  /* ----------------------------------------
     タイムテーブル
  ---------------------------------------- */

  .timetable {
    grid-template-columns: 1fr;

    gap: 32px;
  }



  /* ----------------------------------------
     会場
  ---------------------------------------- */

  .venue-header {
    min-height: 62px;

    padding:
      9px
      8px
      7px;
  }


  .venue-header h3 {
    font-size: 21px;
  }


  .venue-header small {
    font-size: 10px;
  }



  /* ----------------------------------------
     スケジュール
  ---------------------------------------- */

  .schedule {
    min-height: 600px;
  }



  /* ----------------------------------------
     イベント
  ---------------------------------------- */

  .event {
    height: max(
      48px,
      calc((var(--end) - var(--start)) * 1.45px)
    );

    top: calc(var(--start) * 1.45px);
  }


  .event-time {
    flex-basis: 58px;

    font-size: 10px;
  }


  .event-body {
    padding:
      7px
      8px;
  }


  .event-body small {
    font-size: 8px;
  }


  .event-body b {
    font-size: 12px;
  }


  .event-body em {
    font-size: 8px;
  }



  /* ----------------------------------------
     Mステ
  ---------------------------------------- */

  .mstage-section {
    margin-top: 45px;
  }


  .mstage-section .section-title {
    margin-bottom: 20px;

    font-size: 30px;
  }


  .mstage-day {
    margin-bottom: 25px;
  }


  .mstage-day h3 {
    padding:
      10px
      12px;

    font-size: 18px;
  }


  .mstage-item {
    align-items: flex-start;

    flex-direction: column;

    gap: 5px;

    padding:
      14px
      12px;
  }


  .mstage-item strong {
    font-size: 16px;
  }


  .mstage-item span {
    font-size: 12px;
  }



  /* ----------------------------------------
     会場案内
  ---------------------------------------- */

  .map-section {
    margin-top: 55px;
  }


  .map-section h2 {
    font-size: 30px;
  }


  .map-legend {
    gap:
      8px
      15px;
  }


  .map-legend li {
    font-size: 12px;
  }



  /* ----------------------------------------
     モーダル
  ---------------------------------------- */

  .modal {
    align-items: flex-start;

    padding: 12px;
  }


  .modal-content {
    display: block;

    width: 92%;

    max-height: 88vh;

    margin:
      6vh
      auto
      0;

    padding:
      35px
      20px
      25px;

    border-radius: 14px;
  }


  .modal-poster {
    width: 70%;

    max-width: 280px;

    margin:
      0
      auto
      25px;
  }


  .modal-poster img {
    width: 100%;

    max-width: 280px;

    margin: 0 auto;
  }


  .modal-details {
    padding-top: 0;
  }


  .modal-label {
    font-size: 13px;
  }


  .modal-title,
  #modalTitle {
    width: 100%;

    margin-bottom: 22px;

    font-size: 25px;

    white-space: normal;
  }


  .modal-info {
    margin-bottom: 18px;
  }


  .modal-info h3 {
    font-size: 14px;
  }


  .modal-info p {
    font-size: 15px;
  }


  .modal-description {
    padding-top: 18px;
  }


  .modal-description h3 {
    font-size: 14px;
  }


  .modal-description p {
    font-size: 13px;

    line-height: 1.8;
  }


  .modal-close {
    top: 7px;
    right: 8px;

    width: 38px;
    height: 38px;

    font-size: 30px;
  }



}



/* ========================================
   小型スマートフォン
======================================== */

@media screen and (max-width: 380px) {

  .site {
    padding:
      18px
      9px
      50px;
  }



  /* ----------------------------------------
     タイトル
  ---------------------------------------- */

  .title-image {
    width: 92%;
  }



  /* ----------------------------------------
     DAY
  ---------------------------------------- */

  .day-heading {
    gap: 7px;
  }


  .day-heading h2 {
    font-size: 38px;
  }


  .day-heading strong {
    font-size: 17px;
  }



  /* ----------------------------------------
     会場
  ---------------------------------------- */

  .venue-header h3 {
    font-size: 19px;
  }


  .venue-header small {
    font-size: 9px;
  }



  /* ----------------------------------------
     イベント
  ---------------------------------------- */

  .event {
    height: max(
      48px,
      calc((var(--end) - var(--start)) * 1.4px)
    );

    top: calc(var(--start) * 1.4px);
  }


  .event-time {
    flex-basis: 52px;

    font-size: 9px;
  }


  .event-body {
    padding:
      6px
      7px;
  }


  .event-body small {
    margin-bottom: 2px;

    font-size: 7px;
  }


  .event-body b {
    font-size: 11px;
  }


  .event-body em {
    font-size: 7px;
  }



  /* ----------------------------------------
     Mステ
  ---------------------------------------- */

  .mstage-section .section-title {
    font-size: 27px;
  }


  .mstage-day h3 {
    font-size: 17px;
  }


  .mstage-item strong {
    font-size: 15px;
  }


  .mstage-item span {
    font-size: 11px;
  }



  /* ----------------------------------------
     会場案内
  ---------------------------------------- */

  .map-section h2 {
    font-size: 27px;
  }


  .map-legend li {
    font-size: 11px;
  }



  /* ----------------------------------------
     モーダル
  ---------------------------------------- */

  .modal {
    padding:
      8px;
  }


  .modal-content {
    width: 94%;

    max-height: 90vh;

    margin:
      5vh
      auto
      0;

    padding:
      34px
      14px
      20px;
  }


  .modal-poster {
    width: 72%;

    margin-bottom: 20px;
  }


  .modal-title,
  #modalTitle {
    font-size: 22px;

    padding-bottom: 12px;
  }


  .modal-info {
    margin-bottom: 15px;
  }


  .modal-info h3 {
    font-size: 13px;
  }


  .modal-info p {
    font-size: 13px;
  }


  .modal-description p {
    font-size: 12px;

    line-height: 1.75;
  }


  .modal-close {
    top: 6px;
    right: 7px;

    width: 35px;
    height: 35px;

    font-size: 27px;
  }




}



/* ========================================
   タッチ端末
   ホバーによるズレを防止
======================================== */

@media (hover: none) and (pointer: coarse) {

  .event.clickable:hover {
    z-index: auto;

    transform: none !important;

    border-top: 2px solid #8db5d0 !important;
    border-bottom: 2px solid #8db5d0 !important;

    border-left: none !important;
    border-right: none !important;

    outline: none !important;

    box-shadow: none !important;

    background: #fff;
  }

}