@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;
        }
        
        .force-hide {
            display: none !important;
        }
        
        .border-mg2 {
            display: none;
        }

        .toptexts {
            display: flex;
            justify-content: space-between;
            margin-right: 4%;
            margin-left: 4%;
        }

        .calendar-title {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 20px;
            color: #3e3e3e;
            line-height: 1;
            margin-bottom: auto;
            margin-top: auto;
        }


        .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-rest p {
            margin: auto;
        }

        .circle-model {
            background: #D4D8D8;
            border-radius: 50%;
            width: 18px;
            height: 18px;
        }

        .circle {
            background-image: url('/preview/javax.faces.resource/css/images/rest-circle.png.xhtml');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .rest-circle {
            background: rgb(199, 199, 199);
            border-radius: 50%;
            height: 18px;
            width: 18px;
        }

        .outline {
            margin: auto;
            width: 100%;
            text-align: center;
            table-layout: fixed;
            border-collapse: separate;
            border-spacing: 0px;
        }

        .main-element {
            margin: auto;
            width: 100%;
            table-layout: fixed;
            text-align: center;
            border-collapse: separate;
            border-spacing: 0px 24px;
        }

        .calendar-left {
            padding: 0;
        }
    }
}

.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;
        }

        .toptexts {
            display: flex;
            justify-content: space-between;
            margin-right: 2.4%;
            margin-left: 2.4%;
        }

        .calendar-title {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 20px;
            color: #3e3e3e;
            line-height: 1;
            margin-bottom: auto;
            margin-top: auto;
        }

        .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-rest p {
            margin: auto;
        }

        .circle-model {
            background: #D4D8D8;
            border-radius: 50%;
            width: 18px;
            height: 18px;
        }

        .circle {
            background-image: url('/preview/javax.faces.resource/css/images/rest-circle.png.xhtml');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .outline1 {
            margin: auto;
            width: 100%;
            text-align: center;
            table-layout: fixed;
            border-collapse: separate !important;
            border-spacing: 0px !important;
        }

        .calendar-border {
            position: absolute;
            left: 50%;
            top: 0;
            background: #bdbdbd;
            width: 1.5px;
            height: 95%;
        }

        .border-mg1 {
            margin-right: 40px;
        }

        .boeder-mg2 {
            margin-left: 40px;
        }

        .outline2 {
            margin: auto;
            width: 100%;
            text-align: center;
            table-layout: fixed;
            border-collapse: separate !important;
            border-spacing: 0px !important;
        }

        .main-element {
            margin: auto;
            width: 100%;
            table-layout: fixed;
            text-align: center;
            border-collapse: separate;
            border-spacing: 0px 24px;
        }

        .calendar-left {
            padding: 0;
        }
    }
    
    .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;
    }

}
