#calendar {
    border-top: dotted 1px #c7c7c7;
    padding: 20px;
    font-family: 'M PLUS Rounded 1c', 游ゴシック体, 'Yu Gothic', YuGothic, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.fc-day {
    cursor: pointer;
}

.fc-day:hover:not(:has(.fc-event:hover)) {
    background: #f9ffa9;
}

.color-box {
    display: flex;
    gap: 10px;
}

.color-box label {
    padding: 5px;
    border-radius: 3px;
    display: block;
    width: 100px;
    cursor: pointer;
}

.col0 {
    background: #797979;
    border-color: #797979;
    color: #fff;
}

.col1 {
    background: #ff7272;
    border-color: #ff7272;
    color: #fff;
}

.col2 {
    background: #3e60d8;
    border-color: #3e60d8;
    color: #fff;
}

.col3 {
    background: #70922d;
    border-color: #70922d;
    color: #fff;
}

.col4 {
    background: #ffc645;
    border-color: #ffc645;
}

.col4.fc-h-event .fc-event-main,
.col5.fc-h-event .fc-event-main {
    color: #3a3a3a;
}

.col5 {
    background: #e0beff;
    border-color: #e0beff;
}

.fc-event {
    transition-duration: 0.2s;
}

.event-hover {
    opacity: 0.8;
}

.fc-day-sat .day-number {
    color: #2c1c8a;
}

.fc-day-sun .day-number,
.day-number.day-holiday {
    color: #f03b3b;
}

.holiday {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: right;
    font-size: 0.7em;
    margin-top: 3px;
    padding-right: 5px;
    color: #f03b3b;
    display: none;
}

.open-btn {
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px 10px 6px 10px;
    font-size: 0.9em;
    width: fit-content;
    color: #aaa;
    background: #f5f5f5;
}

.open-btn:hover {
    text-decoration: underline;
}

.fc .fc-daygrid-day-number {
    position: static;
}

.fc .fc-daygrid-day-top {
    font-size: 1.4em;
    height: 40px;
    align-items: center;
    margin-bottom: 8px;
}

.close {
    font-size: 1.5rem;
    color: #fff;
    border-radius: 0 0 10px 0;
    background: #c90000;
}

.event-delete-btn {
    display: block;
    float: right;
    background: #db2c2c;
    padding: 10px 20px;
    margin-top: -40px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.event-delete-btn:hover {
    opacity: 0.8;
}

.fc-event-main {
    font-size: 0.95em;
}

.fc th {
    background: #fffec1;
}

.fc-col-header-cell .fc-scrollgrid-sync-inner {
    padding: 5px;
}

.mainBox {
    display: flex;
}

.mainLeft,
.mainRight {
    width: 50%;
    padding: 0 2%;
}

.mainRight img {
    width: 100%;
}

.eventTitle {
    margin-bottom: 2%;
}

.dateText {
    font-size: 1.2em;
    margin-bottom: 3%;
    padding: 0 1em;
}

.contactText {
    background: #ffeeba;
    border-radius: 5px;
    padding: 2% 5%;
    margin-top: 3%;
    margin-bottom: 2%;
}

.contactTextTitle {
    background: #ff7800;
    width: fit-content;
    padding: 0.1em 1em;
    display: block;
    color: #fff;
    border-radius: 100px;
}

.contactTextMain {
    font-family: "じゅん 201";
    padding: 2%;
}

.mainText {
    font-family: "じゅん 201";
    padding: 5%;
    font-size: 1.1em;
    line-height: 1.4em;
    background: #f1f1f1;
    border-radius: 5px;
}

.contactTextMain b,
.mainText b {
    font-family: "じゅん 501";
}

.eventPDF a {
    display: block;
    margin: auto;
    width: fit-content;
    text-align: center;
}

.pdfIcon {
    width: 80px;
}

.eventPDF a:hover .pdfName {
    text-decoration: underline;
}

.eventLink {
    display: block;
    padding: 1% 2%;
    border-bottom: 1px solid #CCCCCC;
}

.eventLink:hover .eventLinkTitle {
    text-decoration: underline;
}

.eventLinkTitle {
    font-size: 1.4em;
    margin-bottom: 0.5%;
}

.eventLinkDate {
    color: #666;
}

.fc-header-toolbar {
    position: relative;
}

.fc-toolbar-title {
    position: absolute;
    width: 50%;
    text-align: center;
    z-index: 1;
    left: 25%;
}

.fc-button-group {
    position: absolute !important;
    width: 100%;
    left: 0;
    justify-content: space-between;
}

.fc-prev-button,
.fc-next-button {
    box-shadow: none !important;
    background-color: transparent !important;
}

.fc-prev-button {
    transform: rotate(180deg);
}

.fc-today-button {
    display: none !important;
}

.fc .fc-toolbar-title {
    font-size: 2em;
    margin-top: 0.4em;
}

.fc .fc-button-group {
    background: #e6ecda;
    padding: 5px;
    border-radius: 100px;
}

.fc .fc-button-group>.fc-button {
    flex: 0 1 auto;
    width: 50px;
    height: 50px;
    display: block;
    padding: 0;
    border-radius: 0;
    background: url(../img/btn.png);
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
}

.fc .fc-button .fc-icon {
    display: none;
}

.fc-toolbar-chunk {
    height: 62px;
    width: 100%;
}

.fc-direction-ltr .fc-toolbar>*> :not(:first-child) {
    margin-left: 0;
}

.fc-h-event .fc-event-title {
    font-size: 1.2em;
    white-space: break-spaces;
}

.fc .fc-view-harness {
    min-width: 800px;
}

.scroll-hint-icon-wrap {
    z-index: 9;
}

@media screen and (max-width: 1500px) {
    .open-btn {
        padding: 10px 5px 6px 5px;
    }

    .fc .fc-daygrid-day-top {
        font-size: 1.3em;
    }

}

@media screen and (max-width: 1024px) {
    .mainBox {
        flex-direction: column-reverse;
    }

    .mainLeft,
    .mainRight {
        width: 100%;
    }

}

@media screen and (max-width: 800px) {
    .eventLinkTitle {
        margin-bottom: 0.5em;
    }
}

@media screen and (max-width: 400px) {
    .fc .fc-toolbar-title {
        margin-top: 0.7em;
        font-size: 1.6em;
    }
}