*, *::before, *::after {
  margin: 0;
  padding: 0;
}
.container {
  display: grid;
  grid-gap: 35px;
  row-gap: 35px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 5px;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}
.container.hidden {
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.course_mv_wrap {
  margin-bottom: 0;
}
.bg_gray01 {
    padding: 65px 40px 50px;
}
.item {
  border-radius: 0.5rem;
  height: auto;
}
.item img {
  display: block;
  width: 100%;
  height: auto;
}
.content {
    border-radius: 10px;
    background: #fff;
    border: 3px solid #333;
    box-shadow: 6px 6px 0 #fffabc;
    overflow: hidden;
    padding: 20px;
    line-height: 1;
}
.course_mv_wrap .course_mv_ttl {
  color: #333;
}
.item h3 {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  padding-left: 70px;
  background-image: url(/campuslife/faq/images/icon_q.png);
  background-repeat: no-repeat;
  background-size: 50px 50px;
  border-bottom: 2px dashed #CCC;
  margin-bottom: 25px;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.bg_blue01 {
background-color: #ACDCE9;
}
.content_inner {
  padding-top: 50px;
  padding-bottom: 50px;
}
.filter {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.filter li{
  cursor: pointer;
  display: flex;
  align-items: center;
}
.filter li.active {
  cursor: unset;
  color: #FFF;
  background-color: #333;
  padding:5px 20px;
  border-radius: 20px;
}
.filter li:nth-child(n+2) {
  margin-left: 30px;
}
@media not screen and (max-width: 767px) {
  .course_mv_wrap .course_mv_img {
    height: 585px;
  }
}
@media (max-width: 768px) {
  .bg_gray01 {
    padding: 30px 15px;
  }
  .container {
    grid-template-columns: 1fr;
    grid-auto-rows: auto; /* スマホでは自動高さでOK */
    gap: 15px;
  }
  .content_inner {
    padding-top: 30px;
    padding-bottom: 75px;
  }
  .filter {
    white-space: nowrap;
    justify-content: left;
    overflow-x: scroll;
    padding-bottom: 10px;
    margin-bottom: 25px;
  }
  .filter li:nth-child(n+2) {
    margin-left: 25px;
  }
}