/* =============================
   活用事例カード ホバーエフェクト
============================= */
.jelly-use-cases > div:has(a) {
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}
.jelly-use-cases > div:has(a):hover {
  transform: translateY(-6px);
  opacity: .9;
}
.jelly-use-cases > div:has(a):hover > div {
  border-color: #f07800 !important;
  background: #fff3e8 !important;
  transition: border-color .25s, background .25s;
}
.jelly-use-cases > div:has(a):hover p {
  color: #f07800 !important;
  transition: color .25s;
}

/* =============================
   ナビ アクティブアンダーライン非表示
============================= */
.c-gnav > .-current > a::after {
  transform: scaleX(0) !important;
}

/* =============================
   SWELLサブヘッダー非表示
============================= */
.l-header__bar {
  display: none !important;
}

/* ヘッダーロゴサイズ・余白縮小（通常ヘッダー＋固定ヘッダー） */
#header .c-headLogo__img,
.l-fixHeader .c-headLogo__img {
  height: 68px !important;
  width: auto !important;
  max-height: 68px !important;
}
#header .l-header__logo,
#header.-series .l-header__logo {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.l-fixHeader .l-fixHeader__logo {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* =============================
   ヘッダーユーティリティバー
============================= */
.site-util-bar {
  background: #fff;
  width: 100%;
  position: relative;
  z-index: 99999;
}
.site-util-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.site-util-bar__btn {
  display: inline-flex;
  align-items: center;
  background: #f07800;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s;
}
.site-util-bar__btn:hover {
  background: #d96800;
}
.site-util-bar__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 16px;
}
.site-util-bar__tel a {
  font-size: 22px;
  font-weight: 900;
  color: #e84000 !important;
  text-decoration: none !important;
  letter-spacing: .03em;
  line-height: 1.2;
}
.site-util-bar__tel span {
  font-size: 11px;
  color: #666;
}
@media (max-width: 768px) {
  .site-util-bar__inner {
    gap: 6px;
    padding: 5px 12px;
  }
  .site-util-bar__btn {
    font-size: 11px;
    padding: 5px 10px;
  }
  .site-util-bar__tel a {
    font-size: 16px;
  }
  .site-util-bar__tel {
    margin-left: 8px;
  }
}

/* =============================
   イベント一覧・アーカイブ
============================= */

.event-archive-wrap {
  padding: 40px 0 80px;
}

.event-archive-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タブ */
.event-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 3px solid #e0e0e0;
}

.event-tab {
  padding: 12px 32px;
  font-size: 15px;
  font-weight: bold;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
}

.event-tab:hover {
  color: #333;
}

.event-tab.is-active {
  color: #c8a96e;
  border-bottom-color: #c8a96e;
}

/* フィルター */
.event-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}

.event-filter-form select {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.event-filter-reset {
  font-size: 13px;
  color: #999;
  text-decoration: underline;
}

/* イベントグリッド */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* イベントカード */
.event-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.event-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.event-card__thumb img {
  width: 100%;
  aspect-ratio: 210 / 297;
  height: auto;
  object-fit: cover;
  display: block;
}

.event-card__body {
  padding: 16px;
}

.event-card__pref {
  display: inline-block;
  font-size: 11px;
  background: #f0e8d8;
  color: #8a6a30;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.event-card__title {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 8px;
  line-height: 1.5;
}

.event-card__title a {
  color: #333;
  text-decoration: none;
}

.event-card__title a:hover {
  color: #c8a96e;
}

.event-card__venue {
  font-size: 13px;
  color: #666;
  margin: 0 0 4px;
}

.event-card__date {
  font-size: 13px;
  color: #888;
  margin: 0 0 8px;
}

.event-card__price {
  font-size: 13px;
  color: #444;
  font-weight: bold;
  margin: 0 0 12px;
}

.event-card__btn {
  display: inline-block;
  padding: 7px 16px;
  background: #c8a96e;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.event-card__btn:hover {
  background: #a8893e;
  color: #fff;
}

/* ページネーション */
.event-pagination {
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.event-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .event-pagination .page-numbers {
    padding: 6px 10px;
    margin: 0 2px;
    font-size: 13px;
  }
}

.event-pagination .page-numbers.current {
  background: #c8a96e;
  color: #fff;
  border-color: #c8a96e;
}

.event-none {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 15px;
}

/* サムネラッパー：A4枠・薄茶背景・画像は全体表示（contain） */
.event-card__thumb {
  position: relative;
  aspect-ratio: 210 / 297;
  background: #f5ede0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-card__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center center;
  display: block;
}
/* 画像なしプレースホルダー */
.event-card__no-thumb {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #c8a96e;
  font-family: 'Noto Serif JP', serif;
}

/* ===== イベント個別記事共通 ===== */

/* エリア + タグ行 */
.ev-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0 20px;
}

/* 都道府県バッジ（タイトル下・関連記事内で共通） */
.ev-migrated__pref-meta {
  display: inline-block;
  font-size: 11px;
  background: #f0e8d8;
  color: #8a6a30;
  padding: 2px 8px;
  border-radius: 3px;
}

/* 関連イベントセクション */
.ev-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}
.ev-related__ttl {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #333 !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 0 16px !important;
  border: none !important;
  margin-bottom: 20px !important;
}
.ev-related__ttl::before,
.ev-related__ttl::after { display: none !important; }
.ev-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 599px) {
  .ev-related__grid { grid-template-columns: 1fr; }
}
.ev-related__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.ev-related__link:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.ev-related__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.ev-related__body { padding: 10px 12px; }
.ev-related__title {
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 4px;
  line-height: 1.5;
  color: #333;
}
.ev-related__date {
  font-size: 11px;
  color: #888;
  margin: 0;
}

/* ===== 移植イベント記事（アポロルシアスと同トンマナ） ===== */

/* サムネイル：画像の自然サイズで表示（縦横比を強制しない） */
.ev-migrated__thumb {
  text-align: center;
}
.ev-migrated__thumb .p-articleThumb__img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
}


/* 移植元の着色段落（オレンジ背景など）をリセット */
.ev-migrated__content p,
.ev-migrated__content span,
.ev-migrated__content strong {
  background: none !important;
  background-color: transparent !important;
}

/* タグリスト */
.ev-migrated__tags {
  margin: 0 0 24px;
  padding: 0 var(--swl-pad_post_content, 16px);
}

/* hr区切り線 */
.ev-migrated__content hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 24px 0;
}

/* Google Mapsをh3アンダーラインの幅に合わせる */
.ev-migrated__content iframe,
.single-event .post_content iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  margin-top: 12px;
}

/* 一覧へ戻る */
.ev-migrated__back {
  margin-top: 40px;
  text-align: center;
}
.ev-migrated__back a {
  color: #888;
  font-size: 13px;
  text-decoration: none;
}
.ev-migrated__back a:hover { color: #c8a96e; }

/* モバイルフォントサイズ（移植記事） */
@media (max-width: 599px) {
  .ev-migrated__content { font-size: 13px !important; }
}

/* ===== イベント詳細テンプレート（旧カスタム・未使用）===== */
.ev-detail__hero {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1a2e;
}
.ev-detail__hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  object-fit: contain;
}
.ev-detail__hero--nothumb { height: 240px; }
.ev-detail__hero-gradient {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #2d2d50);
}

.ev-detail__wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.ev-detail__pref {
  display: inline-block;
  font-size: 11px;
  background: #f0e8d8;
  color: #8a6a30;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.ev-detail__title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.5;
  margin: 0 0 16px;
  font-family: 'Noto Serif JP', serif;
}

.ev-detail__tags { margin: 0 0 32px; }

.ev-detail__info {
  background: #fff8f0;
  border: 1px solid #e8d8c0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.ev-detail__info-row {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e8d8c0;
  font-size: 14px;
  line-height: 1.7;
}
.ev-detail__info-row:last-child { border-bottom: none; }
.ev-detail__info-label {
  min-width: 80px;
  font-weight: 700;
  color: #c8a96e;
}
.ev-detail__info-val { color: #333; flex: 1; }

.ev-detail__content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
@media (max-width: 599px) {
  /* アポロ等（SWELLデフォルトテンプレート）& 移植記事 */
  .single-event .post_content,
  .single-event .l-article__content,
  .ev-detail__content { font-size: 13px !important; }
}
.ev-detail__content h2,
.ev-detail__content h3 { color: #c8a96e; }

.ev-detail__cta {
  text-align: center;
  margin: 40px 0 32px;
}
.ev-detail__cta-btn {
  display: inline-block;
  background: #e8632a;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 16px 48px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s;
}
.ev-detail__cta-btn:hover { opacity: .85; color: #fff; }

.ev-detail__back {
  text-align: center;
  margin-top: 24px;
}
.ev-detail__back a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
}
.ev-detail__back a:hover { color: #c8a96e; }

/* ===== イベント記事タグ ===== */
.event-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.event-tag-list--top {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}
.event-tag-item {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid currentColor;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
  /* デフォルト：ゴールド（イベント種別） */
  color: #8a6a30;
  background: #f0e8d8;
}
.event-tag-item:hover { opacity: .75; color: inherit; }

/* 難易度：グリーン */
.event-tag-item--level {
  color: #2e7d32;
  background: #e8f5e9;
}
/* メディア：ブルー */
.event-tag-item--media {
  color: #1565c0;
  background: #e3f2fd;
}
/* 用途：パープル */
.event-tag-item--use {
  color: #6a1b9a;
  background: #f3e5f5;
}

/* イベント詳細：SWELLデフォルト要素を非表示 */
.single-event .p-share,
.single-event .c-share,
.single-event [class*="share"],
.single-event .p-entryNav,
.single-event .l-entry__nav,
.single-event .p-postLink,
.single-event .p-authorArea,
.single-event .p-author,
.single-event [class*="author"] { display: none !important; }
