/* ==========================================================================
   目次
   1. 変数とベーススタイル
   2. ナビゲーションとヒーロー
   3. セクション共通
   4. きてみん祭とは
   5. 会場マップ
   6. 企画一覧
   7. 企業協賛
   8. アクセス
   9. モーダル & フッター
   10. スマホ表示 (768px以下)
   ========================================================================== */

/* ==========================================================================
   1. 変数とベーススタイル
   ========================================================================== */
:root {
  --primary-color: #2b78e4;
  --primary-dark: #1b56aa;
  --accent-color: #ff9800;
  --bg-color: #fbf8ed;
  --card-bg: #ffffff;
  --text-main: #2c3e50;
  --text-muted: #64748b;
  --nav-blue: #1e529d;
  /* :root に追加 */
--footer-blue: #235ca5;
--text-blue: #0a4ea3;

  --color-edu: #e67e22;
  --color-gen: #10b981;
  --color-gym: #ef4444;
  --color-field: #8b5cf6;
  --color-track: #0891b2; 

  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(120, 90, 30, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
   scroll-padding-top: 80px; 
}

body {
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* ↓ body のブロックの下に、これを足す */
body.menu-open {
  overflow: hidden;
}

/* button はそのままだとフォントが引き継がれないので揃える */
button {
  font-family: inherit;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   2. ナビゲーションとヒーロー
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(30, 82, 157, 0.12);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  text-decoration: none;
  color: var(--nav-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.6rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.badge-num {
  background-color: var(--accent-color);
  color: #fff;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nav-blue);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  color: var(--nav-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a:hover {
  color: var(--accent-color);
}

/* ヒーロー画像 (top_pc.png) */
/* 外側:画面いっぱいの緑の背景 */
.hero-visual {
  background: linear-gradient(to bottom,
    #b6e1fb 0%,    /* 空(上) */
    #bbe3fc 30%,
    #c8ebfd 60%,
    #caecfd 74%,   /* 空(地平線の手前) */
    #59b02d 76%,   /* 草原のはじまり(濃い緑) */
    #5db32c 82%,
    #8ec01c 92%,   /* 草原(手前の明るい緑) */
    #8cbf1b 100%);
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

/* 内側:画像とリンクを中央に置く箱(リンクの位置はこの箱が基準) */
.hero-inner {
  position: relative;
  max-width: 1366px;
  margin: 0 auto;
}


.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像上のボタンに重ねる透明リンク (位置は % なので画面幅が変わってもずれない) */
.hero-link {
  position: absolute;
  border-radius: 30px;
}
.hero-link-map    { left: 16.8%; top: 90.2%; width: 19.4%; height: 9.1%; }
.hero-link-events { left: 39.8%; top: 90.6%; width: 19.8%; height: 8.7%; }
.hero-link-time   { left: 63.1%; top: 90.2%; width: 19.7%; height: 9.1%; }


.hero-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   3. セクション共通
   ========================================================================== */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .en-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.section-title h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background-color: var(--accent-color);
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   4. きてみん祭とは
   ========================================================================== */
.about-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-icon-area {
  font-size: 4rem;
  color: var(--accent-color);
  background: #fff8e1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.catchphrase {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

/* まなみんの紹介 */
.mascot-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: #f1fbe9;
  border: 2px dashed #b7e4a0;
  border-radius: var(--radius-md);
}

.mascot-tag {
  flex-shrink: 0;
  padding: 6px 16px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  color: #fff;
  background: #1f7a3f;           /* まなみんの名札の緑 */
  border-radius: 8px;
  transform: rotate(-3deg);      /* 名札が、少し傾いている感じ */
}

/* 説明文の大きな文字(.about-text-area p)に負けないよう、少し詳しく書く */
.about-text-area .mascot-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-text-area p {
  font-size: 1.2rem;   /* 今の約1.2倍 */
  line-height: 1.9;    /* 文字が大きくなったぶん、行間も広げる */
}
.about-section {
  position: relative;
  overflow: hidden;              /* 紙吹雪がはみ出して横スクロールになるのを防ぐ */
}

/* 紙吹雪の背景(文字やカードの後ろに敷く) */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/about_confetti.png') center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-box {
  position: relative;
  padding-right: 300px;          /* キャラの分だけ右に空きを作る */
}

.about-mascot {
  position: absolute;
  right: 24px;
  bottom: -14px;                 /* カードの下端から少し出す */
  width: 260px;
  height: auto;
}

/* ==========================================================================
   5. 会場マップ
   ========================================================================== */
.map-interactive-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.map-graphic-box {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  container-type: inline-size;
}

.campus-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-pins-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ピン共通設定 */
.map-pin {
  pointer-events: auto;
  position: absolute;
  box-sizing: border-box;
  padding: 0.2em 0.7em;                   /* 文字のまわりの余白を最小限に */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  font-size: clamp(0.55rem, 1.27cqw, 0.82rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

/* 各ピンの座標・色 (キャンパスマップ画像のラベル位置に合わせる) */
/* 主要企画エリア */
.pin-edu   { top: 66.3%; left: 40.2%; color: var(--color-edu); }  /* 教育学部棟 */
.pin-gen   { top: 65.3%; left: 60.4%; color: var(--color-gen); } /* 共通教育棟 */
.pin-gym   { top: 42.7%; left: 47.2%; color: var(--color-gym); } /* 体育館・武道場 */
.pin-field { top: 70.6%; left: 17.2%; color: var(--color-field); } /* グラウンド */

/* 施設・案内ピン */
.pin-gate    { top: 8.6%;  left: 73.1%;   color: #2c3e50; }  /* 正門 */
.pin-tennis  { top: 20.2%; left: 20.6%;  color: #16a085; }  /* テニスコート */
.pin-parking { top: 32.7%; left: 75.9%;  color: #2980b9; }  /* 駐車場 */
.pin-track { top: 41.4%; left: 23.0%; color: var(--color-track); }  /* 陸上競技場 */
.pin-buono   { top: 83.0%; left: 35.9%;  color: #c0392b; }  /* 学生食堂ボーノ */


/* エリア選択フィルターボタン */
.area-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.area-chip {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-chip:hover,
.area-chip.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ボタンのアイコン */
.area-chip i {
  width: 1.2em;
  text-align: center;
}

.chip-edu i   { color: var(--color-edu); }
.chip-gen i   { color: var(--color-gen); }
.chip-gym i   { color: var(--color-gym); }
.chip-field i { color: var(--color-field); }

/* 選ばれているときは、アイコンを白に */
.area-chip.active i {
  color: #fff;
}

/* マウスを乗せたとき:エリアごとの薄い色にする(選択中のボタンは対象外) */
.chip-edu:not(.active):hover   { background: #fff3e6; border-color: var(--color-edu);   color: var(--text-main); }
.chip-gen:not(.active):hover   { background: #e8faf3; border-color: var(--color-gen);   color: var(--text-main); }
.chip-gym:not(.active):hover   { background: #fdecec; border-color: var(--color-gym);   color: var(--text-main); }
.chip-field:not(.active):hover { background: #f1ecfd; border-color: var(--color-field); color: var(--text-main); }

/* エリアごとの色分け (上の .area-chip.active より後に書くことで有効になる) */
.chip-edu.active   { background-color: var(--color-edu);   border-color: var(--color-edu); }
.chip-gen.active   { background-color: var(--color-gen);   border-color: var(--color-gen); }
.chip-gym.active   { background-color: var(--color-gym);   border-color: var(--color-gym); }
.chip-field.active { background-color: var(--color-field); border-color: var(--color-field); }
.chip-track.active { background-color: var(--color-track); border-color: var(--color-track); }
.chip-track i      { color: var(--color-track); }
.chip-track:not(.active):hover {
  background: #e6f7fb;
  border-color: var(--color-track);
  color: var(--text-main);
}

/* ==========================================================================
   6. 企画一覧
   ========================================================================== */
/* エリアごとのまとまり */
.event-group {
  margin-bottom: 3.5rem;
}

.event-group:last-child {
  margin-bottom: 0;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  padding-left: 14px;
  border-left: 6px solid #94a3b8;
}

.group-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* エリアごとの色 (カードの上の帯と同じ色) */
.group-edu   { border-left-color: var(--color-edu); }
.group-gen   { border-left-color: var(--color-gen); }
.group-gym   { border-left-color: var(--color-gym); }
.group-field { border-left-color: var(--color-field); }

.group-edu i   { color: var(--color-edu); }
.group-gen i   { color: var(--color-gen); }
.group-gym i   { color: var(--color-gym); }
.group-field i { color: var(--color-field); }
.group-track   { border-left-color: var(--color-track); }
.group-track i { color: var(--color-track); }
.group-tbd i   { color: #94a3b8; }

   .events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.event-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 10px 15px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-edu   { background-color: var(--color-edu); }
.badge-gen   { background-color: var(--color-gen); }
.badge-gym   { background-color: var(--color-gym); }
.badge-field { background-color: var(--color-field); }
.badge-track { background-color: var(--color-track); }
.badge-tbd   { background-color: #94a3b8; }   /* ← この1行を足す */

.target-tag {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 10px;
}

.card-body {
  padding: 1.2rem;
  flex-grow: 1;
}

.event-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-weight: 700;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ↓ ここから足す */
.event-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.event-badge {
  display: inline-block;
  background: #fff3e0;
  color: #e65100;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin: 0 4px 6px 0;
}

.badge-rain {
  background: #e3f1ff;
  color: #1f5fa8;
}

.card-footer {
  padding: 10px 1.2rem 1.2rem;
}

.btn-detail {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-detail:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ==========================================================================
   7. 企業協賛
   ========================================================================== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
}

.sponsor-card {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

a.sponsor-card {
  text-decoration: none;
  color: inherit;
}

a.sponsor-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

a.sponsor-card:hover .sponsor-name {
  color: var(--primary-color);
}

/* 外部サイトへ行く目印(右端の小さな矢印) */
.sponsor-ext {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sponsor-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.sponsor-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

/* ==========================================================================
   8. アクセス (2列レイアウト & Googleマップ)
   ========================================================================== */
.access-content {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.access-info h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.access-info .address {
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.access-routes {
  list-style: none;
  margin-bottom: 1.5rem;
}

.access-routes li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: var(--text-main);
}

.access-routes i {
  color: var(--primary-color);
  margin-right: 6px;
  width: 20px;
  text-align: center;
}

.access-note {
  font-size: 0.85rem;
  color: #c53030;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.access-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   9. モーダル & フッター
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  position: relative;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* 長い内容のときは、モーダルの中身だけがスクロールする(×ボタンは動かない) */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  padding-right: 2rem;          /* ×ボタンと重ならないようにする */
}

.modal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.modal-text {
  line-height: 1.8;
}

.modal-items {
  list-style: none;
  margin-top: 1rem;
}

.modal-items li {
  padding: 0.8rem 0;
  border-top: 1px solid #e2e8f0;
}

.modal-items strong {
  margin-right: 0.8rem;
}

.modal-items span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-items p {
  font-size: 0.9rem;
  margin-top: 0.2rem;
  line-height: 1.7;
}

/* くわしい画面を広くする(カードを並べる企画用) */
.modal-card.modal-wide {
  max-width: 900px;
}

/* 項目のカード(なりきりやなど) */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 1rem;
}

.mini-card {
  background: #fffaf0;
  border: 1px solid #f1e6cc;
  border-top: 5px solid var(--color-edu);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem 1.1rem;
}

.mini-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.mini-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.mini-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* 施設の説明(学生食堂ボーノなど) */
.spot-menu {
  list-style: none;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  background: #fffaf0;
  border: 1px solid #f1e6cc;
  border-radius: var(--radius-md);
}

.spot-menu li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #e6dcc3;
}

.spot-menu li:last-child {
  border-bottom: none;
}

.spot-menu strong {
  white-space: nowrap;
  color: var(--accent-color);
}

.spot-notes {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 雨の場合(くわしい画面) */
.modal-rain {
  margin: -0.4rem 0 1rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f5fa8;
  background: #eaf4ff;
  border-radius: 8px;
}

/* 画像(チラシ・配置図) */
.modal-images {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 1.2rem;
}

.modal-img-link {
  display: block;
  width: 100%;
  max-width: 640px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.modal-img-link img {
  display: block;
  width: 100%;
  height: auto;
}


.modal-pdf {
  margin-top: 1rem;
  text-align: center;
}

.modal-pdf a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ===== SNS・お問い合わせ(クリーム色の帯) ===== */
.footer-cta {
  padding: 3.5rem 20px;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.cta-block {
  color: var(--text-blue);
}

.cta-heading {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-text {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.cta-divider {
  width: 1px;
  align-self: stretch;
  background: #c9d3e0;
}

/* ボタン */
.sns-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sns-btn,
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 30px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
}

.sns-btn:hover,
.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.sns-instagram { background: linear-gradient(45deg, #833ab4, #e1306c 55%, #fd8d32); }
.sns-note      { background: #19b5a1; }
.sns-tiktok    { background: #14213d; }

.contact-btn {
  background: linear-gradient(90deg, #ff9800, #ffb020);
  padding: 14px 40px;
  font-size: 1.1rem;
}

.contact-address {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-blue);
  user-select: all;
}

/* ===== フッター(青い本体) ===== */
.footer {
  background: var(--footer-blue);
  color: #fff;
  padding: 2.5rem 0 1.5rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover {
  color: #ffeb3b;
}

.footer-archive {
  text-align: center;
  margin-top: 1.2rem;
}

.footer-archive a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: var(--transition);
}

.footer-archive a:hover {
  background: #fff;
  color: var(--footer-blue);
}

.footer-orgs {
  display: grid;
  grid-template-columns: auto auto;   /* 左:見出し、右:内容 */
  justify-content: center;            /* 2列まとめて中央に置く */
  column-gap: 0.8rem;
  row-gap: 0.3rem;
  max-width: 720px;
  margin: 1.2rem auto;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;                   /* 列の中身は左そろえ */
}

/* HTMLの <div> の箱をなくして、dt と dd を直接グリッドに並べる */
.footer-orgs > div {
  display: contents;
}

.footer-orgs dt {
  font-weight: 800;
}

.footer-orgs dt::after {
  content: '：';
}
.support-list {
  display: inline-block;       /* 「後援」の内容と同じ行の中央にそろえる */
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.support-list summary {
  cursor: pointer;
  color: #ffeb3b;
  font-weight: 700;
}

.support-list p {
  margin-top: 0.3rem;
  line-height: 1.6;
}
.copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 1.5rem;
}

/* ==========================================================================
   11. 時間割
   ========================================================================== */
/* エリアの色(ここで決めて、下で使う) */
.area-edu   { --c: var(--color-edu); }
.area-gen   { --c: var(--color-gen); }
.area-gym   { --c: var(--color-gym); }
.area-field { --c: var(--color-field); }
.area-track { --c: var(--color-track, #0891b2); }
.area-tbd   { --c: #94a3b8; }

/* 時間のボタン */
.time-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.time-chip {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.time-chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.time-chip.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* 時間で探した結果 */
.time-result {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tr-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.tr-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.2rem 0 1rem;
}

.tr-empty {
  padding: 1rem 0;
  color: var(--text-muted);
}

.tr-group {
  margin-top: 1.2rem;
}

.tr-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  padding-left: 12px;
  margin-bottom: 0.6rem;
  border-left: 5px solid var(--c, #94a3b8);
}

.tr-area i {
  color: var(--c, #94a3b8);
}

.tr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 14px;
  text-align: left;
  font-size: inherit;
  color: inherit;
  background: #fffaf0;
  border: 1px solid #f1e6cc;
  border-left: 6px solid var(--c, #94a3b8);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.tr-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.tr-time {
  flex-shrink: 0;
  width: 9.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.tr-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tr-main strong {
  font-size: 1rem;
  line-height: 1.4;
}

.tr-main small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tr-item > i {
  color: var(--text-muted);
}

/* 全体の時間割(横の棒) */
.tt-subtitle {
  margin: 3rem 0 1rem;
  text-align: center;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
}

.tt-wrap {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.2rem 1.5rem;
}

.tt-head,
.tt-row {
  display: grid;
  grid-template-columns: 17rem 1fr;
  gap: 14px;
  align-items: center;
}

.tt-axis {
  position: relative;
  height: 1.6rem;
}

.tt-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tt-area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1.4rem 0 0.4rem;
  padding-left: 12px;
  font-size: 1.05rem;
  border-left: 5px solid var(--c, #94a3b8);
}

.tt-area i {
  color: var(--c, #94a3b8);
}

.tt-row {
  padding: 6px 0;
  border-top: 1px solid #f0ebdf;
}

.tt-name {
  min-width: 0;
}

.tt-title {
  display: block;
  padding: 0;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

.tt-title:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.tt-name small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.tt-track {
  position: relative;
  height: 22px;
  border-radius: 6px;
  background-color: #faf5e8;
  /* 1時間ごとの縦線 (9時〜16時 = 7区間) */
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(100% / 7 - 1px),
    #e4dcc6 calc(100% / 7 - 1px),
    #e4dcc6 calc(100% / 7)
  );
}

.tt-bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  min-width: 4px;
  border-radius: 4px;
  background: var(--c, #94a3b8);
}

.tt-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 雨の場合に、会場や時間が変わる企画の表 */
.rain-box {
  margin-bottom: 2rem;
  padding: 0 1.2rem;
  background: #eaf4ff;
  border: 2px solid #b9d9f5;
  border-radius: var(--radius-lg);
}

.rain-box summary {
  padding: 1rem 0;
  font-weight: 800;
  color: #1f5fa8;
  cursor: pointer;
  list-style: none;
}

.rain-box summary::-webkit-details-marker {
  display: none;
}

.rain-box summary::after {
  content: "▼ ひらく";
  float: right;
  font-size: 0.8rem;
  font-weight: 700;
}

.rain-box[open] summary::after {
  content: "▲ とじる";
}

.rain-lead {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.rain-scroll {
  overflow-x: auto;
  padding-bottom: 1rem;
}

.rain-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}

.rain-table th {
  padding: 8px 12px;
  text-align: left;
  color: #fff;
  background: #3b8de0;
}

.rain-table td {
  padding: 10px 12px;
  border-top: 1px solid #e3edf7;
}

.rain-table td:nth-child(2) {
  font-weight: 800;
  color: #d9372b;       /* 会場を目立たせる(増刊号と同じ赤) */
  white-space: nowrap;
}

.rain-table td:nth-child(3) {
  white-space: nowrap;
}

/* ==========================================================================
   10. タブレット表示 (1100px以下) 
   ========================================================================== */


@media (max-width: 1100px) {
  .nav-menu { gap: 16px; }
  .nav-menu a { font-size: 0.95rem; }
  .brand-logo { font-size: 1.4rem; }
}


/* ==========================================================================
   11. スマホ表示 (768px以下) ※ここに1つにまとめる
   ========================================================================== */
@media (max-width: 768px) {
  /* ナビ */
  .menu-toggle { display: block; }
   
  .nav-container { flex-wrap: nowrap; }

  /* メニュー:ナビの下に重ねて、画面いっぱいに開く */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 24px 2rem;
    background: #fffaf0;           /* かなり薄いベージュ */
    border-top: 1px solid #efe6d2;
    overflow-y: auto;
  }
  .nav-menu.active { display: flex; }
  .nav-menu li { border-bottom: 1px dashed #e6dcc3; }
  .nav-menu a { padding: 18px 4px; font-size: 1.15rem; }

  /* きてみん祭とは */
  .about-box {
    flex-direction: column;
    padding: 1.5rem;              /* PC用の右300pxの空きを打ち消す */
    text-align: center;
     gap: 0.5rem; 
  }

  .about-text-area p {
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;             /* 長い文章は左揃えのほうが読みやすい */
  }

  .catchphrase {
    font-size: 1.5rem;
  }

  .about-mascot {
    position: static;             /* 右下に重ねる配置をやめて、文章の下に並べる */
    display: block;
    width: 200px;
    margin: 1rem auto -2rem;      /* 下のマイナスで、カードの下端から少しはみ出す */
  }


  /* 会場マップのピン */
  

  /* 協賛 */
  .sponsors-grid { grid-template-columns: 1fr; }

  /* アクセス */
  .access-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .access-map { height: 250px; }

  .cta-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .cta-heading { justify-content: center; font-size: 1.5rem; }
  .cta-divider { width: 100%; height: 1px; }
  .sns-buttons { justify-content: center; }
   
  .group-title { font-size: 1.25rem; }

 
    
    /* スマホ用トップ画像のボタン位置(上から:会場マップ → 企画を探す → 時間割を見る) */
  .hero-link-map    { left: 32.4%; top: 84.8%; width: 38.8%; height: 4.7%; }
  .hero-link-events { left: 32.4%; top: 89.6%; width: 38.8%; height: 4.7%; }
  .hero-link-time   { left: 32.4%; top: 94.3%; width: 38.6%; height: 4.7%; }

  .mascot-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  
}
