@charset "UTF-8";
/*-----------------------------------------------------
/////pages.css/////
  ページ固有のスタイル。<body class="page-{page_id}"> で切り分ける。
  01 top
  02 greeting
  03 map / timetable
  04 event
  05 joining（一覧）
  06 joining（個別）
  07 sponsor
  08 access
-----------------------------------------------------*/

/* カードの差し色（デモの6色ローテーション）。--accent / --soft を各カードで参照する */
.quick-grid > li:nth-child(6n+1),
.event-list > li:nth-child(6n+1),
#group-list > li:nth-child(6n+1) { --accent: var(--c-pink);          --soft: var(--c-soft-pink); }
.quick-grid > li:nth-child(6n+2),
.event-list > li:nth-child(6n+2),
#group-list > li:nth-child(6n+2) { --accent: var(--c-blue);          --soft: var(--c-soft-blue); }
.quick-grid > li:nth-child(6n+3),
.event-list > li:nth-child(6n+3),
#group-list > li:nth-child(6n+3) { --accent: var(--c-orange);        --soft: var(--c-soft-orange); }
.quick-grid > li:nth-child(6n+4),
.event-list > li:nth-child(6n+4),
#group-list > li:nth-child(6n+4) { --accent: var(--c-green);         --soft: var(--c-soft-green); }
.quick-grid > li:nth-child(6n+5),
.event-list > li:nth-child(6n+5),
#group-list > li:nth-child(6n+5) { --accent: var(--c-purple);        --soft: var(--c-soft-purple); }
.quick-grid > li:nth-child(6n),
.event-list > li:nth-child(6n),
#group-list > li:nth-child(6n)   { --accent: var(--c-yellow-strong); --soft: var(--c-soft-yellow); }

/*-----------------------------------------------------
***01 top***
-----------------------------------------------------*/
.home-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1040px, calc(100% - var(--gutter) * 2));
  text-align: center;
}
.home-hero__date {
  display: inline-block;
  margin-top: var(--space-8);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-s);
  font-size: var(--fs-m);
  font-weight: var(--fw-bold);
  line-height: 1.4;
}
.home-hero__date b {
  font-size: 1.6em;
  font-weight: var(--fw-black);
  letter-spacing: 0.02em;
}
.home-hero__date small {
  font-size: 0.85em;
}
/* 装飾フレーム版（仮）：img/2026/header/header_frame_main.*
   画像は幅100%・高さautoで全体を表示し、中央の透過部（横 約25〜78%／縦 約10〜80%）にロゴ・日付を重ねる。
   ロゴ・日付はフレーム幅（＝画面幅）に比例させ、透過部からはみ出さないようにする。 */
.home-hero_frame {
  display: grid;
  place-items: stretch;
  min-height: 0;
  padding: 0;
  background: var(--c-surface);
}
.home-hero_frame::after {
  display: none;
}
.home-hero__frame {
  grid-area: 1 / 1;
}
.home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.home-hero_frame .home-hero__inner {
  grid-area: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}
/* マスコットキャラクター（ジョー君・コマちゃん）。ロゴの左右・下端寄りに配置し、フレーム装飾とは重なってよい。
   大きさはフレーム（＝画面幅）に比例。ロゴ（z-index: 3）より背面 */
.home-hero__character {
  position: absolute;
  bottom: 0;
  z-index: 2;
  margin: 0;
  line-height: 0;
}
.home-hero__character_l {
  left: 11vw;
}
.home-hero__character_r {
  right: 11vw;
}
.home-hero__character img {
  display: block;
  width: auto;
  height: 18vw; /* 旧22vwの2/3(14.7vw)からやや拡大 */
  animation: home-float 5.4s ease-in-out infinite;
}
.home-hero__character_r img {
  animation-delay: -2.7s; /* 左右でタイミングをずらす */
}
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.2vw); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__character img {
    animation: none;
  }
}
/* 仮ロゴ画像（開催日入り・縦横比 2:1）。幅は透過部の高さに収まる範囲 */
.home-hero__logo {
  margin: 0;
  line-height: 0;
}
.home-hero__logo img {
  display: block;
  width: 46vw;
  height: auto;
}
/* 今年のテーマ（表紙画像は仮置き） */
.theme-feature {
  display: grid;
  grid-template-columns: minmax(0, 480px);
  gap: var(--space-5);
  justify-content: center;
}
.theme-feature__cover {
  margin: 0;
}
.theme-feature__body {
  text-align: center;
}
.theme-feature__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-m, 12px);
  box-shadow: var(--shadow-s);
}
.theme-feature__cover figcaption {
  margin-top: var(--space-2);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  text-align: center;
}
.theme-feature__label {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-l);
  font-weight: var(--fw-black);
}
.theme-feature__txt {
  margin: 0; /* 画像との間隔は .theme-feature の gap */
  font-size: var(--fs-l);
  font-weight: var(--fw-black);
  line-height: 1.5;
}
/* 「協創」を大きく強調（2025年の .main-theme には影響させない） */
.theme-feature__txt .main-theme {
  display: inline-block;
  font-size: clamp(64px, 12vw, 120px);
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: var(--c-pink-strong);
}
@media (max-width: 760px) {
  .theme-feature {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .theme-feature__cover {
    width: min(88vw, 480px);
    margin-inline: auto;
  }
  .theme-feature__body {
    text-align: center;
  }
}
.home-section {
  padding: var(--section-pad) 0;
}
.home-section_tint {
  background: linear-gradient(180deg, #fff, var(--c-bg-tint));
}

/* PICK UP（特設ページ＋イベント）
   写真の下部に白いパネルを重ねるカード。差し色は --accent（矢印ボタン）で切り替える */
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.pickup-card {
  --accent: var(--c-pink-strong);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--c-ink);
  text-decoration: none;
}
.pickup-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 1.8 / 1;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #182a4a;
}
.pickup-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
/* お笑いライブ：KV（横長3:1）は文字入りのため切り抜かず、幅いっぱい・上寄せで全体を見せる */
.pickup-card_comedy .pickup-card__visual {
  background: linear-gradient(90deg, #ffc21a, #1e9be6);
}
.pickup-card_comedy .pickup-card__visual img {
  object-fit: contain;
  object-position: center top;
}
.pickup-card__body {
  position: relative;
  flex: 1;
  display: block;
  margin: -56px var(--space-3) 0;
  padding: var(--space-4) 68px var(--space-4) var(--space-5);
  background: var(--c-surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  transition: transform var(--dur);
}
.pickup-card__ttl {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-l);
  line-height: var(--lh-tight);
}
.pickup-card__icon {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pickup-card__txt {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-s);
  line-height: 1.6;
}
.pickup-card__arrow {
  position: absolute;
  top: 50%;
  right: var(--space-4);
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 50%;
  background: var(--accent);
}
.pickup-card__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.pickup-card:hover {
  color: var(--c-ink);
}
.pickup-card:hover .pickup-card__visual img {
  transform: scale(1.04);
}
.pickup-card:hover .pickup-card__body {
  transform: translateY(-3px);
}
@media (max-width: 960px) {
  .pickup-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 480px) {
  .pickup-card__body {
    padding-right: 60px;
  }
  .pickup-card__txt br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pickup-card__visual img,
  .pickup-card__body {
    transition: none;
  }
}

/* コンテンツ導線カード */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--space-4);
  align-content: center;
  height: 100%;
  min-height: 130px;
  padding: var(--space-5) 56px var(--space-5) var(--space-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  color: var(--c-ink);
  text-decoration: none;
  overflow: hidden;
}
.quick-card::after {
  content: "";
  position: absolute;
  top: -35px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--soft);
}
.quick-card:hover {
  color: var(--c-ink);
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.quick-card__icon {
  position: relative;
  z-index: 1;
  display: block;
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quick-card__ttl {
  position: relative;
  z-index: 1;
  grid-row: 2;
  display: block;
  font-size: var(--fs-l);
  line-height: 1.4;
}
.quick-card__en {
  position: relative;
  z-index: 1;
  grid-row: 1;
  align-self: end;
  color: var(--c-accent-text);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.quick-card__txt {
  position: relative;
  z-index: 1;
  grid-row: 3;
  align-self: start;
  margin-top: var(--space-1);
  color: var(--c-text-muted);
  font-size: var(--fs-s);
  line-height: 1.6;
}
.quick-card__arrow {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 50%;
  margin-top: -0.5em;
  line-height: 1;
  font-size: 22px;
}

/* キャラクター・学歌 */
.character-grid,
.song-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.character-grid {
  align-items: start;
}
/* 学歌は城西大学学歌のみ。1カラムで中央に置く */
.song-grid {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}
.character-grid img {
  display: block;
  width: 100%;
}
/* マスコット（ジョー君・コマちゃん）のカード：上にタイトル、各キャラの下に名前 */
.character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
}
.character-card__ttl {
  margin-bottom: var(--space-4);
  color: var(--c-pink-strong);
  font-size: var(--fs-l);
}
.character-card__pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  width: 100%;
}
.character-card__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
}
.character-card__item img {
  display: block;
  width: 100%;
  height: auto;
}
.character-card__name {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 0.2em 1em;
  border-radius: 999px;
  background: #197cbf; /* 裏表紙のジョー君の名札の色 */
  color: #fff;
  font-size: var(--fs-s);
  font-weight: var(--fw-black);
  line-height: 1.6;
}
.character-card__name_koma {
  background: #d65a96; /* 裏表紙のコマちゃんの名札の色 */
}
.song-card {
  padding: clamp(24px, 4vw, 40px);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "BIZ UDPMincho", "MS PMincho", serif; /* 学歌のみ明朝体。Noto Serif JP は index.html で読み込み、失敗時は端末の明朝体 */
}
.song-card__ttl {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px dashed var(--c-line);
  font-size: var(--fs-l);
  text-align: center;
}
.school-song {
  line-height: 2;
}
/* 学歌は縦書き（パンフレット同様）。行は右から左へ進む。幅が足りない場合は横スクロール */
.song-card .school-song {
  writing-mode: vertical-rl;
  width: max-content;
  max-width: 100%;
  margin-left: auto; /* 縦書きでは margin-inline が上下方向になるため左右を明示 */
  margin-right: auto;
  overflow-x: auto;
  letter-spacing: 0.1em;
  font-size: 1.15em;
}

/* キャンパス写真：右から左へ自動スクロール（ブラウザ幅いっぱい）。
   同じ8枚の組を2つ並べ、全体を -50% 動かして継ぎ目なくループ。ホバー/フォーカスで一時停止 */
#campus-ttl {
  text-wrap: balance; /* 狭い幅で2行になっても行の長さを揃える */
}
.campus-marquee {
  overflow: hidden;
  padding: var(--space-1) 0 var(--space-5); /* 影が切れないよう上下に余白 */
}
.campus-marquee__inner {
  display: flex;
  width: max-content;
  animation: campus-marquee 54s linear infinite;
}
.campus-marquee:hover .campus-marquee__inner,
.campus-marquee:focus-within .campus-marquee__inner {
  animation-play-state: paused;
}
@keyframes campus-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.campus-marquee__track {
  display: flex;
  flex: none;
}
.campus-marquee__track > li {
  flex: none;
  width: clamp(170px, 17vw, 260px);
  padding-right: var(--space-4); /* 余白は gap でなく padding にして -50% で正確にループさせる */
}
.campus-marquee__track a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m, 12px);
  box-shadow: var(--shadow-s);
}
.campus-marquee__track img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s;
}
.campus-marquee__track a:hover img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .campus-marquee__track > li {
    width: 44vw;
    padding-right: var(--space-3);
  }
}
/* 動きを減らす設定：自動スクロールを止め、手動の横スクロールにする（2組目は隠す） */
@media (prefers-reduced-motion: reduce) {
  .campus-marquee {
    overflow-x: auto;
  }
  .campus-marquee__inner {
    animation: none;
  }
  .campus-marquee__track[aria-hidden="true"] {
    display: none;
  }
  .campus-marquee__track img {
    transition: none;
  }
}

/* 2025年の記録 */
.archive__visual {
  margin-bottom: var(--space-5);
  text-align: center;
}
.archive__visual img {
  width: min(560px, 100%);
  border-radius: var(--radius-l);
}
.theme-box {
  display: grid;
  grid-template-columns: 2fr 3fr;
  margin-top: var(--space-6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.theme-box__label {
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background: var(--c-surface-muted);
  font-size: var(--fs-l);
  font-weight: var(--fw-black);
  line-height: 1.4;
  text-align: center;
}
.theme-txt {
  margin: 0;
  padding: var(--space-6) var(--space-5);
  font-size: var(--fs-m);
  font-weight: var(--fw-bold);
  text-align: center;
}
.main-theme {
  font-size: 2.6em;
  font-weight: var(--fw-black);
  line-height: 1.4;
}
.main-theme-sub {
  font-size: 0.35em;
}

@media (max-width: 560px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .home-hero__date {
    margin-top: var(--space-7);
    padding: var(--space-2) var(--space-5);
    font-size: var(--fs-base);
  }
  .home-hero_frame .home-hero__logo img {
    width: 52vw;
  }
  .home-hero__character {
    bottom: 0;
  }
  .home-hero__character img {
    height: 27vw; /* SPはバナー高(約33vw)に収まる範囲で大きく。ロゴ(中央約33〜68%)に被らない */
  }
  .home-hero__character_l {
    left: 3vw;
  }
  .home-hero__character_r {
    right: 3vw;
  }
  .character-grid,
  .song-grid,
  .theme-box {
    grid-template-columns: 1fr;
  }
  .quick-card {
    min-height: 96px;
    padding: var(--space-4) 52px var(--space-4) var(--space-4);
  }
}

/*-----------------------------------------------------
***02 greeting（メッセージカード）***
-----------------------------------------------------*/
#greeting-list > .wrap {
  position: relative;
  overflow: hidden;
}
#greeting-list > .wrap:nth-child(3n+1) { --accent-text: var(--c-pink-strong); --soft: var(--c-soft-pink); }
#greeting-list > .wrap:nth-child(3n+2) { --accent-text: #0b7bab;             --soft: var(--c-soft-blue); }
#greeting-list > .wrap:nth-child(3n)   { --accent-text: #9a7400;             --soft: var(--c-soft-yellow); }
#greeting-list > .wrap::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--soft);
  pointer-events: none;
}
.txt-and-img {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  align-items: start;
}
.txt-and-img.column-reverse {
  grid-template-columns: 320px 1fr;
}
.txt-and-img.column-reverse > .txt-and-img_second-box {
  grid-column: 1;
  grid-row: 1;
}
.photo-circle img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-l);
}
.men {
  margin-bottom: var(--space-5);
}
.men .sub {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent-text, var(--c-accent-text));
  font-size: 17px;
  font-weight: var(--fw-bold);
  line-height: 1.5;
}
.men .main {
  display: block;
  font-size: 29px;
}
#greeting-list .txt_lead {
  margin-bottom: var(--space-5);
  border-left-color: var(--accent-text, var(--c-accent));
}
@media (max-width: 760px) {
  .txt-and-img,
  .txt-and-img.column-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .txt-and-img_second-box,
  .txt-and-img.column-reverse > .txt-and-img_second-box {
    grid-row: 1;
    grid-column: auto;
  }
  .photo-circle img {
    width: 240px;
    max-width: 100%;
    margin-inline: auto;
  }
  #greeting-list .men {
    text-align: center;
  }
  .men .main {
    font-size: 24px;
  }
}

/*-----------------------------------------------------
***03 map / timetable（画像を載せるカード）***
-----------------------------------------------------*/
.page-map .wrap img,
.page-timetable .wrap img {
  border-radius: var(--radius-m);
}
/* 日付タブをカード（wrap_mid）の幅に揃える */
.page-timetable .ks-tabs__list {
  max-width: var(--container-mid);
  margin-inline: auto;
}
/* タイムテーブル表（時間・企画・場所＋10:00〜20:00のバー。バーは広い画面のみ） */
.tt-table {
  width: 100%;
  border-collapse: collapse;
}
.tt-table th,
.tt-table td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: middle;
}
.tt-table thead th {
  font-size: 13px;
  color: var(--c-text-muted);
}
.tt-time {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tt-name small {
  margin-left: 0.3em;
  font-size: 0.8em;
}
.tt-bar,
.tt-table thead th:last-child {
  display: none;
}
@media (max-width: 767px) {
  .tt-table thead {
    display: none;
  }
  .tt-table,
  .tt-table tbody {
    display: block;
  }
  .tt-table tr {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--c-line);
  }
  .tt-table th,
  .tt-table td {
    padding: 0;
    border: 0;
  }
  .tt-place {
    grid-column: 2;
    font-size: 14px;
    color: var(--c-text-muted);
  }
}
.tt-note {
  margin-top: var(--space-3);
  font-size: 14px;
}
@media (min-width: 768px) {
  .tt-bar,
  .tt-table thead th:last-child {
    display: table-cell;
    width: 40%;
    padding-inline: var(--space-3);
  }
  .tt-bar {
    position: relative;
    background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 10%);
  }
  .tt-bar__fill {
    position: absolute;
    top: 50%;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 7px;
    background: var(--c-accent);
  }
  .tt-bar__fill.is-open {
    background: linear-gradient(90deg, var(--c-accent), transparent);
  }
  .tt-axis {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 400;
  }
}

/*-----------------------------------------------------
***04 event（カード一覧）***
-----------------------------------------------------*/
.page-event .wrap {
  max-width: none; /* 日付タブとカード一覧の左端を揃える */
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.event-list > li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur);
}
/* ロールオーバーは参加団体カード（#group-list）と同じ浮き上がり＋影 */
.event-list > li:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.event-img {
  aspect-ratio: 712 / 1018;
  background: var(--soft);
}
.event-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
/* 拡大表示リンクのクリック範囲をカード全体に広げる */
.event-img a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.event-ttl {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-4) var(--space-5);
  font-size: 17px;
  font-weight: var(--fw-black);
  line-height: 1.4;
}
.event-ttl::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.link-txt {
  margin: auto 0 0;
  padding: 0 var(--space-5) var(--space-4);
}
/* 特設ページへのリンク：ボタン表示（.ks-btn_primary と同じ配色） */
.link-txt a {
  position: relative; /* カード全体に広げた拡大表示リンクより手前に出す */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 8px var(--space-4);
  border: 2px solid var(--c-accent-fill);
  border-radius: var(--radius-pill);
  background: var(--c-accent-fill);
  color: #fff;
  font-size: var(--fs-s);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur);
}
.link-txt a::after {
  content: "→";
}
.link-txt a:hover {
  border-color: #b80f4b;
  background: #b80f4b;
  color: #fff;
}
@media (max-width: 1050px) {
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .event-list {
    gap: var(--space-3);
  }
  .event-ttl {
    padding: var(--space-3);
    font-size: var(--fs-s);
  }
  .link-txt {
    padding: 0 var(--space-3) var(--space-3);
  }
  .link-txt a {
    min-height: 40px;
    padding: 6px var(--space-2);
    font-size: var(--fs-xs);
    letter-spacing: 0;
  }
}

/*-----------------------------------------------------
***05 joining（一覧カード）***
-----------------------------------------------------*/
#group-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
#group-list > li > a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  color: var(--c-ink);
  text-decoration: none;
  overflow: hidden;
}
#group-list > li > a::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--soft);
  pointer-events: none;
}
#group-list > li > a:hover {
  color: var(--c-ink);
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
#group-list > li > a:hover .group-name {
  text-decoration: underline;
}
#group-list .group-photo {
  aspect-ratio: 16 / 10;
  margin: 0;
  background: var(--soft);
}
#group-list .group-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 画像未掲載の企画 */
#group-list .group-photo_none {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
}
#group-list .group-name {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: var(--space-4) var(--space-5) 0;
  font-size: 17px;
  font-weight: var(--fw-black);
  line-height: 1.45;
}
#group-list .group-name::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.group-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--space-2);
  margin: var(--space-2) 0 0;
  padding: 0 var(--space-5) var(--space-5);
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.group-meta dt {
  font-weight: var(--fw-bold);
}
/* スタンプラリー参加などのバッジ（一覧カード・個別ページ共通） */
.ks-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  color: var(--c-accent-text);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  line-height: 1.5;
  white-space: nowrap;
}
/* カード最下部（場所の下）。直前の .group-meta の下余白に食い込ませて間隔を詰める */
#group-list .group-badges {
  position: relative;
  z-index: 1;
  margin: calc(var(--space-2) - var(--space-5)) 0 0;
  padding: 0 var(--space-5) var(--space-5);
}
@media (max-width: 1050px) {
  #group-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* SPは横並びのコンパクトなカード */
@media (max-width: 560px) {
  #group-list {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  #group-list > li > a {
    display: grid;
    grid-template-columns: 112px 1fr;
    grid-template-rows: auto auto 1fr;
  }
  #group-list .group-photo {
    grid-row: 1 / 4;
    aspect-ratio: auto;
    height: 100%;
    min-height: 112px;
  }
  #group-list .group-name {
    padding: var(--space-3) var(--space-3) 0;
    font-size: 15px;
  }
  #group-list .group-name::before {
    display: none;
  }
  #group-list .group-badges {
    margin-top: calc(var(--space-1) - var(--space-3));
    padding: 0 var(--space-3) var(--space-3);
  }
  .group-meta {
    padding: 0 var(--space-3) var(--space-3);
    font-size: var(--fs-xs);
  }
}

/*-----------------------------------------------------
***06 joining（個別ページ）***
-----------------------------------------------------*/
.wrap > .group-ttl {
  display: block;
  margin-bottom: var(--space-5);
  font-size: var(--fs-xl);
  line-height: 1.35;
}
.wrap > .group-ttl::before {
  display: block;
  width: 48px;
  height: 6px;
  margin-bottom: var(--space-3);
}
.page-joining.is-detail .group-photo {
  margin-bottom: var(--space-6);
  text-align: center;
}
.page-joining.is-detail .group-badges {
  margin: 0;
}
.page-joining.is-detail .group-photo img {
  border-radius: var(--radius-l);
  pointer-events: none;
  -webkit-touch-callout: none;
  user-select: none;
}
.wrap-inner + .wrap-inner {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 2px dashed var(--c-line);
}
.wrap-inner h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--c-accent-text);
  font-size: var(--fs-s);
  letter-spacing: 0.12em;
}
.group-place-txt {
  margin-bottom: var(--space-4);
  font-size: var(--fs-l);
  font-weight: var(--fw-black);
  line-height: 1.4;
}
#group-detail h3,
#group-message h3,
#group-place h3 {
  font-size: var(--fs-base);
}
#group-detail .group-place-txt,
#group-place .group-place-txt {
  font-size: clamp(24px, 2.6vw, 30px);
}
#group-message .group-detail-txt {
  font-size: var(--fs-m);
}
.joining_map {
  text-align: center;
}
.joining_map img {
  border-radius: var(--radius-m);
}

/*-----------------------------------------------------
***07 sponsor***
-----------------------------------------------------*/
.page-sponsor .wrap {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.sponsor-list-bnr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.sponsor-list-bnr > li {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.sponsor-list-img {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.sponsor-list-img img {
  display: block;
  width: 100%;
}
.sponsor-list-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-black);
  line-height: 1.5;
  text-align: center;
}
.page-sponsor .wrap > .align-center {
  color: var(--c-text-muted);
  font-size: 13px;
}
@media (max-width: 1050px) {
  .sponsor-list-bnr {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sponsor-list-bnr {
    grid-template-columns: 1fr;
  }
}

/*-----------------------------------------------------
***08 access***
-----------------------------------------------------*/
.map-box {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--c-surface-muted);
}
.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
}
.page-access .wrap img {
  border-radius: var(--radius-m);
}
@media (max-width: 760px) {
  .map-box {
    aspect-ratio: 4 / 3;
  }
}

/*-----------------------------------------------------
***下層ページのヘッダー キャラクター（トップと同じ配置・動き）***
  SPはトップと同じバナー、PCは細長いバナー。PCはバナーが低いので、キャラクターを小さくして頭が切れないようにする。
-----------------------------------------------------*/
@media (min-width: 761px) {
  .page-hero .home-hero__character_l {
    left: 11vw;
  }
  .page-hero .home-hero__character_r {
    right: 11vw;
  }
  .page-hero .home-hero__character img {
    height: 11.5vw;
    max-height: 200px;
  }
}
