@charset "utf-8";

.event .cl_wrap {
    width: 90%;
    max-width: 1200px;
    margin-bottom: 3rem;
    /* background: #FFF; */
    box-shadow: 0 4.898px 24.49px -1.224px rgba(0, 0, 0, 0.10);
    /* border: solid 1px #e6e6e6; */
    border-radius: 0.5435rem;
    overflow: hidden;
    color: #383838;
}




/* FullCalendar 標準ヘッダーの非表示 */
/* .fc-toolbar,
.fc-toolbar-chunk,
.fc-toolbar-title,
.fc-button-group {
  display: none !important;
} */

/* .fc-header-toolbar {
    display: none!important;
} */


.fc-view-harness {
    background: #ffffff;
    border: none;
}

#calendar .fc {
    border: none;
}

.fc-theme-standard .fc-scrollgrid {
    /* border: none; */
    border-radius: 0 0 0.5435rem 0.5435rem;
    border: solid 1px #e6e6e6;
}

.fc-theme-standard td, .fc-theme-standard th {
    border: 1px solid var(--fc-border-color);
    border-right: 0;
    border-bottom: 0;
}






/* カレンダーヘッダー */
.custom-header-wrapper {
    width: 100%;
    background: #ffffff;
    border: solid 1px #e6e6e6;
    border-bottom: none;
    border-radius: 0.5435rem 0.5435rem 0 0;
    justify-content: space-between;
    padding: 0.8rem 2rem 0.9rem;
    font-size: 1.37756rem;
}

/* SP */
@media (max-width: 768px) {

.custom-header-wrapper {
    font-size: 0.75rem;

}
}


.custom-header-inner {
}

.custom-header-inner span.year,
.custom-header-inner span.month {
    margin-right:0.5rem ;
}


/* ヘッダー左矢印 */
button.nav.global-prev {
    all: unset;
    display: block;
    width: 0.50313rem;
    height: 0.81519rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14' fill='none'%3E%3Cpath d='M8.63389 2.47116L3.64068 7.46437L8.63389 12.4576L7.10536 13.9861L0.583618 7.46437L7.10536 0.942627L8.63389 2.47116Z' fill='%23969696'/%3E%3C/svg%3E");

}

/* ヘッダー右矢印 */
button.nav.global-next {
    all: unset;
    display: block;
    width: 0.50313rem;
    height: 0.81519rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='14' viewBox='0 0 9 14'%3E%3Cpath d='M1.89 0.94L8.42 7.46L1.89 13.99L0.37 12.46L5.36 7.46L0.37 2.47L1.89 0.94Z' fill='%23969696'/%3E%3C/svg%3E");
}

/* 年・月の矢印 */
.switchs {
    gap: 5px;
    margin-right: 2rem;
    margin-top: 2px;
}


/* SP */
@media (max-width: 768px) {
    .switchs {
    gap: 5px;
    margin-right: 1rem;
}
}

button.nav.prev-year,
button.nav.prev-month {
    all: unset;
    display: block;width: 0.55481rem;
    height: 0.36231rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6' fill='none'%3E%3Cpath d='M4.43841 2.71739L1.3587 5.7971L0 4.43841L4.43841 0L8.87681 4.43841L7.51812 5.7971L4.43841 2.71739Z' fill='%23BEBEBE'/%3E%3C/svg%3E");
}
button.nav.next-year,
button.nav.next-month {
    all: unset;
    display: block;width: 0.55481rem;
    height: 0.36231rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6' fill='none'%3E%3Cpath d='M4.43841 3.07973L7.51812 1.75242e-05L8.87682 1.35871L4.43841 5.79712L5.15639e-06 1.35871L1.3587 1.69857e-05L4.43841 3.07973Z' fill='%23BEBEBE'/%3E%3C/svg%3E");

}


/* 全体のフォントやリセット */
#calendar {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  color: #333;
}

/* 曜日ヘッダー */
.fc-day-header {
  background: #f8f8f8;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
  text-transform: none;
  white-space: nowrap;
}

/* 曜日名のテキスト */
.fc-day-header .fc-day-name {
  font-size: 1rem;
  color: #222;
}

/* 日付セル */
.fc-daygrid-day {
  background: #fff;
  border: 1px solid #eee;
  vertical-align: top;
}

/* 日付（数字） */
.fc-daygrid-day-number {
  padding: 0.25rem 0.5rem;
  text-align: right;
  font-size: 0.9rem;
  color: #444;
}

/* 土曜・日曜 */
.fc-day-sun,
.fc-day-sat {
  background-color: #fdf8f8;
}

/* 今日の日付 */
.fc-day-today {
  background-color: #fffae6;
  border: 2px solid #f2c94c;
}

/* カレンダー全体の角丸や影 */
#calendar .fc-scrollgrid {

}


/* 曜日表記 */
.fc-col-header .fc-day-sun a::after { content: "Sunday"; }
.fc-col-header .fc-day-mon a::after { content: "Monday"; }
.fc-col-header .fc-day-tue a::after { content: "Tuesday"; }
.fc-col-header .fc-day-wed a::after { content: "Wednesday"; }
.fc-col-header .fc-day-thu a::after { content: "Thursday"; }
.fc-col-header .fc-day-fri a::after { content: "Friday"; }
.fc-col-header .fc-day-sat a::after { content: "Saturday"; }


/* SP */
@media (max-width: 768px) {
.fc-col-header .fc-day-sun a::after { content: "Sun"; }
.fc-col-header .fc-day-mon a::after { content: "Mon"; }
.fc-col-header .fc-day-tue a::after { content: "Tue"; }
.fc-col-header .fc-day-wed a::after { content: "Wed"; }
.fc-col-header .fc-day-thu a::after { content: "Thu"; }
.fc-col-header .fc-day-fri a::after { content: "Fri"; }
.fc-col-header .fc-day-sat a::after { content: "Sat"; }

}

/* 元のテキストを非表示にして上書き風に見せる */
.fc .fc-col-header-cell-c span {
  visibility: hidden;
  display: block;
  position: relative;
}

.fc a.fc-col-header-cell-cushion,
.fc span.fc-day-name {
    color: transparent; 
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding:1rem 0rem!important; 
    border-bottom: 1px solid #e6e6e6;
}


/* SP */
@media (max-width: 768px) {
    .fc a.fc-col-header-cell-cushion,
.fc span.fc-day-name {

    padding:0.5rem 0rem!important; 
}
}


.fc span.fc-day-name {
    padding: 0;
}

.fc a.fc-col-header-cell-cushion::after {
    font-size: 0.91838rem;
    font-weight: normal;
    color: #5B5B5B;
    position: absolute;
    left: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    text-align: center;
    visibility: visible;
    padding-bottom: 3px;
}


/* SP */
@media (max-width: 768px) {
    .fc a.fc-col-header-cell-cushion::after {

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    }
}


/* 日数 */
.fc .fc-daygrid-day-top {
    flex-direction: row;
    padding: 0.5rem 1rem;
}
.fc .fc-daygrid-day-number {
    /* left: 1.3rem;
    top: 1.3rem; */
    font-size: 1.07144rem;
}


/* SP */
@media (max-width: 768px) {
    .fc .fc-daygrid-day-top {
    flex-direction: row;
    padding: 0.2rem 0.4rem;
}
.fc .fc-daygrid-day-number {
    /* left: 1.3rem;
    top: 1.3rem; */
    font-size: 0.8rem;
}
.fc .fc-daygrid-body-natural .fc-daygrid-day-events{
    margin-bottom: 0rem;
}
/* .fc .fc-scroller-harness,.fc .fc-scroller {
    overflow: visible!important;
} */
}

/* 土日 */
.fc td,
.fc th {
    background: none;
}

.fc .fc-non-business  {
   background: transparent;
}

.fc-daygrid-bg-harness {
   background: transparent;
}

/* 月外 */
.fc .fc-day-other {
    background: #FAFAFA;
}

@media screen and (max-width: 768px) {
  .fc-scroller {
    overflow: visible !important;
    height: auto !important;
  }
}