@charset "UTF-8";
/* ==========================================================================
   施術ページの症例写真用スタイル
   ========================================================================== */
/* タブボタン
   -------------------------------------------------------------------------- */
.tab-buttons {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  width: 93%;
  margin: 0 auto 20px;
}
@media only screen and (max-width: 744px) {
  .tab-buttons {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.tab-btn,
.more-btn {
  background-color: #fff;
  border: solid 1px #0085ce;
  border-radius: 30px;
  color: #0085ce;
  cursor: pointer;
  display: block;
  font-weight: bold;
  outline: none;
  padding: 0;
  text-align: center;
  transition: 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.tab-btn:hover,
.more-btn:hover {
  background-color: #0085ce;
  color: #fff;
}
.tab-btn.is-active,
.more-btn.is-active {
  background-color: #0085ce;
  color: #fff;
}

.tab-btn {
  padding: 10px 0;
  font-size: 18px;
}
@media only screen and (max-width: 744px) {
  .tab-btn {
    padding: 5px 0;
    font-size: 14px;
  }
}

.more-btn {
  padding: 15px 0;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-decoration: none;
  /* 下線を消す */
}
@media only screen and (max-width: 744px) {
  .more-btn {
    padding: 10px 0;
    margin-bottom: 0;
    width: 90%;
  }
}

.tab-content {
  display: none;
}
.tab-content.is-show {
  display: block;
}

/* 症例写真表示
   -------------------------------------------------------------------------- */
.case-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}
@media only screen and (max-width: 744px) {
  .case-cards {
    gap: 10px;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 10px;
    padding: 10px;
  }
}

.case-card {
  background-color: #ecf3f8;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.case-card p {
  margin: 0;
}
.case-card-img {
  position: relative;
}
.case-card-img img {
  aspect-ratio: 1/1;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  width: 100%;
}
.case-card-img::before, .case-card-img::after {
  background-color: #565756;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  padding: 0 20px;
  position: absolute;
  text-align: center;
}
.case-card-img::before {
  content: "術前";
  left: 0;
  top: 0;
}
.case-card-img::after {
  background-color: #0085ce;
  content: "術後";
  left: 0;
  top: 50%;
}
.case-card-img.horizontal::before {
  bottom: 0;
  top: initial;
}
.case-card-img.horizontal::after {
  bottom: 0;
  right: 0;
  left: initial;
}
.case-card-tag {
  background-color: #fff;
  border: solid 1px #0085ce;
  color: #0085ce;
  font-size: 18px;
  font-weight: bold;
  padding: 0 10px;
  text-align: center;
}
.case-card-disc {
  font-size: 12px;
  margin-top: 10px;
}
.case-card-disc p {
  color: #555;
  line-height: 1.3;
}
.case-card-nopost {
  font-size: 18px;
  padding: 20px;
  text-align: center;
}
/*# sourceMappingURL=case.css.map */