.event-top-card {
  background-color: #fff;
}

@media only screen and (max-width: 767px) {
  .event-top__lists {
    padding: 30px 15px 30px 0;
  }
  .event-top__item + .event-top__item {
    margin-top: 15px;
  }
  .event-top-card {
    width: 100%;
    min-height: 160px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 0 8px -4px rgba(0, 0, 0, 0.4);
    display: flex;
    overflow: hidden;
    color: #444;
    word-break: break-all;
    position: relative;
  }
  .event-top-card::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform-origin: right top;
            transform-origin: right top;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 4px;
  }
  .event-top-card::after {
    content: "";
    display: block;
    min-width: 12px;
  }
  .event-top-card--all::after {
    background-color: #dd2543;
  }
  .event-top-card--stage::after {
    background-color: #ed881b;
  }
  .event-top-card--art::after {
    background-color: #399e2d;
  }
  .event-top-card--event::after {
    background-color: #2c90de;
  }
  .event-top-card--sports::after {
    background-color: #404eb8;
  }
  .event-top-card--movie::after {
    background-color: #7c37a0;
  }
  .event-top-card__figure {
    flex: 0 0 160px;
    width: 160px;
    min-height: 160px;
    background-color: #e8e8e8;
  }
  .event-top-card__img {
    display: block;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
  }
  .event-top-card__body {
    padding: 10px;
    flex-shrink: 1;
    flex-grow: 1;
  }
  .event-top-card__title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.3;
  }
  .event-top-card__text {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-top: 5px;
  }
  .event-top-card__aside {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 5px;
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-color: #db2140;
    margin-left: -10px;
    border-radius: 0 5px 5px 0;
  }
  .event-top-card__hover {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .event-top__lists {
    max-width: 1125px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0 30px;
  }
  .event-top__item {
    width: 205px;
    margin-bottom: 25px;
  }
  .event-top-card {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 0 6px -4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    color: #444;
    word-break: break-all;
    position: relative;
  }
  .event-top-card::before {
    content: "";
    display: block;
    height: 10px;
  }
  .event-top-card--all::before {
    background-color: #dd2543;
  }
  .event-top-card--stage::before {
    background-color: #ed881b;
  }
  .event-top-card--art::before {
    background-color: #399e2d;
  }
  .event-top-card--event::before {
    background-color: #2c90de;
  }
  .event-top-card--sports::before {
    background-color: #404eb8;
  }
  .event-top-card--movie::before {
    background-color: #7c37a0;
  }
  .event-top-card__figure {
    width: 100%;
    background-color: #e8e8e8;
  }
  .event-top-card__img {
    display: block;
    height: 205px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .event-top-card__body {
    padding: 15px;
    position: relative;
  }
  .event-top-card__title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
  }
  .event-top-card__text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-top: 10px;
  }
  .event-top-card__aside {
    font-size: 1.4rem;
    line-height: 1.3;
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-color: #db2140;
    border-radius: 0 5px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
  }
  .event-top-card__hover {
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    opacity: 0;
  }
  .event-top-card__hover__text {
    font-size: 1.4rem;
    color: #fff;
    line-height: 1;
    padding: 10px 35px 10px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
    position: relative;
    transition: all .2s;
    opacity: 0;
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
  }
  .event-top-card__hover__text::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform-origin: top right;
            transform-origin: top right;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .event-top-card:hover .event-top-card__hover {
    opacity: 1;
  }
  .event-top-card:hover .event-top-card__hover__text {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  .event-top-card--all:hover .event-top-card__hover {
    background-color: rgba(221, 37, 67, 0.8);
  }
  .event-top-card--stage:hover .event-top-card__hover {
    background-color: rgba(237, 136, 27, 0.8);
  }
  .event-top-card--art:hover .event-top-card__hover {
    background-color: rgba(57, 158, 45, 0.8);
  }
  .event-top-card--event:hover .event-top-card__hover {
    background-color: rgba(44, 144, 222, 0.8);
  }
  .event-top-card--sports:hover .event-top-card__hover {
    background-color: rgba(64, 78, 184, 0.8);
  }
  .event-top-card--movie:hover .event-top-card__hover {
    background-color: rgba(124, 55, 160, 0.8);
  }
}
