﻿
/* ******************************************************************** 
 イベントカレンダー（ショップ・モール）
********************************************************************* */

.calendar-info-content {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    overflow-x: auto;
}

.calendar-info-box {
    color: saddlebrown;
    border: 0;
    /*width: 90%;*/
    /*min-width: 340px;*/
    max-width: 600px;
    padding: 0.5rem;
    display: inline-block;
    background-color: transparent;
}

.calendar-comment {
    font-size: 0.75rem;
    color: darkcyan;
}

.calendar-btn {
    padding: 6px 4px 0 0;
}





.content_schedule .content_head {
    flex-wrap: wrap;
}

.schedule_box {
    margin-bottom: 50px;
    background-color: #F8F7F6;
    border-radius: 12px;
    padding: 40px;
}

#calendar {
    width: 760px;
    margin: 0 auto;
}

.calendar-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-bottom: 20px;*/
}

    .calendar-info-header .calendar-head-l {
        display: flex;
        z-index: 1;
    }

    .calendar-info-header .calendar-btn {
        display: flex;
        border: 1px solid #bbb;
        border-radius: 5px;
        background-color: #fff;
        cursor: pointer;
    }

    .calendar-info-header .calendar-prev {
        width: 40px;
        height: 30px;
        font-size: 20px;
        text-align: center;
        line-height: 1.2;
        border-right: 1px solid #bbb;
        cursor: pointer;
    }

    .calendar-info-header .calendar-next {
        width: 40px;
        height: 30px;
        font-size: 20px;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
    }

        .calendar-info-header .calendar-prev:hover, .calendar-info-header .calendar-next:hover, .calendar-info-header .today-btn:hover {
            opacity: 0.7;
        }

.today-btn {
    /*margin-left: 15px;*/
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px;
    height: 32px;
    line-height: 1.2;
    border-radius: 5px;
    background-color: #fff;
    /*border: 1px solid #bbb;*/
    cursor: pointer;
}

.calendar-info-header .calendar-head-c {
    flex: 1;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    /* margin-left:-157px; */
    margin-left: -82px;
}


/* 曜日テーブル */
.calendar-info-table {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0;
    border: 1px solid #bbb;
    border-bottom: 0;
    border-top: 0;
    border-radius: 4px 4px 0 0;
    border-collapse: separate;
}

    .calendar-info-table tr {
        border-radius: 4px 4px 0 0;
    }

    .calendar-info-table th {
        width: 13%;
        padding: 3px 0;
        text-align: center;
        font-size: 0.75rem;
        background-color: #337A39;
        color: #fff;
        border-right: 1px solid #bbb;
    }

        .calendar-info-table th:first-child {
            color: #fff;
            background-color: #e33434;
            border-radius: 4px 0 0 0;
        }

        .calendar-info-table th:last-child {
            color: #fff;
            background-color: #367acf;
            border-right: 0;
            border-radius: 0 4px 0 0;
        }

.calendar-info-table-div {
    width: 100%;
    /*overflow-x: auto;*/
}

/* 日付テーブル */
.calendar-info-tableB {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0;
    border-collapse: separate;
    border-radius: 0 0 4px 4px;
    border: 1px solid #bbb;
    background-color: #fff;
}

    .calendar-info-tableB th, .table td {
        width: 13%;
        height: 16px;
    }

    .calendar-info-tableB th {
        text-align: center;
        margin: 1px;
        padding: 0.1rem 0.2rem;
        text-align: left;
        vertical-align: middle;
        font-size: 0.7rem;
        font-weight: bold;
        word-break: unset;
        /* 平日の色 */
        border-top: 1px solid #bbb;
        border-right: 1px solid #bbb;
    }

    .calendar-info-tableB tr:first-child th {
        border-top: 0;
    }

    .calendar-info-tableB th:first-child {
        color: red;
    }

    .calendar-info-tableB th:last-child {
        border-right: 0;
        color: royalblue;
    }

    .calendar-info-tableB td {
        height: 1.4rem;
        padding: 1px;
        text-align: left;
        vertical-align: middle;
        font-size: 0.8rem;
        word-break: break-all;
        position: relative;
        /* 平日の色 */
        border-right: 1px solid #bbb;
    }

        .calendar-info-tableB td:last-child {
            border: 0;
        }

    .calendar-info-tableB a {
        display: block;
        color: #2B2F30;
        font-size: 0.75rem;
        white-space: break-spaces;
        text-decoration: none;
        line-height: 1rem;
    }

.calendar-info-noevent {
    font-size: 0.6rem !important;
    color: #2B2F30;
    text-align: center;
    vertical-align: middle !important;
    height: 1.2rem;
}

/* 内部カレンダー用 */
.calendar-info-event {
    font-size: 0.6rem !important;
    text-align: center;
    vertical-align: middle !important;
    height: 1.2rem;
    border-radius: 0;
    padding: 2px 1px;
    white-space: nowrap;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 1px;
    right: 1px;
    bottom: 1px;
}

/* 外部カレンダー用 */
.calendar-info-event2 {
    font-size: 0.6rem !important;
    color: navy !important;
    text-align: left;
    vertical-align: top !important;
    padding: 2px 1px;
    white-space: nowrap;
    position: relative;
}

/* カレンダーの背景色 */
.calendar-eventcolor {
    border-radius: 10px;
}

.calendar-border-bold {
    border: 2px solid #bbb;
}


@media (max-width: 1023px) {
    .schedule_box {
        margin-bottom: 30px;
        background-color: #fff;
        padding: 0;
    }

    .calendar-info-header .calendar-prev, .calendar-info-header .calendar-next {
        width: 24px;
        height: 20px;
        font-size: 16px;
        line-height: 1;
    }

    .today-btn {
        /*margin-left:8px;*/
        margin-left: auto;
        margin-right: auto;
        /*padding: 2px 6px;*/
        padding: 2px 6px 2px 8px;
        height: 22px;
        font-size: 12px;
        line-height: 1.2;
    }

    .calendar-info-header .calendar-head-c {
        flex: 1;
        font-weight: bold;
        font-size: 16px;
        text-align: center;
        margin-left: -50px;
    }
}
