.workshop__works {
  margin: 0 -10px 0;
  overflow: hidden;
  padding: 10px;
}

.workshop__work {
  float: left;
  margin-right: 24px;
  padding-bottom: 15px;
  width: 180px;
  margin-top: 10px;
}

.workshop__id {
  text-align: center;
  background-color: #fad199;
  color: #fff;
  font-weight: bold;
  padding: 2px 0 4px;
  font-size: 16px;
  /* border-radius: 5px; */
  margin-bottom: 10px;
  text-decoration: none;
}


.workshop__modalLink:hover .workshop__img {
  opacity: 0.8;
}

.content__section .workshop__img {
  box-shadow: 0 0 8px rgba(0,0,0,.3);
  box-sizing: border-box;
  /* border: 1px solid #fad199; */
  width: 100%;
  /* padding: 8px;
  background-color: #fff; */
  transition: opacity 0.3s ease-in-out;
}

.workshop__modal {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.workshop__modalImg {
  display: block;
  width: auto;
  max-width: 400px;
  margin: 0 auto;
}

.workshop__imgLink {
  display: block;
  margin-top: 30px;
  background-color: #fad199;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 20px;
  transition: opacity 0.2s ease-in-out;
  text-decoration: none;
  border-radius: 5px;
}

.workshop__imgLink:hover {
  opacity: 0.8;
}

.mfp-close {
  right: -50px;
}

.content__section-head {
  background-color: #fff;
}

.content__btn.schedule {
  width:calc(25% - 20px);
  display: inline-block;
  margin-top: 0;
  margin-right: 10px;
}

.content__btn a {
  width: 100%;
  font-size: 16px;
}

.schedule__date {
  font-size: 22px;
  font-weight: bold;
}

@media screen and (min-width: 1000px) {
  /* .content__section .workshop__img {
    height: 164px;
  } */
  .workshop__work:nth-child(5n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  .workshop__work {
    width: 32%;
    margin-right: 2%;
    margin-left: 0
  }
  .workshop__work:nth-child(3n) {
    margin-right: 0;
  }
  .workshop__modal {
    padding: 20px;
    margin-top: 130px;
  }
  .workshop__modalImg {
    width: 100%;
  }
  .mfp-close {
    right: 0;
    top: -54px;
  }
  .mfp-content .mfp-close:active {
    top: -54px;
  }
  .content__btn.schedule {
    width: calc(50% - 20px);
    margin-right: 20px;
    margin-top: 10px;
  }
  .content__btn.schedule:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 481px) {
  .workshop__modal {
    margin-top: 150px;
  }
}
@media screen and (max-width: 480px) {
  .content__btn.schedule {
    width: 100%;
  }
  .content__btn a {
    padding: 10px 68px 10px 30px;
  }
}

@media screen and (min-width: 768px) {
  .content__btn a {
    padding: 16px 68px 16px 40px;
  }
}