@charset "utf-8";

#loading {
  display: none;
  position: absolute;
  z-index: 9999;
  color: #fff;
  background-color: #f00;
  font-weight: bold;
  font-size: 1em;
  padding: 10px 20px;
}

/*----------------------------------------------------------------------------------------------*/
/* Pulldown */
/*----------------------------------------------------------------------------------------------*/

#pulldown_button {
  cursor: pointer;
}

#pulldown_menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  list-style-type: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  overflow: visible;
  flex-direction: row;
  margin-top: 2.1em;
  margin-left: 2em;
  font-size: 1em;
  font-weight: bold;
}

#pulldown_menu.show {
  display: flex;
}

/* SimpleBar をラップするコンテナ */
#pulldown_years_wrapper {
  flex: 0 0 auto;
  height: 24em;
  width: 7em;
  border-right: 1px solid #ccc;
  position: relative;
  direction: rtl; /* スクロールバーを左側に配置 */
}

#pulldown_menu ul#pulldown_years > li {
  position: relative;
}

#pulldown_menu ul#pulldown_months {
  display: none;
  position: relative;
  background-color: #fff;
  border: none;
  z-index: 1001;
  flex: 0 0 7em;
  max-height: 24em;
  overflow: hidden;
  flex-shrink: 0;
}

#pulldown_menu ul#pulldown_months.show {
  display: flex;
  flex-direction: column;
}

#pulldown_menu ul {
  list-style: none;
  width: 7em;
  padding: 0;
  margin: 0;
}

#pulldown_menu ul li span {
  display: block;
  padding-left: 1.3em;
  text-decoration: none;
  text-align: left;
  line-height: 2em;
  color: #999;
  cursor: default;
}

#pulldown_menu ul li span[data-year],
#pulldown_menu ul li span[data-month] {
  color: #000;
  cursor: pointer;
}

#pulldown_menu ul li span[data-year]:hover,
#pulldown_menu ul li span[data-month]:hover {
  background-color: #f0f0f0;
  color: #039;
  cursor: pointer;
}

#pulldown_menu ul#pulldown_years > li.selected > span::before {
  content: "▶";
  color: #039;
}

.simplebar-scrollbar:before {
  background-color: #039;
}

/*----------------------------------------------------------------------------------------------*/
/* Navigation */
/*----------------------------------------------------------------------------------------------*/

h2.cal_header {
  display: flex !important;
}

#cal_title {
  cursor: pointer;
  margin-right: auto;
}

div.cal_nav {
  display: flex;
  align-items: stretch;
  text-align: right;
  padding: 3px;
  gap: 6px;
}

h2.cal_header button {
  cursor: pointer;
  background-color: #fff;
  border: none;
  border-radius: 12px;
  color: #039;
  font-weight: bold;
  padding: 0 1em;
  height: 100%;
}

h2.cal_header button#cal_back_button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: 80px;
}

h2.cal_header button#cal_next_button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  width: 80px;
}

h2.cal_header button.none {
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 500px) {
  h2.cal_header button {
    width: auto !important;
  }
}

/*----------------------------------------------------------------------------------------------*/
/* Calendar main */
/*----------------------------------------------------------------------------------------------*/

.contents_box h2.contents_header + .contents_body {
  padding-top: 13px;
}

div#calendar table {
  border-collapse: collapse;
  border: 1px solid #039;
  table-layout: fixed;
  width: 100%;
}

div#calendar th {
  border: 1px solid #ccc;
  font-size: 0.8em;
  text-align: center;
  vertical-align: top;
}

div#calendar td {
  border: 1px solid #ccc;
  font-size: 0.9em;
  text-align: left;
  vertical-align: top;
  height: 7em; /* tdにmin-heightを指定しても効かない。4行なら9em、3行なら7em */
}

div#calendar td span {
  margin: 0 3px;
}

div#calendar ul.schedule {
  margin: 0;
  padding: 0;
}

div#calendar ul.schedule li.liveevent {
  list-style-type: none;
  list-style-position: outside;
  white-space: nowrap;
  text-overflow: clip;
  overflow: hidden;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

div#calendar ul.schedule li.liveevent img {
  margin: 0 3px;
  padding: 0;
}

div#calendar ul.schedule li.liveevent span.livetitle {
  color: #039;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

div#calendar .today {
  background-color: #fec;
}

div#calendar .sunday,
div#calendar .holiday {
  background-color: #fee;
  color: #c00;
}

div#calendar .saturday {
  background-color: #eef;
  color: #00f;
}

#action-text .mobile {
  display: none;
}
@media (hover: none), (pointer: coarse) {
  #action-text .pc {
    display: none;
  }
  #action-text .mobile {
    display: inline;
  }
}

/*----------------------------------------------------------------------------------------------*/
/* Tippy.JS */
/*----------------------------------------------------------------------------------------------*/

.tippy-content {
  padding: 5px;
}

.tippy-content h3 {
  font-size: 0.9rem;
  background-color: #000;
  padding: 3px 5px;
  margin-bottom: 5px;
}

.tippy-content > div > p,
.tippy-content > div > dl {
  margin: 5px !important;
}

.tippy-content p,
.tippy-content dl dd {
  margin-bottom: 5px !important;
}

.tippy-content dl dd {
  margin-left: 0.9rem !important;
}

.tippy-content dl dd a {
  color: #6cf;
}
