@charset "utf-8";
/* CSS Document */

/* ========================================
イベント月別ナビゲーション
======================================== */
/* タイトル */
.em-month-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  gap: 8px;
}
h2.em-month-nav__title {
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  flex: 1;
  border: none !important; /* ボーダー削除 */
  padding-bottom: 0 !important; /* ボーダー由来の余白も削除 */
  padding-top: 0; /* ボーダー由来の余白も削除 */
}
/* 月ナビゲーション */
.em-month-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.em-month-nav ul li {
  width: calc((100% - 44px) / 12); /* 12列（gap 4px × 11 = 44px） */
}
.em-month-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 4px;
  background-color: #c3d9e9;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 2px;
}
/* 現在の月 */
.em-month-nav__link.is-current {
  background-color: #0072ba;
  color: #fff;
  font-weight: bold;
}
/* イベントなし月（リンクなし） */
.em-month-nav__link.is-empty {
  background-color: #c8c8c8;
  color: #888;
  cursor: default;
}
/* SP: 6列×2段 */
@media not all and (min-width: 960px) {
  .em-month-nav ul li {
    width: calc((100% - 20px) / 6); /* 6列（gap 4px × 5 = 20px） */
	margin: 0px;
  }
}
/* 前月・翌月ボタン */
.em-month-nav__arrow {
  display: contents;
}
.em-month-nav__prev {
  margin: 0;
  order: -1; /* 前月を左端に */
}
.em-month-nav__next {
  margin: 0;
  order: 1; /* 翌月を右端に */
}
.em-month-nav__prev a, .em-month-nav__next a {
  display: inline-block;
  padding: 5px 12px;
  background-color: #0072ba;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 3px;
  white-space: nowrap;
}
.em-month-nav__prev a::before {
  content: "≪ ";
}
.em-month-nav__next a::after {
  content: " ≫";
}
/* 翌月がリンクなしテキストの場合 */
.em-month-nav__prev:not(:has(a)), .em-month-nav__next:not(:has(a)) {
  color: #fff;
}
/*==============================
イベントカレンダー
/*==============================*/
/* イベントカレンダー */
.p-blogParts.post_content[data-partsid="266086"] {
  margin-bottom: 50px;
}
.p-blogParts.post_content[data-partsid="266086"] .is-style-searchform .wp-block-accordion-heading__toggle-title::before {
  content: "calendar_month";
}
.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
  line-height: 100%;
}
/*==============================
イベントメタ情報（個別ページ）
/*==============================*/
.events-post section.content p {
  margin-bottom: 32px;
}
.em-item-meta {
  font-family: var(--font-family) !important;
  color: var(--color_text) !important;
}
.em-item-meta h3 {
  padding-left: 0px;
}
.em-item-meta h3:before {
  content: none;
}
.em.em-item .em-item-meta .em-item-meta-line a, .em.em-list .em-item .em-item-meta .em-item-meta-line a, .em.em-list-widget .em-item .em-item-meta .em-item-meta-line a {
  color: var(--accent-color) !important;
  font-style: normal !important;
}
.em.pixelbones h1, .em.pixelbones h2, .em.pixelbones h3, .em.pixelbones h4, .em.pixelbones h5, .em.pixelbones h6 {
  font-weight: bold !important;
}
.em-item-meta-line.em-event-location a {
  display: inline-block;
  margin-bottom: 7px;
}
/* ========================================
イベント詳細情報カード
======================================== */
.acf-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  max-width: auto;
}
.acf-content .acf-item {
  display: flex;
  align-items: stretch;
  margin: 0;
  border-bottom: 1px solid #e5e7eb;
}
.acf-content .acf-item:last-of-type {
  border-bottom: none;
}
.acf-content .acf-item dt.acf-item__label, .acf-content .acf-item dd.acf-item__value {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 14px;
  line-height: 2.0;
}
.acf-content .acf-item dt.acf-item__label {
  flex: 0 0 170px;
  font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
}
.acf-content .acf-item dd.acf-item__value {
  flex: 1;
  color: #111827;
}
/* 地図を最初に大きく表示 */
.acf-content .acf-item:has(iframe) {
  flex-direction: column;
}
.acf-content .acf-item:has(iframe) dt.acf-item__label {
  flex: none;
  width: 100%;
  background: #f9fafb;
}
.acf-content .acf-item:has(iframe) dd.acf-item__value {
  padding: 0;
  width: 100%;
}
.acf-content .acf-item:has(iframe) iframe {
  width: 100% !important;
  height: 500px !important;
  display: block;
  border: none;
}
/* PDFリンクをボタン風に */
.acf-item__value a[href$=".pdf"] {
  display: inline-flex;
  align-items: center;
  color: #0072ba;
  border: 1px solid #0072ba;
  border-radius: 6px;
  padding: 0px 12px;
  text-decoration: none;
  transition: background 0.2s;
  line-height: 30px;
}
.acf-item__filetype {
  line-height: 10px;
}
.acf-item__value a[href$=".pdf"]:hover {
  background: #e6f2fb;
}
/* 電話番号 */
.acf-item__value a[href^="tel"] {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}
/* SP表示調整 */
@media not all and (min-width: 960px) {
  .acf-content .acf-item {
    flex-direction: column;
  }
  .acf-content .acf-item dt.acf-item__label {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    min-height: auto;
    padding: 8px 14px;
  }
  .acf-content .acf-item dd.acf-item__value {
    width: 100%;
  }
  .acf-content .acf-item:has(iframe) iframe {
    height: 300px !important;
  }
}