@charset "utf-8";

/* 背景　流体 */
.background-svg {
    margin-top: -200px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
}

.background-svg svg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

/* 見出しの装飾 */
.midashi {
    width: 500px;
    text-align: center;
    position: relative;
    border-radius: 50px;
    margin: 200px auto;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #9BE6F8;
    font-size: 40px;
    font-weight: normal;
}

.midashi:before {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 100%;
    height: 100%;
    content: '';
    border: 2px solid #000;
    border-radius: 50px;
}


/* 詳細ボタン */
.more {
    width: 250px;
    margin-top: 30px;
    margin-left: auto;
    padding: 5px 0;
    font-size: 20px;
    text-align: center;
    border-radius: 50px;
    border: 1px solid black;
    background-color: #ffeb69;
    transition: .5s;
}

.more:hover {
    background-color: #fff;
}

/* イベント */
/* カレンダー */
.calendar {
    width: 80%;
    margin: 0 auto 0 auto;
    padding: 40px;
    background-color: #c3edf8;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.calendar iframe {
    width: 100%;
    aspect-ratio: 4/3;
}

.note {
    width: 100%;
    padding-top: 20px;
    font-size: 20px;
    text-align: left;
}

/* イベント情報 */
/* displayで横並び */
.display {
    display: flex;
    justify-content: space-between;
}

.event-top {
    margin-bottom: 40px;
}

/* 内容 */
.event {
    width: 45%;
    padding: 40px;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    align-items: center;
}

/* イベント背景 */
.event01,
.event04 {
    background-color: #9BE6F8;
}

.event02,
.event03 {
    background-color: #c3edf8;
}

/* title名 */
.event-title {
    margin: 0 auto;
    font-size: 30px;
}

/* イベント名 */
.event-name {
    padding: 5px 0 0 0;
    font-size: 25px;
}

/* イベント日時 */
.event-date {
    font-size: 22px;
    line-height: 2;
}

/* その他 */
.event-note {
    font-size: 22px;
    line-height: 2;
}

/* スマホ対応　 ------------------------------------------------------- */
@media (max-width: 440px) {

    /* 背景　流体 */
    .background-svg {
        display: none;
    }

    .midashi {
        width: 300px;
        text-align: center;
        position: relative;
        border-radius: 50px;
        margin: 100px auto;
        padding: 1rem .5rem calc(1rem + 10px);
        background: #9BE6F8;
        font-size: 25px;
        font-weight: normal;
    }

    .midashi:before {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 100%;
        height: 100%;
        content: '';
        border: 2px solid #000;
        border-radius: 50px;
    }

    /* 詳細ボタン */
    .more {
        width: 150px;
        margin-top: 10px;
        margin-left: auto;
        padding: 3px 0;
        font-size: 12px;
        text-align: center;
        border-radius: 50px;
        border: 1px solid black;
        background-color: #ffeb69;
        transition: .5s;
    }

    .more:hover {
        background-color: #fff;
    }

    /* イベント */
    /* カレンダー */
    .calendar {
        width: 100%;
        margin: 0 auto 0 auto;
        padding: 20px;
        border-radius: 30px;
        border: 1px solid black;
        text-align: center;
    }

    .calendar iframe {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .note {
        width: 100%;
        margin: 0 auto;
        padding-top: 10px;
        font-size: 13px;
    }

    /* イベント情報 */
    /* displayで縦並び */
    .display {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* 内容 */
    .event {
        width: 100%;
        padding: 20px 25px;
        border-radius: 30px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        align-items: center;
    }

    /* イベント背景 */
    .event01,
    .event03 {
        background-color: #9BE6F8;
    }

    .event02,
    .event04 {
        background-color: #c3edf8;
    }


    /* title名 */
    .event-title {
        margin: 0 auto;
        font-size: 18px;
    }

    /* イベント名 */
    .event-name {
        padding: 5px 0 0 0;
        font-size: 15px;
    }

    /* イベント日時 */
    .event-date {
        font-size: 15px;
        line-height: 2;
    }

    /* その他 */
    .event-note {
        font-size: 15px;
        line-height: 2;
    }
}