body.post-type-archive-event main  {
    background: url(../images/event_bg.jpg) repeat-y center/cover;
    padding: 140px 0 425px;
}

body.post-type-archive-event .sec_event .event_ttl {
    height: 50px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

body.post-type-archive-event .sec_event .event_ttl::after {
    content: "";
    display: block;
    width: min(246px, 20.5%);
    aspect-ratio: 1.2/1;
    background: url(../images/event_prince.png) no-repeat center/cover;
    position: absolute;
    top: -54px;
    right: 0;
}

body.post-type-archive-event .sec_event .event_ttl img {
    max-height: 100%;
    width: auto;
    max-width: unset;
}

body.post-type-archive-event .sec_event .sec_desc {
    line-height: 1.5;
    text-align: center;
    font-weight: 900;
    margin-bottom: 100px;
}

body.post-type-archive-event .sec_event .event_ttl::after {
    content: "";
    display: block;
    width: min(246px, 20.5%);
    aspect-ratio: 1.2/1;
    background: url(../images/event_prince.png) no-repeat center/cover;
    position: absolute;
    top: -54px;
    right: 0;
}

body.post-type-archive-event .sec_event .event_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

body.post-type-archive-event .sec_event .event_item {
    width: calc((100% - 80px) / 3);
    background: #D2F7FF;
    padding: 15px;
}

body.post-type-archive-event .sec_event .event_flyer {
    padding: 0 40px;
    margin-bottom: 15px;
}

body.post-type-archive-event .sec_event .event_name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 5px;
}

body.post-type-archive-event .sec_event .event_desc {
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 10px;
}

body.post-type-archive-event .sec_event .event_time {
    line-height: 1.5;
    font-size: 15px;
}

body.post-type-archive-event .sec_event .event_time span {
    color: var(--white);
    font-size: 14px;
    line-height: 1.71;
    background: var(--red);
    padding: 3px 10px;
    border-radius: 17px;
    display: inline-block;
    margin-right: 10px;
}

@media(max-width:834px) {
    body.post-type-archive-event .sec_event .event_list {
        flex-wrap: wrap;
    }
    body.post-type-archive-event .sec_event .event_item {
        width: calc((100% - 40px) / 2);
    }
}

@media(max-width:430px) {
    body.post-type-archive-event main  {
        padding: 30px 0 100px;
    }
    
    body.post-type-archive-event .sec_event .event_ttl {
        height: 30px;
        margin-bottom: 20px;
    }

    body.post-type-archive-event .sec_event .event_ttl::after {
        content: none;
    }

    body.post-type-archive-event .sec_event .sec_desc {
        text-align: left;
        margin-bottom: 60px;
    }

    body.post-type-archive-event .sec_event .event_item {
        width: 100%;
    }
}