div.cal_wrapper {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
    border: 1px solid #efefef;
}

div.schedule_wrapper {
    padding: 10px 0px;
    width: 310px;
    border: solid 1px #CCC;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 3px #666;
    box-shadow: 1px 1px 3px #666;
}

div.schedule_wrapper h3 {
    padding: 0px 10px;
    font-weight: normal;
    margin: 0px;
    font-size: 12px;
    color: #666;
}

div.schedule_wrapper div.schedule_list {
    padding: 0px 10px;
    margin: 0px;
}

div.schedule_wrapper div.schedule_list ol {
    padding: 0px;
    margin: 5px auto;
    border-top: solid 1px #CCC;
}

div.schedule_wrapper div.schedule_list ol li {
    padding: 5px 10px 0px 0px;
    margin: 0px 0px 0px 30px;
    font-size: 12px;
    line-height: 1.5em;
}

div.schedule_wrapper div.schedule_list ol li:hover {
    text-decoration: underline;
}

div.cal_wrapper table.cal tr th p {
    display: inline-block;
    /*    padding: 5px;*/
    width: 40%;
    color: #666;
    font-size: 12px;
    margin-left: auto;
    text-align: right;
    /*    padding-right: 0;*/
}

@media screen and (max-width:800px) {
    div.cal_wrapper table.cal tr th p {
        margin-right: 0 !important;
    }
}

div.cal_wrapper table.cal tr th div.cal_ui {
    display: inline-block;
    /*    padding: 5px;*/
    width: 60%;
    text-align: left;
    /*    padding-left: 0;*/
    float: left;
}

div.cal_wrapper table.cal tr th div.cal_ui input {
    border: solid 1px #EFEFEF;
    background-color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: #666;
    margin: 0px 2px;
    padding: 0px 5px;
    border-radius: 3px;
    /*    font-family: 'Open Sans', sans-serif;*/
    cursor: pointer;
}

div.cal_wrapper table.cal tr th div.cal_ui input:hover {
    opacity: .8;
}

div.cal_wrapper table.cal tr td {
    border-top: solid 1px #EEE;
}

div.cal_wrapper table.cal tr td {
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
    width: calc(100% / 7);
}

div.cal_wrapper table.cal tr.headline td {
    padding: 5px 0px;
    color: #666;
}

div.cal_wrapper table.cal tr.headline {
    background-color: #fff;
}

div.cal_wrapper table.cal tr td div {
    position: relative;
    padding: 5px 0;
    font-size: 10px;
    text-align: center;
    background-color: #FFF;
    border-radius: 3px;
}

div.cal_wrapper table.cal tr td div span {
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    white-space: nowrap;
    border: solid 1px #EEE;
    background-color: #FFF;
    text-align: left;
    padding: 5px 10px;
    z-index: 10;
    color: #000;
    font-weight: normal;
    line-height: 1.5em;
    -webkit-box-shadow: 1px 1px 3px #666;
    box-shadow: 1px 1px 3px #666;
}

/* 以下、クラス指定するときのアレ */

div.cal_wrapper table.cal tr td div.Sat {
    color: #00F;
}

div.cal_wrapper table.cal tr td div.Sun {
    color: #F00;
}

div.cal_wrapper table.cal tr td div.Today {
    font-weight: bolder;
}

div.cal_wrapper table.cal tr td div.Open {
    font-weight: bolder;
    background-color: #EEF;
}

div.cal_wrapper table.cal tr td div.Event {
    font-weight: bolder;
    background-color: #DFD;
}

div.cal_wrapper table.cal tr td div.Birthday {
    font-weight: bolder;
    background-color: #EEF;
    color: #090;
    border-radius: 3px;
}

div.cal_wrapper table.cal tr td div.backward {
    color: #CCC;
    font-weight: normal;
    background-color: #FFF;
    border-radius: 3px;
}

div.cal_wrapper table.cal tr td div.pointer {
    cursor: pointer;
}

div.cal_wrapper table.cal tr td div.pointer:hover {
    background-color: #EEE;
}

/* add */
.labelCtr {
    font-size: 12px;
    line-height: 17px;
    padding-top: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #333;
    white-space: nowrap;
}

.label {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #efefef;
    margin-right: 5px;
    border-radius: 1px;
}

.labelOpen {
    background-color: #DDF;
}

.labelEvent {
    background-color: #CFC;
    margin-left: 10px;
}

.cal_wrapper table {
    width: 100%;
}

.cal_ui + p {
    line-height: 1.9;
    font-weight: normal;
    white-space: nowrap;
    padding-right: .5em;
}

.cal_wrapper tbody tr:first-child th {}
