/**
 カレンダー
 */
.event-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.event-calendar-control button {
    cursor: pointer;
    border: none;
    border-radius: 0;
    background-color: rgba(9, 55, 170, 1);
    color: #fff;
    font-size: 1rem;
    padding: 4px 12px;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.event-calendar-control button:hover {
    background-color: rgba(9, 55, 170, 0.8);
}

.event-calendar-target {
    font-size: 1.5rem;
}

table.event-calendar {
    table-layout: fixed;
}

table.event-calendar th {
    background-color: #cfcfcf;
}

table.event-calendar th.sunday {
    background-color: #ffcdd2;
}

table.event-calendar th.saturday {
    background-color: #bbdefb;
}

table.event-calendar td {
    height: 80px;
    vertical-align: top;
}

table.event-calendar td:hover {
    background-color: #e3f2fd !important;
}

table.event-calendar a {
    display: block;
    height: 100%;
}

table.event-calendar td .event-date {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #000;
}

table.event-calendar td.today {
    background-color:#fffde7;
}

table.event-calendar td.outof {
    background-color: #efefef;
}

table.event-calendar td.sunday .event-date {
    color: #d32f2f;
}

table.event-calendar td.saturday .event-date {
    color: #1976d2;
}

@media screen and (max-width: 991px) {
    table.event-calendar td {
        padding: 6px;
    }
    table.event-calendar td .event-date {
        font-size: 0.8rem;
    }
}

/**
 イベント一覧
 */
.eventlist {
    margin-top: 36px;
    margin-bottom: 48px;
}

.eventlist-items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.eventlist-item {
    width: calc(25% - 12px);
    margin-right: 16px;
    display: block;
    border: 1px solid #efefef;
    margin-bottom: 16px;
    background: #fff;
}

.eventlist-item:nth-child(4n) {
    margin-right: 0;
}

.eventlist-item__image {
    width: 100%;
}

.eventlist-item__image img {
    width: 100%;
    display: block;
}

.eventlist-item__desc {
    border-top: 1px solid #efefef;
    padding: 6px;
}

.eventlist-item__date {
    margin-bottom: 4px;
}

.eventlist-item__period-tag {
    background-color: #d81b60;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    margin-right: 4px;
}

.eventlist-item__period {
    font-size: 1rem;
    font-weight: bold;
}

.eventlist-item__title {
    font-size: 1rem;
}

.eventlist__bottom {
    text-align: center;
}

.eventlist__bottom button {
    cursor: pointer;
    border: none;
    border-radius: 0;
    background-color: rgba(9, 55, 170, 1);
    color: #fff;
    font-size: 1.2rem;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.eventlist__bottom button:hover {
    background-color: rgba(9, 55, 170, 0.8);
}

@media screen and (max-width: 991px) {
    .eventlist-items {
        display: block;
    }

    .eventlist-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
}

/**
 イベント詳細
 */
.eventpage h1 {
    color: #0937aa;
    font-size: 1.8rem;
}

.eventpage__header {
    display: flex;
    margin-bottom: 24px;
}

.eventpage__image {
    width: calc(100% - 360px);
    margin-right: 24px;
}

.eventpage__image img {
    width: 100%;
}

.eventpage__info {
    width: 360px;
    background: #efefef;
    height: fit-content;
    padding: 6px 12px;
}

.eventpage__info dl {
    display: flex;
    flex-wrap: wrap;
}

.eventpage__info dt {
    font-size: 0.9rem;
    color: #0937aa;
    width: 30%;
    margin-bottom: 12px;
}

.eventpage__info dd {
    font-size: 0.9rem;
    width: 70%;
    margin-bottom: 12px;
}

.eventpage__share {
    margin-bottom: 48px;
}

.eventpage__share a {
    margin-right: 12px;
}

.eventpage__share a img {
    width: 48px;
}

.eventpage__body {
    margin-bottom: 48px;
}

.eventpage__bottom {
    text-align: center;
}

.eventpage__bottom button {
    cursor: pointer;
    border: none;
    border-radius: 0;
    background-color: rgba(9, 55, 170, 1);
    color: #fff;
    font-size: 1.2rem;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.eventpage__bottom button:hover {
    background-color: rgba(9, 55, 170, 0.8);
}

@media screen and (max-width: 991px) {
    .eventpage__header {
        display: block;
        margin-bottom: 24px;
    }

    .eventpage__image {
        width: 100%;
        margin-right: 0;
    }

    .eventpage__info {
        width: 100%;
    }
}