@charset "UTF-8";
/* Event Archive Page CSS */

/* ============================================
   ヒーローセクション：works.cssをそのまま使用（上書きなし）
   ============================================ */
.event-page {
  background: #fff;
  overflow-x: hidden;
}

/* hero-subtitle：「みんな」= #d66469、「のための」= #424242 */
.event-page .hero-subtitle {
  color: #424242;
}
.event-page .hero-subtitle span {
  color: #d66469;
}

/* hero-description：イベントページのみ上部余白を追加 */
.event-page .hero-description {
  padding-top: 1.5em;
}

/* ============================================
   フィルターバー
   ============================================ */
.event-filter-wrap {
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 0 40px;
}

.event-filter {
  display: flex;
  align-items: center;
  border: 1px solid #d2d2d2;
  border-radius: 16px;
  height: 80px;
  overflow: hidden;
}

.event-filter__keyword {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px 0 32px;
  border-right: 1px solid #d2d2d2;
  height: 100%;
  flex-shrink: 0;
}

.event-filter__keyword svg {
  flex-shrink: 0;
}

.event-filter__input {
  border: none;
  outline: none;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #565656;
  letter-spacing: 0.2em;
  background: transparent;
  width: 220px;
}

.event-filter__input::placeholder {
  color: #565656;
}

.event-filter__cats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  flex: 1;
}

.event-filter__check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.event-filter__check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  accent-color: var(--highlight-red);
  flex-shrink: 0;
}

.event-filter__submit {
  background: var(--highlight-red);
  color: #fff;
  border: none;
  border-radius: 0 14px 14px 0;
  height: 100%;
  padding: 0 28px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.event-filter__submit:hover {
  opacity: 0.85;
}

/* ============================================
   イベントカードグリッド
   ============================================ */
.event-container {
  max-width: 1140px;
  margin: 48px auto 80px;
  padding: 0 40px;
}

/* works.css / column.css の column-section スタイルを event-container 内でリセット */
.event-container .column-section {
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
}

/* イベントカード */
.event-card {
  display: flex;
  flex-direction: column;
}

.event-card__link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.event-card__link:hover .event-card__image img {
  transform: scale(1.03);
}

.event-card__image {
  width: 100%;
  height: 240px;
  border-radius: 24px;
  border: 1px solid #d2d2d2;
  overflow: hidden;
  margin-bottom: 16px;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.event-card__no-image {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
}

.event-card__date {
  display: block;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: #000;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.event-card__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
}

/* タグ */
.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #565656;
  border-radius: 20px;
  height: 32px;
  padding: 0 12px 0 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  color: #565656;
  letter-spacing: 0.2em;
  white-space: nowrap;
  background: #fff;
}

.event-tag__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #565656;
  flex-shrink: 0;
}

/* ============================================
   ページネーション
   ============================================ */
.event-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.event-pagination .page-numbers {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 24px;
  color: #777;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.2s;
}

.event-pagination .page-numbers:hover {
  color: var(--highlight-red);
}

.event-pagination .page-numbers.current {
  color: #777;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.event-pagination .page-numbers.dots {
  color: #ccc;
}

.event-pagination__arrow {
  font-size: 20px;
  color: #777;
}

.event-pagination .prev,
.event-pagination .next {
  color: #777;
}

/* ============================================
   記事なし
   ============================================ */
.event-no-posts {
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  color: #777;
  padding: 60px 0;
  letter-spacing: 0.1em;
}

/* ============================================
   レスポンシブ (タブレット: 1024px以下)
   ============================================ */
@media (max-width: 1024px) {
  .event-filter__input {
    width: 160px;
  }
}

/* ============================================
   レスポンシブ (SP: 768px以下)
   ============================================ */
@media (max-width: 768px) {
  /* mainタグをヘッダー分（115px）上にずらしてヘッダー背後に画像を重ねる（column.cssと同パターン） */
  .event-page {
    margin-top: -115px;
  }

  /* works.cssの top:-115px をリセット（mainタグで既に115px上げているため二重にならないよう） */
  .event-page .hero-section {
    top: 0;
  }

  /* フィルター */
  .event-filter-wrap {
    margin-top: 0px;
    padding: 0 16px;
  }

  .event-filter {
    flex-direction: column;
    height: auto;
    border-radius: 12px;
    padding: 16px;
    gap: 12px;
  }

  .event-filter__keyword {
    border-right: none;
    border-bottom: 1px solid #d2d2d2;
    padding: 0 0 12px;
    width: 100%;
    height: auto;
  }

  .event-filter__input {
    width: 100%;
    font-size: 14px;
  }

  .event-filter__cats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    width: 100%;
  }

  .event-filter__check-label {
    font-size: 14px;
  }

  .event-filter__submit {
    border-radius: 8px;
    height: 44px;
    width: 100%;
    font-size: 14px;
  }

  /* グリッド */
  .event-container {
    padding: 0 16px;
    margin-top: 32px;
  }

  /* works.css / column.css の column-section SP スタイルをリセット */
  .event-container .column-section {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
  }
}
