@charset "utf-8";

.contents_wrapper_bg {
  width: 100%;
}

.ts_b_day {
  margin: 20px auto 20px;
}

table {
  width: 100%;
  border: 0;
  border-collapse:separate;
  border-spacing: 1px;
  padding: 5px;
}

table td {
  /* width: 20%; */
  text-align: center;
  /* background-color: #f3f3e9; */
}

.src_ts_b_day {
  /* height: 500px; */
  margin: 0;
  padding: 0;
  background-image: url(../images/workshop/business_day.jpg);

}

.white_bg {
  background: rgba(255, 255, 255, 0.7);
  height: 100%;
}

.workshop_price .contents_wrapper_s {
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 0 auto 0;
}

.workshop_brands {
  background: var(--main-color);
  padding-bottom: 30px;
}

.workshop_brands p {
  color: white;
}

.workshop_brands ul {
  border-top: 1px solid #fff;
  margin: 20px auto 20px;;
  display: flex;
  justify-content: space-between;
  flex-wrap:wrap;
}

/* .workshop_brands ul::after{
  content:"";
  display: block;
  width:30%;
} */

.workshop_brands ul li {
  display: block;
    width: 30%;
    margin: 15px auto 0;
    padding: 10px;
    background-color: #efefef;
    color: #000;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    border-radius: 46px;/*想定の最大の高さ÷2の値を入れておく。例は最大3行想定*/
}

.from_shop {
  margin: 5px auto 20px;
}

.workshop_prof .photo_back {
  position: absolute;
  flex-basis: 50%;
  width: 270px;
  height: 270px;
  background-color: var(--main-color);
  transform: rotate(0);
  -moz-transform: rotate(0);
  -webkit-transform: rotate(0);
}

.workshop_prof .photo_back.active {
  transform: rotate(15deg);
  -moz-transform: rotate(15deg);
  -webkit-transform: rotate(15deg);
  transition:0.7s;
}


.workshop_prof .photo_front {

  position: relative;
}

.workshop_prof {
  display: flex;
  justify-content: space-between;
  margin: 40px auto 40px;
}

.workshop_name {
  font-size: 1.5rem;
  font-weight: 400;
}

.workshop_desc {
  flex-basis: 50%;
  text-align: left;
}

@media (max-width: 767px) {
  .workshop_prof {
    flex-direction: column;
    margin: 40px auto 40px;
  }
  .from_shop .contents_wrapper_s {
    padding: 0 10px 0;
  }
  .from_shop .photo_front {
    margin-bottom: 30px;
  }
  .workshop_price .contents_wrapper_s {
    padding: 20px 10px 20px;
    text-align:justify;
/*    text-align-last:justify;*/
/*    text-justify:inter-ideograph*/
  }
  .workshop_brands p {
    padding: 0 10px 0;
  }
  .workshop_brands ul li {
      font-size: 13px;
      line-height: 20px;
      text-decoration: none;
      border-radius: 46px;/*想定の最大の高さ÷2の値を入れておく。例は最大3行想定*/
  }
}
