/* case
---------------------------------------------------------- */


/* ----- key ----- */

.case .l-sub_top {
  background: url(../img/img_key.jpg) no-repeat center;
  background-size: cover;
}


/* ----- common ----- */
.zyunbi {
  text-align: center;
  font-size: 30px;
  background-color: #f5f5f5;
  padding: 80px;
  font-family: 'Shippori Mincho', serif;
}


/* ----- 症例 ----- */
.p-case_BA {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.p-case_BA::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-left: 20px solid #06cfd3;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;

}

.p-case_BA > div {
  width: 45%;
  position: relative;
}

.p-case_BA_before,
.p-case_BA_after {
  position: position: relative;
  margin: 70px 0 15px;
}

.p-case_BA_before::after {
  content: "治療前";
  position: absolute;
  width: 100%;
  line-height: 40px;
  height: 40px;
  background-color: #eef6f5;
  left: 0;
  top: -50px;
  font-size: 22px;
  font-size: 2.2rem;
  font-family: 'Shippori Mincho', serif;
  color: #06cfd3;
  text-align: center;
}

.p-case_BA_after::after {
  content: "治療後";
  position: absolute;
  width: 100%;
  line-height: 40px;
  height: 40px;
  background-color: #f0969f;
  left: 0;
  top: -50px;
  font-size: 22px;
  font-size: 2.2rem;
  font-family: 'Shippori Mincho', serif;
  color: #fff;
  text-align: center;
}

.p-case_BA_before::before,
.p-case_BA_after::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.p-case_BA_before img,
.p-case_BA_after img {
  object-fit: cover;
  font-family: 'object-fit: cover;';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.case .c-table_clrBase {
  margin-top: 20px;
}
.case .c-table_clrBase th {
  text-align: center;
}

.case .c-table_clrBase tr th:last-child,
.case .c-table_clrBase tr td:last-child {
  border-right: none;
}

.case .c-table_clrBase .c-table_4 th {
  width: 26%;
}

.case .c-table_clrBase .c-table_4 td {
  width: 24%;
}

.case .c-table_4 th,
.c-table_4 td {
  border-right: solid 1px #ddd;
}


/* =================================
 PC case
================================= */

@media screen and (min-width: 768px) {
  .case .c-table_clrBase .c-table_4 td {
    text-align: center;
  }
}


/* =================================
  IE case
================================= */

_:-ms-lang(x)::-ms-backdrop,
.xxxxx {}


/* =================================
  PC min case
================================= */

@media only screen and (max-width: 1240px) and (min-width: 768px) {}


/* =================================
  TAB case
================================= */

@media screen and (min-width: 768px) and (max-width: 960px) {}


/* =================================
 SP case
================================= */

@media screen and (max-width: 767px) {
  .zyunbi {
    padding: 60px;
    font-size: 24px;
  }


  /* ----- 症例 ----- */
  .p-case_BA {
    display: block;
  }

  .p-case_BA::before {
    top: -10px;
    bottom: 0;
    margin: auto;
    border-top: 10px solid #06cfd3;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;

  }

  .p-case_BA > div {
    width: 100%;
  }

  
  
  .p-case_BA_before,
  .p-case_BA_after {
    margin-bottom: 0;
  }
  
  .p-case_BA_before {
    margin-bottom: 80px;
    margin-top: 60px;
  }


  .p-case_BA_before::after {
    top: -40px;
    font-size: 18px;
    font-size: 1.8rem;
    height: 30px;
    line-height: 30px;
  }

  .p-case_BA_after::after {
    top: -40px;
    font-size: 18px;
    font-size: 1.8rem;
    height: 30px;
    line-height: 30px;
  }

  .case .c-table_clrBase {
    margin-top: 20px;
  }
  .case .c-table_clrBase th, .case .c-table_clrBase td {
    display: block;
    width: 100%!important;
    border-right: none;
  }
  .case .c-table_clrBase th {
    text-align: center;
  }
  .case .c-table_clrBase th:not(:last-child), .case .c-table_clrBase td:not(:last-child) {
    border-bottom: solid 1px #ddd;
  }
}


/* =================================
 iphone5s,SE case
================================= */

@media screen and (max-width: 320px) {}