@charset "utf-8";
.eventlist{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.eventinfo{
  border-bottom: 1px dotted #555;
  float: left;
  width: 32%;
  max-width: 320px;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.eventlist:after {
  content: "";
  display: block;
  width: 32%;
  max-width: 320px;
  height: 0;
}
.eventinfo a{
  text-decoration: none;
}
.eventcat{
  margin-bottom: 20px;
}
.eventcat span{
  background: linear-gradient(-45deg, #A33333 0%, #A33333 50%, #8C0000 50%, #8C0000 100%);
  border-radius: 5px;
  color: #FFF;
  display: inline-block;
  margin-right: 20px;
  min-width: 100px;
  padding: 3px;
  text-align: center;
}
.eventclose .eventcat span{
  background: linear-gradient(-45deg, #888888 0%, #888888 50%, #A0A0A0 50%, #A0A0A0 100%);
}
.eventinfo .date{
  margin: 10px 0;
}
.date span,.date span.entryclose{
  color: #B20000;
  margin-left: 10px;
}
.eventinfo h3{
  font-size: 18px;
}
.eventimg{
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.eventimg img{
  object-fit: cover;
  width: 100%;
}

.eventinfo p.meeting_place{
  margin-top: 5px;
  font-size: 14px;
}

/* detail */
.catimg{
  border-top: 1px solid #FFF;
  text-align: center;
  height: 400px;
}
.catimg.category01{
  background: url("../img/category-bg01.jpg") no-repeat center top;
  background-size: auto 400px;
}
.catimg.category02{
  background: url("../img/category-bg02.jpg") no-repeat center top;
  background-size: auto 400px;
}
.catimg.category03{
  background: url("../img/category-bg03.jpg") no-repeat center top;
  background-size: auto 400px;
}
.catimg.category04{
  background: url("../img/category-bg04.jpg") no-repeat center top;
  background-size: auto 400px;
}

@media screen and (max-width: 767px){
  .eventlist{
    justify-content: space-between;
  }
  .eventinfo {
    border-bottom: 1px dotted #555;
    float: left;
    width: 48%;
    max-width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .eventclose .date span{
    display: block;
    margin-left: 0;
  }
  .catimg{
    height: 200px;
  }
  .catimg img{
    height: 200px;
    width: auto;
  }
  .catimg.category01{
    background: url("../img/category-bg01.jpg") no-repeat center top;
    background-size: auto 200px;
  }
  .catimg.category02{
    background: url("../img/category-bg02.jpg") no-repeat center top;
    background-size: auto 200px;
  }
  .catimg.category03{
    background: url("../img/category-bg03.jpg") no-repeat center top;
    background-size: auto 200px;
  }
  .catimg.category04{
    background: url("../img/category-bg04.jpg") no-repeat center top;
    background-size: auto 200px;
  }
}