/* カレンダー外枠 */
section#calendar2 {
    padding: 60px 0 20px !important;
}

section#calendar2 .boad {
    border: 1px #e1e1e1 solid;
    background: #fff;
    position: relative;
}

section#calendar2 .boad::before,
section#calendar2 .boad::after {
    content: "";
    display: block;
    width: 80%;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(#dcdcdc 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: -20px;
    left: 10%;
    z-index: -1;
}

section#calendar2 .boad::after {
    top: auto;
    bottom: -20px;
}

section#calendar2 .boad .col2 {
    width: 50%;
    min-height: 400px;
    position: relative;
}

.calendar2-wrap {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    border-right: 1px #e1e1e1 solid;
    box-sizing: border-box;
}

@media screen and (max-width : 960px) {
    section#calendar2 {
        padding: 40px 0 20px !important;
    }

    section#calendar2 .boad {
        max-width: 460px;
        margin: auto;
    }

    section#calendar2 .boad::before,
    section#calendar2 .boad::after {
        height: 30px;
        top: -15px;
    }

    section#calendar2 .boad::after {
        top: auto;
        bottom: -15px;
    }

    section#calendar2 .boad .col2 {
        width: 100%;
    }

    .calendar2-wrap {
        border-right: none;
        border-bottom: 1px #e1e1e1 solid;
    }
}

/* カレンダー新規作成分 */
#calendar2 .wrapper {
    position: relative;
    width: calc(100% - 60px);
    max-width: 600px;
    margin: 30px auto;
    color: #4D4D4D;
    font-size: 16px;
    overflow: hidden;
    opacity: 0;
}

@media screen and (max-width : 568px) {
    #calendar2 .wrapper {
        width: calc(100% - 30px);
        margin: 15px auto;
    }
}

/*カレンダーヘッダー*/
#calendar2-header {
    text-align: center;
    font-size: 22px;
    width: 100%;
    margin: 1rem 0;
}
.calendar-header-br {
	display: inline;
    margin-left: .5em;
}
@media (max-width: 430px) {
	#calendar2-header {
		margin-top: 0;
	}
	.calendar-header-br {
		display: block;
        margin-left: 0;
	}
}

/*カレンダーボタン*/
#calendar2 #next-prev-button {
    position: absolute;
    top: 0;
    width: 100%;
}

#calendar2 #next-prev-button button {
    cursor: pointer;
    background: #fff;
    color: #e61f20;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 1.5rem;
    padding: 0 2rem .2rem;
    margin: 1rem 0;
}

#calendar2 #next-prev-button button:hover {
    background-color: #fafafa;
    border-color: #e1e1e1;
}

#calendar2 #prev {
    float: left;
}

#calendar2 #next {
    float: right;
}

/*カレンダー本体*/
#calendar2-body {
    text-align: center;
    width: 100%;
}

#calendar2-body table {
    border-collapse: collapse;
    width: 100%;
    transition: .5s;
}

#calendar2-body th {
    color: #000;
    font-weight: normal;
}

#calendar2-body th,
#calendar2-body td {
    position: relative;
    border-radius: 50%;
}

#calendar2-body th::before,
#calendar2-body td::before {
    content: "";
    display: block;
    padding-top: 100%;
}

#calendar2-body th span,
#calendar2-body td span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*日曜日*/
#calendar2-body td:first-child {
    color: #e61f20;
}

/*土曜日*/
#calendar2-body td:last-child {
    color: #1E88E5;
}

/*祝日*/
#calendar2-body td.holiday {
    color: #e61f20;
}

/*前後月の日付*/
#calendar2-body td.disabled {
    color: #ccc;
}

/*イベント開催日*/
#calendar2-body td.openday {
    background-color: #FFCDD2;
}

/*本日*/
#calendar2-body td.today {
    outline: solid 1px #E57373;
    outline-offset: -1px;
}

/*カレンダー備考*/
.event-remarks {
    float: right;
    margin-top: 2rem;
    margin-bottom: 0;
}

.event-remarks::before {
    display: inline-block;
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #FFCDD2;
    vertical-align: top;
    line-height: 16px;
}

/*カレンダー右側お知らせ*/
#calendar2 .schedule h2 {
    font-size: 1.5rem;
    line-height: 1.4em;
    text-align: center;
    margin-bottom: 10px;
}

/* カレンダーアニメーション Animate.css */
.animate__animated {
    animation-duration: 1s;
    animation-duration: .5s;
    animation-fill-mode: both;
}

/* Fading entrances  */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate__fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}