/* ------------------------------------------------------------- */
/* case                                                     */
/* ------------------------------------------------------------- */
.lower-mv.case {
  background-image: url(../img/service/service_detail/s_d_lower_mv.jpg);
}

.case {
  background-color: #f6f6f6;
  /* margin-bottom: 120px; */
}

.case__itembox {
  width: calc(100%/3 - 36px);
  margin: 30px 18px 40px;
  position: relative;
}

@media (max-width: 768px) {
  .case__itembox {
    width: 91%;
    padding: 0;
  }
}

.case__txt-box {
  padding: 24px 18px 24px;
  line-height: 1.5;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.case__img-wrap {
  position: relative;
}

.case__img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.case__ttl {
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .case__ttl {
    font-size: 20px;
  }
}

.case__txt {
  margin-bottom: 4px;
  font-weight: bold;
  color: #999;
  font-size: 14px;
}

.case__tag {
  position: absolute;
  bottom: -13%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  justify-content: center;
  width: 100%;
}

.case__tag li {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  padding: 5px 8px 4px;
  margin-right: 5px;
  border-radius: 4px;
}

/* .category1,
.printing {
  background: #95CDE6;
} */

.f-manufacturing {
  background: #BCD539;
}

.f-service {
  background: #EF9A3F;
}

/* .category2,
.f-solution {
  background: #478361;
} */

.case__tag-item.column {
  background-color: #6cbce0;
}

.case__tag-item.case {
  background-color: #478361;
}

.case__tag-item.seminar {
  background-color: #bcd639;
}

@media (max-width: 1024px) {
  .case .flex {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* flex-wrap: nowrap; */
  }
}

@media (max-width: 728px) {
  .case ul {
    display: block;
  }

  .case ul li ul {
    display: flex;
  }
}

.case__tab-wrap {
  margin-bottom: 50px;
  align-items: flex-start !important;
  flex-wrap: nowrap;
}

@media (max-width: 1024px) {
  .case__tab-wrap {
    display: block;
    margin-bottom: 0;
    justify-content: flex-start;
  }
}

.case__tab-wrap .tab-txt {
  font-size: 20px;
  width: 160px;
}

@media (max-width: 1024px) {
  .case__tab-wrap .tab-txt {
    font-size: 18px;
    margin-bottom: 10px;
  }
}

.case__tab-inner{
  gap: 10px;
}

@media (max-width: 1024px){
  .case__tab-inner{
    justify-content: flex-start !important;
  }
}

.case__tab{
  margin-bottom: 20px;
}

.case__tab:last-child{
  margin-bottom: 0;
}

.case__tab .search_heading{
  font-weight: 500;
  margin-bottom: 10px;
}

.case__tab .search_item {
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  color: #e60012;
  border: solid 1px #e60012;
  border-radius: 30px;
  text-align: center;
  padding: 3px 15px;
  min-width: 120px;
}

@media (max-width: 768px) {
  .case__tab .search_item {
    font-size: 2vw;
    min-width: auto;
    /* width: calc(100% / 3 - 10px); */
  }
}



.case__tab .search_item.is-active {
  color: #fff;
  background-color: #e60012;
}
