@charset "UTF-8";

.calendarbg {
    margin-top: 30px;
    background-color: #fafafa;
    border-radius: 2%;
}

.calendar {
    width: 100%;
    padding-top: 24px;
}

@media screen and (max-width:767.98px) {
    .calendarbg {
        margin-bottom: 24px;
    }

    /* 入れ子構造を修正 */
    .calendar .force-show {
        display: block !important;
    }
    
    .calendar .force-hide {
        display: none !important;
    }
    
    .calendar .border-mg2 {
        display: none;
    }
    
    .calendar .toptexts {
        display: flex;
        justify-content: space-between;
        margin-right: 4%;
        margin-left: 4%;
    }
    
    .calendar .calendar-title {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 20px;
        color: #3e3e3e;
        line-height: 1;
        margin-bottom: auto;
        margin-top: auto;
    }
    
    .calendar .calendar-rest {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 12px;
        color: #3e3e3e;
        line-height: 1;
        align-items: center;
        margin-bottom: 0;
        display: flex;
    }
    
    .calendar .calendar-rest p {
        margin: auto;
    }
    
    .calendar .circle-model {
        background: #D4D8D8;
        border-radius: 50%;
        width: 18px;
        height: 18px;
    }
    
    .calendar .circle {
        background-image: url('/hp/javax.faces.resource/css/images/rest-circle.png.xhtml');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .calendar .rest-circle {
        background: rgb(199, 199, 199);
        border-radius: 50%;
        height: 18px;
        width: 18px;
    }
    
    .calendar .outline {
        margin: auto;
        width: 100%;
        text-align: center;
        table-layout: fixed;
        border-collapse: separate;
        border-spacing: 0px;
    }
    
    .calendar .main-element {
        margin: auto;
        width: 100%;
        table-layout: fixed;
        text-align: center;
        border-collapse: separate;
        border-spacing: 0px 24px;
    }
    
    .calendar .calendar-left {
        padding: 0;
    }
    /* 入れ子構造を修正END*/

}

.calendar caption {
    font-family: 'Poppins', sans-serif;
    color: #d70c19;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    padding: 24px 24px 0px 24px;
    
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.calendar caption .ym {
    font-family: 'Poppins', sans-serif;
    color: #d70c19;
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

.calendar caption span {
    font-family: 'Noto Sans JP', sans-serif;
    color: #d70c19;
    font-size: 12px;
}

.calendar caption .change-month {
    flex: 1;
}

.calendar caption,
th {
    font-weight: normal;
}

.calendar th {
    font-size: 10px;
    color: #3e3e3e;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0;
}

.calendar td {
    font-size: 12px;
    color: #3e3e3e;
    font-family: 'Poppins', sans-serif;
    height: 3em;
    padding: 0.32em;
}


@media screen and (min-width:768px) {
    .calendarbg {
        margin-bottom: 20px;
    }

    /* 入れ子構造を修正*/
    .calendar .pc-outline {
        display: flex;
        margin-top: 24px;
        position: relative;
    }
    
    .calendar .toptexts {
        display: flex;
        justify-content: space-between;
        margin-right: 2.4%;
        margin-left: 2.4%;
    }
    
    .calendar .calendar-title {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 20px;
        color: #3e3e3e;
        line-height: 1;
        margin-bottom: auto;
        margin-top: auto;
    }
    
    .calendar .calendar-rest {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 12px;
        color: #3e3e3e;
        line-height: 1;
        align-items: center;
        margin-bottom: 0;
        display: flex;
    }
    
    .calendar .calendar-rest p {
        margin: auto;
    }
    
    .calendar .circle-model {
        background: #D4D8D8;
        border-radius: 50%;
        width: 18px;
        height: 18px;
    }
    
    .calendar .circle {
        background-image: url('/hp/javax.faces.resource/css/images/rest-circle.png.xhtml');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .calendar .outline1,
    .calendar .outline2 {
        margin: auto;
        width: 100%;
        text-align: center;
        table-layout: fixed;
        border-collapse: separate !important;
        border-spacing: 0px !important;
    }
    
    .calendar .calendar-border {
        position: absolute;
        left: 50%;
        top: 0;
        background: #bdbdbd;
        width: 1.5px;
        height: 95%;
    }
    
    .calendar .border-mg1 {
        margin-right: 40px;
    }
    
    .calendar .boeder-mg2 {
        margin-left: 40px;
    }
    
    .calendar .main-element {
        margin: auto;
        width: 100%;
        table-layout: fixed;
        text-align: center;
        border-collapse: separate;
        border-spacing: 0px 24px;
    }
    
    .calendar .calendar-left {
        padding: 0;
    }
    /* 入れ子構造を修正END*/

    
    .calendar caption {
        font-family: 'Poppins', sans-serif;
        color: #d70c19;
        font-size: 24px;
        line-height: 1;
        text-align: center;
    }
    
    .calendar caption .ym {
        font-family: 'Poppins', sans-serif;
        color: #d70c19;
        font-size: 24px;
        line-height: 1;
        text-align: center;
    }

    .calendar caption span {
        font-family: 'Noto Sans JP', sans-serif;
        color: #d70c19;
        font-size: 12px;
    }

    .calendar caption .change-month a {
        display: none;
    }
    
    .calendar caption,
    th {
        font-weight: normal;
    }

    .calendar th {
        font-size: 10px;
        color: #3e3e3e;
        font-family: 'Noto Sans JP', sans-serif;
        padding: 0;

    }

    .calendar td {
        font-size: 12px;
        color: #3e3e3e;
        font-family: 'Poppins', sans-serif;
        height: 3.1em;
        padding: 0.4em;
    }

}