#kcapp body {
  box-sizing: border-box;
}

/* トップページ（PC） */
#kcapp a:hover{
	text-decoration: none!important;
}

.event_title {
  text-align: center;
  background-color: #ffd835;
  margin-top: -3%;
  padding-top: 45px;
  padding-bottom: 30px;
}

.event_title h2 {
  font-size: 50px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
}

.kc_cards {
  
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  margin-top: 75px;
  margin-bottom: 75px;
}

.kc-card {
  max-width: calc(33.3333% - 60px * 2 / 3);
  width: 100%;
  margin-right:60px;
  
}

.kc-card:nth-child(3n) {
  margin-right: 0;
}

.kc-card:nth-child(n + 4) {
  margin-top: 75px;
}

.kc-card:hover {
  color: #333;
  opacity: .5;
}


.kc_img {
    padding-top: 73.6%;
    position: relative;
}

.kc_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: center;;
}

.index-page__events-event-labels {
  display: flex;
  margin-top: 15px;
}

.label-event {
  background-color: #ffd835;
  border: 1px solid #ffd835;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px 0 12px;
  height: 34px;
  line-height: 36px;
  border-radius: 5px;
}

.label-yoyaku {
  border: 1px solid #333;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px 0 12px;
  height: 34px;
  line-height: 36px;
  border-radius: 5px;
  margin-left: 7px;
}

.index-page__events-event-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 20px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 60px;
  line-height: 1.5;
}

.kc_border {
  width: 40px;
  border-bottom: 2px solid #ffd835;
  padding-top: 8px;
}

.index-page__events-event-date {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.index-page__events-event-address {
  margin-top: 0px;
  font-size: 14px;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}


/* トップページ（SP） */

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

  body {
    
  }
  

  a {
    text-decoration: none!important;
    
  }

  .event_title {
    text-align: center;
    background-color: #ffd835;
    margin-top: -3%;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .event_title h2 {
    font-size: 24px;
    
  }

  .event_title img {
    width: 100px;
  }

  .kc_cards {
    margin-top: 20px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 40px;
    padding: 0;
  }

  .kc-card {
    width: initial;
    margin-right: 0;
    margin-top: 0;
  }

  .kc-card:nth-child(n + 4) {
    margin-top: 0px;
  }


  .kc_block {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 30px;
  }

 .kc_imageBox {
    max-width: 130px;
    min-width: 130px;
 }

  .kc_img {
    padding-top: 75.6%;
    
  }

  .kc_box {
    width: 100%;
    margin-left: 15px;
    color: #333;
  }

  .index-page__events-event-labels {
    margin-top: 0;
  }
  .label-event {
    font-size: 10px;
    padding: 0 6px 0 6px;
    height: 20px;
    line-height: 21px;
    margin-left: 0px;
    text-shadow: none!important;
  }
  
  .label-yoyaku {
    font-size: 10px;
    padding: 0 6px 0 6px;
    height: 20px;
    line-height: 21px;
    margin-left: 4px;
  }

  .index-page__events-event-name {
    margin-top: 10px;
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 32px;
    line-height: 1.25;
  }

  .kc_border {
    display: none;
  }

  .index-page__events-event-date {
    font-size: 11px;
    margin-top: 5px;
    line-height: 1.2;
  }

  .index-page__events-event-address {
    font-size: 11px;
    margin-top: 0px;
    line-height: 1.2;
    margin-top: 3px;
  }
  
}

