@charset "UTF-8";
/* ============================================================
   Prismgate Event  v2.0.0
   - イベント一覧（日付バッジ付き縦リスト・年区切り）
   - イベント詳細（2カラム：ポスター／情報）
   ============================================================ */

:root {
  --pg-event-gold: #a8925f;
  --pg-event-gold-light: #d8cba9;
  --pg-event-date: #9b7b0e; /* 日付バッジ（月／日／曜日） */
  --pg-event-label: #9b7b0f; /* 項目ラベルの背景 */
  --pg-event-ink: #333;
  --pg-event-sub: #777;
  --pg-event-line: #e6e6e6;
  --pg-event-serif: "Times New Roman", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

/* ============================================================
   一覧（リスト）
   ============================================================ */
.c-eventList {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 年区切り */
.c-eventList__year {
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--pg-event-line);
  color: var(--pg-event-gold);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.c-eventList__year:first-child {
  margin-top: 0;
}

/* 1件 */
.c-eventList__item {
  list-style: none;
  border-bottom: 1px solid var(--pg-event-line);
}
.c-eventList__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1.6rem 0.4rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.c-eventList__link:hover {
  opacity: 0.7;
}

/* 日付バッジ（月を左上、日を右下に置き、間を斜線でつなぐ） */
.c-eventList__date {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  width: 260px;
  white-space: nowrap;
  color: var(--pg-event-date);
  font-family: var(--pg-event-serif);
  line-height: 1;
}
.c-eventList__month,
.c-eventList__day {
  font-size: 69px;
  font-weight: 400;
}
.c-eventList__month {
  align-self: flex-start;
}
/* 月と日をつなぐ斜線 */
.c-eventList__slash {
  flex-shrink: 0;
  width: 1px;
  height: 104px;
  margin: 0 0.6rem;
  background: var(--pg-event-date);
  transform: rotate(20deg);
}
.c-eventList__dayWrap {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
}
.c-eventList__dow {
  color: var(--pg-event-date);
  font-size: 30px;
  letter-spacing: 0.04em;
}

/* サムネイル */
.c-eventList__figure {
  flex-shrink: 0;
  width: 150px;
  margin: 0;
}
.c-eventList__figure .c-eventList__img,
.c-eventList__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.c-eventList__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f2f0ea;
}
.c-eventList__noimg::before {
  content: "GINZA JUJIYA";
  color: #c7bfa9;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* 本文 */
.c-eventList__body {
  flex: 1 1 auto;
  min-width: 0;
}
.c-eventList__title {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ラベル付きの項目行（出演／会場／開演） */
.c-eventList__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.c-eventList__row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--pg-event-ink);
}
/* 項目ラベル（一覧・詳細で共通のチップ） */
.c-eventList__label,
.p-eventDetail__label {
  display: inline-block;
  flex-shrink: 0;
  min-width: 4.4em;
  padding: 0.1em 0.6em;
  background: var(--pg-event-label);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.08em;
  text-align: center;
}
.c-eventList__value {
  flex: 1 1 auto;
  min-width: 0;
}

/* 開催予定がない場合 */
.c-eventList__close {
  padding: 1.2rem 0;
}

/* --- スマホ --- */
@media screen and (max-width: 639px) {
  .c-eventList__link {
    flex-wrap: wrap;
    gap: 12px;
    padding: 1.3rem 0;
  }
  .c-eventList__date {
    width: 150px;
  }
  .c-eventList__month,
  .c-eventList__day {
    font-size: 40px;
  }
  .c-eventList__slash {
    height: 60px;
    margin: 0 0.3rem;
  }
  .c-eventList__dow {
    font-size: 17px;
  }
  .c-eventList__figure {
    width: 110px;
  }
  .c-eventList__body {
    flex-basis: 100%;
    order: 3;
    margin-top: 0.4rem;
  }
  .c-eventList__title {
    font-size: 1.05rem;
  }
}

/* アーカイブ内でエントリーを差し替えたときのレイアウト調整
   Snow Monkey は .c-entries__item に max-width: var(--entries--item-width)（PCでは33.33%）を
   指定しているため、テーマ側と同じ変数を 100% に上書きして1カラムにする。
   あわせてカラム用の左右ガター（負マージン／パディング）も打ち消す。 */
.post-type-archive-event .c-entries,
.tax-event_category .c-entries {
  --entries--item-width: 100%;
  display: block;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
}
.post-type-archive-event .c-entries__item,
.tax-event_category .c-entries__item {
  max-width: none;
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}
.c-eventList__item--archive {
  border-bottom: 1px solid var(--pg-event-line);
}
.c-eventList__item--archive .c-eventList__link {
  display: flex;
}
.c-eventList__year--archive {
  margin-top: 1.5rem;
}

/* ============================================================
   年月切り替えナビゲーション（アーカイブ上部）
   ============================================================ */
.c-eventMonths {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0 0 1.6rem;
}

/* 左右の送りボタン */
.c-eventMonths .c-eventMonths__arrow {
  flex: 0 0 auto;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #8a8377;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
}
.c-eventMonths .c-eventMonths__arrow:hover {
  color: var(--pg-event-gold);
}
.c-eventMonths .c-eventMonths__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.c-eventMonths.is-static .c-eventMonths__arrow {
  display: none;
}
/* 山形の矢印 */
.c-eventMonths__chevron {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.c-eventMonths__arrow--prev .c-eventMonths__chevron {
  transform: translateX(2px) rotate(-135deg);
}
.c-eventMonths__arrow--next .c-eventMonths__chevron {
  transform: translateX(-2px) rotate(45deg);
}

/* 横スクロールする表示領域（スクロールバーは非表示） */
.c-eventMonths__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #f6f5f2;
  border-radius: 3px;
}
.c-eventMonths__viewport::-webkit-scrollbar {
  display: none;
}

.c-eventMonths__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-eventMonths__item {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
}
.c-eventMonths__item + .c-eventMonths__item {
  border-left: 1px solid #e8e5dd;
}

/* 各月のボタン
   テーマ側のリンク色・下線に負けないよう詳細度を上げている */
.c-eventMonths .c-eventMonths__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 100%;
  padding: 0.55rem 0.7rem;
  color: var(--pg-event-sub);
  text-decoration: none;
  line-height: 1.25;
  transition: background-color 0.2s, color 0.2s;
}
.c-eventMonths .c-eventMonths__btn:hover {
  background: #edeae1;
  color: var(--pg-event-ink);
  text-decoration: none;
}
.c-eventMonths__year {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.c-eventMonths__month {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
/* 「開催予定」（絞り込み解除） */
.c-eventMonths__all {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 選択中 */
.c-eventMonths .c-eventMonths__btn.is-current,
.c-eventMonths .c-eventMonths__btn.is-current:hover {
  background: var(--pg-event-gold);
  color: #fff;
}

/* 絞り込み中の見出し */
.c-eventMonths__current {
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--pg-event-line);
  color: var(--pg-event-gold);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* --- スマホ --- */
@media screen and (max-width: 639px) {
  .c-eventMonths {
    margin-bottom: 1.2rem;
  }
  .c-eventMonths .c-eventMonths__arrow {
    width: 24px;
  }
  .c-eventMonths .c-eventMonths__btn {
    min-width: 62px;
    padding: 0.5rem 0.5rem;
  }
  .c-eventMonths__year {
    font-size: 0.65rem;
  }
  .c-eventMonths__month {
    font-size: 0.95rem;
  }
  .c-eventMonths__all {
    font-size: 0.78rem;
  }
  .c-eventMonths__current {
    font-size: 1.1rem;
  }
}

/* ============================================================
   詳細ページ
   ============================================================ */
/* テーマ標準のアイキャッチ（単一イベント）は詳細レイアウト内に表示するため非表示 */
.single-event .c-entry__eyecatch,
.single-event .p-entry__eyecatch,
.single-event .c-entry__figure--eyecatch {
  display: none;
}

.p-eventDetail {
  margin: 0 0 1.5rem;
}
.p-eventDetail__lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.p-eventDetail__grid {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.p-eventDetail__figure {
  flex-shrink: 0;
  width: 40%;
  max-width: 320px;
  margin: 0;
}
.p-eventDetail__figure .p-eventDetail__img,
.p-eventDetail__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.p-eventDetail__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f2f0ea;
}
.p-eventDetail__noimg::before {
  content: "GINZA JUJIYA";
  color: #c7bfa9;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.p-eventDetail__body {
  flex: 1 1 auto;
  min-width: 0;
}
.p-eventDetail__line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
  line-height: 1.7;
}
.p-eventDetail__value {
  flex: 1 1 auto;
  min-width: 0;
}
.p-eventDetail__block {
  margin: 0 0 1.1rem;
}
.p-eventDetail__labelLine {
  margin: 0 0 0.4rem;
}
.p-eventDetail__text {
  line-height: 1.8;
}
.p-eventDetail__text > p:first-child {
  margin-top: 0;
}
.p-eventDetail__hr {
  margin: 1.4rem 0;
  border: 0;
  border-top: 1px solid var(--pg-event-line);
}

/* フッター（詳細リンク・注記） */
.p-eventDetail__foot {
  margin-top: 1.8rem;
}
.p-eventDetail__more {
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.p-eventDetail__more a {
  font-weight: 700;
}
.p-eventDetail__note {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

/* 開催終了バナー */
.p-eventDetail__ended {
  margin: 0 0 1.4rem;
  padding: 0.6em;
  border: 1px solid #d63638;
  color: #d63638;
  text-align: center;
  font-weight: 700;
}

/* --- スマホ --- */
@media screen and (max-width: 639px) {
  .p-eventDetail__grid {
    flex-direction: column;
    gap: 20px;
  }
  .p-eventDetail__figure {
    width: 70%;
    max-width: 260px;
    margin: 0 auto;
  }
}
