body {
  font-family: "Meiryo", "MS PGothic", sans-serif;
  font-size: 12px;
  color: #333;
  background-color: #fff;
  margin: 10px;
  line-height: 1.4;
}

h1 {
  font-size: 16px;
  border-bottom: 2px solid #333;
  padding-bottom: 2px;
  margin: 0 0 10px 0;
}

a {
  color: #0000ee;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  background-color: #e0e0e0;
}

.month-title {
  font-size: 14px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  background: #eee;
  padding: 2px 5px;
  border-left: 5px solid #666;
}

table.calendar {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  margin: auto;
}

table.calendar th,
table.calendar td {
  border: 1px solid #999;
  padding: 2px;
  vertical-align: top;
}

table.calendar th {
  background-color: #ddd;
  text-align: center;
  font-weight: normal;
  font-size: 11px;
  padding: 2px 0;
}

table.calendar th:first-child,
table.calendar td:first-child {
  color: #d00;
}

table.calendar th:last-child,
table.calendar td:last-child {
  color: #00d;
}

table.calendar td {
  min-height: 70px;
  vertical-align: top;
}

.day-num {
  display: block;
  border-bottom: 1px dotted #ccc;
  background: #f9f9f9;
  padding: 0 2px;
  font-size: 11px;
}

.evt-item {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  border-left: 2px solid #ff6600;
  padding-left: 3px;
  word-wrap: break-word;
  line-height: 1.2;
  white-space: pre-wrap;
  transition: border 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.evt-item:hover {
  border-left: 5px solid;
}

.evt-item.solo-event {
  border-left-color: #cc0000;
}

.evt-item.unit-event {
  border-left-color: #ddb100;
}

.evt-item.luminous-event {
  border-left-color: #004c97; 
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#root > div {
  animation: slideInFade 0.2s ease-out forwards;
}

table.detail-tbl {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  margin-top: 10px;
  margin: auto;
  transition: opacity 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

table.detail-tbl th,
table.detail-tbl td {
  border: 1px solid #999;
  padding: 4px;
}

table.detail-tbl th {
  background-color: #eee;
  width: 80px;
  text-align: left;
  font-weight: normal;
}

.nav-link {
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #999;
  padding: 2px 6px;
  background: #f0f0f0;
}

.cast-tag {
  border: 1px solid #aaa;
  padding: 0 3px;
  margin: 0 2px 2px 0;
  display: inline-block;
  background: #fff;
  font-size: 11px;
}

.err {
  color: red;
  font-weight: bold;
}

.event-desc {
  white-space: pre-wrap;
}

tr.empty-week td {
  height: 8px;
  min-height: 8px;
  background-color: #f7f7f7;
}

tr.empty-week td span.day-num {
  font-size: 8px;
}

tr.empty-week .day-num {
  color: #bbb;
  border-bottom: none;
}

.source-box {
  font-size: 11px;
  background-color: #fcfcfc;
  border-top: 1px dashed #ccc;
  padding-top: 5px;
}

.source-box ul {
  margin: 5px 0 0 0;
  padding-left: 20px;
}

.source-box a {
  color: #0066cc;
}

.qrt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qrt-link {
  color: #1da1f2;
  /* Twitter Blue */
  text-decoration: none;
  font-size: 0.9em;
}

.qrt-link:hover {
  text-decoration: underline;
}
