@charset "UTF-8";

/* =========================================================
   ISHIBASHI C1 / THE EVENTS CALENDAR
   Event archive + single event
========================================================= */

/* ---------------------------------------------------------
   イベント一覧：タイトル帯
   石橋 The Events Calendar 実DOM対応
--------------------------------------------------------- */

html body.post-type-archive-tribe_events
.tribe-events-view {
  margin-top: 0 !important;
}

html body.post-type-archive-tribe_events
.tribe-events-view::before {
  content: "イベント" !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100vw !important;
  min-height: 118px !important;

  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 42px !important;
  margin-left: calc(50% - 50vw) !important;

  padding: 34px 16px !important;

  background: #7D9A6E !important;
  color: #ffffff !important;

  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;

  box-sizing: border-box !important;
}

/* カレンダー本体の幅 */
html body.post-type-archive-tribe_events
.tribe-events .tribe-events-l-container,
html body.post-type-archive-tribe_events
.tribe-common .tribe-common-l-container,
html body.post-type-archive-tribe_events
#tribe-events-pg-template {
  width: 100% !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

/* 検索ボタン */
html body.post-type-archive-tribe_events
.tribe-events-c-search__button,
html body.post-type-archive-tribe_events
button.tribe-events-c-search__button {
  background: #6F8F5F !important;
  border-color: #6F8F5F !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

html body.post-type-archive-tribe_events
.tribe-events-c-search__button:hover,
html body.post-type-archive-tribe_events
button.tribe-events-c-search__button:hover {
  background: #557544 !important;
  border-color: #557544 !important;
}

/* 表示切替の選択中ライン */
html body.post-type-archive-tribe_events
.tribe-events-c-view-selector__list-item--active
.tribe-events-c-view-selector__list-item-link::after {
  background-color: #6F8F5F !important;
}

/* 月移動・リンク */
html body.post-type-archive-tribe_events
.tribe-events a,
html body.post-type-archive-tribe_events
.tribe-events a:visited {
  color: #42573A;
}

/* カレンダー連携ボタン */
html body.post-type-archive-tribe_events
.tribe-events-c-subscribe-dropdown__button {
  border-color: #6F8F5F !important;
  border-radius: 999px !important;
  color: #557544 !important;
}

html body.post-type-archive-tribe_events
.tribe-events-c-subscribe-dropdown__button:hover,
html body.post-type-archive-tribe_events
.tribe-events-c-subscribe-dropdown__button:focus {
  background: #6F8F5F !important;
  color: #ffffff !important;
}

/* ---------------------------------------------------------
   個別イベント
--------------------------------------------------------- */
html body.single-tribe_events #tribe-events-pg-template {
  padding-top: 0 !important;
  padding-bottom: 64px !important;
}

html body.single-tribe_events #tribe-events-pg-template::before {
  content: "イベント" !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100vw !important;
  min-height: 118px !important;

  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 42px !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 34px 16px !important;

  background: #7D9A6E !important;
  color: #ffffff !important;

  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;

  box-sizing: border-box !important;
}

html body.single-tribe_events .tribe-events-single {
  width: 100% !important;
  max-width: 960px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 24px !important;
  padding-left: 24px !important;
  box-sizing: border-box !important;
}

html body.single-tribe_events .tribe-events-back a,
html body.single-tribe_events .tribe-events-back a:visited {
  color: #557544 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.single-tribe_events .tribe-events-single-event-title {
  color: #333333 !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

/* ---------------------------------------------------------
   スマホ
--------------------------------------------------------- */
@media screen and (max-width: 767px) {

  html body.post-type-archive-tribe_events .siteContent::before,
  html body.single-tribe_events #tribe-events-pg-template::before {
    min-height: 92px !important;
    margin-bottom: 28px !important;
    padding: 26px 14px !important;
    font-size: 24px !important;
  }

  html body.post-type-archive-tribe_events
  .tribe-events .tribe-events-l-container,
  html body.post-type-archive-tribe_events
  .tribe-common .tribe-common-l-container,
  html body.post-type-archive-tribe_events
  #tribe-events-pg-template {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  html body.single-tribe_events .tribe-events-single {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}
