@charset "UTF-8";

/* 全体 */
.area-contents {
    color: #333;
    padding-bottom: 0;
}

/* font */
h1,
h2,
h3,
p {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
}

.toptext p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 50px 0;
}

.cont-box .event-title {
    font-size: 26px;
    font-weight: bold;
}

.cont-box p {
    font-size: 16px;
}

@media screen and (max-width: 767px) {

    .toptext p {
        font-size: 14px;
        line-height: 14px;
        margin: 0 0 30px 0;
    }

    .area-contents .event-title {
        font-size: 16px;
        line-height: 20px;
        margin: 0 0 10px 0;
    }

    .area-contents p {
        font-size: 14px;
        line-height: 20px;
    }

}

/* ========================= */
/* section */
/* ========================= */
/* img */
.cont-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0 20px;
}

.cont-img .modal__wrap .modal__open-label {
    position: relative;
}

.cont-img .modal__wrap .modal__open-label:hover {
    opacity: .7;
    transition: 0.1s;
}


.cont-img .modal__wrap .modal__open-label .event-img img {
    width: 160px;
}

.cont-img .modal__wrap .modal__open-label .zoom-img {
    position: absolute;
    bottom: 0;
    right: 0;
}

.cont-img .modal__wrap .modal__open-label .zoom-img img {
    width: 64px;
    height: 56px;
}

/* text */
.cont-box .cont-text {
    margin: 0 0 0 50px;
}

.cont-box .cont-text .event-day {
    font-weight: bold;
}

.cont-box .cont-text .event-text {
    margin: 0 0 10px 0;
}

.cont-box .event-text .event-detail {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cont-box .event-text .event-detail a {
    color: #0066c0;
}

.cont-box .event-text .event-detail a:hover {
    color: #559bd8;
}

.cont-box .event-text .event-detail img {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 767px) {

    /* img */
    .cont-box {
        flex-direction: column;
        margin: 0 0px;
    }

    .cont-img .modal__wrap {
        width: 200px;
        margin: 0 auto 20px;
    }

    .cont-img .modal__wrap .modal__open-label .event-img img {
        width: 200px;
    }

    /* text */
    .cont-box .cont-text {
        margin: 0 0 0 0px;
    }

    .cont-box .event-text .event-detail:last-child {
        align-items: start;
    }

    .cont-box .event-text .event-detail .link-icon {
        margin-top: 2px;
    }

    .cont-box .event-text .event-detail {
        margin-bottom: 5px;
    }

    /* btn */
    .tel-btn {
        background-color: #73B0A0;
        max-width: 430px;
        margin: 20px auto 0;
    }

    .tel-btn:hover {
        opacity: .8;
        transition: 0.1s;
    }

    .tel-btn p {
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        padding: 19px 0;
    }

    .tel-btn.is-ended {
        background-color: #C1B995;
        pointer-events: none;
    }

}

/* ========================= */
/* modal */
/* ========================= */
.modal__wrap input {
    display: none;
}

.modal__open-label,
.modal__close-label {
    cursor: pointer;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal__open-input:checked+label+input+.modal {
    display: block;
    animation: modal-animation .3s;
}

.modal__content-wrap {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 650px;
    background-color: #fff;
    z-index: 2;
    border-radius: 5px;
}

.modal__close-label {
    background-color: #73B0A0;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.3em;
}

.modal__close-label:hover {
    background-color: #9cc5ba;
    transition: 0.1s;
}

.modal__content {
    overflow-y: auto;
    padding: 20px 20px;
    text-align: center;
}

.modal .modal__content img {
    width: 70%;
}

.modal__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal__close-label {
        top: -17px;
        right: -4%;
    }

    .modal__content-wrap {
        width: 90vw;
        top: 50%;
    }

    .modal__content {
        padding: 30px 20px;
        max-width: 100%;
    }

    .modal .modal__content img {
        width: 100%;
    }
}

/* ========================= */
/* Line */
/* ========================= */
.section-line {
    border-top: solid 2px #C1B995;
    border-bottom: solid 4px #C1B995;
    margin: 50px 0;
    padding: 2px 0;
}

@media screen and (max-width: 767px) {
    .section-line {
        margin: 30px 0;
    }
}

/* ========================= */
/* ページネーション */
/* ========================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
    list-style-type: none;
    margin: 0 0 50px 0;
    padding: 0;
}

.pagination p {
    font-size: 18px;
    font-weight: bold;
}

.pagination a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 3rem;
    border: 1px solid #73B0A0;
    border-radius: 8px;
    color: #C1B995;
}

.pagination a:not(:hover) {
    text-decoration: none;
}

.pagination .current a {
    background-color: #73B0A0;
    color: #fff;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .pagination {
        margin: 0 0 30px 0;
    }
}

/* ========================= */
/* 指定日時を過ぎたら開催終了の表示 */
/* ========================= */
.modal__open-label {
    position: relative;
    display: block;
}

.modal__open-label.is-ended {
    pointer-events: none;
    cursor: default;
}

.modal__open-label.is-ended::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.modal__open-label.is-ended::before {
    content: "開催終了";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    z-index: 2;
    pointer-events: none;
}

/* ========================= */
/* ページャー切り替え */
/* ========================= */
.page {
    display: none;
}

.page.is-active {
    display: block;
}

/* ページャー装飾 */
.pager-btn {
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    color: #C1B995;
    font-weight: bold;
    background-color: #fff;
    border: solid 2px #73B0A0;
    border-radius: 10px;
    margin: 0 1px;
    padding: 12px 10px;
}

.pager-btn:hover {
    opacity: 0.8;
}

.pager-btn.is-active {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    font-weight: bold;
    background-color: #73B0A0;
    border: solid 1px #73B0A0;
    border-radius: 10px;
}

.pager-btn:disabled {
    opacity: 0;
    cursor: default;
}

.pager-dots {
    color: #C1B995;
    font-weight: bold;
    background-color: #fff;
    border: solid 2px #73B0A0;
    border-radius: 10px;
    padding: 14px 7px;
}