@charset "UTF-8";
.calbox h2 {
  text-align: center;
  color: #da9729;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 2em;
}
.calbox h3 {
  font-size: 25px;
  border-left: 6px solid #da9729;
  padding-left: 0.5em;
  font-weight: bold;
  margin-bottom: 1.3em;
}
.calbox p.yearmonth {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  margin-top: 2em;
  margin-bottom: 2em;
}
.calbox .selectbox {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.calbox .selectbox::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  right: 10px;
  top: 12px;
  background-image: url("../img/selectdown.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.calbox .selectbox select {
  cursor: pointer;
  width: 6.5em;
  padding-left: 0.5em;
  font-size: 18px;
  border: 1px solid #6d6d6d;
}

table.eventtable {
  width: 100%;
}
table.eventtable td,
table.eventtable th {
  border: 1px solid #1a1a1a;
}
table.eventtable tr.youbi th {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}
table.eventtable tr.youbi th:first-child {
  color: #d30000;
  background-color: #f9dee5;
}
table.eventtable tr.youbi th:last-child {
  color: #18267c;
  background-color: #d2e1f7;
}
table.eventtable td {
  width: 14.2857142857%;
  height: 4rem;
}
table.eventtable td:first-child p.date {
  background-color: #f9edf4;
  color: #d30000;
}
table.eventtable td:last-child p.date {
  background-color: #f0f5fe;
  color: #18267c;
}
table.eventtable td p.date {
  text-align: right;
  padding: 4px;
  padding-right: 10px;
  padding-top: 7px;
  font-size: 20px;
  background-color: #efefef;
}
@media (max-width: 520px) {
  table.eventtable td p.date {
    text-align: center;
    padding-top: 0;
    font-size: 4.5vw;
  }
}
table.eventtable td .icons {
  padding: 10px;
  height: 6em;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  table.eventtable td .icons {
    height: auto;
    padding: 1vw;
  }
}
table.eventtable td .icons .eventiconlink {
  border: 1px solid #dd0b27;
  border-radius: 6em;
}
@media (max-width: 520px) {
  table.eventtable td .icons .eventiconlink {
    border: none;
  }
}
table.eventtable td .icons .eventicon {
  position: relative;
  height: 42px;
  z-index: 10;
}
@media (max-width: 520px) {
  table.eventtable td .icons .eventicon {
    text-align: center;
    width: 100%;
    height: auto;
  }
}
table.eventtable td .icons .eventicon .fukidashi {
  cursor: pointer;
  position: absolute;
  bottom: 40px;
  left: -10px;
  min-width: 10em;
  width: auto;
  border: 1px solid #000;
  background-color: white;
  padding: 6px;
  border-radius: 4px; /* 角丸はお好みで */
  /* ▼ を作る */
  /* 白背景の中三角（枠付き吹き出し用） */
}
table.eventtable td .icons .eventicon .fukidashi:hover {
  color: #2f4399;
}
table.eventtable td .icons .eventicon .fukidashi::after {
  content: "";
  position: absolute;
  top: 100%; /* 吹き出しの下 */
  left: 20px; /* 左からの位置。中央なら 50% + transform で調整 */
  width: 0;
  height: 0;
  border: 8px solid transparent; /* サイズ調整可 */
  border-top-color: #000; /* 枠線の色（fukidashiの border-color と同じ） */
  z-index: 20;
}
table.eventtable td .icons .eventicon .fukidashi::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: white; /* 背景色と同じ */
  margin-left: 1px;
  z-index: 30;
}
table.eventtable td .icons img {
  padding: 2px;
  width: 40px;
  cursor: pointer;
}
@media (max-width: 520px) {
  table.eventtable td .icons img {
    width: 10vw;
    padding: 3px;
  }
}

.page-event .mt5 {
  margin-top: 5em;
}

table.eventlist {
  margin-top: 2em;
  width: 100%;
}
table.eventlist tr:first-child td {
  text-align: center;
  background-color: black;
  color: white;
  border: 1px solid white;
}
table.eventlist tr.youbi-6 td:first-child, table.eventlist tr.youbi-6 td:nth-child(2) {
  color: #18267c;
  background-color: #f0f5fe;
}
table.eventlist tr.youbi-6 td:nth-child(3) {
  background-color: #f0f5fe;
}
table.eventlist tr.youbi-0 td:first-child, table.eventlist tr.youbi-0 td:nth-child(2) {
  color: #d30000;
  background-color: #f9edf4;
}
table.eventlist tr.youbi-0 td:nth-child(3) {
  background-color: #f9edf4;
}
table.eventlist td {
  border: 1px solid #000;
  vertical-align: middle;
  padding: 8px;
  font-size: 18px;
}
@media (max-width: 520px) {
  table.eventlist td {
    font-size: 3.6vw;
    line-height: 1.6;
  }
}
table.eventlist td .datarow a,
table.eventlist td .datarow .linkno {
  display: flex;
  gap: 10px;
  align-items: center;
}
table.eventlist td .datarow a span {
  border-bottom: 2px dotted #2f4399;
}
table.eventlist td img {
  width: 38px;
}
@media (max-width: 520px) {
  table.eventlist td img {
    width: 1.6em;
  }
}
table.eventlist td:first-child {
  width: 5em;
  border-left: none;
  text-align: center;
}
@media (max-width: 520px) {
  table.eventlist td:first-child {
    width: 1.6em;
  }
}
table.eventlist td:nth-child(2) {
  text-align: center;
  width: 5em;
}
@media (max-width: 520px) {
  table.eventlist td:nth-child(2) {
    width: 3.6em;
  }
}
table.eventlist td:nth-child(3) {
  border-right: none;
}/*# sourceMappingURL=event.css.map */