body {
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
    font-size: 16px;
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#calendar {
    max-width: 95%;
    margin: 50px auto;
}

.hidden {
    display: none;
}

.none {
    visibility: hidden;
}

html>body {
    font-family: "Noto Sans Japanese", "Segoe UI", "Verdana", "Helvetica", "Arial", sans-serif;
}


input[name="c3"]:checked+label {
    background-color: #de8520;
    color: #fff;
}
input[name="key"]:checked+label {
    background-color: #6f62e2;
    color: #fff;
}

input[name="kizai"]:checked+label {
    background-color: #e51358;
    color: #fff;
}



/* 追加 */

.holiday {
    background-color: "#ffd0d0";
}


/* 土日 */
.fc-sat,
td.fc-sat {
    background-color: #eaf4ff;
}

.fc-sun,
td.fc-sun {
    background-color: #ffeaea;
}

.ui-widget-content {
    border: 1px solid #c9c9c9 !important;
    border-bottom: 1px solid #9f9f9f !important;
}

@media only screen and (max-width:700px) {
    .fc-title {
        font-size: 24px !important;
    }

    .fc-rows {
        font-size: 24px !important;
    }

    .fc-list-table {
        font-size: 24px !important;
    }
}

@media only screen and (min-width:701px) {
    /* .fc-title {
        font-size: 0.8em !important;
    } */

    .fc-cell-title {
        font-size: 24px !important;
    }

}

.fc-timeline-event {
    border-color: rgb(183 103 32) !important;
}


/* タブ切り替えボタン */

.cp_tab *,
.cp_tab *:before,
.cp_tab *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.cp_tab>input[name="cp_tab"] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* .cp_tab .cp_tabpanel {
    display: none;
} */

.cp_tab>input:first-child:checked~.cp_tabpanels>.cp_tabpanel:first-child,
.cp_tab>input:nth-child(3):checked~.cp_tabpanels>.cp_tabpanel:nth-child(2) {
    display: block;
}

.cp_tab>label {
    position: relative;
    display: inline-block;
    padding: 10px 15px 0px 10px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: 0;
}

.cp_tab>label:hover,
.cp_tab>input:focus+label {
    color: #0066cc;
}

.cp_tab>input:checked+label {
    margin-bottom: -1px;
    border-color: #cccccc;
    border-bottom: 1px solid #ffffff;
    /*背景色と同じ*/
    border-radius: 6px 6px 0 0;
}

.cp_tab label,
.cp_tabpanel ,
.footer {
    font-size: 16px;
}
.cp_tabpanel {
    padding: 0 1em 8px;
}

@media (max-width: 480px) {
    .cp_tab {
        width: 100%;
        font-size: 0.8em;
    }

    .cp_tab label {
        padding: 0.5em;
    }
}


/* フィルターボタン */

.fil {
    display: none;
}

.filter1 label {
    display: block;
    float: left;
    cursor: pointer;
    width: 30px;
    max-width: 50px;
    margin: 0;
    padding: 12px 5px;
    border-right: 1px solid #abb2b7;
    background: #bdc3c7;
    color: #555e64;
    font-size: 14px;
    text-align: center;
    line-height: 1;
    transition: 0.2s;
}

.filter1 label:first-of-type {
    border-radius: 3px 0 0 3px;
}

.filter1 label:last-of-type {
    border-right: 0px;
    border-radius: 0 3px 3px 0;
}

.fil+label {
    background-color: #cacaca;
    color: rgb(54, 54, 54);
    border-radius: 6px 6px 0 0;
    font-size: 1em;
    padding: 0 4px 0 4px;
    margin: 0 0 0 4px !important;
}

/* input[name="cal"]:checked+label {
    background-color: #f8ac64;
    color: #fff;
} */


input[name="cal"]:checked.cal_btn0+label {
    background-color: #FFDAB9;
}

input[name="cal"]:checked.cal_btn1+label {
    background-color: #d3daff;
}

input[name="cal"]:checked.cal_btn2+label {
    background-color: #68d5a2;
}

input[name="cal"]:checked.cal_btn3+label {
    background-color: rgb(235 162 255);
}

input[name="cal"]:checked.cal_btn4+label {
    background-color: #ffbab4;
}

input[name="cal"]:checked.cal_btn5+label {
    background-color: #ffca36;
}

input[name="cal"]:checked.cal_btn6+label {
    background-color: #ff9473;
}

input[name="cal"]:checked.cal_btn7+label {
    background-color: #7ccaff;
}

input[name="cal"]:checked.cal_btn8+label {
    background-color: rgb(229 229 229);
}

input[name="cal"]:checked.cal_btn9+label {
    background-color: #b2beff;
}

input[name="cal"]:checked.cal_btn10+label {
    background-color: rgb(102 255 175);
}

input[name="cal"]:checked.cal_btn11+label {
    background-color: #ff9191;
}

input[name="team"]:checked+label {
    background-color: #6da32e;
    color: #fff;
}
input[name="shoot_team"]:checked+label {
    background-color: #362ea3;
    color: #fff;
}

input[name="fil_staff"]:checked+label {
    background-color: #03a9f4;
    color: #fff;
}

input[name="fil_staff_new"]:checked+label {
    background-color: #03a9f4;
    color: #fff;
}

span[data-badge-bottom-right] {
    display: block;
    position: relative;
    border-radius: 6px;
    color: #fff;
}


/* アイコン部 */

span[data-badge-top-left]:before,
span[data-badge-top-right]:before,
span[data-badge-bottom-left]:before,
span[data-badge-bottom-right]:before {
    position: absolute;
    display: inline-block;
    font-weight: bold;
    background-color: #f00;
    border-radius: 50%;
    font-size: 1em;
    line-height: 1;
    min-width: 1em;
    padding: 5px;
    border: 2px solid #fff;
    box-shadow: 0px 0px 3px #999;
}

span[data-badge-top-left]:before {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    content: attr(data-badge-top-left) "";
}

span[data-badge-top-right]:before {
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    content: attr(data-badge-top-right) "";
}

span[data-badge-bottom-left]:before {
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
    content: attr(data-badge-bottom-left) "";
}

span[data-badge-bottom-right]:before {
    bottom: 12px;
    right: 0;
    transform: translate(50%, 50%);
    content: attr(data-badge-bottom-right) "";
    z-index: 1;
}


/* インフォメーションボード */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

.bg {
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  color: #fff;
}

.bg.-visible:before {
  transform: translate(0, 0);
}

.bg:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #a33e46;
  transform: translate(0, 100%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .6s;
  content: '';
}

/* テキストのスタイル */
.bg_title {
  display: block;
  color: #e2f6fc#fff;
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
}

#loading_bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
}

#calendar_top {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
}

#loading_bg {
    background: #2196F3;
    z-index: 10;
    transition: all 0.6s ease-in-out;
}

#loading_bg.active {
    top: -60%;
}

#todays_hint {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #E3F6FC;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
}

#progressBar{
    z-index: 15;
}

.header-controls {
    overflow: hidden;
    font-size: 12px;
}

.timestamp-group a {
    line-height: 1.4;
}

.font-size-control {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 2px 8px;
    margin-top: 2px;
}

.font-size-control button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
}

.font-size-control button:focus {
    outline: none;
}

#font-size-counter {
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 16px;
    vertical-align: middle;
}

.fc-toolbar.fc-header-toolbar{
    font-size: 16px;
}

.fc-divider{
    background-color: rgb(234 234 234 / 50%);
}

.page_main {
    position: relative;
    z-index: 5;
}

.page_main>aside {
    overflow-y: auto;
    background-color: rgb(253 255 245);
    width: 500px;
    height: 100%;
    top: 0;
    left: -350px;
    position: fixed;
}

.page_main>aside ul {
    margin: 0;
    padding: 0;
    top: 50px;
    left: 114px;
    position: absolute;
}

.page_main>aside li {
    margin: 20px auto;
    list-style: none;
}

#staff-list {
    background-color: rgba(76, 84, 130, 0.8);
    display: block;
    position: fixed;
    top: calc(100% - 215px);
    left: 0px;
    width: 26px;
    height: 66px;
    margin: 0;
    padding: 0;
    border-radius: 0 5px 5px 0;
}

.scrollable-table {
    height: 100%;  /* ボタンの高さを考慮 */
    overflow-y: auto;
}

.page_main table thead tr {
    background-color: #fd6767;
    color: #fff;
}

.bikou {
    text-align: left;
    font-size: .85em;
    white-space: normal;
    word-wrap: break-word;
}

.page_main table th,
.page_update table th,
.page_update table td {
    padding: .35em 1em;
    text-align: center;
}

.table td,
.table th {
    padding: .3rem !important;
    font-size: 1.2rem;
}

.guest-table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    /* width: 650px; */
    table-layout: fixed;
    color: #000;
}

.guest-list {
    padding: .35em;
    border-bottom: 1px solid #bbb;
}

/* table thead{
    border-bottom: 5px solid #ff9900;
  } */
.guest-list:last-child {
    border-bottom: none
}

.name-list,
.txt {
    padding: 1em 10px 1em 1em;
    border-right: 1px solid #bbb;
}
