@charset "UTF-8";
/* CSS Document */
.knowledge .secCover {
  padding: 100px 0 0;
}
.knowledge .secCover.contact {
  padding: 100px 0;
}
.knowledge footer.secCover {
  padding-bottom: 28px;
}
.contentsBtm_btnBox {
  margin-top: 60px;
}
.knowledge .subPage_headerBox_inner::after {
  background: url("../img/subH_knowledge.jpg") no-repeat center;
  background-size: cover;
}
.knowledge.gummy .subPage_headerBox_inner::after {
  background: url("./img/subH_gummy.jpg") no-repeat center;
  background-size: cover;
}
.knowledge.retainer .subPage_headerBox_inner::after {
  background: url("./img/subH_retainer.jpg") no-repeat center;
  background-size: cover;
}
.knowledge.surgery .subPage_headerBox_inner::after {
  background: url("./img/subH_surgery.jpg") no-repeat center;
  background-size: cover;
}
.contentsBox.knowledge_index {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;
}
.knowledge_index_item {
  width: 48%;
  display: block;
  /*padding: 0px 10px 0px 130px;*/
  border-radius: 5px;
}
.knowledge_index_item img {
  width: 100%;
  display: inline-block;
}
.knowledge_index_itemInner {
  padding: 10px 10px;
  background: #fbfcff;
}
.knowledge_index_itemInner p {
  margin-block-end: 0;
}
.knowledge_index_item:nth-child(n+3) {
  margin-top: 40px;
}
.contentsBox .knowledge_index_item h3 {
  position: relative;
  margin: 12px 0 6px;
  font-size: 1.7rem;
  background: linear-gradient(0deg, #ffa79070 50%, transparent 50%);
}
.contentsBox .knowledge_index_item h3::before {
  background: none;
}
.contentsBox .knowledge_index_item h3::after {
  background: none;
}
.contentsBox .knowledge_index_item p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.knowledge_index_itemInner {
  position: relative;
}
.knowledge_index_itemInner::after {
  content: "";
  display: block;
  width: 70px;
  height: auto;
  aspect-ratio: 114 / 23;
  background: url("../img/more_img.svg") no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: 12px;
  bottom: 0;
}
.typesBox {}
.typesBox_item {
  width: 30%;
  margin-bottom: 40px;
  text-align: center;
}
.typesBox_item.wide {
  width: 47%;
}
.typesBox_item img {
  display: inline-block;
  width: 92%;
}
.typesBox_item .types {
  font-size: 18px;
  text-align: center;
}
.typesBox_item .types > .sub {
  display: block;
  font-size: 13px;
  font-family: sans-serif;
  letter-spacing: 0.1em;
}
.typesBox_item > p {
  font-size: 14px;
  margin: 17px 0;
}
.tag-1 {
  background: #7795c3;
  border-radius: 5px;
  margin-left: 12px;
  font-size: 12px;
  padding: 5px 8px;
  color: #fff;
  line-height: 1.4;
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
.typesBox_item .tag-1 {
  margin-left: 0;
  margin-right: 12px;
  padding: 3px 6px;
}
.tag-2 {
  background: #9c77c3;
  border-radius: 5px;
  margin-left: 12px;
  font-size: 12px;
  padding: 5px 8px;
  color: #fff;
  line-height: 1.4;
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
.imgBox_long {
  width: 100%;
  text-align: center;
}
.imgBox_long img {
  display: inline-block;
  width: 85%;
  margin-bottom: 30px;
}
.knowledge_dl {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin-inline: auto;
}
.knowledge_dl dt {
  width: 30%;
  padding: 1em;
  background: #ffedda;
  margin-block-end: 22px;
}
.knowledge_dl dd {
  width: 70%;
  margin-inline-start: 0px;
  padding: 1em;
  margin-block-end: 22px;
  background: #fff;
}
.flexbox.hasEndMargin {
  margin-block-end: 40px;
}
.exImg img {
  width: 100%;
  display: inline-block;
}
.flexbox:has(.imgBox38) h4.stepSubHeader {
  margin-block: 0 !important;
  padding-inline: 0;
  position: relative;
}
.stepSubHeader .num {
  background: #ed8fa2;
  display: inline-block;
  border-radius: 60px;
  text-align: center;
  color: #fff;
  letter-spacing: 0.01px;
  margin-right: 1rem;
  position: relative;
  top: auto;
  left: auto;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 24px;
}
@media screen and (max-width:620px) {
  .knowledge .secCover {
    padding: 10vw 0 0;
  }
  .knowledge_index_item:nth-child(n+3) {
    margin-top: 0px;
  }
  .knowledge .subPage_headerBox_inner::after {
    background: url("../img/subH_knowledge_sp.jpg") no-repeat center;
    background-size: cover;
  }
  .knowledge.gummy .subPage_headerBox_inner::after {
    background: url("./img/subH_gummy_sp.jpg") no-repeat center;
    background-size: cover;
  }
  .knowledge.retainer .subPage_headerBox_inner::after {
    background: url("./img/subH_retainer_sp.jpg") no-repeat center;
    background-size: cover;
  }
  .knowledge_index_item {
    width: 100%;
    margin-bottom: 30px;
  }
  .contentsBox .knowledge_index_item p {
    font-size: clamp(13px, 3.5vw, 15px);
  }
  .contentsBox > .flexbox.typesBox {
    justify-content: center;
  }
  .typesBox_item, .typesBox_item.wide {
    width: 90%;
    margin-bottom: 40px;
    text-align: center;
  }
  .tag-1 {
    margin-left: 0;
  }
  .tag-1, .tag-2 {
    margin-top: 10px;
  }
  .imgBox_long img {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
  }
  .knowledge_dl {
    width: 100%;
  }
}
.table-wrapper {
  width: 100%;
  overflow-x: auto; /* 横スクロール可能 */
}
.retainer-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  min-width: 700px; /* スクロールが必要な場合 */
}
.retainer-table th, .retainer-table td {
  border: 1px solid #4d7abc;
  padding: 12px;
  vertical-align: top;
}
.retainer-table thead th.merit {
  background: #f0ab5f;
  color: #fff;
  font-weight: bold;
  text-align: left;
}
.retainer-table thead th.demerit {
  background: #7795C1;
  color: #fff;
  font-weight: bold;
  text-align: left;
}
td.merit {
  background: #ffeedc;
}
td.demerit {
  background: #dae2ed;
}
.retainer-table td.type {
  font-weight: bold;
  background-color: #f9f9f9;
}
.retainer-table ul {
  padding-inline: 1.5rem 0;
}
/* レスポンシブ設定 */
@media screen and (max-width: 768px) {
  .retainer-table th, .retainer-table td {
    padding: 8px;
    width: 30vw;
  }
  .retainer-table {
    font-size: 14px;
  }
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-block-end: 6rem;
  }
  .retainer-table::-webkit-scrollbar {
    height: 10px;
  }
  .retainer-table::-webkit-scrollbar-track {
    background-color: #ccc;
  }
  .retainer-table::-webkit-scrollbar-thumb {
    background-color: #19344b;
  }
  .retainer-table::-webkit-scrollbar-thumb:hover /* 必要に応じて ul のマージンを調整 */
  .retainer-table td ul {
    margin: 4px 0;
    padding-left: 16px;
  }
}