.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .badge {
        transition: none;
    }
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
    color: #fff;
    background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

a.badge-light:hover, a.badge-light:focus {
    color: #212529;
    background-color: #dae0e5;
}

a.badge-light:focus, a.badge-light.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  opacity: 0;
}

.tooltip.show {
  opacity: 0.9;
}

.tooltip .arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.tooltip .arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 0.25rem;
}


.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] {
  padding: 0.4rem 0;
}

.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow {
  bottom: 0;
}

.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
  top: 0;
  border-width: 0.4rem 0.4rem 0;
  border-top-color: #000;
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover .arrow {
  position: absolute;
  display: block;
  width: 1rem;
  height: 0.5rem;
  margin: 0 0.3rem;
}

.popover .arrow::before, .popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-popover-top, .bs-popover-auto[x-placement^="top"] {
  margin-bottom: 0.5rem;
}

.bs-popover-top > .arrow, .bs-popover-auto[x-placement^="top"] > .arrow {
  bottom: calc(-0.5rem - 1px);
}

.bs-popover-top > .arrow::before, .bs-popover-auto[x-placement^="top"] > .arrow::before {
  bottom: 0;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: rgba(0, 0, 0, 0.25);
}

.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^="top"] > .arrow::after {
  bottom: 1px;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: #fff;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.top-0 {
    top: 0 !important;
}

.top-50 {
    top: 50% !important;
}

.start-0 {
    left: 0 !important;
}

.start-50 {
    left: 50% !important;
}

.translate-middle {
    transform: translate(-50%, -50%) !important;
}


#loading {
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
}

/* index */
#calendar {
    max-width: 1200px;
    align-items: center;
    width: 100%;
}

.fc-header-toolbar,
.fc-view-harness,
.fc-col-header, .fc-daygrid-body, .fc-scrollgrid-sync-table {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 0;
}

.fc-h-event {
    display: block;
    background-color: transparent;
    color: red;
    border: none;
}

.fc-event{
    cursor: pointer;
}

.list-group-item {
    margin-bottom: 1em;
}

.btn-it {
  color: black!important;
  background-color: #B4CF9E!important;
  border-color: #B4CF9E!important;
}

.btn-it:hover {
  color: #fff!important;
  background-color: #B4CF9E;
  border-color: #B4CF9E;
}

.btn-it:focus, .btn-it.focus {
  color: #fff;
  background-color: #B4CF9E;
  border-color: #B4CF9E;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
}

.btn-it.disabled, .btn-it:disabled {
  color: #fff;
  background-color: #B4CF9E;
  border-color: #B4CF9E;
}

.btn-it:not(:disabled):not(.disabled):active, .btn-it:not(:disabled):not(.disabled).active,
.show > .btn-it.dropdown-toggle {
  color: #fff;
  background-color: #B4CF9E;
  border-color: #B4CF9E;
}

.btn-it:not(:disabled):not(.disabled):active:focus, .btn-it:not(:disabled):not(.disabled).active:focus,
.show > .btn-it.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
}

.btn-form {
  color: black!important;
  background-color: #FFE699!important;
  border-color: #FFE699!important;
}

.btn-form:hover {
  color: #fff!important;
  background-color: #FFE699;
  border-color: #FFE699;
}

.btn-form:focus, .btn-form.focus {
  color: #fff;
  background-color: #FFE699;
  border-color: #FFE699;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
}

.btn-form.disabled, .btn-form:disabled {
  color: #fff;
  background-color: #FFE699;
  border-color: #FFE699;
}

.btn-form:not(:disabled):not(.disabled):active, .btn-form:not(:disabled):not(.disabled).active,
.show > .btn-form.dropdown-toggle {
  color: #fff;
  background-color: #FFE699;
  border-color: #FFE699;
}

.btn-form:not(:disabled):not(.disabled):active:focus, .btn-form:not(:disabled):not(.disabled).active:focus,
.show > .btn-form.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(166, 150, 119, 0.5);
}

th.fc-day-sat .fc-col-header-cell-cushion {
  color : blue;
}

td.fc-day-sat .fc-daygrid-day-number {
  color : blue;
}

th.fc-day-sun .fc-col-header-cell-cushion {
  color : red;
}

td.fc-day-sun .fc-daygrid-day-number {
  color : red;
}

td.fc-day:has(.holiday) {
  background-color: #FDF0E7;
}

td.fc-day:has(.summer_holiday) {
  background-color: #FDF0E7;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  margin-bottom: 0px;
}

div.fc-event-title {
	white-space: normal;
}

.fc .fc-timegrid-slot {
  height: 2.5em;
}

.fc-timegrid-event-harness-inset .fc-timegrid-event, .fc-timegrid-event.fc-event-mirror, .fc-timegrid-more-link {
  box-shadow: initial;
}

a.fc-v-event {
  background-color: initial;
  border: none;
}

.fc-timegrid-col-misc {
  display: none;
}

.fc .fc-scrollgrid {
  margin-bottom: 0px;
}

.fc .fc-scrollgrid-section-body table, .fc .fc-scrollgrid-section-footer table {
  margin-bottom: 0px;
}

.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 0px;
}

.fc .fc-toolbar.fc-footer-toolbar {
  width: 100%;
  margin-top: 0px;
}

.h-20 {
  height: 20% !important;
}

.h-30 {
  height: 30% !important;
}

.h-40 {
  height: 40% !important;
}

.marker_blue span {
  background: linear-gradient(transparent 50%, #bde4f7 50%);
  padding: 0 0.1em;
}

.marker_green span {
  background: linear-gradient(transparent 50%, #98fb98 50%);
  padding: 0 0.1em;
}

.marker_yellow span {
  background: linear-gradient(transparent 50%, #ffff00 50%);
  padding: 0 0.1em;
}

.border_left_div {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  border-left: 5px solid #3A160E;
}