/* 変数 */
:root {
    --fc-border-color: #F76A88;
    
    --fc-button-bg-color: #F76A88;
    --fc-button-border-color: #F76A88;
    --fc-button-hover-bg-color: #F76A88;
    --fc-button-hover-border-color: #F76A88;
    --fc-button-active-bg-color: #F76A88;
    --fc-button-active-border-color: #F76A88;

    --fc-today-bg-color: #E8F4FD;
}
/* カスタム */
.fc-invisible{
    visibility: hidden;
}
.fc-hidden{
    display: none;
}
/* theme */
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 16px;
}
.fc-theme-standard .fc-scrollgrid{
    border: unset;
}
.fc-scroller {
    scrollbar-width: none; /* Firefox */
}
.fc-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
/* thead */
.fc-theme-standard th {
    height: 30px;
    background: #FEEDF1;
    border-top: 4px solid #FEEDF1 !important;
    border-left: 4px solid #FEEDF1 !important;
    border-right: 4px solid #FEEDF1 !important;
    border-bottom: unset;
}
#main .fc-theme-standard th {
    background: #f5f0ec;
    border-top: 4px solid #f5f0ec !important;
    border-left: 4px solid #f5f0ec !important;
    border-right: 4px solid #f5f0ec !important;
}
.fc-theme-standard th div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc-col-header-cell-cushion {
    position: relative;
    top: 1px;
}
.fc-day-sat a{
    color: #0071B9;
}
.fc-day-sun a{
    color: #F76A88;
}
/* tbody */
.fc-scrollgrid-sync-table {
    height: auto !important;
}
.fc-theme-standard td {
    border: 4px solid #FEEDF1 !important;
}
#main .fc-theme-standard td {
    border: 4px solid #f5f0ec !important;
}
/* セル */
.fc-daygrid-day {
    height: auto !important;
    padding-bottom: 2px !important;
    min-height: 58px;
    border: 4px solid #FEEDF1 !important;
}
#main .fc-daygrid-day {
    border: 4px solid #f5f0ec !important;
}
.fc-daygrid-day-frame {
    height: 100%; 
}
.fc-day-past {
    /* 過去日は透明 */
    opacity: 0.4;
}
.fc-day-other, .fc-day-disabled {
    /* 他月と,表示対象外のセルは非表示 */
    visibility: hidden;
}
.fc-day-past .fc-daygrid-day-events{
    /* 過去のイベントは非表示 */
    visibility: hidden; 
}
/* セルTOP */
.fc .fc-daygrid-day-top {
    justify-content: center;
    font-size: 21px;
    font-weight: bold;
    padding-top: 2px;
}
/* セルイベント */
.fc-daygrid-day-events {
    font-size: 14px;
}
/* ヘッダーツールバー */
.fc .fc-header-toolbar {
    align-items: end;
}
/* ヘッダーツールバー要素 */
.fc-header-toolbar .fc-toolbar-chunk {
    display: flex;
    align-items: center;
}
/* ヘッダーツールバータイトル　年 */
.fc-header-toolbar .fc-toolbar-title small {
    font-size: 12px;
    margin-right: 15px;
    position: relative;
    top: -3px;
}
/* ヘッダーツールバータイトル　月 */
.fc-header-toolbar .fc-toolbar-title strong {
    font-size: 36px;
    font-weight: bold;
    margin-right: 4px;
    color: #F76A88;
    position: relative;
    top: 3px;
}
.fc-header-toolbar .fc-toolbar-title span {
    font-size: 18px;
    margin-right: 15px;
    font-weight: bold;
}
/* ヘッダーツールバー翌前月 */
.fc-header-toolbar .custom-header-text{
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    top: 2px;
    cursor: pointer;
}
.fc-header-toolbar .fc-button-primary:disabled + .custom-header-text {
    color: #B0B0B0;
    cursor: unset;
}
/* ヘッダーツールバーボタン */
.fc-header-toolbar .fc-button-primary {
    font-size: 10px;
    width: 25px;
    height: 25px;
    padding: unset;
    line-height: unset;
    border-radius: 50%;
}
.fc-header-toolbar .fc-button-primary:disabled {
    background: #B0B0B0;
    border: #B0B0B0;
}
/* イベント個別 */
.kobetsu {
    background: #3FA6F2;
    height: 22px;
    border: unset;
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* イベント授業見学 */
.open-class {
    background: #89C33F;
    height: 22px;
    border: unset;
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* イベント体験会 */
.workshop {
    background: #F76A88;
    height: 22px;
    border: unset;
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 凡例 */
.legends {
    display: flex;
    margin-top: 22px;
}
.legend_w {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-right: 56px;
}
.legend {
    color: white;
    width: 90px;
    margin-right: 12px;
}
/* タイトル */
.calender_title h3{
    font-size: 50px;
    font-family: "Roboto";
    font-weight: bold;
    margin-bottom: 10px;
}
.calender_title p{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
.calender_pick {
    height: 76px;
    background: #FEEDF1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
#main .calender_pick {
    background: #f5f0ec;
}
.calender_pick select {
    width: 250px;
    height: 45px;
    padding: 14px;
    border: 1px solid #B0B0B0;
    border-radius: 5px;
}
@media (max-width: 768px) { 
    /* thead */
    .fc-theme-standard th {
        height: 16px;
        font-size: 12px;
    }
    /* ヘッダーツールバー */
    .fc-header-toolbar {
        padding: 0 5%;
    }
    /* ヘッダーツールバーボタン */
    .fc-header-toolbar .fc-button-primary {
        font-size: 6px;
        width: 15px;
        height: 15px;
    }         
    /* ヘッダーツールバー翌前月 */
    .fc-header-toolbar .custom-header-text{
        font-size: 13px;
    }
    /* ヘッダーツールバータイトル　年 */
    .fc-header-toolbar .fc-toolbar-title small {
        font-size: 10px;
        margin-right: 10px;
    }
    /* ヘッダーツールバータイトル　月 */
    .fc-header-toolbar .fc-toolbar-title strong {
        font-size: 24px;
        margin-right: 4px;
    }
    .fc-header-toolbar .fc-toolbar-title span {
        font-size: 15px;
        margin-right: 10px;
    }
    /* セルTOP */
    .fc .fc-daygrid-day-top {
        font-size: 14px;
    }
    /* セルイベント */
    .fc-daygrid-day-events {
        font-size: 10px;
    }
    /* イベント個別 */
    .kobetsu {
        height: 14px;
    }
    /* イベント授業見学 */
    .open-class {
        height: 14px;
    }
    /* イベント体験会 */
    .workshop {
        height: 14px;
    }
    /* 凡例 */
    .legends {
        flex-wrap: wrap;
        padding: 0 5%;
    }
    .legends > div:first-child {
        margin-right: 30px;
    }
    .legend_w {
        font-size: 12px;
        margin-right: unset;
    }
    .legend {
        width: 80px;
    }
    .legend.kobetsu {
        height: 22px;
    }
    .legend.open-class {
        height: 22px;
    }
    .legend.workshop {
        height: 22px;
    }
    .container.calender_w {
        padding: unset;
    }
    .legend_w p {
        text-align: left;
        line-height: calc(15/12);
    }
    /* タイトル */
    .calender_title h3{
        font-size: 32px;
        margin-bottom: 10px;
    }
    .calender_title p{
        font-size: 15px;
        margin-bottom: 8px;
    }
    .calender_pick {
        height: 80px;
        margin-bottom: 10px;
    }
    .calender_pick select {
        width: 250px;
        height: 55px;
        padding: 20px;
    }
}




/* モーダルのバックドロップ */
#myModal {
    display: none;
    position: fixed; /* 位置固定 */
    z-index: 999; /* コンテンツの前面に */
    left: 0;
    top: 0;
    width: 100%; /* 幅全体 */
    height: 100%; /* 高さ全体 */
    overflow: auto; /* スクロールバーの表示 */
    background-color: rgba(0,0,0,0.4); /* 黒色の透明度 */
}
/* モーダルコンテンツ */
#myModal .modal-content {
    width: 100%;
    max-width: 768px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#myModal .modal-body {
    background-color: #fefefe;
    max-height: calc(100vh - 120px);
    overflow: hidden auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px
}
#myModal .modal-close {
    background-color: transparent;
    margin-top: 20px;
}
/* クローズボタン */
#myModal .close {
    display: block;
    width: 250px;
    height: 45px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: #B0B0B0;

    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
#myModal .close:hover,.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* 中身 */
#myModal .description_w:not(:last-child) {
    padding-bottom: 1px;
}
#myModal .description_w:last-child {
    padding-bottom: 2px;
}
#myModal .description_w.description-kobetsu {
    background: #3FA6F2;
}
#myModal .description_w.description-open-class {
    background: #89C33F;
}
#myModal .description_w.description-workshop {
    background: #F76A88;
}
#myModal .description_w .description {
    height: 45px;
    line-height: 45px;
    font-size: 25px;
    font-weight: bold;
    color: white;
    text-align: center;
}
#myModal .description-body {
    padding: 20px 25px;
    font-size: 14px;
    background: white;
    margin-left: 3px;
    margin-right: 2px;
    margin-bottom: 1px;
}
#myModal .description-body .message {
    padding-bottom: 16px;
}
#myModal .description-body .message p {
    line-height: calc(24.5/14);
}
#myModal .description-body .message p.note{
    display: none;
    margin-top: 8px;
    color: red;
    font-weight: bold;
}
#myModal .description-kobetsu .message {
    border-bottom: 0.5px solid #3FA6F2;
}
#myModal .description-open-class .message {
    border-bottom: 0.5px solid #89C33F;
}
#myModal .description-workshop .message {
    border-bottom: 0.5px solid #F76A88;
}
#myModal .description-detail {
    padding-top: 16px;
}
#myModal .description-detail .sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#myModal .description-detail .sub .ano_1{
    display: flex;
    align-items: end;
}
#myModal .description-detail .sub .ano_1 span{
    padding: 4px 14px;
    background: yellow;
}
#myModal .description-detail .sub .ano_1 .mr{
    margin-right: 8px;
}
#myModal .description-detail .ano_2 {
    margin-top: 16px;
    margin-bottom: 12px;
}
#myModal .description-detail .date {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: baseline;
}
#myModal .description-detail .date .dow {
    font-size: 18px;
    font-weight: bold;
    margin-left: 2px;
}
#myModal .description-detail .main ul {
    display: flex;
    flex-wrap: wrap;
}
#myModal .description-detail .main li {
    width: 95px;
    height: 30px;
    line-height: 30px;
    background: #E3E3E3;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
    margin-right: 6px;
    margin-bottom: 6px;
}

@media (max-width: 768px) { 
    #myModal .modal-content {
        width: calc(100% - 40px);
    }
    #myModal .description_w .description {
        height: 45px;
        line-height: 45px;
        font-size: 21px;
        font-weight: bold;
        color: white;
        text-align: center;
    }
    #myModal .description-body {
        padding: 16px;
        font-size: 13px;
        background: white;
    }
    #myModal .description-body .message {
        padding-bottom: 12px;
    }
    #myModal .description-body .message p {
        line-height: calc(20/13);
        font-size: 13px;
    }
    #myModal .description-detail {
        padding-top: 12px;
    }
    #myModal .description-detail .sub {
        display: block;
    }
    #myModal .description-detail .date {
        font-size: 21px;
    }
    #myModal .description-detail .date .dow {
        font-size: 17px;
    }
    #myModal .description-detail .sub .ano_1{
        margin: 5px 0;
        line-height: calc(18.5/12);
    }
    #myModal .description-detail .sub .ano_1 span{
        padding: 6px 10px 2px;
    }
    #myModal .description-detail .main li {
        font-size: 16px;
        width: 30%;
        margin-left: 1.5%;
        margin-right: 1.5%;
    }
}

.c__readonly {
    pointer-events: none;
}
.c__readonly input{
    accent-color: #777;
}
.s__readonly {
    pointer-events: none;
    color: rgb(170, 170, 170) !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
}

#main #myModal .modal-body {
    max-height: calc(100vh - 240px);
}
#main .calender_title {
    padding-top: 8px;
    margin-top: 32px;
}
#main .calender_title h3{
    margin-bottom: unset;
}
#main .calender_title p{
    margin-bottom: 16px;
}
#main #schoolSelect{
    font-size: 16px !important;
}
#main #calendarSelect {
    font-size: 16px;
    background: white;
    text-align: center;
}
#main #calendarSelect select{
    font-size: unset;
    padding: 18px !important;
}
#main .fc-header-toolbar .custom-header-text
{
    top: 0;
}
#main .fc-header-toolbar .fc-toolbar-title small{
    top: -1px;
}
#main .fc-header-toolbar {
    line-height: 1;
}
#main #calendar button {
    font-size: 8px;
}
#main #calendar table {
    margin: unset;
}
#main #calendar table tr {
    display: table-row;
}
#main #calendar table th {
    padding: unset;
}
#main #calendar table td {
    padding: unset;
    line-height: unset;
    background: white;
}
#main .legends {
    padding: 18px 5% ;
    margin: unset;
    border: #f5f0ec 4px solid;
}
#main .fc-theme-standard th{
    background: #f5f0ec;
}

#main table .wrap label{
    white-space: wrap;
}

#main .calender_pick_wrap{
    width: 100%;
    background: #f5f0ec;
}

#main .calender_pick_wrap .selectWrap{
    width: 250px;
    margin: 0 auto;
}

#main .calender_title p{
    color: #F76A88;
}