.inr_mv_area .inr {
  background-image: url(../img/event-mv.jpg); }

.event_calendar{
    padding-bottom: 170px;
}
.event_sort{
    display: flex;
    margin: 0 auto 25px;
    justify-content: flex-end;
}

.event_sort_box{
    background: #008E72;
    width: 170px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
   color: #fff;
    border-radius: 100px;
    margin-left: 20px;
    font-size: 13.5px;
    cursor: pointer;
}

.ui-widget-header{
    background: #f0f9f4;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
    background: #f0f9f4;
    color:#008e72;
    border: 1px solid #008e72;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background: #008e72;
    color:#fff;
}
.event_sort_box input{
    width: 100%;
    height: 100%;
    padding-left: 1em;
    cursor: pointer;
}
.event_sort_box input:focus,.event_sort_box select:focus{
    outline: none;
}
.event_sort_box input::placeholder {
  color: #fff;
}
/* 旧Edge対応 */
.event_sort_box input::-ms-input-placeholder {
   color: #fff;
}
/* IE対応 */
.event_sort_box input:-ms-input-placeholder {
   color: #fff;
}
.event_sort_box select{
    width: 100%;
    height: 100%;
    padding-left: 1em;
    cursor: pointer;
}

.event_sort_box select option{
    color: #000;
}

.event_list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:28px;
    margin: 0 auto;
}

.event_list li{
    border: solid 1px rgba(100, 100, 100, 0.59);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(204, 204, 204, 0.8);
    overflow: hidden;
}

.event_list li.finish{
    position: relative;
}

.event_list li.finish:after{
    content: "終了しました";
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,.8);
    text-align: center;
    font-weight: bold;
    color: #000;
    font-size: 20px;
    text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}

.event_list li a{
    transition-duration: 0.5s;
}
.event_list li a:hover{
    opacity: 0.5;
}
.event_list li div{
    padding: 20px;
}
.event_list figure{
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 0;
background:#eee;
}

.event_list figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.5s;
    
}

.event_list li a:hover img{
    transform: scale(1.05);
}
.event_list .cat{
   margin-bottom: -4px;
}

.event_list .cat span{
    display: inline-block;
    background: #008E72;
    color: #fff;
    border-radius: 100px;
    padding: 0.2em 1em;
    font-size: 12px;
    margin-right: 4px;
    margin-bottom: 4px;
}

.event_list .date{
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.event_list .date span{
    font-weight: bold;
    display: inline-block;
}
.event_list h2{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event_list .text{
    font-size: 12px;
    text-align: justify;
    line-height: 1.6;
}


.no-events{
    text-align: center;
    padding-top: 40px;
}

@media screen and (max-width: 896px){
    .event_list{
    grid-template-columns: 1fr 1fr;
}
}

@media screen and (max-width: 767px){
    
    .event_calendar{
    padding-bottom: 100px;
}
}
@media screen and (max-width: 600px){
    
    .event_sort{
        justify-content: space-between;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 25px;
    }
    
    .event_sort_box{
        width: calc(50% - 5px);
        margin-left: 0;
    }
    .event_list{
    grid-template-columns: 1fr;
}